@itwin/itwinui-css 0.52.0 → 0.53.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.
- package/css/alert.css +44 -44
- package/css/all.css +1946 -1215
- package/css/badge.css +1 -1
- package/css/blockquote.css +2 -2
- package/css/breadcrumbs.css +12 -12
- package/css/button.css +37 -37
- package/css/carousel.css +24 -36
- package/css/code.css +5 -5
- package/css/color-picker.css +14 -10
- package/css/date-picker.css +402 -46
- package/css/expandable-block.css +19 -19
- package/css/fieldset.css +4 -4
- package/css/file-upload.css +11 -11
- package/css/footer.css +2 -2
- package/css/global.css +539 -208
- package/css/header.css +49 -38
- package/css/icon.css +24 -24
- package/css/information-panel.css +15 -8
- package/css/inputs.css +72 -72
- package/css/keyboard.css +4 -4
- package/css/location-marker.css +9 -9
- package/css/menu.css +25 -12
- package/css/modal.css +1 -1
- package/css/notification-marker.css +28 -28
- package/css/progress-indicator.css +32 -32
- package/css/side-navigation.css +18 -18
- package/css/skip-to-content.css +1 -1
- package/css/slider.css +13 -13
- package/css/surface.css +19 -0
- package/css/table.css +78 -74
- package/css/tabs.css +23 -23
- package/css/tag.css +4 -4
- package/css/text.css +1 -1
- package/css/tile.css +35 -35
- package/css/time-picker.css +15 -15
- package/css/toast-notification.css +34 -34
- package/css/tooltip.css +3 -1
- package/css/tree.css +7 -7
- package/css/user-icon.css +15 -16
- package/css/wizard.css +26 -26
- package/package.json +1 -1
- package/scss/carousel/carousel.scss +22 -28
- package/scss/classes.scss +1 -0
- package/scss/color-picker/color-picker.scss +2 -2
- package/scss/date-picker/classes.scss +20 -0
- package/scss/date-picker/date-picker.scss +194 -33
- package/scss/fieldset/fieldset.scss +1 -1
- package/scss/header/header.scss +15 -10
- package/scss/index.scss +1 -0
- package/scss/information-panel/information-panel.scss +10 -3
- package/scss/menu/classes.scss +2 -1
- package/scss/menu/menu.scss +8 -11
- package/scss/modal/modal.scss +2 -1
- package/scss/progress-indicator/linear.scss +1 -1
- package/scss/progress-indicator/radial.scss +1 -1
- package/scss/side-navigation/side-navigation.scss +5 -5
- package/scss/slider/slider.scss +2 -2
- package/scss/style/elevation.scss +5 -5
- package/scss/style/global.scss +32 -21
- package/scss/style/mixins.scss +1 -1
- package/scss/style/theme.scss +248 -65
- package/scss/surface/classes.scss +7 -0
- package/scss/surface/index.scss +3 -0
- package/scss/surface/surface.scss +18 -0
- package/scss/table/column-filter.scss +2 -2
- package/scss/table/table.scss +3 -3
- package/scss/tile/tile.scss +5 -5
- package/scss/time-picker/time-picker.scss +2 -2
- package/scss/tooltip/tooltip.scss +1 -0
- package/scss/wizard/wizard.scss +1 -1
package/css/wizard.css
CHANGED
|
@@ -44,25 +44,25 @@
|
|
|
44
44
|
border-radius:0;
|
|
45
45
|
font-weight:400;
|
|
46
46
|
text-align:center;
|
|
47
|
-
background-color:#
|
|
48
|
-
border-color:#
|
|
49
|
-
color
|
|
47
|
+
background-color:#53a21a;
|
|
48
|
+
border-color:#53a21a;
|
|
49
|
+
color:white;
|
|
50
50
|
background-color:var(--iui-color-background-positive);
|
|
51
51
|
border-color:var(--iui-color-background-positive);
|
|
52
52
|
color:var(--iui-color-foreground-accessory);
|
|
53
53
|
}
|
|
54
54
|
.iui-wizard.iui-workflow .iui-wizard-step:first-of-type .iui-wizard-circle, .iui-wizard.iui-workflow .iui-wizard-step:last-of-type .iui-wizard-circle{
|
|
55
55
|
border-radius:12px;
|
|
56
|
-
background-color
|
|
57
|
-
border-color:#
|
|
58
|
-
color:#
|
|
56
|
+
background-color:white;
|
|
57
|
+
border-color:#53a21a;
|
|
58
|
+
color:#53a21a;
|
|
59
59
|
background-color:var(--iui-color-background-1);
|
|
60
60
|
border-color:var(--iui-color-foreground-positive);
|
|
61
61
|
color:var(--iui-color-foreground-positive);
|
|
62
62
|
}
|
|
63
63
|
.iui-wizard.iui-workflow .iui-wizard-track-content::before,
|
|
64
64
|
.iui-wizard.iui-workflow .iui-wizard-track-content::after{
|
|
65
|
-
background-color:#
|
|
65
|
+
background-color:#53a21a;
|
|
66
66
|
background-color:var(--iui-color-foreground-positive);
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
font-size:12px;
|
|
79
79
|
font-weight:400;
|
|
80
80
|
line-height:22px;
|
|
81
|
-
color:#
|
|
81
|
+
color:#53a21a;
|
|
82
82
|
color:var(--iui-color-background-positive);
|
|
83
83
|
}
|
|
84
84
|
.iui-wizard-step .iui-wizard-circle{
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
-ms-user-select:none;
|
|
95
95
|
user-select:none;
|
|
96
96
|
transition:background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
|
|
97
|
-
border:1px solid #
|
|
98
|
-
background-color
|
|
99
|
-
color:#
|
|
97
|
+
border:1px solid #53a21a;
|
|
98
|
+
background-color:white;
|
|
99
|
+
color:#53a21a;
|
|
100
100
|
border:1px solid var(--iui-color-foreground-positive);
|
|
101
101
|
background-color:var(--iui-color-background-1);
|
|
102
102
|
color:var(--iui-color-foreground-positive);
|
|
@@ -105,26 +105,26 @@
|
|
|
105
105
|
font-weight:600;
|
|
106
106
|
}
|
|
107
107
|
.iui-wizard-step.iui-current .iui-wizard-step-name{
|
|
108
|
-
color:#
|
|
108
|
+
color:#53a21a;
|
|
109
109
|
color:var(--iui-color-foreground-positive);
|
|
110
110
|
}
|
|
111
111
|
.iui-wizard-step.iui-current .iui-wizard-circle{
|
|
112
|
-
color
|
|
113
|
-
border-color:#
|
|
114
|
-
background-color:#
|
|
112
|
+
color:white;
|
|
113
|
+
border-color:#53a21a;
|
|
114
|
+
background-color:#53a21a;
|
|
115
115
|
color:var(--iui-color-foreground-accessory);
|
|
116
116
|
border-color:var(--iui-color-background-positive);
|
|
117
117
|
background-color:var(--iui-color-background-positive);
|
|
118
118
|
}
|
|
119
119
|
.iui-wizard-step.iui-current .iui-wizard-track-content::after{
|
|
120
|
-
background-color:#
|
|
120
|
+
background-color:#c7ccd1;
|
|
121
121
|
background-color:var(--iui-color-background-5);
|
|
122
122
|
}
|
|
123
123
|
.iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-circle{
|
|
124
|
-
border:1px solid #
|
|
125
|
-
background-color
|
|
124
|
+
border:1px solid #c7ccd1;
|
|
125
|
+
background-color:white;
|
|
126
126
|
color:rgba(0, 0, 0, 0.4);
|
|
127
|
-
border:1px solid var(--iui-color-background-
|
|
127
|
+
border:1px solid var(--iui-color-background-border);
|
|
128
128
|
background-color:var(--iui-color-background-1);
|
|
129
129
|
color:var(--iui-text-color-muted);
|
|
130
130
|
}
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
color:var(--iui-text-color-muted);
|
|
134
134
|
}
|
|
135
135
|
.iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-track-content::before, .iui-wizard-step.iui-current ~ .iui-wizard-step:not(:last-of-type) .iui-wizard-track-content::after{
|
|
136
|
-
background-color:#
|
|
136
|
+
background-color:#c7ccd1;
|
|
137
137
|
background-color:var(--iui-color-background-5);
|
|
138
138
|
}
|
|
139
139
|
.iui-wizard-step.iui-clickable .iui-wizard-circle{
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
.iui-wizard-step.iui-clickable .iui-wizard-circle:hover{
|
|
148
|
-
color
|
|
149
|
-
border:1px solid #
|
|
150
|
-
background-color:#
|
|
148
|
+
color:white;
|
|
149
|
+
border:1px solid #53a21a;
|
|
150
|
+
background-color:#53a21a;
|
|
151
151
|
color:var(--iui-color-foreground-accessory);
|
|
152
152
|
border:1px solid var(--iui-color-background-positive);
|
|
153
153
|
background-color:var(--iui-color-background-positive);
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
outline:0;
|
|
157
157
|
}
|
|
158
158
|
.iui-wizard-step.iui-clickable:focus .iui-wizard-circle{
|
|
159
|
-
outline:2px solid #
|
|
159
|
+
outline:2px solid #53a21a;
|
|
160
160
|
outline:2px solid var(--iui-color-foreground-positive);
|
|
161
161
|
outline-offset:-1px;
|
|
162
162
|
}
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
content:"";
|
|
177
177
|
height:2px;
|
|
178
178
|
flex:1 2 auto;
|
|
179
|
-
background-color:#
|
|
179
|
+
background-color:#53a21a;
|
|
180
180
|
background-color:var(--iui-color-foreground-positive);
|
|
181
181
|
}
|
|
182
182
|
|
|
@@ -185,6 +185,6 @@
|
|
|
185
185
|
-webkit-user-select:all;
|
|
186
186
|
-moz-user-select:all;
|
|
187
187
|
user-select:all;
|
|
188
|
-
color:#
|
|
188
|
+
color:#53a21a;
|
|
189
189
|
color:var(--iui-color-foreground-positive);
|
|
190
190
|
}
|
package/package.json
CHANGED
|
@@ -16,18 +16,8 @@
|
|
|
16
16
|
list-style: none;
|
|
17
17
|
margin: 0;
|
|
18
18
|
padding: 0;
|
|
19
|
-
overflow-x: auto;
|
|
20
|
-
overflow-x: overlay;
|
|
21
19
|
scroll-snap-type: x mandatory;
|
|
22
|
-
@
|
|
23
|
-
scroll-behavior: smooth;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// hide scrollbar
|
|
27
|
-
&::-webkit-scrollbar {
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
30
|
-
scrollbar-width: none;
|
|
20
|
+
@include hide-scrollbar;
|
|
31
21
|
|
|
32
22
|
&-item {
|
|
33
23
|
width: 100%;
|
|
@@ -63,15 +53,11 @@
|
|
|
63
53
|
&-dots {
|
|
64
54
|
@include iui-reset;
|
|
65
55
|
@include iui-focus;
|
|
66
|
-
display: flex;
|
|
67
|
-
align-items: center;
|
|
68
56
|
flex: 2;
|
|
69
57
|
max-width: $iui-xxl * 4;
|
|
70
58
|
border-radius: $iui-border-radius;
|
|
71
59
|
white-space: nowrap;
|
|
72
|
-
|
|
73
|
-
justify-content: center;
|
|
74
|
-
list-style: none;
|
|
60
|
+
@include hide-scrollbar;
|
|
75
61
|
}
|
|
76
62
|
|
|
77
63
|
&-dot {
|
|
@@ -86,22 +72,17 @@
|
|
|
86
72
|
}
|
|
87
73
|
}
|
|
88
74
|
|
|
89
|
-
&.iui-invisible {
|
|
90
|
-
@include visually-hidden;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
75
|
&::after {
|
|
94
76
|
content: '';
|
|
95
77
|
display: block;
|
|
96
78
|
width: $iui-icons-small;
|
|
97
79
|
height: $iui-icons-small;
|
|
98
80
|
border-radius: 50%;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
transition: background-color $iui-speed-fast $iui-speed-fast ease, transform $iui-speed ease;
|
|
102
|
-
}
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
border: 1px solid transparent;
|
|
103
83
|
@include themed {
|
|
104
84
|
background-color: rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-4));
|
|
85
|
+
box-shadow: inset 0 0 0 0 t(iui-color-background-1);
|
|
105
86
|
}
|
|
106
87
|
}
|
|
107
88
|
|
|
@@ -113,13 +94,15 @@
|
|
|
113
94
|
transform: scale(0.75);
|
|
114
95
|
}
|
|
115
96
|
|
|
116
|
-
&.iui-invisible::after {
|
|
117
|
-
transform: scale(0);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
97
|
&.iui-active::after {
|
|
121
98
|
@include themed {
|
|
122
99
|
background-color: t(iui-color-foreground-primary);
|
|
100
|
+
border-color: t(iui-color-foreground-primary);
|
|
101
|
+
box-shadow: inset 0 0 0 1px t(iui-color-background-1);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media (forced-colors: active) {
|
|
105
|
+
border-width: $iui-icons-small * 0.5;
|
|
123
106
|
}
|
|
124
107
|
}
|
|
125
108
|
}
|
|
@@ -128,3 +111,14 @@
|
|
|
128
111
|
justify-content: flex-end;
|
|
129
112
|
}
|
|
130
113
|
}
|
|
114
|
+
|
|
115
|
+
@mixin hide-scrollbar {
|
|
116
|
+
overflow-x: auto;
|
|
117
|
+
overflow-x: overlay;
|
|
118
|
+
|
|
119
|
+
// hide scrollbar
|
|
120
|
+
&::-webkit-scrollbar {
|
|
121
|
+
display: none;
|
|
122
|
+
}
|
|
123
|
+
scrollbar-width: none;
|
|
124
|
+
}
|
package/scss/classes.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
|
-
@import '../
|
|
4
|
+
@import '../surface/index';
|
|
5
5
|
@import '../button/borderless';
|
|
6
6
|
|
|
7
7
|
$iui-color-picker-content-width: ($iui-l * 9) + ($iui-s * 8); // (9 swatches per row) + (gaps)
|
|
@@ -14,7 +14,7 @@ $iui-hover-box-shadow: 0 0 1px $iui-xxs + 1 rgba(var(--iui-color-foreground-body
|
|
|
14
14
|
@mixin iui-color-picker {
|
|
15
15
|
--iui-color-picker-selected-color: initial;
|
|
16
16
|
|
|
17
|
-
@include iui-
|
|
17
|
+
@include iui-surface;
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
border-radius: $iui-border-radius;
|
|
20
20
|
display: inline-flex;
|
|
@@ -25,3 +25,23 @@
|
|
|
25
25
|
.iui-calendar-day {
|
|
26
26
|
@include iui-calendar-day;
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
.iui-calendar-day-selected {
|
|
30
|
+
@include iui-calendar-day-selected;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.iui-calendar-day-outside-month {
|
|
34
|
+
@include iui-calendar-day-outside-month;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.iui-calendar-day-range-start {
|
|
38
|
+
@include iui-calendar-day-range-start;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.iui-calendar-day-range-end {
|
|
42
|
+
@include iui-calendar-day-range-end;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.iui-calendar-day-range {
|
|
46
|
+
@include iui-calendar-day-range;
|
|
47
|
+
}
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
// See LICENSE.md in the project root for license terms and full copyright notice.
|
|
3
3
|
@import '../style/index';
|
|
4
4
|
@import '../icon/index';
|
|
5
|
-
@import '../
|
|
5
|
+
@import '../surface/index';
|
|
6
|
+
|
|
7
|
+
$iui-date-picker-cell-width: 40px;
|
|
8
|
+
$iui-date-picker-cell-height: 36px;
|
|
9
|
+
$iui-date-picker-today-circle-size: 32px;
|
|
6
10
|
|
|
7
11
|
@mixin iui-date-picker {
|
|
8
|
-
@include iui-
|
|
9
|
-
box-shadow: $iui-elevation-2;
|
|
12
|
+
@include iui-surface;
|
|
10
13
|
user-select: none;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
display: grid;
|
|
15
|
+
grid-template-columns: 1fr auto;
|
|
16
|
+
|
|
17
|
+
.iui-time-picker {
|
|
18
|
+
height: 0;
|
|
19
|
+
min-height: 100%;
|
|
16
20
|
}
|
|
17
21
|
}
|
|
18
22
|
|
|
@@ -24,12 +28,9 @@
|
|
|
24
28
|
padding: 0 $iui-xs;
|
|
25
29
|
box-sizing: border-box;
|
|
26
30
|
font-weight: $iui-font-weight-bold;
|
|
27
|
-
|
|
28
|
-
background-color: t(iui-color-background-1);
|
|
29
|
-
}
|
|
31
|
+
gap: $iui-xs;
|
|
30
32
|
|
|
31
33
|
> span {
|
|
32
|
-
margin: 0 $iui-xs;
|
|
33
34
|
width: 156px;
|
|
34
35
|
white-space: nowrap;
|
|
35
36
|
display: inline-flex;
|
|
@@ -49,10 +50,8 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
@mixin iui-calendar-weekdays {
|
|
52
|
-
line-height: $iui-
|
|
53
|
+
line-height: $iui-date-picker-cell-height;
|
|
53
54
|
display: flex;
|
|
54
|
-
justify-content: space-evenly;
|
|
55
|
-
align-items: center;
|
|
56
55
|
padding: 0 $iui-s;
|
|
57
56
|
font-weight: $iui-font-weight-bold;
|
|
58
57
|
@include themed {
|
|
@@ -62,58 +61,220 @@
|
|
|
62
61
|
> div {
|
|
63
62
|
white-space: nowrap;
|
|
64
63
|
overflow: hidden;
|
|
65
|
-
width: $iui-
|
|
64
|
+
width: $iui-date-picker-cell-width;
|
|
66
65
|
text-align: center;
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
@mixin iui-calendar-week {
|
|
71
70
|
white-space: nowrap;
|
|
72
|
-
height: $iui-
|
|
71
|
+
line-height: $iui-date-picker-cell-height;
|
|
73
72
|
display: flex;
|
|
74
|
-
align-items: center;
|
|
75
|
-
justify-content: space-evenly;
|
|
76
73
|
padding: 0 $iui-s;
|
|
74
|
+
margin-bottom: $iui-xxs;
|
|
77
75
|
}
|
|
78
76
|
|
|
79
|
-
|
|
77
|
+
//#region Helper mixins
|
|
78
|
+
@mixin iui-calendar-day-base {
|
|
80
79
|
@include iui-focus;
|
|
81
80
|
cursor: pointer;
|
|
82
|
-
|
|
83
|
-
width: $iui-
|
|
84
|
-
|
|
81
|
+
text-align: center;
|
|
82
|
+
width: $iui-date-picker-cell-width;
|
|
83
|
+
height: $iui-date-picker-cell-height;
|
|
85
84
|
border-radius: $iui-border-radius;
|
|
85
|
+
font-variant-numeric: tabular-nums;
|
|
86
|
+
}
|
|
86
87
|
|
|
87
|
-
|
|
88
|
+
@mixin iui-calendar-day-base-hover {
|
|
89
|
+
&:hover {
|
|
88
90
|
font-weight: $iui-font-weight-semibold;
|
|
89
|
-
border-radius: 50%;
|
|
90
91
|
@include themed {
|
|
91
|
-
|
|
92
|
+
color: t(iui-color-foreground-primary);
|
|
93
|
+
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@mixin iui-calendar-day-today-base {
|
|
99
|
+
position: relative;
|
|
100
|
+
font-weight: $iui-font-weight-semibold;
|
|
101
|
+
|
|
102
|
+
&::before {
|
|
103
|
+
content: '';
|
|
104
|
+
position: absolute;
|
|
105
|
+
display: block;
|
|
106
|
+
width: $iui-date-picker-today-circle-size;
|
|
107
|
+
height: $iui-date-picker-today-circle-size;
|
|
108
|
+
border-radius: $iui-border-radius-round;
|
|
109
|
+
box-sizing: border-box;
|
|
110
|
+
top: 50%;
|
|
111
|
+
left: 50%;
|
|
112
|
+
transform: translate(-50%, -50%);
|
|
113
|
+
@include themed {
|
|
114
|
+
border: 2px solid rgba(t(iui-color-foreground-body-rgb), t(iui-opacity-5));
|
|
92
115
|
}
|
|
93
116
|
}
|
|
94
117
|
|
|
95
118
|
&:hover {
|
|
96
|
-
|
|
119
|
+
background-color: initial;
|
|
97
120
|
@include themed {
|
|
98
121
|
color: t(iui-color-foreground-primary);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&:hover::before {
|
|
126
|
+
@include themed {
|
|
99
127
|
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-6));
|
|
100
128
|
}
|
|
101
129
|
}
|
|
130
|
+
}
|
|
102
131
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
132
|
+
@mixin iui-calendar-day-selected-base {
|
|
133
|
+
font-weight: $iui-font-weight-semibold;
|
|
134
|
+
@include themed {
|
|
135
|
+
background-color: t(iui-color-background-primary);
|
|
136
|
+
color: t(iui-color-foreground-accessory);
|
|
137
|
+
}
|
|
138
|
+
@include iui-focus($color: var(--iui-color-foreground-accessory), $offset: -3px);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@mixin iui-calendar-day-selected-today-base {
|
|
142
|
+
&:hover {
|
|
107
143
|
@include themed {
|
|
108
144
|
background-color: t(iui-color-background-primary);
|
|
109
145
|
color: t(iui-color-foreground-accessory);
|
|
110
146
|
}
|
|
111
|
-
|
|
147
|
+
|
|
148
|
+
&::before {
|
|
149
|
+
@include themed {
|
|
150
|
+
background-color: initial;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&::before {
|
|
156
|
+
@include themed {
|
|
157
|
+
border-color: rgba(t(iui-color-foreground-accessory-rgb), t(iui-opacity-4));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
//#endregion Helper mixins
|
|
162
|
+
|
|
163
|
+
@mixin iui-calendar-day {
|
|
164
|
+
&,
|
|
165
|
+
&-today {
|
|
166
|
+
@include iui-calendar-day-base;
|
|
167
|
+
@include iui-calendar-day-base-hover;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&-today {
|
|
171
|
+
@include iui-calendar-day-today-base;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@mixin iui-calendar-day-selected {
|
|
176
|
+
&,
|
|
177
|
+
&-today {
|
|
178
|
+
@include iui-calendar-day-base;
|
|
179
|
+
@include iui-calendar-day-selected-base;
|
|
180
|
+
cursor: default;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&-today {
|
|
184
|
+
@include iui-calendar-day-today-base;
|
|
185
|
+
@include iui-calendar-day-selected-today-base;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@mixin iui-calendar-day-range-start {
|
|
190
|
+
&,
|
|
191
|
+
&-today {
|
|
192
|
+
@include iui-calendar-day-base;
|
|
193
|
+
@include iui-calendar-day-selected-base;
|
|
194
|
+
|
|
195
|
+
border-top-right-radius: 0;
|
|
196
|
+
border-bottom-right-radius: 0;
|
|
197
|
+
cursor: pointer;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&-today {
|
|
201
|
+
@include iui-calendar-day-today-base;
|
|
202
|
+
@include iui-calendar-day-selected-today-base;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
@mixin iui-calendar-day-range-end {
|
|
207
|
+
&,
|
|
208
|
+
&-today {
|
|
209
|
+
@include iui-calendar-day-base;
|
|
210
|
+
@include iui-calendar-day-selected-base;
|
|
211
|
+
|
|
212
|
+
border-top-left-radius: 0;
|
|
213
|
+
border-bottom-left-radius: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&-today {
|
|
217
|
+
@include iui-calendar-day-today-base;
|
|
218
|
+
@include iui-calendar-day-selected-today-base;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@mixin iui-calendar-day-range {
|
|
223
|
+
&,
|
|
224
|
+
&-today {
|
|
225
|
+
@include iui-calendar-day-base;
|
|
226
|
+
|
|
227
|
+
border-radius: 0;
|
|
228
|
+
@include themed {
|
|
229
|
+
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-5));
|
|
230
|
+
color: t(iui-text-color);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&:hover {
|
|
234
|
+
font-weight: $iui-font-weight-semibold;
|
|
235
|
+
|
|
236
|
+
@include themed {
|
|
237
|
+
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-4));
|
|
238
|
+
}
|
|
239
|
+
}
|
|
112
240
|
}
|
|
113
241
|
|
|
114
|
-
|
|
242
|
+
&-today {
|
|
243
|
+
@include iui-calendar-day-today-base;
|
|
244
|
+
|
|
245
|
+
&:hover {
|
|
246
|
+
@include themed {
|
|
247
|
+
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-5));
|
|
248
|
+
color: t(iui-text-color);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
&::before {
|
|
252
|
+
@include themed {
|
|
253
|
+
background-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-4));
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&::before {
|
|
259
|
+
@include themed {
|
|
260
|
+
border-color: rgba(t(iui-color-foreground-primary-rgb), t(iui-opacity-4));
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@mixin iui-calendar-day-outside-month {
|
|
267
|
+
&,
|
|
268
|
+
&-today {
|
|
269
|
+
@include iui-calendar-day-base;
|
|
270
|
+
@include iui-calendar-day-base-hover;
|
|
271
|
+
|
|
115
272
|
@include themed {
|
|
116
273
|
color: t(iui-text-color-muted);
|
|
117
274
|
}
|
|
118
275
|
}
|
|
276
|
+
|
|
277
|
+
&-today {
|
|
278
|
+
@include iui-calendar-day-today-base;
|
|
279
|
+
}
|
|
119
280
|
}
|
package/scss/header/header.scss
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
@include themed {
|
|
23
23
|
background-color: t(iui-color-background-1);
|
|
24
|
-
border-bottom: $iui-xxs solid t(iui-color-background-
|
|
24
|
+
border-bottom: $iui-xxs solid t(iui-color-background-border);
|
|
25
25
|
color: t(iui-text-color);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
width: 1px;
|
|
84
84
|
height: $iui-baseline * 2;
|
|
85
85
|
@include themed {
|
|
86
|
-
background-color: t(iui-color-background-
|
|
86
|
+
background-color: t(iui-color-background-border);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -252,15 +252,16 @@
|
|
|
252
252
|
overflow: hidden;
|
|
253
253
|
text-overflow: ellipsis;
|
|
254
254
|
}
|
|
255
|
+
}
|
|
255
256
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
257
|
+
.iui-description {
|
|
258
|
+
height: $iui-baseline * 2;
|
|
259
|
+
font-size: $iui-font-size-small;
|
|
260
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
261
|
+
transition: all $iui-speed-fast ease;
|
|
262
|
+
}
|
|
263
|
+
@include themed {
|
|
264
|
+
opacity: t(iui-opacity-3);
|
|
264
265
|
}
|
|
265
266
|
}
|
|
266
267
|
|
|
@@ -378,6 +379,10 @@
|
|
|
378
379
|
}
|
|
379
380
|
}
|
|
380
381
|
|
|
382
|
+
.iui-description {
|
|
383
|
+
opacity: 1;
|
|
384
|
+
}
|
|
385
|
+
|
|
381
386
|
&,
|
|
382
387
|
&:hover {
|
|
383
388
|
// Blue background and darker blue bottom line
|
package/scss/index.scss
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
@mixin iui-information-panel {
|
|
12
12
|
position: absolute;
|
|
13
13
|
opacity: 0;
|
|
14
|
+
visibility: hidden;
|
|
14
15
|
display: flex;
|
|
15
16
|
flex-direction: column;
|
|
16
17
|
box-sizing: border-box;
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
max-height: 100%;
|
|
19
20
|
z-index: 2; // Needs to be higher than table's column resizers.
|
|
20
21
|
@media (prefers-reduced-motion: no-preference) {
|
|
21
|
-
transition:
|
|
22
|
+
transition: visibility $iui-speed-instant $iui-speed-fast ease-in, transform $iui-speed-fast ease-out,
|
|
23
|
+
opacity $iui-speed-fast ease;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
@include themed {
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
|
|
33
35
|
> .iui-resizer-bar {
|
|
34
36
|
@include themed {
|
|
35
|
-
background-color: t(iui-color-background-
|
|
37
|
+
background-color: t(iui-color-background-border);
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
|
|
101
103
|
> hr {
|
|
102
104
|
@include themed {
|
|
103
|
-
border-color: t(iui-color-background-
|
|
105
|
+
border-color: t(iui-color-background-border);
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
}
|
|
@@ -108,8 +110,13 @@
|
|
|
108
110
|
|
|
109
111
|
@mixin iui-information-panel-visible {
|
|
110
112
|
opacity: 1;
|
|
113
|
+
visibility: visible;
|
|
111
114
|
transform: translate(0);
|
|
112
115
|
|
|
116
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
117
|
+
transition: transform $iui-speed-fast ease-out, opacity $iui-speed-fast ease;
|
|
118
|
+
}
|
|
119
|
+
|
|
113
120
|
> .iui-resizer {
|
|
114
121
|
display: flex;
|
|
115
122
|
}
|