summaryrefslogtreecommitdiff
path: root/templates/assets/sass/material-kit/_form.scss
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-22 19:19:26 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-22 19:19:26 +0100
commitd42c8b528eb595101954f478e0024e3f079f6fbf (patch)
tree61a528cf94f1f6941f4683ae8736a4a0135c035e /templates/assets/sass/material-kit/_form.scss
downloadminionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.tar.gz
minionlivesmatter-d42c8b528eb595101954f478e0024e3f079f6fbf.zip
first implementation of fun stats site
Diffstat (limited to 'templates/assets/sass/material-kit/_form.scss')
-rwxr-xr-xtemplates/assets/sass/material-kit/_form.scss42
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/assets/sass/material-kit/_form.scss b/templates/assets/sass/material-kit/_form.scss
new file mode 100755
index 0000000..ec8f018
--- /dev/null
+++ b/templates/assets/sass/material-kit/_form.scss
@@ -0,0 +1,42 @@
+// This file has been autogenerated by grunt task lessToSass. Any changes will be overwritten.
+
+@mixin mdb-label-color-toggle-focus(){
+ // override bootstrap focus and keep all the standard color (could be multiple radios in the form group)
+ .form-group.is-focused & {
+ color: $mdb-label-color;
+
+ // on focus just darken the specific labels, do not turn them to the brand-primary
+ &:hover,
+ &:focus {
+ color: $mdb-label-color-toggle-focus;
+ }
+
+ // correct the above focus color for disabled items
+ fieldset[disabled] & {
+ color: $mdb-label-color;
+ }
+ }
+}
+
+.form-horizontal {
+
+ // Consistent vertical alignment of radios and checkboxes
+ .radio,
+ .checkbox,
+ .radio-inline,
+ .checkbox-inline {
+ padding-top: 0;
+ }
+
+ .radio {
+ margin-bottom: 10px;
+ }
+
+ label {
+ text-align: right;
+ }
+
+ label.control-label {
+ margin: 0;
+ }
+}