diff --git a/src/web/darktheme.css b/src/web/darktheme.css index a3394d0..8bfc46b 100644 --- a/src/web/darktheme.css +++ b/src/web/darktheme.css @@ -31,7 +31,7 @@ body:not(.darkTheme){ } body.darkTheme{ - --theme_bg: #000000; + --theme_bg: #0a090e; --theme_bg_primary: #060912; --theme_bg_secondary:#172a41; --theme_highlight: #4380b0; @@ -271,6 +271,17 @@ body.darkTheme .ui.pointing.secondary.menu .item.narrowpadding { color: var(--text_color) !important; } +/* Checkbox check after color override */ +body.darkTheme .ui.checkbox input:checked ~ .box::after, +body.darkTheme .ui.checkbox input:checked ~ label::after { + color: var(--text_color_secondary) !important; +} + +body.darkTheme .ui.toggle.checkbox input:focus:checked ~ .box, +body.darkTheme .ui.toggle.checkbox input:focus:checked ~ label { + color: var(--text_color_secondary) !important; +} + body.darkTheme .ui.segment:not(.basic):not(.tab) { background-color: var(--theme_bg) !important; color: var(--text_color) !important; @@ -1100,4 +1111,18 @@ body.darkTheme .statistic .value.totalViewCount { body.darkTheme .statistic .label { color: var(--text_color_secondary) !important; +} + +/* Other Tables */ + +body.darkTheme .ui.celled.compact.table { + background-color: var(--theme_bg) !important; + color: var(--text_color) !important; + border-color: var(--divider_color) !important; +} + +body.darkTheme .ui.celled.compact.table thead th { + background-color: var(--theme_bg_secondary) !important; + color: var(--text_color) !important; + border-color: var(--divider_color) !important; } \ No newline at end of file diff --git a/src/web/tools/fs.css b/src/web/tools/fs.css index 5345604..e1c4f07 100644 --- a/src/web/tools/fs.css +++ b/src/web/tools/fs.css @@ -1252,6 +1252,10 @@ code{ color: var(--um_file_txt) !important; } +.darkTheme .filename{ + color:var(--text_color) !important; +} + /* Hot Search Related diff --git a/src/web/tools/fs.html b/src/web/tools/fs.html index 285c23f..675f528 100644 --- a/src/web/tools/fs.html +++ b/src/web/tools/fs.html @@ -32,6 +32,8 @@ + +
-
+

No File Selected
Select a file to view file properties
@@ -471,11 +473,12 @@

`); }else{ + let isDarkTheme = $("body").hasClass("darkTheme"); let extension = "." + filename.split(".").pop(); let fileIcon = getFileIcon(extension); $("#fileList").append(`
- ${filename} (${humanFileSize(filesize)}) + ${filename} (${humanFileSize(filesize)})
`); } diff --git a/src/web/tools/https.html b/src/web/tools/https.html index 79d3efb..baff18a 100644 --- a/src/web/tools/https.html +++ b/src/web/tools/https.html @@ -17,6 +17,8 @@ + +
diff --git a/src/web/tools/ipscan.html b/src/web/tools/ipscan.html index 356a184..29a9908 100644 --- a/src/web/tools/ipscan.html +++ b/src/web/tools/ipscan.html @@ -21,6 +21,8 @@ + +

diff --git a/src/web/tools/mdns.html b/src/web/tools/mdns.html index 021214a..862d971 100644 --- a/src/web/tools/mdns.html +++ b/src/web/tools/mdns.html @@ -22,8 +22,10 @@ + +
- + Loading

diff --git a/src/web/tools/portscan.html b/src/web/tools/portscan.html index f9d5dc5..f48c51e 100644 --- a/src/web/tools/portscan.html +++ b/src/web/tools/portscan.html @@ -18,6 +18,8 @@ + +

diff --git a/src/web/tools/sshconn.html b/src/web/tools/sshconn.html index a06d774..638d044 100644 --- a/src/web/tools/sshconn.html +++ b/src/web/tools/sshconn.html @@ -33,6 +33,8 @@ + +
Creating virtual terminal session