Mercurial > kallithea
changeset 7037:692484bbd445
less: move non contextbar specific style to kallithea.less
Also this is only relevant for icon-empty and icon-gravatar.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Fri, 27 Oct 2017 18:43:45 +0200 |
parents | 9136c3c1680e |
children | 5a5398a5bf83 |
files | kallithea/public/css/contextbar.css kallithea/public/css/style.css kallithea/public/less/style.less |
diffstat | 3 files changed, 21 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/contextbar.css Thu Oct 26 22:39:18 2017 +0200 +++ b/kallithea/public/css/contextbar.css Fri Oct 27 18:43:45 2017 +0200 @@ -1,16 +1,6 @@ /** * Stylesheets for the context bar */ -i[class^='icon-'] { - background-repeat: no-repeat; - background-position: center; - display: inline-block; - min-width: 16px; - min-height: 16px; - margin: -2px 0 -4px 0; - /* background-color: red; /* for debugging */ -} -/* Note: class 'icon-empty' or 'icon-gravatar' can be used to get icon styling without an actual glyph */ nav.navbar #quick a, #content #context-bar, #content #context-bar a {
--- a/kallithea/public/css/style.css Thu Oct 26 22:39:18 2017 +0200 +++ b/kallithea/public/css/style.css Fri Oct 27 18:43:45 2017 +0200 @@ -49,6 +49,16 @@ .changeset_hash { font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace; } +/* Note: class 'icon-empty' or 'icon-gravatar' can be used to get icon-ish styling without an actual glyph */ +i[class^='icon-empty'], +i[class^='icon-gravatar'] { + background-repeat: no-repeat; + background-position: center; + display: inline-block; + min-width: 16px; + min-height: 16px; + margin: -2px 0 -4px 0; +} .inline-comments-general.show-general-status .hidden.general-only { display: block !important; }
--- a/kallithea/public/less/style.less Thu Oct 26 22:39:18 2017 +0200 +++ b/kallithea/public/less/style.less Fri Oct 27 18:43:45 2017 +0200 @@ -54,6 +54,17 @@ font-family: Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace; } +/* Note: class 'icon-empty' or 'icon-gravatar' can be used to get icon-ish styling without an actual glyph */ +i[class^='icon-empty'], +i[class^='icon-gravatar'] { + background-repeat: no-repeat; + background-position: center; + display: inline-block; + min-width: 16px; + min-height: 16px; + margin: -2px 0 -4px 0; +} + .inline-comments-general.show-general-status .hidden.general-only { display: block !important; }