blob: d51a1b690e4a6c86d7925b227fed8d473b4659e9 [file] [log] [blame]
Avi Zivb8e2faf2017-07-18 19:45:38 +03001.customized-date-picker {
2 margin-bottom: 24px;
Avi Ziv61070c92017-07-26 17:37:57 +03003 display: flex;
Avi Zivb8e2faf2017-07-18 19:45:38 +03004 .date-picker-label {
5 &.required {
6 &:before {
7 content: "*";
8 color: $red;
9 margin: 0 4px 0 0;
10 }
11 }
12
13 @extend .body-2-semibold;
14 color: $dark-gray;
15 margin-bottom: 8px;
16 }
Avi Ziv61070c92017-07-26 17:37:57 +030017 .react-datepicker__input-container {
18 flex: 1;
19 cursor: pointer;
20 }
Avi Zivb8e2faf2017-07-18 19:45:38 +030021 .datepicker-custom-input {
22 display: flex;
23 justify-content: space-between;
Avi Ziv61070c92017-07-26 17:37:57 +030024 align-items: center;
Avi Zivb8e2faf2017-07-18 19:45:38 +030025 height: 30px;
26 border-radius: 2px;
27 color: $dark-gray;
28 border: 1px solid $light-gray;
Avi Ziv61070c92017-07-26 17:37:57 +030029 padding: 6px 8px 6px 12px;
30 .clear-input {
31 margin-left: auto;
32 margin-right: 8px;
33 .svg-icon {
34 fill: transparent;
35 height: 8px;
36 width: 8px;
37 }
38 }
Avi Zivb8e2faf2017-07-18 19:45:38 +030039 &:hover {
40 border-color: $gray;
41 .clear-input {
Avi Ziv61070c92017-07-26 17:37:57 +030042 .svg-icon {
43 fill: initial;
Avi Zivb8e2faf2017-07-18 19:45:38 +030044 }
45 }
46 }
47 .datepicker-text {
48 cursor: pointer;
Avi Zivb8e2faf2017-07-18 19:45:38 +030049 @extend .body-1;
50 &.placeholder {
51 color: $light-gray;
52 }
53
54 }
55 .calendar-input {
56 fill: $light-gray;
57 }
Avi Ziv61070c92017-07-26 17:37:57 +030058 .svg-icon-wrapper.calendar {
59 .svg-icon {
60 fill: $dark-gray;
61 width: 17px;
62 height: 17px;
63 }
64 }
Avi Zivb8e2faf2017-07-18 19:45:38 +030065 }
Avi Zivb8e2faf2017-07-18 19:45:38 +030066}
67