Sha256: ffb0504f88f2bc11d806c6762b10f1a52696c6d4388ac21cb991ab00e61d0c4b

Contents?: true

Size: 1.94 KB

Versions: 44

Compression:

Stored size: 1.94 KB

Contents

//
// Checkable
// --------------------------------------------------

//== Radio & Checkbox
//
//##

//** Vertical form
.form-vertical
  .form-group.boolean
    +clearfix
    i
      font-size: 20px
      line-height: 1

    //** wrapper: :vertical_radio_and_checkboxes
    label:not(.control-label)
      display: block
      font-weight: 500
      font-size: $font-size-base

    //** wrapper: :horizontal_radio_and_checkboxes
    .control-label[class*='col-']
      padding-left: 0

  //** Override bootstrap vertical form
  .radio label,
  .checkbox label
    padding-left: 0
    margin-bottom: inherit

//** Checkbox in table
.table
  .radio,
  .checkbox
    margin: 0
    label
      font-weight: 500
      font-size: $font-size-base
      margin-bottom: 0
      i
        font-size: 20px
        line-height: 1

//** Customize Checkbox and Radio
.form-group.boolean input[type=checkbox],
.form-group.boolean input[type=radio],
.checkbox input[type=checkbox],
.radio input[type=radio]
  position: absolute
  overflow: hidden
  clip: rect(0 0 0 0)
  height: 1px
  width: 1px
  margin: -1px
  padding: 0
  border: 0

input[type=checkbox]:checked + label.check_boxes:before,
input[type=checkbox]:checked + .checkbox-icon:before
  content: "\f046"

input[type=checkbox]:focus + label.check_boxes:before,
input[type=checkbox]:focus + .checkbox-icon:before
  color: $input-border-focus

.boolean .checkbox-icon,
.checkbox .checkbox-icon
  &:hover
    &:before
      color: $input-border-focus
  &:before
    +fontAwesome
    content: "\f096"
    color: $input-color

input[type=radio]:checked + label.radio_buttons:before,
input[type=radio]:checked + .radio-icon:before
  content: "\f192"

input[type=radio]:focus + label.radio_buttons:before,
input[type=radio]:focus + .radio-icon:before
  color: $input-border-focus

.boolean .radio-icon,
.radio .radio-icon
  &:hover
    &:before
      color: $input-border-focus
  &:before
    +fontAwesome
    content: "\f10c"
    color: $input-color

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
para-0.11.4 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.11.3 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.11.2 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.11.1 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.11.0 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.10.0 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.4 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.3.3 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.3.2 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.3.1 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.2 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.9.0 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.15 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.14 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.13 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.12 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.11 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.10 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.9 app/assets/stylesheets/para/admin/src/_checkable.sass
para-0.8.8 app/assets/stylesheets/para/admin/src/_checkable.sass