superdesk-ui-framework 3.0.41 → 3.0.43
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/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +20 -7
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +5 -7
- package/dist/superdesk-ui.bundle.css +4271 -3557
- package/dist/superdesk-ui.bundle.js +4 -6
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- package/react/components/Menu.js +1 -1
@@ -8,6 +8,7 @@
|
|
8
8
|
min-height: 3.2rem;
|
9
9
|
overflow-x: auto;
|
10
10
|
grid-column: 2/3;
|
11
|
+
|
11
12
|
.sd-bottom-nav-list__item {
|
12
13
|
flex: 0 1 24rem;
|
13
14
|
display: flex;
|
@@ -20,6 +21,7 @@
|
|
20
21
|
border-inline-end: 1px solid hsla(214, 13%, 90%, 0.14);
|
21
22
|
background-color: var(--sd-colour-bottom-bar__item);
|
22
23
|
overflow: hidden;
|
24
|
+
|
23
25
|
.sd-bottom-nav-list__item-title {
|
24
26
|
font-size: 1.4rem;
|
25
27
|
line-height: 1;
|
@@ -32,16 +34,19 @@
|
|
32
34
|
align-self: stretch;
|
33
35
|
align-items: center;
|
34
36
|
gap: 8px;
|
37
|
+
|
35
38
|
&:hover {
|
36
39
|
color: var(--sd-colour-interactive);
|
37
40
|
cursor: pointer;
|
38
41
|
}
|
42
|
+
|
39
43
|
[class^="icon-"],
|
40
44
|
[class*=" icon-"] {
|
41
45
|
flex-shrink: 0;
|
42
46
|
color: inherit !important;
|
43
47
|
opacity: 0.75;
|
44
48
|
}
|
49
|
+
|
45
50
|
span {
|
46
51
|
padding-top: 2px;
|
47
52
|
overflow: hidden;
|
@@ -52,19 +57,23 @@
|
|
52
57
|
flex-shrink: 1;
|
53
58
|
}
|
54
59
|
}
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
60
|
+
}
|
61
|
+
|
62
|
+
.sd-bottom-nav-list__item--active {
|
63
|
+
background-color: var(--sd-colour-bottom-bar__item--active);
|
64
|
+
|
65
|
+
.sd-bottom-nav-list__item-title,
|
66
|
+
.sd-bottom-nav-list__item-title:hover {
|
67
|
+
color: hsla(214, 13%, 98%, 1);
|
61
68
|
}
|
62
|
-
|
63
|
-
|
69
|
+
}
|
70
|
+
|
71
|
+
.sd-bottom-nav-list__item--disabled {
|
72
|
+
opacity: 0.5;
|
73
|
+
pointer-events: none;
|
74
|
+
|
75
|
+
.sd-bottom-nav-list__item-title {
|
64
76
|
pointer-events: none;
|
65
|
-
.sd-bottom-nav-list__item-title {
|
66
|
-
pointer-events: none;
|
67
|
-
}
|
68
77
|
}
|
69
78
|
}
|
70
|
-
}
|
79
|
+
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
// CONTENT NAVIGATION
|
2
|
-
// ----
|
3
2
|
|
4
3
|
$sd-contentNavBtn-transition: background-color 0.2s ease-out, color 0.1s ease-out;
|
5
4
|
|
@@ -11,6 +10,7 @@ $sd-contentNavBtn-transition: background-color 0.2s ease-out, color 0.1s ease-ou
|
|
11
10
|
opacity: 1;
|
12
11
|
transition: all .2s ease-out .3s;
|
13
12
|
}
|
13
|
+
|
14
14
|
.sd-content-nav__btn {
|
15
15
|
display: block;
|
16
16
|
font-size: 1.4rem;
|
@@ -18,29 +18,33 @@ $sd-contentNavBtn-transition: background-color 0.2s ease-out, color 0.1s ease-ou
|
|
18
18
|
text-decoration: none;
|
19
19
|
color: var(--color-text);
|
20
20
|
padding: 1.6rem 2rem;
|
21
|
-
transition: $sd-contentNavBtn-transition;
|
22
21
|
border-inline-end: 4px solid transparent;
|
22
|
+
transition: $sd-contentNavBtn-transition;
|
23
|
+
|
23
24
|
&:hover {
|
24
25
|
background-color: var(--sd-colour-interactive--alpha-20);
|
25
26
|
color: var(--color-text);
|
26
27
|
text-decoration: none;
|
27
28
|
}
|
28
|
-
&:active,
|
29
|
-
&.sd-content-nav__btn--active {
|
30
|
-
background-color: var(--sd-colour-interactive--alpha-10);
|
31
|
-
color: var(--sd-colour-interactive);
|
32
|
-
}
|
33
|
-
&.sd-content-nav__btn--active {
|
34
|
-
border-color: var(--sd-colour-interactive--active);
|
35
|
-
}
|
36
29
|
}
|
30
|
+
|
31
|
+
.sd-content-nav__btn:active,
|
32
|
+
.sd-content-nav__btn--active {
|
33
|
+
background-color: var(--sd-colour-interactive--alpha-10);
|
34
|
+
color: var(--sd-colour-interactive);
|
35
|
+
}
|
36
|
+
|
37
|
+
.sd-content-nav__btn--active {
|
38
|
+
border-color: var(--sd-colour-interactive--active);
|
39
|
+
}
|
40
|
+
|
37
41
|
.sd-content-nav-title {
|
38
42
|
font-size: 1.5rem;
|
39
43
|
font-weight: 300;
|
44
|
+
}
|
40
45
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
}
|
46
|
+
.sd-content-nav-title--uppercase {
|
47
|
+
font-size: 1.3rem;
|
48
|
+
font-weight: 400;
|
49
|
+
text-transform: uppercase;
|
50
|
+
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
// LEFT NAVIGATION
|
2
|
-
// ----
|
3
2
|
|
4
3
|
$sd-leftNav-bgColor: var(--sd-colour-background__left-nav);
|
5
4
|
$sd-leftNav-borderColor: var(--sd-colour-line--light);
|
@@ -11,7 +10,7 @@ $sd-leftNavBtn-bgHoverColor: $sd-colour-background__menu-item--hover;
|
|
11
10
|
$sd-leftNavBtn-bgActiveColor: var(--sd-colour-interactive--alpha-10);
|
12
11
|
$sd-leftNavBtn-transition: background-color 0.2s ease-out, color 0.1s ease-out;
|
13
12
|
|
14
|
-
$sd-leftNavBtn-border: 4px solid rgba(94,169,200,0);
|
13
|
+
$sd-leftNavBtn-border: 4px solid rgba(94, 169, 200, 0);
|
15
14
|
$sd-leftNavBtn-borderActive: 4px solid var(--sd-colour-interactive--active);
|
16
15
|
|
17
16
|
.sd-left-nav {
|
@@ -21,45 +20,53 @@ $sd-leftNavBtn-borderActive: 4px solid var(--sd-colour-interactive--active);
|
|
21
20
|
width: $sd-leftNav-width;
|
22
21
|
overflow: auto;
|
23
22
|
height: 100%;
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
}
|
24
|
+
|
25
|
+
.sd-left-nav--absolute {
|
26
|
+
position: absolute;
|
27
|
+
top: 0;
|
28
|
+
bottom: 0;
|
29
|
+
left: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
.sd-left-nav--default {
|
33
|
+
background: $sd-leftNav-bgColor;
|
34
|
+
border-right: 1px solid $sd-leftNav-borderColor;
|
35
|
+
}
|
36
|
+
|
37
|
+
.sd-left-nav--blanc {
|
38
|
+
border-color: transparent;
|
39
|
+
background: transparent;
|
40
|
+
border-right-width: 0;
|
41
|
+
|
42
|
+
.sd-left-nav__group-header {
|
43
|
+
border-top-color: transparent;
|
29
44
|
}
|
30
|
-
|
31
|
-
|
32
|
-
|
45
|
+
}
|
46
|
+
|
47
|
+
.sd-left-nav--large {
|
48
|
+
width: $sd-leftNav-width-large;
|
49
|
+
max-width: 100%;
|
50
|
+
|
51
|
+
.sd-left-nav__group-header {
|
52
|
+
padding-inline: 2.4rem 0;
|
53
|
+
}
|
54
|
+
|
55
|
+
.sd-left-nav__btn {
|
56
|
+
padding-inline: 4rem 0;
|
33
57
|
}
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.sd-left-nav--reverse-border {
|
61
|
+
.sd-left-nav__btn {
|
62
|
+
border-inline-end: none;
|
63
|
+
border-inline-start: $sd-leftNavBtn-border;
|
41
64
|
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
padding-inline: 2.4rem 0;
|
47
|
-
}
|
48
|
-
.sd-left-nav__btn {
|
49
|
-
padding-inline: 4rem 0;
|
50
|
-
}
|
65
|
+
|
66
|
+
.sd-left-nav__btn--active {
|
67
|
+
border-inline-end: none;
|
68
|
+
border-inline-start: $sd-leftNavBtn-borderActive;
|
51
69
|
}
|
52
|
-
&--reverse-border {
|
53
|
-
.sd-left-nav__btn {
|
54
|
-
border-inline-end: none;
|
55
|
-
border-inline-start: $sd-leftNavBtn-border;
|
56
|
-
|
57
|
-
&--active {
|
58
|
-
border-inline-end: none;
|
59
|
-
border-inline-start: $sd-leftNavBtn-borderActive;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
}
|
63
70
|
}
|
64
71
|
|
65
72
|
.sd-left-nav__btn {
|
@@ -76,19 +83,23 @@ $sd-leftNavBtn-borderActive: 4px solid var(--sd-colour-interactive--active);
|
|
76
83
|
border-inline-end: $sd-leftNavBtn-border;
|
77
84
|
transition: $sd-leftNavBtn-transition;
|
78
85
|
color: var(--color-text);
|
86
|
+
|
79
87
|
&:hover {
|
80
88
|
background-color: $sd-leftNavBtn-bgHoverColor;
|
81
89
|
color: var(--color-text);
|
82
90
|
text-decoration: none;
|
83
91
|
cursor: pointer;
|
84
92
|
}
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
93
|
+
}
|
94
|
+
|
95
|
+
.sd-left-nav__btn:active,
|
96
|
+
.sd-left-nav__btn--active {
|
97
|
+
background-color: $sd-leftNavBtn-bgActiveColor;
|
98
|
+
color: $sd-colour-interactive;
|
99
|
+
}
|
100
|
+
|
101
|
+
.sd-left-nav__btn--active {
|
102
|
+
border-inline-end: $sd-leftNavBtn-borderActive;
|
92
103
|
}
|
93
104
|
|
94
105
|
.sd-left-nav__group-header {
|
@@ -104,8 +115,10 @@ $sd-leftNavBtn-borderActive: 4px solid var(--sd-colour-interactive--active);
|
|
104
115
|
padding-inline: 1.6rem 0;
|
105
116
|
border-top: 1px solid $sd-leftNav-borderColor;
|
106
117
|
margin-top: 1rem;
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
118
|
+
}
|
119
|
+
|
120
|
+
.sd-left-nav__group-header--first,
|
121
|
+
.sd-left-nav__group-header:first-child {
|
122
|
+
border: none;
|
123
|
+
margin-top: 0;
|
124
|
+
}
|