carriera-intern-components 1.1.15 → 1.1.151
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.
package/package.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Global Styles
|
|
2
|
+
|
|
3
|
+
This directory contains all global styles and variables for the Carriera Intern Components library.
|
|
4
|
+
|
|
5
|
+
## Structure
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
styles/
|
|
9
|
+
├── index.scss # Main entry point - imports all styles
|
|
10
|
+
├── _variables.scss # Global color and design variables
|
|
11
|
+
├── review_variables.scss # Review-specific variables
|
|
12
|
+
└── README.md # This file
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
### For Library Consumers
|
|
18
|
+
|
|
19
|
+
The global styles are automatically included when you import the library. The styles are bundled with the library and available through the `styleIncludePaths` configuration.
|
|
20
|
+
|
|
21
|
+
### For Component Development
|
|
22
|
+
|
|
23
|
+
When creating new components, you can import the global variables:
|
|
24
|
+
|
|
25
|
+
```scss
|
|
26
|
+
@import '../../../styles/variables';
|
|
27
|
+
@import '../../../styles/review_variables';
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or use the main index file:
|
|
31
|
+
|
|
32
|
+
```scss
|
|
33
|
+
@import '../../../styles/index';
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Variables
|
|
37
|
+
|
|
38
|
+
### Color Variables
|
|
39
|
+
|
|
40
|
+
All color variables follow the naming convention:
|
|
41
|
+
- `$color-text-base-*` - Text colors
|
|
42
|
+
- `$color-icon-base-*` - Icon colors
|
|
43
|
+
- `$color-surface-input-*` - Input surface colors
|
|
44
|
+
- `$color-inverse-*` - Dark theme colors
|
|
45
|
+
|
|
46
|
+
### Adding New Variables
|
|
47
|
+
|
|
48
|
+
1. Add new variables to the appropriate `_variables.scss` file
|
|
49
|
+
2. Import them in `index.scss` if they should be globally available
|
|
50
|
+
3. Update this README with documentation
|
|
51
|
+
|
|
52
|
+
## Build Configuration
|
|
53
|
+
|
|
54
|
+
The styles are configured in:
|
|
55
|
+
- `angular.json` - Storybook and build configurations
|
|
56
|
+
- `ng-package.json` - Library build includes
|
|
57
|
+
- `public-api.ts` - Exports for TypeScript access
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
$color-text-base-negative: #df3c3c;
|
|
2
|
+
$color-text-base-heading: #424242;
|
|
3
|
+
$color-text-base-content: #2f2f2f;
|
|
4
|
+
$color-text-base-content-subtle: #919191;
|
|
5
|
+
$color-text-base-inverse: #ffffff;
|
|
6
|
+
|
|
7
|
+
$color-icon-base-neutral: #919191;
|
|
8
|
+
$color-icon-base-negative: #e66767;
|
|
9
|
+
$color-icon-base-positive: #6692f1;
|
|
10
|
+
$color-icon-base-inverse: #ffffffb2;
|
|
11
|
+
$color-icon-base-disable: #cccccc;
|
|
12
|
+
|
|
13
|
+
$color-surface-input-neutral: #eeeeee;
|
|
14
|
+
$color-surface-input-neutral-hover: #dadada;
|
|
15
|
+
$color-surface-input-neutral-focus: #1d1d1d;
|
|
16
|
+
|
|
17
|
+
$color-surface-input-positive: #e9effd;
|
|
18
|
+
$color-surface-input-positive-hover: #bed0f9;
|
|
19
|
+
$color-surface-input-positive-focus: #0b49d1;
|
|
20
|
+
|
|
21
|
+
$color-surface-input-negative: #fbe9e9;
|
|
22
|
+
$color-surface-input-negative-hover: #f4bebe;
|
|
23
|
+
$color-surface-input-negative-focus: #c20c0c;
|
|
24
|
+
|
|
25
|
+
$color-surface-input-disable: #f7f7f7;
|
|
26
|
+
|
|
27
|
+
$color-inverse-text-base-negative: #ed9292;
|
|
28
|
+
$color-inverse-icon-base-neutral: #aaaaaa;
|
|
29
|
+
$color-inverse-icon-base-negative: #ed9292;
|
|
30
|
+
$color-inverse-icon-base-positive: #92b1f5;
|
|
31
|
+
$color-inverse-icon-base-disable: #6c6c6c;
|
|
32
|
+
$color-inverse-surface-input-neutral: #424242;
|
|
33
|
+
$color-inverse-surface-input-neutral-hover: #6c6c6c;
|
|
34
|
+
$color-inverse-surface-input-neutral-focus: #dadada;
|
|
35
|
+
$color-inverse-surface-input-positive-no-percent: #3b73ed;
|
|
36
|
+
$color-inverse-surface-input-positive: #3b73ed33;
|
|
37
|
+
$color-inverse-surface-input-positive-hover: #2f519a;
|
|
38
|
+
$color-inverse-surface-input-negative: #df3c3c33;
|
|
39
|
+
$color-inverse-surface-input-negative-hover: #923030;
|
|
40
|
+
$color-inverse-surface-input-disable: #42424266;
|
|
41
|
+
|
|
42
|
+
$color-pdf: #e66767;
|
|
43
|
+
$color-image: #fab15c;
|
|
44
|
+
$color-video: #b370f0;
|
|
45
|
+
|
|
46
|
+
$color-pdf-opacity: #df3c3c66;
|
|
47
|
+
$color-image-opacity: #f89b2e66;
|
|
48
|
+
$color-video-opacity: #9e47ec66;
|
|
49
|
+
|
|
50
|
+
$color-light-gray: #f9f9f9;
|
|
51
|
+
|
|
52
|
+
// Font weights
|
|
53
|
+
$font-regular: 400;
|
|
54
|
+
$font-medium: 500;
|
|
55
|
+
$font-semibold: 600;
|
|
56
|
+
$font-bold: 700;
|
|
57
|
+
$font-extrabold: 800;
|
|
@@ -0,0 +1,816 @@
|
|
|
1
|
+
@import 'variables';
|
|
2
|
+
@import 'review_variables';
|
|
3
|
+
|
|
4
|
+
.datetime-dropdown-holder {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 0px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.datetimepopovermain {
|
|
10
|
+
border: none !important;
|
|
11
|
+
.popover-body {
|
|
12
|
+
padding: 0 !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.popover-arrow{
|
|
16
|
+
display: none !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.pickers_holder {
|
|
21
|
+
position: relative;
|
|
22
|
+
top: 0px !important;
|
|
23
|
+
width: auto !important;
|
|
24
|
+
padding: 0;
|
|
25
|
+
|
|
26
|
+
background-color: $color-text-base-inverse;
|
|
27
|
+
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.15);
|
|
28
|
+
z-index: 999;
|
|
29
|
+
|
|
30
|
+
border-radius: 3px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
|
|
33
|
+
.time_picker {
|
|
34
|
+
width: 167px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.date_picker {
|
|
38
|
+
display: flex;
|
|
39
|
+
|
|
40
|
+
.month-years-size {
|
|
41
|
+
position: relative;
|
|
42
|
+
width: 48px;
|
|
43
|
+
|
|
44
|
+
background-color: $color-light-gray;
|
|
45
|
+
|
|
46
|
+
.calendar_border {
|
|
47
|
+
position: absolute;
|
|
48
|
+
top: 50%;
|
|
49
|
+
width: 100%;
|
|
50
|
+
height: 24px;
|
|
51
|
+
transform: translateY(-50%);
|
|
52
|
+
|
|
53
|
+
background-color: $color-text-base-inverse;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.month-year-item {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
height: 24px;
|
|
61
|
+
|
|
62
|
+
font-size: 14px;
|
|
63
|
+
color: $color-text-base-content;
|
|
64
|
+
font-weight: $font-regular;
|
|
65
|
+
text-align: center;
|
|
66
|
+
text-transform: uppercase;
|
|
67
|
+
|
|
68
|
+
.left-year-show {
|
|
69
|
+
color: $color-text-base-content;
|
|
70
|
+
font-size: 14px;
|
|
71
|
+
font-weight: $font-bold;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
color: $color-text-base-heading;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
|
|
78
|
+
background-color: $color-text-base-content;
|
|
79
|
+
border-radius: 2px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
cdk-virtual-scroll-viewport {
|
|
84
|
+
::-webkit-scrollbar {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&::-webkit-scrollbar {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.cdk-virtual-scroll-content-wrapper {
|
|
94
|
+
padding: 133px 2px 0 2px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.full-calendars-list {
|
|
99
|
+
flex: 1;
|
|
100
|
+
max-height: 290px;
|
|
101
|
+
min-width: 264px;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
|
|
104
|
+
.full_list {
|
|
105
|
+
height: 100%;
|
|
106
|
+
|
|
107
|
+
.selfScroll {
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.time_picker {
|
|
116
|
+
//width: 150px;
|
|
117
|
+
|
|
118
|
+
.time_picker_head {
|
|
119
|
+
height: 36px;
|
|
120
|
+
display: flex;
|
|
121
|
+
padding: 0 12px;
|
|
122
|
+
align-items: center;
|
|
123
|
+
justify-content: space-between;
|
|
124
|
+
|
|
125
|
+
.selected_time {
|
|
126
|
+
font-size: 14px;
|
|
127
|
+
font-weight: $font-extrabold;
|
|
128
|
+
color: $color-text-base-heading;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.sel_now {
|
|
132
|
+
color: $color-icon-base-positive;
|
|
133
|
+
font-size: 14px;
|
|
134
|
+
font-weight: $font-bold;
|
|
135
|
+
|
|
136
|
+
&:hover {
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
color: $color-surface-input-positive-hover;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.time_picker_body {
|
|
144
|
+
.picker_body_head {
|
|
145
|
+
display: flex;
|
|
146
|
+
height: 22px;
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
149
|
+
background-color: $color-surface-input-neutral;
|
|
150
|
+
margin: 0 4px 2px 4px;
|
|
151
|
+
border-radius: 2px;
|
|
152
|
+
|
|
153
|
+
div {
|
|
154
|
+
flex: 0 0 33%;
|
|
155
|
+
text-align: center;
|
|
156
|
+
|
|
157
|
+
font-size: 10px;
|
|
158
|
+
font-weight: $font-bold;
|
|
159
|
+
color: $color-text-base-content;
|
|
160
|
+
|
|
161
|
+
&.active {
|
|
162
|
+
color: $color-text-base-content;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.picker_body {
|
|
168
|
+
position: relative;
|
|
169
|
+
height: 155px;
|
|
170
|
+
display: flex;
|
|
171
|
+
justify-content: center;
|
|
172
|
+
|
|
173
|
+
&::after {
|
|
174
|
+
content: '';
|
|
175
|
+
position: absolute;
|
|
176
|
+
width: 100%;
|
|
177
|
+
height: 31px;
|
|
178
|
+
top: -1px;
|
|
179
|
+
left: 0;
|
|
180
|
+
pointer-events: none;
|
|
181
|
+
|
|
182
|
+
background: linear-gradient(to bottom,
|
|
183
|
+
rgba(255, 255, 255, 1) 0%,
|
|
184
|
+
rgba(255, 255, 255, 0) 100%);
|
|
185
|
+
z-index: 11;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&::before {
|
|
189
|
+
content: '';
|
|
190
|
+
position: absolute;
|
|
191
|
+
pointer-events: none;
|
|
192
|
+
width: 100%;
|
|
193
|
+
height: 31px;
|
|
194
|
+
bottom: -1px;
|
|
195
|
+
left: 0;
|
|
196
|
+
background: linear-gradient(to top,
|
|
197
|
+
rgba(255, 255, 255, 1) 0%,
|
|
198
|
+
rgba(255, 255, 255, 0) 100%);
|
|
199
|
+
z-index: 11;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.picker_line {
|
|
203
|
+
position: absolute;
|
|
204
|
+
width: calc(100% - 8px);
|
|
205
|
+
height: 22px;
|
|
206
|
+
top: 50%;
|
|
207
|
+
left: 4px;
|
|
208
|
+
border-radius: 2px;
|
|
209
|
+
|
|
210
|
+
transform: translateY(-50%);
|
|
211
|
+
background-color: $color-surface-input-neutral;
|
|
212
|
+
|
|
213
|
+
span {
|
|
214
|
+
position: absolute;
|
|
215
|
+
left: 30%;
|
|
216
|
+
|
|
217
|
+
font-size: 14px;
|
|
218
|
+
font-weight: $font-regular;
|
|
219
|
+
color: $color-text-base-content;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.scroll_pickers {
|
|
224
|
+
position: relative;
|
|
225
|
+
height: 22px;
|
|
226
|
+
flex: 0 0 33.3%;
|
|
227
|
+
height: 100%;
|
|
228
|
+
padding: 67px 0;
|
|
229
|
+
margin: 0 7px;
|
|
230
|
+
|
|
231
|
+
overflow: auto;
|
|
232
|
+
text-align: center;
|
|
233
|
+
|
|
234
|
+
-ms-overflow-style: none;
|
|
235
|
+
/* Internet Explorer 10+ */
|
|
236
|
+
scrollbar-width: none;
|
|
237
|
+
/* Firefox */
|
|
238
|
+
|
|
239
|
+
z-index: 10;
|
|
240
|
+
|
|
241
|
+
&:first-child {
|
|
242
|
+
flex: 0 0 28px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&:nth-child(2) {
|
|
246
|
+
flex: 0 0 36px;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&:nth-child(3) {
|
|
250
|
+
flex: 0 0 38px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
&::-webkit-scrollbar {
|
|
254
|
+
display: none;
|
|
255
|
+
/* Safari and Chrome */
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.scroll_item {
|
|
259
|
+
height: 22px;
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
justify-content: center;
|
|
263
|
+
|
|
264
|
+
font-size: 14px;
|
|
265
|
+
color: $color-text-base-content;
|
|
266
|
+
font-weight: $font-regular;
|
|
267
|
+
user-select: none;
|
|
268
|
+
|
|
269
|
+
&:hover {
|
|
270
|
+
color: $color-icon-base-positive;
|
|
271
|
+
cursor: pointer;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&:hover {
|
|
276
|
+
//background-color: #f3f3f366;
|
|
277
|
+
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.picker_buttons {
|
|
284
|
+
display: flex;
|
|
285
|
+
padding: 6px;
|
|
286
|
+
justify-content: space-between;
|
|
287
|
+
|
|
288
|
+
.pick_button {
|
|
289
|
+
display: flex;
|
|
290
|
+
align-items: center;
|
|
291
|
+
justify-content: center;
|
|
292
|
+
height: 32px;
|
|
293
|
+
padding: 0 12px;
|
|
294
|
+
text-align: center;
|
|
295
|
+
border-radius: 2px;
|
|
296
|
+
|
|
297
|
+
font-size: 12px;
|
|
298
|
+
font-weight: $font-bold;
|
|
299
|
+
color: $color-text-base-content-subtle;
|
|
300
|
+
|
|
301
|
+
&:hover {
|
|
302
|
+
background-color: $color-surface-input-neutral-hover;
|
|
303
|
+
color: $color-text-base-content;
|
|
304
|
+
cursor: pointer;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&.set_button {
|
|
308
|
+
width: 57px;
|
|
309
|
+
text-align: center;
|
|
310
|
+
background-color: $color-icon-base-positive;
|
|
311
|
+
color: $color-text-base-inverse;
|
|
312
|
+
|
|
313
|
+
&:hover {
|
|
314
|
+
background-color: $color-surface-input-positive-focus;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&.dark_picker {
|
|
322
|
+
background-color: $color-text-base-content;
|
|
323
|
+
|
|
324
|
+
.month-years-size {
|
|
325
|
+
width: 40px;
|
|
326
|
+
background-color: $color-text-base-heading;
|
|
327
|
+
|
|
328
|
+
.calendar_border {
|
|
329
|
+
position: absolute;
|
|
330
|
+
top: 50%;
|
|
331
|
+
width: 100%;
|
|
332
|
+
height: 26px;
|
|
333
|
+
transform: translateY(-50%);
|
|
334
|
+
|
|
335
|
+
background-color: $color-text-base-content;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.month-year-item {
|
|
339
|
+
height: 22px;
|
|
340
|
+
color: $color-icon-base-disable;
|
|
341
|
+
font-size: 11px;
|
|
342
|
+
|
|
343
|
+
.left-year-show {
|
|
344
|
+
color: $color-inverse-icon-base-neutral;
|
|
345
|
+
font-size: 11px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&.current_month_year {
|
|
349
|
+
color: $color-text-base-inverse;
|
|
350
|
+
|
|
351
|
+
.left-year-show {
|
|
352
|
+
color: $color-text-base-inverse;
|
|
353
|
+
font-weight: $font-bold;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
&:hover {
|
|
358
|
+
color: $color-text-base-inverse;
|
|
359
|
+
|
|
360
|
+
background-color: $color-text-base-content;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.cdk-virtual-scroll-content-wrapper {
|
|
365
|
+
padding: 133px 4px 0 4px;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.date_picker {
|
|
370
|
+
margin: 4px;
|
|
371
|
+
|
|
372
|
+
.full-calendars-list {
|
|
373
|
+
min-width: 184px;
|
|
374
|
+
|
|
375
|
+
.calendar_view {
|
|
376
|
+
width: 182px;
|
|
377
|
+
padding-top: 6px;
|
|
378
|
+
background-color: $color-text-base-content;
|
|
379
|
+
|
|
380
|
+
.calendar_view_head {
|
|
381
|
+
padding: 0 6px;
|
|
382
|
+
|
|
383
|
+
.month_name {
|
|
384
|
+
padding: 0 4px;
|
|
385
|
+
|
|
386
|
+
color: $color-text-base-inverse;
|
|
387
|
+
font-size: 11px;
|
|
388
|
+
|
|
389
|
+
.year_hold {
|
|
390
|
+
margin-right: 0;
|
|
391
|
+
|
|
392
|
+
color: $color-text-base-inverse;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.today {
|
|
397
|
+
padding: 0 4px;
|
|
398
|
+
|
|
399
|
+
color: $color-icon-base-positive;
|
|
400
|
+
font-size: 11px;
|
|
401
|
+
text-transform: uppercase;
|
|
402
|
+
|
|
403
|
+
&:hover {
|
|
404
|
+
color: $color-text-base-inverse;
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.calendars_list_view {
|
|
410
|
+
.calendar_indicator {
|
|
411
|
+
margin: 12px 10px;
|
|
412
|
+
|
|
413
|
+
color: $color-text-base-content-subtle;
|
|
414
|
+
font-size: 11px;
|
|
415
|
+
text-transform: uppercase;
|
|
416
|
+
|
|
417
|
+
&.current_year {
|
|
418
|
+
color: $color-text-base-inverse;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
&.full_calendar {
|
|
422
|
+
margin-bottom: 4px;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.calendar_month_days {
|
|
427
|
+
display: grid;
|
|
428
|
+
grid-template-columns: repeat(7, 1fr);
|
|
429
|
+
gap: 4px;
|
|
430
|
+
margin: 0 6px 4px 6px;
|
|
431
|
+
padding: 0;
|
|
432
|
+
|
|
433
|
+
.cal_day {
|
|
434
|
+
width: 22px;
|
|
435
|
+
height: 22px;
|
|
436
|
+
margin: 0;
|
|
437
|
+
|
|
438
|
+
font-size: 9px;
|
|
439
|
+
color: $color-inverse-icon-base-neutral;
|
|
440
|
+
text-align: center;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.month_list {
|
|
445
|
+
display: grid;
|
|
446
|
+
grid-template-columns: repeat(3, 1fr);
|
|
447
|
+
column-gap: 4px;
|
|
448
|
+
row-gap: 12px;
|
|
449
|
+
justify-content: unset;
|
|
450
|
+
margin: 0 6px;
|
|
451
|
+
|
|
452
|
+
.month_list_item {
|
|
453
|
+
margin: 0;
|
|
454
|
+
height: 22px;
|
|
455
|
+
|
|
456
|
+
color: $color-text-base-content-subtle;
|
|
457
|
+
font-size: 11px;
|
|
458
|
+
|
|
459
|
+
&:hover:not(.current_month) {
|
|
460
|
+
background-color: $color-text-base-heading;
|
|
461
|
+
color: $color-text-base-inverse;
|
|
462
|
+
border-radius: 2px;
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
&.current_month {
|
|
467
|
+
color: $color-text-base-inverse;
|
|
468
|
+
background-color: $color-inverse-surface-input-positive;
|
|
469
|
+
border-radius: 2px;
|
|
470
|
+
cursor: pointer;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
&.current_year {
|
|
475
|
+
.month_list_item {
|
|
476
|
+
color: $color-text-base-inverse;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.calendar_days {
|
|
482
|
+
display: grid;
|
|
483
|
+
grid-template-columns: repeat(7, 1fr);
|
|
484
|
+
gap: 4px;
|
|
485
|
+
margin: 0 6px;
|
|
486
|
+
padding: 0;
|
|
487
|
+
height: auto;
|
|
488
|
+
|
|
489
|
+
.calendar_day {
|
|
490
|
+
width: 22px;
|
|
491
|
+
height: 22px;
|
|
492
|
+
margin: 0;
|
|
493
|
+
color: $color-icon-base-neutral;
|
|
494
|
+
font-size: 11px;
|
|
495
|
+
|
|
496
|
+
&.current_day {
|
|
497
|
+
color: $color-text-base-inverse;
|
|
498
|
+
background-color: $color-inverse-surface-input-positive;
|
|
499
|
+
border-radius: 2px;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
&.selected_day {
|
|
503
|
+
background-color: $color-inverse-surface-input-positive;
|
|
504
|
+
color: $color-text-base-inverse;
|
|
505
|
+
border-radius: 2px;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
&.day_in_current_month {
|
|
509
|
+
color: $color-text-base-inverse;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
&.weekend_day_in_current_month {
|
|
513
|
+
color: $color-inverse-icon-base-neutral;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
&:not(.empty_day):not(.selected_day):hover {
|
|
517
|
+
background-color: $color-text-base-heading;
|
|
518
|
+
border-radius: 2px;
|
|
519
|
+
|
|
520
|
+
cursor: pointer;
|
|
521
|
+
color: $color-text-base-inverse;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.time_picker {
|
|
531
|
+
width: 156px;
|
|
532
|
+
margin: 4px;
|
|
533
|
+
|
|
534
|
+
.time_picker_head {
|
|
535
|
+
height: 18px;
|
|
536
|
+
padding: 0 4px;
|
|
537
|
+
margin-bottom: 4px;
|
|
538
|
+
|
|
539
|
+
.selected_time {
|
|
540
|
+
color: $color-text-base-inverse;
|
|
541
|
+
font-size: 11px;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.sel_now {
|
|
545
|
+
color: $color-icon-base-positive;
|
|
546
|
+
font-size: 11px;
|
|
547
|
+
text-transform: uppercase;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.time_picker_body {
|
|
552
|
+
.picker_body_head {
|
|
553
|
+
display: grid;
|
|
554
|
+
grid-template-columns: repeat(3, 1fr);
|
|
555
|
+
column-gap: 4px;
|
|
556
|
+
margin: 0 0 4px 0;
|
|
557
|
+
padding: 2px;
|
|
558
|
+
background: none;
|
|
559
|
+
|
|
560
|
+
div {
|
|
561
|
+
color: $color-inverse-icon-base-neutral;
|
|
562
|
+
font-size: 9px;
|
|
563
|
+
text-align: center;
|
|
564
|
+
text-transform: uppercase;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.picker_body {
|
|
569
|
+
height: 176px;
|
|
570
|
+
display: grid;
|
|
571
|
+
grid-template-columns: repeat(3, 1fr);
|
|
572
|
+
column-gap: 4px;
|
|
573
|
+
padding: 0 2px;
|
|
574
|
+
|
|
575
|
+
&::before {
|
|
576
|
+
display: none;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
&::after {
|
|
580
|
+
display: none;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.picker_line {
|
|
584
|
+
left: 0;
|
|
585
|
+
width: 100%;
|
|
586
|
+
background-color: $color-inverse-surface-input-positive;
|
|
587
|
+
|
|
588
|
+
.border_line {
|
|
589
|
+
left: 33.3%;
|
|
590
|
+
width: 1px;
|
|
591
|
+
height: 12px;
|
|
592
|
+
margin-top: 5px;
|
|
593
|
+
background-color: $color-icon-base-positive;
|
|
594
|
+
opacity: 0.4;
|
|
595
|
+
border-radius: 2px;
|
|
596
|
+
|
|
597
|
+
&.line_2 {
|
|
598
|
+
left: 66.6%;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.scroll_pickers {
|
|
604
|
+
margin: 0;
|
|
605
|
+
padding: 77px 0;
|
|
606
|
+
|
|
607
|
+
.scroll_item {
|
|
608
|
+
color: $color-inverse-icon-base-neutral;
|
|
609
|
+
font-size: 11px;
|
|
610
|
+
|
|
611
|
+
&.active_item {
|
|
612
|
+
color: $color-text-base-inverse;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.picker_buttons {
|
|
619
|
+
display: grid;
|
|
620
|
+
grid-template-columns: repeat(2, 1fr);
|
|
621
|
+
column-gap: 4px;
|
|
622
|
+
|
|
623
|
+
margin-top: 6px;
|
|
624
|
+
padding: 4px 0 0 0;
|
|
625
|
+
border-top: 1px solid $color-inverse-surface-input-neutral-focus;
|
|
626
|
+
|
|
627
|
+
.pick_button {
|
|
628
|
+
height: 18px;
|
|
629
|
+
background-color: $color-text-base-heading;
|
|
630
|
+
|
|
631
|
+
color: $color-text-base-inverse;
|
|
632
|
+
font-size: 11px;
|
|
633
|
+
text-transform: uppercase;
|
|
634
|
+
|
|
635
|
+
border-radius: 1px;
|
|
636
|
+
|
|
637
|
+
&.set_button {
|
|
638
|
+
width: auto;
|
|
639
|
+
background-color: $color-inverse-surface-input-positive-no-percent;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.calendar_view {
|
|
649
|
+
width: 260px;
|
|
650
|
+
padding-top: 12px;
|
|
651
|
+
background-color: $color-text-base-inverse;
|
|
652
|
+
|
|
653
|
+
.calendar_view_head {
|
|
654
|
+
display: flex;
|
|
655
|
+
justify-content: space-between;
|
|
656
|
+
margin-bottom: 12px;
|
|
657
|
+
padding: 0 12px;
|
|
658
|
+
|
|
659
|
+
.month_name {
|
|
660
|
+
font-size: 12px;
|
|
661
|
+
font-weight: $font-bold;
|
|
662
|
+
color: $color-text-base-heading;
|
|
663
|
+
|
|
664
|
+
.year_hold {
|
|
665
|
+
margin-right: 5px;
|
|
666
|
+
text-transform: uppercase;
|
|
667
|
+
color: $color-text-base-heading;
|
|
668
|
+
|
|
669
|
+
&:hover {
|
|
670
|
+
color: $color-text-base-content;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
cursor: pointer;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
.today {
|
|
678
|
+
font-size: 12px;
|
|
679
|
+
font-weight: $font-bold;
|
|
680
|
+
color: $color-icon-base-positive;
|
|
681
|
+
cursor: pointer;
|
|
682
|
+
|
|
683
|
+
&:hover {
|
|
684
|
+
color: $color-surface-input-positive-hover;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.calendars_list_view {
|
|
690
|
+
cdk-virtual-scroll-viewport {
|
|
691
|
+
height: 230px;
|
|
692
|
+
min-height: 230px;
|
|
693
|
+
|
|
694
|
+
::-webkit-scrollbar {
|
|
695
|
+
display: none;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
&::-webkit-scrollbar {
|
|
699
|
+
display: none;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.cdk-virtual-scroll-content-wrapper {}
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.calendar_indicator {
|
|
706
|
+
margin: 12px;
|
|
707
|
+
height: 18px;
|
|
708
|
+
|
|
709
|
+
font-size: 12px;
|
|
710
|
+
color: $color-text-base-content-subtle;
|
|
711
|
+
font-weight: $font-bold;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.calendar_month_days {
|
|
715
|
+
padding: 0 3px;
|
|
716
|
+
|
|
717
|
+
&.hideVisibility {
|
|
718
|
+
visibility: hidden;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.cal_day {
|
|
722
|
+
width: 24px;
|
|
723
|
+
margin: 0 6px;
|
|
724
|
+
|
|
725
|
+
font-size: 12px;
|
|
726
|
+
font-weight: $font-bold;
|
|
727
|
+
color: $color-text-base-content-subtle;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.calendar_days {
|
|
732
|
+
height: 140px;
|
|
733
|
+
display: flex;
|
|
734
|
+
flex-wrap: wrap;
|
|
735
|
+
padding: 0 3px;
|
|
736
|
+
|
|
737
|
+
.calendar_day {
|
|
738
|
+
display: flex;
|
|
739
|
+
align-items: center;
|
|
740
|
+
justify-content: center;
|
|
741
|
+
flex: 0 0 24px;
|
|
742
|
+
width: 24px;
|
|
743
|
+
height: 24px;
|
|
744
|
+
margin: 0 6px;
|
|
745
|
+
|
|
746
|
+
font-size: 14px;
|
|
747
|
+
font-weight: $font-regular;
|
|
748
|
+
color: $color-text-base-content-subtle;
|
|
749
|
+
|
|
750
|
+
&.current_day {
|
|
751
|
+
color: $color-text-base-inverse;
|
|
752
|
+
background-color: $color-text-base-content;
|
|
753
|
+
border-radius: 2px;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
&.selected_day {
|
|
757
|
+
background-color: $color-text-base-content;
|
|
758
|
+
color: $color-text-base-inverse;
|
|
759
|
+
border-radius: 2px;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
&:not(.empty_day):not(.selected_day):hover {
|
|
763
|
+
background-color: $color-text-base-heading;
|
|
764
|
+
border-radius: 2px;
|
|
765
|
+
|
|
766
|
+
cursor: pointer;
|
|
767
|
+
color: $color-text-base-content;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.month_list {
|
|
774
|
+
display: flex;
|
|
775
|
+
flex-wrap: wrap;
|
|
776
|
+
justify-content: space-around;
|
|
777
|
+
height: 140px;
|
|
778
|
+
|
|
779
|
+
.month_list_item {
|
|
780
|
+
flex: 0 0 50px;
|
|
781
|
+
height: 24px;
|
|
782
|
+
margin: 0px 10px;
|
|
783
|
+
display: flex;
|
|
784
|
+
align-items: center;
|
|
785
|
+
justify-content: center;
|
|
786
|
+
border-radius: 3px;
|
|
787
|
+
font-size: 12px;
|
|
788
|
+
color: $color-text-base-content-subtle;
|
|
789
|
+
font-weight: $font-regular;
|
|
790
|
+
|
|
791
|
+
&:hover:not(.current_month) {
|
|
792
|
+
background-color: $color-surface-input-disable;
|
|
793
|
+
color: $color-text-base-content;
|
|
794
|
+
border-radius: 2px;
|
|
795
|
+
cursor: pointer;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
&.current_month {
|
|
799
|
+
color: $color-text-base-content;
|
|
800
|
+
background-color: $color-surface-input-neutral;
|
|
801
|
+
border-radius: 2px;
|
|
802
|
+
cursor: pointer;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
.dropdown {
|
|
809
|
+
z-index: 999 !important;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
input[type='date']::-webkit-inner-spin-button,
|
|
813
|
+
input[type='date']::-webkit-calendar-picker-indicator {
|
|
814
|
+
display: none;
|
|
815
|
+
-webkit-appearance: none;
|
|
816
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
$color-span: #F77D3B;
|
|
2
|
+
$color-negative: #DF3C3C;
|
|
3
|
+
$color-like: #56B4AC;
|
|
4
|
+
$color-dislike: #E66767;
|
|
5
|
+
$color-trash-fill: #C20C0C;
|
|
6
|
+
$color-trash-background: #F4BEBE;
|
|
7
|
+
$color-tooltip: rgba(66, 66, 66, 1);
|
|
8
|
+
$color-divider: #DADADA;
|
|
9
|
+
|
|
10
|
+
$color-light-blue: #92B1F5;
|
|
11
|
+
$color-blue: #3B73ED;
|
|
12
|
+
$color-blue-transparent: #3b73ed3f;
|
|
13
|
+
|
|
14
|
+
$color-icon-base: #6692F1;
|
|
15
|
+
$color-icon-base-hover: #0B49D1;
|
|
16
|
+
$color-icon-black: #6C6C6C;
|
|
17
|
+
$color-review-icon-dark: #919191;
|
|
18
|
+
$color-review-icon-dark-hover: #424242;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
$color-light: #FFFFFFB2;
|
|
22
|
+
$color-light-disabled: #F7F7F7;
|
|
23
|
+
$color-light-gray: #EEEEEE;
|
|
24
|
+
$color-review-hover: #CCCCCC;
|
|
25
|
+
$color-dark: #1D1D1D;
|
|
26
|
+
|
|
27
|
+
$color-text-gray: #AAAAAA;
|
|
28
|
+
|
|
29
|
+
$color-modal-dark-bg: #2F2F2F;
|
|
30
|
+
|
|
31
|
+
$color-rect-positive: #E9EFFD;
|
|
32
|
+
$color-icon: rgba(145, 145, 145, 0.4);
|
|
33
|
+
$color-filter-hover: rgba(145, 145, 145, 0.2);
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|