blob: 7748b070190728280b05b817ddf9432ba27c433b [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";
svishnevd9a5fea2018-01-23 16:55:40 +02009
10 &.dox-ui-punch-out {
11 background-color: $content-background-color;
12 &.dox-ui-punch-out-full-page {
13 position: absolute;
14 top: 0;
15 bottom: 0;
16 left: 0;
17 right: 0;
18 overflow-y: auto;
19 }
20 }
AviZi280f8012017-06-09 02:39:56 +030021}
Michael Landoefa037d2017-02-19 12:57:33 +020022
Avi Zivb8e2faf2017-07-18 19:45:38 +030023/* Out of namespace context for datepicker */
24div[data-reactroot].customized-date-picker-calendar {
25 @import "common/variables";
26 @import "common/typography";
Avi Zivb8e2faf2017-07-18 19:45:38 +030027 border-color: $light-gray;
28 margin-top: -8px;
Avi Ziv61070c92017-07-26 17:37:57 +030029 color: $black;
Avi Zivb8e2faf2017-07-18 19:45:38 +030030 .react-datepicker__triangle {
31 margin-top: 0px;
32 }
ilanap1e5bf792017-10-16 09:54:57 +030033 .react-datepicker__navigation--previous::before, .react-datepicker__navigation--next::before {
34 width: 8px;
35 height: 8px;
36 display: inline-block;
37 position: absolute;
38 top: -4px;
Avi Zivb8e2faf2017-07-18 19:45:38 +030039 }
ilanap1e5bf792017-10-16 09:54:57 +030040 .react-datepicker__navigation--previous::before {
41 left: 0;
42 content: url(../../node_modules/sdc-ui/assets/icons/angleLeft.svg);
Avi Zivb8e2faf2017-07-18 19:45:38 +030043 }
ilanap1e5bf792017-10-16 09:54:57 +030044 .react-datepicker__navigation--next::before {
45 right: 0;
46 content: url(../../node_modules/sdc-ui/assets/icons/angleRight.svg);
47 }
48
49 .react-datepicker__navigation--previous, .react-datepicker__navigation--next {
50 border: none;
51 }
52
53
Avi Ziv61070c92017-07-26 17:37:57 +030054 .react-datepicker__month-container {
Avi Zivb8e2faf2017-07-18 19:45:38 +030055 .react-datepicker__header {
56 background-color: $background-gray;
57 border-bottom: none;
58 .react-datepicker__current-month {
Avi Ziv61070c92017-07-26 17:37:57 +030059 @extend .body-1-semibold;
Avi Zivb8e2faf2017-07-18 19:45:38 +030060 background-color: $background-gray;
Avi Ziv61070c92017-07-26 17:37:57 +030061 margin-bottom: 10px;
Avi Zivb8e2faf2017-07-18 19:45:38 +030062 }
63 .react-datepicker__day-names {
Avi Ziv61070c92017-07-26 17:37:57 +030064 @extend .body-1;
Avi Zivb8e2faf2017-07-18 19:45:38 +030065 background-color: $white;
66 }
67 }
Avi Ziv61070c92017-07-26 17:37:57 +030068 .react-datepicker__day--selected, .react-datepicker__day--keyboard-selected {
69 @extend .body-1;
Avi Zivb8e2faf2017-07-18 19:45:38 +030070 background-color: $blue;
Avi Ziv61070c92017-07-26 17:37:57 +030071 color: $white;
Avi Zivb8e2faf2017-07-18 19:45:38 +030072 }
73 .react-datepicker__day {
Avi Ziv61070c92017-07-26 17:37:57 +030074 border-radius: 0px;
75 margin: 0;
76 flex: 1;
77 @extend .body-1;
78 }
79
80 .react-datepicker__day--in-range, .react-datepicker__day--in-selecting-range {
81 background-color: $tlv-hover;
82 color: $black;
83 &.react-datepicker__day--selected, &.react-datepicker__day--keyboard-selected, &.react-datepicker__day--range-start, &.react-datepicker__day--range-end {
84 background-color: $blue;
85 color: $white;
86 }
87 &.react-datepicker__day--selecting-range-start, &.react-datepicker__day--selecting-range-end {
88 background-color: lighten($blue, 40%);
89 color: $black;
90 }
91 &.react-datepicker__day--selecting-range-start.react-datepicker__day--range-start,
92 &.react-datepicker__day--selecting-range-end.react-datepicker__day--range-end,
93 &.react-datepicker__day--selecting-range-start.react-datepicker__day--keyboard-selected {
94 background-color: $blue;
95 color: $white;
96 }
97 }
98
99 .react-datepicker__week {
100 display: flex;
Avi Zivb8e2faf2017-07-18 19:45:38 +0300101 }
102 }
103}
104
AviZi280f8012017-06-09 02:39:56 +0300105/* Out of namespace context for tooltips */
106div[data-reactroot].tooltip {
107 @import "common/variables";
108 @import "common/typography";
109
110 &.in {
Avi Ziv61070c92017-07-26 17:37:57 +0300111 opacity: 1;
AviZi280f8012017-06-09 02:39:56 +0300112 }
113 &.validation-error-message {
Avi Zivb8e2faf2017-07-18 19:45:38 +0300114 &.bottom {
115 .tooltip-arrow {
116 border-bottom-color: $red !important;
117 }
118 }
119 &.left {
120 .tooltip-arrow {
121 border-left-color: $red !important;
122 }
123 }
124 &.right {
125 .tooltip-arrow {
126 border-right-color: $red !important;
127 }
128 }
129 &.top {
130 .tooltip-arrow {
131 border-top-color: $red !important;
132 }
133 }
AviZi280f8012017-06-09 02:39:56 +0300134 }
135 &.bottom {
Avi Ziv61070c92017-07-26 17:37:57 +0300136 .tooltip-arrow {
137 border-bottom-color: $dark-gray !important;
138 }
AviZi280f8012017-06-09 02:39:56 +0300139 }
140 &.top {
Avi Ziv61070c92017-07-26 17:37:57 +0300141 .tooltip-arrow {
142 border-top-color: $dark-gray !important;
143 }
AviZi280f8012017-06-09 02:39:56 +0300144 }
talig8e9c0652017-12-20 14:30:43 +0200145 &.right {
146 .tooltip-arrow {
147 border-right-color: $dark-gray !important;
148 }
149 }
150 &.left {
151 .tooltip-arrow {
152 border-left-color: $dark-gray !important;
153 }
154 }
AviZi280f8012017-06-09 02:39:56 +0300155 .tooltip-inner {
Avi Ziv61070c92017-07-26 17:37:57 +0300156 @extend .body-1;
157 max-width: 100%;
158 background-color: $dark-gray;
159 padding: 6px 9px;
160 &:first-letter {
161 text-transform: capitalize;
162 }
AviZi280f8012017-06-09 02:39:56 +0300163 }
164
165 // activity log tooltip
166 &.activity-log-message-tooltip {
Avi Ziv61070c92017-07-26 17:37:57 +0300167 @include base-font-regular;
168 font-size: $body-font-2;
169 .message-block {
170 text-align: left;
171 padding: 3px 12px;
172 }
AviZi280f8012017-06-09 02:39:56 +0300173 }
talig8e9c0652017-12-20 14:30:43 +0200174 // manage permisions modal
175 &.manage-permissions-owner-tooltip {
176 .tooltip-inner {
177 width: 400px;
178 }
179 }
180 // WS/Catalog Tile
181 &.tile-super-info {
182 .tooltip-inner {
183 font-size: $body-font-3;
184 }
185 }
AviZi280f8012017-06-09 02:39:56 +0300186 //dependency table error tooltip
187 &.select-action-table-error-tooltip{
188 @include base-font-regular;
189 margin-right: 5px;
190 font-size: $body-font-2;
191 .message-block {
192 text-align: left;
193 padding: 3px 12px;
194 }
195 .tooltip-arrow {
196 border-bottom-color: $red !important;
197 }
198
199 .tooltip-inner {
200 background-color: $red;
201 padding: 6px 8px;
202 font-size: $body-font-2;
203 }
204 }
Avi Ziv61070c92017-07-26 17:37:57 +0300205
206 // for read-only mode, vendor description in VLM overview
207 &.vendor-description-tooltip {
208 .tooltip-inner {
209 max-width: 600px;
210 }
211 }
Michael Landoefa037d2017-02-19 12:57:33 +0200212}