# HG changeset patch # User Thomas De Schampheleire # Date 2017-09-29 21:30:55 # Node ID 3f1e3fba3a3eb34862d171415148aeaaa15d52ee # Parent a90330320ed880c193cb6df23af1ecd0d528834d style: move perm_tag to kallithea-tags.less Also move these styles in the original style.css to make the delta again zero. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -447,6 +447,33 @@ a.metatag[data-tag="license"]:hover { 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 @@ span.pr-closed-tag { #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; 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 @@ -37,3 +37,31 @@ a.metatag[data-tag="license"]:hover { 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; +} diff --git a/kallithea/public/less/style.less b/kallithea/public/less/style.less --- a/kallithea/public/less/style.less +++ b/kallithea/public/less/style.less @@ -1834,33 +1834,6 @@ span.pr-closed-tag { #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;