superdesk-ui-framework 3.0.1-beta.9 → 3.0.2
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/app/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +1 -0
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_big-icon-font.scss +1 -1
- package/app/styles/_buttons.scss +11 -6
- package/app/styles/_content-divider.scss +63 -8
- package/app/styles/_helpers.scss +24 -1
- package/app/styles/_icon-font.scss +11 -10
- package/app/styles/_labels.scss +0 -1
- package/app/styles/_master-desk.scss +5 -4
- package/app/styles/_modals.scss +7 -3
- package/app/styles/_normalize.scss +4 -0
- package/app/styles/_sd-tag-input.scss +56 -2
- package/app/styles/_simple-list.scss +0 -2
- package/app/styles/_table-list.scss +116 -12
- package/app/styles/app.scss +3 -0
- package/app/styles/components/_list-item.scss +23 -16
- package/app/styles/components/_sd-collapse-box.scss +6 -6
- package/app/styles/components/_sd-comment-box.scss +8 -4
- package/app/styles/components/_sd-editor-popup.scss +4 -4
- package/app/styles/components/_sd-media-carousel.scss +37 -2
- package/app/styles/components/_sd-pagination.scss +41 -0
- package/app/styles/components/_sd-photo-preview.scss +2 -2
- package/app/styles/components/_subnav.scss +470 -470
- package/app/styles/design-tokens/_new-colors.scss +29 -12
- package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +230 -61
- package/app/styles/grids/_grid-layout.scss +13 -14
- package/app/styles/interface-elements/_side-panel.scss +1 -1
- package/app/styles/layout/_editor.scss +6 -0
- package/app/styles/menus/_sd-sidebar-menu.scss +1 -1
- package/app/styles/primereact/_pr-datepicker.scss +16 -2
- package/app/styles/primereact/_pr-dialog.scss +9 -0
- package/app/styles/primereact/_pr-menu.scss +6 -5
- package/app/styles/variables/_colors.scss +47 -47
- package/app/template/search-handler.html +2 -2
- package/app-typescript/components/ContentDivider.tsx +3 -0
- package/app-typescript/components/DatePicker.tsx +8 -9
- package/app-typescript/components/Dropdown.tsx +127 -82
- package/app-typescript/components/DurationInput.tsx +39 -14
- package/app-typescript/components/Form/FormLabel.tsx +8 -1
- package/app-typescript/components/Form/InputBase.tsx +12 -2
- package/app-typescript/components/Input.tsx +4 -4
- package/app-typescript/components/Label.tsx +17 -1
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +21 -2
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
- package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
- package/app-typescript/components/Layouts/CoreLayout.tsx +3 -1
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +10 -1
- package/app-typescript/components/Lists/ContentList.tsx +64 -30
- package/app-typescript/components/Lists/TableList.tsx +255 -53
- package/app-typescript/components/Menu.tsx +2 -2
- package/app-typescript/components/Modal.tsx +6 -2
- package/app-typescript/components/MultiSelect.tsx +2 -2
- package/app-typescript/components/NavButton.tsx +2 -1
- package/app-typescript/components/Navigation/SideBarMenu.tsx +30 -4
- package/app-typescript/components/SearchBar.tsx +11 -3
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/TimePicker.tsx +2 -13
- package/app-typescript/components/TreeSelect.tsx +286 -180
- package/app-typescript/index.ts +1 -0
- package/dist/examples.bundle.css +110 -71
- package/dist/examples.bundle.js +24358 -22168
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +505 -2
- package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +17 -19
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +22 -23
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +226 -25
- package/dist/react/ContentDivider.tsx +22 -18
- package/dist/react/ContentList.tsx +188 -12
- package/dist/react/DatePicker.tsx +50 -2
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +7 -3
- package/dist/react/Inputs.tsx +1 -7
- package/dist/react/Modal.tsx +154 -22
- package/dist/react/MultiSelect.tsx +5 -5
- package/dist/react/NavButtons.tsx +31 -1
- package/dist/react/TableList.tsx +52 -139
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/TreeSelect.tsx +167 -176
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +1 -0
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +1100 -407
- package/dist/superdesk-ui.bundle.js +6594 -4035
- package/dist/vendor.bundle.js +27 -27
- package/examples/css/docs-page.css +4 -4
- package/examples/index.js +4 -0
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +505 -2
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +17 -19
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +22 -23
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +226 -25
- package/examples/pages/react/ContentDivider.tsx +22 -18
- package/examples/pages/react/ContentList.tsx +188 -12
- package/examples/pages/react/DatePicker.tsx +50 -2
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +7 -3
- package/examples/pages/react/Inputs.tsx +1 -7
- package/examples/pages/react/Modal.tsx +154 -22
- package/examples/pages/react/MultiSelect.tsx +5 -5
- package/examples/pages/react/NavButtons.tsx +31 -1
- package/examples/pages/react/TableList.tsx +52 -139
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +167 -176
- package/package.json +3 -5
- package/react/components/ContentDivider.d.ts +1 -0
- package/react/components/ContentDivider.js +2 -0
- package/react/components/DatePicker.d.ts +2 -2
- package/react/components/DatePicker.js +3 -3
- package/react/components/Dropdown.d.ts +6 -5
- package/react/components/Dropdown.js +57 -30
- package/react/components/DurationInput.d.ts +1 -1
- package/react/components/DurationInput.js +46 -17
- package/react/components/Form/FormLabel.d.ts +4 -1
- package/react/components/Form/FormLabel.js +9 -3
- package/react/components/Form/InputBase.d.ts +0 -1
- package/react/components/Form/InputBase.js +15 -1
- package/react/components/Input.d.ts +3 -3
- package/react/components/Input.js +2 -1
- package/react/components/Label.d.ts +1 -0
- package/react/components/Label.js +17 -2
- package/react/components/Layouts/AuthoringFrame.d.ts +1 -0
- package/react/components/Layouts/AuthoringFrame.js +1 -1
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +9 -2
- package/react/components/Layouts/AuthoringFrameRightBar.js +14 -3
- package/react/components/Layouts/AuthoringInnerHeader.js +1 -1
- package/react/components/Layouts/AuthoringMain.js +1 -1
- package/react/components/Layouts/CoreLayout.d.ts +2 -0
- package/react/components/Layouts/CoreLayout.js +1 -1
- package/react/components/Layouts/CoreLayoutMain.d.ts +2 -0
- package/react/components/Layouts/CoreLayoutMain.js +8 -1
- package/react/components/Lists/ContentList.d.ts +6 -0
- package/react/components/Lists/ContentList.js +42 -16
- package/react/components/Lists/TableList.d.ts +30 -8
- package/react/components/Lists/TableList.js +127 -24
- package/react/components/Menu.js +1 -1
- package/react/components/Modal.d.ts +2 -0
- package/react/components/Modal.js +3 -3
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +73 -0
- package/react/components/NavButton.d.ts +1 -1
- package/react/components/Navigation/SideBarMenu.d.ts +6 -0
- package/react/components/Navigation/SideBarMenu.js +19 -2
- package/react/components/SearchBar.d.ts +1 -1
- package/react/components/SearchBar.js +15 -7
- package/react/components/TimePicker.d.ts +1 -5
- package/react/components/TimePicker.js +3 -7
- package/react/components/TreeSelect.d.ts +12 -5
- package/react/components/TreeSelect.js +189 -116
- package/react/index.d.ts +1 -0
- package/react/index.js +3 -0
- package/patches/@superdesk+primereact+5.0.2-4.patch +0 -66
package/app/fonts/sd_icons.eot
CHANGED
|
Binary file
|
package/app/fonts/sd_icons.svg
CHANGED
|
@@ -193,4 +193,5 @@
|
|
|
193
193
|
<glyph unicode="" glyph-name="audio-cancel" d="M67.882 891.8l195.052-195.052 0.128 0.102 477.43-477.66c0.037 0.039 0.074 0.077 0.111 0.116l75.807-75.805-0.114-0.115 139.712-139.712-67.882-67.882-145.282 145.284c-48.898-33.743-104.339-58.713-164.049-72.639l-2.796-0.643v110.54c31.797 9.462 61.834 23.030 89.496 40.088l-153.496 153.496v-247.918l-320 256h-192v320h183.918l-183.918 183.918zM576 949c215.178-48.832 375.624-240.934 375.624-470.602 0-95.32-27.637-184.169-75.354-258.991l-78.258 78.258c29.502 53.629 46.29 115.232 46.29 180.733 0 168.403-110.971 311.035-263.662 358.648l-4.64 1.414zM576 694.648c79.418-39.708 134.152-121.272 134.152-216.252 0-27.892-4.72-54.628-13.4-79.473l-120.752 120.751zM512 896v-312.326l-173.516 173.514z" />
|
|
194
194
|
<glyph unicode="" glyph-name="list-alt-cancel" d="M67.882 891.8l60.116-60.116 0.002 0.228 128-128-0.002-0.228 63.684-63.684h0.23l64.088-64.088-0.002-0.228 63.684-63.684h0.23l64-64h-0.23l64-64h0.23l64-64h-0.23l64-64h0.23l192.088-192.088-0.004-0.226 60.012-60.012-67.882-67.882-64.208 64.208h-631.918c-34.353 0-63.413 30.677-63.991 63.019l-0.009 0.981-0.002 631.92-127.998 127.998zM832 896c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-632.324l-184.324 184.324h56.324v64h-120.324l-63.998 64h184.322v64h-248.322l-64 64h312.322v64h-376.322l-192 192zM567.918 256l-64 64h-119.918v-64zM320 320h-64v-64h64zM439.918 384l-55.92 55.92 0.002-55.92zM320 448h-64v-64h64zM255.998 567.92l0.002-55.92h55.918z" />
|
|
195
195
|
<glyph unicode="" glyph-name="post-cancel" d="M67.882 891.8l59.8-59.8 0.228 0.002 128.090-128.092v-0.228l63.68-63.68h0.228l64-64h-0.228l64-64h0.228l64-64h-0.228l64-64h0.23l128-128h-0.23l252.328-252.328-67.882-67.882-320.21 320.21-311.916-0.002-192-192v695.918l-64 64zM896 832c34.353 0 63.413-28.717 63.991-62.961l0.009-1.039v-448c0-34.353-28.717-63.413-62.961-63.991l-1.039-0.009-56.326 0.002-256.002 256 184.328-0.002v64l-248.328 0.002-64 64 312.328-0.002v64l-376.328 0.002-128 128zM439.916 384.002l-64 64-119.916-0.002v-64zM311.916 512.002l-55.916 55.916v-55.918z" />
|
|
196
|
+
<glyph unicode="" glyph-name="text-block" d="M896 543.95v-191.9c0-53.012-43.038-96.050-96.050-96.050h-575.9c-53.012 0-96.050 43.038-96.050 96.050v191.9c0 53.012 43.039 96.050 96.050 96.050h575.9c53.012 0 96.050-43.038 96.050-96.050zM256 384h512v128h-512zM128 768h768v128h-768zM128 0h768v128h-768z" />
|
|
196
197
|
</font></defs></svg>
|
package/app/fonts/sd_icons.ttf
CHANGED
|
Binary file
|
package/app/fonts/sd_icons.woff
CHANGED
|
Binary file
|
|
@@ -40,7 +40,7 @@ $icon-color: $grayDark !default;
|
|
|
40
40
|
[class^="big-icon--"],
|
|
41
41
|
[class*=" big-icon--"] {
|
|
42
42
|
@include big-icon-base;
|
|
43
|
-
color:
|
|
43
|
+
color: var(--color-icon-default);
|
|
44
44
|
/* Better Font Rendering =========== */
|
|
45
45
|
-webkit-font-smoothing: antialiased;
|
|
46
46
|
-moz-osx-font-smoothing: grayscale;
|
package/app/styles/_buttons.scss
CHANGED
|
@@ -327,13 +327,13 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
327
327
|
border-radius: $border-radius__base--full;
|
|
328
328
|
background-color: transparent;
|
|
329
329
|
opacity: 0.75;
|
|
330
|
-
background-color:
|
|
331
|
-
color:
|
|
330
|
+
background-color: hsla(214, 13%, 55%, 0);
|
|
331
|
+
color: var(--color-icon-default);
|
|
332
332
|
text-decoration: none;
|
|
333
333
|
cursor: pointer;
|
|
334
334
|
flex-shrink: 0;
|
|
335
335
|
[class^="icon-"], [class*=" icon-"] {
|
|
336
|
-
color:
|
|
336
|
+
color: var(--color-icon-default) !important;
|
|
337
337
|
vertical-align: baseline !important;
|
|
338
338
|
}
|
|
339
339
|
&:hover {
|
|
@@ -382,7 +382,6 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
382
382
|
height: $height__button--x-large;
|
|
383
383
|
width: $height__button--x-large;
|
|
384
384
|
[class^="icon-"], [class*=" icon-"] {
|
|
385
|
-
color: inherit;
|
|
386
385
|
vertical-align: baseline !important;
|
|
387
386
|
font-size: 2.4rem;
|
|
388
387
|
height: 2.4rem;
|
|
@@ -398,12 +397,18 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
|
|
|
398
397
|
}
|
|
399
398
|
}
|
|
400
399
|
&--outlineWhite {
|
|
401
|
-
color: hsla(214, 13%, 95%, 0.8);
|
|
400
|
+
color: hsla(214, 13%, 95%, 0.8) !important;
|
|
402
401
|
border: 1px solid currentColor;
|
|
402
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
403
|
+
color: hsla(214, 13%, 95%, 0.8) !important;
|
|
404
|
+
}
|
|
403
405
|
&:hover:not(.icn-btn--disabled) {
|
|
404
|
-
color: hsla(214, 13%, 95%, 1);
|
|
406
|
+
color: hsla(214, 13%, 95%, 1) !important;
|
|
405
407
|
border-color: hsla(214, 13%, 95%, 1);
|
|
406
408
|
background-color: hsla(0, 0%, 0%, 0.4);
|
|
409
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
410
|
+
color: hsla(214, 13%, 95%, 1) !important;
|
|
411
|
+
}
|
|
407
412
|
}
|
|
408
413
|
&:active:not(.icn-btn--disabled) {
|
|
409
414
|
border-color: var(--sd-colour-interactive);
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
padding: 0;
|
|
5
5
|
color: $sd-text;
|
|
6
6
|
list-style: none;
|
|
7
|
+
border-bottom: 0;
|
|
8
|
+
border-left: 0;
|
|
9
|
+
border-right: 0;
|
|
7
10
|
border-top: 1px var(--sd-colour-line--medium);
|
|
8
11
|
border-style: solid;
|
|
9
12
|
|
|
@@ -15,8 +18,11 @@
|
|
|
15
18
|
white-space: nowrap;
|
|
16
19
|
text-align: center;
|
|
17
20
|
border-top: 0;
|
|
21
|
+
border-bottom: 0;
|
|
22
|
+
border-left: 0;
|
|
23
|
+
border-right: 0;
|
|
18
24
|
border-top-color: var(--sd-colour-line--medium);
|
|
19
|
-
border-
|
|
25
|
+
border-style: solid;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
28
|
&.sd-content-divider--horizontal {
|
|
@@ -24,7 +30,23 @@
|
|
|
24
30
|
clear: both;
|
|
25
31
|
width: 100%;
|
|
26
32
|
min-width: 100%;
|
|
27
|
-
|
|
33
|
+
&.sd-content-divider--margin-x-small {
|
|
34
|
+
margin: $sd-base-increment * 1 0;
|
|
35
|
+
}
|
|
36
|
+
&.sd-content-divider--margin-small {
|
|
37
|
+
margin: $sd-base-increment * 2 0;
|
|
38
|
+
}
|
|
39
|
+
&.sd-content-divider--margin-medium {
|
|
40
|
+
margin: $sd-base-increment * 3 0;
|
|
41
|
+
}
|
|
42
|
+
&.sd-content-divider--margin-large {
|
|
43
|
+
margin: $sd-base-increment * 4 0;
|
|
44
|
+
}
|
|
45
|
+
&.sd-content-divider--margin-none {
|
|
46
|
+
margin: 0 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
28
50
|
}
|
|
29
51
|
&.sd-content-divider--horizontal.sd-content-divider--with-text {
|
|
30
52
|
margin: 1.6rem 0;
|
|
@@ -37,8 +59,10 @@
|
|
|
37
59
|
border-top-color: transparent;
|
|
38
60
|
border-top-color: inherit;
|
|
39
61
|
border-bottom: 0;
|
|
62
|
+
border-left: 0;
|
|
63
|
+
border-right: 0;
|
|
40
64
|
transform: translateY(50%);
|
|
41
|
-
border-
|
|
65
|
+
border-style: inherit;
|
|
42
66
|
}
|
|
43
67
|
&.sd-content-divider--text-left {
|
|
44
68
|
&::before {
|
|
@@ -56,17 +80,31 @@
|
|
|
56
80
|
width: 5%;
|
|
57
81
|
}
|
|
58
82
|
}
|
|
83
|
+
&.sd-content-divider--margin-x-small {
|
|
84
|
+
margin: $sd-base-increment * 1 0;
|
|
85
|
+
}
|
|
86
|
+
&.sd-content-divider--margin-small {
|
|
87
|
+
margin: $sd-base-increment * 2 0;
|
|
88
|
+
}
|
|
89
|
+
&.sd-content-divider--margin-medium {
|
|
90
|
+
margin: $sd-base-increment * 3 0;
|
|
91
|
+
}
|
|
92
|
+
&.sd-content-divider--margin-large {
|
|
93
|
+
margin: $sd-base-increment * 4 0;
|
|
94
|
+
}
|
|
95
|
+
&.sd-content-divider--margin-none {
|
|
96
|
+
margin: $sd-base-increment / 2 0;
|
|
97
|
+
}
|
|
59
98
|
}
|
|
60
99
|
|
|
61
|
-
|
|
62
100
|
&.sd-content-divider--vertical {
|
|
63
101
|
position: relative;
|
|
64
102
|
display: inline-block;
|
|
65
|
-
margin: $sd-base-increment * 0.5 $sd-base-increment * 1.5;
|
|
103
|
+
//margin: $sd-base-increment * 0.5 $sd-base-increment * 1.5;
|
|
66
104
|
vertical-align: middle;
|
|
67
105
|
border-top: 0;
|
|
68
106
|
border-left: 1px var(--sd-colour-line--medium);
|
|
69
|
-
border-
|
|
107
|
+
border-style: solid;
|
|
70
108
|
flex-grow: 0;
|
|
71
109
|
align-self: stretch;
|
|
72
110
|
min-height: $sd-base-increment * 2;
|
|
@@ -86,9 +124,11 @@
|
|
|
86
124
|
position: relative;
|
|
87
125
|
height: 50%;
|
|
88
126
|
border-left: 1px var(--sd-colour-line--medium);
|
|
127
|
+
border-right: 0;
|
|
89
128
|
border-bottom: 0;
|
|
129
|
+
border-top: 0;
|
|
90
130
|
width: 1px;
|
|
91
|
-
border-
|
|
131
|
+
border-style: solid;
|
|
92
132
|
}
|
|
93
133
|
&.sd-content-divider--dashed {
|
|
94
134
|
&::before, &::after {
|
|
@@ -98,11 +138,26 @@
|
|
|
98
138
|
}
|
|
99
139
|
&.sd-content-divider--dotted {
|
|
100
140
|
&::before, &::after {
|
|
101
|
-
border-
|
|
141
|
+
border-style: dotted;
|
|
102
142
|
border-color: var(--sd-colour-line--strong);
|
|
103
143
|
}
|
|
104
144
|
}
|
|
105
145
|
}
|
|
146
|
+
&.sd-content-divider--margin-x-small {
|
|
147
|
+
margin: 0 $sd-base-increment * 1;
|
|
148
|
+
}
|
|
149
|
+
&.sd-content-divider--margin-small {
|
|
150
|
+
margin: 0 $sd-base-increment * 2;
|
|
151
|
+
}
|
|
152
|
+
&.sd-content-divider--margin-medium {
|
|
153
|
+
margin: 0 $sd-base-increment * 3;
|
|
154
|
+
}
|
|
155
|
+
&.sd-content-divider--margin-large {
|
|
156
|
+
margin: 0 $sd-base-increment * 4;
|
|
157
|
+
}
|
|
158
|
+
&.sd-content-divider--margin-none {
|
|
159
|
+
margin: 0 0;
|
|
160
|
+
}
|
|
106
161
|
}
|
|
107
162
|
&.sd-content-divider--dashed {
|
|
108
163
|
border-style: dashed;
|
package/app/styles/_helpers.scss
CHANGED
|
@@ -1024,4 +1024,27 @@ $sd-properties: (padding, margin); // It's generating these properties
|
|
|
1024
1024
|
}
|
|
1025
1025
|
.sd-width--full {
|
|
1026
1026
|
width: var(--width__container--full);
|
|
1027
|
-
}
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
.sd-gap--x-small {
|
|
1031
|
+
gap: var(--gap--x-small);
|
|
1032
|
+
}
|
|
1033
|
+
.sd-gap--small {
|
|
1034
|
+
gap: var(--gap--small);
|
|
1035
|
+
}
|
|
1036
|
+
.sd-gap--medium {
|
|
1037
|
+
gap: var(--gap--medium);
|
|
1038
|
+
}
|
|
1039
|
+
.sd-gap--large {
|
|
1040
|
+
gap: var(--gap--large);
|
|
1041
|
+
}
|
|
1042
|
+
.sd-gap--x-large {
|
|
1043
|
+
gap: var(--gap--x-large);
|
|
1044
|
+
}
|
|
1045
|
+
.sd-gap--xx-large {
|
|
1046
|
+
gap: var(--gap--xx-large);
|
|
1047
|
+
}
|
|
1048
|
+
.sd-gap--auto {
|
|
1049
|
+
gap: var(--gap--auto);
|
|
1050
|
+
}
|
|
@@ -46,7 +46,7 @@ $icon-base-size: 16px;
|
|
|
46
46
|
[class^="icon-"],
|
|
47
47
|
[class*=" icon-"] {
|
|
48
48
|
@include icon-base;
|
|
49
|
-
color:
|
|
49
|
+
color: var(--color-icon-default);
|
|
50
50
|
/* Better Font Rendering =========== */
|
|
51
51
|
-webkit-font-smoothing: antialiased;
|
|
52
52
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -292,6 +292,7 @@ $sd-icon-font: (
|
|
|
292
292
|
audio-cancel: "\e6b7",
|
|
293
293
|
list-alt-cancel: "\e6b8",
|
|
294
294
|
post-cancel: "\e6b9",
|
|
295
|
+
text-block: "\e6ba",
|
|
295
296
|
);
|
|
296
297
|
|
|
297
298
|
@each $name, $value in $sd-icon-font {
|
|
@@ -350,7 +351,7 @@ $sd-icon-font: (
|
|
|
350
351
|
// Combining 2 icons
|
|
351
352
|
.icn-mix {
|
|
352
353
|
position: relative;
|
|
353
|
-
display: inline-
|
|
354
|
+
display: inline-flex !important;
|
|
354
355
|
font-size: $icon-base-size;
|
|
355
356
|
height: $icon-base-size;
|
|
356
357
|
.icn-mix__icn {
|
|
@@ -362,11 +363,11 @@ $sd-icon-font: (
|
|
|
362
363
|
box-sizing: content-box;
|
|
363
364
|
line-height: 100%;
|
|
364
365
|
color: $purple;
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
inset-inline-end: -0.4rem;
|
|
367
|
+
inset-block-end: -0.6rem;
|
|
367
368
|
height: 1em;
|
|
368
369
|
width: 1em;
|
|
369
|
-
background-color: var(--sd-item__main-Bg);
|
|
370
|
+
background-color: var(--sd-item__main-Bg) !important;
|
|
370
371
|
border-radius: $border-radius__base--full;
|
|
371
372
|
padding: 1px;
|
|
372
373
|
z-index: 1;
|
|
@@ -384,8 +385,8 @@ $sd-icon-font: (
|
|
|
384
385
|
}
|
|
385
386
|
.icn-mix__sub-icn {
|
|
386
387
|
font-size: 1.6rem;
|
|
387
|
-
|
|
388
|
-
|
|
388
|
+
inset-inline-end: -0.6rem;
|
|
389
|
+
inset-block-end: -0.3rem;
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
}
|
|
@@ -411,16 +412,16 @@ $sd-icon-font: (
|
|
|
411
412
|
|
|
412
413
|
.subnav {
|
|
413
414
|
.icn-mix__sub-icn {
|
|
414
|
-
background-color: $subnav-background;
|
|
415
|
+
background-color: $subnav-background !important;
|
|
415
416
|
}
|
|
416
417
|
&--darker {
|
|
417
418
|
.icn-mix__sub-icn {
|
|
418
|
-
background-color: $subnav-background-darker;
|
|
419
|
+
background-color: $subnav-background-darker !important;
|
|
419
420
|
}
|
|
420
421
|
}
|
|
421
422
|
&--dark-blue-grey {
|
|
422
423
|
.icn-mix__sub-icn {
|
|
423
|
-
background-color: $subnav-background-dark-blue-grey;
|
|
424
|
+
background-color: $subnav-background-dark-blue-grey !important;
|
|
424
425
|
color: scale-color($purple, $lightness: 50%);
|
|
425
426
|
}
|
|
426
427
|
.icn-mix__icn {
|
package/app/styles/_labels.scss
CHANGED
|
@@ -99,14 +99,14 @@ $board-header-border-color: var(--color-kanban-border);
|
|
|
99
99
|
line-height: 1.4;
|
|
100
100
|
text-transform: uppercase;
|
|
101
101
|
font-weight: 400;
|
|
102
|
-
color:
|
|
102
|
+
color: var(--sd-colour-bg--10);
|
|
103
103
|
max-width: 10rem;
|
|
104
104
|
&--l {
|
|
105
105
|
max-width: 14rem;
|
|
106
106
|
}
|
|
107
107
|
strong {
|
|
108
108
|
font-weight: 500;
|
|
109
|
-
color:
|
|
109
|
+
color: var(--sd-colour-bg--07);
|
|
110
110
|
font-size: 1.3rem;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -171,14 +171,15 @@ $board-header-border-color: var(--color-kanban-border);
|
|
|
171
171
|
opacity: 0.4;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
.sd-inset-search__input
|
|
174
|
+
.sd-inset-search__input,
|
|
175
|
+
input.sd-inset-search__input {
|
|
175
176
|
flex-grow: 1;
|
|
176
177
|
flex-shrink: 1;
|
|
177
178
|
font-size: 1.4rem;
|
|
178
179
|
padding: 0;
|
|
179
180
|
color: inherit;
|
|
180
181
|
align-self: auto;
|
|
181
|
-
background-color: transparent;
|
|
182
|
+
background-color: transparent !important;
|
|
182
183
|
border: 0;
|
|
183
184
|
box-shadow: none !important;
|
|
184
185
|
padding: 0 1rem 0 3rem;
|
package/app/styles/_modals.scss
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
// ------
|
|
3
3
|
|
|
4
4
|
// Recalculate z-index where appropriate
|
|
5
|
-
$zindexDropdown:
|
|
6
|
-
$zindexPopover:
|
|
7
|
-
$zindexTooltip:
|
|
5
|
+
$zindexDropdown: 2000;
|
|
6
|
+
$zindexPopover: 2010;
|
|
7
|
+
$zindexTooltip: 2040;
|
|
8
8
|
$zindexModalBackdrop: 1045;
|
|
9
9
|
$zindexModal: 1050;
|
|
10
10
|
$nav-height: 48px;
|
|
@@ -92,6 +92,9 @@ $modal-sizes: (
|
|
|
92
92
|
text-align: end; // right align buttons
|
|
93
93
|
border-top: 1px solid $modal-line-color;
|
|
94
94
|
min-height: $modal-footer-height;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: flex-end;
|
|
95
98
|
@include clearfix(); // clear it in case folks use .pull-* classes on buttons
|
|
96
99
|
}
|
|
97
100
|
|
|
@@ -214,6 +217,7 @@ $modal-sizes: (
|
|
|
214
217
|
border-top: 1px solid $modal-line-color;
|
|
215
218
|
text-align: end;
|
|
216
219
|
min-height: $modal-footer-height;
|
|
220
|
+
display: flex;
|
|
217
221
|
}
|
|
218
222
|
}
|
|
219
223
|
p {
|
|
@@ -263,13 +263,20 @@ tags-input,
|
|
|
263
263
|
}
|
|
264
264
|
.suggestion-list--multi-select {
|
|
265
265
|
padding: 4px 0 !important;
|
|
266
|
+
min-height: 40px;
|
|
266
267
|
}
|
|
267
268
|
.suggestion-list--loader {
|
|
268
269
|
padding: 4px 0 !important;
|
|
269
270
|
position: relative;
|
|
270
|
-
min-height:
|
|
271
|
+
min-height: 3.2rem;
|
|
272
|
+
>div {
|
|
273
|
+
padding: 0.5rem 1rem;
|
|
274
|
+
min-height: $sd-base-increment * 4;
|
|
275
|
+
position: relative;
|
|
276
|
+
}
|
|
271
277
|
}
|
|
272
278
|
.suggestion-item {
|
|
279
|
+
position: relative;
|
|
273
280
|
padding: 0.5rem 1rem;
|
|
274
281
|
cursor: pointer;
|
|
275
282
|
white-space: nowrap;
|
|
@@ -306,9 +313,36 @@ tags-input,
|
|
|
306
313
|
justify-content: space-between;
|
|
307
314
|
align-items: center;
|
|
308
315
|
}
|
|
316
|
+
.suggestion-item--bgcolor {
|
|
317
|
+
min-height: 1.5em;
|
|
318
|
+
min-width: 1.5em;
|
|
319
|
+
padding: 4px 0;
|
|
320
|
+
display: inline-flex;
|
|
321
|
+
justify-content: center;
|
|
322
|
+
align-items: center;
|
|
323
|
+
border-radius: 99px;
|
|
324
|
+
white-space: nowrap;
|
|
325
|
+
|
|
326
|
+
&[style] {
|
|
327
|
+
padding-inline: 8px;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
309
330
|
.suggestion-item--disabled {
|
|
310
331
|
opacity: 0.5;
|
|
311
332
|
}
|
|
333
|
+
.suggestion-item--nothing-found {
|
|
334
|
+
padding: 0.5rem 1rem;
|
|
335
|
+
cursor: not-allowed;
|
|
336
|
+
white-space: nowrap;
|
|
337
|
+
overflow: hidden;
|
|
338
|
+
text-overflow: ellipsis;
|
|
339
|
+
color: $sd-text-light;
|
|
340
|
+
transition: all ease 0.2s;
|
|
341
|
+
min-height: $sd-base-increment * 4;
|
|
342
|
+
display: flex;
|
|
343
|
+
align-items: center;
|
|
344
|
+
justify-content: center;
|
|
345
|
+
}
|
|
312
346
|
}
|
|
313
347
|
}
|
|
314
348
|
|
|
@@ -474,6 +508,11 @@ tags-input,
|
|
|
474
508
|
}
|
|
475
509
|
}
|
|
476
510
|
|
|
511
|
+
.tags-input--single-select {
|
|
512
|
+
display: grid !important;
|
|
513
|
+
align-items: center !important;
|
|
514
|
+
}
|
|
515
|
+
|
|
477
516
|
.tags-input--multi-select,
|
|
478
517
|
.tags-input--single-select {
|
|
479
518
|
position: relative;
|
|
@@ -527,7 +566,7 @@ tags-input,
|
|
|
527
566
|
.tags-input__remove-button {
|
|
528
567
|
display: flex;
|
|
529
568
|
align-items: center;
|
|
530
|
-
align-self:
|
|
569
|
+
align-self: center;
|
|
531
570
|
margin-inline-start: auto;
|
|
532
571
|
z-index: 2;
|
|
533
572
|
cursor: pointer;
|
|
@@ -542,3 +581,18 @@ tags-input,
|
|
|
542
581
|
font-weight: 300;
|
|
543
582
|
}
|
|
544
583
|
}
|
|
584
|
+
|
|
585
|
+
.item-border {
|
|
586
|
+
width: 5px;
|
|
587
|
+
z-index: 2;
|
|
588
|
+
position: absolute;
|
|
589
|
+
inset-block: 7px;
|
|
590
|
+
inset-inline-start: 3px;
|
|
591
|
+
border-radius: 2px;
|
|
592
|
+
|
|
593
|
+
&-selected {
|
|
594
|
+
inset-block: 5px;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
|