@babylonjs/shared-ui-components 5.31.0 → 5.31.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/colorPicker/colorPicker.scss +193 -0
- package/components/Button.modules.scss +38 -0
- package/components/Colors.scss +8 -0
- package/components/Fonts.scss +5 -0
- package/components/Icon.modules.scss +3 -0
- package/components/Label.modules.scss +15 -0
- package/components/MessageDialog.modules.scss +62 -0
- package/components/Toggle.modules.scss +11 -0
- package/components/bars/CommandBar.modules.scss +45 -0
- package/components/bars/CommandButton.modules.scss +33 -0
- package/components/bars/CommandDropdown.modules.scss +135 -0
- package/components/colorPicker/ColorComponentEntry.modules.scss +26 -0
- package/components/colorPicker/ColorPicker.modules.scss +136 -0
- package/components/colorPicker/HexColor.modules.scss +29 -0
- package/components/layout/FlexibleColumn.modules.scss +5 -0
- package/components/layout/FlexibleDropZone.modules.scss +5 -0
- package/components/layout/FlexibleGridContainer.modules.scss +7 -0
- package/components/layout/FlexibleResizeBar.modules.scss +26 -0
- package/components/layout/FlexibleTab.modules.scss +67 -0
- package/components/layout/FlexibleTabsContainer.modules.scss +34 -0
- package/components/lines/ColorLineComponent.modules.scss +67 -0
- package/components/lines/ColorPickerLineComponent.modules.scss +38 -0
- package/components/lines/FileButtonLineComponent.modules.scss +38 -0
- package/components/lines/NumericInputComponent.modules.scss +27 -0
- package/imgs/LineSpacingIcon.svg +1 -0
- package/imgs/addGridElementDark.svg +1 -0
- package/imgs/addImageButtonIcon.svg +1 -0
- package/imgs/addTextButtonIcon.svg +1 -0
- package/imgs/adtIcon.svg +1 -0
- package/imgs/alignVerticalIcon.svg +1 -0
- package/imgs/alphaIcon.svg +1 -0
- package/imgs/animationSheetIcon.svg +1 -0
- package/imgs/artboardColorIcon.svg +1 -0
- package/imgs/autoResizeIcon.svg +1 -0
- package/imgs/autoScaleIcon.svg +1 -0
- package/imgs/autoStretchHeightIcon.svg +1 -0
- package/imgs/autoStretchWidthIcon.svg +1 -0
- package/imgs/babylonLogo.svg +1 -0
- package/imgs/barOffsetIcon.svg +1 -0
- package/imgs/betaFlag.svg +1 -0
- package/imgs/buttonIcon.svg +1 -0
- package/imgs/cancelGridElementDark.svg +1 -0
- package/imgs/canvasFitIcon.svg +1 -0
- package/imgs/canvasSizeIcon.svg +1 -0
- package/imgs/cellIDIcon.svg +1 -0
- package/imgs/checkboxIcon.svg +1 -0
- package/imgs/checkboxIconDark.svg +1 -0
- package/imgs/clampSliderValueIcon.svg +1 -0
- package/imgs/clipChildrenIcon.svg +1 -0
- package/imgs/clipContentsIcon.svg +1 -0
- package/imgs/collapsedIcon.svg +1 -0
- package/imgs/colorIcon.svg +1 -0
- package/imgs/colorPickerIcon.svg +1 -0
- package/imgs/conerRadiusIcon.svg +1 -0
- package/imgs/confirmGridElementDark.svg +1 -0
- package/imgs/copy.svg +1 -0
- package/imgs/cropIcon.svg +1 -0
- package/imgs/cropIcon_1.svg +1 -0
- package/imgs/deleteGridElementDark.svg +1 -0
- package/imgs/descendantsOnlyPaddingIcon.svg +1 -0
- package/imgs/displayGridLine1Icon.svg +1 -0
- package/imgs/displayGridLine2Icon.svg +1 -0
- package/imgs/displaygridIcon.svg +1 -0
- package/imgs/dividerBarIcon.svg +1 -0
- package/imgs/dragDotsIcon_white.svg +1 -0
- package/imgs/dropdownArrowIcon.svg +1 -0
- package/imgs/ellipseIcon.svg +1 -0
- package/imgs/expandIcon.svg +1 -0
- package/imgs/expandedIcon.svg +1 -0
- package/imgs/fillColorIcon.svg +1 -0
- package/imgs/fontFamilyIcon.svg +1 -0
- package/imgs/fontSizeIcon.svg +1 -0
- package/imgs/fontStyleIcon.svg +1 -0
- package/imgs/fontWeightIcon.svg +1 -0
- package/imgs/frequencyIcon.svg +1 -0
- package/imgs/gridColumnIconDark.svg +1 -0
- package/imgs/gridIcon.svg +1 -0
- package/imgs/gridRowIconDark.svg +1 -0
- package/imgs/guidesIcon.svg +1 -0
- package/imgs/hAlignCenterIcon.svg +1 -0
- package/imgs/hAlignLeftIcon.svg +1 -0
- package/imgs/hAlignRightIcon.svg +1 -0
- package/imgs/hamburger.svg +10 -0
- package/imgs/hamburgerIcon.svg +1 -0
- package/imgs/handIcon.svg +1 -0
- package/imgs/highlightIcon.svg +1 -0
- package/imgs/horizontalMarginIcon.svg +1 -0
- package/imgs/imageIcon.svg +1 -0
- package/imgs/imageLinkIcon.svg +1 -0
- package/imgs/imageSliderIcon.svg +1 -0
- package/imgs/inputFieldIcon.svg +1 -0
- package/imgs/keyboardIcon.svg +1 -0
- package/imgs/lineDashIcon.svg +1 -0
- package/imgs/lineIcon.svg +1 -0
- package/imgs/linePoint1Icon.svg +1 -0
- package/imgs/linePoint2Icon.svg +1 -0
- package/imgs/linkedMeshOffsetIcon.svg +1 -0
- package/imgs/makeComponentIcon.svg +1 -0
- package/imgs/marginsIcon.svg +1 -0
- package/imgs/mulitlineIcon.svg +1 -0
- package/imgs/passwordFieldIcon.svg +1 -0
- package/imgs/pivotIcon.svg +1 -0
- package/imgs/pointerIcon.svg +1 -0
- package/imgs/positionIcon.svg +1 -0
- package/imgs/radioButtonIcon.svg +1 -0
- package/imgs/rectangleIcon.svg +1 -0
- package/imgs/resizeToFitIcon.svg +1 -0
- package/imgs/responsiveIcon.svg +1 -0
- package/imgs/rotationIcon.svg +1 -0
- package/imgs/scaleIcon.svg +1 -0
- package/imgs/scrollViewerPrecisionIcon.svg +1 -0
- package/imgs/scrollbarIcon.svg +1 -0
- package/imgs/selectAllIcon.svg +1 -0
- package/imgs/shadowBlurIcon.svg +1 -0
- package/imgs/shadowColorIcon.svg +1 -0
- package/imgs/shadowOffsetXIcon.svg +1 -0
- package/imgs/shadowOffsetYIcon.svg +1 -0
- package/imgs/showThumbIcon.svg +1 -0
- package/imgs/sizeIcon.svg +1 -0
- package/imgs/sliderBackgroundImageIcon.svg +1 -0
- package/imgs/sliderHandleIcon.svg +1 -0
- package/imgs/sliderIcon.svg +1 -0
- package/imgs/sliderValueIcon.svg +1 -0
- package/imgs/sliderValueMaximumIcon.svg +1 -0
- package/imgs/sliderValueMinimumIcon.svg +1 -0
- package/imgs/spriteCellIDIcon.svg +1 -0
- package/imgs/spriteSizeIcon.svg +1 -0
- package/imgs/stackPanelIcon.svg +1 -0
- package/imgs/stackPanelSpacingIcon.svg +1 -0
- package/imgs/stretchFillIcon.svg +1 -0
- package/imgs/stretchIcon.svg +1 -0
- package/imgs/strokeColorIcon.svg +1 -0
- package/imgs/strokeWeightIcon.svg +1 -0
- package/imgs/subtractGridElementDark.svg +1 -0
- package/imgs/textBoxIcon.svg +1 -0
- package/imgs/textContentIcon.svg +1 -0
- package/imgs/textIcon.svg +1 -0
- package/imgs/textInputIcon.svg +1 -0
- package/imgs/textPlaceholderIcon.svg +1 -0
- package/imgs/thumbCircleIcon.svg +1 -0
- package/imgs/thumbImageLinkIcon.svg +1 -0
- package/imgs/thumbWidthIcon.svg +1 -0
- package/imgs/toggleMixedIcon_30px.svg +1 -0
- package/imgs/toggleOffIcon_30px.svg +1 -0
- package/imgs/toggleOffIcon_40px.svg +1 -0
- package/imgs/toggleOnIcon_30px.svg +1 -0
- package/imgs/toggleOnIcon_40px.svg +1 -0
- package/imgs/transparentIcon.svg +1 -0
- package/imgs/vAlignBottomIcon.svg +1 -0
- package/imgs/vAlignCenterIcon.svg +1 -0
- package/imgs/vAlignTopIcon.svg +1 -0
- package/imgs/valueBarImageLinkIcon.svg +1 -0
- package/imgs/valueChangedGridDark.svg +1 -0
- package/imgs/verticalMarginIcon.svg +1 -0
- package/imgs/verticalSliderIcon.svg +1 -0
- package/imgs/visibilityIcon.svg +1 -0
- package/imgs/widthIcon.svg +1 -0
- package/imgs/wordWrapIcon.svg +1 -0
- package/imgs/zoomIcon.svg +1 -0
- package/lines/copy.svg +1 -0
- package/lines/copyStep.svg +10 -0
- package/lines/delete.svg +10 -0
- package/lines/downArrow.svg +3 -0
- package/lines/valueDownArrowIcon.svg +1 -0
- package/lines/valueUpArrowIcon.svg +1 -0
- package/nodeGraphSystem/common.modules.scss +79 -0
- package/nodeGraphSystem/graphCanvas.modules.scss +62 -0
- package/nodeGraphSystem/graphFrame.modules.scss +243 -0
- package/nodeGraphSystem/graphNode.modules.scss +83 -0
- package/nodeGraphSystem/nodeLink.modules.scss +27 -0
- package/nodeGraphSystem/nodePort.modules.scss +8 -0
- package/package.json +3 -1
- package/stories/assets/code-brackets.svg +1 -0
- package/stories/assets/colors.svg +1 -0
- package/stories/assets/comments.svg +1 -0
- package/stories/assets/direction.svg +1 -0
- package/stories/assets/flow.svg +1 -0
- package/stories/assets/plugin.svg +1 -0
- package/stories/assets/repo.svg +1 -0
- package/stories/assets/stackalt.svg +1 -0
@@ -0,0 +1,193 @@
|
|
1
|
+
.color-picker-container {
|
2
|
+
width: 320px;
|
3
|
+
height: 300px;
|
4
|
+
background-color: white;
|
5
|
+
display: grid;
|
6
|
+
grid-template-columns: 100%;
|
7
|
+
grid-template-rows: 50% 50px 60px 40px 1fr auto;
|
8
|
+
font-family: "acumin-pro-condensed";
|
9
|
+
font-weight: normal;
|
10
|
+
font-size: 14px;
|
11
|
+
|
12
|
+
&.with-hints {
|
13
|
+
height: 380px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.color-picker-saturation {
|
17
|
+
grid-row: 1;
|
18
|
+
grid-column: 1;
|
19
|
+
display: grid;
|
20
|
+
grid-template-columns: 100%;
|
21
|
+
grid-template-rows: 100%;
|
22
|
+
position: relative;
|
23
|
+
cursor: pointer;
|
24
|
+
|
25
|
+
.color-picker-saturation-white {
|
26
|
+
grid-row: 1;
|
27
|
+
grid-column: 1;
|
28
|
+
|
29
|
+
background: -webkit-linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
30
|
+
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
31
|
+
}
|
32
|
+
|
33
|
+
.color-picker-saturation-black {
|
34
|
+
grid-row: 1;
|
35
|
+
grid-column: 1;
|
36
|
+
|
37
|
+
background: -webkit-linear-gradient(to top, #000, rgba(0, 0, 0, 0));
|
38
|
+
background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
|
39
|
+
}
|
40
|
+
|
41
|
+
.color-picker-saturation-cursor {
|
42
|
+
pointer-events: none;
|
43
|
+
width: 4px;
|
44
|
+
height: 4px;
|
45
|
+
box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
|
46
|
+
border-radius: 50%;
|
47
|
+
transform: translate(-2px, -2px);
|
48
|
+
position: absolute;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.color-picker-hue {
|
53
|
+
grid-row: 2;
|
54
|
+
grid-column: 1;
|
55
|
+
display: grid;
|
56
|
+
margin: 10px;
|
57
|
+
grid-template-columns: 24% 76%;
|
58
|
+
grid-template-rows: 100%;
|
59
|
+
|
60
|
+
.color-picker-hue-color {
|
61
|
+
grid-row: 1;
|
62
|
+
grid-column: 1;
|
63
|
+
align-self: center;
|
64
|
+
justify-self: center;
|
65
|
+
width: 30px;
|
66
|
+
height: 30px;
|
67
|
+
border-radius: 15px;
|
68
|
+
border: 1px solid black;
|
69
|
+
}
|
70
|
+
|
71
|
+
.color-picker-hue-slider {
|
72
|
+
grid-row: 1;
|
73
|
+
grid-column: 2;
|
74
|
+
align-self: center;
|
75
|
+
height: 16px;
|
76
|
+
position: relative;
|
77
|
+
cursor: pointer;
|
78
|
+
|
79
|
+
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
80
|
+
background: -webkit-linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
81
|
+
|
82
|
+
.color-picker-hue-cursor {
|
83
|
+
pointer-events: none;
|
84
|
+
width: 8px;
|
85
|
+
height: 18px;
|
86
|
+
transform: translate(-4px, -2px);
|
87
|
+
background-color: rgb(248, 248, 248);
|
88
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
|
89
|
+
position: absolute;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
.color-picker-component {
|
95
|
+
display: grid;
|
96
|
+
margin: 5px;
|
97
|
+
grid-template-columns: 100%;
|
98
|
+
grid-template-rows: 50% 50%;
|
99
|
+
|
100
|
+
.color-picker-component-value {
|
101
|
+
justify-self: center;
|
102
|
+
align-self: center;
|
103
|
+
grid-row: 1;
|
104
|
+
grid-column: 1;
|
105
|
+
margin-bottom: 4px;
|
106
|
+
|
107
|
+
input {
|
108
|
+
width: 50px;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.color-picker-component-label {
|
113
|
+
justify-self: center;
|
114
|
+
align-self: center;
|
115
|
+
grid-row: 2;
|
116
|
+
grid-column: 1;
|
117
|
+
color: black;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
.color-picker-rgb {
|
122
|
+
grid-row: 3;
|
123
|
+
grid-column: 1;
|
124
|
+
display: grid;
|
125
|
+
margin: 10px;
|
126
|
+
grid-template-columns: 20% 6.66% 20% 6.66% 20% 6.66% 20%;
|
127
|
+
grid-template-rows: 100%;
|
128
|
+
}
|
129
|
+
|
130
|
+
.red {
|
131
|
+
grid-row: 1;
|
132
|
+
grid-column: 1;
|
133
|
+
}
|
134
|
+
|
135
|
+
.green {
|
136
|
+
grid-row: 1;
|
137
|
+
grid-column: 3;
|
138
|
+
}
|
139
|
+
|
140
|
+
.blue {
|
141
|
+
grid-row: 1;
|
142
|
+
grid-column: 5;
|
143
|
+
}
|
144
|
+
|
145
|
+
.alpha {
|
146
|
+
grid-row: 1;
|
147
|
+
grid-column: 7;
|
148
|
+
|
149
|
+
&.grayed {
|
150
|
+
opacity: 0.5;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
.color-picker-hex {
|
155
|
+
grid-row: 4;
|
156
|
+
grid-column: 1;
|
157
|
+
display: grid;
|
158
|
+
grid-template-columns: 20% 80%;
|
159
|
+
grid-template-rows: 100%;
|
160
|
+
|
161
|
+
.color-picker-hex-label {
|
162
|
+
justify-self: center;
|
163
|
+
align-self: center;
|
164
|
+
grid-row: 1;
|
165
|
+
grid-column: 1;
|
166
|
+
margin-left: 10px;
|
167
|
+
color: black;
|
168
|
+
}
|
169
|
+
|
170
|
+
.color-picker-hex-value {
|
171
|
+
justify-self: left;
|
172
|
+
align-self: center;
|
173
|
+
grid-row: 1;
|
174
|
+
grid-column: 2;
|
175
|
+
margin-left: 10px;
|
176
|
+
margin-right: 10px;
|
177
|
+
|
178
|
+
input {
|
179
|
+
width: 70px;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
.color-picker-warning {
|
185
|
+
color: black;
|
186
|
+
font-size: 11px;
|
187
|
+
padding: 4px;
|
188
|
+
justify-self: left;
|
189
|
+
align-self: center;
|
190
|
+
grid-row: 6;
|
191
|
+
grid-column: 1;
|
192
|
+
}
|
193
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
@import "Colors.scss";
|
2
|
+
:local .button {
|
3
|
+
composes: fontRegular from "Fonts.scss";
|
4
|
+
width: 55px;
|
5
|
+
height: 55px;
|
6
|
+
border: none;
|
7
|
+
display: inline-flex;
|
8
|
+
align-items: center;
|
9
|
+
justify-content: center;
|
10
|
+
&.wide {
|
11
|
+
width: 120px;
|
12
|
+
height: 45px;
|
13
|
+
justify-content: start;
|
14
|
+
}
|
15
|
+
&.small {
|
16
|
+
width: 30px;
|
17
|
+
height: 30px;
|
18
|
+
}
|
19
|
+
&.light {
|
20
|
+
background-color: light-background;
|
21
|
+
color: dark-color;
|
22
|
+
&:hover,
|
23
|
+
&.active {
|
24
|
+
background-color: light-active-background;
|
25
|
+
}
|
26
|
+
&:disabled {
|
27
|
+
background-color: light-color;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&.dark {
|
31
|
+
background-color: dark-background;
|
32
|
+
color: light-color;
|
33
|
+
&:hover,
|
34
|
+
&.active {
|
35
|
+
background-color: dark-active-background;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
:local .dialog-container {
|
2
|
+
position: absolute;
|
3
|
+
width: 100%;
|
4
|
+
height: 100%;
|
5
|
+
background: rgba(0.1, 0.1, 0.1, 0.6);
|
6
|
+
display: grid;
|
7
|
+
font-family: "acumin-pro";
|
8
|
+
top: 0;
|
9
|
+
|
10
|
+
.dialog {
|
11
|
+
align-self: center;
|
12
|
+
justify-self: center;
|
13
|
+
min-height: 140px;
|
14
|
+
max-width: 400px;
|
15
|
+
border-radius: 10px;
|
16
|
+
background: white;
|
17
|
+
padding: 10px;
|
18
|
+
|
19
|
+
display: grid;
|
20
|
+
grid-template-columns: 100%;
|
21
|
+
grid-template-rows: 1fr 50px;
|
22
|
+
|
23
|
+
.dialog-message {
|
24
|
+
grid-row: 1;
|
25
|
+
grid-column: 1;
|
26
|
+
margin-top: 20px;
|
27
|
+
padding: 10px;
|
28
|
+
font-size: 18px;
|
29
|
+
color: black;
|
30
|
+
}
|
31
|
+
|
32
|
+
.dialog-buttons {
|
33
|
+
grid-row: 2;
|
34
|
+
grid-column: 1;
|
35
|
+
display: grid;
|
36
|
+
grid-template-rows: 100%;
|
37
|
+
grid-template-columns: 100%;
|
38
|
+
color: white;
|
39
|
+
|
40
|
+
.dialog-button-ok {
|
41
|
+
cursor: pointer;
|
42
|
+
justify-self: center;
|
43
|
+
background: green;
|
44
|
+
min-width: 80px;
|
45
|
+
justify-content: center;
|
46
|
+
display: grid;
|
47
|
+
align-content: center;
|
48
|
+
align-self: center;
|
49
|
+
height: 35px;
|
50
|
+
border-radius: 10px;
|
51
|
+
|
52
|
+
&:hover {
|
53
|
+
opacity: 0.8;
|
54
|
+
}
|
55
|
+
|
56
|
+
&.error {
|
57
|
+
background: red;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
:root {
|
2
|
+
--selectionGrey: #666666;
|
3
|
+
}
|
4
|
+
|
5
|
+
* {
|
6
|
+
font-family: "acumin-pro-condensed";
|
7
|
+
font-weight: 600;
|
8
|
+
font-size: 12px;
|
9
|
+
}
|
10
|
+
|
11
|
+
.commandBar {
|
12
|
+
background-color: #333333;
|
13
|
+
display: flex;
|
14
|
+
flex-direction: row;
|
15
|
+
justify-content: space-between;
|
16
|
+
height: 55px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.commandsLeft {
|
20
|
+
display: flex;
|
21
|
+
padding-left: 10px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.divider {
|
25
|
+
display: flex;
|
26
|
+
align-items: center;
|
27
|
+
border-right: 1px solid black;
|
28
|
+
color: white;
|
29
|
+
&:last-of-type {
|
30
|
+
border-right: none;
|
31
|
+
}
|
32
|
+
&.padded {
|
33
|
+
padding-left: 10px;
|
34
|
+
padding-right: 10px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.commandsRight {
|
39
|
+
display: flex;
|
40
|
+
}
|
41
|
+
|
42
|
+
.betaFlag {
|
43
|
+
width: 80px;
|
44
|
+
height: 30px;
|
45
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
.commandButton {
|
2
|
+
cursor: pointer;
|
3
|
+
width: 55px;
|
4
|
+
height: 55px;
|
5
|
+
background-color: #333333;
|
6
|
+
|
7
|
+
&:hover {
|
8
|
+
background-color: var(--selectionGrey);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.commandLabel {
|
13
|
+
display: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.active {
|
17
|
+
transform-origin: center;
|
18
|
+
background-color: var(--selectionGrey);
|
19
|
+
}
|
20
|
+
|
21
|
+
.commandButtonIcon {
|
22
|
+
height: 100%;
|
23
|
+
width: 100%;
|
24
|
+
display: grid;
|
25
|
+
color: white;
|
26
|
+
align-content: center;
|
27
|
+
justify-content: center;
|
28
|
+
}
|
29
|
+
|
30
|
+
.disabled {
|
31
|
+
pointer-events: none;
|
32
|
+
color: black;
|
33
|
+
}
|
@@ -0,0 +1,135 @@
|
|
1
|
+
* {
|
2
|
+
font-family: "acumin-pro-condensed";
|
3
|
+
}
|
4
|
+
|
5
|
+
.commandDropdownBlocker {
|
6
|
+
position: absolute;
|
7
|
+
top: 0;
|
8
|
+
left: 0;
|
9
|
+
width: 100%;
|
10
|
+
height: 100%;
|
11
|
+
transform: scale(1);
|
12
|
+
z-index: 1;
|
13
|
+
}
|
14
|
+
|
15
|
+
.commandDropdownRoot {
|
16
|
+
position: relative;
|
17
|
+
text-transform: uppercase;
|
18
|
+
z-index: 1;
|
19
|
+
}
|
20
|
+
|
21
|
+
.commandDropdownIcon {
|
22
|
+
height: 100%;
|
23
|
+
width: 100%;
|
24
|
+
display: grid;
|
25
|
+
align-content: center;
|
26
|
+
justify-content: center;
|
27
|
+
color: white;
|
28
|
+
}
|
29
|
+
|
30
|
+
.commandDropdownActive {
|
31
|
+
height: 100%;
|
32
|
+
width: 100%;
|
33
|
+
display: grid;
|
34
|
+
align-content: center;
|
35
|
+
justify-content: center;
|
36
|
+
font-size: 14px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.commandDropdown {
|
40
|
+
cursor: pointer;
|
41
|
+
width: 55px;
|
42
|
+
height: 55px;
|
43
|
+
|
44
|
+
&:hover,
|
45
|
+
&.activated {
|
46
|
+
background-color: #666666;
|
47
|
+
color: black;
|
48
|
+
}
|
49
|
+
|
50
|
+
&:active {
|
51
|
+
transform-origin: center;
|
52
|
+
transform: scale(0.95);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.commandDropdownContent {
|
57
|
+
background: #333333;
|
58
|
+
position: absolute;
|
59
|
+
top: 55px;
|
60
|
+
width: 55px;
|
61
|
+
transform: scale(1);
|
62
|
+
|
63
|
+
&.toRight {
|
64
|
+
width: 120px;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.commandDropdownLabel {
|
69
|
+
color: white;
|
70
|
+
padding: 5px;
|
71
|
+
padding-left: 7px;
|
72
|
+
height: 35px;
|
73
|
+
font-size: 18px;
|
74
|
+
display: grid;
|
75
|
+
align-items: center;
|
76
|
+
cursor: pointer;
|
77
|
+
user-select: none;
|
78
|
+
grid-template-columns: 1fr 20px;
|
79
|
+
grid-template-rows: 100%;
|
80
|
+
position: relative;
|
81
|
+
|
82
|
+
&.active {
|
83
|
+
font-weight: bold;
|
84
|
+
font-size: 20px;
|
85
|
+
}
|
86
|
+
|
87
|
+
&:hover {
|
88
|
+
background: var(--selectionGrey);
|
89
|
+
.sub-items {
|
90
|
+
display: block;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.commandDropdownLabelText {
|
96
|
+
font-size: 12px;
|
97
|
+
grid-column: 1;
|
98
|
+
grid-row: 1;
|
99
|
+
font-weight: 600;
|
100
|
+
}
|
101
|
+
|
102
|
+
.commandDropdownLabelCheck {
|
103
|
+
grid-column: 2;
|
104
|
+
grid-row: 1;
|
105
|
+
}
|
106
|
+
|
107
|
+
.commandDropdownArrow {
|
108
|
+
grid-column: 2;
|
109
|
+
grid-row: 1;
|
110
|
+
font-size: 20px;
|
111
|
+
font-weight: bold;
|
112
|
+
padding-bottom: 10px;
|
113
|
+
padding-left: 4px;
|
114
|
+
}
|
115
|
+
|
116
|
+
.subItems {
|
117
|
+
position: absolute;
|
118
|
+
left: 200px;
|
119
|
+
top: 0;
|
120
|
+
width: 150px;
|
121
|
+
display: none;
|
122
|
+
}
|
123
|
+
|
124
|
+
.subItem {
|
125
|
+
color: white;
|
126
|
+
padding: 5px;
|
127
|
+
padding-left: 10px;
|
128
|
+
height: 35px;
|
129
|
+
display: grid;
|
130
|
+
|
131
|
+
&.checked {
|
132
|
+
background: white;
|
133
|
+
color: black;
|
134
|
+
}
|
135
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
.colorPickerComponent {
|
2
|
+
display: grid;
|
3
|
+
margin: 5px;
|
4
|
+
grid-template-columns: 100%;
|
5
|
+
grid-template-rows: 50% 50%;
|
6
|
+
}
|
7
|
+
|
8
|
+
.colorPickerComponentValue {
|
9
|
+
justify-self: center;
|
10
|
+
align-self: center;
|
11
|
+
grid-row: 1;
|
12
|
+
grid-column: 1;
|
13
|
+
margin-bottom: 4px;
|
14
|
+
|
15
|
+
input {
|
16
|
+
width: 50px;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
.colorPickerComponentLabel {
|
21
|
+
justify-self: center;
|
22
|
+
align-self: center;
|
23
|
+
grid-row: 2;
|
24
|
+
grid-column: 1;
|
25
|
+
color: black;
|
26
|
+
}
|
@@ -0,0 +1,136 @@
|
|
1
|
+
.colorPickerContainer {
|
2
|
+
width: 320px;
|
3
|
+
height: 300px;
|
4
|
+
background-color: white;
|
5
|
+
display: grid;
|
6
|
+
grid-template-columns: 100%;
|
7
|
+
grid-template-rows: 50% 50px 60px 40px 1fr auto;
|
8
|
+
font-family: "acumin-pro-condensed";
|
9
|
+
font-weight: normal;
|
10
|
+
font-size: 14px;
|
11
|
+
}
|
12
|
+
|
13
|
+
.withHints {
|
14
|
+
height: 380px !important;
|
15
|
+
}
|
16
|
+
|
17
|
+
.colorPickerSaturation {
|
18
|
+
grid-row: 1;
|
19
|
+
grid-column: 1;
|
20
|
+
display: grid;
|
21
|
+
grid-template-columns: 100%;
|
22
|
+
grid-template-rows: 100%;
|
23
|
+
position: relative;
|
24
|
+
cursor: pointer;
|
25
|
+
}
|
26
|
+
|
27
|
+
.colorPickerSaturationWhite {
|
28
|
+
grid-row: 1;
|
29
|
+
grid-column: 1;
|
30
|
+
|
31
|
+
background: -webkit-linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
32
|
+
background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
|
33
|
+
}
|
34
|
+
|
35
|
+
.colorPickerSaturationBlack {
|
36
|
+
grid-row: 1;
|
37
|
+
grid-column: 1;
|
38
|
+
|
39
|
+
background: -webkit-linear-gradient(to top, #000, rgba(0, 0, 0, 0));
|
40
|
+
background: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
|
41
|
+
}
|
42
|
+
|
43
|
+
.colorPickerSaturationCursor {
|
44
|
+
pointer-events: none;
|
45
|
+
width: 4px;
|
46
|
+
height: 4px;
|
47
|
+
box-shadow: 0px 0px 1.5px 1px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3);
|
48
|
+
border-radius: 50%;
|
49
|
+
transform: translate(-2px, -2px);
|
50
|
+
position: absolute;
|
51
|
+
}
|
52
|
+
|
53
|
+
.colorPickerHue {
|
54
|
+
grid-row: 2;
|
55
|
+
grid-column: 1;
|
56
|
+
display: grid;
|
57
|
+
margin: 10px;
|
58
|
+
grid-template-columns: 24% 76%;
|
59
|
+
grid-template-rows: 100%;
|
60
|
+
}
|
61
|
+
|
62
|
+
.colorPickerHueColor {
|
63
|
+
grid-row: 1;
|
64
|
+
grid-column: 1;
|
65
|
+
align-self: center;
|
66
|
+
justify-self: center;
|
67
|
+
width: 30px;
|
68
|
+
height: 30px;
|
69
|
+
border-radius: 15px;
|
70
|
+
border: 1px solid black;
|
71
|
+
}
|
72
|
+
|
73
|
+
.colorPickerHueSlider {
|
74
|
+
grid-row: 1;
|
75
|
+
grid-column: 2;
|
76
|
+
align-self: center;
|
77
|
+
height: 16px;
|
78
|
+
position: relative;
|
79
|
+
cursor: pointer;
|
80
|
+
|
81
|
+
background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
82
|
+
background: -webkit-linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);
|
83
|
+
}
|
84
|
+
|
85
|
+
.colorPickerHueCursor {
|
86
|
+
pointer-events: none;
|
87
|
+
width: 8px;
|
88
|
+
height: 18px;
|
89
|
+
transform: translate(-4px, -2px);
|
90
|
+
background-color: rgb(248, 248, 248);
|
91
|
+
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
|
92
|
+
position: absolute;
|
93
|
+
}
|
94
|
+
|
95
|
+
.colorPickerRgb {
|
96
|
+
grid-row: 3;
|
97
|
+
grid-column: 1;
|
98
|
+
display: grid;
|
99
|
+
margin: 10px;
|
100
|
+
grid-template-columns: 20% 6.66% 20% 6.66% 20% 6.66% 20%;
|
101
|
+
grid-template-rows: 100%;
|
102
|
+
}
|
103
|
+
|
104
|
+
.red {
|
105
|
+
grid-row: 1;
|
106
|
+
grid-column: 1;
|
107
|
+
}
|
108
|
+
|
109
|
+
.green {
|
110
|
+
grid-row: 1;
|
111
|
+
grid-column: 3;
|
112
|
+
}
|
113
|
+
|
114
|
+
.blue {
|
115
|
+
grid-row: 1;
|
116
|
+
grid-column: 5;
|
117
|
+
}
|
118
|
+
|
119
|
+
.alpha {
|
120
|
+
grid-row: 1;
|
121
|
+
grid-column: 7;
|
122
|
+
}
|
123
|
+
|
124
|
+
.grayed {
|
125
|
+
opacity: 0.5;
|
126
|
+
}
|
127
|
+
|
128
|
+
.colorPickerWarning {
|
129
|
+
color: black;
|
130
|
+
font-size: 11px;
|
131
|
+
padding: 4px;
|
132
|
+
justify-self: left;
|
133
|
+
align-self: center;
|
134
|
+
grid-row: 6;
|
135
|
+
grid-column: 1;
|
136
|
+
}
|