Skip to content

Commit 33dff51

Browse files
authored
Merge pull request #13 from WantClue/fix-ui-style-usage
fix style utilization
2 parents d54ae33 + c33cc75 commit 33dff51

File tree

10 files changed

+11
-36
lines changed

10 files changed

+11
-36
lines changed

main/http_server/axe-os/src/app/components/edit/edit.component.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@
293293
// Alert Messages
294294
::ng-deep .p-message {
295295
border-radius: 0.75rem !important;
296-
backdrop-filter: blur(8px);
297296
margin-bottom: 1.5rem;
298297

299298
&.p-message-warn {
@@ -400,7 +399,6 @@
400399
padding: 0.5rem 0.75rem;
401400
color: var(--text-primary);
402401
font-size: 0.875rem;
403-
backdrop-filter: blur(8px);
404402
}
405403

406404
.p-tooltip-arrow {

main/http_server/axe-os/src/app/components/home/home.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212
}
1313

1414
%base-card {
15-
background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--card-border); border-radius: 1rem; padding: 1.5rem;
15+
background: rgba(30, 41, 59, 0.95); border: 1px solid var(--card-border); border-radius: 1rem; padding: 1.5rem;
1616
}
1717

1818
::ng-deep .alert-message {
1919
margin-bottom: 1.5rem;
2020
border-radius: 0.75rem;
21-
backdrop-filter: blur(8px);
2221
&.p-message-error { background: rgba(239, 68, 68, 0.1) !important; border-color: rgba(239, 68, 68, 0.3) !important; color: #fca5a5 !important; }
2322
&.p-message-warn { background: rgba(245, 158, 11, 0.1) !important; border-color: rgba(245, 158, 11, 0.3) !important; color: #fcd34d !important; }
2423
}

main/http_server/axe-os/src/app/components/logs/logs.component.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717

1818
// Base card styles - Matching home component
1919
%base-card {
20-
background: var(--card-bg);
21-
backdrop-filter: blur(12px);
20+
background: rgba(30, 41, 59, 0.95);
2221
border: 1px solid var(--card-border);
2322
border-radius: 1rem;
2423
padding: 1.5rem;
@@ -132,7 +131,7 @@ table {
132131
overflow-x: hidden;
133132
padding: 1rem;
134133
margin-top: 1rem;
135-
backdrop-filter: blur(4px);
134+
136135

137136
// Custom scrollbar
138137
&::-webkit-scrollbar {

main/http_server/axe-os/src/app/components/network-edit/network.edit.component.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -246,21 +246,6 @@
246246
}
247247
}
248248

249-
// WiFi scan enhancements
250-
.wifi-scan-button {
251-
display: flex;
252-
align-items: center;
253-
gap: 0.5rem;
254-
255-
.scan-icon {
256-
animation: pulse 2s infinite;
257-
}
258-
}
259-
260-
@keyframes pulse {
261-
0%, 100% { opacity: 1; }
262-
50% { opacity: 0.7; }
263-
}
264249

265250
// Responsive Design
266251
@media (max-width: 768px) {

main/http_server/axe-os/src/app/components/network/network.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
// Base card styles - Matching home component
1818
%base-card {
19-
background: var(--card-bg);
20-
backdrop-filter: blur(12px);
19+
background: rgba(30, 41, 59, 0.95);
2120
border: 1px solid var(--card-border);
2221
border-radius: 1rem;
2322
padding: 1.5rem;

main/http_server/axe-os/src/app/components/pool/pool.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323

2424
// Base card styles - Matching home component
2525
%base-card {
26-
background: var(--card-bg);
27-
backdrop-filter: blur(12px);
26+
background: rgba(30, 41, 59, 0.95);
2827
border: 1px solid var(--card-border);
2928
border-radius: 1rem;
3029
padding: 1.5rem;

main/http_server/axe-os/src/app/components/settings/settings.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
// Base card styles - Matching home component
1818
%base-card {
19-
background: var(--card-bg);
20-
backdrop-filter: blur(12px);
19+
background: rgba(30, 41, 59, 0.95);
2120
border: 1px solid var(--card-border);
2221
border-radius: 1rem;
2322
padding: 1.5rem;

main/http_server/axe-os/src/app/components/swarm/swarm.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
%base-card {
17-
background: var(--card-bg); backdrop-filter: blur(12px); border: 1px solid var(--card-border); border-radius: 1rem; padding: 1.5rem;
17+
background: rgba(30, 41, 59, 0.95); border: 1px solid var(--card-border); border-radius: 1rem; padding: 1.5rem;
1818
}
1919

2020
::ng-deep .p-button {

main/http_server/axe-os/src/app/layout/styles/layout/_menu.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
top: 0;
99
left: 0;
1010
transition: transform $transitionDuration, left $transitionDuration;
11-
background: rgba(30, 41, 59, 0.95);
12-
backdrop-filter: blur(16px);
11+
background: rgb(30, 41, 59);
1312
border-right: 1px solid rgba(51, 65, 85, 0.8);
1413
padding: 0;
1514
box-shadow: none;

main/http_server/axe-os/src/app/layout/styles/layout/_topbar.scss

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
top: 0;
88
width: 100%;
99
padding: 1.5rem 2rem 1.5rem 274px; // Account for sidebar width
10-
background: rgba(30, 41, 59, 0.95);
11-
backdrop-filter: blur(16px);
10+
background: rgb(30, 41, 59);
1211
border-bottom: 1px solid rgba(51, 65, 85, 0.8);
1312
transition: left $transitionDuration;
1413
display: flex;
@@ -95,7 +94,7 @@
9594
height: 8px;
9695
border-radius: 50%;
9796
background: currentColor;
98-
animation: pulse 2s infinite;
97+
animation: pulse 2s 3;
9998
}
10099
}
101100

@@ -261,8 +260,7 @@
261260
top: 1rem;
262261
left: 1rem;
263262
z-index: 1000;
264-
background: rgba(30, 41, 59, 0.95);
265-
backdrop-filter: blur(8px);
263+
background: rgb(30, 41, 59);
266264
border-radius: 0.5rem;
267265
}
268266

0 commit comments

Comments
 (0)