浏览代码

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

文件差异内容过多而无法显示
+ 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;
 }

部分文件因为文件数量过多而无法显示