-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdate-range-picker.base.scss
More file actions
77 lines (64 loc) · 1.41 KB
/
date-range-picker.base.scss
File metadata and controls
77 lines (64 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@use 'styles/common/component';
@use 'styles/utilities' as *;
:host {
display: flex;
flex-direction: column;
igc-focus-trap {
--min-width: #{sizable(rem(290px), rem(314px), rem(360px))};
display: flex;
flex: 1 0 0;
flex-direction: column;
min-width: var(--min-width);
max-width: calc(var(--min-width) * 2);
overflow: auto hidden;
igc-calendar {
border: none;
box-shadow: none;
}
}
igc-calendar[header-orientation='vertical'] {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
::part(helper-text) {
@include type-style('caption');
@include line-clamp(2, true, true);
}
}
:host([required]) {
igc-date-time-input::part(label)::after {
content: '*';
}
}
[part='label'] {
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
[part='inputs'] {
display: flex;
flex-direction: row;
align-items: flex-end;
gap: rem(8px)
}
[part='actions'] {
display: flex;
justify-content: flex-end;
padding: pad(rem(8px));
gap: rem(8px);
::slotted(*) {
display: flex;
gap: rem(8px);
}
}
[part='separator'] {
display: flex;;
align-items: center;
}
igc-date-time-input {
display: flex;
flex-direction: column;
width: 100%;
min-width: 0;
}