@itwin/core-react 5.0.0-dev.2 → 5.0.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/CHANGELOG.md +49 -1
- package/lib/cjs/core-react/_geometry.scss +70 -0
- package/lib/cjs/core-react/_helpers.scss +54 -0
- package/lib/cjs/core-react/_math.scss +13 -0
- package/lib/cjs/core-react/_scrollbar.scss +57 -0
- package/lib/cjs/core-react/_typography.scss +44 -0
- package/lib/cjs/core-react/_z-index.scss +51 -0
- package/lib/cjs/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/cjs/core-react/badge/DeprecatedBadge.scss +11 -0
- package/lib/cjs/core-react/badge/NewBadge.scss +12 -0
- package/lib/cjs/core-react/badge/TechnicalPreviewBadge.scss +11 -0
- package/lib/cjs/core-react/base/base.scss +44 -0
- package/lib/cjs/core-react/base/classes.scss +27 -0
- package/lib/cjs/core-react/base/index.scss +5 -0
- package/lib/cjs/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/cjs/core-react/checklistbox/CheckListBox.scss +22 -0
- package/lib/cjs/core-react/classes.scss +9 -0
- package/lib/cjs/core-react/colorthemes.scss +12 -0
- package/lib/cjs/core-react/colorvariables.scss +139 -0
- package/lib/cjs/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/cjs/core-react/contextmenu/PopupContextMenu.scss +8 -0
- package/lib/cjs/core-react/dialog/Dialog.scss +57 -0
- package/lib/cjs/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/cjs/core-react/icons/IconComponent.scss +19 -0
- package/lib/cjs/core-react/icons/SvgPath.scss +15 -0
- package/lib/cjs/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/cjs/core-react/icons/classes.scss +18 -0
- package/lib/cjs/core-react/icons/index.scss +6 -0
- package/lib/cjs/core-react/icons/mixins.scss +27 -0
- package/lib/cjs/core-react/icons/variables.scss +12 -0
- package/lib/cjs/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/cjs/core-react/index.scss +18 -0
- package/lib/cjs/core-react/inputs/classes.scss +12 -0
- package/lib/cjs/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/cjs/core-react/inputs/index.scss +9 -0
- package/lib/cjs/core-react/inputs/input-label.scss +95 -0
- package/lib/cjs/core-react/inputs/input.scss +56 -0
- package/lib/cjs/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/cjs/core-react/inputs/variables.scss +41 -0
- package/lib/cjs/core-react/layout-variables.scss +15 -0
- package/lib/cjs/core-react/listbox/Listbox.scss +54 -0
- package/lib/cjs/core-react/loading/LoadingBar.scss +27 -0
- package/lib/cjs/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/cjs/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/cjs/core-react/loading/LoadingStatus.scss +20 -0
- package/lib/cjs/core-react/loading/index.scss +5 -0
- package/lib/cjs/core-react/loading/mixins.scss +57 -0
- package/lib/cjs/core-react/messagebox/MessageBox.scss +52 -0
- package/lib/cjs/core-react/popup/Popup.scss +239 -0
- package/lib/cjs/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/cjs/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/cjs/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/cjs/core-react/style/baseline.scss +11 -0
- package/lib/cjs/core-react/style/breakpoints.scss +59 -0
- package/lib/cjs/core-react/style/colors.scss +77 -0
- package/lib/cjs/core-react/style/index.scss +10 -0
- package/lib/cjs/core-react/style/mixins.scss +23 -0
- package/lib/cjs/core-react/style/opacity.scss +16 -0
- package/lib/cjs/core-react/style/themecolors.scss +133 -0
- package/lib/cjs/core-react/tabs/classes.scss +9 -0
- package/lib/cjs/core-react/tabs/index.scss +5 -0
- package/lib/cjs/core-react/tabs/tabs.scss +99 -0
- package/lib/cjs/core-react/tabs/vertical.scss +53 -0
- package/lib/cjs/core-react/text/FilteredText.scss +8 -0
- package/lib/cjs/core-react/text/block.scss +15 -0
- package/lib/cjs/core-react/text/body.scss +13 -0
- package/lib/cjs/core-react/text/classes.scss +18 -0
- package/lib/cjs/core-react/text/disabled.scss +7 -0
- package/lib/cjs/core-react/text/index.scss +10 -0
- package/lib/cjs/core-react/text/mixins.scss +26 -0
- package/lib/cjs/core-react/text/muted.scss +7 -0
- package/lib/cjs/core-react/tree/Branch.scss +13 -0
- package/lib/cjs/core-react/tree/ExpansionToggle.scss +32 -0
- package/lib/cjs/core-react/tree/Node.scss +68 -0
- package/lib/cjs/core-react/tree/Placeholder.scss +17 -0
- package/lib/cjs/core-react/tree/Tree.scss +22 -0
- package/lib/core-react/messagebox/MessageBox.d.ts.map +1 -1
- package/lib/core-react/messagebox/MessageBox.js +41 -29
- package/lib/core-react/messagebox/MessageBox.js.map +1 -1
- package/lib/core-react/messagebox/MessageBox.scss +3 -6
- package/lib/core-react/popup/Popup.js +6 -6
- package/lib/core-react/popup/Popup.js.map +1 -1
- package/lib/esm/core-react/_geometry.scss +70 -0
- package/lib/esm/core-react/_helpers.scss +54 -0
- package/lib/esm/core-react/_math.scss +13 -0
- package/lib/esm/core-react/_scrollbar.scss +57 -0
- package/lib/esm/core-react/_typography.scss +44 -0
- package/lib/esm/core-react/_z-index.scss +51 -0
- package/lib/esm/core-react/autosuggest/AutoSuggest.scss +79 -0
- package/lib/esm/core-react/badge/DeprecatedBadge.scss +11 -0
- package/lib/esm/core-react/badge/NewBadge.scss +12 -0
- package/lib/esm/core-react/badge/TechnicalPreviewBadge.scss +11 -0
- package/lib/esm/core-react/base/base.scss +44 -0
- package/lib/esm/core-react/base/classes.scss +27 -0
- package/lib/esm/core-react/base/index.scss +5 -0
- package/lib/esm/core-react/button/UnderlinedButton.scss +29 -0
- package/lib/esm/core-react/checklistbox/CheckListBox.scss +22 -0
- package/lib/esm/core-react/classes.scss +9 -0
- package/lib/esm/core-react/colorthemes.scss +12 -0
- package/lib/esm/core-react/colorvariables.scss +139 -0
- package/lib/esm/core-react/contextmenu/ContextMenu.scss +226 -0
- package/lib/esm/core-react/contextmenu/PopupContextMenu.scss +8 -0
- package/lib/esm/core-react/dialog/Dialog.scss +57 -0
- package/lib/esm/core-react/elementseparator/ElementSeparator.scss +93 -0
- package/lib/esm/core-react/icons/IconComponent.scss +19 -0
- package/lib/esm/core-react/icons/SvgPath.scss +15 -0
- package/lib/esm/core-react/icons/WebFontIcon.scss +15 -0
- package/lib/esm/core-react/icons/classes.scss +18 -0
- package/lib/esm/core-react/icons/index.scss +6 -0
- package/lib/esm/core-react/icons/mixins.scss +27 -0
- package/lib/esm/core-react/icons/variables.scss +12 -0
- package/lib/esm/core-react/imagecheckbox/ImageCheckBox.scss +51 -0
- package/lib/esm/core-react/index.scss +18 -0
- package/lib/esm/core-react/inputs/classes.scss +12 -0
- package/lib/esm/core-react/inputs/iconinput/IconInput.scss +33 -0
- package/lib/esm/core-react/inputs/index.scss +9 -0
- package/lib/esm/core-react/inputs/input-label.scss +95 -0
- package/lib/esm/core-react/inputs/input.scss +56 -0
- package/lib/esm/core-react/inputs/numberinput/NumberInput.scss +88 -0
- package/lib/esm/core-react/inputs/variables.scss +41 -0
- package/lib/esm/core-react/layout-variables.scss +15 -0
- package/lib/esm/core-react/listbox/Listbox.scss +54 -0
- package/lib/esm/core-react/loading/LoadingBar.scss +27 -0
- package/lib/esm/core-react/loading/LoadingPrompt.scss +29 -0
- package/lib/esm/core-react/loading/LoadingSpinner.scss +24 -0
- package/lib/esm/core-react/loading/LoadingStatus.scss +20 -0
- package/lib/esm/core-react/loading/index.scss +5 -0
- package/lib/esm/core-react/loading/mixins.scss +57 -0
- package/lib/esm/core-react/messagebox/MessageBox.scss +52 -0
- package/lib/esm/core-react/popup/Popup.scss +239 -0
- package/lib/esm/core-react/radialmenu/RadialMenu.scss +55 -0
- package/lib/esm/core-react/searchbox/SearchBox.scss +45 -0
- package/lib/esm/core-react/settings/SettingsContainer.scss +65 -0
- package/lib/esm/core-react/style/baseline.scss +11 -0
- package/lib/esm/core-react/style/breakpoints.scss +59 -0
- package/lib/esm/core-react/style/colors.scss +77 -0
- package/lib/esm/core-react/style/index.scss +10 -0
- package/lib/esm/core-react/style/mixins.scss +23 -0
- package/lib/esm/core-react/style/opacity.scss +16 -0
- package/lib/esm/core-react/style/themecolors.scss +133 -0
- package/lib/esm/core-react/tabs/classes.scss +9 -0
- package/lib/esm/core-react/tabs/index.scss +5 -0
- package/lib/esm/core-react/tabs/tabs.scss +99 -0
- package/lib/esm/core-react/tabs/vertical.scss +53 -0
- package/lib/esm/core-react/text/FilteredText.scss +8 -0
- package/lib/esm/core-react/text/block.scss +15 -0
- package/lib/esm/core-react/text/body.scss +13 -0
- package/lib/esm/core-react/text/classes.scss +18 -0
- package/lib/esm/core-react/text/disabled.scss +7 -0
- package/lib/esm/core-react/text/index.scss +10 -0
- package/lib/esm/core-react/text/mixins.scss +26 -0
- package/lib/esm/core-react/text/muted.scss +7 -0
- package/lib/esm/core-react/tree/Branch.scss +13 -0
- package/lib/esm/core-react/tree/ExpansionToggle.scss +32 -0
- package/lib/esm/core-react/tree/Node.scss +68 -0
- package/lib/esm/core-react/tree/Placeholder.scss +17 -0
- package/lib/esm/core-react/tree/Tree.scss +22 -0
- package/package.json +7 -13
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
@use "../z-index" as *;
|
|
6
|
+
|
|
7
|
+
.core-popup {
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
display: block;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
position: absolute;
|
|
13
|
+
border-radius: var(--iui-border-radius-1);
|
|
14
|
+
border: 1px solid var(--iui-color-border);
|
|
15
|
+
background: var(--iui-color-background);
|
|
16
|
+
color: var(--iui-color-text);
|
|
17
|
+
animation-duration: var(--iui-duration-1);
|
|
18
|
+
animation-timing-function: ease;
|
|
19
|
+
animation-fill-mode: forwards;
|
|
20
|
+
cursor: default;
|
|
21
|
+
|
|
22
|
+
@include uicore-z-index(dialog-popup);
|
|
23
|
+
|
|
24
|
+
&.core-popup-animation-none {
|
|
25
|
+
animation-duration: 0s;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.core-popup-hidden {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.core-animation-ended {
|
|
33
|
+
animation-name: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.core-popup.arrow::after,
|
|
38
|
+
.core-popup.arrow::before {
|
|
39
|
+
border: solid transparent;
|
|
40
|
+
content: " ";
|
|
41
|
+
height: 0;
|
|
42
|
+
width: 0;
|
|
43
|
+
position: absolute;
|
|
44
|
+
pointer-events: none;
|
|
45
|
+
color: var(--iui-color-background);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.core-popup.core-popup-bottom-left.arrow::after,
|
|
49
|
+
.core-popup.core-popup-bottom-left.arrow::before {
|
|
50
|
+
bottom: 100%;
|
|
51
|
+
left: 25%;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.core-popup.core-popup-bottom-right.arrow::after,
|
|
55
|
+
.core-popup.core-popup-bottom-right.arrow::before {
|
|
56
|
+
bottom: 100%;
|
|
57
|
+
left: 75%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.core-popup.core-popup-bottom.arrow::after,
|
|
61
|
+
.core-popup.core-popup-bottom.arrow::before {
|
|
62
|
+
bottom: 100%;
|
|
63
|
+
left: 50%;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.core-popup.core-popup-top.arrow::after,
|
|
67
|
+
.core-popup.core-popup-top.arrow::before {
|
|
68
|
+
top: 100%;
|
|
69
|
+
left: 50%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.core-popup.core-popup-top-left.arrow::after,
|
|
73
|
+
.core-popup.core-popup-top-left.arrow::before {
|
|
74
|
+
top: 100%;
|
|
75
|
+
left: 25%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.core-popup.core-popup-top-right.arrow::after,
|
|
79
|
+
.core-popup.core-popup-top-right.arrow::before {
|
|
80
|
+
top: 100%;
|
|
81
|
+
left: 75%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.core-popup.core-popup-left.arrow::after,
|
|
85
|
+
.core-popup.core-popup-left.arrow::before {
|
|
86
|
+
top: 50%;
|
|
87
|
+
left: 100%;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.core-popup.core-popup-right.arrow::after,
|
|
91
|
+
.core-popup.core-popup-right.arrow::before {
|
|
92
|
+
top: 50%;
|
|
93
|
+
right: 100%;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.core-popup.core-popup-bottom.arrow::before,
|
|
97
|
+
.core-popup.core-popup-bottom-left.arrow::before,
|
|
98
|
+
.core-popup.core-popup-bottom-right.arrow::before {
|
|
99
|
+
border-bottom-color: inherit;
|
|
100
|
+
border-width: 9px;
|
|
101
|
+
margin-left: -9px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.core-popup.core-popup-top.arrow::before,
|
|
105
|
+
.core-popup.core-popup-top-left.arrow::before,
|
|
106
|
+
.core-popup.core-popup-top-right.arrow::before {
|
|
107
|
+
border-top-color: inherit;
|
|
108
|
+
border-width: 9px;
|
|
109
|
+
margin-left: -9px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.core-popup.core-popup-left.arrow::before {
|
|
113
|
+
border-left-color: inherit;
|
|
114
|
+
border-width: 9px;
|
|
115
|
+
margin-top: -9px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.core-popup.core-popup-right.arrow::before {
|
|
119
|
+
border-right-color: inherit;
|
|
120
|
+
border-width: 9px;
|
|
121
|
+
margin-top: -9px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.core-popup.core-popup-bottom.arrow::after,
|
|
125
|
+
.core-popup.core-popup-bottom-left.arrow::after,
|
|
126
|
+
.core-popup.core-popup-bottom-right.arrow::after {
|
|
127
|
+
border-bottom-color: currentColor;
|
|
128
|
+
border-width: 8px;
|
|
129
|
+
margin-left: -8px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.core-popup.core-popup-top.arrow::after,
|
|
133
|
+
.core-popup.core-popup-top-left.arrow::after,
|
|
134
|
+
.core-popup.core-popup-top-right.arrow::after {
|
|
135
|
+
border-top-color: currentColor;
|
|
136
|
+
border-width: 8px;
|
|
137
|
+
margin-left: -8px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.core-popup.core-popup-left.arrow::after {
|
|
141
|
+
border-left-color: currentColor;
|
|
142
|
+
border-width: 8px;
|
|
143
|
+
margin-top: -8px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.core-popup.core-popup-right.arrow::after {
|
|
147
|
+
border-right-color: currentColor;
|
|
148
|
+
border-width: 8px;
|
|
149
|
+
margin-top: -8px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.core-popup-shadow {
|
|
153
|
+
-webkit-box-shadow: var(--iui-shadow-4);
|
|
154
|
+
box-shadow: var(--iui-shadow-4);
|
|
155
|
+
background-clip: padding-box;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.core-popup-top-left {
|
|
159
|
+
transform-origin: left bottom 0px;
|
|
160
|
+
animation-name: animate-corner;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.core-popup-top-right {
|
|
164
|
+
transform-origin: right bottom 0px;
|
|
165
|
+
animation-name: animate-corner;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.core-popup-bottom-left {
|
|
169
|
+
transform-origin: left top 0px;
|
|
170
|
+
animation-name: animate-corner;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.core-popup-bottom-right {
|
|
174
|
+
transform-origin: right top 0px;
|
|
175
|
+
animation-name: animate-corner;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.core-popup-left {
|
|
179
|
+
transform-origin: right;
|
|
180
|
+
animation-name: animate-horizontal;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.core-popup-left-top {
|
|
184
|
+
transform-origin: right top 0px;
|
|
185
|
+
animation-name: animate-corner;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.core-popup-right {
|
|
189
|
+
transform-origin: left;
|
|
190
|
+
animation-name: animate-horizontal;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.core-popup-right-top {
|
|
194
|
+
transform-origin: left top 0px;
|
|
195
|
+
animation-name: animate-corner;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.core-popup-top {
|
|
199
|
+
transform-origin: bottom;
|
|
200
|
+
animation-name: animate-vertical;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.core-popup-bottom {
|
|
204
|
+
transform-origin: top;
|
|
205
|
+
animation-name: animate-vertical;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@keyframes animate-vertical {
|
|
209
|
+
from {
|
|
210
|
+
visibility: hidden;
|
|
211
|
+
transform: scale(1, 0.5);
|
|
212
|
+
}
|
|
213
|
+
to {
|
|
214
|
+
visibility: visible;
|
|
215
|
+
transform: scale(1);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
@keyframes animate-corner {
|
|
220
|
+
from {
|
|
221
|
+
visibility: hidden;
|
|
222
|
+
transform: scale(0.5, 0.5);
|
|
223
|
+
}
|
|
224
|
+
to {
|
|
225
|
+
visibility: visible;
|
|
226
|
+
transform: scale(1, 1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@keyframes animate-horizontal {
|
|
231
|
+
from {
|
|
232
|
+
visibility: hidden;
|
|
233
|
+
transform: scale(0.5, 1);
|
|
234
|
+
}
|
|
235
|
+
to {
|
|
236
|
+
visibility: visible;
|
|
237
|
+
transform: scale(1, 1);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
@use "../z-index" as *;
|
|
6
|
+
@use "../icons/variables" as *;
|
|
7
|
+
|
|
8
|
+
.core-radial-menu {
|
|
9
|
+
visibility: hidden;
|
|
10
|
+
position: fixed;
|
|
11
|
+
|
|
12
|
+
@include uicore-z-index(dialog);
|
|
13
|
+
|
|
14
|
+
&.opened {
|
|
15
|
+
visibility: inherit;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
> .core-radial-menu-container {
|
|
19
|
+
margin-left: -50%;
|
|
20
|
+
margin-top: -50%;
|
|
21
|
+
|
|
22
|
+
.core-radial-menu-sector {
|
|
23
|
+
stroke: var(--iui-color-background-disabled);
|
|
24
|
+
fill: var(--iui-color-background);
|
|
25
|
+
stroke-width: 1px;
|
|
26
|
+
|
|
27
|
+
&.selected {
|
|
28
|
+
fill: var(--iui-color-background-accent-muted);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.core-radial-menu-button-svg {
|
|
33
|
+
.core-radial-menu-button-container {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: center;
|
|
37
|
+
|
|
38
|
+
.core-radial-menu-button-icon {
|
|
39
|
+
height: $uicore-icons-small;
|
|
40
|
+
width: $uicore-icons-small;
|
|
41
|
+
line-height: $uicore-icons-small;
|
|
42
|
+
color: var(--iui-color-text);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.core-radial-menu-button-content {
|
|
46
|
+
cursor: default;
|
|
47
|
+
color: var(--iui-color-text);
|
|
48
|
+
font-size: var(--iui-font-size-0);
|
|
49
|
+
user-select: none;
|
|
50
|
+
-webkit-user-select: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
.core-searchbox {
|
|
6
|
+
font-family: var(--iui-font-sans);
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
position: relative;
|
|
10
|
+
//default values (height, width, font-size, color)
|
|
11
|
+
height: 28px;
|
|
12
|
+
width: 12em;
|
|
13
|
+
font-size: var(--iui-font-size-1);
|
|
14
|
+
color: var(--iui-color-text);
|
|
15
|
+
|
|
16
|
+
input {
|
|
17
|
+
min-height: 28px;
|
|
18
|
+
padding: var(--iui-size-3xs) 2em var(--iui-size-3xs) 12px; //12px from design guide
|
|
19
|
+
height: 100%;
|
|
20
|
+
margin: 0;
|
|
21
|
+
color: inherit;
|
|
22
|
+
font-size: inherit;
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.core-searchbox-button {
|
|
27
|
+
position: absolute;
|
|
28
|
+
height: 100%;
|
|
29
|
+
right: 0;
|
|
30
|
+
width: 2em;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
|
|
37
|
+
&:hover span {
|
|
38
|
+
color: var(--iui-color-text-accent);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus {
|
|
42
|
+
outline: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
div.core-settings-container {
|
|
6
|
+
display: flex;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
height: 100%;
|
|
9
|
+
width: 100%;
|
|
10
|
+
|
|
11
|
+
*,
|
|
12
|
+
*:before,
|
|
13
|
+
*:after {
|
|
14
|
+
box-sizing: inherit;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.core-settings-container-left {
|
|
18
|
+
min-width: 15em;
|
|
19
|
+
height: 100%;
|
|
20
|
+
overflow: auto;
|
|
21
|
+
border-right: 2px solid var(--iui-color-border);
|
|
22
|
+
|
|
23
|
+
> .uicore-tabs-vertical {
|
|
24
|
+
font-size: 16px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.core-settings-container-right {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
background: var(--iui-color-background);
|
|
34
|
+
align-content: center;
|
|
35
|
+
|
|
36
|
+
.core-settings-container-right-header {
|
|
37
|
+
display: flex;
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: calc(var(--iui-font-size-4) * 2);
|
|
40
|
+
font-size: var(--iui-font-size-4);
|
|
41
|
+
font-weight: var(--iui-font-weight-semibold);
|
|
42
|
+
padding-left: 15px;
|
|
43
|
+
align-items: center;
|
|
44
|
+
|
|
45
|
+
.core-settings-container-main-sub-header {
|
|
46
|
+
position: relative;
|
|
47
|
+
padding-left: 20px;
|
|
48
|
+
|
|
49
|
+
&::before {
|
|
50
|
+
content: "-";
|
|
51
|
+
position: absolute;
|
|
52
|
+
left: 10px;
|
|
53
|
+
transform: translateX(-50%);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.core-settings-container-right-contents {
|
|
59
|
+
display: flex;
|
|
60
|
+
width: 100%;
|
|
61
|
+
height: 100%;
|
|
62
|
+
overflow: auto;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
$uicore-baseline: var(--iui-size-s);
|
|
6
|
+
$uicore-line-height: var(--iui-size-l); /// 22px; /// ~1.618;
|
|
7
|
+
|
|
8
|
+
$uicore-bordered-padding: calc(var(--iui-size-s) - 1px);
|
|
9
|
+
$uicore-bordered-padding-large: calc(var(--iui-size-s) * 2 - 1px);
|
|
10
|
+
$uicore-unbordered-padding: var(--iui-size-s);
|
|
11
|
+
$uicore-unbordered-padding-large: calc(var(--iui-size-s) * 2);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/* Breakpoints */
|
|
7
|
+
@mixin for-phone-only {
|
|
8
|
+
@media (max-width: 599px) {
|
|
9
|
+
@content;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin for-tablet-portrait-up {
|
|
14
|
+
@media (min-width: 600px) {
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin for-tablet-portrait-down {
|
|
20
|
+
@media (max-width: 799px) {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin for-tablet-landscape-up {
|
|
26
|
+
@media (min-width: 800px) {
|
|
27
|
+
@content;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin for-tablet-landscape-down {
|
|
32
|
+
@media (max-width: 1099px) {
|
|
33
|
+
@content;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin for-desktop-up {
|
|
38
|
+
@media (min-width: 1100px) {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin for-small-desktop-down {
|
|
44
|
+
@media (max-width: 1299px) {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin for-medium-desktop-up {
|
|
50
|
+
@media (min-width: 1300px) {
|
|
51
|
+
@content;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@mixin for-big-desktop-up {
|
|
56
|
+
@media (min-width: 1800px) {
|
|
57
|
+
@content;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
/// Variables ------------------------------------------------------------------
|
|
7
|
+
|
|
8
|
+
/// Primary colors:
|
|
9
|
+
|
|
10
|
+
$uicore-green: #56aa1c;
|
|
11
|
+
$uicore-blue: #008be1;
|
|
12
|
+
$uicore-gray: #9ba5ae;
|
|
13
|
+
$uicore-text-color: #2a2f34;
|
|
14
|
+
|
|
15
|
+
/// Other colors:
|
|
16
|
+
|
|
17
|
+
$uicore-black: #000;
|
|
18
|
+
$uicore-white: #fff;
|
|
19
|
+
$uicore-yellow: #ffcf00;
|
|
20
|
+
$uicore-orange: #ff6600;
|
|
21
|
+
$uicore-red: #cc0000;
|
|
22
|
+
$uicore-teal: #2b9b7f;
|
|
23
|
+
|
|
24
|
+
/// Highlights:
|
|
25
|
+
|
|
26
|
+
$uicore-blue-highlight: #e5f5fd;
|
|
27
|
+
$uicore-green-highlight: #eef6e8;
|
|
28
|
+
$uicore-red-highlight: #fae5e5;
|
|
29
|
+
|
|
30
|
+
/// Gray:
|
|
31
|
+
|
|
32
|
+
$uicore-gray-1: #070809;
|
|
33
|
+
$uicore-gray-3: #3c434a;
|
|
34
|
+
$uicore-gray-4: #4d575f;
|
|
35
|
+
$uicore-gray-5: #677480;
|
|
36
|
+
$uicore-gray-6: #85929d;
|
|
37
|
+
$uicore-gray-8: #a6afb7;
|
|
38
|
+
$uicore-gray-9: #c7ccd1;
|
|
39
|
+
$uicore-gray-a: #dce0e3;
|
|
40
|
+
$uicore-gray-b: #eef0f3;
|
|
41
|
+
$uicore-gray-c: #f8f9fb;
|
|
42
|
+
|
|
43
|
+
/// Blue:
|
|
44
|
+
|
|
45
|
+
$uicore-blue-3: #00426b;
|
|
46
|
+
$uicore-blue-4: #005a92;
|
|
47
|
+
$uicore-blue-5: #0073ba;
|
|
48
|
+
$uicore-blue-6: $uicore-blue;
|
|
49
|
+
$uicore-blue-8: #58bfff;
|
|
50
|
+
$uicore-blue-a: #a6ddff;
|
|
51
|
+
|
|
52
|
+
/// Green:
|
|
53
|
+
|
|
54
|
+
$uicore-green-3: #23450b;
|
|
55
|
+
$uicore-green-4: #346711;
|
|
56
|
+
$uicore-green-5: #448615;
|
|
57
|
+
|
|
58
|
+
$uicore-green-new: #53a21a;
|
|
59
|
+
|
|
60
|
+
/// Teal:
|
|
61
|
+
|
|
62
|
+
$uicore-teal-0: $uicore-green;
|
|
63
|
+
$uicore-teal-1: #2b9b1b;
|
|
64
|
+
$uicore-teal-2: #2b9b2f;
|
|
65
|
+
$uicore-teal-3: #2b9b43;
|
|
66
|
+
$uicore-teal-4: #2b9b57;
|
|
67
|
+
$uicore-teal-5: #2b9b6b;
|
|
68
|
+
$uicore-teal-6: #2b9b7f;
|
|
69
|
+
$uicore-teal-7: #2b9b93;
|
|
70
|
+
$uicore-teal-8: #2b9ba7;
|
|
71
|
+
$uicore-teal-9: #2b9bbb;
|
|
72
|
+
$uicore-teal-a: #2b9bcf;
|
|
73
|
+
$uicore-teal-b: #2b9be3;
|
|
74
|
+
$uicore-teal-c: $uicore-blue-6;
|
|
75
|
+
$uicore-teal-d: $uicore-blue-5;
|
|
76
|
+
$uicore-teal-e: $uicore-blue-4;
|
|
77
|
+
$uicore-teal-f: $uicore-blue-3;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
@forward "./baseline";
|
|
6
|
+
@forward "./breakpoints";
|
|
7
|
+
@forward "./themecolors";
|
|
8
|
+
@forward "./colors";
|
|
9
|
+
@forward "./mixins";
|
|
10
|
+
@forward "./opacity";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
|
|
6
|
+
@mixin no-link {
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
color: var(--iui-color-text);
|
|
9
|
+
|
|
10
|
+
&:link,
|
|
11
|
+
&:visited,
|
|
12
|
+
&:hover,
|
|
13
|
+
&:active {
|
|
14
|
+
color: var(--iui-color-text);
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin firefox-only {
|
|
20
|
+
@supports (-moz-appearance: none) {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
/// Opacity stops:
|
|
6
|
+
|
|
7
|
+
$uicore-opacity-1: var(--iui-opacity-1);
|
|
8
|
+
$uicore-opacity-2: var(--iui-opacity-2);
|
|
9
|
+
$uicore-opacity-3: var(--iui-opacity-3);
|
|
10
|
+
$uicore-opacity-4: var(--iui-opacity-4);
|
|
11
|
+
$uicore-opacity-5: var(--iui-opacity-5);
|
|
12
|
+
$uicore-opacity-6: var(--iui-opacity-6);
|
|
13
|
+
|
|
14
|
+
$uicore-opacity-muted: $uicore-opacity-3;
|
|
15
|
+
$uicore-opacity-disabled: $uicore-opacity-4;
|
|
16
|
+
$uicore-opacity-boxshadow: $uicore-opacity-4;
|