@kitconcept/volto-light-theme 8.0.0-alpha.3 → 8.0.0-alpha.30
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/.changelog.draft +6 -9
- package/CHANGELOG.md +310 -0
- package/locales/af/LC_MESSAGES/volto.po +645 -0
- package/locales/ar/LC_MESSAGES/volto.po +645 -0
- package/locales/bg/LC_MESSAGES/volto.po +645 -0
- package/locales/bn/LC_MESSAGES/volto.po +645 -0
- package/locales/ca/LC_MESSAGES/volto.po +645 -0
- package/locales/cs/LC_MESSAGES/volto.po +645 -0
- package/locales/cy/LC_MESSAGES/volto.po +645 -0
- package/locales/da/LC_MESSAGES/volto.po +645 -0
- package/locales/de/LC_MESSAGES/volto.po +83 -167
- package/locales/el/LC_MESSAGES/volto.po +645 -0
- package/locales/en/LC_MESSAGES/volto.po +30 -115
- package/locales/en_AU/LC_MESSAGES/volto.po +645 -0
- package/locales/en_GB/LC_MESSAGES/volto.po +645 -0
- package/locales/eo/LC_MESSAGES/volto.po +645 -0
- package/locales/es/LC_MESSAGES/volto.po +75 -160
- package/locales/et/LC_MESSAGES/volto.po +645 -0
- package/locales/eu/LC_MESSAGES/volto.po +59 -125
- package/locales/fa/LC_MESSAGES/volto.po +645 -0
- package/locales/fi/LC_MESSAGES/volto.po +645 -0
- package/locales/fr/LC_MESSAGES/volto.po +645 -0
- package/locales/fu/LC_MESSAGES/volto.po +645 -0
- package/locales/ga/LC_MESSAGES/volto.po +645 -0
- package/locales/gl/LC_MESSAGES/volto.po +645 -0
- package/locales/he/LC_MESSAGES/volto.po +645 -0
- package/locales/hi/LC_MESSAGES/volto.po +645 -0
- package/locales/hr/LC_MESSAGES/volto.po +645 -0
- package/locales/hu/LC_MESSAGES/volto.po +645 -0
- package/locales/hy/LC_MESSAGES/volto.po +645 -0
- package/locales/id/LC_MESSAGES/volto.po +645 -0
- package/locales/it/LC_MESSAGES/volto.po +645 -0
- package/locales/ja/LC_MESSAGES/volto.po +645 -0
- package/locales/ka/LC_MESSAGES/volto.po +645 -0
- package/locales/kn/LC_MESSAGES/volto.po +645 -0
- package/locales/ko/LC_MESSAGES/volto.po +645 -0
- package/locales/lt/LC_MESSAGES/volto.po +645 -0
- package/locales/lv/LC_MESSAGES/volto.po +645 -0
- package/locales/mi/LC_MESSAGES/volto.po +645 -0
- package/locales/mk_MK/LC_MESSAGES/volto.po +645 -0
- package/locales/ms/LC_MESSAGES/volto.po +645 -0
- package/locales/mt/LC_MESSAGES/volto.po +645 -0
- package/locales/my/LC_MESSAGES/volto.po +645 -0
- package/locales/nl/LC_MESSAGES/volto.po +645 -0
- package/locales/nl_BE/LC_MESSAGES/volto.po +645 -0
- package/locales/nn/LC_MESSAGES/volto.po +645 -0
- package/locales/no/LC_MESSAGES/volto.po +645 -0
- package/locales/pl/LC_MESSAGES/volto.po +645 -0
- package/locales/pt/LC_MESSAGES/volto.po +645 -0
- package/locales/pt_BR/LC_MESSAGES/volto.po +38 -123
- package/locales/rm/LC_MESSAGES/volto.po +645 -0
- package/locales/ro/LC_MESSAGES/volto.po +645 -0
- package/locales/ru/LC_MESSAGES/volto.po +645 -0
- package/locales/sk/LC_MESSAGES/volto.po +645 -0
- package/locales/sl/LC_MESSAGES/volto.po +645 -0
- package/locales/sm/LC_MESSAGES/volto.po +645 -0
- package/locales/sq/LC_MESSAGES/volto.po +645 -0
- package/locales/sr/LC_MESSAGES/volto.po +645 -0
- package/locales/sr_Cyrl/LC_MESSAGES/volto.po +645 -0
- package/locales/sr_Latn/LC_MESSAGES/volto.po +645 -0
- package/locales/sv/LC_MESSAGES/volto.po +645 -0
- package/locales/sw/LC_MESSAGES/volto.po +645 -0
- package/locales/ta/LC_MESSAGES/volto.po +645 -0
- package/locales/te/LC_MESSAGES/volto.po +645 -0
- package/locales/th/LC_MESSAGES/volto.po +645 -0
- package/locales/tl/LC_MESSAGES/volto.po +645 -0
- package/locales/to/LC_MESSAGES/volto.po +645 -0
- package/locales/tr/LC_MESSAGES/volto.po +645 -0
- package/locales/uk/LC_MESSAGES/volto.po +645 -0
- package/locales/vi/LC_MESSAGES/volto.po +645 -0
- package/locales/volto.pot +31 -116
- package/locales/zh_CN/LC_MESSAGES/volto.po +645 -0
- package/locales/zh_HK/LC_MESSAGES/volto.po +645 -0
- package/locales/zh_TW/LC_MESSAGES/volto.po +645 -0
- package/package.json +7 -4
- package/src/__mocks__/semantic-ui-react.ts +31 -0
- package/src/components/Blocks/Block/EditBlockWrapper.jsx +9 -3
- package/src/components/Blocks/Button/schema.js +12 -0
- package/src/components/Blocks/EventCalendar/Search/components/EventTemplate.tsx +1 -1
- package/src/components/Blocks/Image/Edit.jsx +9 -32
- package/src/components/Blocks/Image/View.jsx +9 -26
- package/src/components/Blocks/Image/adapter.js +28 -14
- package/src/components/Blocks/Image/adapter.test.js +156 -0
- package/src/components/Blocks/Image/schema.js +21 -7
- package/src/components/Blocks/Listing/DefaultTemplate.jsx +12 -6
- package/src/components/Blocks/Listing/GridTemplate.jsx +17 -7
- package/src/components/Blocks/Listing/ListingBody.jsx +4 -1
- package/src/components/Blocks/Listing/SummaryTemplate.jsx +17 -7
- package/src/components/Blocks/Maps/MapsSidebar.jsx +68 -0
- package/src/components/Blocks/Maps/View.jsx +37 -0
- package/src/components/Blocks/Maps/adapter.js +27 -0
- package/src/components/Blocks/Maps/adapter.test.js +63 -0
- package/src/components/Blocks/Maps/schema.js +42 -2
- package/src/components/Blocks/Separator/schema.js +12 -0
- package/src/components/Blocks/Teaser/DefaultBody.tsx +35 -6
- package/src/components/Blocks/Video/VideoSidebar.jsx +68 -0
- package/src/components/Blocks/Video/View.jsx +38 -0
- package/src/components/Blocks/Video/adapter.js +28 -0
- package/src/components/Blocks/Video/adapter.test.js +63 -0
- package/src/components/Blocks/Video/schema.js +42 -2
- package/src/components/Blocks/schema.ts +69 -0
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +128 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +117 -0
- package/src/components/Caption/Caption.test.tsx +31 -0
- package/src/components/Caption/{Caption.jsx → Caption.tsx} +14 -21
- package/src/components/Footer/ColumnLinks.tsx +2 -2
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/slots/Colophon.tsx +13 -1
- package/src/components/Footer/slots/CoreFooter.tsx +4 -2
- package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +12 -23
- package/src/components/Header/Header.tsx +3 -3
- package/src/components/LanguageSelector/LanguageSelector.tsx +91 -0
- package/src/components/MobileNavigation/MobileNavigation.jsx +11 -9
- package/src/components/Navigation/Navigation.test.tsx +176 -0
- package/src/components/Navigation/{Navigation.jsx → Navigation.tsx} +89 -42
- package/src/components/StickyMenu/MobileCarouselArrowButton.tsx +81 -0
- package/src/components/StickyMenu/MobileStickyMenu.tsx +76 -0
- package/src/components/Summary/DefaultSummary.tsx +10 -3
- package/src/components/Summary/EventSummary.tsx +10 -3
- package/src/components/Summary/FileSummary.tsx +10 -3
- package/src/components/Summary/NewsItemSummary.tsx +10 -3
- package/src/components/Summary/PersonSummary.tsx +10 -3
- package/src/components/Summary/Summary.stories.tsx +46 -30
- package/src/components/Tags/Tags.test.tsx +71 -0
- package/src/components/Tags/{Tags.jsx → Tags.tsx} +9 -25
- package/src/components/Theme/EventView.jsx +4 -4
- package/src/components/Theme/ImageView.jsx +8 -1
- package/src/components/Theme/NewsItemView.jsx +4 -4
- package/src/components/Theme/RenderBlocksV2.jsx +38 -15
- package/src/components/Widgets/ColorSwatch.stories.tsx +197 -0
- package/src/components/Widgets/ColorSwatch.test.tsx +188 -0
- package/src/components/Widgets/ColorSwatch.tsx +77 -39
- package/src/components/Widgets/ObjectList.tsx +37 -27
- package/src/components/Widgets/SoftTextWidget.tsx +129 -0
- package/src/components/Widgets/SoftTextareaWidget.tsx +118 -0
- package/src/components/Widgets/ThemeColorSwatch.tsx +5 -9
- package/src/config/blocks.tsx +83 -28
- package/src/config/classExtenders.ts +11 -10
- package/src/config/settings.ts +6 -0
- package/src/config/slots.ts +7 -0
- package/src/config/widgets.ts +5 -9
- package/src/customizations/volto/components/manage/Blocks/Maps/MapsSidebar.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Maps/View.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Video/VideoSidebar.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Video/View.jsx +10 -0
- package/src/customizations/volto/components/manage/DragDropList/DragDropList.jsx +263 -0
- package/src/customizations/volto/components/theme/LanguageSelector/LanguageSelector.tsx +10 -0
- package/src/helpers/styleDefinitions.test.tsx +30 -0
- package/src/helpers/styleDefinitions.ts +49 -0
- package/src/helpers/useLiveData.ts +7 -2
- package/src/index.ts +15 -0
- package/src/internalChecks.test.ts +94 -0
- package/src/primitives/Card/Card.stories.tsx +4 -1
- package/src/primitives/Card/Card.test.tsx +11 -33
- package/src/primitives/Card/Card.tsx +37 -44
- package/src/primitives/IconLinkList.tsx +53 -52
- package/src/primitives/LinkIconButton.tsx +52 -0
- package/src/reducers/errorContext.ts +14 -0
- package/src/reducers/index.ts +7 -0
- package/src/theme/_bgcolor-blocks-layout.scss +48 -46
- package/src/theme/_content.scss +12 -13
- package/src/theme/_export_import.scss +94 -0
- package/src/theme/_footer.scss +131 -64
- package/src/theme/_header.scss +25 -5
- package/src/theme/_insets.scss +1 -1
- package/src/theme/_layout.scss +41 -77
- package/src/theme/_mobile-sticky-menu.scss +92 -0
- package/src/theme/_search-page.scss +250 -0
- package/src/theme/_typo-custom.scss +24 -8
- package/src/theme/_variables.scss +40 -4
- package/src/theme/_widgets.scss +6 -17
- package/src/theme/blocks/_accordion.scss +11 -4
- package/src/theme/blocks/_form.scss +350 -0
- package/src/theme/blocks/_grid.scss +10 -77
- package/src/theme/blocks/_highlight.scss +10 -7
- package/src/theme/blocks/_image.scss +99 -184
- package/src/theme/blocks/_listing.scss +61 -128
- package/src/theme/blocks/_maps.scss +60 -34
- package/src/theme/blocks/_search.scss +3 -4
- package/src/theme/blocks/_table.scss +1 -0
- package/src/theme/blocks/_teaser.scss +7 -117
- package/src/theme/blocks/_toc.scss +2 -1
- package/src/theme/card.scss +136 -69
- package/src/theme/main.scss +4 -0
- package/src/theme/notfound.scss +2 -0
- package/src/theme/person.scss +7 -1
- package/src/theme/sticky-menu.scss +7 -5
- package/src/transforms/to6.ts +5 -49
- package/src/transforms/to8.test.js +201 -0
- package/src/transforms/to8.ts +109 -0
- package/src/types.d.ts +1 -0
- package/vitest.config.mjs +28 -3
- package/razzle.extend.js +0 -38
- package/src/components/Blocks/schema.js +0 -44
- package/src/components/Breadcrumbs/Breadcrumbs.jsx +0 -118
- package/src/components/Widgets/AlignWidget.tsx +0 -84
- package/src/components/Widgets/BlockAlignment.tsx +0 -88
- package/src/components/Widgets/BlockWidth.tsx +0 -101
- package/src/components/Widgets/Buttons.tsx +0 -167
- package/src/components/Widgets/Size.tsx +0 -78
package/src/theme/_widgets.scss
CHANGED
|
@@ -89,20 +89,18 @@ span.color-contrast-label {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.color-swatch-widget {
|
|
92
|
-
.
|
|
93
|
-
|
|
94
|
-
margin: 1rem 0 0.5rem;
|
|
95
|
-
text-align: center;
|
|
92
|
+
.react-aria-RadioGroup {
|
|
93
|
+
gap: 5px;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
|
|
96
|
+
.color-swatch-option-handler {
|
|
99
97
|
position: relative;
|
|
100
98
|
width: 32px;
|
|
101
99
|
height: 32px;
|
|
102
100
|
padding: 1rem;
|
|
103
101
|
border: 2px solid #ccc;
|
|
104
102
|
border-radius: 100%;
|
|
105
|
-
|
|
103
|
+
cursor: pointer;
|
|
106
104
|
|
|
107
105
|
&.active {
|
|
108
106
|
border: 2px solid red;
|
|
@@ -121,18 +119,9 @@ span.color-contrast-label {
|
|
|
121
119
|
}
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
.color-swatch-widget
|
|
125
|
-
background-color: var(--theme-color);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.color-swatch-widget .button.grey,
|
|
129
|
-
.color-swatch-widget .button.grey.active,
|
|
130
|
-
.color-swatch-widget .ui.grey.button:hover {
|
|
131
|
-
background-color: var(--theme-color);
|
|
132
|
-
}
|
|
133
|
-
.color-swatch-widget .button.active,
|
|
134
|
-
.color-swatch-widget .button.active:hover {
|
|
122
|
+
.color-swatch-widget .color-swatch-option-handler {
|
|
135
123
|
background-color: var(--theme-color);
|
|
124
|
+
color: var(--theme-foreground-color);
|
|
136
125
|
}
|
|
137
126
|
|
|
138
127
|
.buttons-widget-option {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
& > span,
|
|
27
27
|
.input-accordion-title {
|
|
28
28
|
@include introduction();
|
|
29
|
+
max-width: calc(100% - 50px); // 100% - svg height
|
|
29
30
|
color: $darkGrey;
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
|
|
68
69
|
.block.image {
|
|
69
70
|
figure {
|
|
71
|
+
margin-top: 0;
|
|
70
72
|
&.right {
|
|
71
73
|
margin-left: 20px;
|
|
72
74
|
}
|
|
@@ -91,13 +93,18 @@
|
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
.block.teaser
|
|
96
|
+
.block.teaser,
|
|
97
|
+
.block.listing {
|
|
95
98
|
.card-inner .card-summary {
|
|
96
|
-
|
|
97
|
-
padding:
|
|
98
|
-
margin-bottom: 20px !important;
|
|
99
|
+
.title {
|
|
100
|
+
padding: 0;
|
|
99
101
|
background: none;
|
|
100
102
|
text-transform: none;
|
|
103
|
+
@include text-heading-h2();
|
|
104
|
+
|
|
105
|
+
@container (max-width: #{$largest-mobile-screen}) {
|
|
106
|
+
@include text-heading-h3();
|
|
107
|
+
}
|
|
101
108
|
}
|
|
102
109
|
}
|
|
103
110
|
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
%form-outlined-button {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
padding: 8px 20px;
|
|
5
|
+
border: 1px solid var(--theme-foreground-color);
|
|
6
|
+
border-radius: 0;
|
|
7
|
+
margin: 0;
|
|
8
|
+
background-color: var(--theme-color);
|
|
9
|
+
color: var(--theme-foreground-color);
|
|
10
|
+
|
|
11
|
+
@include body-text-bold();
|
|
12
|
+
|
|
13
|
+
&:hover,
|
|
14
|
+
&:active,
|
|
15
|
+
&:focus {
|
|
16
|
+
border-color: var(--theme-foreground-color);
|
|
17
|
+
background-color: var(--theme-foreground-color);
|
|
18
|
+
color: var(--theme-color);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.block.schemaForm {
|
|
23
|
+
--form-error-foreground: #cc0000;
|
|
24
|
+
--form-error-background: #f2cecd;
|
|
25
|
+
|
|
26
|
+
& > h2,
|
|
27
|
+
& > p,
|
|
28
|
+
& > .formDescription,
|
|
29
|
+
& > .container {
|
|
30
|
+
@include default-container-width();
|
|
31
|
+
@include adjustMarginsToContainer($default-container-width);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h2 {
|
|
35
|
+
@include block-title();
|
|
36
|
+
|
|
37
|
+
margin-bottom: $spacing-small;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.formDescription {
|
|
41
|
+
margin-bottom: $spacing-medium;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
form.ui.form {
|
|
45
|
+
fieldset {
|
|
46
|
+
padding: 0;
|
|
47
|
+
border: 0;
|
|
48
|
+
margin: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ui.segments,
|
|
52
|
+
.ui.raised.segments,
|
|
53
|
+
.ui.segment {
|
|
54
|
+
padding: 0;
|
|
55
|
+
border: 0;
|
|
56
|
+
border-radius: 0;
|
|
57
|
+
margin: 0;
|
|
58
|
+
background: none;
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
|
|
61
|
+
&::before,
|
|
62
|
+
&::after {
|
|
63
|
+
display: none;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.field {
|
|
68
|
+
padding-bottom: 0 !important;
|
|
69
|
+
margin-bottom: $spacing-small;
|
|
70
|
+
|
|
71
|
+
.ui.grid {
|
|
72
|
+
display: block;
|
|
73
|
+
margin: 0;
|
|
74
|
+
|
|
75
|
+
> .row {
|
|
76
|
+
display: block;
|
|
77
|
+
padding: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
> .row > .column {
|
|
81
|
+
width: 100% !important;
|
|
82
|
+
padding: 0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.wrapper > label {
|
|
87
|
+
display: block;
|
|
88
|
+
margin-bottom: 0;
|
|
89
|
+
|
|
90
|
+
@include add(size, xs);
|
|
91
|
+
@include add(height, s);
|
|
92
|
+
@include add(weight, bold);
|
|
93
|
+
|
|
94
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
95
|
+
opacity: 0.9;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:focus-within .wrapper > label {
|
|
99
|
+
color: var(--theme-foreground-color);
|
|
100
|
+
opacity: 1;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.required .wrapper > label::after {
|
|
104
|
+
margin-left: 2px;
|
|
105
|
+
background: none;
|
|
106
|
+
content: '*';
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.required .wrapper .ui.checkbox::after {
|
|
110
|
+
margin-left: 2px;
|
|
111
|
+
background: none;
|
|
112
|
+
content: '*';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.help {
|
|
116
|
+
border-bottom: none;
|
|
117
|
+
margin: 0;
|
|
118
|
+
|
|
119
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
120
|
+
|
|
121
|
+
@include add(size, xs);
|
|
122
|
+
@include add(height, m);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&.error {
|
|
126
|
+
.wrapper > label,
|
|
127
|
+
.help {
|
|
128
|
+
color: var(--form-error-foreground);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ui.input > input,
|
|
132
|
+
input[type='text'],
|
|
133
|
+
input[type='email'],
|
|
134
|
+
input[type='number'],
|
|
135
|
+
input[type='password'],
|
|
136
|
+
textarea,
|
|
137
|
+
.react-select__control,
|
|
138
|
+
.DateInput_input,
|
|
139
|
+
.rc-time-picker-input {
|
|
140
|
+
background: var(--form-error-background);
|
|
141
|
+
color: var(--form-error-foreground);
|
|
142
|
+
|
|
143
|
+
&::placeholder {
|
|
144
|
+
color: var(--form-error-foreground);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.textarea .wrapper {
|
|
150
|
+
margin-top: 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.ui.input {
|
|
155
|
+
width: 100%;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.ui.input > input,
|
|
159
|
+
input[type='text'],
|
|
160
|
+
input[type='email'],
|
|
161
|
+
input[type='number'],
|
|
162
|
+
input[type='password'],
|
|
163
|
+
textarea,
|
|
164
|
+
.react-select__control,
|
|
165
|
+
.DateInput_input,
|
|
166
|
+
.rc-time-picker-input {
|
|
167
|
+
width: 100%;
|
|
168
|
+
padding: $spacing-small;
|
|
169
|
+
border: 0;
|
|
170
|
+
border-radius: 0;
|
|
171
|
+
background: var(--theme-high-contrast-color);
|
|
172
|
+
box-shadow: none;
|
|
173
|
+
color: var(--theme-foreground-color);
|
|
174
|
+
|
|
175
|
+
@include body-text();
|
|
176
|
+
|
|
177
|
+
&::placeholder {
|
|
178
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
179
|
+
opacity: 0.6;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&:focus,
|
|
183
|
+
&:focus-visible {
|
|
184
|
+
outline: 2px solid var(--theme-foreground-color);
|
|
185
|
+
outline-offset: -2px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
textarea {
|
|
190
|
+
min-height: 180px;
|
|
191
|
+
margin-top: 5px;
|
|
192
|
+
resize: vertical;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.react-select__control {
|
|
196
|
+
display: flex;
|
|
197
|
+
min-height: auto;
|
|
198
|
+
padding: $spacing-small;
|
|
199
|
+
|
|
200
|
+
.react-select__value-container {
|
|
201
|
+
padding: 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.react-select__single-value {
|
|
205
|
+
color: var(--theme-foreground-color);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.react-select__placeholder {
|
|
209
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
210
|
+
opacity: 0.6;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.react-select__indicator-separator {
|
|
214
|
+
display: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.react-select__indicator svg path {
|
|
218
|
+
fill: var(--theme-foreground-color);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.react-select__menu {
|
|
223
|
+
border-radius: 0;
|
|
224
|
+
margin: 0;
|
|
225
|
+
background: var(--theme-high-contrast-color);
|
|
226
|
+
box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.25);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.react-select__menu-list {
|
|
230
|
+
padding: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.react-select__option {
|
|
234
|
+
padding: 12px $spacing-small;
|
|
235
|
+
background: transparent;
|
|
236
|
+
color: var(--theme-foreground-color);
|
|
237
|
+
cursor: pointer;
|
|
238
|
+
|
|
239
|
+
@include body-text();
|
|
240
|
+
|
|
241
|
+
&.react-select__option--is-focused,
|
|
242
|
+
&.react-select__option--is-selected {
|
|
243
|
+
background: var(--theme-foreground-color);
|
|
244
|
+
color: var(--theme-high-contrast-color);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.date-time-widget-wrapper {
|
|
249
|
+
display: flex;
|
|
250
|
+
flex-wrap: wrap;
|
|
251
|
+
align-items: center;
|
|
252
|
+
gap: $spacing-small;
|
|
253
|
+
|
|
254
|
+
.DateInput {
|
|
255
|
+
width: 140px;
|
|
256
|
+
}
|
|
257
|
+
.time-input input {
|
|
258
|
+
width: 90px !important;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.file-widget-dropzone {
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-direction: column;
|
|
265
|
+
align-items: flex-start;
|
|
266
|
+
margin-bottom: $spacing-small;
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
gap: $spacing-small;
|
|
269
|
+
|
|
270
|
+
.dropzone-placeholder {
|
|
271
|
+
width: 100%;
|
|
272
|
+
padding: $spacing-medium;
|
|
273
|
+
margin-top: 0;
|
|
274
|
+
background: var(--theme-high-contrast-color);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.dropzone-text {
|
|
278
|
+
margin: 0;
|
|
279
|
+
|
|
280
|
+
@include body-text();
|
|
281
|
+
|
|
282
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.label-file-widget-input {
|
|
286
|
+
@extend %form-outlined-button;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.field.help .file-widget-dropzone {
|
|
291
|
+
margin-bottom: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.ui.segment.actions {
|
|
295
|
+
display: flex;
|
|
296
|
+
padding: 0;
|
|
297
|
+
margin-top: $spacing-xlarge;
|
|
298
|
+
gap: $spacing-small;
|
|
299
|
+
|
|
300
|
+
&::after {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
button {
|
|
305
|
+
@extend %form-outlined-button;
|
|
306
|
+
|
|
307
|
+
float: none !important;
|
|
308
|
+
|
|
309
|
+
&:not(.primary) {
|
|
310
|
+
border-color: var(--theme-low-contrast-foreground-color);
|
|
311
|
+
color: var(--theme-low-contrast-foreground-color);
|
|
312
|
+
|
|
313
|
+
&:hover,
|
|
314
|
+
&:active,
|
|
315
|
+
&:focus {
|
|
316
|
+
border-color: var(--theme-low-contrast-foreground-color);
|
|
317
|
+
background-color: var(--theme-low-contrast-foreground-color);
|
|
318
|
+
color: var(--theme-color);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.inline.field .wrapper {
|
|
326
|
+
min-height: auto;
|
|
327
|
+
border-bottom: none;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.field-file-name:empty {
|
|
331
|
+
display: none;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.negative.attached.message {
|
|
335
|
+
flex-direction: row;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
#page-edit,
|
|
340
|
+
#page-add {
|
|
341
|
+
.block.schemaForm {
|
|
342
|
+
.field {
|
|
343
|
+
.toolbar {
|
|
344
|
+
display: flex;
|
|
345
|
+
align-items: flex-start;
|
|
346
|
+
margin-top: 15px;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
@@ -37,13 +37,6 @@
|
|
|
37
37
|
padding-top: 0;
|
|
38
38
|
margin-bottom: 0;
|
|
39
39
|
|
|
40
|
-
// External link icon
|
|
41
|
-
a.external {
|
|
42
|
-
.card-summary h2:after {
|
|
43
|
-
@include external-link-icon();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
40
|
a {
|
|
48
41
|
text-decoration: none;
|
|
49
42
|
}
|
|
@@ -55,39 +48,6 @@
|
|
|
55
48
|
) !important;
|
|
56
49
|
}
|
|
57
50
|
}
|
|
58
|
-
|
|
59
|
-
.teaser-item {
|
|
60
|
-
height: 100%;
|
|
61
|
-
|
|
62
|
-
.image-wrapper {
|
|
63
|
-
margin-bottom: $spacing-medium;
|
|
64
|
-
|
|
65
|
-
img {
|
|
66
|
-
position: relative;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.content {
|
|
70
|
-
padding: 0 $spacing-small $spacing-small $spacing-small;
|
|
71
|
-
@include body-text();
|
|
72
|
-
|
|
73
|
-
.headline {
|
|
74
|
-
margin-bottom: $spacing-small;
|
|
75
|
-
letter-spacing: 1px;
|
|
76
|
-
text-transform: uppercase;
|
|
77
|
-
@include headtitle1();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
h2 {
|
|
81
|
-
padding: 0;
|
|
82
|
-
margin-bottom: $spacing-small !important;
|
|
83
|
-
@include text-heading-h3();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
p {
|
|
87
|
-
margin-bottom: $spacing-small;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
51
|
}
|
|
92
52
|
|
|
93
53
|
.block-editor-teaser {
|
|
@@ -129,6 +89,7 @@
|
|
|
129
89
|
}
|
|
130
90
|
|
|
131
91
|
.block.image {
|
|
92
|
+
margin-top: 0;
|
|
132
93
|
figcaption {
|
|
133
94
|
position: absolute;
|
|
134
95
|
z-index: 100;
|
|
@@ -173,11 +134,20 @@
|
|
|
173
134
|
content: '';
|
|
174
135
|
opacity: 0.75;
|
|
175
136
|
}
|
|
137
|
+
figure figcaption:not(:has(strong.title)) {
|
|
138
|
+
display: none;
|
|
139
|
+
}
|
|
140
|
+
figure:not(:has(figcaption strong.title)):after {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
176
143
|
}
|
|
177
144
|
|
|
178
145
|
.block-editor-image {
|
|
179
146
|
padding: 0;
|
|
180
147
|
margin: 0.5rem !important;
|
|
148
|
+
figure {
|
|
149
|
+
max-width: unset;
|
|
150
|
+
}
|
|
181
151
|
}
|
|
182
152
|
|
|
183
153
|
.block.listing {
|
|
@@ -294,11 +264,6 @@
|
|
|
294
264
|
#page-add .block-editor-gridBlock .block.gridBlock {
|
|
295
265
|
@media only screen and (min-width: $largest-mobile-screen) {
|
|
296
266
|
.one {
|
|
297
|
-
.block.teaser .teaser-item .content h2 {
|
|
298
|
-
margin-bottom: $spacing-medium !important;
|
|
299
|
-
@include text-heading-h2();
|
|
300
|
-
}
|
|
301
|
-
|
|
302
267
|
.slate {
|
|
303
268
|
h2 {
|
|
304
269
|
margin-bottom: $spacing-medium !important;
|
|
@@ -321,14 +286,6 @@
|
|
|
321
286
|
|
|
322
287
|
.two,
|
|
323
288
|
.three {
|
|
324
|
-
.teaser {
|
|
325
|
-
.teaser-item .content {
|
|
326
|
-
h2 {
|
|
327
|
-
margin-bottom: $spacing-small !important;
|
|
328
|
-
@include text-heading-h3();
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
289
|
.image {
|
|
333
290
|
figcaption {
|
|
334
291
|
.title {
|
|
@@ -355,26 +312,6 @@
|
|
|
355
312
|
}
|
|
356
313
|
|
|
357
314
|
.four {
|
|
358
|
-
.teaser {
|
|
359
|
-
.teaser-item {
|
|
360
|
-
.image-wrapper {
|
|
361
|
-
margin-bottom: $spacing-small !important;
|
|
362
|
-
}
|
|
363
|
-
.content {
|
|
364
|
-
.headline {
|
|
365
|
-
@include headtitle2();
|
|
366
|
-
}
|
|
367
|
-
h2 {
|
|
368
|
-
margin-bottom: $spacing-small !important;
|
|
369
|
-
@include text-heading-h4();
|
|
370
|
-
}
|
|
371
|
-
p {
|
|
372
|
-
margin-bottom: 0;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
315
|
.image {
|
|
379
316
|
figcaption {
|
|
380
317
|
.title {
|
|
@@ -415,10 +352,6 @@
|
|
|
415
352
|
margin-bottom: 0;
|
|
416
353
|
}
|
|
417
354
|
|
|
418
|
-
.block.gridBlock h2.title {
|
|
419
|
-
margin-bottom: $spacing-small !important;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
355
|
// Watch out for the following rule, it is used to override the default
|
|
423
356
|
// behavior of the block editor when selecting a block but it stopped working
|
|
424
357
|
// if the z-index is still -1 (from 6.0.0-alpha.0)
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
@include highlight-title();
|
|
7
7
|
}
|
|
8
8
|
.description {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
--link-foreground-color: var(--theme-foreground-color);
|
|
10
|
+
|
|
11
|
+
p {
|
|
12
12
|
@include introduction();
|
|
13
|
-
--link-foreground-color: var(--theme-foreground-color);
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
|
|
@@ -19,8 +18,12 @@
|
|
|
19
18
|
text-decoration: none;
|
|
20
19
|
}
|
|
21
20
|
}
|
|
21
|
+
.block-inner-container {
|
|
22
|
+
max-width: var(--layout-container-width);
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
|
-
.
|
|
24
|
-
.
|
|
25
|
-
|
|
25
|
+
.color-swatch-widget[class*='field-wrapper-descriptionColor'] {
|
|
26
|
+
& + .color-swatch-widget.field-wrapper-theme {
|
|
27
|
+
padding-top: 16px;
|
|
28
|
+
}
|
|
26
29
|
}
|