blob: 2c7c55530d0b31dc8260e7202dcdc72c718c4d7a [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001.dox-ui {
AviZi280f8012017-06-09 02:39:56 +03002 @import "bootstrap";
3 @import "~react-select/dist/react-select.min.css";
Avi Zivb8e2faf2017-07-18 19:45:38 +03004 @import "~react-datepicker/dist/react-datepicker.min.css";
Michael Landoefa037d2017-02-19 12:57:33 +02005
AviZi280f8012017-06-09 02:39:56 +03006 @import "common";
7 @import "components";
8 @import "modules";
9}
Michael Landoefa037d2017-02-19 12:57:33 +020010
Avi Zivb8e2faf2017-07-18 19:45:38 +030011/* Out of namespace context for datepicker */
12div[data-reactroot].customized-date-picker-calendar {
13 @import "common/variables";
14 @import "common/typography";
Avi Zivb8e2faf2017-07-18 19:45:38 +030015 border-color: $light-gray;
16 margin-top: -8px;
Avi Ziv61070c92017-07-26 17:37:57 +030017 color: $black;
Avi Zivb8e2faf2017-07-18 19:45:38 +030018 .react-datepicker__triangle {
19 margin-top: 0px;
20 }
ilanap1e5bf792017-10-16 09:54:57 +030021 .react-datepicker__navigation--previous::before, .react-datepicker__navigation--next::before {
22 width: 8px;
23 height: 8px;
24 display: inline-block;
25 position: absolute;
26 top: -4px;
Avi Zivb8e2faf2017-07-18 19:45:38 +030027 }
ilanap1e5bf792017-10-16 09:54:57 +030028 .react-datepicker__navigation--previous::before {
29 left: 0;
30 content: url(../../node_modules/sdc-ui/assets/icons/angleLeft.svg);
Avi Zivb8e2faf2017-07-18 19:45:38 +030031 }
ilanap1e5bf792017-10-16 09:54:57 +030032 .react-datepicker__navigation--next::before {
33 right: 0;
34 content: url(../../node_modules/sdc-ui/assets/icons/angleRight.svg);
35 }
36
37 .react-datepicker__navigation--previous, .react-datepicker__navigation--next {
38 border: none;
39 }
40
41
Avi Ziv61070c92017-07-26 17:37:57 +030042 .react-datepicker__month-container {
Avi Zivb8e2faf2017-07-18 19:45:38 +030043 .react-datepicker__header {
44 background-color: $background-gray;
45 border-bottom: none;
46 .react-datepicker__current-month {
Avi Ziv61070c92017-07-26 17:37:57 +030047 @extend .body-1-semibold;
Avi Zivb8e2faf2017-07-18 19:45:38 +030048 background-color: $background-gray;
Avi Ziv61070c92017-07-26 17:37:57 +030049 margin-bottom: 10px;
Avi Zivb8e2faf2017-07-18 19:45:38 +030050 }
51 .react-datepicker__day-names {
Avi Ziv61070c92017-07-26 17:37:57 +030052 @extend .body-1;
Avi Zivb8e2faf2017-07-18 19:45:38 +030053 background-color: $white;
54 }
55 }
Avi Ziv61070c92017-07-26 17:37:57 +030056 .react-datepicker__day--selected, .react-datepicker__day--keyboard-selected {
57 @extend .body-1;
Avi Zivb8e2faf2017-07-18 19:45:38 +030058 background-color: $blue;
Avi Ziv61070c92017-07-26 17:37:57 +030059 color: $white;
Avi Zivb8e2faf2017-07-18 19:45:38 +030060 }
61 .react-datepicker__day {
Avi Ziv61070c92017-07-26 17:37:57 +030062 border-radius: 0px;
63 margin: 0;
64 flex: 1;
65 @extend .body-1;
66 }
67
68 .react-datepicker__day--in-range, .react-datepicker__day--in-selecting-range {
69 background-color: $tlv-hover;
70 color: $black;
71 &.react-datepicker__day--selected, &.react-datepicker__day--keyboard-selected, &.react-datepicker__day--range-start, &.react-datepicker__day--range-end {
72 background-color: $blue;
73 color: $white;
74 }
75 &.react-datepicker__day--selecting-range-start, &.react-datepicker__day--selecting-range-end {
76 background-color: lighten($blue, 40%);
77 color: $black;
78 }
79 &.react-datepicker__day--selecting-range-start.react-datepicker__day--range-start,
80 &.react-datepicker__day--selecting-range-end.react-datepicker__day--range-end,
81 &.react-datepicker__day--selecting-range-start.react-datepicker__day--keyboard-selected {
82 background-color: $blue;
83 color: $white;
84 }
85 }
86
87 .react-datepicker__week {
88 display: flex;
Avi Zivb8e2faf2017-07-18 19:45:38 +030089 }
90 }
91}
92
AviZi280f8012017-06-09 02:39:56 +030093/* Out of namespace context for tooltips */
94div[data-reactroot].tooltip {
95 @import "common/variables";
96 @import "common/typography";
97
98 &.in {
Avi Ziv61070c92017-07-26 17:37:57 +030099 opacity: 1;
AviZi280f8012017-06-09 02:39:56 +0300100 }
101 &.validation-error-message {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300102 &.bottom {
103 .tooltip-arrow {
104 border-bottom-color: $red !important;
105 }
106 }
107 &.left {
108 .tooltip-arrow {
109 border-left-color: $red !important;
110 }
111 }
112 &.right {
113 .tooltip-arrow {
114 border-right-color: $red !important;
115 }
116 }
117 &.top {
118 .tooltip-arrow {
119 border-top-color: $red !important;
120 }
121 }
AviZi280f8012017-06-09 02:39:56 +0300122 }
123 &.bottom {
Avi Ziv61070c92017-07-26 17:37:57 +0300124 .tooltip-arrow {
125 border-bottom-color: $dark-gray !important;
126 }
AviZi280f8012017-06-09 02:39:56 +0300127 }
128 &.top {
Avi Ziv61070c92017-07-26 17:37:57 +0300129 .tooltip-arrow {
130 border-top-color: $dark-gray !important;
131 }
AviZi280f8012017-06-09 02:39:56 +0300132 }
talig8e9c0652017-12-20 14:30:43 +0200133 &.right {
134 .tooltip-arrow {
135 border-right-color: $dark-gray !important;
136 }
137 }
138 &.left {
139 .tooltip-arrow {
140 border-left-color: $dark-gray !important;
141 }
142 }
AviZi280f8012017-06-09 02:39:56 +0300143 .tooltip-inner {
Avi Ziv61070c92017-07-26 17:37:57 +0300144 @extend .body-1;
145 max-width: 100%;
146 background-color: $dark-gray;
147 padding: 6px 9px;
148 &:first-letter {
149 text-transform: capitalize;
150 }
AviZi280f8012017-06-09 02:39:56 +0300151 }
152
153 // activity log tooltip
154 &.activity-log-message-tooltip {
Avi Ziv61070c92017-07-26 17:37:57 +0300155 @include base-font-regular;
156 font-size: $body-font-2;
157 .message-block {
158 text-align: left;
159 padding: 3px 12px;
160 }
AviZi280f8012017-06-09 02:39:56 +0300161 }
talig8e9c0652017-12-20 14:30:43 +0200162 // manage permisions modal
163 &.manage-permissions-owner-tooltip {
164 .tooltip-inner {
165 width: 400px;
166 }
167 }
168 // WS/Catalog Tile
169 &.tile-super-info {
170 .tooltip-inner {
171 font-size: $body-font-3;
172 }
173 }
AviZi280f8012017-06-09 02:39:56 +0300174 //dependency table error tooltip
175 &.select-action-table-error-tooltip{
176 @include base-font-regular;
177 margin-right: 5px;
178 font-size: $body-font-2;
179 .message-block {
180 text-align: left;
181 padding: 3px 12px;
182 }
183 .tooltip-arrow {
184 border-bottom-color: $red !important;
185 }
186
187 .tooltip-inner {
188 background-color: $red;
189 padding: 6px 8px;
190 font-size: $body-font-2;
191 }
192 }
Avi Ziv61070c92017-07-26 17:37:57 +0300193
194 // for read-only mode, vendor description in VLM overview
195 &.vendor-description-tooltip {
196 .tooltip-inner {
197 max-width: 600px;
198 }
199 }
Michael Landoefa037d2017-02-19 12:57:33 +0200200}