Sha256: cb5ac4b724665ff6144e1cacbb8bd029ea86ca82044e4d5c6397f2ee11ab29f2

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

// Datepicker .less buildfile.  Includes select mixins/variables from bootstrap
// and imports the included datepicker.less to output a minimal datepicker.css
//
// Usage:
//     lessc build.less datepicker.css
//
// Variables and mixins copied from bootstrap 2.0.2

// Variables
@gray:                   lighten(#000, 33.5%); // #555
@gray-light:             lighten(#000, 60%);   // #999
@gray-lighter:           lighten(#000, 93.5%); // #eee

@input-border:                   #ccc;

@brand-primary:         #428bca;
//@btn-default-color:              #333;
//@btn-default-bg:                 #fff;
//@btn-default-border:             #ccc;
@btn-primary-color:              #fff;
@btn-primary-bg:                 @brand-primary;
@btn-primary-border:             darken(@btn-primary-bg, 5%);


@btn-link-disabled-color:        @gray-light;

@input-group-addon-bg:           @gray-lighter;
@input-group-addon-border-color: @input-border;

@font-size-base:          14px;
@line-height-base:        1.428571429; // 20/14
@line-height-computed:    floor(@font-size-base * @line-height-base); // ~20px


// Mixins

// Button variants
.button-variant(@color; @background; @border) {
  color: @color;
  background-color: @background;
  border-color: @border;

  &:hover,
  &:focus,
  &:active,
  &.active,
  .open .dropdown-toggle& {
    color: @color;
    background-color: darken(@background, 8%);
        border-color: darken(@border, 12%);
  }
  &:active,
  &.active,
  .open .dropdown-toggle& {
    background-image: none;
  }
  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    &,
    &:hover,
    &:focus,
    &:active,
    &.active {
      background-color: @background;
          border-color: @border
    }
  }
}

@import "../less/datepicker3.less";

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-datepicker-1.2.0 build/build3.less
bootstrap-datepicker-1.1.1 build/build3.less