Mercurial > kallithea
changeset 5685:951158ff4378
css: generic .hidden class which can be overruled with .show class
Sometimes more convenient and efficient than plain jQuery using .show() and
.hide() and filtering on :visible.
This should be bootstrap compatible.
7834f845505a already depends on this :-(
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 01 Feb 2016 22:18:59 +0100 |
parents | 8d93d28adf25 |
children | b3a51c3987be |
files | kallithea/public/css/style.css |
diffstat | 1 files changed, 11 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/style.css Mon Feb 01 21:23:44 2016 +0100 +++ b/kallithea/public/css/style.css Mon Feb 01 22:18:59 2016 +0100 @@ -212,6 +212,17 @@ display: block !important; } +/* Bootstrap compatible */ +.show { + display: block !important; +} +.hidden { + display: none !important; +} +.invisible { + visibility: hidden; +} + .truncate { white-space: nowrap; overflow: hidden; @@ -526,10 +537,6 @@ margin-bottom: -2px; } -td.quick_repo_menu .menu_items.hidden { - display: none; -} - .dt_repo { white-space: nowrap; color: #577632; @@ -3444,10 +3451,6 @@ color: #aaa; } -.btn.blue.hidden { - display: none; -} - .btn.active { font-weight: bold; } @@ -4524,11 +4527,6 @@ } -.diff-container.hidden { - display: none; - overflow: hidden; -} - .compare-revision-selector { font-weight: bold; font-size: 14px;