Skip to content

Commit de701f1

Browse files
committed
refactor: remove unused background colors and clean up CSS styles
1 parent 8e0e873 commit de701f1

6 files changed

+2
-95
lines changed

css/iot.scss

-43
Original file line numberDiff line numberDiff line change
@@ -59,49 +59,6 @@
5959
}
6060
}
6161

62-
// ===== Dashboard of cards =====
63-
64-
65-
body {
66-
container-type: size;
67-
}
68-
69-
.panel {
70-
display: grid;
71-
gap: var(--grid-gap);
72-
grid-template-columns: repeat(auto-fill, var(--grid-width));
73-
grid-auto-rows: minmax(min-content, max-content);
74-
grid-auto-flow: row;
75-
margin-top: 0.5rem;
76-
margin-left: auto;
77-
margin-right: auto;
78-
width: calc(2 * var(--grid-width) + var(--grid-gap));
79-
80-
@container (width >= 84ch) {
81-
width: calc(4 * var(--grid-width) + 3 * var(--grid-gap));
82-
}
83-
84-
@container (width >= 126ch) {
85-
width: calc(6 * var(--grid-width) + 5 * var(--grid-gap));
86-
}
87-
88-
>.card {
89-
grid-column: span 2;
90-
width: 100%;
91-
min-width: 100%;
92-
align-self: start;
93-
}
94-
95-
>.card.small {
96-
grid-column: span 1;
97-
}
98-
99-
>.card.wide {
100-
grid-column: span 4;
101-
}
102-
}
103-
104-
10562

10663
// ===== forms / input / groups =====
10764

css/page.scss

-4
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ body.sitelayout {
125125

126126
aside {
127127
grid-area: sidebar;
128-
background-color: lime;
129128
padding: var(--layout-gap);
130129

131130
@media print {
@@ -137,13 +136,11 @@ body.sitelayout {
137136
grid-area: main;
138137
container-name: main;
139138
container-type: inline-size;
140-
background-color: var(--content-back);
141139
padding: var(--layout-gap);
142140
}
143141

144142
footer {
145143
grid-area: footer;
146-
background-color: lightblue;
147144
padding: var(--layout-gap);
148145
}
149146

@@ -158,7 +155,6 @@ body.sitelayout {
158155
left: -24ch;
159156
transition: all 0.2s;
160157
padding: 1rem 0.2rem 0.2rem;
161-
background-color: yellowgreen;
162158

163159
&.open {
164160
left: 0;

docstyle.css

-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docstyle.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

iotstyle.css

-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

iotstyle.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)