Sha256: a9b32f725f2a0d493b7b9f4b402b6e0a0dfe17fd5ac0b243cb1ca8080ecaf25b

Contents?: true

Size: 1.98 KB

Versions: 12

Compression:

Stored size: 1.98 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(gray);
        color: color(white);
        cursor: pointer;
      }
    }
    td {
      color: color(white);

      &.today {
        background: color(light-black);
        color: color(primary);
      }
      &.day,
      &.today {
        &:hover,
        &:focus {
          background: color(gray);
          color: color(white);
          cursor: pointer;
        }
        &:active,
        &.active {
          background: color(primary);
          color: color(white);
        }
      }
      &.old,
      &.new {
        color: color(light-gray);

        &:hover,
        &:focus { color: color(white); }
      }
      &.disabled {
        background: color(transparent) !important;
        color: color(dark-gray) !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(gray);
          color: color(white);
          cursor: pointer;
        }
        &:active,
        &.active,
        &.focused {
          background: color(primary);
          color: color(white);
        }
        &.disabled {
          background: color(transparent) !important;
          color: color(dark-gray) !important;
          cursor: not-allowed !important;
          text-decoration: line-through;
        }
      }
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
active_frontend-15.0.23 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.22 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.21 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.20 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.19 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.18 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.17 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.16 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.15 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.14 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.13 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-15.0.12 vendor/assets/stylesheets/components/_datepicker.scss