Skip to content

Commit 537fd85

Browse files
committed
refactor
1 parent 45cd133 commit 537fd85

File tree

75 files changed

+867
-901
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+867
-901
lines changed

src/Site/Pages/CinemaQueuePage/CinemaQueuePage.module.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
.card {
3030
border-radius: 8px;
3131
box-shadow: var(--site-shadow-medium);
32-
transition: transform 0.2s ease, box-shadow 0.2s ease;
32+
transition:
33+
transform 0.2s ease,
34+
box-shadow 0.2s ease;
3335
background: var(--site-bg-card);
3436
border: 1px solid var(--site-border-primary);
3537

@@ -326,7 +328,6 @@
326328
}
327329

328330
.table {
329-
330331
thead th,
331332
tbody td {
332333
padding: 8px 12px;
@@ -441,4 +442,4 @@
441442
color: var(--site-text-secondary) !important;
442443
}
443444
}
444-
}
445+
}

src/Site/Pages/CommandsPage/CommandsPage.module.scss

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525

2626
// Эффект свечения при наведении
2727
&::before {
28-
content: '';
28+
content: "";
2929
position: absolute;
3030
top: 0;
3131
left: 0;
3232
right: 0;
3333
bottom: 0;
34-
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
34+
background: linear-gradient(
35+
135deg,
36+
rgba(255, 255, 255, 0.1) 0%,
37+
transparent 100%
38+
);
3539
opacity: 0;
3640
transition: opacity 0.3s ease;
3741
pointer-events: none;
@@ -121,7 +125,6 @@
121125
}
122126

123127
@keyframes pulse {
124-
125128
0%,
126129
100% {
127130
opacity: 1;
@@ -169,7 +172,7 @@
169172
}
170173

171174
&::before {
172-
content: '';
175+
content: "";
173176
position: absolute;
174177
left: -6px;
175178
top: 0;
@@ -411,4 +414,4 @@
411414
}
412415
}
413416
}
414-
}
417+
}

src/Site/Pages/CommandsPage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
- Подробная информация о каждой команде
3535
- Интерактивные карточки с анимациями
3636

37-
#### 3. GridView
37+
#### 3. GridView
3838

3939
- Отображение команд в виде сетки 3x3
4040
- Компактные карточки с иконками

src/Site/Pages/EnvironmentVariablesPage/EnvironmentVariablesPage.module.scss

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
.pageWrapper {
2-
background: linear-gradient(180deg,
3-
var(--site-bg-secondary) 0%,
4-
var(--site-bg-primary) 100%);
2+
background: linear-gradient(
3+
180deg,
4+
var(--site-bg-secondary) 0%,
5+
var(--site-bg-primary) 100%
6+
);
57
min-height: 100%;
68
padding: 1.5rem;
79
}
@@ -80,7 +82,9 @@
8082
border-radius: 10px;
8183
padding: 0.55rem 0.9rem;
8284
box-shadow: var(--site-shadow-light);
83-
transition: border-color 0.2s ease, box-shadow 0.2s ease;
85+
transition:
86+
border-color 0.2s ease,
87+
box-shadow 0.2s ease;
8488

8589
&:focus {
8690
border-color: var(--site-border-accent);
@@ -147,7 +151,9 @@
147151
}
148152

149153
tbody tr {
150-
transition: transform 0.2s ease, box-shadow 0.2s ease,
154+
transition:
155+
transform 0.2s ease,
156+
box-shadow 0.2s ease,
151157
background 0.2s ease;
152158
cursor: pointer;
153159

@@ -270,7 +276,9 @@
270276
background: var(--site-bg-secondary);
271277
color: var(--site-text-primary);
272278
padding: 0.65rem 0.85rem;
273-
transition: border-color 0.2s ease, box-shadow 0.2s ease;
279+
transition:
280+
border-color 0.2s ease,
281+
box-shadow 0.2s ease;
274282

275283
&:focus {
276284
border-color: var(--site-border-accent);
@@ -374,4 +382,4 @@
374382
.searchControl {
375383
width: 100%;
376384
}
377-
}
385+
}

src/Site/Pages/FramedataPage/FramedataPage.module.scss

Lines changed: 50 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
.characterCard {
77
cursor: pointer;
8-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
8+
transition:
9+
transform 0.2s ease-in-out,
10+
box-shadow 0.2s ease-in-out;
911
border: 1px solid #dee2e6;
1012

1113
&:hover {
@@ -46,7 +48,7 @@
4648
}
4749

4850
.commandCode {
49-
font-family: 'Courier New', monospace;
51+
font-family: "Courier New", monospace;
5052
background-color: var(--bs-light);
5153
padding: 0.25rem 0.5rem;
5254
border-radius: 0.25rem;
@@ -250,7 +252,7 @@
250252
}
251253

252254
.commandCell {
253-
font-family: 'Courier New', monospace;
255+
font-family: "Courier New", monospace;
254256
font-weight: 600;
255257
color: #495057;
256258
max-width: 100px;
@@ -383,7 +385,7 @@
383385

384386
// Локальный оверрайд bootstrap для более плотной сетки на md
385387
@media (min-width: 768px) {
386-
:global(.row-cols-md-6)>* {
388+
:global(.row-cols-md-6) > * {
387389
flex: 0 0 auto;
388390
width: 7.666667%;
389391
}
@@ -396,7 +398,6 @@
396398

397399
// Улучшаем читаемость на маленьких экранах
398400
@media (max-width: 576px) {
399-
400401
th,
401402
td {
402403
padding: 0.25rem 0.125rem;
@@ -406,7 +407,6 @@
406407

407408
// Улучшаем отображение на средних экранах
408409
@media (min-width: 577px) and (max-width: 768px) {
409-
410410
th,
411411
td {
412412
padding: 0.375rem 0.25rem;
@@ -416,7 +416,6 @@
416416

417417
// Оптимальное отображение на больших экранах
418418
@media (min-width: 769px) {
419-
420419
th,
421420
td {
422421
padding: 0.5rem 0.375rem;
@@ -561,7 +560,9 @@
561560
// Стили для страницы ожидающих изменений
562561
.changeCard {
563562
cursor: pointer;
564-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
563+
transition:
564+
transform 0.2s ease-in-out,
565+
box-shadow 0.2s ease-in-out;
565566
border: 1px solid #dee2e6;
566567

567568
&:hover {
@@ -612,19 +613,35 @@
612613

613614
.newNoteItem {
614615
border-left: 4px solid;
615-
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
616+
background: linear-gradient(
617+
135deg,
618+
rgba(255, 255, 255, 0.9),
619+
rgba(255, 255, 255, 0.7)
620+
);
616621

617622
[data-bs-theme="dark"] & {
618-
background: linear-gradient(135deg, rgba(33, 37, 41, 0.9), rgba(33, 37, 41, 0.7));
623+
background: linear-gradient(
624+
135deg,
625+
rgba(33, 37, 41, 0.9),
626+
rgba(33, 37, 41, 0.7)
627+
);
619628
}
620629
}
621630

622631
.oldNoteItem {
623632
border-left: 4px solid;
624-
background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.7));
633+
background: linear-gradient(
634+
135deg,
635+
rgba(248, 249, 250, 0.9),
636+
rgba(248, 249, 250, 0.7)
637+
);
625638

626639
[data-bs-theme="dark"] & {
627-
background: linear-gradient(135deg, rgba(73, 80, 87, 0.9), rgba(73, 80, 87, 0.7));
640+
background: linear-gradient(
641+
135deg,
642+
rgba(73, 80, 87, 0.9),
643+
rgba(73, 80, 87, 0.7)
644+
);
628645
}
629646
}
630647

@@ -942,25 +959,41 @@
942959

943960
// Первый цвет (светлый)
944961
&:nth-child(odd) {
945-
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
962+
background: linear-gradient(
963+
135deg,
964+
rgba(255, 255, 255, 0.9),
965+
rgba(255, 255, 255, 0.7)
966+
);
946967
border-color: rgba(0, 123, 255, 0.3);
947968
color: #495057;
948969

949970
[data-bs-theme="dark"] & {
950-
background: linear-gradient(135deg, rgba(52, 58, 64, 0.9), rgba(52, 58, 64, 0.7));
971+
background: linear-gradient(
972+
135deg,
973+
rgba(52, 58, 64, 0.9),
974+
rgba(52, 58, 64, 0.7)
975+
);
951976
border-color: rgba(0, 123, 255, 0.5);
952977
color: #e9ecef;
953978
}
954979
}
955980

956981
// Второй цвет (темный)
957982
&:nth-child(even) {
958-
background: linear-gradient(135deg, rgba(248, 249, 250, 0.9), rgba(248, 249, 250, 0.7));
983+
background: linear-gradient(
984+
135deg,
985+
rgba(248, 249, 250, 0.9),
986+
rgba(248, 249, 250, 0.7)
987+
);
959988
border-color: rgba(108, 117, 125, 0.3);
960989
color: #495057;
961990

962991
[data-bs-theme="dark"] & {
963-
background: linear-gradient(135deg, rgba(73, 80, 87, 0.9), rgba(73, 80, 87, 0.7));
992+
background: linear-gradient(
993+
135deg,
994+
rgba(73, 80, 87, 0.9),
995+
rgba(73, 80, 87, 0.7)
996+
);
964997
border-color: rgba(108, 117, 125, 0.5);
965998
color: #e9ecef;
966999
}
@@ -1144,4 +1177,4 @@
11441177
padding: 0.075rem 0.15rem;
11451178
}
11461179
}
1147-
}
1180+
}

src/Site/Pages/FramedataPage/components/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ components/
6262
Все компоненты экспортируются через главный индексный файл:
6363

6464
```typescript
65-
import {
66-
CharacterDetails,
67-
CharacterEditForm,
68-
CharacterGrid,
65+
import {
66+
CharacterDetails,
67+
CharacterEditForm,
68+
CharacterGrid,
6969
MovesView,
7070
PendingChangesPage,
7171
ChangeDetailsPage,
7272
GlobalSearch,
7373
getCharacterAvatar,
74-
handleImageError
74+
handleImageError,
7575
} from "./components";
7676
```
7777

src/Site/Pages/Layout/Header/Header.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,4 +491,4 @@
491491
&:hover i {
492492
transform: scale(1.1);
493493
}
494-
}
494+
}

src/Site/Pages/LogsPage/LogsPage.module.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
}
286286

287287
.timestamp {
288-
font-family: 'Courier New', monospace;
288+
font-family: "Courier New", monospace;
289289
font-size: 0.85rem;
290290
color: var(--site-text-secondary);
291291
white-space: nowrap;
@@ -298,7 +298,7 @@
298298
}
299299

300300
.stackTrace {
301-
font-family: 'Courier New', monospace;
301+
font-family: "Courier New", monospace;
302302
font-size: 0.8rem;
303303
background: var(--site-bg-tertiary);
304304
color: var(--site-text-primary);
@@ -417,7 +417,6 @@
417417
}
418418

419419
@media (max-width: 576px) {
420-
421420
.controlsCard,
422421
.statsCard,
423422
.logsTableCard {
@@ -445,4 +444,4 @@
445444
font-size: 0.7rem;
446445
padding: 0.5rem;
447446
}
448-
}
447+
}

0 commit comments

Comments
 (0)