Sha256: e0ec02d8cae8af38f6296a8ebaa7c64153353e98ca1eebf5d8d51a33e2c95303

Contents?: true

Size: 1.55 KB

Versions: 49

Compression:

Stored size: 1.55 KB

Contents

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

// 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);
        color: color(gray);
        cursor: not-allowed;
      }

      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);
          color: color(gray);
          cursor: not-allowed;
        }
      }
    }
  }
}

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
active_frontend-14.0.48 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.47 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.46 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.45 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.44 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.43 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.42 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.41 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.40 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.39 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.38 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.37 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.36 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.35 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.34 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.33 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.32 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.31 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.30 vendor/assets/stylesheets/components/_datepicker.scss
active_frontend-14.0.29 vendor/assets/stylesheets/components/_datepicker.scss