Mercurial > kallithea
changeset 6959:7ba91de2f6fd
style: less'en perm_tag styles
One step closer to the files proposed by Dominik Ruf.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Fri, 29 Sep 2017 21:32:25 +0200 |
parents | 3f1e3fba3a3e |
children | 386501cd9e00 |
files | kallithea/public/less/kallithea-tags.less |
diffstat | 1 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/less/kallithea-tags.less Fri Sep 29 21:30:55 2017 +0200 +++ b/kallithea/public/less/kallithea-tags.less Fri Sep 29 21:32:25 2017 +0200 @@ -48,20 +48,20 @@ text-transform: uppercase; white-space: nowrap; border-radius: 3px; -} -#perms .perm_tag.admin { - background-color: #B94A48; - color: #ffffff; -} -#perms .perm_tag.write { - background-color: #DB7525; - color: #ffffff; + &.admin { + background-color: #B94A48; + color: #ffffff; + } + &.write { + background-color: #DB7525; + color: #ffffff; + } + &.read { + background-color: #468847; + color: #ffffff; + } + &.none { + background-color: #bfbfbf; + color: #ffffff; + } } -#perms .perm_tag.read { - background-color: #468847; - color: #ffffff; -} -#perms .perm_tag.none { - background-color: #bfbfbf; - color: #ffffff; -}