Sha256: 776656a68eaba0f1b439abc7463a84533817bec39904f68577c9f0013982fed3

Contents?: true

Size: 1.08 KB

Versions: 34

Compression:

Stored size: 1.08 KB

Contents

/* wrapper divs */
.custom-checkbox,
.custom-radio
  position: relative

/* input, label positioning */
//
  .custom-checkbox input,
  .custom-radio input
    position: absolute
    left: 2px
    top: 3px
    margin: 0
    z-index: 0

  .custom-checkbox label,
  .custom-radio label
    display: block
    position: relative
    z-index: 1
    padding-right: 1em
    line-height: 18px
    padding: 0 0 0 40px
    margin: 0 0 0
    cursor: pointer

.custom-checkbox label
  background: url(/images/forms/checkbox.gif) no-repeat

.custom-radio
  background: url(/images/forms/radiobutton.gif) no-repeat
  text-indent: -999px

.custom-checkbox label,
.custom-radio
  background-position: -10px -18px

.custom-checkbox label.hover,
.custom-checkbox label.focus,
.custom-radio.hover,
.custom-radio.focus
  background-position: -10px -118px

.custom-checkbox label.checked,
.custom-radio.checked
  background-position: -10px -218px

.custom-checkbox label.checkedHover,
.custom-checkbox.checkedFocus
  background-position: -10px -318px

.custom-checkbox label.focus,
.custom-radio.focus
  outline: 1px dotted #ccc

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
quby-5.6.6 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.6.5 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.6.3 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.6.2 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.6.1 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.6.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.5.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.4.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.3.1 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.3.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.2.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.1.3 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.1.2 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.1.1 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.1.0 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.0.5 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.0.4 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.0.3 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.0.2 app/assets/stylesheets/quby/_custom-inputs.sass
quby-5.0.1 app/assets/stylesheets/quby/_custom-inputs.sass