From 4430b8794cc9f7b201f4150aa96e75888e305404 Mon Sep 17 00:00:00 2001 From: Silversthorn Date: Wed, 14 Aug 2024 23:03:00 +0200 Subject: [PATCH] Appease Sonar --- app/frontend/static/assets/css/crafty.css | 2 +- .../assets/css/partial/crafty-wizard.css | 78 ------------------- app/frontend/templates/base.html | 1 - app/frontend/templates/blank_base.html | 1 - .../templates/panel/activity_logs.html | 5 +- app/frontend/templates/public/status.html | 6 +- 6 files changed, 6 insertions(+), 87 deletions(-) diff --git a/app/frontend/static/assets/css/crafty.css b/app/frontend/static/assets/css/crafty.css index ced646b0..3f97a525 100644 --- a/app/frontend/static/assets/css/crafty.css +++ b/app/frontend/static/assets/css/crafty.css @@ -247,7 +247,7 @@ body { } .gray { - color: gray !important; + color: var(--gray) !important; } .disk-usage { diff --git a/app/frontend/static/assets/css/partial/crafty-wizard.css b/app/frontend/static/assets/css/partial/crafty-wizard.css index 6540f674..ef127e33 100644 --- a/app/frontend/static/assets/css/partial/crafty-wizard.css +++ b/app/frontend/static/assets/css/partial/crafty-wizard.css @@ -42,84 +42,6 @@ button>i.refresh-class { overflow-y: auto; } -.menu-btn { - font-size: 0.9em; - padding: 2px 10px; -} - -.menu { - padding-top: 10px; - z-index: 200; - margin-top: 4px; - position: absolute; - background-color: var(--card-banner-bg); -} - -.menu-option { - padding: 6px 20px 6px; - color: white; -} - -#overlay { - position: absolute; - top: 0px; - left: 0px; - width: 100%; - height: 100%; - z-index: 100; -} - -/* Remove default bullets */ -.tree-view, -.tree-nested { - list-style-type: none; - margin: 0; - padding: 0; - margin-left: 10px; -} - -/* Style the items */ -.tree-item, -.files-tree-title { - cursor: pointer; - user-select: none; - /* Prevent text selection */ -} - -/* Create the caret/arrow with a unicode, and style it */ -.tree-caret .fa-folder { - display: inline-block; -} - -.tree-caret .fa-folder-open { - display: none; -} - -/* Rotate the caret/arrow icon when clicked on (using JavaScript) */ -.tree-caret-down .fa-folder { - display: none; -} - -.tree-caret-down .fa-folder-open { - display: inline-block; -} - -/* Hide the nested list */ -.tree-nested { - display: none; -} - -#op_logo { - position: relative; - top: 50%; - transform: translateY(-50%); -} - -.scroll { - max-height: 12em; - overflow-y: auto; -} - #overlay { position: absolute; top: 0px; diff --git a/app/frontend/templates/base.html b/app/frontend/templates/base.html index 007aaaa7..deb9c745 100755 --- a/app/frontend/templates/base.html +++ b/app/frontend/templates/base.html @@ -46,7 +46,6 @@ {% for theme in data['themes'] %} {% end %} - diff --git a/app/frontend/templates/blank_base.html b/app/frontend/templates/blank_base.html index 9cb3c207..bf804d75 100644 --- a/app/frontend/templates/blank_base.html +++ b/app/frontend/templates/blank_base.html @@ -32,7 +32,6 @@ {% for theme in data['themes'] %} {% end %} - diff --git a/app/frontend/templates/panel/activity_logs.html b/app/frontend/templates/panel/activity_logs.html index 65eaf4c5..1925a8cd 100644 --- a/app/frontend/templates/panel/activity_logs.html +++ b/app/frontend/templates/panel/activity_logs.html @@ -31,7 +31,7 @@
- +
@@ -44,8 +44,7 @@ diff --git a/app/frontend/templates/public/status.html b/app/frontend/templates/public/status.html index c7e98e60..67f53973 100644 --- a/app/frontend/templates/public/status.html +++ b/app/frontend/templates/public/status.html @@ -18,7 +18,7 @@
Time
- Crafty Logo, Crafty is loading

{{ translate('datatables', + Crafty Logo, Crafty is loading

{{ translate('datatables', 'loadingRecords', data['lang'])}}