Parcourir la source

gluon-luci-theme: add cbi-value-field-long class

This new class allows visually pleasing lists of radio buttons/checkboxes/etc.
with long explanation texts.
Matthias Schiffer il y a 9 ans
Parent
commit
ce2f494e0c

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
package/gluon-luci-theme/files/www/luci-static/gluon/cascade.css


+ 15 - 0
package/gluon-luci-theme/sass/cascade.scss

@@ -648,6 +648,21 @@ div.cbi-value-field {
   }
 }
 
+div.cbi-value-field-long {
+  flex: 10;
+  position: relative;
+
+
+  input, select, input + label {
+    position: relative;
+    top: -0.39em;
+  }
+}
+
+div.cbi-value-field-long-after {
+  flex: 2;
+}
+
 div.cbi-value-description {
   font-size: 8pt;
 }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff