Преглед на файлове

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 преди 9 години
родител
ревизия
ce2f494e0c
променени са 2 файла, в които са добавени 15 реда и са изтрити 0 реда
  1. 0 0
      package/gluon-luci-theme/files/www/luci-static/gluon/cascade.css
  2. 15 0
      package/gluon-luci-theme/sass/cascade.scss

Файловите разлики са ограничени, защото са твърде много
+ 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;
 }

Някои файлове не бяха показани, защото твърде много файлове са промени