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,149 @@
|
|
|
1
|
+
@use "../variables/colors";
|
|
2
|
+
@use "../variables/dimensions";
|
|
3
|
+
|
|
4
|
+
// LAYOUT : Basic Layouts : layout/basic-layout.scss
|
|
5
|
+
|
|
6
|
+
.sd-page {
|
|
7
|
+
position: absolute;
|
|
8
|
+
inset-block-start: 48px;
|
|
9
|
+
inset-block-end: 0;
|
|
10
|
+
inset-inline-start: 0;
|
|
11
|
+
inset-inline-end: 0;
|
|
12
|
+
background: #fff;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.sd-page__sidebar {
|
|
17
|
+
position: absolute;
|
|
18
|
+
inset-block-start: 0;
|
|
19
|
+
inset-block-end: 0;
|
|
20
|
+
inset-inline-start: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.sd-page__main-content {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset-block-start: 0;
|
|
26
|
+
inset-block-end: 0;
|
|
27
|
+
inset-inline-start: 0;
|
|
28
|
+
inset-inline-end: 0;
|
|
29
|
+
background-color: var(--sd-colour-panel-bg--100);
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.sd-page__main-content--double-left-nav {
|
|
35
|
+
inset-inline-start: 400px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.sd-page__sidebar {
|
|
39
|
+
& + .sd-page__main-content {
|
|
40
|
+
inset-inline-start: 240px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
& + .sd-content-navigation-panel {
|
|
44
|
+
inset-inline-start: 240px;
|
|
45
|
+
inset-block-start: 0;
|
|
46
|
+
inset-block-end: 0;
|
|
47
|
+
position: absolute;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.sd-page__header {
|
|
52
|
+
height:48px;
|
|
53
|
+
flex-shrink: 0;
|
|
54
|
+
border-block-end: 1px solid var(--sd-colour-line--light);
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
align-items: center;
|
|
58
|
+
padding: 0 20px;
|
|
59
|
+
z-index: 3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.sd-page__header--justify-space-between {
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.sd-page__element-grow {
|
|
67
|
+
flex-grow: 1;
|
|
68
|
+
display: inline-block;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.sd-page__element-grow--x-padding {
|
|
72
|
+
padding: 0 20px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.sd-page__page-heading {
|
|
76
|
+
font-size: 1.6rem;
|
|
77
|
+
color: colors.$sd-text;
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.sd-page__content {
|
|
82
|
+
flex-grow: 1;
|
|
83
|
+
padding: 20px;
|
|
84
|
+
overflow: auto;
|
|
85
|
+
background-color: colors.$mainListBackGround;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.sd-page__content--centered-dashboard {
|
|
89
|
+
display: grid;
|
|
90
|
+
grid-template-columns: 1fr;
|
|
91
|
+
grid-template-rows: 1fr;
|
|
92
|
+
align-items: center;
|
|
93
|
+
justify-content: center;
|
|
94
|
+
|
|
95
|
+
.sd-grid-list {
|
|
96
|
+
width: 60%;
|
|
97
|
+
margin: 0 auto;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.sd-page__flex-helper {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
flex-grow: 1;
|
|
105
|
+
min-height: 0; // fix for Firefox
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.sd-overlay-panel {
|
|
109
|
+
z-index: 2;
|
|
110
|
+
position: absolute;
|
|
111
|
+
inset-block-start: dimensions.$subnav-height;
|
|
112
|
+
inset-inline-end: 0;
|
|
113
|
+
inset-block-end: 3rem;
|
|
114
|
+
width: 0;
|
|
115
|
+
background-color: colors.$white;
|
|
116
|
+
color: colors.$sd-text;
|
|
117
|
+
box-shadow: -2px 0 12px 0 rgba(0,0,0,0.3);
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
transition: all 0.1s ease-out;
|
|
120
|
+
|
|
121
|
+
.side-panel {
|
|
122
|
+
opacity: 0;
|
|
123
|
+
transition: all 0.2s ease-out;
|
|
124
|
+
transition-delay: .1s;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.sd-overlay-panel--open {
|
|
129
|
+
width:40rem;
|
|
130
|
+
overflow: auto;
|
|
131
|
+
|
|
132
|
+
.side-panel {
|
|
133
|
+
opacity: 1;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&.sd-overlay-panel--large {
|
|
137
|
+
width:68rem;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
[data-theme="dark-ui"] {
|
|
142
|
+
.sd-overlay-panel {
|
|
143
|
+
.side-panel {
|
|
144
|
+
.side-panel__header {
|
|
145
|
+
background-color: var(--sd-colour-bg--01);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@use "../variables/dimensions";
|
|
3
|
+
|
|
4
|
+
.sd-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sd-container--inline-flex {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sd-container--block {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.sd-container--direction-row {
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.sd-container--direction-column {
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
align-items: flex-start;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sd-container--gap-none {
|
|
28
|
+
gap: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.sd-container--gap-x-small {
|
|
32
|
+
gap: math.div(dimensions.$sd-base-increment, 2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sd-container--gap-small {
|
|
36
|
+
gap: dimensions.$sd-base-increment;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.sd-container--gap-medium {
|
|
40
|
+
gap: dimensions.$sd-base-increment * 1.5;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.sd-container--gap-large {
|
|
44
|
+
gap: dimensions.$sd-base-increment * 2;
|
|
45
|
+
}
|
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
@use "../variables/dimensions";
|
|
2
|
+
|
|
3
|
+
// ========== Outer Editor Layout (Frame) ========== //
|
|
4
|
+
|
|
5
|
+
.sd-editor-grid {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-columns: [sideBarLeft] auto [editorContent] 1fr [sideTabPinned] auto [sideTabOverlay] auto [sideTabsBar] auto [editorOverlay] 0 [editorOverlay-end];
|
|
8
|
+
grid-template-rows: [editorSubnav] auto [editorContent] 1fr [editorContent-end];
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.sd-editor-grid__editor-subnav {
|
|
13
|
+
grid-column: 1 / 6;
|
|
14
|
+
grid-row: editorSubnav;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.sd-editor-grid__sidebar-left {
|
|
18
|
+
grid-column: sideBarLeft;
|
|
19
|
+
grid-row: editorContent;
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-rows: 1fr;
|
|
22
|
+
grid-template-columns: 1fr;
|
|
23
|
+
width: dimensions.$sd-sidebarMenu-width;
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sd-editor-grid__editor-content {
|
|
28
|
+
grid-column: editorContent;
|
|
29
|
+
grid-row: editorContent;
|
|
30
|
+
background-color: #D4CED0;
|
|
31
|
+
position: relative;
|
|
32
|
+
overflow-y: auto;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sd-editor-grid__sidetabs-content-pinned {
|
|
36
|
+
grid-column: sideTabPinned;
|
|
37
|
+
grid-row: editorContent;
|
|
38
|
+
position: relative;
|
|
39
|
+
overflow-x: visible;
|
|
40
|
+
overflow-y: hidden;
|
|
41
|
+
display: grid;
|
|
42
|
+
grid-template-columns: 1fr;
|
|
43
|
+
grid-template-rows: 1fr;
|
|
44
|
+
width: 0;
|
|
45
|
+
z-index: 1;
|
|
46
|
+
transition: all 0.2s ease;
|
|
47
|
+
|
|
48
|
+
&.sidetab-content-pinned--pinned {
|
|
49
|
+
overflow-y: auto;
|
|
50
|
+
overflow-x: hidden;
|
|
51
|
+
width: auto;
|
|
52
|
+
max-height: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.sidetab-content-pinned--open {
|
|
56
|
+
overflow-y: auto;
|
|
57
|
+
overflow-x: hidden;
|
|
58
|
+
width: auto;
|
|
59
|
+
max-height: 100%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.sd-editor-grid__sidetabs-content-overlay {
|
|
64
|
+
grid-column: sideTabOverlay;
|
|
65
|
+
grid-row: editorContent;
|
|
66
|
+
position: relative;
|
|
67
|
+
overflow-x: visible;
|
|
68
|
+
overflow-y: hidden;
|
|
69
|
+
display: grid;
|
|
70
|
+
grid-template-columns: 1fr;
|
|
71
|
+
grid-template-rows: 1fr;
|
|
72
|
+
width: 0;
|
|
73
|
+
background-color: var(--sd-colour-panel-bg--000);
|
|
74
|
+
z-index: 10;
|
|
75
|
+
|
|
76
|
+
.sidetabs-content-overlay__inner {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
position: absolute;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
inset-block-start: 0;
|
|
81
|
+
width: 0;
|
|
82
|
+
inset-block-end: 0;
|
|
83
|
+
inset-inline-end: -320px;
|
|
84
|
+
transition: width 0.2s ease-in-out, opacity 0.2s ease;
|
|
85
|
+
box-shadow: -2px 0 12px hsla(0, 0%, 0%, 0), -3px 0 0 0px hsla(214, 13%, 60%, 0);
|
|
86
|
+
display: grid;
|
|
87
|
+
grid-template-columns: 1fr;
|
|
88
|
+
grid-template-rows: 1fr;
|
|
89
|
+
z-index: 10;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.sidetab-content-overlay--open {
|
|
93
|
+
overflow: visible;
|
|
94
|
+
|
|
95
|
+
.sidetabs-content-overlay__inner {
|
|
96
|
+
opacity: 1;
|
|
97
|
+
width: auto;
|
|
98
|
+
position: absolute;
|
|
99
|
+
overflow: hidden;
|
|
100
|
+
inset-inline-end: 0;
|
|
101
|
+
box-shadow: -2px 0 12px hsla(0, 0%, 0%, 0.4), -3px 0 0 0px hsla(214, 13%, 60%, 1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.sd-editor-grid__sidetabs-bar {
|
|
107
|
+
display: grid;
|
|
108
|
+
grid-template-rows: 1fr;
|
|
109
|
+
grid-template-columns: 1fr;
|
|
110
|
+
grid-column: sideTabsBar;
|
|
111
|
+
grid-row: editorContent;
|
|
112
|
+
width: dimensions.$sd-sidebarMenu-width;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
z-index: 11;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.sd-editor-grid__editor-overlay {
|
|
118
|
+
grid-column: editorOverlay;
|
|
119
|
+
grid-row-start: editorSubnav;
|
|
120
|
+
grid-row-end: editorContent-end;
|
|
121
|
+
position: relative;
|
|
122
|
+
display: grid;
|
|
123
|
+
grid-template-rows: 1fr;
|
|
124
|
+
grid-template-columns: 1fr;
|
|
125
|
+
z-index: 100;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// ========== Main Editor Layout ========== //
|
|
129
|
+
|
|
130
|
+
.sd-editor-content {
|
|
131
|
+
display: grid;
|
|
132
|
+
grid-template-columns: [editorMain] 1fr;
|
|
133
|
+
grid-template-rows: [editorToolbar] auto [editorMainContainer] 1fr;
|
|
134
|
+
position: relative;
|
|
135
|
+
height: 100%;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.sd-editor-content__toolbar {
|
|
139
|
+
grid-column: editorMain;
|
|
140
|
+
grid-row: editorToolbar;
|
|
141
|
+
height: dimensions.$nav-height;
|
|
142
|
+
position: relative;
|
|
143
|
+
padding: 4px 20px;
|
|
144
|
+
background-color: var(--sd-colour-panel-bg--000);
|
|
145
|
+
z-index: 3;
|
|
146
|
+
transition: all 0.5s;
|
|
147
|
+
display: flex;
|
|
148
|
+
justify-content: space-between;
|
|
149
|
+
align-items: center;
|
|
150
|
+
box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.2);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.sd-editor-content__toolbar--custom {
|
|
154
|
+
height: auto;
|
|
155
|
+
flex-direction: column;
|
|
156
|
+
align-items: stretch;
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.sd-editor-content__save-bar {
|
|
161
|
+
height: dimensions.$nav-height;
|
|
162
|
+
position: relative;
|
|
163
|
+
padding: 4px 20px;
|
|
164
|
+
//background-color: var(--sd-colour-panel-bg--000);
|
|
165
|
+
background-color: var(--sd-colour-interactive);
|
|
166
|
+
z-index: 3;
|
|
167
|
+
transition: all 0.5s;
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: space-between;
|
|
170
|
+
align-items: center;
|
|
171
|
+
box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.2);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.sd-editor-content__save-bar--custom {
|
|
175
|
+
height: auto;
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
align-items: stretch;
|
|
178
|
+
padding: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.sd-editor-content__toolbar-inner {
|
|
182
|
+
height: dimensions.$nav-height;
|
|
183
|
+
position: relative;
|
|
184
|
+
padding: 4px 20px;
|
|
185
|
+
background-color: var(--sd-colour-panel-bg--000);
|
|
186
|
+
z-index: 3;
|
|
187
|
+
transition: all 0.5s;
|
|
188
|
+
display: flex;
|
|
189
|
+
justify-content: space-between;
|
|
190
|
+
align-items: center;
|
|
191
|
+
box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.2);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.sd-editor-content__main-container {
|
|
195
|
+
grid-column: editorMain;
|
|
196
|
+
grid-row: editorMainContainer;
|
|
197
|
+
display: grid;
|
|
198
|
+
display: grid;
|
|
199
|
+
grid-template-rows: [authoringHeader] auto [authoringBody] 1fr;
|
|
200
|
+
grid-template-columns: [bookmarkBar] auto [mainContent] 1fr;
|
|
201
|
+
flex-direction: column;
|
|
202
|
+
overflow-y: auto;
|
|
203
|
+
|
|
204
|
+
p {
|
|
205
|
+
font-size: 16px;
|
|
206
|
+
line-height: 1.5;
|
|
207
|
+
margin-block-end: 24px;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
max-height is used for animation, but might cause issues when content height is greater
|
|
213
|
+
the class should only be applied if header has the capability to be collapsed
|
|
214
|
+
*/
|
|
215
|
+
.sd-editor-content__authoring-header--collapsible {
|
|
216
|
+
max-height: 1400px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.sd-editor-content__authoring-header {
|
|
220
|
+
grid-column: 1 / 3;
|
|
221
|
+
grid-row: authoringHeader;
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
background-color: var(--sd-colour-panel-bg--100);
|
|
225
|
+
position: relative;
|
|
226
|
+
margin: 0;
|
|
227
|
+
padding: dimensions.$sd-base-increment * 3 dimensions.$sd-base-increment * 1.5;
|
|
228
|
+
z-index: 2;
|
|
229
|
+
box-shadow: 0px 1px 4px -1px rgba(0, 0, 0, 0.25);
|
|
230
|
+
transition: max-height 0.12s ease-in;
|
|
231
|
+
|
|
232
|
+
&>.authoring-header__holder {
|
|
233
|
+
height: auto;
|
|
234
|
+
opacity: 1;
|
|
235
|
+
overflow: visible;
|
|
236
|
+
transition: opacity 0.4s 0.1s;
|
|
237
|
+
margin: 0 auto;
|
|
238
|
+
width: 100%;
|
|
239
|
+
max-width: var(--width__container--xxx-large);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&.authoring-header--collapsed {
|
|
243
|
+
max-height: 0;
|
|
244
|
+
padding: 0 dimensions.$sd-base-increment * 1.5 !important;
|
|
245
|
+
|
|
246
|
+
.authoring-header__toggle {
|
|
247
|
+
i {
|
|
248
|
+
transform: rotate(180deg);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&>.authoring-header__holder {
|
|
253
|
+
height: 0px;
|
|
254
|
+
opacity: 0;
|
|
255
|
+
overflow: hidden;
|
|
256
|
+
transition: opacity 0.4s 0.1s;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&.authoring-header--padding-small,
|
|
260
|
+
&.authoring-header--padding-medium,
|
|
261
|
+
&.authoring-header--padding-large {
|
|
262
|
+
padding-block-start: 0 !important;
|
|
263
|
+
padding-block-end: 0 !important;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&.authoring-header--padding-small {
|
|
268
|
+
padding: dimensions.$sd-base-increment * 3 dimensions.$sd-base-increment * 1.5;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&.authoring-header--padding-medium {
|
|
272
|
+
padding: dimensions.$sd-base-increment * 3 dimensions.$sd-base-increment * 3;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&.authoring-header--padding-large {
|
|
276
|
+
padding: dimensions.$sd-base-increment * 3 dimensions.$sd-base-increment * 4;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.authoring-header__toggle {
|
|
281
|
+
position: absolute;
|
|
282
|
+
width: 37px;
|
|
283
|
+
height: 25px;
|
|
284
|
+
border: 0;
|
|
285
|
+
padding: 0 0 4px;
|
|
286
|
+
inset-inline-start: 50%;
|
|
287
|
+
margin-inline-start: -18.5px;
|
|
288
|
+
margin-block-start: -18.5px;
|
|
289
|
+
inset-block-end: -25px;
|
|
290
|
+
background-color: var(--sd-colour-panel-bg--100);
|
|
291
|
+
z-index: 3;
|
|
292
|
+
line-height: 0;
|
|
293
|
+
border-radius: 0 0 22px 22px;
|
|
294
|
+
box-shadow: 0 -2px 0 0 var(--sd-colour-panel-bg--100), 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
295
|
+
display: inline-flex;
|
|
296
|
+
align-items: center;
|
|
297
|
+
justify-content: center;
|
|
298
|
+
transition: all ease-in 0.12s;
|
|
299
|
+
|
|
300
|
+
&:hover {
|
|
301
|
+
height: 32px;
|
|
302
|
+
inset-block-end: -32px;
|
|
303
|
+
padding-block-start: 2px;
|
|
304
|
+
|
|
305
|
+
i {
|
|
306
|
+
opacity: 1;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
i {
|
|
311
|
+
height: 15px;
|
|
312
|
+
transition: all 0.5s;
|
|
313
|
+
opacity: 0.75;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.sd-editor-content__authoring-body {
|
|
318
|
+
|
|
319
|
+
grid-column: mainContent;
|
|
320
|
+
grid-row: authoringBody;
|
|
321
|
+
|
|
322
|
+
background-color: var(--sd-colour-panel-bg--000);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.sd-editor-content__authoring-body-padding {
|
|
326
|
+
padding: 3.2rem 4rem 5.2rem 4rem;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.sd-editor-content__authoring-bookmark-bar {
|
|
330
|
+
grid-column: bookmarkBar;
|
|
331
|
+
grid-row: authoringBody;
|
|
332
|
+
width: dimensions.$sd-sidebarMenu-width;
|
|
333
|
+
background-color: var(--sd-colour-panel-bg--000);
|
|
334
|
+
display: grid;
|
|
335
|
+
grid-template-rows: 1fr;
|
|
336
|
+
grid-template-columns: 1fr;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.sd-editor-toolbar__content {
|
|
340
|
+
display: inline-flex;
|
|
341
|
+
gap: 8px;
|
|
342
|
+
|
|
343
|
+
dl {
|
|
344
|
+
display: flex;
|
|
345
|
+
gap: 4px;
|
|
346
|
+
font-size: 1.2rem;
|
|
347
|
+
|
|
348
|
+
&:not(:first-child) {
|
|
349
|
+
border-inline-start: 1px solid var(--sd-colour-line--light);
|
|
350
|
+
padding-inline-start: 8px;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
dt {
|
|
355
|
+
font-weight: 500;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
dd,
|
|
359
|
+
dd time {
|
|
360
|
+
font-weight: 400;
|
|
361
|
+
color: var(--color-text-muted);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.sd-editor-grid__sidetabs-bar,
|
|
366
|
+
.sd-editor-grid__sidebar-left {
|
|
367
|
+
position: relative;
|
|
368
|
+
|
|
369
|
+
::-webkit-scrollbar {
|
|
370
|
+
width: 4px;
|
|
371
|
+
height: 4px;
|
|
372
|
+
margin: -1px 0;
|
|
373
|
+
position: absolute;
|
|
374
|
+
inset-block-end: 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
::-webkit-scrollbar:hover {
|
|
378
|
+
background-color: var(--sd-colour__webkit-scrollbar--hover);
|
|
379
|
+
background-color: transparent;
|
|
380
|
+
cursor: pointer;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
::-webkit-scrollbar-thumb {
|
|
384
|
+
background: var(--sd-colour__webkit-scrollbar-thumb);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
::-webkit-scrollbar-thumb:hover {
|
|
388
|
+
background: var(--sd-colour__webkit-scrollbar-thumb--hover);
|
|
389
|
+
cursor: pointer;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.sd-editor__container-wrapper {
|
|
394
|
+
grid-column: 1 / 2;
|
|
395
|
+
display: grid;
|
|
396
|
+
grid-template-rows: 1fr;
|
|
397
|
+
grid-auto-columns: auto;
|
|
398
|
+
width: 0;
|
|
399
|
+
min-width: 0;
|
|
400
|
+
max-width: 0;
|
|
401
|
+
transition: all ease-in-out 0.2s;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.sd-editor__container {
|
|
405
|
+
overflow-y: auto;
|
|
406
|
+
overflow: hidden;
|
|
407
|
+
opacity: 0;
|
|
408
|
+
transition: all ease-in-out 0.2s;
|
|
409
|
+
transition-delay: 0.2s;
|
|
410
|
+
|
|
411
|
+
.sd-content-wrapper__main-content-area.sd-main-content-grid {
|
|
412
|
+
grid-column: 1 / 2 !important;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.open-editor {
|
|
417
|
+
.sd-editor__container-wrapper {
|
|
418
|
+
width: auto;
|
|
419
|
+
min-width: 45vw;
|
|
420
|
+
max-width: 45vw;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.sd-editor__container {
|
|
424
|
+
opacity: 1;
|
|
425
|
+
overflow-y: auto;
|
|
426
|
+
|
|
427
|
+
&.sd-editor__container--large {
|
|
428
|
+
min-width: 52vw;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.sd-content-wrapper--editor-full .open-editor .sd-editor__container-wrapper {
|
|
434
|
+
min-width: auto;
|
|
435
|
+
max-width: none;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.sd-editor__input--title {
|
|
439
|
+
-webkit-appearance: none;
|
|
440
|
+
-moz-appearance: none;
|
|
441
|
+
appearance: none;
|
|
442
|
+
width: 100%;
|
|
443
|
+
color: var(--color-text);
|
|
444
|
+
border: 0;
|
|
445
|
+
border: 2px solid var(--color-input-border);
|
|
446
|
+
font-size: 3.2rem;
|
|
447
|
+
font-weight: 500;
|
|
448
|
+
background-color: transparent;
|
|
449
|
+
transition: all ease 0.3s;
|
|
450
|
+
padding: 0 1.6rem;
|
|
451
|
+
min-height: 5.6rem;
|
|
452
|
+
border-radius: var(--b-radius--large);
|
|
453
|
+
display: block;
|
|
454
|
+
|
|
455
|
+
&:hover {
|
|
456
|
+
border-color: var(--color-input-border-hover);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
&:focus {
|
|
460
|
+
outline: none;
|
|
461
|
+
border-color: var(--sd-colour-interactive--alpha-50);
|
|
462
|
+
box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-20);
|
|
463
|
+
}
|
|
464
|
+
}
|