|
| 1 | +/* Backups Modal Styles */ |
| 2 | + |
| 3 | +.excalidraw .Dialog--fullscreen { |
| 4 | + &.backups-modal { |
| 5 | + .Dialog { |
| 6 | + &__content { |
| 7 | + margin-top: 0 !important; |
| 8 | + } |
| 9 | + } |
| 10 | + .Island { |
| 11 | + padding-left: 8px !important; |
| 12 | + padding-right: 10px !important; |
| 13 | + } |
| 14 | + } |
| 15 | +} |
| 16 | + |
1 | 17 | .backups-modal { |
| 18 | + |
2 | 19 | .Island { |
3 | 20 | padding-top: 15px !important; |
4 | 21 | padding-bottom: 20px !important; |
|
20 | 37 | align-items: center; |
21 | 38 | } |
22 | 39 |
|
| 40 | + &__title { |
| 41 | + margin: 0 auto; |
| 42 | + font-size: 1.5rem; |
| 43 | + font-weight: 600; |
| 44 | + color: white; |
| 45 | + text-align: center; |
| 46 | + } |
| 47 | + |
23 | 48 | &__content { |
| 49 | + display: flex; |
| 50 | + flex-direction: column; |
| 51 | + align-items: center; |
24 | 52 | padding: 20px; |
25 | 53 | max-height: 80vh; |
26 | 54 | overflow-y: auto; |
|
31 | 59 | justify-content: space-between; |
32 | 60 | align-items: center; |
33 | 61 | margin-bottom: 1rem; |
| 62 | + width: 100%; |
34 | 63 | } |
35 | 64 |
|
36 | 65 | &__close-button { |
|
53 | 82 | } |
54 | 83 | } |
55 | 84 |
|
56 | | - &__title { |
57 | | - margin: 0; |
58 | | - font-size: 1.2rem; |
59 | | - font-weight: 500; |
60 | | - color: #ffffff; |
61 | | - text-align: center; |
62 | | - opacity: 0.9; |
63 | | - } |
64 | | - |
65 | 85 | &__loading, |
66 | 86 | &__error, |
67 | 87 | &__empty { |
68 | 88 | display: flex; |
69 | 89 | align-items: center; |
70 | 90 | justify-content: center; |
71 | 91 | padding: 2rem; |
72 | | - color: #ffffff; |
| 92 | + color: #a0a0a9; |
73 | 93 | font-style: italic; |
74 | | - opacity: 0.9; |
75 | | - animation: fadeIn 0.5s ease-in-out; |
| 94 | + font-size: 18px; |
| 95 | + animation: fadeIn 0.5s cubic-bezier(0.00, 1.26, 0.64, 0.95) forwards; |
76 | 96 | } |
77 | 97 |
|
78 | 98 | &__error { |
|
83 | 103 | list-style: none; |
84 | 104 | padding: 0; |
85 | 105 | margin: 0; |
86 | | - max-height: 60vh; |
| 106 | + max-height: 100%; |
87 | 107 | overflow-y: auto; |
| 108 | + width: 100%; |
88 | 109 | } |
89 | 110 |
|
90 | 111 | &__item { |
|
93 | 114 | justify-content: space-between; |
94 | 115 | padding: 12px 15px; |
95 | 116 | margin-bottom: 8px; |
96 | | - background-color: #32373c; |
97 | | - border-radius: 10px; |
| 117 | + background-color: #464652; |
| 118 | + border: 2px solid #727279; |
| 119 | + border-radius: 6px; |
98 | 120 | cursor: pointer; |
99 | | - transition: all 0.3s ease; |
| 121 | + transition: all 0.2s ease; |
100 | 122 | position: relative; |
101 | 123 | overflow: hidden; |
102 | 124 |
|
103 | | - &::after { |
104 | | - content: ''; |
105 | | - position: absolute; |
106 | | - top: 0; |
107 | | - left: 0; |
108 | | - right: 0; |
109 | | - bottom: 0; |
110 | | - background-color: rgba(255, 255, 255, 0); |
111 | | - transition: background-color 0.3s ease; |
112 | | - pointer-events: none; |
113 | | - border-radius: 10px; |
114 | | - } |
115 | | - |
116 | | - &:hover::after { |
117 | | - background-color: rgba(255, 255, 255, 0.1); |
| 125 | + &:hover { |
| 126 | + border: 2px solid #cc6d24; |
118 | 127 | } |
119 | 128 |
|
120 | | - &:active::after { |
121 | | - background-color: rgba(255, 255, 255, 0.05); |
122 | | - } |
123 | | - |
124 | 129 | &:last-child { |
125 | 130 | margin-bottom: 0; |
126 | 131 | } |
|
135 | 140 | &__number { |
136 | 141 | font-size: 0.9rem; |
137 | 142 | font-weight: 600; |
138 | | - color: #cc6d24; |
139 | | - background-color: rgba(106, 122, 255, 0.1); |
| 143 | + color: #fa8933; |
| 144 | + background-color: rgba(250, 137, 51, 0.1); |
140 | 145 | padding: 4px 8px; |
141 | 146 | border-radius: 4px; |
142 | 147 | min-width: 28px; |
|
146 | 151 | &__timestamp { |
147 | 152 | font-size: 0.9rem; |
148 | 153 | color: #ffffff; |
149 | | - opacity: 0.9; |
150 | 154 | } |
151 | 155 |
|
152 | 156 | &__restore-button { |
153 | 157 | background-color: transparent; |
154 | 158 | border: none; |
155 | | - color: #cc6d24; |
| 159 | + color: #fa8933; |
156 | 160 | font-size: 0.9rem; |
| 161 | + font-weight: 500; |
157 | 162 | cursor: pointer; |
158 | 163 | padding: 0.25rem 0.5rem; |
159 | 164 | border-radius: 4px; |
160 | 165 | transition: all 0.2s ease; |
161 | 166 |
|
162 | 167 | &:hover { |
163 | | - background-color: rgba(106, 122, 255, 0.1); |
| 168 | + background-color: rgba(250, 137, 51, 0.1); |
164 | 169 | } |
165 | 170 | } |
166 | 171 |
|
|
170 | 175 | align-items: center; |
171 | 176 | justify-content: center; |
172 | 177 | padding: 20px; |
173 | | - background-color: #32373c; |
174 | | - border-radius: 10px; |
175 | | - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
| 178 | + background-color: #464652; |
| 179 | + border: 2px solid #727279; |
| 180 | + border-radius: 6px; |
176 | 181 | text-align: center; |
177 | 182 | color: #ffffff; |
178 | | - animation: fadeIn 0.4s ease-in-out; |
| 183 | + animation: fadeIn 0.4s cubic-bezier(0.00, 1.26, 0.64, 0.95) forwards; |
| 184 | + width: 80%; |
| 185 | + max-width: 500px; |
179 | 186 | } |
180 | 187 |
|
181 | 188 | &__warning { |
|
187 | 194 | &__actions { |
188 | 195 | display: flex; |
189 | 196 | gap: 1rem; |
| 197 | + margin-top: 20px; |
190 | 198 | } |
191 | 199 |
|
192 | 200 | &__button { |
| 201 | + display: flex; |
| 202 | + align-items: center; |
| 203 | + justify-content: center; |
193 | 204 | padding: 10px 16px; |
194 | | - border: none; |
195 | | - border-radius: 7px; |
| 205 | + height: 44px; |
| 206 | + border-radius: 6px; |
| 207 | + border: 2px solid #727279; |
| 208 | + font-size: 15px; |
196 | 209 | font-weight: 500; |
| 210 | + transition: all 0.2s ease; |
197 | 211 | cursor: pointer; |
198 | | - transition: all 0.3s ease; |
199 | | - position: relative; |
200 | | - overflow: hidden; |
| 212 | + min-width: 120px; |
201 | 213 |
|
202 | | - &::after { |
203 | | - content: ''; |
204 | | - position: absolute; |
205 | | - top: 0; |
206 | | - left: 0; |
207 | | - right: 0; |
208 | | - bottom: 0; |
209 | | - background-color: rgba(255, 255, 255, 0); |
210 | | - transition: background-color 0.3s ease; |
211 | | - pointer-events: none; |
212 | | - border-radius: 7px; |
213 | | - } |
214 | | - |
215 | | - &:hover::after { |
216 | | - background-color: rgba(255, 255, 255, 0.1); |
217 | | - } |
218 | | - |
219 | | - &:active::after { |
220 | | - background-color: rgba(255, 255, 255, 0.05); |
| 214 | + &:hover { |
| 215 | + border: 2px solid #cc6d24; |
221 | 216 | } |
222 | 217 |
|
223 | 218 | &--restore { |
224 | | - background-color: #cc6d24; |
225 | | - border: 1px solid #cecece00; |
| 219 | + background-color: #464652; |
226 | 220 | color: white; |
227 | | - |
228 | | - &:hover { |
229 | | - border: 1px solid #cecece; |
230 | | - } |
231 | 221 | } |
232 | 222 |
|
233 | 223 | &--cancel { |
234 | | - background-color: #4a4a54; |
| 224 | + background-color: #464652; |
235 | 225 | color: #ffffff; |
236 | | - |
237 | | - &:hover { |
238 | | - background-color: #3a3a44; |
239 | | - } |
240 | 226 | } |
241 | 227 | } |
242 | 228 | } |
|
0 commit comments