changeset 6956:d331cc495625

style: extract yui styles to separate less file
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Fri, 29 Sep 2017 21:15:16 +0200
parents 354adbe687a3
children a90330320ed8
files kallithea/public/less/style.less kallithea/public/less/yui-ac.less
diffstat 2 files changed, 72 insertions(+), 69 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- /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;
+}