Blame view

frontend/web/css/_datepicker.scss 2.94 KB
bc9815fa   Anastasia   layout
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
  /*datapicker*/
  ._datepicer {
    background: #fff url("../images/ico-calendar-2.png") 96% 50% no-repeat !important;
  }
  #ui-datepicker-div {
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #d7d7d7;
    border-radius: 0;
    margin-top: 1px;
    width: 290px;
    right: 0;
    display: none;
    &:after {
      content: '';
      width: 277px;
      height: 1px;
      background-color: #ccc;
      position: absolute;
      left: 7px;
      top: 68px;
    }
  }
  .ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
    text-align: center;
    width: 280px;
    position: relative;
    margin: 0 auto;
    height: 29px;
    overflow: hidden;
    margin-top: 26px;
    margin-bottom: 25px;
    padding-left: 1px;
  }
  .ui-datepicker-next.ui-corner-all {
    position: absolute;
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: 100%;
    top: 5px;
    background-position: 0 -36px;
    cursor: pointer;
    right: 1px;
  }
  .ui-datepicker-prev.ui-corner-all {
    position: absolute;
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: 100%;
    top: 5px;
    background-position: 0 -66px;
    cursor: pointer;
    left: 2px;
  }
  .ui-datepicker-next.ui-corner-all, .ui-datepicker-prev.ui-corner-all {
    background-image: url(../images/calendar_arrows.png);
    background-repeat: no-repeat;
  }
  .ui-datepicker-title {
    margin-top: -4px;
    select {
      border-radius:0;
      float: none;
      height: 28px;
      margin: 5px;
      font-size: 14px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      outline: 0;
      background-image: url(../images/arrowselect.png)!important;
      background-repeat: no-repeat;
      background-position: 88px 11px !important;
      max-width: 104px;
      border-color: #bababa;
      cursor: pointer;
      padding: 2px 17px 4px 14px;
      &.ui-datepicker-year {
        background-position: 86px 8px;
      }
    }
  }
  .ui-datepicker-year {
    width: 102px;
    padding-left: 23px!important;
  }
  table.ui-datepicker-calendar {
    width: 260px;
    text-align: center;
    margin: 0 auto;
    font-family: Arial;
    margin-bottom: 23px;
    th {
      color: #000;
      text-transform: uppercase;
      font-size: 12px;
      text-align: left;
    }
  }
  .ui-datepicker-calendar{
    td, tr {
      margin: 0;
      padding: 0;
    }
  }
  table.ui-datepicker-calendar {
    width: 280px;
    text-align: center;
    margin: 0 auto;
    font-family: Arial;
    margin-bottom: 23px;
    th {
      color: #000;
      text-transform: uppercase;
      font-size: 12px;
      text-align: left;
    }
    td {
      height: 26px;
    }
    a {
      font-size: 12px;
      color: #000;
      text-decoration: none;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: block;
      line-height: 20px;
      left: 0;
      position: relative;
    }
  
  }
  
  .ui-datepicker-current-day {
    a {
      background: $link-color;
      color: #fff !important;
    }
  }
  
  .ui-datepicker-today {
    a {
      font-weight: 700;
      color: $link-color;
    }
  }
  
  @media (max-width: 767px) {
    ._datepicer {
      background: #fff url("../images/ico-calendar-2.png") 98% 50% no-repeat !important;
    }
  }