check-whitespace: normalize css files

This commit is contained in:
Andrej730
2026-09-14 11:45:16 +05:00
parent 3e88479277
commit f3013f29df
15 changed files with 58 additions and 63 deletions
+1
View File
@@ -300,6 +300,7 @@ PATTERNS = (
"*.json", "*.json",
"*.ts", "*.ts",
"*.js", "*.js",
"*.css",
"*.bat", "*.bat",
"*.cmd", "*.cmd",
"*.sh", "*.sh",
@@ -48,4 +48,4 @@ text, tspan { /* 2.5mm */ fill: black; stroke: none; font-family: 'OpenGost Type
stroke: #000000; stroke: #000000;
stroke-width:.125; stroke-width:.125;
fill: none; /* will be overriden if background color is set in .ods, or .xlsx */ fill: none; /* will be overriden if background color is set in .ods, or .xlsx */
} }
@@ -24,4 +24,4 @@
border: 1px solid var(--blender-tab-outline, var(--border-color)); border: 1px solid var(--blender-tab-outline, var(--border-color));
overflow-y: auto; overflow-y: auto;
flex: 1; flex: 1;
} }
@@ -8,15 +8,15 @@
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
} }
.message span { .message span {
width: 80%; width: 80%;
} }
.message .icon { .message .icon {
margin-right: 10px; margin-right: 10px;
} }
.message .close-button { .message .close-button {
width: 24px; width: 24px;
height: 24px; height: 24px;
@@ -25,43 +25,43 @@
transition: background-color 0.3s, color 0.3s; transition: background-color 0.3s, color 0.3s;
padding-left: 5px; padding-left: 5px;
} }
.message .close-button:hover { .message .close-button:hover {
background-color: #ffcccc; background-color: #ffcccc;
} }
.error { .error {
color: red; color: red;
border: 1px solid red; border: 1px solid red;
background-color: #ffe6e6; background-color: #ffe6e6;
} }
.error .close-button { .error .close-button {
color: red; color: red;
} }
.error .close-button:hover { .error .close-button:hover {
color: darkred; color: darkred;
} }
.success { .success {
color: green; color: green;
border: 1px solid green; border: 1px solid green;
background-color: #e6ffe6; background-color: #e6ffe6;
} }
.success .close-button { .success .close-button {
color: green; color: green;
} }
.success .close-button:hover { .success .close-button:hover {
background-color: #ccffcc; background-color: #ccffcc;
color: darkgreen; color: darkgreen;
} }
.card { .card {
margin: 10px; margin: 10px;
} }
.card-body { .card-body {
height: 10vh; height: 10vh;
} }
@@ -281,9 +281,3 @@ i {
margin: 0; margin: 0;
margin-left: -5px; margin-left: -5px;
} }
@@ -342,4 +342,4 @@ footer p {
#explanation .page { #explanation .page {
page-break-after: always; page-break-after: always;
} }
@@ -293,4 +293,4 @@ button:focus {
a:not([href]):not([class]) { a:not([href]):not([class]) {
text-decoration: none !important; text-decoration: none !important;
color: var(--blender-text, var(--nav-link-color)); color: var(--blender-text, var(--nav-link-color));
} */ } */
@@ -89,4 +89,4 @@
:root.blender .tabulator-menu-item:hover { :root.blender .tabulator-menu-item:hover {
filter: brightness(1.4); filter: brightness(1.4);
} }
@@ -169,4 +169,4 @@ h4 {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
+2 -2
View File
@@ -249,13 +249,13 @@ img.active-flag {
position: absolute; top: 0; bottom: 0; position: absolute; top: 0; bottom: 0;
right: 86px; right: 86px;
border: 0px solid #999999; border-radius: 17px; border: 0px solid #999999; border-radius: 17px;
transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
} }
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner { .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0; margin-left: 0;
} }
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
right: 0px; right: 0px;
} }
.button-primary { .button-primary {
+1 -1
View File
@@ -367,4 +367,4 @@ hr {
header .row:nth-child(2) { header .row:nth-child(2) {
padding: 15px 0 0 0; padding: 15px 0 0 0;
} }
+1 -1
View File
@@ -86,4 +86,4 @@ dl.py.property, dl.py.attribute, dl.py.method, dl.py.function {
/* Workaround for highlighting issue in Furo */ /* Workaround for highlighting issue in Furo */
[role=main] .highlighted { [role=main] .highlighted {
-webkit-text-fill-color: initial !important; -webkit-text-fill-color: initial !important;
} }
+33 -33
View File
@@ -130,7 +130,7 @@
align-items: center; align-items: center;
font-size: 0.9rem; font-size: 0.9rem;
} }
.app-ribbon .status-indicator { .app-ribbon .status-indicator {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -138,15 +138,15 @@
font-size: 14px; font-size: 14px;
color: #e0e0e0; color: #e0e0e0;
} }
.app-ribbon .status-indicator.ready { .app-ribbon .status-indicator.ready {
color: #4caf50; color: #4caf50;
} }
.app-ribbon .status-indicator.error { .app-ribbon .status-indicator.error {
color: #f44336; color: #f44336;
} }
.app-ribbon .spinner { .app-ribbon .spinner {
width: 14px; width: 14px;
height: 14px; height: 14px;
@@ -155,21 +155,21 @@
border-radius: 50%; border-radius: 50%;
animation: app-ribbon-spin 1s linear infinite; animation: app-ribbon-spin 1s linear infinite;
} }
.app-ribbon .status-dot { .app-ribbon .status-dot {
width: 8px; width: 8px;
height: 8px; height: 8px;
border-radius: 50%; border-radius: 50%;
background: #4caf50; background: #4caf50;
} }
.app-ribbon .error-dot { .app-ribbon .error-dot {
width: 8px; width: 8px;
height: 8px; height: 8px;
border-radius: 50%; border-radius: 50%;
background: #f44336; background: #f44336;
} }
@keyframes app-ribbon-spin { @keyframes app-ribbon-spin {
0% { transform: rotate(0deg); } 0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); } 100% { transform: rotate(360deg); }
@@ -200,7 +200,7 @@ html, body {
border-bottom: 1px solid #ffffff1c; border-bottom: 1px solid #ffffff1c;
padding: 0px 15px; padding: 0px 15px;
gap: 15px; gap: 15px;
.logo { .logo {
background: url(/logo.svg); background: url(/logo.svg);
height: 25px; height: 25px;
@@ -371,7 +371,7 @@ html, body {
opacity: 0; opacity: 0;
transition: all 0.2s; transition: all 0.2s;
} }
.tab-close:hover { .tab-close:hover {
background: #ffffff1f; background: #ffffff1f;
color: #e0e0e0; color: #e0e0e0;
@@ -445,7 +445,7 @@ html, body {
.cta-btn svg { .cta-btn svg {
margin-right: 5px; margin-right: 5px;
} }
.cta-btn:hover { .cta-btn:hover {
background: #ffffff17; background: #ffffff17;
color: #e0e0e0; color: #e0e0e0;
@@ -469,7 +469,7 @@ html, body {
.spec-icon { .spec-icon {
font-size: 16px; font-size: 16px;
} }
.spec-name { .spec-name {
flex: 1; flex: 1;
font-size: 15px; font-size: 15px;
@@ -545,7 +545,7 @@ html, body {
opacity: 0.8; opacity: 0.8;
} }
} }
.ids-md-header { .ids-md-header {
margin-bottom: 24px; margin-bottom: 24px;
} }
@@ -553,7 +553,7 @@ html, body {
.specification-editor { .specification-editor {
max-width: 800px; max-width: 800px;
} }
.ids-info h2, .specification-editor h2 { .ids-info h2, .specification-editor h2 {
margin: 0 0 0px 0; margin: 0 0 0px 0;
font-size: 24px; font-size: 24px;
@@ -564,14 +564,14 @@ html, body {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.form-grid { .form-grid {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 16px; gap: 16px;
max-width: 800px; max-width: 800px;
} }
.form-group { .form-group {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -637,7 +637,7 @@ html, body {
gap: 16px; gap: 16px;
margin-top: 4px; margin-top: 4px;
} }
.radio-label { .radio-label {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -645,18 +645,18 @@ html, body {
font-size: 14px; font-size: 14px;
cursor: pointer; cursor: pointer;
} }
.radio-label input[type="radio"] { .radio-label input[type="radio"] {
margin: 0; margin: 0;
} }
.spec-header { .spec-header {
display: flex; display: flex;
align-items: center; align-items: center;
margin-bottom: 24px; margin-bottom: 24px;
gap: 15px; gap: 15px;
} }
.spec-tabs { .spec-tabs {
display: inline-flex; display: inline-flex;
gap: 4px; gap: 4px;
@@ -664,7 +664,7 @@ html, body {
border-radius: 6px; border-radius: 6px;
border: 1px solid #ffffff1c; border: 1px solid #ffffff1c;
} }
.tab-btn { .tab-btn {
cursor: pointer; cursor: pointer;
background-color: transparent; background-color: transparent;
@@ -683,11 +683,11 @@ html, body {
background: #ffffff21; background: #ffffff21;
color: white; color: white;
} }
.restrictions-panel { .restrictions-panel {
max-width: 800px; max-width: 800px;
} }
.restrictions-header { .restrictions-header {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -699,20 +699,20 @@ html, body {
border: 1px solid #ffffff36; border: 1px solid #ffffff36;
} }
} }
.restrictions-header h3 { .restrictions-header h3 {
margin: 0; margin: 0;
font-size: 16px; font-size: 16px;
color: #b1b1b1; color: #b1b1b1;
text-transform: uppercase; text-transform: uppercase;
} }
.restriction-buttons { .restriction-buttons {
display: flex; display: flex;
gap: 8px; gap: 8px;
flex-wrap: wrap; flex-wrap: wrap;
} }
.btn-small { .btn-small {
padding: 6px 12px; padding: 6px 12px;
background: #3d3d3d87; background: #3d3d3d87;
@@ -723,24 +723,24 @@ html, body {
transition: all 0.2s; transition: all 0.2s;
color: #e0e0e0; color: #e0e0e0;
} }
.btn-small:hover { .btn-small:hover {
background: #555555; background: #555555;
} }
.restrictions-list { .restrictions-list {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16px; gap: 16px;
} }
.restriction-item { .restriction-item {
background: #ffffff05; background: #ffffff05;
border: 1px solid #5555556e; border: 1px solid #5555556e;
border-radius: 12px; border-radius: 12px;
padding: 16px; padding: 16px;
} }
.restriction-header { .restriction-header {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -756,7 +756,7 @@ html, body {
font-weight: 600; font-weight: 600;
color: #e0e0e0; color: #e0e0e0;
} }
.restriction-name { .restriction-name {
flex: 1; flex: 1;
font-weight: 400; font-weight: 400;
@@ -787,17 +787,17 @@ html, body {
background: #ffffff12; background: #ffffff12;
} }
} }
.restriction-form { .restriction-form {
display: grid; display: grid;
/* grid-template-columns: 1fr 1fr; */ /* grid-template-columns: 1fr 1fr; */
gap: 12px; gap: 12px;
} }
.restriction-form .form-group { .restriction-form .form-group {
margin-bottom: 0; margin-bottom: 0;
} }
.restriction-form .form-group.full-width { .restriction-form .form-group.full-width {
grid-column: 1 / -1; grid-column: 1 / -1;
} }
+1 -1
View File
@@ -12,4 +12,4 @@
font-weight: 100 1000; font-weight: 100 1000;
font-style: italic; font-style: italic;
font-display: swap; font-display: swap;
} }
+1 -1
View File
@@ -90,4 +90,4 @@ ul li:hover {
} }
.main { .main {
grid-area: main; grid-area: main;
} }