Sha256: 2560a8f653a25238b4bc9e5585cdabc92de3a9f5ca036771f6435ddf8274284b

Contents?: true

Size: 1.02 KB

Versions: 5

Compression:

Stored size: 1.02 KB

Contents

$theme.radio-group {
  
  line-height: 18px;
  vertical-align: middle;
  
  &.disabled {
    opacity: .5;
  }
  
}

$theme.radio {
  position: relative;
  display:block;
  height:18px;
  padding-left: 20px;
  margin-bottom:3px;
  
  .sc-button-label {
    line-height: 18px;
  }
  
  .button {
    @include slice("radio_unselected.png");
    width: 16px;
    height:16px;
    vertical-align:middle;
    position: absolute;
    left: 0px;
    top: 0px;
    margin: 0px;
  }
  
  &.active .button {
    @include slice("radio_active.png");
  }
  
  &.sel .button {
    @include slice("radio_selected.png");
  }
  
  &.mixed .button {
    @include slice("radio_mixed.png");
  }
  
  &.sel.active .button {
    @include slice("radio_selected_active.png");
  }
  
  &.mixed.active .button {
    @include slice("radio_mixed_active.png");
  }
  
  &.disabled {
    opacity: .5;
  }
}

$theme.radio-group.sc-layout-horizontal $theme.radio, $theme.radio.sc-layout-horizontal {
  display: inline-block;
  -moz-display: inline-block;
  margin-right: 14px;  
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
spade-0.0.1 sproutcore/themes/ace/resources/radio/radio.css
sproutcore-1.5.0.pre.5 lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css
sproutcore-1.5.0.pre.4.1 lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css
sproutcore-1.5.0.pre.4 lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css
sproutcore-1.5.0.pre.3 lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css