# HG changeset patch # User Thomas De Schampheleire # Date 2017-09-29 21:32:25 # Node ID 7ba91de2f6fdbd568e17d1b4f670945ad366bfb2 # Parent 3f1e3fba3a3eb34862d171415148aeaaa15d52ee style: less'en perm_tag styles One step closer to the files proposed by Dominik Ruf. diff --git a/kallithea/public/less/kallithea-tags.less b/kallithea/public/less/kallithea-tags.less --- a/kallithea/public/less/kallithea-tags.less +++ b/kallithea/public/less/kallithea-tags.less @@ -48,20 +48,20 @@ a.metatag[data-tag="license"]:hover { 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; -}