From f3013f29df3c5b3b5be8814dfdfed577f9c1cbef Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 14 Sep 2026 11:45:16 +0500 Subject: [PATCH] check-whitespace: normalize css files --- .github/scripts/check-whitespace.py | 1 + .../bonsai/bim/data/assets/schedule.css | 2 +- .../data/webui/static/css/components/card.css | 2 +- .../webui/static/css/components/message.css | 24 +++---- .../bonsai/bim/data/webui/static/css/cost.css | 6 -- .../bonsai/bim/data/webui/static/css/demo.css | 2 +- .../bim/data/webui/static/css/drawings.css | 2 +- .../bim/data/webui/static/css/index.css | 2 +- .../bonsai/bim/module/sequence/gantt/main.css | 2 +- src/ifcbimtester/webapp/main.css | 4 +- src/ifcchat/style.css | 2 +- .../docs/_static/custom.css | 2 +- src/ifctester/webapp/src/css/app.css | 66 +++++++++---------- src/ifctester/webapp/src/css/font.css | 2 +- src/pyodide/demo-app/style.css | 2 +- 15 files changed, 58 insertions(+), 63 deletions(-) diff --git a/.github/scripts/check-whitespace.py b/.github/scripts/check-whitespace.py index 4d17530e88..2b1fbfffd3 100644 --- a/.github/scripts/check-whitespace.py +++ b/.github/scripts/check-whitespace.py @@ -300,6 +300,7 @@ PATTERNS = ( "*.json", "*.ts", "*.js", + "*.css", "*.bat", "*.cmd", "*.sh", diff --git a/src/bonsai/bonsai/bim/data/assets/schedule.css b/src/bonsai/bonsai/bim/data/assets/schedule.css index 14ec06ce5b..ec418d742a 100644 --- a/src/bonsai/bonsai/bim/data/assets/schedule.css +++ b/src/bonsai/bonsai/bim/data/assets/schedule.css @@ -48,4 +48,4 @@ text, tspan { /* 2.5mm */ fill: black; stroke: none; font-family: 'OpenGost Type stroke: #000000; stroke-width:.125; fill: none; /* will be overriden if background color is set in .ods, or .xlsx */ -} \ No newline at end of file +} diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/components/card.css b/src/bonsai/bonsai/bim/data/webui/static/css/components/card.css index 4d74fbc65f..ed0f148b54 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/components/card.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/components/card.css @@ -24,4 +24,4 @@ border: 1px solid var(--blender-tab-outline, var(--border-color)); overflow-y: auto; flex: 1; -} \ No newline at end of file +} diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/components/message.css b/src/bonsai/bonsai/bim/data/webui/static/css/components/message.css index 2c34fcd34f..0581e38658 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/components/message.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/components/message.css @@ -8,15 +8,15 @@ align-items: center; justify-content: flex-start; } - + .message span { width: 80%; } - + .message .icon { margin-right: 10px; } - + .message .close-button { width: 24px; height: 24px; @@ -25,43 +25,43 @@ transition: background-color 0.3s, color 0.3s; padding-left: 5px; } - + .message .close-button:hover { background-color: #ffcccc; } - + .error { color: red; border: 1px solid red; background-color: #ffe6e6; } - + .error .close-button { color: red; } - + .error .close-button:hover { color: darkred; } - + .success { color: green; border: 1px solid green; background-color: #e6ffe6; } - + .success .close-button { color: green; } - + .success .close-button:hover { background-color: #ccffcc; color: darkgreen; } - + .card { margin: 10px; } .card-body { height: 10vh; - } \ No newline at end of file + } diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/cost.css b/src/bonsai/bonsai/bim/data/webui/static/css/cost.css index a64a3690d4..5c02a642fc 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/cost.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/cost.css @@ -281,9 +281,3 @@ i { margin: 0; margin-left: -5px; } - - - - - - diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/demo.css b/src/bonsai/bonsai/bim/data/webui/static/css/demo.css index 975bb318d1..6064b52abb 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/demo.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/demo.css @@ -342,4 +342,4 @@ footer p { #explanation .page { page-break-after: always; -} \ No newline at end of file +} diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/drawings.css b/src/bonsai/bonsai/bim/data/webui/static/css/drawings.css index aef677f683..fc913ce7db 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/drawings.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/drawings.css @@ -293,4 +293,4 @@ button:focus { a:not([href]):not([class]) { text-decoration: none !important; color: var(--blender-text, var(--nav-link-color)); -} */ \ No newline at end of file +} */ diff --git a/src/bonsai/bonsai/bim/data/webui/static/css/index.css b/src/bonsai/bonsai/bim/data/webui/static/css/index.css index 3cc7f9126a..8d2cfdae72 100644 --- a/src/bonsai/bonsai/bim/data/webui/static/css/index.css +++ b/src/bonsai/bonsai/bim/data/webui/static/css/index.css @@ -89,4 +89,4 @@ :root.blender .tabulator-menu-item:hover { filter: brightness(1.4); -} \ No newline at end of file +} diff --git a/src/bonsai/bonsai/bim/module/sequence/gantt/main.css b/src/bonsai/bonsai/bim/module/sequence/gantt/main.css index 857565f492..8e344d37ef 100644 --- a/src/bonsai/bonsai/bim/module/sequence/gantt/main.css +++ b/src/bonsai/bonsai/bim/module/sequence/gantt/main.css @@ -169,4 +169,4 @@ h4 { justify-content: space-between; align-items: center; margin-bottom: 1rem; -} \ No newline at end of file +} diff --git a/src/ifcbimtester/webapp/main.css b/src/ifcbimtester/webapp/main.css index f5475988f3..380689468b 100644 --- a/src/ifcbimtester/webapp/main.css +++ b/src/ifcbimtester/webapp/main.css @@ -249,13 +249,13 @@ img.active-flag { position: absolute; top: 0; bottom: 0; right: 86px; 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 { margin-left: 0; } .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { - right: 0px; + right: 0px; } .button-primary { diff --git a/src/ifcchat/style.css b/src/ifcchat/style.css index 105e0d574f..89648c5329 100644 --- a/src/ifcchat/style.css +++ b/src/ifcchat/style.css @@ -367,4 +367,4 @@ hr { header .row:nth-child(2) { padding: 15px 0 0 0; -} \ No newline at end of file +} diff --git a/src/ifcopenshell-python/docs/_static/custom.css b/src/ifcopenshell-python/docs/_static/custom.css index 2912d9390d..c870b10b3a 100644 --- a/src/ifcopenshell-python/docs/_static/custom.css +++ b/src/ifcopenshell-python/docs/_static/custom.css @@ -86,4 +86,4 @@ dl.py.property, dl.py.attribute, dl.py.method, dl.py.function { /* Workaround for highlighting issue in Furo */ [role=main] .highlighted { -webkit-text-fill-color: initial !important; -} \ No newline at end of file +} diff --git a/src/ifctester/webapp/src/css/app.css b/src/ifctester/webapp/src/css/app.css index 09f12f3b9f..6889de0dd1 100644 --- a/src/ifctester/webapp/src/css/app.css +++ b/src/ifctester/webapp/src/css/app.css @@ -130,7 +130,7 @@ align-items: center; font-size: 0.9rem; } - + .app-ribbon .status-indicator { display: flex; align-items: center; @@ -138,15 +138,15 @@ font-size: 14px; color: #e0e0e0; } - + .app-ribbon .status-indicator.ready { color: #4caf50; } - + .app-ribbon .status-indicator.error { color: #f44336; } - + .app-ribbon .spinner { width: 14px; height: 14px; @@ -155,21 +155,21 @@ border-radius: 50%; animation: app-ribbon-spin 1s linear infinite; } - + .app-ribbon .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; } - + .app-ribbon .error-dot { width: 8px; height: 8px; border-radius: 50%; background: #f44336; } - + @keyframes app-ribbon-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } @@ -200,7 +200,7 @@ html, body { border-bottom: 1px solid #ffffff1c; padding: 0px 15px; gap: 15px; - + .logo { background: url(/logo.svg); height: 25px; @@ -371,7 +371,7 @@ html, body { opacity: 0; transition: all 0.2s; } - + .tab-close:hover { background: #ffffff1f; color: #e0e0e0; @@ -445,7 +445,7 @@ html, body { .cta-btn svg { margin-right: 5px; } - + .cta-btn:hover { background: #ffffff17; color: #e0e0e0; @@ -469,7 +469,7 @@ html, body { .spec-icon { font-size: 16px; } - + .spec-name { flex: 1; font-size: 15px; @@ -545,7 +545,7 @@ html, body { opacity: 0.8; } } - + .ids-md-header { margin-bottom: 24px; } @@ -553,7 +553,7 @@ html, body { .specification-editor { max-width: 800px; } - + .ids-info h2, .specification-editor h2 { margin: 0 0 0px 0; font-size: 24px; @@ -564,14 +564,14 @@ html, body { white-space: nowrap; overflow: hidden; } - + .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 800px; } - + .form-group { display: flex; flex-direction: column; @@ -637,7 +637,7 @@ html, body { gap: 16px; margin-top: 4px; } - + .radio-label { display: flex; align-items: center; @@ -645,18 +645,18 @@ html, body { font-size: 14px; cursor: pointer; } - + .radio-label input[type="radio"] { margin: 0; } - + .spec-header { display: flex; align-items: center; margin-bottom: 24px; gap: 15px; } - + .spec-tabs { display: inline-flex; gap: 4px; @@ -664,7 +664,7 @@ html, body { border-radius: 6px; border: 1px solid #ffffff1c; } - + .tab-btn { cursor: pointer; background-color: transparent; @@ -683,11 +683,11 @@ html, body { background: #ffffff21; color: white; } - + .restrictions-panel { max-width: 800px; } - + .restrictions-header { display: flex; align-items: center; @@ -699,20 +699,20 @@ html, body { border: 1px solid #ffffff36; } } - + .restrictions-header h3 { margin: 0; font-size: 16px; color: #b1b1b1; text-transform: uppercase; } - + .restriction-buttons { display: flex; gap: 8px; flex-wrap: wrap; } - + .btn-small { padding: 6px 12px; background: #3d3d3d87; @@ -723,24 +723,24 @@ html, body { transition: all 0.2s; color: #e0e0e0; } - + .btn-small:hover { background: #555555; } - + .restrictions-list { display: flex; flex-direction: column; gap: 16px; } - + .restriction-item { background: #ffffff05; border: 1px solid #5555556e; border-radius: 12px; padding: 16px; } - + .restriction-header { display: flex; align-items: center; @@ -756,7 +756,7 @@ html, body { font-weight: 600; color: #e0e0e0; } - + .restriction-name { flex: 1; font-weight: 400; @@ -787,17 +787,17 @@ html, body { background: #ffffff12; } } - + .restriction-form { display: grid; /* grid-template-columns: 1fr 1fr; */ gap: 12px; } - + .restriction-form .form-group { margin-bottom: 0; } - + .restriction-form .form-group.full-width { grid-column: 1 / -1; } diff --git a/src/ifctester/webapp/src/css/font.css b/src/ifctester/webapp/src/css/font.css index 4a33dc21c3..7ac8909eae 100644 --- a/src/ifctester/webapp/src/css/font.css +++ b/src/ifctester/webapp/src/css/font.css @@ -12,4 +12,4 @@ font-weight: 100 1000; font-style: italic; font-display: swap; -} \ No newline at end of file +} diff --git a/src/pyodide/demo-app/style.css b/src/pyodide/demo-app/style.css index 8746ab660e..47dfc7ccf9 100644 --- a/src/pyodide/demo-app/style.css +++ b/src/pyodide/demo-app/style.css @@ -90,4 +90,4 @@ ul li:hover { } .main { grid-area: main; -} \ No newline at end of file +}