|
3 | 3 | flex-direction: column; |
4 | 4 | height: 100%; |
5 | 5 | width: 100%; |
6 | | - padding: 1rem; |
| 6 | + padding: 12px; |
7 | 7 | overflow-y: auto; |
8 | | - background-color: #f5f5f5; |
9 | | - border-radius: 4px; |
10 | | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
11 | | - font-family: 'Roboto', sans-serif; |
| 8 | + background-color: transparent; |
| 9 | + border-radius: 7px; |
| 10 | + font-family: Arial, sans-serif; |
| 11 | + box-sizing: border-box; |
| 12 | + transition: all 0.3s ease-in-out; |
12 | 13 |
|
13 | 14 | &--loading, |
14 | 15 | &--error, |
|
17 | 18 | align-items: center; |
18 | 19 | justify-content: center; |
19 | 20 | height: 100%; |
20 | | - color: #666; |
| 21 | + color: #ffffff; |
21 | 22 | font-style: italic; |
| 23 | + opacity: 0.9; |
| 24 | + animation: fadeIn 0.5s ease-in-out; |
22 | 25 | } |
23 | 26 |
|
24 | 27 | &--error { |
25 | | - color: #d32f2f; |
| 28 | + color: #f44336; |
26 | 29 | } |
27 | 30 |
|
28 | 31 | &__title { |
29 | 32 | margin: 0 0 1rem; |
30 | 33 | font-size: 1.2rem; |
31 | 34 | font-weight: 500; |
32 | | - color: #333; |
| 35 | + color: #ffffff; |
33 | 36 | text-align: center; |
| 37 | + opacity: 0.9; |
34 | 38 | } |
35 | 39 |
|
36 | 40 | &__list { |
|
45 | 49 | display: flex; |
46 | 50 | align-items: center; |
47 | 51 | justify-content: space-between; |
48 | | - padding: 0.75rem; |
49 | | - margin-bottom: 0.5rem; |
50 | | - background-color: white; |
51 | | - border-radius: 4px; |
52 | | - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 52 | + padding: 12px 15px; |
| 53 | + margin-bottom: 8px; |
| 54 | + background-color: #32373c; |
| 55 | + border-radius: 10px; |
53 | 56 | cursor: pointer; |
54 | | - transition: background-color 0.2s ease; |
55 | | - |
56 | | - &:hover { |
57 | | - background-color: #f0f0f0; |
| 57 | + transition: all 0.3s ease; |
| 58 | + position: relative; |
| 59 | + overflow: hidden; |
| 60 | + |
| 61 | + &::after { |
| 62 | + content: ''; |
| 63 | + position: absolute; |
| 64 | + top: 0; |
| 65 | + left: 0; |
| 66 | + right: 0; |
| 67 | + bottom: 0; |
| 68 | + background-color: rgba(255, 255, 255, 0); |
| 69 | + transition: background-color 0.3s ease; |
| 70 | + pointer-events: none; |
| 71 | + border-radius: 10px; |
| 72 | + } |
| 73 | + |
| 74 | + &:hover::after { |
| 75 | + background-color: rgba(255, 255, 255, 0.1); |
| 76 | + } |
| 77 | + |
| 78 | + &:active::after { |
| 79 | + background-color: rgba(255, 255, 255, 0.05); |
58 | 80 | } |
59 | 81 |
|
60 | 82 | &:last-child { |
61 | 83 | margin-bottom: 0; |
62 | 84 | } |
63 | 85 | } |
64 | 86 |
|
| 87 | + &__item-content { |
| 88 | + display: flex; |
| 89 | + align-items: center; |
| 90 | + gap: 10px; |
| 91 | + } |
| 92 | + |
| 93 | + &__number { |
| 94 | + font-size: 0.9rem; |
| 95 | + font-weight: 600; |
| 96 | + color: #cc6d24; |
| 97 | + background-color: rgba(106, 122, 255, 0.1); |
| 98 | + padding: 4px 8px; |
| 99 | + border-radius: 4px; |
| 100 | + min-width: 28px; |
| 101 | + text-align: center; |
| 102 | + } |
| 103 | + |
65 | 104 | &__timestamp { |
66 | 105 | font-size: 0.9rem; |
67 | | - color: #555; |
| 106 | + color: #ffffff; |
| 107 | + opacity: 0.9; |
68 | 108 | } |
69 | 109 |
|
70 | 110 | &__restore-button { |
71 | 111 | background-color: transparent; |
72 | 112 | border: none; |
73 | | - color: #2196f3; |
| 113 | + color: #cc6d24; |
74 | 114 | font-size: 0.9rem; |
75 | 115 | cursor: pointer; |
76 | 116 | padding: 0.25rem 0.5rem; |
77 | 117 | border-radius: 4px; |
78 | | - transition: background-color 0.2s ease; |
| 118 | + transition: all 0.2s ease; |
79 | 119 |
|
80 | 120 | &:hover { |
81 | | - background-color: rgba(33, 150, 243, 0.1); |
| 121 | + background-color: rgba(106, 122, 255, 0.1); |
82 | 122 | } |
83 | 123 | } |
84 | 124 |
|
|
87 | 127 | flex-direction: column; |
88 | 128 | align-items: center; |
89 | 129 | justify-content: center; |
90 | | - padding: 1rem; |
91 | | - background-color: white; |
92 | | - border-radius: 4px; |
93 | | - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 130 | + padding: 20px; |
| 131 | + background-color: #32373c; |
| 132 | + border-radius: 10px; |
| 133 | + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); |
94 | 134 | text-align: center; |
| 135 | + color: #ffffff; |
| 136 | + animation: fadeIn 0.4s ease-in-out; |
95 | 137 | } |
96 | 138 |
|
97 | 139 | &__warning { |
|
106 | 148 | } |
107 | 149 |
|
108 | 150 | &__button { |
109 | | - padding: 0.5rem 1rem; |
| 151 | + padding: 10px 16px; |
110 | 152 | border: none; |
111 | | - border-radius: 4px; |
| 153 | + border-radius: 7px; |
112 | 154 | font-weight: 500; |
113 | 155 | cursor: pointer; |
114 | | - transition: background-color 0.2s ease; |
| 156 | + transition: all 0.3s ease; |
| 157 | + position: relative; |
| 158 | + overflow: hidden; |
| 159 | + |
| 160 | + &::after { |
| 161 | + content: ''; |
| 162 | + position: absolute; |
| 163 | + top: 0; |
| 164 | + left: 0; |
| 165 | + right: 0; |
| 166 | + bottom: 0; |
| 167 | + background-color: rgba(255, 255, 255, 0); |
| 168 | + transition: background-color 0.3s ease; |
| 169 | + pointer-events: none; |
| 170 | + border-radius: 7px; |
| 171 | + } |
| 172 | + |
| 173 | + &:hover::after { |
| 174 | + background-color: rgba(255, 255, 255, 0.1); |
| 175 | + } |
| 176 | + |
| 177 | + &:active::after { |
| 178 | + background-color: rgba(255, 255, 255, 0.05); |
| 179 | + } |
115 | 180 |
|
116 | 181 | &--restore { |
117 | | - background-color: #2196f3; |
| 182 | + background-color: #cc6d24; |
| 183 | + border: 1px solid #cecece00; |
118 | 184 | color: white; |
119 | 185 |
|
120 | 186 | &:hover { |
121 | | - background-color: #1976d2; |
| 187 | + border: 1px solid #cecece; |
122 | 188 | } |
123 | 189 | } |
124 | 190 |
|
125 | 191 | &--cancel { |
126 | | - background-color: #e0e0e0; |
127 | | - color: #333; |
| 192 | + background-color: #4a4a54; |
| 193 | + color: #ffffff; |
128 | 194 |
|
129 | 195 | &:hover { |
130 | | - background-color: #d5d5d5; |
| 196 | + background-color: #3a3a44; |
131 | 197 | } |
132 | 198 | } |
133 | 199 | } |
134 | 200 | } |
| 201 | + |
| 202 | +@keyframes fadeIn { |
| 203 | + from { opacity: 0; transform: translateY(10px); } |
| 204 | + to { opacity: 1; transform: translateY(0); } |
| 205 | +} |
0 commit comments