Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | .dox-ui { |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 2 | @import "bootstrap"; |
| 3 | @import "~react-select/dist/react-select.min.css"; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 4 | @import "~react-datepicker/dist/react-datepicker.min.css"; |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 5 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 6 | @import "common"; |
| 7 | @import "components"; |
| 8 | @import "modules"; |
| 9 | } |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 10 | |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 11 | /* Out of namespace context for datepicker */ |
| 12 | div[data-reactroot].customized-date-picker-calendar { |
| 13 | @import "common/variables"; |
| 14 | @import "common/typography"; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 15 | border-color: $light-gray; |
| 16 | margin-top: -8px; |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 17 | color: $black; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 18 | .react-datepicker__triangle { |
| 19 | margin-top: 0px; |
| 20 | } |
ilanap | 1e5bf79 | 2017-10-16 09:54:57 +0300 | [diff] [blame] | 21 | .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 Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 27 | } |
ilanap | 1e5bf79 | 2017-10-16 09:54:57 +0300 | [diff] [blame] | 28 | .react-datepicker__navigation--previous::before { |
| 29 | left: 0; |
| 30 | content: url(../../node_modules/sdc-ui/assets/icons/angleLeft.svg); |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 31 | } |
ilanap | 1e5bf79 | 2017-10-16 09:54:57 +0300 | [diff] [blame] | 32 | .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 Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 42 | .react-datepicker__month-container { |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 43 | .react-datepicker__header { |
| 44 | background-color: $background-gray; |
| 45 | border-bottom: none; |
| 46 | .react-datepicker__current-month { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 47 | @extend .body-1-semibold; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 48 | background-color: $background-gray; |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 49 | margin-bottom: 10px; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 50 | } |
| 51 | .react-datepicker__day-names { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 52 | @extend .body-1; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 53 | background-color: $white; |
| 54 | } |
| 55 | } |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 56 | .react-datepicker__day--selected, .react-datepicker__day--keyboard-selected { |
| 57 | @extend .body-1; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 58 | background-color: $blue; |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 59 | color: $white; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 60 | } |
| 61 | .react-datepicker__day { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 62 | 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 Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 93 | /* Out of namespace context for tooltips */ |
| 94 | div[data-reactroot].tooltip { |
| 95 | @import "common/variables"; |
| 96 | @import "common/typography"; |
| 97 | |
| 98 | &.in { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 99 | opacity: 1; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 100 | } |
| 101 | &.validation-error-message { |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 102 | &.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 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 122 | } |
| 123 | &.bottom { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 124 | .tooltip-arrow { |
| 125 | border-bottom-color: $dark-gray !important; |
| 126 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 127 | } |
| 128 | &.top { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 129 | .tooltip-arrow { |
| 130 | border-top-color: $dark-gray !important; |
| 131 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 132 | } |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 133 | &.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 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 143 | .tooltip-inner { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 144 | @extend .body-1; |
| 145 | max-width: 100%; |
| 146 | background-color: $dark-gray; |
| 147 | padding: 6px 9px; |
| 148 | &:first-letter { |
| 149 | text-transform: capitalize; |
| 150 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 151 | } |
| 152 | |
| 153 | // activity log tooltip |
| 154 | &.activity-log-message-tooltip { |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 155 | @include base-font-regular; |
| 156 | font-size: $body-font-2; |
| 157 | .message-block { |
| 158 | text-align: left; |
| 159 | padding: 3px 12px; |
| 160 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 161 | } |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 162 | // 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 | } |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 174 | //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 Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 193 | |
| 194 | // for read-only mode, vendor description in VLM overview |
| 195 | &.vendor-description-tooltip { |
| 196 | .tooltip-inner { |
| 197 | max-width: 600px; |
| 198 | } |
| 199 | } |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 200 | } |