@itwin/imodel-components-react 4.0.0 → 4.0.1
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 +6 -1
- package/lib/cjs/imodel-components-react/UiIModelComponents.js +2 -4
- package/lib/cjs/imodel-components-react/UiIModelComponents.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/AlphaSlider.scss +63 -63
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerButton.scss +90 -90
- package/lib/cjs/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/ColorPickerPopup.scss +62 -62
- package/lib/cjs/imodel-components-react/color/HueSlider.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/HueSlider.scss +61 -61
- package/lib/cjs/imodel-components-react/color/SaturationPicker.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/SaturationPicker.scss +35 -35
- package/lib/cjs/imodel-components-react/color/Swatch.js.map +1 -1
- package/lib/cjs/imodel-components-react/color/Swatch.scss +22 -22
- package/lib/cjs/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/ColorEditor.scss +18 -18
- package/lib/cjs/imodel-components-react/editors/WeightEditor.js.map +1 -1
- package/lib/cjs/imodel-components-react/editors/WeightEditor.scss +16 -16
- package/lib/cjs/imodel-components-react/inputs/QuantityInput.js.map +1 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js +1 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
- package/lib/cjs/imodel-components-react/inputs/QuantityNumberInput.scss +106 -106
- package/lib/cjs/imodel-components-react/lineweight/Swatch.js.map +1 -1
- package/lib/cjs/imodel-components-react/lineweight/Swatch.scss +48 -48
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/lineweight/WeightPickerButton.scss +51 -51
- package/lib/cjs/imodel-components-react/navigationaids/Cube.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/Cube.scss +19 -19
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js +5 -10
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -178
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
- package/lib/cjs/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -135
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatPanel.scss +59 -59
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js +2 -3
- package/lib/cjs/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js +2 -2
- package/lib/cjs/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js +1 -2
- package/lib/cjs/imodel-components-react/quantityformat/FormatType.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js +1 -2
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js +5 -9
- package/lib/cjs/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js +3 -4
- package/lib/cjs/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +1 -2
- package/lib/cjs/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
- package/lib/cjs/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/InlineEdit.scss +26 -26
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/PlayerButton.scss +28 -28
- package/lib/cjs/imodel-components-react/timeline/Scrubber.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/Scrubber.scss +105 -105
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/SolarTimeline.scss +359 -359
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
- package/lib/cjs/imodel-components-react/timeline/Timeline.scss +164 -164
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
- package/lib/cjs/imodel-components-react/timeline/TimelineComponent.scss +177 -177
- package/lib/cjs/imodel-components-react/timeline/interfaces.js.map +1 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js +7 -9
- package/lib/cjs/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
- package/lib/cjs/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
- package/lib/cjs/imodel-components-react.js.map +1 -1
- package/lib/esm/imodel-components-react/UiIModelComponents.js +2 -4
- package/lib/esm/imodel-components-react/UiIModelComponents.js.map +1 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.js.map +1 -1
- package/lib/esm/imodel-components-react/color/AlphaSlider.scss +63 -63
- package/lib/esm/imodel-components-react/color/ColorPickerButton.js +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerButton.scss +90 -90
- package/lib/esm/imodel-components-react/color/ColorPickerDialog.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.js.map +1 -1
- package/lib/esm/imodel-components-react/color/ColorPickerPopup.scss +62 -62
- package/lib/esm/imodel-components-react/color/HueSlider.js.map +1 -1
- package/lib/esm/imodel-components-react/color/HueSlider.scss +61 -61
- package/lib/esm/imodel-components-react/color/SaturationPicker.js.map +1 -1
- package/lib/esm/imodel-components-react/color/SaturationPicker.scss +35 -35
- package/lib/esm/imodel-components-react/color/Swatch.js.map +1 -1
- package/lib/esm/imodel-components-react/color/Swatch.scss +22 -22
- package/lib/esm/imodel-components-react/color/getCSSColorFromDef.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/ColorEditor.scss +18 -18
- package/lib/esm/imodel-components-react/editors/WeightEditor.js.map +1 -1
- package/lib/esm/imodel-components-react/editors/WeightEditor.scss +16 -16
- package/lib/esm/imodel-components-react/inputs/QuantityInput.js.map +1 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js +1 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.js.map +1 -1
- package/lib/esm/imodel-components-react/inputs/QuantityNumberInput.scss +106 -106
- package/lib/esm/imodel-components-react/lineweight/Swatch.js.map +1 -1
- package/lib/esm/imodel-components-react/lineweight/Swatch.scss +48 -48
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/lineweight/WeightPickerButton.scss +51 -51
- package/lib/esm/imodel-components-react/navigationaids/Cube.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/Cube.scss +19 -19
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js +5 -10
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/CubeNavigationAid.scss +178 -178
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.js.map +1 -1
- package/lib/esm/imodel-components-react/navigationaids/DrawingNavigationAid.scss +135 -135
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatPanel.scss +59 -59
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js +2 -3
- package/lib/esm/imodel-components-react/quantityformat/FormatPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.js +2 -2
- package/lib/esm/imodel-components-react/quantityformat/FormatSample.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatType.js +1 -2
- package/lib/esm/imodel-components-react/quantityformat/FormatType.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js +1 -2
- package/lib/esm/imodel-components-react/quantityformat/FormatUnitLabel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js +5 -9
- package/lib/esm/imodel-components-react/quantityformat/FormatUnits.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js +3 -4
- package/lib/esm/imodel-components-react/quantityformat/MiscFormatOptions.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/QuantityFormatPanel.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/DecimalSeparator.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/FractionPrecision.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ScientificType.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/SignOption.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSeparatorSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/StationSizeSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSelector.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js +1 -2
- package/lib/esm/imodel-components-react/quantityformat/misc/ThousandsSeparator.js.map +1 -1
- package/lib/esm/imodel-components-react/quantityformat/misc/UnitDescr.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/BaseSolarDataProvider.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/BaseTimelineDataProvider.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/InlineEdit.scss +26 -26
- package/lib/esm/imodel-components-react/timeline/PlayerButton.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/PlayerButton.scss +28 -28
- package/lib/esm/imodel-components-react/timeline/Scrubber.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/Scrubber.scss +105 -105
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/SolarTimeline.scss +359 -359
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/SpeedTimeline.scss +39 -39
- package/lib/esm/imodel-components-react/timeline/Timeline.scss +164 -164
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.js.map +1 -1
- package/lib/esm/imodel-components-react/timeline/TimelineComponent.scss +177 -177
- package/lib/esm/imodel-components-react/timeline/interfaces.js.map +1 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.js +7 -9
- package/lib/esm/imodel-components-react/viewport/ViewportComponent.js.map +1 -1
- package/lib/esm/imodel-components-react/viewport/ViewportComponentEvents.js.map +1 -1
- package/lib/esm/imodel-components-react.js.map +1 -1
- package/lib/public/locales/en/UiIModelComponents.json +139 -139
- package/package.json +11 -11
|
@@ -1,178 +1,178 @@
|
|
|
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
|
-
@import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
|
|
6
|
-
|
|
7
|
-
$cube-outer-width: 96px;
|
|
8
|
-
$button-width: 20px;
|
|
9
|
-
$nav-cube-width: 64px;
|
|
10
|
-
$nav-cube-side-width: 14px;
|
|
11
|
-
|
|
12
|
-
$grad-start: var(--iui-color-background);
|
|
13
|
-
$grad-end: var(--iui-color-background-zebra);
|
|
14
|
-
|
|
15
|
-
$arrow-margin: -3px;
|
|
16
|
-
|
|
17
|
-
.components-cube-container {
|
|
18
|
-
position: relative;
|
|
19
|
-
width: $cube-outer-width;
|
|
20
|
-
height: $cube-outer-width;
|
|
21
|
-
|
|
22
|
-
.cube-element-container {
|
|
23
|
-
position: absolute;
|
|
24
|
-
left: 0;
|
|
25
|
-
top: 0;
|
|
26
|
-
width: $cube-outer-width;
|
|
27
|
-
height: $cube-outer-width;
|
|
28
|
-
display: flex;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
align-items: center;
|
|
31
|
-
|
|
32
|
-
.nav-cube {
|
|
33
|
-
width: $nav-cube-width;
|
|
34
|
-
height: $nav-cube-width;
|
|
35
|
-
|
|
36
|
-
.nav-cube-face {
|
|
37
|
-
display: flex;
|
|
38
|
-
flex-direction: column;
|
|
39
|
-
width: 100%;
|
|
40
|
-
height: 100%;
|
|
41
|
-
font-size: var(--iui-font-size-1);
|
|
42
|
-
font-weight: var(--iui-font-weight-semibold);
|
|
43
|
-
color: var(--iui-color-text);
|
|
44
|
-
box-shadow: inset 0px 0px 1px 0.2px var(--iui-color-border);
|
|
45
|
-
|
|
46
|
-
.face-row {
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
height: $nav-cube-side-width;
|
|
50
|
-
width: 100%;
|
|
51
|
-
|
|
52
|
-
&.cube-center {
|
|
53
|
-
height: auto;
|
|
54
|
-
flex-grow: 1;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.face-cell {
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
user-select: none;
|
|
60
|
-
width: $nav-cube-side-width;
|
|
61
|
-
|
|
62
|
-
&.cube-center {
|
|
63
|
-
width: auto;
|
|
64
|
-
flex-grow: 1;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.cube-hover {
|
|
68
|
-
height: auto;
|
|
69
|
-
background-color: var(--iui-color-background-accent-muted);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.cube-active {
|
|
73
|
-
background-color: var(--iui-color-background-accent-muted);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&.cube-center .face-cell.cube-center {
|
|
78
|
-
display: flex;
|
|
79
|
-
justify-content: center;
|
|
80
|
-
align-items: center;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.cube-left,
|
|
86
|
-
.cube-right,
|
|
87
|
-
.cube-front,
|
|
88
|
-
.cube-back {
|
|
89
|
-
background: linear-gradient(#{$grad-start}, #{$grad-end});
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.cube-top {
|
|
93
|
-
background: $grad-start;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.cube-bottom {
|
|
97
|
-
background: $grad-end;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&.cube-dragging {
|
|
101
|
-
.face-row .face-cell {
|
|
102
|
-
&.cube-hover,
|
|
103
|
-
&.cube-active {
|
|
104
|
-
background: transparent;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.cube-left,
|
|
109
|
-
.cube-right,
|
|
110
|
-
.cube-front,
|
|
111
|
-
.cube-back {
|
|
112
|
-
background: linear-gradient(
|
|
113
|
-
var(--iui-color-background),
|
|
114
|
-
var(--iui-color-background-backdrop)
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.cube-top {
|
|
119
|
-
background: var(--iui-color-background);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.cube-bottom {
|
|
123
|
-
background: var(--iui-color-background-backdrop);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.cube-pointer {
|
|
130
|
-
position: absolute;
|
|
131
|
-
height: $button-width;
|
|
132
|
-
width: $button-width;
|
|
133
|
-
font-size: $button-width;
|
|
134
|
-
color: var(--iui-color-background);
|
|
135
|
-
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
|
|
138
|
-
&:not(.cube-visible) {
|
|
139
|
-
display: none;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:hover {
|
|
143
|
-
color: var(--iui-color-background-hover);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&:focus {
|
|
147
|
-
outline: none;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.cube-up {
|
|
151
|
-
margin: $arrow-margin auto;
|
|
152
|
-
left: 0px;
|
|
153
|
-
right: 0px;
|
|
154
|
-
top: 0px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&.cube-down {
|
|
158
|
-
margin: $arrow-margin auto;
|
|
159
|
-
left: 0px;
|
|
160
|
-
right: 0px;
|
|
161
|
-
bottom: 0px;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&.cube-left {
|
|
165
|
-
margin: auto $arrow-margin;
|
|
166
|
-
top: 0px;
|
|
167
|
-
bottom: 0px;
|
|
168
|
-
left: 0px;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&.cube-right {
|
|
172
|
-
margin: auto $arrow-margin;
|
|
173
|
-
top: 0px;
|
|
174
|
-
bottom: 0px;
|
|
175
|
-
right: 0px;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
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
|
+
@import "~@itwin/core-react/lib/cjs/core-react/style/themecolors";
|
|
6
|
+
|
|
7
|
+
$cube-outer-width: 96px;
|
|
8
|
+
$button-width: 20px;
|
|
9
|
+
$nav-cube-width: 64px;
|
|
10
|
+
$nav-cube-side-width: 14px;
|
|
11
|
+
|
|
12
|
+
$grad-start: var(--iui-color-background);
|
|
13
|
+
$grad-end: var(--iui-color-background-zebra);
|
|
14
|
+
|
|
15
|
+
$arrow-margin: -3px;
|
|
16
|
+
|
|
17
|
+
.components-cube-container {
|
|
18
|
+
position: relative;
|
|
19
|
+
width: $cube-outer-width;
|
|
20
|
+
height: $cube-outer-width;
|
|
21
|
+
|
|
22
|
+
.cube-element-container {
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 0;
|
|
25
|
+
top: 0;
|
|
26
|
+
width: $cube-outer-width;
|
|
27
|
+
height: $cube-outer-width;
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
align-items: center;
|
|
31
|
+
|
|
32
|
+
.nav-cube {
|
|
33
|
+
width: $nav-cube-width;
|
|
34
|
+
height: $nav-cube-width;
|
|
35
|
+
|
|
36
|
+
.nav-cube-face {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
font-size: var(--iui-font-size-1);
|
|
42
|
+
font-weight: var(--iui-font-weight-semibold);
|
|
43
|
+
color: var(--iui-color-text);
|
|
44
|
+
box-shadow: inset 0px 0px 1px 0.2px var(--iui-color-border);
|
|
45
|
+
|
|
46
|
+
.face-row {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
height: $nav-cube-side-width;
|
|
50
|
+
width: 100%;
|
|
51
|
+
|
|
52
|
+
&.cube-center {
|
|
53
|
+
height: auto;
|
|
54
|
+
flex-grow: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.face-cell {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
user-select: none;
|
|
60
|
+
width: $nav-cube-side-width;
|
|
61
|
+
|
|
62
|
+
&.cube-center {
|
|
63
|
+
width: auto;
|
|
64
|
+
flex-grow: 1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.cube-hover {
|
|
68
|
+
height: auto;
|
|
69
|
+
background-color: var(--iui-color-background-accent-muted);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.cube-active {
|
|
73
|
+
background-color: var(--iui-color-background-accent-muted);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.cube-center .face-cell.cube-center {
|
|
78
|
+
display: flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.cube-left,
|
|
86
|
+
.cube-right,
|
|
87
|
+
.cube-front,
|
|
88
|
+
.cube-back {
|
|
89
|
+
background: linear-gradient(#{$grad-start}, #{$grad-end});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.cube-top {
|
|
93
|
+
background: $grad-start;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cube-bottom {
|
|
97
|
+
background: $grad-end;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.cube-dragging {
|
|
101
|
+
.face-row .face-cell {
|
|
102
|
+
&.cube-hover,
|
|
103
|
+
&.cube-active {
|
|
104
|
+
background: transparent;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.cube-left,
|
|
109
|
+
.cube-right,
|
|
110
|
+
.cube-front,
|
|
111
|
+
.cube-back {
|
|
112
|
+
background: linear-gradient(
|
|
113
|
+
var(--iui-color-background),
|
|
114
|
+
var(--iui-color-background-backdrop)
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.cube-top {
|
|
119
|
+
background: var(--iui-color-background);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.cube-bottom {
|
|
123
|
+
background: var(--iui-color-background-backdrop);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cube-pointer {
|
|
130
|
+
position: absolute;
|
|
131
|
+
height: $button-width;
|
|
132
|
+
width: $button-width;
|
|
133
|
+
font-size: $button-width;
|
|
134
|
+
color: var(--iui-color-background);
|
|
135
|
+
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
|
|
138
|
+
&:not(.cube-visible) {
|
|
139
|
+
display: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
color: var(--iui-color-background-hover);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:focus {
|
|
147
|
+
outline: none;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.cube-up {
|
|
151
|
+
margin: $arrow-margin auto;
|
|
152
|
+
left: 0px;
|
|
153
|
+
right: 0px;
|
|
154
|
+
top: 0px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.cube-down {
|
|
158
|
+
margin: $arrow-margin auto;
|
|
159
|
+
left: 0px;
|
|
160
|
+
right: 0px;
|
|
161
|
+
bottom: 0px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.cube-left {
|
|
165
|
+
margin: auto $arrow-margin;
|
|
166
|
+
top: 0px;
|
|
167
|
+
bottom: 0px;
|
|
168
|
+
left: 0px;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&.cube-right {
|
|
172
|
+
margin: auto $arrow-margin;
|
|
173
|
+
top: 0px;
|
|
174
|
+
bottom: 0px;
|
|
175
|
+
right: 0px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|