From 53a3437a00aeaf757263dc1df84b06b31426f6e2 Mon Sep 17 00:00:00 2001 From: Marius <24592972+gilbN@users.noreply.github.com> Date: Sat, 31 Jul 2021 14:25:59 +0200 Subject: [PATCH] default placeholders css and sabnzbd fixes --- CSS/defaults/placeholders.css | 34 +++++++++++++++ CSS/themes/sabnzbd/sabnzbd-base.css | 66 ++++++++++++++++++++++++++--- 2 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 CSS/defaults/placeholders.css diff --git a/CSS/defaults/placeholders.css b/CSS/defaults/placeholders.css new file mode 100644 index 00000000..0506cf01 --- /dev/null +++ b/CSS/defaults/placeholders.css @@ -0,0 +1,34 @@ +input::-webkit-input-placeholder { + color: var(--text); +} + +input:focus::-webkit-input-placeholder { + color: var(--text-hover); +} + +/* Firefox < 19 */ +input:-moz-placeholder { + color: var(--text); +} + +input:focus:-moz-placeholder { + color: var(--text-hover); +} + +/* Firefox > 19 */ +input::-moz-placeholder { + color: var(--text); +} + +input:focus::-moz-placeholder { + color: var(--text-hover); +} + +/* Internet Explorer 10 */ +input:-ms-input-placeholder { + color: var(--text); +} + +input:focus:-ms-input-placeholder { + color: var(--text-hover); +} \ No newline at end of file diff --git a/CSS/themes/sabnzbd/sabnzbd-base.css b/CSS/themes/sabnzbd/sabnzbd-base.css index 12ede295..0ba22f3c 100644 --- a/CSS/themes/sabnzbd/sabnzbd-base.css +++ b/CSS/themes/sabnzbd/sabnzbd-base.css @@ -9,6 +9,8 @@ /* Made by @gilbN */ /* https://github.com/gilbN/theme.park */ +@import url(https://dev.theme-park.dev/CSS/defaults/placeholders.css); + body { background: var(--main-bg-color) !important; background-repeat: repeat, no-repeat; @@ -43,6 +45,15 @@ a { color: var(--link-color); } +.speedlimit-dropdown.dropdown>div>div>a { + color: var(--button-text); +} + +#navbar-collapse>ul>li.speedlimit-dropdown.dropdown>div>div:hover a.hover-button { + color: var(--button-text-hover); + opacity: 1; +} + a:active, a:hover, a:focus { @@ -216,12 +227,12 @@ hr { -o-background-size: auto, cover; } -.form-control:focus { - border-color: var(--text-hover); - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 255, 255, 0.6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 255, 255, 0.6); +.main-filedrop.in, +.main-restarting.in { + color: var(--text-hover); } + .caret { border-top-color: white !important; } @@ -234,7 +245,18 @@ svg.peity polyline { stroke: var(--button-color) !important; } +.rss-icon-svg { + fill: var(--button-color); + border-radius: 3px !important; +} + /* BUTTONS */ +.input-group-addon { + color: var(--button-text); + background: var(--button-color); + border-color: var(--button-color); +} + .form-signin .btn { background: var(--button-color) !important; outline: none !important; @@ -505,6 +527,10 @@ tr td.row-extra-text, background: rgba(255, 255, 255, 0.25); } +.progress .progress-bar .fileDetails { + color: var(--button-text); +} + .progress { background-color: transparent !important; box-shadow: none !important; @@ -602,7 +628,14 @@ tr td.row-extra-text, .form-control { color: white; - background-color: #1b1a1a; + background-color: rgb(0 0 0 / 25%); +} + +.form-control:focus { + border-color: var(--text-hover); + -webkit-box-shadow: none; + box-shadow: none; + background: #1b1b1b; } /*Tabbed sorting */ @@ -1011,6 +1044,29 @@ select[disabled]:hover { color: white; } +#modal-options #options-status small { + color: var(--text-muted); +} + +#modal-options .options-function-box .input-group-addon { + background-color: var(--button-color); + color: var(--button-text); + border: 1px solid var(--button-color); +} + +#modal-options .table-server-connections thead { + + background-color: rgba(0, 0, 0, .25); +} + +#modal-options .table-server-connections thead { + background-color: rgba(0, 0, 0, .25); +} + +#modal-item-files .item-files-table .progress small { + color: var(--text-muted) !important; +} + a.list-group-item, button.list-group-item { color: var(--text-hover);