Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 1af9d9a

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: implement new design
1 parent a6284be commit 1af9d9a

File tree

8 files changed

+23
-28
lines changed

8 files changed

+23
-28
lines changed

src/features/dashboard/components/AppsTable/cells.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
cursor: pointer;
88
padding: rem(2) rem(2);
99
border-radius: 100%;
10-
background-color: var(--colors-greyLight200);
11-
border: 2px solid var(--colors-greyLight400);
1210
}
1311

1412
.deleteApp {
@@ -25,6 +23,7 @@
2523
display: flex;
2624
gap: rem(2);
2725
margin: rem(3);
26+
justify-content: center;
2827
}
2928

3029
.tooltip {

src/features/dashboard/components/Table/scopes.cell.module.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
@use 'src/styles/utility' as *;
22

33
.scope {
4+
display: inline-block;
45
border: 1.6px solid var(--ifm-color-emphasis-400);
5-
border-radius: 4px;
6-
padding: rem(0.24) rem(0.24);
7-
font-size: rem(1.1);
6+
border-radius: 100vw; // pill shaped
7+
padding: rem(0.25) rem(1);
8+
font-size: rem(1.2);
9+
margin: rem(0.5);
10+
color: var(--ifm-color-emphasis-700);
811
}
912

1013
.adminScope {

src/features/dashboard/components/Table/table.scss

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,22 @@
88
}
99

1010
thead {
11-
background-color: var(--ifm-color-emphasis-200);
12-
border: 3px solid var(--ifm-color-emphasis-200);
11+
background-color: var(--ifm-color-emphasis-100);
12+
border: 3px solid var(--ifm-color-emphasis-100);
1313
height: rem(5);
1414
}
1515

1616
th,
1717
td {
18-
text-align: left;
19-
padding: rem(1.6);
20-
min-width: rem(14.4);
21-
max-width: rem(14.4);
22-
overflow: visible;
23-
text-overflow: ellipsis;
24-
border: none;
18+
display: table-cell;
19+
border-left: none;
20+
border-right: none;
21+
border-bottom-color: var(--ifm-color-emphasis-200);
2522
}
2623

2724
td:nth-child(3) {
28-
display: flex;
29-
flex-wrap: wrap;
30-
gap: rem(0.64);
25+
max-width: rem(20);
26+
min-width: rem(15);
3127
}
3228

3329
td:last-child,
@@ -43,9 +39,8 @@
4339
}
4440

4541
tbody tr {
42+
display: table-row;
4643
border: none;
47-
&:nth-child(even) {
48-
background-color: var(--ifm-color-emphasis-100);
49-
}
44+
background-color: var(--ifm-color-emphasis-0);
5045
}
5146
}

src/features/dashboard/components/Tabs/tabs.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
display: flex;
5151
justify-content: space-around;
5252
align-items: center;
53-
padding: rem(2);
53+
padding: rem(2) 5vw;
5454
overflow-y: auto;
5555
}

src/features/dashboard/manage-apps/manage-apps.module.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
display: inline-block;
66
overflow: auto;
77
max-height: calc(100vh - rem(35));
8+
border-top-left-radius: rem(1.6);
9+
border-top-right-radius: rem(1.6);
810
}
911

1012
@mixin actionIcon {

src/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ div[class*='sidebarViewport'] {
177177
}
178178

179179
.navbar {
180-
padding: 0 5%;
180+
padding: 0 5vw;
181181
height: var(--nav-height);
182182
line-height: rem(2);
183183
@media (max-width: 996px) {

static/img/delete.svg

Lines changed: 1 addition & 3 deletions
Loading

static/img/edit.svg

Lines changed: 1 addition & 3 deletions
Loading

0 commit comments

Comments
 (0)