# HG changeset patch # User Thomas De Schampheleire # Date 1506712516 -7200 # Node ID d331cc4956254e9ae97fb148e905a05a349582e3 # Parent 354adbe687a37cf8d578b723fc3b9f28466c7286 style: extract yui styles to separate less file diff -r 354adbe687a3 -r d331cc495625 kallithea/public/less/style.less --- a/kallithea/public/less/style.less Fri Sep 29 20:20:03 2017 +0200 +++ b/kallithea/public/less/style.less Fri Sep 29 21:15:16 2017 +0200 @@ -1257,75 +1257,9 @@ .info_box_elem { display: inline-block; } -.yui-overlay, -.yui-panel-container { - visibility: hidden; - position: absolute; - z-index: 2; -} -.ac { - vertical-align: top; -} -.ac .yui-ac { - position: inherit; - font-size: 100%; -} -.ac .perm_ac { - width: 20em; -} -.ac .yui-ac-input { - width: 100%; -} -.ac .yui-ac-container { - position: absolute; - top: 1.6em; - width: auto; -} -.ac .yui-ac-content { - position: absolute; - border: 1px solid gray; - background: #fff; - z-index: 9050; -} -.ac .yui-ac-shadow { - position: absolute; - width: 100%; - background: #000; - opacity: .10; - z-index: 9049; - margin: .3em; -} -.ac .yui-ac-content ul { - width: 100%; - margin: 0; - padding: 0; - z-index: 9050; -} -.ac .yui-ac-content li { - cursor: default; - white-space: nowrap; - margin: 0; - padding: 2px 5px; - height: 18px; - z-index: 9050; - display: block; - width: auto !important; -} -.ac .yui-ac-content li .ac-container-wrap { - width: auto; -} -.ac .yui-ac-content li.yui-ac-prehighlight { - background: #B3D4FF; - z-index: 9050; -} -.ac .yui-ac-content li.yui-ac-highlight { - background: #556CB5; - color: #FFF; - z-index: 9050; -} -.ac .yui-ac-bd { - z-index: 9050; -} + +@import "yui-ac.less"; + #repo_size { display: block; margin-top: 4px; diff -r 354adbe687a3 -r d331cc495625 kallithea/public/less/yui-ac.less --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kallithea/public/less/yui-ac.less Fri Sep 29 21:15:16 2017 +0200 @@ -0,0 +1,69 @@ +.yui-overlay, +.yui-panel-container { + visibility: hidden; + position: absolute; + z-index: 2; +} +.ac { + vertical-align: top; +} +.ac .yui-ac { + position: inherit; + font-size: 100%; +} +.ac .perm_ac { + width: 20em; +} +.ac .yui-ac-input { + width: 100%; +} +.ac .yui-ac-container { + position: absolute; + top: 1.6em; + width: auto; +} +.ac .yui-ac-content { + position: absolute; + border: 1px solid gray; + background: #fff; + z-index: 9050; +} +.ac .yui-ac-shadow { + position: absolute; + width: 100%; + background: #000; + opacity: .10; + z-index: 9049; + margin: .3em; +} +.ac .yui-ac-content ul { + width: 100%; + margin: 0; + padding: 0; + z-index: 9050; +} +.ac .yui-ac-content li { + cursor: default; + white-space: nowrap; + margin: 0; + padding: 2px 5px; + height: 18px; + z-index: 9050; + display: block; + width: auto !important; +} +.ac .yui-ac-content li .ac-container-wrap { + width: auto; +} +.ac .yui-ac-content li.yui-ac-prehighlight { + background: #B3D4FF; + z-index: 9050; +} +.ac .yui-ac-content li.yui-ac-highlight { + background: #556CB5; + color: #FFF; + z-index: 9050; +} +.ac .yui-ac-bd { + z-index: 9050; +}