aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin/rsrc/css/bright.scss
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-14 16:42:16 +0200
committerThomas Lange <code@nerdmind.de>2021-07-14 17:28:11 +0200
commit01cbd757d69668b39c1b072b0449b77e6e2bee8d (patch)
tree3bb22c5a3d21543a69a03e0e03d7fc864878e19a /theme/admin/rsrc/css/bright.scss
parenta4242144eebc101bc1e5ec150a80312e30d0112f (diff)
downloadblog-01cbd757d69668b39c1b072b0449b77e6e2bee8d.tar.gz
blog-01cbd757d69668b39c1b072b0449b77e6e2bee8d.tar.xz
blog-01cbd757d69668b39c1b072b0449b77e6e2bee8d.zip
Do some minor optimizations on the admin theme
* Add noisy background images * Rename SCSS/CSS file "main" to "bright" * Remove uppercase text-transform for headings * Replace hardcoded font sizes with SCSS variables * Decrease font size for category link in post item template * Move right-floated ID before the heading in the HTML markup to ensure it does not moves to the second line if the heading text is too wide.
Diffstat (limited to 'theme/admin/rsrc/css/bright.scss')
-rw-r--r--theme/admin/rsrc/css/bright.scss61
1 files changed, 61 insertions, 0 deletions
diff --git a/theme/admin/rsrc/css/bright.scss b/theme/admin/rsrc/css/bright.scss
new file mode 100644
index 0000000..8173497
--- /dev/null
+++ b/theme/admin/rsrc/css/bright.scss
@@ -0,0 +1,61 @@
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Content background and border color
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$htmlBackground: url("../img/noise-bright.png") #DDD;
+$backgroundColor: #FFF;
+$backgroundColorEmphasize: #EEE;
+$borderColor: #AAA;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Header and navigation
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$headerBarTextColor: #333;
+$navigationLinkBackgroundColor: #DDD;
+$navigationLinkFocusedBackgroundColor: #CCC;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Text colors
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$textColor: #333;
+$textColorLight: #444;
+$textColorStrong: #000;
+$formElementTextColor: #404040;
+$codeTextColor: #008B45;
+$linkColor: #0060A0;
+$linkColorFocused: #CCC;
+$warningTextColor: #B03060;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Misc
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$itemLinkHoverBackgroundColor: #DDD;
+$paginationActiveBackgroundColor: #CCC;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Forms
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$formBackgroundColorEmphasize: #DDD;
+$formButtonBorderColor: #404040;
+$formButtonTextColor: #EEE;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Form buttons
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$insertButtonBackgroundColor: #4D8D5D;
+$updateButtonBackgroundColor: #6A8AA5;
+$deleteButtonBackgroundColor: #C45C66;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Information message box
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+$messageListTextColor: #EEE;
+$messageListBackgroundColor: #C45C66;
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Import stylesheet
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+@import "import/styles";
+
+#theme-toogle-bright {
+ display: none;
+}