diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-04 15:28:14 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-04 15:28:14 +0200 |
commit | 926be04229cbaa492755080fac85762b7b876bca (patch) | |
tree | f1939777177205b1c012cf3a97ffc14b0371e317 /theme/admin/rsrc | |
parent | 24877f1ed91380c76c49e3780f3c70c009509b07 (diff) | |
download | blog-926be04229cbaa492755080fac85762b7b876bca.tar.gz blog-926be04229cbaa492755080fac85762b7b876bca.tar.xz blog-926be04229cbaa492755080fac85762b7b876bca.zip |
Prettify the item meta elements in the admin theme
This commit prettifies the item meta elements in the admin theme and
also removes those ugly square brackets. It looks a lot better now.
Diffstat (limited to 'theme/admin/rsrc')
-rw-r--r-- | theme/admin/rsrc/css/main.css | 26 | ||||
-rw-r--r-- | theme/admin/rsrc/css/main.scss | 33 |
2 files changed, 21 insertions, 38 deletions
diff --git a/theme/admin/rsrc/css/main.css b/theme/admin/rsrc/css/main.css index 9ffea66..28a4c67 100644 --- a/theme/admin/rsrc/css/main.css +++ b/theme/admin/rsrc/css/main.css @@ -379,23 +379,6 @@ table, td { } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Brackets -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.brackets:after, .brackets:before { - color: #222; -} -.brackets:before { - content: "["; -} -.brackets:after { - content: "]"; -} - -.brackets a, a.brackets { - text-decoration: none; -} - -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Item Element ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .item { @@ -462,9 +445,18 @@ table, td { padding: 0; list-style: none; } +.item-meta-right { + float: right; +} +.item-meta-right:before { + content: none !important; +} .item-meta li { display: inline-block; } +.item-meta li + li:before { + content: " – "; +} .item-image { float: left; display: block; diff --git a/theme/admin/rsrc/css/main.scss b/theme/admin/rsrc/css/main.scss index a83e1e8..0a64e07 100644 --- a/theme/admin/rsrc/css/main.scss +++ b/theme/admin/rsrc/css/main.scss @@ -413,27 +413,6 @@ table, td { } /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -# Brackets -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ -.brackets { - &:after, &:before { - color: #222; - } - - &:before { - content: "["; - } - - &:after { - content: "]"; - } -} - -.brackets a, a.brackets { - text-decoration: none; -} - -/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Item Element ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ .item { @@ -512,8 +491,20 @@ table, td { padding: 0; list-style: none; + &-right { + float: right; + + &:before { + content: none !important; + } + } + li { display: inline-block; + + +li:before { + content: " – "; + } } } |