@itwin/itwinui-css 0.50.1 → 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 +234 -176
- package/css/all.css +8324 -5880
- package/css/badge.css +3 -2
- package/css/blockquote.css +12 -9
- package/css/breadcrumbs.css +110 -87
- package/css/button.css +441 -345
- package/css/carousel.css +110 -91
- package/css/code.css +70 -57
- package/css/color-picker.css +164 -113
- package/css/date-picker.css +454 -80
- package/css/expandable-block.css +213 -161
- package/css/fieldset.css +25 -21
- package/css/file-upload.css +93 -79
- package/css/footer.css +64 -53
- package/css/global.css +550 -197
- package/css/header.css +485 -367
- package/css/icon.css +108 -78
- package/css/information-panel.css +181 -137
- package/css/inputs.css +1137 -945
- package/css/keyboard.css +14 -10
- package/css/location-marker.css +69 -59
- package/css/menu.css +124 -86
- package/css/modal.css +114 -44
- package/css/non-ideal-state.css +47 -40
- package/css/notification-marker.css +275 -200
- package/css/popover.css +10 -8
- package/css/progress-indicator.css +316 -238
- package/css/reset-global-styles.css +10 -5
- package/css/side-navigation.css +193 -144
- package/css/skip-to-content.css +42 -28
- package/css/slider.css +116 -91
- package/css/surface.css +19 -0
- package/css/table.css +578 -430
- package/css/tabs.css +324 -238
- package/css/tag.css +112 -85
- package/css/text.css +47 -28
- package/css/tile.css +389 -313
- package/css/time-picker.css +114 -87
- package/css/toast-notification.css +234 -175
- package/css/toggle-switch.css +176 -111
- package/css/tooltip.css +24 -17
- package/css/tree.css +123 -93
- package/css/user-icon.css +222 -162
- package/css/wizard.css +158 -133
- package/package.json +5 -6
- package/scss/alert/alert.scss +1 -5
- package/scss/carousel/carousel.scss +24 -27
- package/scss/classes.scss +1 -0
- package/scss/code/codeblock.scss +1 -1
- 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/inputs/checkbox.scss +1 -0
- package/scss/inputs/labeled-inputs.scss +8 -8
- package/scss/inputs/radio.scss +0 -4
- package/scss/location-marker/data-rich.scss +1 -1
- package/scss/location-marker/me.scss +4 -4
- package/scss/menu/classes.scss +2 -1
- package/scss/menu/menu.scss +8 -11
- package/scss/modal/classes.scss +4 -0
- package/scss/modal/modal.scss +82 -7
- package/scss/popover/popover.scss +1 -2
- package/scss/progress-indicator/linear.scss +3 -11
- 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 +33 -26
- package/scss/style/mixins.scss +9 -0
- package/scss/style/ripple.scss +1 -1
- package/scss/style/speed.scss +1 -0
- 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 +26 -17
- package/scss/tile/tile.scss +5 -5
- package/scss/time-picker/time-picker.scss +2 -2
- package/scss/toast-notification/categories.scss +1 -5
- package/scss/toggle-switch/classes.scss +4 -0
- package/scss/toggle-switch/toggle-switch.scss +141 -162
- package/scss/tooltip/tooltip.scss +2 -1
- package/scss/user-icon/user-icon.scss +38 -19
- package/scss/wizard/wizard.scss +1 -1
package/css/wizard.css
CHANGED
|
@@ -6,58 +6,65 @@
|
|
|
6
6
|
margin:0;
|
|
7
7
|
padding:0;
|
|
8
8
|
border:none;
|
|
9
|
-
vertical-align:baseline;
|
|
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
|
-
|
|
9
|
+
vertical-align:baseline;
|
|
10
|
+
}
|
|
11
|
+
.iui-wizard > ol{
|
|
12
|
+
margin:0;
|
|
13
|
+
padding:0;
|
|
14
|
+
border:none;
|
|
15
|
+
vertical-align:baseline;
|
|
16
|
+
display:flex;
|
|
17
|
+
justify-content:space-around;
|
|
18
|
+
align-items:flex-start;
|
|
19
|
+
width:100%;
|
|
20
|
+
margin-bottom:5.5px;
|
|
21
|
+
}
|
|
22
|
+
.iui-wizard.iui-long .iui-wizard-steps-label{
|
|
23
|
+
display:block;
|
|
24
|
+
font-size:18px;
|
|
25
|
+
text-align:center;
|
|
26
|
+
}
|
|
27
|
+
.iui-wizard.iui-long .iui-steps-count{
|
|
28
|
+
-webkit-user-select:none;
|
|
29
|
+
-moz-user-select:none;
|
|
30
|
+
-ms-user-select:none;
|
|
31
|
+
user-select:none;
|
|
32
|
+
margin-right:8px;
|
|
33
|
+
color:rgba(0, 0, 0, 0.4);
|
|
34
|
+
color:var(--iui-text-color-muted);
|
|
35
|
+
}
|
|
36
|
+
.iui-wizard.iui-workflow > ol{
|
|
37
|
+
align-items:center;
|
|
38
|
+
}
|
|
39
|
+
.iui-wizard.iui-workflow .iui-wizard-step .iui-wizard-circle{
|
|
40
|
+
padding-left:16px;
|
|
41
|
+
padding-right:16px;
|
|
42
|
+
height:100%;
|
|
43
|
+
width:auto;
|
|
44
|
+
border-radius:0;
|
|
45
|
+
font-weight:400;
|
|
46
|
+
text-align:center;
|
|
47
|
+
background-color:#53a21a;
|
|
48
|
+
border-color:#53a21a;
|
|
49
|
+
color:white;
|
|
50
|
+
background-color:var(--iui-color-background-positive);
|
|
51
|
+
border-color:var(--iui-color-background-positive);
|
|
52
|
+
color:var(--iui-color-foreground-accessory);
|
|
53
|
+
}
|
|
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
|
+
border-radius:12px;
|
|
56
|
+
background-color:white;
|
|
57
|
+
border-color:#53a21a;
|
|
58
|
+
color:#53a21a;
|
|
59
|
+
background-color:var(--iui-color-background-1);
|
|
60
|
+
border-color:var(--iui-color-foreground-positive);
|
|
61
|
+
color:var(--iui-color-foreground-positive);
|
|
62
|
+
}
|
|
63
|
+
.iui-wizard.iui-workflow .iui-wizard-track-content::before,
|
|
64
|
+
.iui-wizard.iui-workflow .iui-wizard-track-content::after{
|
|
65
|
+
background-color:#53a21a;
|
|
66
|
+
background-color:var(--iui-color-foreground-positive);
|
|
67
|
+
}
|
|
61
68
|
|
|
62
69
|
.iui-wizard-step{
|
|
63
70
|
flex:1;
|
|
@@ -71,95 +78,113 @@
|
|
|
71
78
|
font-size:12px;
|
|
72
79
|
font-weight:400;
|
|
73
80
|
line-height:22px;
|
|
74
|
-
color:#
|
|
75
|
-
color:var(--iui-color-background-positive);
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
81
|
+
color:#53a21a;
|
|
82
|
+
color:var(--iui-color-background-positive);
|
|
83
|
+
}
|
|
84
|
+
.iui-wizard-step .iui-wizard-circle{
|
|
85
|
+
align-items:center;
|
|
86
|
+
border-radius:50%;
|
|
87
|
+
display:flex;
|
|
88
|
+
width:24px;
|
|
89
|
+
height:24px;
|
|
90
|
+
justify-content:center;
|
|
91
|
+
overflow-wrap:break-word;
|
|
92
|
+
-webkit-user-select:none;
|
|
93
|
+
-moz-user-select:none;
|
|
94
|
+
-ms-user-select:none;
|
|
95
|
+
user-select:none;
|
|
96
|
+
transition:background-color 0.2s ease-out, border-color 0.2s ease-out, color 0.2s ease-out;
|
|
97
|
+
border:1px solid #53a21a;
|
|
98
|
+
background-color:white;
|
|
99
|
+
color:#53a21a;
|
|
100
|
+
border:1px solid var(--iui-color-foreground-positive);
|
|
101
|
+
background-color:var(--iui-color-background-1);
|
|
102
|
+
color:var(--iui-color-foreground-positive);
|
|
103
|
+
}
|
|
104
|
+
.iui-wizard-step.iui-current{
|
|
105
|
+
font-weight:600;
|
|
106
|
+
}
|
|
107
|
+
.iui-wizard-step.iui-current .iui-wizard-step-name{
|
|
108
|
+
color:#53a21a;
|
|
109
|
+
color:var(--iui-color-foreground-positive);
|
|
110
|
+
}
|
|
111
|
+
.iui-wizard-step.iui-current .iui-wizard-circle{
|
|
112
|
+
color:white;
|
|
113
|
+
border-color:#53a21a;
|
|
114
|
+
background-color:#53a21a;
|
|
115
|
+
color:var(--iui-color-foreground-accessory);
|
|
116
|
+
border-color:var(--iui-color-background-positive);
|
|
117
|
+
background-color:var(--iui-color-background-positive);
|
|
118
|
+
}
|
|
119
|
+
.iui-wizard-step.iui-current .iui-wizard-track-content::after{
|
|
120
|
+
background-color:#c7ccd1;
|
|
121
|
+
background-color:var(--iui-color-background-5);
|
|
122
|
+
}
|
|
123
|
+
.iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-circle{
|
|
124
|
+
border:1px solid #c7ccd1;
|
|
125
|
+
background-color:white;
|
|
126
|
+
color:rgba(0, 0, 0, 0.4);
|
|
127
|
+
border:1px solid var(--iui-color-background-border);
|
|
128
|
+
background-color:var(--iui-color-background-1);
|
|
129
|
+
color:var(--iui-text-color-muted);
|
|
130
|
+
}
|
|
131
|
+
.iui-wizard-step.iui-current ~ .iui-wizard-step .iui-wizard-step-name{
|
|
132
|
+
color:rgba(0, 0, 0, 0.4);
|
|
133
|
+
color:var(--iui-text-color-muted);
|
|
134
|
+
}
|
|
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:#c7ccd1;
|
|
137
|
+
background-color:var(--iui-color-background-5);
|
|
138
|
+
}
|
|
139
|
+
.iui-wizard-step.iui-clickable .iui-wizard-circle{
|
|
140
|
+
cursor:pointer;
|
|
141
|
+
}
|
|
142
|
+
@media (prefers-reduced-motion: no-preference){
|
|
124
143
|
.iui-wizard-step.iui-clickable .iui-wizard-circle{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
transition:background-color 0.2s ease-out;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
.iui-wizard-step.iui-clickable .iui-wizard-circle:hover{
|
|
148
|
+
color:white;
|
|
149
|
+
border:1px solid #53a21a;
|
|
150
|
+
background-color:#53a21a;
|
|
151
|
+
color:var(--iui-color-foreground-accessory);
|
|
152
|
+
border:1px solid var(--iui-color-background-positive);
|
|
153
|
+
background-color:var(--iui-color-background-positive);
|
|
154
|
+
}
|
|
155
|
+
.iui-wizard-step.iui-clickable:focus{
|
|
156
|
+
outline:0;
|
|
157
|
+
}
|
|
158
|
+
.iui-wizard-step.iui-clickable:focus .iui-wizard-circle{
|
|
159
|
+
outline:2px solid #53a21a;
|
|
160
|
+
outline:2px solid var(--iui-color-foreground-positive);
|
|
161
|
+
outline-offset:-1px;
|
|
162
|
+
}
|
|
163
|
+
.iui-wizard-step.iui-clickable:focus:not(:focus-visible) .iui-wizard-circle{
|
|
164
|
+
outline:none;
|
|
165
|
+
}
|
|
166
|
+
.iui-wizard-step:first-of-type .iui-wizard-track-content::before, .iui-wizard-step:last-of-type .iui-wizard-track-content::after{
|
|
167
|
+
background-color:transparent;
|
|
168
|
+
}
|
|
147
169
|
|
|
148
170
|
.iui-wizard-track-content{
|
|
149
171
|
display:flex;
|
|
150
172
|
align-items:center;
|
|
151
|
-
width:100%;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
173
|
+
width:100%;
|
|
174
|
+
}
|
|
175
|
+
.iui-wizard-track-content::before, .iui-wizard-track-content::after{
|
|
176
|
+
content:"";
|
|
177
|
+
height:2px;
|
|
178
|
+
flex:1 2 auto;
|
|
179
|
+
background-color:#53a21a;
|
|
180
|
+
background-color:var(--iui-color-foreground-positive);
|
|
181
|
+
}
|
|
158
182
|
|
|
159
183
|
.iui-wizard-step-name{
|
|
160
184
|
text-align:center;
|
|
161
185
|
-webkit-user-select:all;
|
|
162
186
|
-moz-user-select:all;
|
|
163
187
|
user-select:all;
|
|
164
|
-
color:#
|
|
165
|
-
color:var(--iui-color-foreground-positive);
|
|
188
|
+
color:#53a21a;
|
|
189
|
+
color:var(--iui-color-foreground-positive);
|
|
190
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/itwinui-css",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"author": "Bentley Systems",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.scss",
|
|
@@ -38,16 +38,15 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
|
-
"build": "yarn clean && yarn build:scss && yarn build:css && yarn build:html && yarn copy-files",
|
|
41
|
+
"build": "yarn clean && yarn build:scss && yarn build:css && yarn lint:copyright --fix lib/css/* && yarn build:html && yarn copy-files",
|
|
42
42
|
"build:scss": "cpx \"./src/**/*.scss\" ./lib/scss",
|
|
43
|
-
"build:css": "node ./scripts/generateCss.js src lib/css
|
|
43
|
+
"build:css": "node ./scripts/generateCss.js src lib/css",
|
|
44
44
|
"build:html": "node ./scripts/generateHtml.js backstop/tests backstop/minified",
|
|
45
45
|
"build:watch": "yarn build && concurrently -n scss,html -k \"yarn build:watch:scss\" \"yarn build:watch:html\"",
|
|
46
46
|
"build:watch:scss": "chokidar \"src/**/*\" -c \"yarn build:scss && yarn build:css\"",
|
|
47
47
|
"build:watch:html": "chokidar \"backstop/tests/**/*\" -c \"yarn build:html\"",
|
|
48
48
|
"copy-files": "cpx package.json lib && cpx README.md lib",
|
|
49
49
|
"createComponent": "node ./scripts/createComponent.js",
|
|
50
|
-
"postcss-processing": "postcss lib/css -d lib/css --no-map && yarn print \"Finished post-processing CSS.\"",
|
|
51
50
|
"clean": "rimraf ./lib ./backstop/results/bitmaps_test",
|
|
52
51
|
"lint": "stylelint \"src/**/*.scss\"",
|
|
53
52
|
"lint:copyright": "node scripts/copyrightLinter.js",
|
|
@@ -68,12 +67,12 @@
|
|
|
68
67
|
"html-minifier": "^4.0.0",
|
|
69
68
|
"husky": "=4",
|
|
70
69
|
"lint-staged": "^11.2.6",
|
|
71
|
-
"node-sass": "^7.0.0",
|
|
72
70
|
"postcss": "^8.4.5",
|
|
73
|
-
"postcss-cli": "^8.3.1",
|
|
74
71
|
"postcss-discard-comments": "^5.0.1",
|
|
72
|
+
"postcss-scss": "^4.0.3",
|
|
75
73
|
"prettier": "^2.4.1",
|
|
76
74
|
"rimraf": "^3.0.2",
|
|
75
|
+
"sass-embedded": "^1.49.9",
|
|
77
76
|
"stylelint": "^14.2.0",
|
|
78
77
|
"stylelint-config-sass-guidelines": "^9.0.1"
|
|
79
78
|
},
|
package/scss/alert/alert.scss
CHANGED
|
@@ -79,11 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
#{$rootSelector}-message {
|
|
82
|
-
|
|
83
|
-
@include themed {
|
|
84
|
-
background-color: rgba(t(iui-color-foreground-#{$statusColor}-rgb), t(iui-opacity-4));
|
|
85
|
-
}
|
|
86
|
-
}
|
|
82
|
+
@include iui-text-selection($statusColor);
|
|
87
83
|
}
|
|
88
84
|
|
|
89
85
|
#{$rootSelector}-link {
|
|
@@ -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%;
|
|
@@ -46,7 +36,6 @@
|
|
|
46
36
|
border-top: $iui-xxs solid t(iui-color-background-4);
|
|
47
37
|
}
|
|
48
38
|
|
|
49
|
-
&-dots,
|
|
50
39
|
&-left,
|
|
51
40
|
&-right {
|
|
52
41
|
display: flex;
|
|
@@ -64,11 +53,11 @@
|
|
|
64
53
|
&-dots {
|
|
65
54
|
@include iui-reset;
|
|
66
55
|
@include iui-focus;
|
|
56
|
+
flex: 2;
|
|
57
|
+
max-width: $iui-xxl * 4;
|
|
67
58
|
border-radius: $iui-border-radius;
|
|
68
59
|
white-space: nowrap;
|
|
69
|
-
|
|
70
|
-
justify-content: center;
|
|
71
|
-
list-style: none;
|
|
60
|
+
@include hide-scrollbar;
|
|
72
61
|
}
|
|
73
62
|
|
|
74
63
|
&-dot {
|
|
@@ -83,22 +72,17 @@
|
|
|
83
72
|
}
|
|
84
73
|
}
|
|
85
74
|
|
|
86
|
-
&.iui-invisible {
|
|
87
|
-
@include visually-hidden;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
75
|
&::after {
|
|
91
76
|
content: '';
|
|
92
77
|
display: block;
|
|
93
78
|
width: $iui-icons-small;
|
|
94
79
|
height: $iui-icons-small;
|
|
95
80
|
border-radius: 50%;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
transition: background-color $iui-speed-fast $iui-speed-fast ease, transform $iui-speed ease;
|
|
99
|
-
}
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
border: 1px solid transparent;
|
|
100
83
|
@include themed {
|
|
101
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);
|
|
102
86
|
}
|
|
103
87
|
}
|
|
104
88
|
|
|
@@ -110,13 +94,15 @@
|
|
|
110
94
|
transform: scale(0.75);
|
|
111
95
|
}
|
|
112
96
|
|
|
113
|
-
&.iui-invisible::after {
|
|
114
|
-
transform: scale(0);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
97
|
&.iui-active::after {
|
|
118
98
|
@include themed {
|
|
119
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;
|
|
120
106
|
}
|
|
121
107
|
}
|
|
122
108
|
}
|
|
@@ -125,3 +111,14 @@
|
|
|
125
111
|
justify-content: flex-end;
|
|
126
112
|
}
|
|
127
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
package/scss/code/codeblock.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
|
+
}
|