Mercurial > kallithea
changeset 6958:3f1e3fba3a3e
style: move perm_tag to kallithea-tags.less
Also move these styles in the original style.css to make the delta again
zero.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Fri, 29 Sep 2017 21:30:55 +0200 |
parents | a90330320ed8 |
children | 7ba91de2f6fd |
files | kallithea/public/css/style.css kallithea/public/less/kallithea-tags.less kallithea/public/less/style.less |
diffstat | 3 files changed, 55 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Fri Sep 29 21:22:14 2017 +0200 +++ b/kallithea/public/css/style.css Fri Sep 29 21:30:55 2017 +0200 @@ -447,6 +447,33 @@ color: #FFF; text-decoration: none; } +#perms .perm_tag { + position: relative; + top: -2px; + margin-left: 3px; + padding: 3px 3px 1px 3px; + font-size: 10px; + font-weight: bold; + 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; +} +#perms .perm_tag.read { + background-color: #468847; + color: #ffffff; +} +#perms .perm_tag.none { + background-color: #bfbfbf; + color: #ffffff; +} #summary .desc { white-space: pre; width: 100%; @@ -1974,33 +2001,6 @@ #perms .perms_section_head label { margin-left: 10px; } -#perms .perm_tag { - position: relative; - top: -2px; - margin-left: 3px; - padding: 3px 3px 1px 3px; - font-size: 10px; - font-weight: bold; - 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; -} -#perms .perm_tag.read { - background-color: #468847; - color: #ffffff; -} -#perms .perm_tag.none { - background-color: #bfbfbf; - color: #ffffff; -} input.perm_filter { position: relative; top: 2px;
--- a/kallithea/public/less/kallithea-tags.less Fri Sep 29 21:22:14 2017 +0200 +++ b/kallithea/public/less/kallithea-tags.less Fri Sep 29 21:30:55 2017 +0200 @@ -37,3 +37,31 @@ color: #FFF; text-decoration: none; } + +#perms .perm_tag { + position: relative; + top: -2px; + margin-left: 3px; + padding: 3px 3px 1px 3px; + font-size: 10px; + font-weight: bold; + 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; +} +#perms .perm_tag.read { + background-color: #468847; + color: #ffffff; +} +#perms .perm_tag.none { + background-color: #bfbfbf; + color: #ffffff; +}
--- a/kallithea/public/less/style.less Fri Sep 29 21:22:14 2017 +0200 +++ b/kallithea/public/less/style.less Fri Sep 29 21:30:55 2017 +0200 @@ -1834,33 +1834,6 @@ #perms .perms_section_head label { margin-left: 10px; } -#perms .perm_tag { - position: relative; - top: -2px; - margin-left: 3px; - padding: 3px 3px 1px 3px; - font-size: 10px; - font-weight: bold; - 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; -} -#perms .perm_tag.read { - background-color: #468847; - color: #ffffff; -} -#perms .perm_tag.none { - background-color: #bfbfbf; - color: #ffffff; -} input.perm_filter { position: relative; top: 2px;