@progressiveui/styles 10.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/CHANGELOG.md +621 -0
  2. package/README.md +85 -0
  3. package/index-with-tokens.scss +26 -0
  4. package/index.scss +12 -0
  5. package/package.json +42 -0
  6. package/scss/_breakpoint.scss +2 -0
  7. package/scss/_config.scss +30 -0
  8. package/scss/_feature-flags.scss +1 -0
  9. package/scss/_font-face.scss +13 -0
  10. package/scss/_global-defaults.scss +14 -0
  11. package/scss/_grid.scss +32 -0
  12. package/scss/_motion.scss +67 -0
  13. package/scss/_reset.scss +172 -0
  14. package/scss/_spacing.scss +4 -0
  15. package/scss/_theme.scss +102 -0
  16. package/scss/_themes.scss +14 -0
  17. package/scss/_type.scss +143 -0
  18. package/scss/_zone.scss +26 -0
  19. package/scss/components/_index.scss +82 -0
  20. package/scss/components/accordion/_accordion.legacy.scss +348 -0
  21. package/scss/components/accordion/_accordion.scss +118 -0
  22. package/scss/components/accordion/_index.scss +4 -0
  23. package/scss/components/anchor-navigation/_anchor-navigation.scss +37 -0
  24. package/scss/components/anchor-navigation/_index.scss +4 -0
  25. package/scss/components/auth-layout/_auth-layout.scss +55 -0
  26. package/scss/components/auth-layout/_index.scss +11 -0
  27. package/scss/components/avatar/_avatar.scss +61 -0
  28. package/scss/components/avatar/_index.scss +4 -0
  29. package/scss/components/banner-navigation/_banner-navigation.scss +80 -0
  30. package/scss/components/banner-navigation/_index.scss +4 -0
  31. package/scss/components/blockquote/_blockquote.scss +156 -0
  32. package/scss/components/blockquote/_index.scss +4 -0
  33. package/scss/components/breadcrumb/_breadcrumb.scss +89 -0
  34. package/scss/components/breadcrumb/_index.scss +4 -0
  35. package/scss/components/button/_button.scss +520 -0
  36. package/scss/components/button/_index.scss +5 -0
  37. package/scss/components/button/_mixins.scss +92 -0
  38. package/scss/components/button/_vars.scss +69 -0
  39. package/scss/components/card/_card-external.scss +149 -0
  40. package/scss/components/card/_card.scss +138 -0
  41. package/scss/components/card/_index.scss +7 -0
  42. package/scss/components/checkbox/_checkbox.scss +195 -0
  43. package/scss/components/checkbox/_index.scss +11 -0
  44. package/scss/components/code-snippet/_code-snippet.scss +581 -0
  45. package/scss/components/code-snippet/_index.scss +11 -0
  46. package/scss/components/code-snippet/_mixins.scss +21 -0
  47. package/scss/components/col/_col.scss +54 -0
  48. package/scss/components/col/_index.scss +4 -0
  49. package/scss/components/combo-box/_combo-box.scss +45 -0
  50. package/scss/components/combo-box/_index.scss +11 -0
  51. package/scss/components/content-switcher/_content-switcher.scss +132 -0
  52. package/scss/components/content-switcher/_index.scss +11 -0
  53. package/scss/components/context-menu/_context-menu.scss +26 -0
  54. package/scss/components/context-menu/_index.scss +11 -0
  55. package/scss/components/credits/_credits.scss +30 -0
  56. package/scss/components/credits/_index.scss +11 -0
  57. package/scss/components/data-table/_data-table.scss +1005 -0
  58. package/scss/components/data-table/_index.scss +12 -0
  59. package/scss/components/data-table/_mixins.scss +38 -0
  60. package/scss/components/data-table/_vars.scss +13 -0
  61. package/scss/components/data-table/action/_data-table-action.scss +587 -0
  62. package/scss/components/data-table/action/_index.scss +11 -0
  63. package/scss/components/data-table/expandable/_data-table-expandable.scss +411 -0
  64. package/scss/components/data-table/expandable/_index.scss +11 -0
  65. package/scss/components/data-table/skeleton/_data-table-skeleton.scss +72 -0
  66. package/scss/components/data-table/skeleton/_index.scss +11 -0
  67. package/scss/components/data-table/sort/_data-table-sort.scss +245 -0
  68. package/scss/components/data-table/sort/_index.scss +11 -0
  69. package/scss/components/date-picker/_date-picker.scss +896 -0
  70. package/scss/components/date-picker/_flatpickr.scss +538 -0
  71. package/scss/components/date-picker/_index.scss +11 -0
  72. package/scss/components/date-picker-new/_date-picker-new.scss +100 -0
  73. package/scss/components/date-picker-new/_index.scss +4 -0
  74. package/scss/components/date-picker-new/react-datepicker/datepicker.scss +692 -0
  75. package/scss/components/date-picker-new/react-datepicker/mixins.scss +88 -0
  76. package/scss/components/date-picker-new/react-datepicker/variables.scss +20 -0
  77. package/scss/components/dropdown/_dropdown.scss +493 -0
  78. package/scss/components/dropdown/_index.scss +11 -0
  79. package/scss/components/empty/_empty.scss +105 -0
  80. package/scss/components/empty/_index.scss +11 -0
  81. package/scss/components/file-uploader/_file-uploader.scss +321 -0
  82. package/scss/components/file-uploader/_index.scss +11 -0
  83. package/scss/components/footer/_footer.scss +258 -0
  84. package/scss/components/footer/_footer_external.scss +153 -0
  85. package/scss/components/footer/_index.scss +14 -0
  86. package/scss/components/form/_form.scss +146 -0
  87. package/scss/components/form/_index.scss +4 -0
  88. package/scss/components/form-controls/_form-controls.scss +53 -0
  89. package/scss/components/form-controls/_index.scss +11 -0
  90. package/scss/components/form-error/_form-error.scss +25 -0
  91. package/scss/components/form-error/_index.scss +11 -0
  92. package/scss/components/form-group/_form-group.scss +109 -0
  93. package/scss/components/form-group/_index.scss +11 -0
  94. package/scss/components/form-hint/_form-hint.scss +28 -0
  95. package/scss/components/form-hint/_index.scss +11 -0
  96. package/scss/components/form-wizard/_form-wizard.scss +48 -0
  97. package/scss/components/form-wizard/_index.scss +11 -0
  98. package/scss/components/grid/_grid.scss +80 -0
  99. package/scss/components/grid/_index.scss +4 -0
  100. package/scss/components/hero/_hero-external.scss +84 -0
  101. package/scss/components/hero/_hero.scss +321 -0
  102. package/scss/components/hero/_index.scss +14 -0
  103. package/scss/components/icon/_icon.scss +19 -0
  104. package/scss/components/icon/_index.scss +11 -0
  105. package/scss/components/info-bar/_index.scss +11 -0
  106. package/scss/components/info-bar/_info-bar.scss +21 -0
  107. package/scss/components/inline-loading/_index.scss +11 -0
  108. package/scss/components/inline-loading/_inline-loading.scss +159 -0
  109. package/scss/components/inline-loading/_keyframes.scss +12 -0
  110. package/scss/components/input/_index.scss +11 -0
  111. package/scss/components/input/_input.scss +87 -0
  112. package/scss/components/input/_vars.scss +31 -0
  113. package/scss/components/item/_index.scss +11 -0
  114. package/scss/components/item/_item.scss +227 -0
  115. package/scss/components/link/_index.scss +11 -0
  116. package/scss/components/link/_link.scss +109 -0
  117. package/scss/components/list/_index.scss +4 -0
  118. package/scss/components/list/_list.scss +144 -0
  119. package/scss/components/list-box/_index.scss +11 -0
  120. package/scss/components/list-box/_list-box.scss +813 -0
  121. package/scss/components/loading/_animation.scss +39 -0
  122. package/scss/components/loading/_functions.scss +10 -0
  123. package/scss/components/loading/_index.scss +11 -0
  124. package/scss/components/loading/_keyframes.scss +48 -0
  125. package/scss/components/loading/_loading.scss +72 -0
  126. package/scss/components/loading/_mixins.scss +42 -0
  127. package/scss/components/loading/_vars.scss +26 -0
  128. package/scss/components/main-navigation/_index.scss +14 -0
  129. package/scss/components/main-navigation/_main-navigation.scss +360 -0
  130. package/scss/components/main-navigation/_main-navigation_external.scss +527 -0
  131. package/scss/components/menu/_index.scss +11 -0
  132. package/scss/components/menu/_menu.scss +143 -0
  133. package/scss/components/modal/_index.scss +11 -0
  134. package/scss/components/modal/_mixins.scss +10 -0
  135. package/scss/components/modal/_modal.scss +224 -0
  136. package/scss/components/module/_index.scss +4 -0
  137. package/scss/components/module/_module.scss +199 -0
  138. package/scss/components/multiselect/_index.scss +11 -0
  139. package/scss/components/multiselect/_multiselect.scss +103 -0
  140. package/scss/components/notification/_index.scss +21 -0
  141. package/scss/components/notification/_inline-notification.scss +321 -0
  142. package/scss/components/notification/_mixins.scss +41 -0
  143. package/scss/components/notification/_notification.scss +480 -0
  144. package/scss/components/notification/_toast-notification.scss +249 -0
  145. package/scss/components/notification/_tokens.scss +126 -0
  146. package/scss/components/number-input/_index.scss +11 -0
  147. package/scss/components/number-input/_number-input.scss +195 -0
  148. package/scss/components/overflow-menu/_index.scss +11 -0
  149. package/scss/components/overflow-menu/_overflow-menu.scss +351 -0
  150. package/scss/components/pagination/_index.scss +11 -0
  151. package/scss/components/pagination/_pagination.scss +214 -0
  152. package/scss/components/pagination-nav/_index.scss +11 -0
  153. package/scss/components/pagination-nav/_mixins.scss +38 -0
  154. package/scss/components/pagination-nav/_pagination-nav.scss +171 -0
  155. package/scss/components/popover/_index.scss +11 -0
  156. package/scss/components/popover/_popover.scss +323 -0
  157. package/scss/components/progress-bar/_index.scss +11 -0
  158. package/scss/components/progress-bar/_progress-bar.scss +82 -0
  159. package/scss/components/progress-indicator/_index.scss +11 -0
  160. package/scss/components/progress-indicator/_progress-indicator.scss +328 -0
  161. package/scss/components/radio-button/_index.scss +4 -0
  162. package/scss/components/radio-button/_radio-button.scss +239 -0
  163. package/scss/components/react-dropzone/_index.scss +11 -0
  164. package/scss/components/react-dropzone/_react-dropzone.scss +58 -0
  165. package/scss/components/react-select/_index.scss +11 -0
  166. package/scss/components/react-select/_react-select.scss +90 -0
  167. package/scss/components/read-more/_index.scss +11 -0
  168. package/scss/components/read-more/_read-more.scss +102 -0
  169. package/scss/components/search/_index.scss +4 -0
  170. package/scss/components/search/_search.scss +436 -0
  171. package/scss/components/secondary-navigation/_index.scss +4 -0
  172. package/scss/components/secondary-navigation/_secondary-navigation.scss +61 -0
  173. package/scss/components/select/_index.scss +11 -0
  174. package/scss/components/select/_select.scss +224 -0
  175. package/scss/components/sidebar/_index.scss +11 -0
  176. package/scss/components/sidebar/_sidebar.scss +118 -0
  177. package/scss/components/skeleton-text/_index.scss +4 -0
  178. package/scss/components/skeleton-text/_skeleton-text.scss +22 -0
  179. package/scss/components/slider/_index.scss +4 -0
  180. package/scss/components/slider/_slider.scss +274 -0
  181. package/scss/components/step-navigation/_index.scss +4 -0
  182. package/scss/components/step-navigation/_step-navigation.scss +136 -0
  183. package/scss/components/step-navigation-item/_index.scss +4 -0
  184. package/scss/components/step-navigation-item/_step-navigation-item.scss +377 -0
  185. package/scss/components/story/_index.scss +11 -0
  186. package/scss/components/story/_story.scss +519 -0
  187. package/scss/components/structured-list/_index.scss +11 -0
  188. package/scss/components/structured-list/_mixins.scss +59 -0
  189. package/scss/components/structured-list/_structured-list.scss +235 -0
  190. package/scss/components/sub-navigation/_index.scss +4 -0
  191. package/scss/components/sub-navigation/_sub-navigation.scss +113 -0
  192. package/scss/components/table/_index.scss +11 -0
  193. package/scss/components/table/table.scss +88 -0
  194. package/scss/components/tabs/_index.scss +4 -0
  195. package/scss/components/tabs/_tabs.scss +185 -0
  196. package/scss/components/tabs/_vars.scss +23 -0
  197. package/scss/components/tag/_index.scss +12 -0
  198. package/scss/components/tag/_mixins.scss +19 -0
  199. package/scss/components/tag/_tag.scss +137 -0
  200. package/scss/components/tag/_tokens.scss +702 -0
  201. package/scss/components/text-area/_index.scss +11 -0
  202. package/scss/components/text-area/_text-area.scss +120 -0
  203. package/scss/components/text-input/_index.scss +11 -0
  204. package/scss/components/text-input/_text-input.scss +19 -0
  205. package/scss/components/tile/_index.scss +11 -0
  206. package/scss/components/tile/_tile.scss +269 -0
  207. package/scss/components/time-picker/_index.scss +11 -0
  208. package/scss/components/time-picker/_time-picker.scss +94 -0
  209. package/scss/components/toggle/_index.scss +11 -0
  210. package/scss/components/toggle/_toggle.scss +192 -0
  211. package/scss/components/tooltip/_index.scss +11 -0
  212. package/scss/components/tooltip/_mixins.scss +107 -0
  213. package/scss/components/tooltip/_tooltip.scss +128 -0
  214. package/scss/components/tooltip/_vars.scss +6 -0
  215. package/scss/components/tooltip/animations/fade.scss +10 -0
  216. package/scss/components/tooltip/themes/light-border.scss +158 -0
  217. package/scss/components/tooltip/themes/light.scss +28 -0
  218. package/scss/components/treeview/_index.scss +11 -0
  219. package/scss/components/treeview/_treeview.scss +177 -0
  220. package/scss/components/ui-shell/_functions.scss +19 -0
  221. package/scss/components/ui-shell/_index.scss +11 -0
  222. package/scss/components/ui-shell/_mixins.scss +56 -0
  223. package/scss/components/ui-shell/_ui-shell.scss +23 -0
  224. package/scss/components/ui-shell/content/_content.scss +34 -0
  225. package/scss/components/ui-shell/content/_index.scss +11 -0
  226. package/scss/components/ui-shell/header/_header.scss +382 -0
  227. package/scss/components/ui-shell/header/_index.scss +11 -0
  228. package/scss/components/ui-shell/header-panel/_header-panel.scss +41 -0
  229. package/scss/components/ui-shell/header-panel/_index.scss +11 -0
  230. package/scss/components/ui-shell/side-nav/_index.scss +11 -0
  231. package/scss/components/ui-shell/side-nav/_side-nav.scss +526 -0
  232. package/scss/components/ui-shell/switcher/_index.scss +11 -0
  233. package/scss/components/ui-shell/switcher/_switcher.scss +78 -0
  234. package/scss/components/unit/_index.scss +11 -0
  235. package/scss/components/unit/_unit.scss +277 -0
  236. package/scss/components/user/_index.scss +11 -0
  237. package/scss/components/user/_user.scss +104 -0
  238. package/scss/components/value/_index.scss +11 -0
  239. package/scss/components/value/_value.scss +41 -0
  240. package/scss/components/wrapper/_index.scss +11 -0
  241. package/scss/components/wrapper/_wrapper.scss +71 -0
  242. package/scss/utilities/_box-shadow.scss +14 -0
  243. package/scss/utilities/_button-reset.scss +31 -0
  244. package/scss/utilities/_component-reset.scss +25 -0
  245. package/scss/utilities/_component-tokens.scss +27 -0
  246. package/scss/utilities/_convert.scss +41 -0
  247. package/scss/utilities/_custom-property.scss +56 -0
  248. package/scss/utilities/_focus-outline.scss +68 -0
  249. package/scss/utilities/_high-contrast-mode.scss +37 -0
  250. package/scss/utilities/_index.scss +24 -0
  251. package/scss/utilities/_input-base.scss +63 -0
  252. package/scss/utilities/_keyframes.scss +76 -0
  253. package/scss/utilities/_layer-set.scss +31 -0
  254. package/scss/utilities/_layer.scss +52 -0
  255. package/scss/utilities/_placeholder-colors.scss +10 -0
  256. package/scss/utilities/_read-only.scss +19 -0
  257. package/scss/utilities/_rotate.scss +19 -0
  258. package/scss/utilities/_rtl.scss +21 -0
  259. package/scss/utilities/_skeleton.scss +44 -0
  260. package/scss/utilities/_text-gradient.scss +20 -0
  261. package/scss/utilities/_text-overflow.scss +23 -0
  262. package/scss/utilities/_text-truncate.scss +29 -0
  263. package/scss/utilities/_visually-hidden.scss +38 -0
  264. package/scss/utilities/_z-index.scss +38 -0
  265. package/styles.css +1 -0
@@ -0,0 +1,896 @@
1
+ @use "../../config" as *;
2
+ @use "../../motion" as *;
3
+ //@use '../../theme' as *;
4
+ @use "../../theme" as *;
5
+ @use "../../spacing" as *;
6
+ @use "../../type" as *;
7
+ @use "../../utilities/component-reset";
8
+ @use "../../utilities/convert" as *;
9
+ @use "../../utilities/focus-outline" as *;
10
+ @use "../../utilities/high-contrast-mode" as *;
11
+ @use "../../utilities/placeholder-colors" as *;
12
+ @use "../../utilities/skeleton" as *;
13
+
14
+ /// Date picker styles
15
+ /// @access public
16
+ /// @group date-picker
17
+
18
+ $input-border-radius: 0px !default;
19
+ $input-border: 1px solid var(--neutral-100__color) !default;
20
+ $input-height: 40px !default;
21
+
22
+ @mixin date-picker {
23
+ .PresetDateRangePicker_panel {
24
+ padding: 0 22px 11px;
25
+ }
26
+ .PresetDateRangePicker_button {
27
+ position: relative;
28
+ height: 100%;
29
+ text-align: center;
30
+ background: 0 0;
31
+ border: 2px solid $action-default-fill-primary-default;
32
+ color: $action-default-fill-primary-default;
33
+ padding: 4px 12px;
34
+ margin-right: 8px;
35
+ line-height: normal;
36
+ overflow: visible;
37
+ -moz-box-sizing: border-box;
38
+ box-sizing: border-box;
39
+ cursor: pointer;
40
+ }
41
+ .PresetDateRangePicker_button:active {
42
+ outline: 0;
43
+ }
44
+ .PresetDateRangePicker_button__selected {
45
+ color: $text-inverse-default;
46
+ background: $action-default-fill-primary-default;
47
+ }
48
+ .SingleDatePickerInput {
49
+ display: inline-block;
50
+ white-space: nowrap;
51
+ position: relative;
52
+ }
53
+ .SingleDatePickerInput__withBorder {
54
+ //border-radius: 2px;
55
+ //border: 1px solid #dbdbdb;
56
+ }
57
+ .SingleDatePickerInput__rtl {
58
+ direction: rtl;
59
+ }
60
+ .SingleDatePickerInput__disabled {
61
+ background-color: #f2f2f2;
62
+ }
63
+ .SingleDatePickerInput__block {
64
+ display: block;
65
+ }
66
+ .SingleDatePickerInput__showClearDate {
67
+ padding-right: 30px;
68
+ }
69
+ .SingleDatePickerInput_clearDate {
70
+ background: 0 0;
71
+ border: 0;
72
+ color: inherit;
73
+ font: inherit;
74
+ line-height: normal;
75
+ overflow: visible;
76
+ cursor: pointer;
77
+ padding: 8px;
78
+ margin: 0 10px 0 5px;
79
+ margin-left: -35px;
80
+ line-height: 15px;
81
+ position: absolute;
82
+ top: 50%;
83
+ transform: translateY(-50%);
84
+ }
85
+ .SingleDatePickerInput_clearDate__default:focus,
86
+ .SingleDatePickerInput_clearDate__default:hover {
87
+ //background: #dbdbdb;
88
+ border-radius: 50%;
89
+ }
90
+ .SingleDatePickerInput_clearDate__small {
91
+ padding: 6px;
92
+ }
93
+ .SingleDatePickerInput_clearDate__hide {
94
+ visibility: hidden;
95
+ }
96
+ .SingleDatePickerInput_clearDate_svg {
97
+ fill: $action-default-fill-primary-default;
98
+ height: 12px;
99
+ width: 12px;
100
+ vertical-align: middle;
101
+ }
102
+ .SingleDatePickerInput_clearDate_svg__small {
103
+ height: 9px;
104
+ }
105
+ .SingleDatePickerInput_calendarIcon {
106
+ background: 0 0;
107
+ border: 0;
108
+ color: inherit;
109
+ font: inherit;
110
+ overflow: visible;
111
+ cursor: pointer;
112
+ padding: 0 14px;
113
+ margin: 0;
114
+ position: absolute;
115
+ top: 0;
116
+ left: 0;
117
+ height: 100%;
118
+ display: flex;
119
+ justify-content: center;
120
+ align-items: center;
121
+ &:focus {
122
+ outline: none;
123
+ }
124
+ }
125
+ .SingleDatePickerInput_calendarIcon_svg {
126
+ fill: $field-border;
127
+ height: 15px;
128
+ width: 14px;
129
+ &:focus {
130
+ fill: $action-default-fill-primary-default;
131
+ outline: none;
132
+ }
133
+ }
134
+ .SingleDatePicker {
135
+ position: relative;
136
+ order: 3;
137
+ //display: inline-block
138
+ }
139
+ .SingleDatePicker__block {
140
+ display: block;
141
+ }
142
+ .SingleDatePicker_picker {
143
+ z-index: 1;
144
+ background-color: #fff;
145
+ outline: 1px solid $border-strong;
146
+ position: absolute;
147
+ }
148
+ .SingleDatePicker_picker__rtl {
149
+ direction: rtl;
150
+ }
151
+ .SingleDatePicker_picker__directionLeft {
152
+ left: 0;
153
+ }
154
+ .SingleDatePicker_picker__directionRight {
155
+ right: 0;
156
+ }
157
+ .SingleDatePicker_picker__portal {
158
+ background-color: rgba(0, 0, 0, 0.3);
159
+ position: fixed;
160
+ top: 0;
161
+ left: 0;
162
+ z-index: z("floating");
163
+ height: 100%;
164
+ width: 100%;
165
+ }
166
+ .SingleDatePicker_picker__fullScreenPortal {
167
+ background-color: $background-main;
168
+ }
169
+ .SingleDatePicker_closeButton {
170
+ background: 0 0;
171
+ border: 0;
172
+ color: inherit;
173
+ font: inherit;
174
+ line-height: normal;
175
+ overflow: visible;
176
+ cursor: pointer;
177
+ position: absolute;
178
+ top: 0;
179
+ right: 0;
180
+ padding: 15px;
181
+ z-index: 2;
182
+ }
183
+ .SingleDatePicker_closeButton:focus,
184
+ .SingleDatePicker_closeButton:hover {
185
+ color: darken(#cacccd, 10%);
186
+ text-decoration: none;
187
+ }
188
+ .SingleDatePicker_closeButton_svg {
189
+ height: 15px;
190
+ width: 15px;
191
+ fill: #cacccd;
192
+ }
193
+ .DayPickerKeyboardShortcuts_buttonReset {
194
+ background: 0 0;
195
+ border: 0;
196
+ border-radius: 0;
197
+ color: inherit;
198
+ font: inherit;
199
+ line-height: normal;
200
+ overflow: visible;
201
+ padding: 0;
202
+ cursor: pointer;
203
+ font-size: 14px;
204
+ }
205
+ .DayPickerKeyboardShortcuts_buttonReset:active {
206
+ outline: 0;
207
+ }
208
+ .DayPickerKeyboardShortcuts_show {
209
+ width: 33px;
210
+ height: 26px;
211
+ position: absolute;
212
+ z-index: 2;
213
+ }
214
+ .DayPickerKeyboardShortcuts_show::before {
215
+ content: "";
216
+ display: block;
217
+ position: absolute;
218
+ }
219
+ .DayPickerKeyboardShortcuts_show__bottomRight {
220
+ bottom: 0;
221
+ right: 0;
222
+ }
223
+ .DayPickerKeyboardShortcuts_show__bottomRight::before {
224
+ border-top: 26px solid transparent;
225
+ border-right: 33px solid $action-default-fill-primary-default;
226
+ bottom: 0;
227
+ right: 0;
228
+ }
229
+ .DayPickerKeyboardShortcuts_show__bottomRight:hover::before {
230
+ border-right: 33px solid #008489;
231
+ }
232
+ .DayPickerKeyboardShortcuts_show__topRight {
233
+ top: 0;
234
+ right: 0;
235
+ }
236
+ .DayPickerKeyboardShortcuts_show__topRight::before {
237
+ border-bottom: 26px solid transparent;
238
+ border-right: 33px solid $action-default-fill-primary-default;
239
+ top: 0;
240
+ right: 0;
241
+ }
242
+ .DayPickerKeyboardShortcuts_show__topRight:hover::before {
243
+ border-right: 33px solid #008489;
244
+ }
245
+ .DayPickerKeyboardShortcuts_show__topLeft {
246
+ top: 0;
247
+ left: 0;
248
+ }
249
+ .DayPickerKeyboardShortcuts_show__topLeft::before {
250
+ border-bottom: 26px solid transparent;
251
+ border-left: 33px solid $action-default-fill-primary-default;
252
+ top: 0;
253
+ left: 0;
254
+ }
255
+ .DayPickerKeyboardShortcuts_show__topLeft:hover::before {
256
+ border-left: 33px solid $action-default-fill-primary-default;
257
+ }
258
+ .DayPickerKeyboardShortcuts_showSpan {
259
+ color: $text-inverse-default;
260
+ position: absolute;
261
+ }
262
+ .DayPickerKeyboardShortcuts_showSpan__bottomRight {
263
+ bottom: 0;
264
+ right: 5px;
265
+ }
266
+ .DayPickerKeyboardShortcuts_showSpan__topRight {
267
+ top: 1px;
268
+ right: 5px;
269
+ }
270
+ .DayPickerKeyboardShortcuts_showSpan__topLeft {
271
+ top: 1px;
272
+ left: 5px;
273
+ }
274
+ .DayPickerKeyboardShortcuts_panel {
275
+ overflow: auto;
276
+ background: $background-main;
277
+ border: 1px solid #dbdbdb;
278
+ border-radius: 2px;
279
+ position: absolute;
280
+ top: 0;
281
+ bottom: 0;
282
+ right: 0;
283
+ left: 0;
284
+ z-index: 2;
285
+ padding: 22px;
286
+ margin: 33px;
287
+ text-align: left;
288
+ }
289
+ .DayPickerKeyboardShortcuts_title {
290
+ font-size: 16px;
291
+ font-weight: 700;
292
+ margin: 0;
293
+ }
294
+ .DayPickerKeyboardShortcuts_list {
295
+ list-style: none;
296
+ padding: 0;
297
+ font-size: 14px;
298
+ }
299
+ .DayPickerKeyboardShortcuts_close {
300
+ position: absolute;
301
+ right: 22px;
302
+ top: 22px;
303
+ z-index: 2;
304
+ }
305
+ .DayPickerKeyboardShortcuts_close:active {
306
+ outline: 0;
307
+ }
308
+ .DayPickerKeyboardShortcuts_closeSvg {
309
+ height: 15px;
310
+ width: 15px;
311
+ fill: #cacccd;
312
+ }
313
+ .DayPickerKeyboardShortcuts_closeSvg:focus,
314
+ .DayPickerKeyboardShortcuts_closeSvg:hover {
315
+ fill: $action-default-fill-primary-default;
316
+ }
317
+ .CalendarDay {
318
+ -moz-box-sizing: border-box;
319
+ box-sizing: border-box;
320
+ cursor: pointer;
321
+ font-size: 14px;
322
+ text-align: center;
323
+ vertical-align: middle;
324
+ }
325
+ .CalendarDay:active {
326
+ outline: 0;
327
+ }
328
+ .CalendarDay__defaultCursor {
329
+ cursor: default;
330
+ }
331
+ .CalendarDay__default {
332
+ border: 1px solid $border-strong;
333
+ color: #484848;
334
+ background: $background-main;
335
+ }
336
+ .CalendarDay__default:hover {
337
+ background: #e4e7e7;
338
+ border: 1px solid #e4e7e7;
339
+ color: inherit;
340
+ }
341
+ .CalendarDay__hovered_offset {
342
+ background: #f4f5f5;
343
+ border: 1px double #e4e7e7;
344
+ color: inherit;
345
+ }
346
+ .CalendarDay__outside {
347
+ border: 0;
348
+ background: $background-main;
349
+ color: #484848;
350
+ }
351
+ .CalendarDay__outside:hover {
352
+ border: 0;
353
+ }
354
+ .CalendarDay__blocked_minimum_nights {
355
+ background: $background-main;
356
+ border: 1px solid #eceeee;
357
+ color: #cacccd;
358
+ }
359
+ .CalendarDay__blocked_minimum_nights:active,
360
+ .CalendarDay__blocked_minimum_nights:hover {
361
+ background: $background-main;
362
+ color: #cacccd;
363
+ }
364
+ .CalendarDay__highlighted_calendar {
365
+ background: #ffe8bc;
366
+ color: #484848;
367
+ }
368
+ .CalendarDay__highlighted_calendar:active,
369
+ .CalendarDay__highlighted_calendar:hover {
370
+ background: #ffce71;
371
+ color: #484848;
372
+ }
373
+ .CalendarDay__selected_span {
374
+ background: #80bede;
375
+ border: 1px double darken(#80bede, 5);
376
+ color: $text-inverse-default;
377
+ }
378
+ .CalendarDay__selected_span:active,
379
+ .CalendarDay__selected_span:hover {
380
+ background: #409ecd;
381
+ border: 1px double #409ecd;
382
+ color: $text-inverse-default;
383
+ }
384
+ .CalendarDay__last_in_range,
385
+ .CalendarDay__last_in_range:hover {
386
+ border-style: solid;
387
+ }
388
+ .CalendarDay__selected,
389
+ .CalendarDay__selected:active,
390
+ .CalendarDay__selected:hover {
391
+ background: $action-default-fill-primary-default;
392
+ border: 1px double $action-default-fill-primary-default;
393
+ color: $text-inverse-default;
394
+ }
395
+ .CalendarDay__hovered_span,
396
+ .CalendarDay__hovered_span:hover {
397
+ background: #bfdfee; // $color__main-10
398
+ border: 1px double #9fcee6; //$color__main-20
399
+ color: #409ecd;
400
+ }
401
+ .CalendarDay__hovered_span:active {
402
+ background: #80bede;
403
+ border: 1px double #409ecd;
404
+ color: #409ecd;
405
+ }
406
+ .CalendarDay__blocked_calendar,
407
+ .CalendarDay__blocked_calendar:active,
408
+ .CalendarDay__blocked_calendar:hover {
409
+ background: #cacccd;
410
+ border: 1px solid #cacccd;
411
+ color: $action-default-fill-primary-default;
412
+ }
413
+ .CalendarDay__blocked_out_of_range,
414
+ .CalendarDay__blocked_out_of_range:active,
415
+ .CalendarDay__blocked_out_of_range:hover {
416
+ background: $background-main;
417
+ border: 1px solid #e4e7e7;
418
+ color: #cacccd;
419
+ }
420
+ .CalendarMonth {
421
+ background: $background-main;
422
+ text-align: center;
423
+ vertical-align: top;
424
+ user-select: none;
425
+ }
426
+ .CalendarMonth_table {
427
+ border-collapse: collapse;
428
+ border-spacing: 0;
429
+ }
430
+ .CalendarMonth_verticalSpacing {
431
+ border-collapse: separate;
432
+ }
433
+ .CalendarMonth_caption {
434
+ color: #484848;
435
+ font-size: 18px;
436
+ text-align: center;
437
+ padding-top: 22px;
438
+ padding-bottom: 37px;
439
+ caption-side: initial;
440
+ margin-bottom: $spacing-02;
441
+ }
442
+ .CalendarMonth_caption__verticalScrollable {
443
+ padding-top: 12px;
444
+ padding-bottom: 7px;
445
+ }
446
+ .CalendarMonthGrid {
447
+ background: $background-main;
448
+ text-align: left;
449
+ z-index: 0;
450
+ }
451
+ .CalendarMonthGrid__animating {
452
+ z-index: 1;
453
+ }
454
+ .CalendarMonthGrid__horizontal {
455
+ position: absolute;
456
+ left: 9px;
457
+ }
458
+ .CalendarMonthGrid__vertical {
459
+ margin: 0 auto;
460
+ }
461
+ .CalendarMonthGrid__vertical_scrollable {
462
+ margin: 0 auto;
463
+ overflow-y: scroll;
464
+ }
465
+ .CalendarMonthGrid_month__horizontal {
466
+ display: inline-block;
467
+ vertical-align: top;
468
+ min-height: 100%;
469
+ }
470
+ .CalendarMonthGrid_month__hideForAnimation {
471
+ position: absolute;
472
+ z-index: -1;
473
+ opacity: 0;
474
+ pointer-events: none;
475
+ }
476
+ .CalendarMonthGrid_month__hidden {
477
+ visibility: hidden;
478
+ }
479
+ .DayPickerNavigation {
480
+ position: relative;
481
+ z-index: 2;
482
+ }
483
+ .DayPickerNavigation__horizontal {
484
+ height: 0;
485
+ }
486
+ .DayPickerNavigation__verticalDefault {
487
+ position: absolute;
488
+ width: 100%;
489
+ height: 52px;
490
+ bottom: 0;
491
+ left: 0;
492
+ }
493
+ .DayPickerNavigation__verticalScrollableDefault {
494
+ position: relative;
495
+ }
496
+ .DayPickerNavigation_button {
497
+ cursor: pointer;
498
+ -webkit-user-select: none;
499
+ -moz-user-select: none;
500
+ -ms-user-select: none;
501
+ user-select: none;
502
+ border: 0;
503
+ padding: 0;
504
+ margin: 0;
505
+ }
506
+ .DayPickerNavigation_button__default {
507
+ border: 2px solid $action-default-fill-primary-default;
508
+ background-color: #fff;
509
+ color: #757575;
510
+ }
511
+ .DayPickerNavigation_button__default:focus,
512
+ .DayPickerNavigation_button__default:hover {
513
+ border: 2px solid $action-default-fill-primary-default;
514
+ }
515
+ .DayPickerNavigation_button__default:active {
516
+ background: #f2f2f2;
517
+ }
518
+ .DayPickerNavigation_button__disabled {
519
+ cursor: default;
520
+ border: 1px solid #f2f2f2;
521
+ }
522
+ .DayPickerNavigation_button__disabled:focus,
523
+ .DayPickerNavigation_button__disabled:hover {
524
+ border: 1px solid #f2f2f2;
525
+ }
526
+ .DayPickerNavigation_button__disabled:active {
527
+ background: 0 0;
528
+ }
529
+ .DayPickerNavigation_button__horizontalDefault {
530
+ position: absolute;
531
+ top: 18px;
532
+ line-height: 0.78;
533
+ border-radius: 3px;
534
+ padding: 6px 9px;
535
+ }
536
+ .DayPickerNavigation_leftButton__horizontalDefault {
537
+ left: 22px;
538
+ }
539
+ .DayPickerNavigation_rightButton__horizontalDefault {
540
+ right: 22px;
541
+ }
542
+ .DayPickerNavigation_button__verticalDefault {
543
+ padding: 5px;
544
+ background: #fff;
545
+ box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
546
+ position: relative;
547
+ display: inline-block;
548
+ text-align: center;
549
+ height: 100%;
550
+ width: 50%;
551
+ }
552
+ .DayPickerNavigation_nextButton__verticalDefault {
553
+ border-left: 0;
554
+ }
555
+ .DayPickerNavigation_nextButton__verticalScrollableDefault {
556
+ width: 100%;
557
+ }
558
+ .DayPickerNavigation_svg__horizontal {
559
+ height: 19px;
560
+ width: 19px;
561
+ fill: $field-border;
562
+ display: block;
563
+ }
564
+ .DayPickerNavigation_svg__vertical {
565
+ height: 42px;
566
+ width: 42px;
567
+ fill: #484848;
568
+ }
569
+ .DayPickerNavigation_svg__disabled {
570
+ fill: #f2f2f2;
571
+ }
572
+ .DayPicker {
573
+ background: $background-main;
574
+ position: relative;
575
+ text-align: left;
576
+ }
577
+ .DayPicker__horizontal {
578
+ background: $background-main;
579
+ }
580
+ .DayPicker__verticalScrollable {
581
+ height: 100%;
582
+ }
583
+ .DayPicker__hidden {
584
+ visibility: hidden;
585
+ }
586
+ .DayPicker__withBorder {
587
+ //box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);
588
+ //border-radius: 3px;
589
+ }
590
+ .DayPicker_portal__horizontal {
591
+ box-shadow: none;
592
+ position: absolute;
593
+ left: 50%;
594
+ top: 50%;
595
+ }
596
+ .DayPicker_portal__vertical {
597
+ position: initial;
598
+ }
599
+ .DayPicker_focusRegion {
600
+ outline: 0;
601
+ }
602
+ .DayPicker_calendarInfo__horizontal,
603
+ .DayPicker_wrapper__horizontal {
604
+ display: inline-block;
605
+ vertical-align: top;
606
+ }
607
+ .DayPicker_weekHeaders {
608
+ position: relative;
609
+ }
610
+ .DayPicker_weekHeaders__horizontal {
611
+ margin-left: 9px;
612
+ }
613
+ .DayPicker_weekHeader {
614
+ color: #757575;
615
+ position: absolute;
616
+ top: 62px;
617
+ z-index: 2;
618
+ text-align: left;
619
+ }
620
+ .DayPicker_weekHeader__vertical {
621
+ left: 50%;
622
+ }
623
+ .DayPicker_weekHeader__verticalScrollable {
624
+ top: 0;
625
+ display: table-row;
626
+ border-bottom: 1px solid #dbdbdb;
627
+ background: $background-main;
628
+ margin-left: 0;
629
+ left: 0;
630
+ width: 100%;
631
+ text-align: center;
632
+ }
633
+ .DayPicker_weekHeader_ul {
634
+ list-style: none;
635
+ margin: 1px 0;
636
+ padding-left: 0;
637
+ padding-right: 0;
638
+ font-size: 14px;
639
+ }
640
+ .DayPicker_weekHeader_li {
641
+ display: inline-block;
642
+ text-align: center;
643
+ }
644
+ .DayPicker_transitionContainer {
645
+ position: relative;
646
+ overflow: hidden;
647
+ border-radius: 3px;
648
+ }
649
+ .DayPicker_transitionContainer__horizontal {
650
+ //transition: height 0.2s ease-in-out;
651
+ }
652
+ .DayPicker_transitionContainer__vertical {
653
+ width: 100%;
654
+ }
655
+ .DayPicker_transitionContainer__verticalScrollable {
656
+ padding-top: 20px;
657
+ height: 100%;
658
+ position: absolute;
659
+ top: 0;
660
+ bottom: 0;
661
+ right: 0;
662
+ left: 0;
663
+ overflow-y: scroll;
664
+ }
665
+ .DateInput {
666
+ margin: 0;
667
+ padding: 0;
668
+ background: $background-main;
669
+ position: relative;
670
+ display: inline-block;
671
+ vertical-align: middle;
672
+ }
673
+ .DateInput__small {
674
+ width: 97px;
675
+ }
676
+ .DateInput__block {
677
+ width: 100%;
678
+ }
679
+ .DateInput__disabled {
680
+ background: #f2f2f2;
681
+ color: #dbdbdb;
682
+ }
683
+ .DateInput_input {
684
+ @include type-style("body-short");
685
+ display: block;
686
+ width: 100%;
687
+ height: $input-height;
688
+ min-width: 5rem;
689
+ padding: 0 $spacing-03 0 $spacing-08;
690
+ color: $text-body-default;
691
+ appearance: none;
692
+ background-color: $fill-field;
693
+ border: $input-border;
694
+ border-radius: $input-border-radius;
695
+ }
696
+ .DateInput_input__small {
697
+ font-size: 15px;
698
+ line-height: 18px;
699
+ letter-spacing: 0.2px;
700
+ padding: 7px 7px 5px;
701
+ }
702
+ .DateInput_input__regular {
703
+ font-weight: auto;
704
+ }
705
+ .DateInput_input__readOnly {
706
+ user-select: none;
707
+ }
708
+ .DateInput_input__focused {
709
+ @include focus-outline("border");
710
+ }
711
+ .DateInput_input__focused,
712
+ .SingleDatePickerInput_calendarIcon_svg {
713
+ &:focus {
714
+ fill: $action-default-fill-primary-default;
715
+ }
716
+ }
717
+ .DateInput_input__disabled {
718
+ background: #f2f2f2;
719
+ font-style: italic;
720
+ }
721
+ .DateInput_screenReaderMessage {
722
+ border: 0;
723
+ clip: rect(0, 0, 0, 0);
724
+ height: 1px;
725
+ margin: -1px;
726
+ overflow: hidden;
727
+ padding: 0;
728
+ position: absolute;
729
+ width: 1px;
730
+ }
731
+ .DateInput_fang {
732
+ position: absolute;
733
+ width: 20px;
734
+ height: 10px;
735
+ left: 22px;
736
+ z-index: 2;
737
+ }
738
+ .DateInput_fangShape {
739
+ fill: #fff;
740
+ }
741
+ .DateInput_fangStroke {
742
+ stroke: #dbdbdb;
743
+ fill: transparent;
744
+ }
745
+ .DateRangePickerInput {
746
+ //display: inline-block;
747
+ display: flex;
748
+ align-items: center;
749
+ .DateInput_input {
750
+ padding: 0 $spacing-03;
751
+ }
752
+ }
753
+ .DateRangePickerInput__disabled {
754
+ background: #f2f2f2;
755
+ }
756
+ .DateRangePickerInput__rtl {
757
+ direction: rtl;
758
+ }
759
+ .DateRangePickerInput__block {
760
+ display: block;
761
+ }
762
+ .DateRangePickerInput__showClearDates {
763
+ padding-right: 30px;
764
+ }
765
+ .DateRangePickerInput_arrow {
766
+ display: inline-block;
767
+ vertical-align: middle;
768
+ color: #484848;
769
+ margin: 0 0.4em;
770
+ }
771
+ .DateRangePickerInput_arrow_svg {
772
+ vertical-align: middle;
773
+ fill: #484848;
774
+ height: 24px;
775
+ width: 24px;
776
+ }
777
+ .DateRangePickerInput_clearDates {
778
+ background: 0 0;
779
+ border: 0;
780
+ color: inherit;
781
+ font: inherit;
782
+ line-height: normal;
783
+ overflow: visible;
784
+ cursor: pointer;
785
+ padding: 5px;
786
+ height: 34px;
787
+ width: 34px;
788
+ margin: 0 10px 0 15px;
789
+ position: absolute;
790
+ right: 0;
791
+ top: 50%;
792
+ transform: translateY(-50%);
793
+ }
794
+ .DateRangePickerInput_clearDates__small {
795
+ padding: 6px;
796
+ }
797
+ .DateRangePickerInput_clearDates_default:focus,
798
+ .DateRangePickerInput_clearDates_default:hover {
799
+ //background: #dbdbdb;
800
+ border-radius: 50%;
801
+ }
802
+ .DateRangePickerInput_clearDates__hide {
803
+ visibility: hidden;
804
+ }
805
+ .DateRangePickerInput_clearDates_svg {
806
+ fill: $action-default-fill-primary-default;
807
+ height: 12px;
808
+ width: 15px;
809
+ vertical-align: middle;
810
+ }
811
+ .DateRangePickerInput_clearDates_svg__small {
812
+ height: 9px;
813
+ }
814
+ .DateRangePickerInput_calendarIcon {
815
+ background: 0 0;
816
+ border: 0;
817
+ color: inherit;
818
+ font: inherit;
819
+ line-height: normal;
820
+ overflow: visible;
821
+ cursor: pointer;
822
+ display: inline-block;
823
+ vertical-align: middle;
824
+ padding: 10px;
825
+ margin: 0 5px 0 5px;
826
+ }
827
+ .DateRangePickerInput_calendarIcon_svg {
828
+ fill: $field-border;
829
+ height: 15px;
830
+ width: 14px;
831
+ vertical-align: middle;
832
+ }
833
+ .DateRangePicker {
834
+ position: relative;
835
+ order: 3;
836
+ //display: inline-block;
837
+ }
838
+ .DateRangePicker__block {
839
+ display: block;
840
+ }
841
+ .DateRangePicker_picker {
842
+ z-index: 1;
843
+ background-color: #fff;
844
+ outline: 1px solid $border-strong;
845
+ position: absolute;
846
+ }
847
+ .DateRangePicker_picker__rtl {
848
+ direction: rtl;
849
+ }
850
+ .DateRangePicker_picker__directionLeft {
851
+ left: 0;
852
+ }
853
+ .DateRangePicker_picker__directionRight {
854
+ right: 0;
855
+ }
856
+ .DateRangePicker_picker__portal {
857
+ background-color: rgba(0, 0, 0, 0.3);
858
+ position: fixed;
859
+ top: 0;
860
+ left: 0;
861
+ z-index: z("floating");
862
+ height: 100%;
863
+ width: 100%;
864
+ }
865
+ .DateRangePicker_picker__fullScreenPortal {
866
+ background-color: #fff;
867
+ }
868
+ .DateRangePicker_closeButton {
869
+ background: 0 0;
870
+ border: 0;
871
+ color: inherit;
872
+ font: inherit;
873
+ line-height: normal;
874
+ overflow: visible;
875
+ cursor: pointer;
876
+ position: absolute;
877
+ top: 0;
878
+ right: 0;
879
+ padding: 15px;
880
+ z-index: 2;
881
+ }
882
+ .DateRangePicker_closeButton:focus,
883
+ .DateRangePicker_closeButton:hover {
884
+ color: darken(#cacccd, 10%);
885
+ text-decoration: none;
886
+ }
887
+ .DateRangePicker_closeButton_svg {
888
+ height: 15px;
889
+ width: 15px;
890
+ fill: #cacccd;
891
+ }
892
+ .DateRangePickerInput_apply {
893
+ margin-left: 20px;
894
+ margin-bottom: 20px;
895
+ }
896
+ }