# HG changeset patch # User Thomas De Schampheleire # Date 1506709203 -7200 # Node ID 354adbe687a37cf8d578b723fc3b9f28466c7286 # Parent 6998db277ac4d81a211b354ba4bd0727d7e35a5f style: less'en select2 styles Some steps towards the version of kallithea-select2.less prepared by Dominik Ruf. diff -r 6998db277ac4 -r 354adbe687a3 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Fri Sep 29 16:34:03 2017 +0200 +++ b/kallithea/public/css/style.css Fri Sep 29 20:20:03 2017 +0200 @@ -1510,15 +1510,11 @@ height: 100%; padding: 0; } -.select2-container.form-control { - padding: 0; - border: none; -} .branch-switcher .select2-container, +.repo-switcher .select2-container, .branch-switcher .select2-choice, +.repo-switcher .select2-choice, .branch-switcher .select2-choice > span, -.repo-switcher .select2-container, -.repo-switcher .select2-choice, .repo-switcher .select2-choice > span { background: transparent !important; border: 0 !important; @@ -1529,6 +1525,10 @@ .repo-switcher .select2-arrow { display: none !important; } +.select2-container.form-control { + padding: 0; + border: none; +} .branch-switcher-dropdown.select2-drop.select2-drop-active, .repo-switcher-dropdown.select2-drop.select2-drop-active { box-shadow: none; diff -r 6998db277ac4 -r 354adbe687a3 kallithea/public/less/kallithea-select2.less --- a/kallithea/public/less/kallithea-select2.less Fri Sep 29 16:34:03 2017 +0200 +++ b/kallithea/public/less/kallithea-select2.less Fri Sep 29 20:20:03 2017 +0200 @@ -2,30 +2,28 @@ nav.navbar #quick .select2-container .select2-choice .select2-chosen { margin-right: 0; } -.branch-switcher .select2-choice, -.repo-switcher .select2-choice { - height: 100%; - padding: 0; +.branch-switcher, +.repo-switcher { + .select2-choice { + height: 100%; + padding: 0; + } + .select2-container, + .select2-choice, + .select2-choice > span { + background: transparent !important; + border: 0 !important; + box-shadow: none !important; + color: #FFFFFF !important; + } + .select2-arrow { + display: none !important; + } } .select2-container.form-control { padding: 0; border: none; } -.branch-switcher .select2-container, -.branch-switcher .select2-choice, -.branch-switcher .select2-choice > span, -.repo-switcher .select2-container, -.repo-switcher .select2-choice, -.repo-switcher .select2-choice > span { - background: transparent !important; - border: 0 !important; - box-shadow: none !important; - color: #FFFFFF !important; -} -.branch-switcher .select2-arrow, -.repo-switcher .select2-arrow { - display: none !important; -} .branch-switcher-dropdown.select2-drop.select2-drop-active, .repo-switcher-dropdown.select2-drop.select2-drop-active { box-shadow: none;