diff options
author | Thomas Lange <code@nerdmind.de> | 2021-08-26 19:20:09 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-08-26 19:26:14 +0200 |
commit | 3e35de0805f64759d3ff4c28632e65ec795223ac (patch) | |
tree | 8ea79338c4966f0010e158675deea873230076dc /theme/admin/rsrc/css/dark.css | |
parent | 1b1c6f510673ec39c581a3370427adc369aaca6d (diff) | |
download | blog-3e35de0805f64759d3ff4c28632e65ec795223ac.tar.gz blog-3e35de0805f64759d3ff4c28632e65ec795223ac.tar.xz blog-3e35de0805f64759d3ff4c28632e65ec795223ac.zip |
Explicitly set scrollbar colors for admin theme
Explicitly set the scrollbar colors for the admin theme instead of using
the default colors of the web browser and integrate the scrollbar colors
better into the user-selected color scheme (bright or dark).
Diffstat (limited to 'theme/admin/rsrc/css/dark.css')
-rw-r--r-- | theme/admin/rsrc/css/dark.css | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/theme/admin/rsrc/css/dark.css b/theme/admin/rsrc/css/dark.css index a69bfc5..3d5b883 100644 --- a/theme/admin/rsrc/css/dark.css +++ b/theme/admin/rsrc/css/dark.css @@ -21,6 +21,9 @@ # Information message box ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# Scrollbars +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Import stylesheet ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -50,6 +53,32 @@ } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +# Scrollbars +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +* { + scrollbar-color: #838994 #2E3440; +} +*::-webkit-scrollbar { + width: 0.75rem; +} +*::-webkit-scrollbar-track { + background: #2E3440; +} +*::-webkit-scrollbar-thumb { + background: #838994; + background-clip: padding-box; + border: 0.15rem solid transparent; +} +*::-webkit-scrollbar-thumb:hover { + background: #4C566A; + background-clip: padding-box; + border: 0.15rem solid transparent; +} +*::-webkit-scrollbar-corner { + background: transparent; +} + +/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Hyperlinks ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ a { @@ -624,6 +653,7 @@ textarea { padding: 0.5rem; -webkit-hyphens: none; hyphens: none; + cursor: auto; } input[type=submit] { |