-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdate-picker.bootstrap.scss
More file actions
54 lines (42 loc) · 1.13 KB
/
date-picker.bootstrap.scss
File metadata and controls
54 lines (42 loc) · 1.13 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
@use 'styles/utilities' as *;
@use '../light/themes' as *;
$theme: $bootstrap;
:host {
--calendar-border-color: #{$bootstrap-calendar-border-color};
igc-dialog {
igc-calendar {
border: none;
}
}
[part~='label'] {
@include type-style('body-1');
margin-bottom: pad-block(rem(4px));
&:empty {
display: none;
}
}
::part(helper-text) {
@include type-style('body-2');
grid-auto-rows: minmax(rem(20px), auto);
}
}
:host([readonly]) {
igc-date-time-input::part(container),
igc-date-time-input::part(prefix),
igc-date-time-input::part(suffix) {
background: var-get($theme, 'border-disabled-background');
}
}
:host(:not([disabled],[readonly]):state(ig-invalid)) {
igc-date-time-input::part(input) {
border-color: var-get($theme, 'error-secondary-color');
}
igc-date-time-input:focus-within {
&::part(input) {
box-shadow: 0 0 0 rem(4px) var-get($theme, 'error-shadow-color');
}
}
}
[part='actions'] {
min-height: #{sizable(rem(47px), rem(54px), rem(64px))};
}