Sha256: 73160d690c5ab7b76602eddb81f2a343aa2d957fe31e603566e2dada67061aac

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

// Slider
// --------------------------------------------------

.ui-slider {
  .progress();
  margin-bottom: 20px;
  position: relative;
}

.ui-slider-handle {
  background-color: mix(@brand-secondary, black, 85%);
  border-radius: 50%;
  cursor: pointer;
  height: 18px;
  margin-left: -9px;
  position: absolute;
  top: -3px;
  width: 18px;
  z-index: 2;
  .transition(background .25s);
  
  &[style*='100'] {
    margin-left: -15px;
  }
  &:hover,
  &:focus {
    background-color: mix(@brand-secondary, white, 80%);
    outline: none;
  }
  &:active {
    background-color: mix(@brand-secondary, black, 85%);
  }
}

.ui-slider-range {
  background-color: @brand-secondary;
  border-radius: 30px 0 0 30px;
  display: block;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.ui-slider-segment {
  background-color: mix(desaturate(@brand-primary, 15%), white, 20%);
  border-radius: 50%;
  float: left;
  height: 6px;
  margin: 3px -6px 0 0;
  width: 6px;
}

.ui-slider-value {
  float: right;
  font-size: floor(@component-font-size-base * 0.867); // ~13px
  margin-top: @progress-height;
  
  &.first {
    clear: left;
    float: left;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flatui-rails-less-1.3 vendor/assets/stylesheets/modules/ui-slider.less
flatui-rails-less-1.1 vendor/assets/stylesheets/modules/ui-slider.less
flatui-rails-less-1.0 vendor/assets/stylesheets/modules/ui-slider.less