superdesk-ui-framework 7.0.0-dev-hg0 → 7.0.0-dev-hg2
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_big-icons.eot +0 -0
- package/app/fonts/sd_big-icons.svg +69 -0
- package/app/fonts/sd_big-icons.ttf +0 -0
- package/app/fonts/sd_big-icons.woff +0 -0
- package/app/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +202 -0
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/img/AvatarDefaultImage.svg +6 -0
- package/app/img/DotsSmall-dark.svg +14 -0
- package/app/img/OneDot.svg +3 -0
- package/app/img/SD-logo.svg +52 -0
- package/app/img/dots.svg +3 -0
- package/app/img/empty_states/empty-state--large-1.svg +221 -0
- package/app/img/empty_states/empty-state--large-2.svg +207 -0
- package/app/img/empty_states/empty-state--large-3.svg +231 -0
- package/app/img/empty_states/empty-state--large-dashboard.svg +642 -0
- package/app/img/empty_states/empty-state--small-1.svg +112 -0
- package/app/img/empty_states/empty-state--small-2.svg +49 -0
- package/app/img/empty_states/empty-state--small-3.svg +47 -0
- package/app/img/icon_illustrations/IconIllustration__headlines.svg +25 -0
- package/app/img/icon_illustrations/IconIllustration__keywords.svg +46 -0
- package/app/img/icon_illustrations/IconIllustration__optimise.svg +38 -0
- package/app/img/icon_illustrations/IconIllustration__summary.svg +27 -0
- package/app/img/icon_illustrations/IconIllustration__translate.svg +12 -0
- package/app/img/icon_image_stack--white.svg +16 -0
- package/app/img/icon_image_stack.svg +16 -0
- package/app/img/spinner.svg +3 -0
- package/app/img/spinning-wheel.gif +0 -0
- package/app/img/theme-thumbnail.png +0 -0
- package/app/img/themes/theme-base.svg +1 -0
- package/app/img/themes/theme-contrast.svg +45 -0
- package/app/img/themes/theme-dark.svg +1 -0
- package/app/img/themes/theme-light.svg +1 -0
- package/app/img/three-dots.svg +33 -0
- package/app/styles/_accessibility.scss +358 -0
- package/app/styles/_alerts.scss +392 -0
- package/app/styles/_animations.scss +73 -0
- package/app/styles/_avatar.scss +526 -0
- package/app/styles/_badge.scss +106 -0
- package/app/styles/_big-icon-font.scss +182 -0
- package/app/styles/_boxed-list.scss +284 -0
- package/app/styles/_buttons.scss +874 -0
- package/app/styles/_carousel.scss +232 -0
- package/app/styles/_content-divider.scss +233 -0
- package/app/styles/_design-tokens.scss +6 -0
- package/app/styles/_drag-drop.scss +26 -0
- package/app/styles/_drag-handle.scss +48 -0
- package/app/styles/_empty-states.scss +81 -0
- package/app/styles/_expand-button.scss +31 -0
- package/app/styles/_hamburger.scss +160 -0
- package/app/styles/_helpers.scss +2220 -0
- package/app/styles/_icon-font.scss +488 -0
- package/app/styles/_icon-labels.scss +140 -0
- package/app/styles/_labels.scss +184 -0
- package/app/styles/_loaders.scss +29 -0
- package/app/styles/_master-desk.scss +323 -0
- package/app/styles/_mixins.scss +164 -0
- package/app/styles/_modals.scss +452 -0
- package/app/styles/_normalize.scss +466 -0
- package/app/styles/_panel-info.scss +48 -0
- package/app/styles/_popover.scss +29 -0
- package/app/styles/_pr-superdesk-theme.scss +4 -0
- package/app/styles/_publisher-styles.scss +195 -0
- package/app/styles/_reboot.scss +65 -0
- package/app/styles/_sd-tag-input.scss +715 -0
- package/app/styles/_simple-list.scss +158 -0
- package/app/styles/_spinner.scss +47 -0
- package/app/styles/_table-list.scss +385 -0
- package/app/styles/_tables.scss +150 -0
- package/app/styles/_tabs-vertical.scss +58 -0
- package/app/styles/_tabs.scss +232 -0
- package/app/styles/_tag-labels.scss +210 -0
- package/app/styles/_thumb-carousel.scss +247 -0
- package/app/styles/_time.scss +113 -0
- package/app/styles/_toggle-box.scss +175 -0
- package/app/styles/_toggle-button.scss +46 -0
- package/app/styles/_tooltips.scss +431 -0
- package/app/styles/_variables.scss +4 -0
- package/app/styles/app.scss +127 -0
- package/app/styles/components/_calendar-week-day.scss +99 -0
- package/app/styles/components/_card-item.scss +586 -0
- package/app/styles/components/_list-item.scss +694 -0
- package/app/styles/components/_load-more-indicator.scss +15 -0
- package/app/styles/components/_overflow-stack.scss +120 -0
- package/app/styles/components/_sd-circular-progress.scss +239 -0
- package/app/styles/components/_sd-collapse-box.scss +292 -0
- package/app/styles/components/_sd-comment-box.scss +42 -0
- package/app/styles/components/_sd-dropzone.scss +134 -0
- package/app/styles/components/_sd-editor-popup.scss +106 -0
- package/app/styles/components/_sd-grid-item.scss +865 -0
- package/app/styles/components/_sd-loader.scss +39 -0
- package/app/styles/components/_sd-media-carousel.scss +408 -0
- package/app/styles/components/_sd-notification-panel.scss +51 -0
- package/app/styles/components/_sd-pagination.scss +51 -0
- package/app/styles/components/_sd-photo-preview.scss +508 -0
- package/app/styles/components/_sd-searchbar.scss +276 -0
- package/app/styles/components/_sd-toaster.scss +226 -0
- package/app/styles/components/_subnav.scss +777 -0
- package/app/styles/components/_theme-selector.scss +221 -0
- package/app/styles/components/sd-slider.scss +125 -0
- package/app/styles/design-tokens/_brand-colors.scss +36 -0
- package/app/styles/design-tokens/_component-tokens.scss +11 -0
- package/app/styles/design-tokens/_design-tokens-general.scss +145 -0
- package/app/styles/design-tokens/_new-colors.scss +820 -0
- package/app/styles/design-tokens/_primitives.scss +161 -0
- package/app/styles/design-tokens/_semantic-colors.scss +161 -0
- package/app/styles/dropdowns/_basic-dropdown.scss +760 -0
- package/app/styles/dropdowns/_input-dropdown.scss +26 -0
- package/app/styles/dropdowns/_navigation_dropdown.scss +126 -0
- package/app/styles/dropdowns/_nested-dropdown.scss +95 -0
- package/app/styles/dropdowns/_other_dropdown.scss +59 -0
- package/app/styles/dropdowns/dropdown2.scss +4 -0
- package/app/styles/editor/_editor-buttons.scss +61 -0
- package/app/styles/editor/_editor-themes.scss +550 -0
- package/app/styles/form-elements/_autocomplete.scss +54 -0
- package/app/styles/form-elements/_checkbox.scss +770 -0
- package/app/styles/form-elements/_forms-general.scss +543 -0
- package/app/styles/form-elements/_input-preview.scss +80 -0
- package/app/styles/form-elements/_input-wrap.scss +147 -0
- package/app/styles/form-elements/_inputs.scss +1425 -0
- package/app/styles/form-elements/_radio.scss +65 -0
- package/app/styles/form-elements/_select-grid.scss +81 -0
- package/app/styles/form-elements/_switch.scss +109 -0
- package/app/styles/grids/_basic-grid.scss +206 -0
- package/app/styles/grids/_grid-layout.scss +1162 -0
- package/app/styles/grids/_layout-grid.scss +176 -0
- package/app/styles/grids/_sd-kanban-list.scss +92 -0
- package/app/styles/index.js +1 -0
- package/app/styles/interface-elements/_side-panel.scss +595 -0
- package/app/styles/layout/_basic-layout.scss +149 -0
- package/app/styles/layout/_container.scss +45 -0
- package/app/styles/layout/_editor.scss +464 -0
- package/app/styles/layout/_general.scss +92 -0
- package/app/styles/menus/_sd-bottom-tabs.scss +79 -0
- package/app/styles/menus/_sd-content-navigation.scss +50 -0
- package/app/styles/menus/_sd-left-navigation.scss +126 -0
- package/app/styles/menus/_sd-sidebar-menu.scss +465 -0
- package/app/styles/menus/_sd-top-menu.scss +105 -0
- package/app/styles/pr-superdesk-theme.scss +7 -0
- package/app/styles/primereact/_pr-autocomplete.scss +27 -0
- package/app/styles/primereact/_pr-datepicker.scss +288 -0
- package/app/styles/primereact/_pr-dialog.scss +399 -0
- package/app/styles/primereact/_pr-dropdown.scss +233 -0
- package/app/styles/primereact/_pr-general.scss +72 -0
- package/app/styles/primereact/_pr-menu.scss +60 -0
- package/app/styles/primereact/_pr-skeleton.scss +36 -0
- package/app/styles/primereact/_pr-tag-input.scss +66 -0
- package/app/styles/variables/_colors.scss +275 -0
- package/app/styles/variables/_dimensions.scss +89 -0
- package/app/styles/variables/_form-elements.scss +0 -0
- package/app/styles/variables/_typography.scss +20 -0
- package/dist/esm/components/EmptyState.d.ts.map +1 -1
- package/dist/esm/components/EmptyState.js +22 -1
- package/dist/esm/components/EmptyState.js.map +1 -1
- package/dist/fonts/sd_big-icons.eot +0 -0
- package/dist/fonts/sd_big-icons.svg +69 -0
- package/dist/fonts/sd_big-icons.ttf +0 -0
- package/dist/fonts/sd_big-icons.woff +0 -0
- package/dist/fonts/sd_icons.eot +0 -0
- package/dist/fonts/sd_icons.svg +202 -0
- package/dist/fonts/sd_icons.ttf +0 -0
- package/dist/fonts/sd_icons.woff +0 -0
- package/dist/img/AvatarDefaultImage.svg +6 -0
- package/dist/img/DotsSmall-dark.svg +14 -0
- package/dist/img/OneDot.svg +3 -0
- package/dist/img/SD-logo.svg +52 -0
- package/dist/img/dots.svg +3 -0
- package/dist/img/empty_states/empty-state--large-1.svg +221 -0
- package/dist/img/empty_states/empty-state--large-2.svg +207 -0
- package/dist/img/empty_states/empty-state--large-3.svg +231 -0
- package/dist/img/empty_states/empty-state--large-dashboard.svg +642 -0
- package/dist/img/empty_states/empty-state--small-1.svg +112 -0
- package/dist/img/empty_states/empty-state--small-2.svg +49 -0
- package/dist/img/empty_states/empty-state--small-3.svg +47 -0
- package/dist/img/icon_illustrations/IconIllustration__headlines.svg +25 -0
- package/dist/img/icon_illustrations/IconIllustration__keywords.svg +46 -0
- package/dist/img/icon_illustrations/IconIllustration__optimise.svg +38 -0
- package/dist/img/icon_illustrations/IconIllustration__summary.svg +27 -0
- package/dist/img/icon_illustrations/IconIllustration__translate.svg +12 -0
- package/dist/img/icon_image_stack--white.svg +16 -0
- package/dist/img/icon_image_stack.svg +16 -0
- package/dist/img/spinner.svg +3 -0
- package/dist/img/spinning-wheel.gif +0 -0
- package/dist/img/theme-thumbnail.png +0 -0
- package/dist/img/themes/theme-base.svg +1 -0
- package/dist/img/themes/theme-contrast.svg +45 -0
- package/dist/img/themes/theme-dark.svg +1 -0
- package/dist/img/themes/theme-light.svg +1 -0
- package/dist/img/three-dots.svg +33 -0
- package/dist/superdesk-ui.bundle.js +1 -1
- package/package.json +10 -3
- package/react/components/EmptyState.d.ts.map +1 -1
- package/react/components/EmptyState.js +22 -1
- package/react/components/EmptyState.js.map +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Animated loader
|
|
2
|
+
|
|
3
|
+
.sd-loader--inline {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
width: 100%;
|
|
6
|
+
min-width: 90px;
|
|
7
|
+
height: 100%;
|
|
8
|
+
min-height: 30px;
|
|
9
|
+
|
|
10
|
+
// inlining img/three-dots.svg as base64 encoded URL to have loader ready on application start
|
|
11
|
+
// otherwise, loader image would only start downloading when it already needs to be shown
|
|
12
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwIiBoZWlnaHQ9IjMwIiB2aWV3Qm94PSIwIDAgMTIwIDMwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9IiM3YjdiN2IiPjxjaXJjbGUgY3g9IjE1IiBjeT0iMTUiIHI9IjE1Ij48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSIxNSIgdG89IjE1IiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxNTs5OzE1IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjEiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxOy41OzEiIGNhbGNNb2RlPSJsaW5lYXIiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPjwvY2lyY2xlPjxjaXJjbGUgY3g9IjYwIiBjeT0iMTUiIHI9IjkiIGZpbGwtb3BhY2l0eT0iMC4zIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSI5IiB0bz0iOSIgYmVnaW49IjBzIiBkdXI9IjAuOHMiIHZhbHVlcz0iOTsxNTs5IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjAuNSIgdG89IjAuNSIgYmVnaW49IjBzIiBkdXI9IjAuOHMiIHZhbHVlcz0iLjU7MTsuNSIgY2FsY01vZGU9ImxpbmVhciIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIC8+PC9jaXJjbGU+PGNpcmNsZSBjeD0iMTA1IiBjeT0iMTUiIHI9IjE1Ij48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiBmcm9tPSIxNSIgdG89IjE1IiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxNTs5OzE1IiBjYWxjTW9kZT0ibGluZWFyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsLW9wYWNpdHkiIGZyb209IjEiIHRvPSIxIiBiZWdpbj0iMHMiIGR1cj0iMC44cyIgdmFsdWVzPSIxOy41OzEiIGNhbGNNb2RlPSJsaW5lYXIiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPjwvY2lyY2xlPjwvc3ZnPg==");
|
|
13
|
+
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
background-position: center center;
|
|
16
|
+
background-size: 60px;
|
|
17
|
+
background-color: var(--sd-colour-overlay-actioning);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.sd-loader {
|
|
21
|
+
@extend .sd-loader--inline;
|
|
22
|
+
content: '';
|
|
23
|
+
display: block;
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset-block-start: 0;
|
|
26
|
+
inset-inline-end: 0;
|
|
27
|
+
inset-block-end: 0;
|
|
28
|
+
inset-inline-start: 0;
|
|
29
|
+
z-index: 99999;
|
|
30
|
+
&.sd-loader--small {
|
|
31
|
+
background-size: 30px;
|
|
32
|
+
}
|
|
33
|
+
&.sd-loader--medium {
|
|
34
|
+
background-size: 40px;
|
|
35
|
+
}
|
|
36
|
+
&.sd-loader--large {
|
|
37
|
+
background-size: 60px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "../buttons";
|
|
3
|
+
@use "../variables/colors";
|
|
4
|
+
@use "../variables/dimensions";
|
|
5
|
+
|
|
6
|
+
.sd-media-carousel {
|
|
7
|
+
position: relative;
|
|
8
|
+
align-items: center;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.sd-media-carousel__dialog {
|
|
14
|
+
display: flex;
|
|
15
|
+
max-height: 100%;
|
|
16
|
+
flex: 0 1 auto;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
max-width: 900px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
position: relative;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.sd-media-carousel__content {
|
|
25
|
+
background-clip: padding-box;
|
|
26
|
+
outline: 0;
|
|
27
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.25), 0 0 1px 1px rgba(0,0,0,.12);
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
flex: 0 0 100%;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sd-media-carousel__page {
|
|
35
|
+
width:100%;
|
|
36
|
+
height:100%;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
position: relative;
|
|
40
|
+
flex-grow: 0;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
align-items: center;
|
|
43
|
+
width: 100%;
|
|
44
|
+
position: relative;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
text-align: center;
|
|
47
|
+
|
|
48
|
+
img, video {
|
|
49
|
+
max-height: 40em;
|
|
50
|
+
width: auto !important;
|
|
51
|
+
margin: 0 auto !important;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.sd-media-carousel__page-media {
|
|
56
|
+
width:100%;
|
|
57
|
+
height:100%;
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
position: relative;
|
|
61
|
+
flex-grow: 0;
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
align-items: center;
|
|
64
|
+
background-color: rgba(0,0,0,0.12);
|
|
65
|
+
color: #fff;
|
|
66
|
+
width: 100%;
|
|
67
|
+
position: relative;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
text-align: center;
|
|
70
|
+
|
|
71
|
+
img {
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
max-height: 100%;
|
|
74
|
+
height: auto;
|
|
75
|
+
margin: auto;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@mixin carouselNavButton-style(
|
|
80
|
+
$background: rgba(255,255,255,0.3),
|
|
81
|
+
$background-hover: color.scale($background, $alpha: 50%),
|
|
82
|
+
$background-active: color.scale($background, $alpha: 100%))
|
|
83
|
+
{
|
|
84
|
+
border-radius: dimensions.$border-radius__base--full;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
height: 3.6rem;
|
|
87
|
+
line-height: 3.6rem;
|
|
88
|
+
position: absolute;
|
|
89
|
+
inset-block-start: calc(50% - 6.5rem);
|
|
90
|
+
width: 3.6rem;
|
|
91
|
+
box-shadow: 0 0 6px rgba(0,0,0,.25), 0 0 1px 1px rgba(0,0,0,.12);
|
|
92
|
+
color: colors.$sd-text;
|
|
93
|
+
transition: buttons.$button-transition;
|
|
94
|
+
background-color: $background;
|
|
95
|
+
z-index: 3;
|
|
96
|
+
|
|
97
|
+
&:hover {
|
|
98
|
+
background-color: $background-hover;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:active {
|
|
102
|
+
background-color: $background-active;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&::after {
|
|
106
|
+
content: " ";
|
|
107
|
+
font-family: 'sd_icons';
|
|
108
|
+
-webkit-font-smoothing: antialiased;
|
|
109
|
+
-moz-osx-font-smoothing: grayscale;
|
|
110
|
+
position: absolute;
|
|
111
|
+
inset-block-start:0;
|
|
112
|
+
text-align: center;
|
|
113
|
+
z-index: 2;
|
|
114
|
+
color: inherit;
|
|
115
|
+
width: 3.6rem;
|
|
116
|
+
font-size: 2.4rem;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.sd-media-carousel__nav-button {
|
|
121
|
+
@include carouselNavButton-style;
|
|
122
|
+
transition: opacity 0.2s ease-out;
|
|
123
|
+
opacity: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.sd-media-carousel__nav-button--next {
|
|
127
|
+
inset-inline-end: -18px;
|
|
128
|
+
color: inherit;
|
|
129
|
+
|
|
130
|
+
&::after {
|
|
131
|
+
content: "\e643";
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.sd-media-carousel__nav-button--prev {
|
|
136
|
+
inset-inline-start: -18px;
|
|
137
|
+
color: inherit;
|
|
138
|
+
|
|
139
|
+
&::after {
|
|
140
|
+
content: "\e642";
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sd-media-carousel__nav-button--next-inner {
|
|
145
|
+
inset-inline-end: 0;
|
|
146
|
+
color: colors.$sd-text;
|
|
147
|
+
border-radius: dimensions.$border-radius__base--full 0 0 dimensions.$border-radius__base--full;
|
|
148
|
+
box-shadow: none;
|
|
149
|
+
|
|
150
|
+
&::after {
|
|
151
|
+
content: "\e643";
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.sd-media-carousel__nav-button--prev-inner {
|
|
156
|
+
inset-inline-start: 0;
|
|
157
|
+
color: colors.$sd-text;
|
|
158
|
+
border-radius: 0 dimensions.$border-radius__base--full dimensions.$border-radius__base--full 0;
|
|
159
|
+
box-shadow: none;
|
|
160
|
+
|
|
161
|
+
&::after {
|
|
162
|
+
content: "\e642";
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.sd-media-carousel__nav-button--next-inner, .sd-media-carousel__nav-button--prev-inner {
|
|
168
|
+
&::after {
|
|
169
|
+
opacity: 0.5;
|
|
170
|
+
transition: opacity 0.2s ease-out;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:hover {
|
|
174
|
+
&::after {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
color: colors.$sd-text;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.sd-media-carousel__nav-button--next-inner, .sd-media-carousel__nav-button--prev-inner {
|
|
182
|
+
&:active {
|
|
183
|
+
&::after {
|
|
184
|
+
color: colors.$sd-colour-interactive;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.sd-media-carousel__nav-button--disabled {
|
|
190
|
+
background-color: rgba(255,255,255,0.4) !important;
|
|
191
|
+
cursor: default;
|
|
192
|
+
opacity: 0.2;
|
|
193
|
+
|
|
194
|
+
&::after {
|
|
195
|
+
opacity: 0.75;
|
|
196
|
+
color: colors.$sd-text !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.sd-media-carousel__dialog {
|
|
201
|
+
&:hover {
|
|
202
|
+
.sd-media-carousel__nav-button {
|
|
203
|
+
opacity: 1;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.sd-media-carousel__page-indication-bar {
|
|
210
|
+
inset-block-end: -3.6rem;
|
|
211
|
+
height: 2.6rem;
|
|
212
|
+
position: absolute;
|
|
213
|
+
text-align: center;
|
|
214
|
+
width: 100%;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.sd-media-carousel__page-indicator {
|
|
218
|
+
background-color: rgba(255,255,255,.2);
|
|
219
|
+
border: 1px solid rgba(0,0,0,.4);
|
|
220
|
+
border-radius: dimensions.$border-radius__base--full;
|
|
221
|
+
cursor: pointer;
|
|
222
|
+
display: inline-block;
|
|
223
|
+
height: 1.4rem;
|
|
224
|
+
width: 1.4rem;
|
|
225
|
+
margin: 0.6rem;
|
|
226
|
+
transition: buttons.$button-transition;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.sd-media-carousel__page-indicator--selected {
|
|
230
|
+
background-color: rgba(255,255,255,0.8);
|
|
231
|
+
border-color: rgba(0,0,0,.6);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.sd-media-carousel__thumb-strip {
|
|
235
|
+
display: grid;
|
|
236
|
+
grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
|
|
237
|
+
grid-gap: 1rem;
|
|
238
|
+
margin: 1.4rem 0;
|
|
239
|
+
|
|
240
|
+
i {
|
|
241
|
+
margin: auto;
|
|
242
|
+
color: inherit;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.sd-media-carousel__thumb-strip-item {
|
|
247
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.25), 0 0 1px 1px rgba(0,0,0,.1);
|
|
248
|
+
border: 1px solid rgba(255,255,255,0.2);
|
|
249
|
+
background-color: inherit;
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
transition: all ease-in 0.2s;
|
|
254
|
+
|
|
255
|
+
&:hover {
|
|
256
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 1px 1px rgba(0,0,0,.4);
|
|
257
|
+
border: 1px solid rgba(255,255,255,0.4);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.sd-media-carousel__thumb-strip-item--active {
|
|
262
|
+
outline: 1px solid colors.$sd-colour-interactive;
|
|
263
|
+
border: 1px solid rgba(255,255,255,0.8);
|
|
264
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 1px 1px rgba(0,0,0,.4);
|
|
265
|
+
cursor: default;
|
|
266
|
+
|
|
267
|
+
.sd-media-carousel__thumb {
|
|
268
|
+
img {
|
|
269
|
+
filter: brightness(1) grayscale(100%);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.sd-media-carousel__thumb {
|
|
275
|
+
display: flex;
|
|
276
|
+
flex-grow: 0;
|
|
277
|
+
flex-shrink: 0;
|
|
278
|
+
flex-direction: column;
|
|
279
|
+
align-items: center;
|
|
280
|
+
height: 6rem;
|
|
281
|
+
padding: 0;
|
|
282
|
+
width: 100%;
|
|
283
|
+
position: relative;
|
|
284
|
+
overflow: hidden;
|
|
285
|
+
text-align: center;
|
|
286
|
+
background-color: colors.$photoBG-dark;
|
|
287
|
+
|
|
288
|
+
img {
|
|
289
|
+
max-width: 100%;
|
|
290
|
+
max-height: 6rem;
|
|
291
|
+
object-fit: cover;
|
|
292
|
+
object-position: 50% 50%;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
i {
|
|
296
|
+
font-size: 3.2rem;
|
|
297
|
+
line-height: 3.2rem;
|
|
298
|
+
width: 3.2rem;
|
|
299
|
+
height: 3.2rem;
|
|
300
|
+
margin: auto;
|
|
301
|
+
color: colors.$white;
|
|
302
|
+
opacity: .35;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.sd-media-carousel__thumb--add {
|
|
307
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.25), 0 0 1px 1px rgba(0,0,0,.1);
|
|
308
|
+
border: 1px solid rgba(255,255,255,0.8);
|
|
309
|
+
display: flex;
|
|
310
|
+
flex-direction: column;
|
|
311
|
+
cursor: pointer;
|
|
312
|
+
transition: all ease-in 0.2s;
|
|
313
|
+
|
|
314
|
+
&:hover {
|
|
315
|
+
box-shadow: 0 1px 4px rgba(0,0,0,.35), 0 0 1px 1px rgba(0,0,0,.4);
|
|
316
|
+
border: 1px solid rgba(255,255,255,1);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.sd-media-carousel__media-caption, .sd-media-carousel__media-title {
|
|
321
|
+
color: inherit;
|
|
322
|
+
position: relative;
|
|
323
|
+
padding: 1.2rem;
|
|
324
|
+
width: 100%;
|
|
325
|
+
font-size: 1.4rem;
|
|
326
|
+
text-align: start;
|
|
327
|
+
font-weight: 300;
|
|
328
|
+
line-height: 140%;
|
|
329
|
+
border: 1px solid transparent;
|
|
330
|
+
transition: all ease-in-out 0.2s;
|
|
331
|
+
background-color: transparent;
|
|
332
|
+
|
|
333
|
+
&[contenteditable="true"],
|
|
334
|
+
&textarea:not(disabled) {
|
|
335
|
+
&:hover {
|
|
336
|
+
border-color: var(--sd-colour-interactive--alpha-60);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
&:focus {
|
|
340
|
+
border-color: colors.$sd-colour-interactive;
|
|
341
|
+
box-shadow: inset 0 -1px 0 0 colors.$sd-colour-interactive;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
&:empty {
|
|
345
|
+
&:before {
|
|
346
|
+
position: absolute;
|
|
347
|
+
content: attr(sd-placeholder) " ";
|
|
348
|
+
opacity: 0.55;
|
|
349
|
+
color: inherit;
|
|
350
|
+
font-weight: 300;
|
|
351
|
+
cursor: text;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
textarea.sd-media-carousel__media-caption,
|
|
359
|
+
textarea.sd-media-carousel__media-title {
|
|
360
|
+
color: inherit;
|
|
361
|
+
position: relative;
|
|
362
|
+
padding: 1.2rem;
|
|
363
|
+
width: 100%;
|
|
364
|
+
font-size: 1.4rem;
|
|
365
|
+
text-align: start;
|
|
366
|
+
font-weight: 300;
|
|
367
|
+
line-height: 140%;
|
|
368
|
+
border: 1px solid transparent;
|
|
369
|
+
transition: all ease-in-out 0.2s;
|
|
370
|
+
background-color: transparent;
|
|
371
|
+
|
|
372
|
+
&:not(disabled) {
|
|
373
|
+
&:hover {
|
|
374
|
+
border-color: var(--sd-colour-interactive--alpha-60);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
&:focus {
|
|
378
|
+
border-color: colors.$sd-colour-interactive;
|
|
379
|
+
box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-30);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
&:empty {
|
|
383
|
+
&:before {
|
|
384
|
+
position: absolute;
|
|
385
|
+
content: attr(sd-placeholder) " ";
|
|
386
|
+
opacity: 0.55;
|
|
387
|
+
color: inherit;
|
|
388
|
+
font-weight: 300;
|
|
389
|
+
cursor: text;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.sd-media-carousel__media-caption {
|
|
396
|
+
min-height: 4rem;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.sd-media-carousel__media-title {
|
|
400
|
+
font-size: 1.5rem;
|
|
401
|
+
font-weight: 500;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.sd-editor--theme-blue, .sd-editor--theme-dark {
|
|
405
|
+
.sd-media-carousel__content {
|
|
406
|
+
outline: 1px solid rgba(255,255,255,.2);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@use "../variables/dimensions";
|
|
2
|
+
|
|
3
|
+
.sd-notification-panel {
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 1fr;
|
|
6
|
+
grid-template-rows: auto 1fr auto;
|
|
7
|
+
position: fixed;
|
|
8
|
+
color: var(--color-text);
|
|
9
|
+
inset-block-start: dimensions.$nav-height;
|
|
10
|
+
inset-block-end: 3.2rem;
|
|
11
|
+
inset-inline-end: -336px;
|
|
12
|
+
width: 32rem;
|
|
13
|
+
background: hsla(218, 13%, 12%, 0.82);
|
|
14
|
+
backdrop-filter: blur(6px);
|
|
15
|
+
box-shadow: 0 2px 12px hsla(0, 0%, 0%, 0.32), 0 1px 4px hsla(0, 0%, 0%, 0.32), 0 0 0 1px var(--sd-colour-line--light);
|
|
16
|
+
z-index: 100;
|
|
17
|
+
transition: inset-inline-end 0.2s ease;
|
|
18
|
+
border-radius: var(--b-radius--x-large);
|
|
19
|
+
margin: 12px 0;
|
|
20
|
+
|
|
21
|
+
&.sd-notification-panel--open {
|
|
22
|
+
inset-inline-end: 12px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sd-notification-panel__header {
|
|
27
|
+
grid-row: 1 / 2;
|
|
28
|
+
grid-column: 1 / 2;
|
|
29
|
+
height: dimensions.$nav-height;
|
|
30
|
+
border-block-end: 1px solid var(--sd-colour-line--light);
|
|
31
|
+
padding-inline: dimensions.$sd-base-increment * 2 dimensions.$sd-base-increment;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.sd-notification-panel__title {
|
|
38
|
+
font-size: 16px;
|
|
39
|
+
color: var(--color-text);
|
|
40
|
+
font-weight: 300;
|
|
41
|
+
margin-inline-end: auto;
|
|
42
|
+
padding-inline-end: dimensions.$sd-base-increment;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.sd-notification-panel__content {
|
|
46
|
+
grid-row: 2 / 2;
|
|
47
|
+
grid-column: 1 / 2;
|
|
48
|
+
overflow-y: auto;
|
|
49
|
+
position: relative;
|
|
50
|
+
padding: dimensions.$sd-base-increment * 2;
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@use "../variables/dimensions";
|
|
2
|
+
|
|
3
|
+
.sd-pagination {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
gap: var(--gap--small);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sd-pagination--align-start {
|
|
11
|
+
justify-content: flex-start;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sd-pagination--align-end {
|
|
15
|
+
justify-content: flex-end;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.sd-pagination__item {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
height: dimensions.$sd-base-increment * 4;
|
|
23
|
+
min-width: dimensions.$sd-base-increment * 4;
|
|
24
|
+
border-radius: var(--b-radius--full);
|
|
25
|
+
transition: all 0.2s ease;
|
|
26
|
+
border: 1px solid transparent;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
border: 1px solid var(--sd-colour-interactive--alpha-30);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:active {
|
|
33
|
+
background-color: var(--sd-colour-interactive--alpha-10);
|
|
34
|
+
border: 1px solid var(--sd-colour-interactive);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sd-pagination__item--active {
|
|
39
|
+
background-color: var(--sd-colour-interactive--alpha-10);
|
|
40
|
+
color: var(--sd-colour-interactive);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sd-pagination__item:disabled,
|
|
44
|
+
.sd-pagination__item--disabled {
|
|
45
|
+
opacity: 0.5;
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sd-pagination__item--more {
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
}
|