Sha256: 320758a43370ebd8d0fa15fee36db04fae1e47469f2dc21524d4cd358acacdf7

Contents?: true

Size: 883 Bytes

Versions: 7

Compression:

Stored size: 883 Bytes

Contents

// 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;
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin_material-0.2.1 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.2.0 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.1.8 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.1.6 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.1.4 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.1.2 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss
rails_admin_material-0.1.0 vendor/assets/stylesheets/rails_admin/themes/material/bootstrap-material-design/_form.scss