@nys-cui/cui-formpill 0.2.9 → 0.2.20
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/component-base/README.md +43 -0
- package/component-base/cui.jsonc +6 -0
- package/component-base/package.json +42 -0
- package/component-base/src/assets/scss/_button-menu.scss +270 -0
- package/component-base/src/assets/scss/_buttons.scss +200 -0
- package/component-base/src/assets/scss/_cui-asof.scss +86 -0
- package/component-base/src/assets/scss/_cui-formpill.scss +284 -0
- package/component-base/src/assets/scss/_cui-general.scss +19 -0
- package/component-base/src/assets/scss/_cui-message.scss +119 -0
- package/component-base/src/assets/scss/_cui-spinner.scss +27 -0
- package/component-base/src/assets/scss/_cui-tree.scss +136 -0
- package/component-base/src/assets/scss/_cui-widget.scss +128 -0
- package/component-base/src/assets/scss/_field-check-group.scss +296 -0
- package/component-base/src/assets/scss/_field-radio-group.scss +236 -0
- package/component-base/src/assets/scss/_fonts.scss +20 -0
- package/component-base/src/assets/scss/_globalNotes.scss +419 -0
- package/component-base/src/assets/scss/_grid.scss +489 -0
- package/component-base/src/assets/scss/_help.scss +46 -0
- package/component-base/src/assets/scss/_inputs.scss +1145 -0
- package/component-base/src/assets/scss/_modal.scss +56 -0
- package/component-base/src/assets/scss/_normalize.scss +3 -0
- package/component-base/src/assets/scss/_popovers.scss +119 -0
- package/component-base/src/assets/scss/_quick_lookup.scss +87 -0
- package/component-base/src/assets/scss/_sidebar-context.scss +896 -0
- package/component-base/src/assets/scss/_table.scss +702 -0
- package/component-base/src/assets/scss/_toast.scss +219 -0
- package/component-base/src/assets/scss/_utility.scss +64 -0
- package/component-base/src/assets/scss/_variables.scss +58 -0
- package/component-base/src/assets/scss/main.scss +451 -0
- package/component-base/src/assets/scss/normalize/_import-now.scss +11 -0
- package/component-base/src/assets/scss/normalize/_normalize-mixin.scss +570 -0
- package/component-base/src/assets/scss/normalize/_variables.scss +37 -0
- package/component-base/src/assets/scss/normalize/_vertical-rhythm.scss +63 -0
- package/component-base/src/assets/scss/readme.md +1 -0
- package/component-base/src/modules/dom.js +21 -0
- package/component-base/src/screens/index/cui.jsonc +3 -0
- package/component-base/src/screens/index/index.js +228 -0
- package/component-base/src/screens/index/index.tpl.html +32 -0
- package/component-base/src/spa.js +117 -0
- package/package.json +1 -1
- package/src/cui-formpill.js +452 -999
@@ -0,0 +1,284 @@
|
|
1
|
+
cui-formpill-popover {
|
2
|
+
position: absolute;
|
3
|
+
|
4
|
+
&.button-menu {
|
5
|
+
|
6
|
+
position: absolute;
|
7
|
+
display: flex;
|
8
|
+
|
9
|
+
.popover-contents {
|
10
|
+
z-index: 20;
|
11
|
+
background-color: #FFF;
|
12
|
+
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
|
13
|
+
width: auto;
|
14
|
+
// max-width: 85%;
|
15
|
+
border-radius: 5px;
|
16
|
+
flex-direction: column;
|
17
|
+
justify-content: center;
|
18
|
+
display: block;
|
19
|
+
margin-top: -5px;
|
20
|
+
|
21
|
+
.popover-footer {
|
22
|
+
padding: 0 10px 10px 10px
|
23
|
+
}
|
24
|
+
|
25
|
+
|
26
|
+
.popover-body {
|
27
|
+
|
28
|
+
|
29
|
+
// padding-right: 20px;
|
30
|
+
border-radius: 10px;
|
31
|
+
|
32
|
+
cui-listbox,
|
33
|
+
cui-text,
|
34
|
+
cui-date {
|
35
|
+
padding-right: 40px;
|
36
|
+
}
|
37
|
+
|
38
|
+
cui-listbox::part(label-wrapper) {
|
39
|
+
flex: 0 0 90px;
|
40
|
+
min-width: 90px;
|
41
|
+
}
|
42
|
+
|
43
|
+
cui-date::part(label-wrapper) {
|
44
|
+
flex: 0 0 90px;
|
45
|
+
min-width: 90px;
|
46
|
+
}
|
47
|
+
|
48
|
+
cui-text::part(label-wrapper) {
|
49
|
+
flex: 0 0 90px;
|
50
|
+
min-width: 90px;
|
51
|
+
}
|
52
|
+
|
53
|
+
.popover-header {
|
54
|
+
min-height: 20px;
|
55
|
+
display: flex;
|
56
|
+
border-bottom: 1px solid #A1A1A1;
|
57
|
+
margin-bottom: 10px;
|
58
|
+
flex-direction: row;
|
59
|
+
|
60
|
+
|
61
|
+
h3 {
|
62
|
+
margin-left: 10px;
|
63
|
+
margin-top: 10px;
|
64
|
+
color: #A1A1A1;
|
65
|
+
margin-bottom: 10px;
|
66
|
+
}
|
67
|
+
|
68
|
+
.close-button {
|
69
|
+
display: flex;
|
70
|
+
align-items: center;
|
71
|
+
color: var(--section-header-icon-color);
|
72
|
+
font-size: xx-large;
|
73
|
+
padding-bottom: 2px;
|
74
|
+
margin-left: auto;
|
75
|
+
margin-bottom: 0;
|
76
|
+
background-color: #FFF;
|
77
|
+
border: 0;
|
78
|
+
|
79
|
+
&:hover {
|
80
|
+
|
81
|
+
color: var(--page-icon-hover-color);
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
cui-button {
|
87
|
+
button {
|
88
|
+
margin-bottom: 0px;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
&.show {
|
95
|
+
display: block;
|
96
|
+
}
|
97
|
+
|
98
|
+
ul {
|
99
|
+
list-style-type: none;
|
100
|
+
padding: 0;
|
101
|
+
margin: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
&:has(dialog) {
|
108
|
+
left: 0;
|
109
|
+
right: 0 !important;
|
110
|
+
top: 0 !important;
|
111
|
+
display: flex !important;
|
112
|
+
|
113
|
+
.dialog-popover-contents {
|
114
|
+
|
115
|
+
header {
|
116
|
+
display: none;
|
117
|
+
}
|
118
|
+
|
119
|
+
.popover-header{
|
120
|
+
display: flex;
|
121
|
+
flex-direction: row;
|
122
|
+
justify-content: center;
|
123
|
+
align-items: center;
|
124
|
+
|
125
|
+
button{
|
126
|
+
margin: 0px 0px 0px auto;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
@media (width < 1175px) {
|
137
|
+
cui-formpill-popover {
|
138
|
+
&.button-menu {
|
139
|
+
.popover-contents {
|
140
|
+
.popover-body {
|
141
|
+
|
142
|
+
cui-listbox,
|
143
|
+
cui-text,
|
144
|
+
cui-date {
|
145
|
+
padding-left: 20px;
|
146
|
+
}
|
147
|
+
|
148
|
+
cui-listbox::part(label-wrapper) {
|
149
|
+
flex: 0 0 0
|
150
|
+
}
|
151
|
+
|
152
|
+
}
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
cui-formpill {
|
159
|
+
|
160
|
+
display: flex;
|
161
|
+
|
162
|
+
&::part(outer-wrapper) {
|
163
|
+
|
164
|
+
align-items: center;
|
165
|
+
}
|
166
|
+
|
167
|
+
&::part(label-wrapper) {
|
168
|
+
|
169
|
+
margin-bottom: 5px;
|
170
|
+
}
|
171
|
+
|
172
|
+
button {
|
173
|
+
display: flex !important;
|
174
|
+
height: 32px !important;
|
175
|
+
align-items: center;
|
176
|
+
border-radius: 8px;
|
177
|
+
border: 1px solid #A1A1A1;
|
178
|
+
cursor: pointer;
|
179
|
+
padding: 5px 15px;
|
180
|
+
margin-bottom: 0;
|
181
|
+
text-wrap: nowrap;
|
182
|
+
margin-bottom: 5px;
|
183
|
+
|
184
|
+
|
185
|
+
div {
|
186
|
+
margin-right: 5px;
|
187
|
+
height: 20px;
|
188
|
+
width: 20px;
|
189
|
+
display: flex;
|
190
|
+
align-items: center;
|
191
|
+
color: var(--section-header-icon-color);
|
192
|
+
font-size: x-large;
|
193
|
+
padding-bottom: 2px;
|
194
|
+
}
|
195
|
+
|
196
|
+
cui-icon {
|
197
|
+
margin-right: 5px;
|
198
|
+
height: 20px;
|
199
|
+
width: 20px;
|
200
|
+
display: flex;
|
201
|
+
align-items: center;
|
202
|
+
|
203
|
+
&.accessibleHideLabel {
|
204
|
+
margin-right: 0px;
|
205
|
+
}
|
206
|
+
|
207
|
+
svg {
|
208
|
+
height: 20px;
|
209
|
+
width: 20px;
|
210
|
+
fill: var(--section-header-icon-color);
|
211
|
+
stroke: var(--section-header-icon-color);
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
&:hover {
|
216
|
+
|
217
|
+
div {
|
218
|
+
color: var(--page-icon-hover-color);
|
219
|
+
}
|
220
|
+
}
|
221
|
+
}
|
222
|
+
|
223
|
+
.pill-container {
|
224
|
+
display: flex;
|
225
|
+
margin-left: 10px;
|
226
|
+
flex-wrap: wrap;
|
227
|
+
}
|
228
|
+
|
229
|
+
cui-formpill-pill {
|
230
|
+
|
231
|
+
margin-bottom: 5px;
|
232
|
+
|
233
|
+
.form-pill {
|
234
|
+
|
235
|
+
display: flex;
|
236
|
+
background-color: #F6F3F4;
|
237
|
+
border: 1px solid #A1A1A1;
|
238
|
+
color: black;
|
239
|
+
text-align: center;
|
240
|
+
margin-right: 10px;
|
241
|
+
height: 32px;
|
242
|
+
justify-content: center;
|
243
|
+
align-items: center;
|
244
|
+
border-radius: 8px;
|
245
|
+
padding-right: 5px;
|
246
|
+
cursor: pointer;
|
247
|
+
|
248
|
+
button {
|
249
|
+
cursor: pointer;
|
250
|
+
border: 0;
|
251
|
+
background: none;
|
252
|
+
font-weight: 500;
|
253
|
+
color: var(--section-header-icon-color);
|
254
|
+
font-size: x-large;
|
255
|
+
justify-content: center;
|
256
|
+
align-items: center;
|
257
|
+
padding: 7px 10px 5px 10px;
|
258
|
+
margin: 0;
|
259
|
+
|
260
|
+
|
261
|
+
&:hover {
|
262
|
+
color: var(--page-icon-hover-color);
|
263
|
+
}
|
264
|
+
|
265
|
+
}
|
266
|
+
|
267
|
+
}
|
268
|
+
|
269
|
+
.pill-title {
|
270
|
+
font-size: 13.3333px;
|
271
|
+
margin: 0;
|
272
|
+
height: 100%;
|
273
|
+
padding-left: 10px;
|
274
|
+
padding: 5px 15px;
|
275
|
+
display: flex;
|
276
|
+
align-items: center;
|
277
|
+
user-select: none;
|
278
|
+
text-wrap: nowrap;
|
279
|
+
|
280
|
+
}
|
281
|
+
}
|
282
|
+
|
283
|
+
|
284
|
+
}
|
@@ -0,0 +1,119 @@
|
|
1
|
+
@use '_variables.scss';
|
2
|
+
|
3
|
+
$color_successPrimary: #43b17a;
|
4
|
+
$color_successSecondary: #DFF0D8;
|
5
|
+
$color_successText: #fff;
|
6
|
+
|
7
|
+
$color_infoPrimary: #397dbb;
|
8
|
+
$color_infoSecondary: #F0F9FF;
|
9
|
+
$color_infoText: #fff;
|
10
|
+
|
11
|
+
$color_warningPrimary: #ffeb95;
|
12
|
+
$color_warningSecondary: #fff6cc;
|
13
|
+
$color_warningText: #222;
|
14
|
+
|
15
|
+
$color_errorPrimary: #bd4e4e;
|
16
|
+
$color_errorSecondary: #f9e7e7;
|
17
|
+
$color_errorText: #fff;
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
cui-message{
|
23
|
+
|
24
|
+
.cui-message{
|
25
|
+
display: flex;
|
26
|
+
padding: 6px;
|
27
|
+
margin-top:6px;
|
28
|
+
box-shadow: variables.$sectionShadowBoxColor variables.$sectionShadowBoxX variables.$sectionShadowBoxY variables.$sectionShadowBoxBlur;
|
29
|
+
|
30
|
+
|
31
|
+
.cui-message-contents {
|
32
|
+
padding-top: 0.2em;
|
33
|
+
}
|
34
|
+
|
35
|
+
.cui-message-icon{
|
36
|
+
margin-right:6px;
|
37
|
+
|
38
|
+
cui-icon,
|
39
|
+
cui-icon svg{
|
40
|
+
display: inline-block;
|
41
|
+
height:24px;
|
42
|
+
width:24px;
|
43
|
+
vertical-align: bottom;
|
44
|
+
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&.cui-message-success{
|
49
|
+
color: $color_successText;
|
50
|
+
background: $color_successPrimary;
|
51
|
+
border: solid 1px $color_successPrimary;
|
52
|
+
border-left: solid 5px $color_successPrimary;
|
53
|
+
border-radius: 5px;
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
&.cui-message-info{
|
58
|
+
color: $color_infoText;
|
59
|
+
background: $color_infoPrimary;
|
60
|
+
border: solid 1px $color_infoPrimary;
|
61
|
+
border-left: solid 5px $color_infoPrimary;
|
62
|
+
border-radius: 5px;
|
63
|
+
|
64
|
+
cui-icon {
|
65
|
+
svg {
|
66
|
+
path {
|
67
|
+
stroke: #FFF;
|
68
|
+
|
69
|
+
&#dot {
|
70
|
+
fill: #FFF;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
&.cui-message-warning{
|
78
|
+
color: $color_warningText;
|
79
|
+
background: $color_warningPrimary;
|
80
|
+
border: solid 1px $color_warningPrimary;
|
81
|
+
border-left: solid 5px $color_warningPrimary;
|
82
|
+
border-radius: 5px;
|
83
|
+
|
84
|
+
}
|
85
|
+
|
86
|
+
&.cui-message-error{
|
87
|
+
color: $color_errorText;
|
88
|
+
background: $color_errorPrimary;
|
89
|
+
border: solid 1px $color_errorPrimary;
|
90
|
+
border-left: solid 5px $color_errorPrimary;
|
91
|
+
border-radius: 5px;
|
92
|
+
|
93
|
+
|
94
|
+
}
|
95
|
+
|
96
|
+
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
// cui-date .cui-message{
|
101
|
+
// margin-top:2px !important;
|
102
|
+
// }
|
103
|
+
|
104
|
+
// cui-textarea .cui-message{
|
105
|
+
// margin-top:2px !important;
|
106
|
+
// }
|
107
|
+
|
108
|
+
|
109
|
+
cui-section {
|
110
|
+
cui-message-list[slot="section-messages"] {
|
111
|
+
cui-message .cui-message {
|
112
|
+
margin: 0px 10px 10px 10px;
|
113
|
+
}
|
114
|
+
|
115
|
+
cui-message:last-of-type .cui-message {
|
116
|
+
margin-bottom: 20px;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
cui-spinner {
|
2
|
+
--cui-loading-spinners-color: var(--cui-loading-spinner-color, #fff);
|
3
|
+
--cui-loading-spinners-bcgcolor: var(--cui-loading-spinners-backgroundcolor, 28, 28, 28);
|
4
|
+
position: fixed;
|
5
|
+
display: flex;
|
6
|
+
width: 100%;
|
7
|
+
height: 100%;
|
8
|
+
top: 0;
|
9
|
+
z-index: 1000;
|
10
|
+
left: 0;
|
11
|
+
cursor: none;
|
12
|
+
|
13
|
+
|
14
|
+
}
|
15
|
+
|
16
|
+
cui-section {
|
17
|
+
&::part(section-spinner) {
|
18
|
+
--cui-loading-spinners-color: var(--cui-loading-spinner-color, #fff);
|
19
|
+
--cui-loading-spinners-bcgcolor: var(--cui-loading-spinners-backgroundcolor, 28, 28, 28);
|
20
|
+
position: absolute !important;
|
21
|
+
width: 100%;
|
22
|
+
height: 100%;
|
23
|
+
cursor: none;
|
24
|
+
top: 0;
|
25
|
+
z-index: 1000;
|
26
|
+
}
|
27
|
+
}
|
@@ -0,0 +1,136 @@
|
|
1
|
+
cui-tree {
|
2
|
+
|
3
|
+
cui-tree-branch {
|
4
|
+
.expandBtn {
|
5
|
+
font-family: var(--page-font);
|
6
|
+
font-size: var(--standard-font-size);
|
7
|
+
color: rgb(34, 34, 34);
|
8
|
+
border: none;
|
9
|
+
background: transparent;
|
10
|
+
margin-bottom: 0px;
|
11
|
+
padding: 2px 3px;
|
12
|
+
cursor: pointer;
|
13
|
+
text-align: left;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
cui-tree-branch, cui-tree-leaf {
|
18
|
+
&::part(infoRow)::before {
|
19
|
+
margin-left: -10px;
|
20
|
+
}
|
21
|
+
|
22
|
+
cui-icon svg {
|
23
|
+
height:24px;
|
24
|
+
width: 24px;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.header {
|
29
|
+
&::part(leafText), .expandBtn
|
30
|
+
{
|
31
|
+
font-weight: 600;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
&.sideNav {
|
36
|
+
&::part(trunk) {
|
37
|
+
padding-left: 20px;
|
38
|
+
}
|
39
|
+
|
40
|
+
cui-tree-leaf, cui-tree-branch {
|
41
|
+
&:first-child::part(appendage) {
|
42
|
+
padding-top: unset;
|
43
|
+
}
|
44
|
+
|
45
|
+
&::part(appendage) {
|
46
|
+
padding-top: 5px;
|
47
|
+
}
|
48
|
+
|
49
|
+
&::part(leafText), .expandBtn {
|
50
|
+
font-size: 15px;
|
51
|
+
color: #333;
|
52
|
+
}
|
53
|
+
|
54
|
+
&.header {
|
55
|
+
&::part(leafText), .expandBtn
|
56
|
+
{
|
57
|
+
font-size: 16px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.expandBtn:hover {
|
62
|
+
text-decoration: underline;
|
63
|
+
}
|
64
|
+
|
65
|
+
&::part(infoRow)::before {
|
66
|
+
border-left-color: #333;
|
67
|
+
}
|
68
|
+
|
69
|
+
cui-link a {
|
70
|
+
text-decoration: unset;
|
71
|
+
color: #333;
|
72
|
+
|
73
|
+
&:hover {
|
74
|
+
text-decoration: underline;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
cui-button button {
|
79
|
+
font-family: var(--page-font);
|
80
|
+
font-size: var(--standard-font-size);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
cui-button[slot=controls] {
|
86
|
+
button {
|
87
|
+
background: transparent;
|
88
|
+
border: none;
|
89
|
+
padding: unset;
|
90
|
+
margin: unset;
|
91
|
+
|
92
|
+
cui-icon svg {
|
93
|
+
height:18px;
|
94
|
+
width: 18px;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
cui-section cui-tree {
|
104
|
+
margin-bottom: 20px;
|
105
|
+
|
106
|
+
cui-tree-leaf {
|
107
|
+
padding-left: 1.2em;
|
108
|
+
}
|
109
|
+
|
110
|
+
cui-tree-branch {
|
111
|
+
&> {
|
112
|
+
cui-tree-branch {
|
113
|
+
padding-left: .4em;
|
114
|
+
}
|
115
|
+
|
116
|
+
cui-tree-leaf {
|
117
|
+
padding-left: 1.7em;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
&[selectable]:not([selectable='false']){
|
122
|
+
&> {
|
123
|
+
cui-tree-branch {
|
124
|
+
padding-left: .63em;
|
125
|
+
.expandBtn {
|
126
|
+
padding-left: 0px;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
cui-tree-leaf {
|
131
|
+
padding-left: 1.7em;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
.page.index-page{
|
2
|
+
text-align: -webkit-center;
|
3
|
+
|
4
|
+
h1 {
|
5
|
+
text-align: left;
|
6
|
+
}
|
7
|
+
|
8
|
+
.grid {
|
9
|
+
max-width: 1024px;
|
10
|
+
text-align: left;
|
11
|
+
}
|
12
|
+
|
13
|
+
}
|
14
|
+
|
15
|
+
cui-widget {
|
16
|
+
&::part(widget-title) {
|
17
|
+
color: #a1a1a1;
|
18
|
+
}
|
19
|
+
|
20
|
+
&::part(category-label) {
|
21
|
+
color: #a1a1a1;
|
22
|
+
font-weight: 600;
|
23
|
+
}
|
24
|
+
|
25
|
+
cui-icon {
|
26
|
+
display: block;
|
27
|
+
width: 20px;
|
28
|
+
height: 20px;
|
29
|
+
|
30
|
+
svg {
|
31
|
+
path {
|
32
|
+
stroke: #a1a1a1;
|
33
|
+
}
|
34
|
+
|
35
|
+
circle {
|
36
|
+
stroke: #a1a1a1;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&.construction {
|
42
|
+
&::part(widget-section) {
|
43
|
+
background-image: linear-gradient(45deg, #ffcc00 25%, #000 25%, #000 50%, #ffcc00 50%, #ffcc00 75%, #000 75%, #000 100%);
|
44
|
+
background-size: 56.57px 56.57px;
|
45
|
+
}
|
46
|
+
|
47
|
+
&::part(widget-header) {
|
48
|
+
width: calc(100% - 1em);
|
49
|
+
padding: 0px;
|
50
|
+
text-align: center;
|
51
|
+
display: inline-block;
|
52
|
+
background-color: #fc0;
|
53
|
+
margin: .5em .5em 0em .5em;
|
54
|
+
}
|
55
|
+
|
56
|
+
&::part(widget-body) {
|
57
|
+
padding: 0px;
|
58
|
+
}
|
59
|
+
|
60
|
+
&::part(widget-title) {
|
61
|
+
color: black;
|
62
|
+
margin-block-start: 7px;
|
63
|
+
margin-block-end: 7px;
|
64
|
+
}
|
65
|
+
|
66
|
+
.widget-instructions {
|
67
|
+
width: calc(100% - 1em);
|
68
|
+
background-color: #fc0;
|
69
|
+
display: inline-block;
|
70
|
+
color: black;
|
71
|
+
margin: 0em .5em .5em .5em;
|
72
|
+
text-align: center;
|
73
|
+
padding-bottom: 5px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
&.welcome {
|
78
|
+
&::part(widget-section) {
|
79
|
+
background-color: #adcce9;
|
80
|
+
}
|
81
|
+
|
82
|
+
&::part(widget-title) {
|
83
|
+
color: black;
|
84
|
+
}
|
85
|
+
|
86
|
+
p, li {
|
87
|
+
color: black;
|
88
|
+
}
|
89
|
+
|
90
|
+
li {
|
91
|
+
padding-bottom: 5px;
|
92
|
+
|
93
|
+
&:last-of-type {
|
94
|
+
padding-bottom: 10px;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
cui-button.invis-btn button {
|
100
|
+
background: rgba(0, 0, 0, 0);
|
101
|
+
border: 0;
|
102
|
+
margin-bottom: 0px;
|
103
|
+
|
104
|
+
cui-icon svg {
|
105
|
+
height: 24px;
|
106
|
+
width: 24px;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
cui-widget-popover {
|
112
|
+
position: absolute;
|
113
|
+
|
114
|
+
.popover-contents {
|
115
|
+
background: #fff;
|
116
|
+
border-radius: 5px;
|
117
|
+
color: #333;
|
118
|
+
box-shadow: 1px 2px 5px #ccc;
|
119
|
+
|
120
|
+
.popover-body {
|
121
|
+
padding: 5px 5px;
|
122
|
+
|
123
|
+
button {
|
124
|
+
margin-bottom: 0px;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|