# HG changeset patch # User domruf # Date 1509122625 -7200 # Node ID 692484bbd4450066923542907908421a0582b3f0 # Parent 9136c3c1680ee5271098a551b9001b5226b9f0f0 less: move non contextbar specific style to kallithea.less Also this is only relevant for icon-empty and icon-gravatar. diff -r 9136c3c1680e -r 692484bbd445 kallithea/public/css/contextbar.css --- 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 { diff -r 9136c3c1680e -r 692484bbd445 kallithea/public/css/style.css --- 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; } diff -r 9136c3c1680e -r 692484bbd445 kallithea/public/less/style.less --- 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; }