|
18 | 18 | }
|
19 | 19 |
|
20 | 20 | .token-list {
|
21 |
| - margin: 24px 0; |
| 21 | + margin: var(--space-m) 0; |
22 | 22 | padding: 0;
|
23 | 23 | list-style: none;
|
24 |
| - border-radius: 5px; |
| 24 | + border-radius: var(--space-3xs); |
25 | 25 | background-color: white;
|
26 | 26 | box-shadow: 0 2px 3px hsla(51, 50%, 44%, .35);
|
27 | 27 |
|
28 | 28 | > * {
|
29 |
| - padding: 24px; |
| 29 | + padding: var(--space-m); |
30 | 30 | }
|
31 | 31 |
|
32 | 32 | > * + * {
|
|
49 | 49 | }
|
50 | 50 |
|
51 | 51 | .new-token-form {
|
52 |
| - padding: 24px; |
53 |
| - border-radius: 6px; |
| 52 | + padding: var(--space-m); |
| 53 | + border-radius: var(--space-3xs); |
54 | 54 | background-color: white;
|
55 | 55 | box-shadow: 0 2px 3px hsla(51, 50%, 44%, .35);
|
56 |
| - margin: 24px 0; |
| 56 | + margin-top: var(--space-m); |
57 | 57 |
|
58 | 58 | .input {
|
59 |
| - padding: 8px; |
| 59 | + padding: var(--space-2xs); |
60 | 60 | width: 100%;
|
61 | 61 | border: 1px solid #ada796;
|
62 |
| - border-radius: 4px; |
| 62 | + border-radius: var(--space-3xs); |
63 | 63 | }
|
64 | 64 | }
|
65 | 65 |
|
66 | 66 | .actions {
|
67 |
| - margin-top: 12px; |
| 67 | + margin-top: var(--space-s); |
68 | 68 | display: flex;
|
69 | 69 | align-items: center;
|
70 | 70 | }
|
71 | 71 |
|
72 | 72 | .spinner {
|
73 |
| - margin-left: 10px |
| 73 | + margin-left: var(--space-xs); |
74 | 74 | }
|
75 | 75 |
|
76 | 76 | .save-button {
|
77 | 77 | composes: yellow-button small from '../../styles/shared/buttons.module.css';
|
78 | 78 | flex-grow: 1;
|
79 |
| - border-radius: 4px; |
| 79 | + border-radius: var(--space-3xs); |
80 | 80 | }
|
81 | 81 |
|
82 | 82 | .revoke-button {
|
83 | 83 | composes: tan-button small from '../../styles/shared/buttons.module.css';
|
84 | 84 | flex-grow: 1;
|
85 |
| - border-radius: 4px; |
| 85 | + border-radius: var(--space-3xs); |
86 | 86 | }
|
87 | 87 |
|
88 | 88 | .new-token {
|
89 |
| - margin: 24px 0; |
| 89 | + margin-top: var(--space-s); |
90 | 90 | }
|
91 | 91 |
|
92 | 92 | .new-token-explainer {
|
|
100 | 100 | background: var(--main-color);
|
101 | 101 | color: white;
|
102 | 102 | font-family: var(--font-monospace);
|
103 |
| - border-radius: 4px; |
104 |
| - margin-top: 16px; |
| 103 | + border-radius: var(--space-3xs); |
| 104 | + margin-top: var(--space-xs); |
105 | 105 | }
|
106 | 106 |
|
107 | 107 | .token-value {
|
108 |
| - padding: 20px; |
| 108 | + padding: var(--space-s); |
109 | 109 | user-select: all;
|
110 | 110 | }
|
111 | 111 |
|
112 | 112 | .copy-button {
|
113 | 113 | composes: button-reset from '../../styles/shared/buttons.module.css';
|
114 | 114 | align-self: stretch;
|
115 |
| - padding: 0 16px; |
| 115 | + padding: 0 var(--space-s); |
116 | 116 | cursor: pointer;
|
117 | 117 |
|
118 | 118 | &:hover {
|
|
125 | 125 | }
|
126 | 126 |
|
127 | 127 | .copy-button-icon {
|
128 |
| - width: 24px; |
129 |
| - height: 24px; |
| 128 | + width: auto; |
| 129 | + height: 1.3em; |
130 | 130 | }
|
131 | 131 |
|
132 | 132 | .empty-state {
|
133 | 133 | display: grid;
|
134 | 134 | place-items: center;
|
135 | 135 | align-content: center;
|
136 |
| - margin: 24px 0; |
137 |
| - padding: 64px; |
| 136 | + margin: var(--space-m) 0; |
| 137 | + padding: var(--space-xl-2xl); |
138 | 138 | border: 2px black dashed;
|
139 |
| - border-radius: 5px; |
| 139 | + border-radius: var(--space-3xs); |
140 | 140 | background-color: white;
|
141 | 141 | box-shadow: 0 2px 3px hsla(51, 50%, 44%, .35);
|
142 | 142 | }
|
|
147 | 147 |
|
148 | 148 | .empty-state-button {
|
149 | 149 | composes: yellow-button small from '../../styles/shared/buttons.module.css';
|
150 |
| - margin-top: 20px; |
| 150 | + margin-top: var(--space-m); |
151 | 151 | border-radius: 4px;
|
152 | 152 | }
|
153 | 153 |
|
154 | 154 | @media (--min-s) {
|
155 | 155 | .new-token-form {
|
156 | 156 | display: grid;
|
157 | 157 | grid-template-columns: 1fr auto;
|
158 |
| - align-items: center; |
159 |
| - padding: 16px 24px; |
160 |
| - |
161 |
| - .input { |
162 |
| - padding: 8px; |
163 |
| - margin-right: 16px; |
164 |
| - } |
| 158 | + align-items: stretch; |
| 159 | + padding: var(--space-s) var(--space-m); |
165 | 160 |
|
166 | 161 | .actions {
|
167 |
| - margin: 0 0 0 16px; |
| 162 | + margin: 0 0 0 var(--space-xs); |
168 | 163 | }
|
169 | 164 | }
|
170 | 165 |
|
|
181 | 176 | .actions {
|
182 | 177 | grid-area: actions;
|
183 | 178 | align-self: start;
|
184 |
| - margin: 0 0 0 16px; |
| 179 | + margin: 0 0 0 var(--space-xs); |
185 | 180 | }
|
186 | 181 |
|
187 | 182 | .new-token {
|
|
0 commit comments