Sha256: fd47480fac37bc02c82620daa84289093febc79cfdbdebb658821b16b0747ae5

Contents?: true

Size: 1.74 KB

Versions: 77

Compression:

Stored size: 1.74 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 { 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

77 entries across 77 versions & 1 rubygems

Version Path
active_frontend-14.1.25 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.24 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.23 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.22 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.21 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.20 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.19 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.18 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.17 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.16 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.15 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.14 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.13 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.12 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.11 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.10 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.9 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.8 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.7 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.1.6 vendor/assets/stylesheets/components/_datepicker.scss