aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/rsrc/css/bright.css
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-08-26 19:20:09 +0200
committerThomas Lange <code@nerdmind.de>2021-08-26 19:26:14 +0200
commit3e35de0805f64759d3ff4c28632e65ec795223ac (patch)
tree8ea79338c4966f0010e158675deea873230076dc /theme/admin/rsrc/css/bright.css
parent1b1c6f510673ec39c581a3370427adc369aaca6d (diff)
downloadblog-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/bright.css')
-rw-r--r--theme/admin/rsrc/css/bright.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/theme/admin/rsrc/css/bright.css b/theme/admin/rsrc/css/bright.css
index df7027a..3f76207 100644
--- a/theme/admin/rsrc/css/bright.css
+++ b/theme/admin/rsrc/css/bright.css
@@ -21,6 +21,9 @@
# Information message box
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Scrollbars
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Import stylesheet
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -50,6 +53,32 @@
}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Scrollbars
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+* {
+ scrollbar-color: #A1A1A1 #E1E1E1;
+}
+*::-webkit-scrollbar {
+ width: 0.75rem;
+}
+*::-webkit-scrollbar-track {
+ background: #E1E1E1;
+}
+*::-webkit-scrollbar-thumb {
+ background: #A1A1A1;
+ background-clip: padding-box;
+ border: 0.15rem solid transparent;
+}
+*::-webkit-scrollbar-thumb:hover {
+ background: #888888;
+ 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] {