Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit e72e9f7

Browse files
committed
App registration
1 parent 6c7a28f commit e72e9f7

File tree

5 files changed

+179
-178
lines changed

5 files changed

+179
-178
lines changed

src/components/app-registration/AppManagement/AppManagement.module.scss

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,45 @@
33
table {
44
border-spacing: 0;
55
width: 100%;
6-
padding: 0 50px;
6+
padding: 0 5rem;
77
}
88
thead {
99
background-color: var(--gray-02);
10-
height: 50px;
11-
text-align: left;
10+
height: 5rem;
11+
text-align: var(--text-align-left);
1212
}
1313
th,
1414
td {
15-
padding: 16px;
16-
min-width: 120px;
17-
max-width: 200px;
15+
padding: 1.6rem;
16+
min-width: 12rem;
17+
max-width: 20rem;
1818
overflow: hidden;
1919
text-overflow: ellipsis;
2020
}
2121
td:last-child,
2222
th:last-child {
2323
white-space: nowrap;
24-
padding: 0 10px;
24+
padding: 0 1rem;
2525
}
2626
td:first-child,
2727
th:first-child {
28-
padding-left: 32px;
28+
padding-left: 3.2rem;
2929
}
3030
tbody tr:nth-child(even) {
3131
background-color: var(--gray-03);
3232
}
3333
td:nth-child(2n + 3) {
3434
display: flex;
3535
flex-wrap: wrap;
36-
gap: 0.4rem;
36+
gap: 0.64rem;
3737
}
3838
}
3939

4040
[data-state~='registration.logged_in.manage_tab'] .manageApps {
4141
display: inline-block;
4242
overflow: auto;
4343
width: 100%;
44-
max-height: 500px;
44+
max-height: 50rem;
4545
}
4646

4747
[data-state~='registration.logged_in.manage_tab.loadingApps.empty'] .manageApps {
@@ -53,17 +53,17 @@
5353
}
5454

5555
[data-state~='responsive.desktopLaptopM'] .manageApps {
56-
width: 650px;
56+
width: 65rem;
5757
}
5858

5959
@mixin actionIcon {
6060
background-repeat: no-repeat;
61-
background-position: center;
61+
background-position: var(--text-align-center);
6262
background-size: contain;
63-
width: 16px;
64-
height: 16px;
63+
width: 1.6rem;
64+
height: 1.6rem;
6565
cursor: pointer;
66-
padding: 0 8px;
66+
padding: 0 0.8rem;
6767
}
6868

6969
.deleteApp {
@@ -78,36 +78,36 @@
7878

7979
.appActions {
8080
display: flex;
81-
justify-content: center;
82-
margin: 30px;
81+
justify-content: var(--text-align-center);
82+
margin: 3rem;
8383
}
8484

8585
.tooltip {
8686
position: relative;
8787
.tooltipText {
8888
visibility: hidden;
89-
width: 130px;
90-
height: 15px;
89+
width: 13rem;
90+
height: 1.5rem;
9191
background-color: var(--border-normal);
9292
border-radius: 4px;
9393
color: var(--app-registration-tab-active-font);
94-
text-align: center;
94+
text-align: var(--text-align-center);
9595
border-radius: 6px;
96-
padding: 5px 0;
96+
padding: 0.5rem 0;
9797
position: absolute;
9898
z-index: 1;
9999
bottom: 125%;
100-
font-size: 12px;
100+
font-size: var(--text-size-xxs);
101101
left: 50%;
102-
margin-left: -55px;
102+
margin-left: -5.5rem;
103103
opacity: 0;
104104
transition: opacity 1s;
105105
&::after {
106106
content: '';
107107
position: absolute;
108108
top: 100%;
109109
left: 50%;
110-
margin-left: -5px;
110+
margin-left: -0.5rem;
111111
border-width: 5px;
112112
border-style: solid;
113113
border-color: var(--border-normal) transparent transparent transparent;
@@ -123,10 +123,10 @@
123123
}
124124

125125
.scope {
126-
border: 0.1rem solid #d6dadb;
126+
border: 0.16rem solid #d6dadb;
127127
border-radius: 0.4rem;
128-
padding: 0.2rem 0.2rem;
129-
font-size: 11px;
128+
padding: 0.32rem 0.32rem;
129+
font-size: 1.1rem;
130130
}
131131
.adminScope {
132132
border: 0.1rem solid var(--teal-01);
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
.noAppsWrapper {
2-
width: calc(100% - 32px);
2+
width: calc(100% - 3.2rem);
33
}
44

55
.noApps {
6-
padding-top: 72px;
6+
padding-top: 7.2rem;
77
margin: 0 auto;
88
position: relative;
99
display: flex;
1010
flex-direction: column;
11-
justify-content: center;
12-
align-items: center;
13-
width: calc(320px - 32px);
11+
justify-content: var(var(--text-align-center));
12+
align-items: var(--text-align-center);
13+
width: calc(32rem - 3.2rem);
1414
position: relative;
1515
margin: 0 auto;
1616
}
1717

1818
.noAppsIcon {
19-
margin-top: 16px;
20-
margin-bottom: 20px;
19+
margin-top: 1.6rem;
20+
margin-bottom: 2rem;
2121
background-image: url(/img/table-empty.svg);
2222
background-repeat: no-repeat;
23-
background-position: center;
23+
background-position: var(--text-align-center);
2424
background-size: contain;
25-
width: 100px;
26-
height: 100px;
25+
width: 10rem;
26+
height: 10rem;
2727
}
2828

2929
.noAppsText {
30-
text-align: center;
30+
text-align: var(--text-align-center);
3131
}
3232

3333
[data-state*="responsive.desktop"] {
3434
.noAppsWrapper {
35-
width: calc(100% - 125px);
35+
width: calc(100% - 12.5rem);
3636
position: relative;
3737
}
3838
.noApps {
39-
padding-top: 72px;
39+
padding-top: 7.2rem;
4040
margin: 0 auto;
4141
position: relative;
4242
}
4343
.noAppsText {
44-
width: 390px;
44+
width: 39rem;
4545
}
4646
}

0 commit comments

Comments
 (0)