jquery.scss 1.04 KB
Newer Older
1 2 3 4 5
.ui-widget {
  font-family: $regular_font;
  font-size: $font-size-base;

  &.ui-datepicker-inline {
6
    border: 1px solid #ddd;
7 8 9 10
    padding: 10px;
    width: 270px;

    .ui-datepicker-header {
11 12
      background: #fff;
      border-color: #ddd;
13 14 15 16 17 18 19
    }

    .ui-datepicker-calendar td a {
      padding: 5px;
      text-align: center;
    }
  }
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
20 21

  &.ui-autocomplete {
22
    border-color: #ddd;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
23
    padding: 0;
24 25
    margin-top: 2px;
    z-index: 1001;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
26 27

    .ui-menu-item a {
28
      padding: 4px 10px;
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
29 30 31
    }
  }

32
  .ui-state-default {
33 34
    border: 1px solid #fff;
    background: #fff;
35 36 37 38
    color: #777;
  }

  .ui-state-highlight {
39 40
    border: 1px solid #eee;
    background: #eee;
41 42 43
  }

  .ui-state-active {
44 45
    border: 1px solid $gl-primary;
    background: $gl-primary;
46
    color: #fff;
47 48 49 50
  }

  .ui-state-hover,
  .ui-state-focus {
51 52
    border: 1px solid $row-hover;
    background: $row-hover;
53 54 55
    color: #333;
  }
}
Phil Hughes's avatar
Phil Hughes committed
56 57 58 59 60 61 62 63 64 65 66

.ui-sortable-handle {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;

  &:active {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
  }
}