Sha256: 2e388c5da3b41c043c8247f8eaa6cedc3b7ae10fa0e90cc3eb16e1aac0bda084

Contents?: true

Size: 1.8 KB

Versions: 34

Compression:

Stored size: 1.8 KB

Contents

// Table of Contents
// ==================================================
// Datepicker

// scss-lint:disable ImportantRule
// scss-lint:disable NestingDepth
// scss-lint:disable SelectorDepth

// Datepicker
// ==================================================
.datepicker {
  padding: 4px;

  table {
    width: 100%;

    td,
    th {
      border-radius: border-radius(b);
      padding: 8px 6px;
      text-align: center;
    }
    th:not(.dow) {
      &:hover,
      &:focus {
        background: color(haze);
        cursor: pointer;
      }
    }
    td {
      &.today {
        background: color-inverted(primary);
        color: color(primary);
      }
      &.day,
      &.today {
        &:hover,
        &:focus {
          background: color(haze);
          cursor: pointer;
        }
        &:active,
        &.active {
          background: color(primary);
          color: color(white);
        }
      }
      &.old,
      &.new { color: color(gray); }
      &.disabled {
        background: color(transparent) !important;
        color: dark-color(dark-haze) !important;
        cursor: not-allowed !important;
        text-decoration: line-through;
      }

      span {
        border-radius: border-radius(b);
        display: block;
        float: left;
        margin: 1%;
        padding: 13px 0;
        width: 23%;

        &:hover,
        &.focus,
        &.focused {
          background: color(haze);
          cursor: pointer;
        }
        &:active,
        &.active,
        &.focused {
          background: color(primary);
          color: color(white);
        }
        &.disabled {
          background: color(transparent) !important;
          color: dark-color(dark-haze) !important;
          cursor: not-allowed !important;
          text-decoration: line-through;
        }
      }
    }
  }
}

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
active_frontend-15.0.11 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.10 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.9 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.8 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.7 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.6 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.5 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.4 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.3 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.2 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.1 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.6 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.5 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.4 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.3 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.2 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.1 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.2.0 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.41 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.40 vendor/assets/stylesheets/components/_datepicker.scss