2021-12-23 03:42:22 +01:00
|
|
|
@use 'sass:color';
|
|
|
|
@use 'sass:map';
|
|
|
|
@use 'sass:math';
|
|
|
|
|
2015-02-11 12:57:50 +01:00
|
|
|
.page-editor {
|
2015-09-25 15:17:39 +02:00
|
|
|
.content-wrapper {
|
|
|
|
margin-bottom: 10em;
|
2022-04-29 15:38:53 +02:00
|
|
|
overflow-x: hidden;
|
2014-03-28 18:05:29 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-29 15:38:53 +02:00
|
|
|
.side-panel-open {
|
|
|
|
@apply w-overflow-y-hidden sm:w-overflow-y-auto;
|
2022-04-13 04:21:51 +02:00
|
|
|
}
|
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// An object is the basic wrapper around any field or group of fields in the editor interface
|
2015-09-25 15:17:39 +02:00
|
|
|
.object {
|
2015-11-03 13:15:33 +01:00
|
|
|
@include nice-padding();
|
2015-09-25 15:17:39 +02:00
|
|
|
position: relative;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:first-child {
|
|
|
|
border: 0;
|
2014-02-05 11:35:46 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.focused {
|
2018-01-18 13:43:15 +01:00
|
|
|
border-color: $color-input-focus-border;
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2020-03-24 12:32:55 +01:00
|
|
|
fieldset,
|
|
|
|
.field-row {
|
2018-01-15 16:38:07 +01:00
|
|
|
padding-top: $object-title-height + 12px;
|
2020-03-24 12:32:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
|
|
|
padding-inline-end: 0;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2020-03-24 12:32:55 +01:00
|
|
|
.field-row {
|
|
|
|
padding-top: 0;
|
2019-11-13 21:57:30 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-11-13 21:57:30 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.object-help {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
2018-01-15 16:38:07 +01:00
|
|
|
top: $object-title-height;
|
|
|
|
margin-top: 0;
|
2021-10-28 03:31:29 +02:00
|
|
|
margin-bottom: -1em;
|
2021-12-23 03:42:22 +01:00
|
|
|
padding: 1em math.div($grid-gutter-width, 2) 1em 3em;
|
2018-01-15 16:38:07 +01:00
|
|
|
opacity: 1;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2020-10-14 00:10:02 +02:00
|
|
|
.icon-help {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: -1.75em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover .object-help {
|
|
|
|
opacity: 1;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2019-06-11 10:22:45 +02:00
|
|
|
> .title-wrapper {
|
2018-01-15 16:38:07 +01:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: $object-title-height;
|
2014-02-05 11:35:46 +01:00
|
|
|
-webkit-font-smoothing: auto;
|
2015-09-25 15:17:39 +02:00
|
|
|
background: $color-salmon-light;
|
2016-09-07 09:41:49 +02:00
|
|
|
color: #200200;
|
2020-06-15 19:02:32 +02:00
|
|
|
padding: 0.9em 0 0.9em 5em;
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 0.95em;
|
2018-01-15 16:38:07 +01:00
|
|
|
margin: 0;
|
2015-09-25 15:17:39 +02:00
|
|
|
line-height: 1.5em;
|
|
|
|
font-weight: normal;
|
|
|
|
position: absolute;
|
2022-02-04 12:57:55 +01:00
|
|
|
top: 0;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-start: 0;
|
|
|
|
inset-inline-end: 0;
|
2015-09-25 15:17:39 +02:00
|
|
|
z-index: 1;
|
|
|
|
overflow: hidden;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
|
|
|
label {
|
2015-06-05 15:16:16 +02:00
|
|
|
display: inline;
|
|
|
|
font-weight: inherit;
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
color: inherit;
|
|
|
|
font-size: inherit;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2019-06-11 10:22:45 +02:00
|
|
|
&:before {
|
2018-01-17 09:51:03 +01:00
|
|
|
@include font-smoothing;
|
2015-09-25 15:17:39 +02:00
|
|
|
text-shadow: none;
|
2021-12-23 03:42:22 +01:00
|
|
|
font-family: $font-wagtail-icons;
|
2022-03-07 18:06:19 +01:00
|
|
|
// UI Redesign: To be removed in page editor redesign
|
2021-12-23 03:42:22 +01:00
|
|
|
content: map.get($icons, 'arrow-down');
|
2015-09-25 15:17:39 +02:00
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
font-size: 2em;
|
2022-02-04 12:57:55 +01:00
|
|
|
top: 0;
|
2015-09-25 15:17:39 +02:00
|
|
|
line-height: 1.8em;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-start: 0;
|
2020-06-15 19:02:32 +02:00
|
|
|
width: $desktop-nice-padding;
|
2015-11-03 13:15:33 +01:00
|
|
|
color: $color-white;
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
background-color: $color-salmon;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.required {
|
2019-07-26 19:42:01 +02:00
|
|
|
> .title-wrapper label:after {
|
2015-09-25 18:14:46 +02:00
|
|
|
content: '*';
|
2015-09-25 15:17:39 +02:00
|
|
|
color: $color-red;
|
|
|
|
font-weight: bold;
|
|
|
|
display: inline-block;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 0.5em;
|
2015-09-25 15:17:39 +02:00
|
|
|
line-height: 1em;
|
|
|
|
font-size: 13px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2018-02-14 09:16:01 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// Special full-width, one-off fields i.e a single text or textarea input
|
2022-02-04 12:57:55 +01:00
|
|
|
&.full {
|
2015-09-25 15:17:39 +02:00
|
|
|
fieldset {
|
|
|
|
display: block;
|
|
|
|
float: none;
|
2014-02-05 11:35:46 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
li {
|
|
|
|
padding: 0;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2019-07-26 19:42:01 +02:00
|
|
|
.error-message {
|
2015-09-25 15:17:39 +02:00
|
|
|
@include nice-padding();
|
|
|
|
padding-bottom: 2em;
|
2014-02-05 13:04:24 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
.error,
|
2015-11-03 13:15:33 +01:00
|
|
|
.error input:not([type='submit']),
|
2022-01-30 11:26:20 +01:00
|
|
|
.error textarea {
|
2015-09-25 15:17:39 +02:00
|
|
|
background-color: $color-input-error-bg;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2019-07-05 13:52:26 +02:00
|
|
|
// cursory styling for streamfield. Main styling in client/src/components/StreamField/StreamField.scss
|
2021-11-05 00:05:24 +01:00
|
|
|
&.block_field {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 20px;
|
|
|
|
padding-inline-end: 20px;
|
2015-02-12 16:24:43 +01:00
|
|
|
|
2019-07-05 13:52:26 +02:00
|
|
|
.object-layout_big-part {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
padding-bottom: 0;
|
|
|
|
max-width: unset;
|
|
|
|
// Workaround to make sure blocks do not overflow horizontally.
|
|
|
|
min-width: 0;
|
2015-01-15 16:00:21 +01:00
|
|
|
}
|
2015-02-13 13:29:26 +01:00
|
|
|
|
2015-11-03 15:49:59 +01:00
|
|
|
.block_field > .field-content {
|
|
|
|
width: 100%;
|
2015-02-05 16:42:52 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-02-05 12:40:37 +01:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// special panel for the publishing fields, requires a bit more pizzazz
|
2015-09-25 15:17:39 +02:00
|
|
|
&.publishing {
|
2019-06-11 10:22:45 +02:00
|
|
|
> .title-wrapper:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
// UI Redesign: To be removed in page editor redesign
|
2021-12-23 03:42:22 +01:00
|
|
|
content: map.get($icons, 'date');
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 1.8rem;
|
|
|
|
line-height: 1.4em;
|
|
|
|
width: 1.4em;
|
2014-06-19 14:30:39 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-06-19 14:30:39 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.multiple {
|
2015-11-03 13:15:33 +01:00
|
|
|
padding: 4.5em 0 0;
|
2014-02-05 11:35:46 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
fieldset {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2014-02-05 11:35:46 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-02-05 12:10:09 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.fields {
|
|
|
|
max-width: 100%;
|
2014-02-05 12:12:55 +01:00
|
|
|
}
|
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// removes top padding from multiples used within another panel
|
2015-09-25 15:17:39 +02:00
|
|
|
.fields .multiple {
|
|
|
|
padding-top: 0;
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.add {
|
|
|
|
padding-top: 1em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.empty {
|
2015-11-03 13:15:33 +01:00
|
|
|
border-bottom: 1px solid $color-white;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
|
|
|
> h3 {
|
2015-11-03 13:15:33 +01:00
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid $color-white;
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// wrapper around add button for multiple objects. Default version is wordless plus button for contracted groups of fields
|
2022-02-04 12:57:55 +01:00
|
|
|
.add {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include transition(background-color 0.2s ease);
|
2015-11-03 13:15:33 +01:00
|
|
|
position: relative;
|
2015-09-25 15:17:39 +02:00
|
|
|
z-index: 2;
|
2022-02-04 12:57:55 +01:00
|
|
|
top: 0;
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-start: 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
width: 3.3em;
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin: 0 0 0 -20px;
|
|
|
|
cursor: pointer;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.button {
|
2015-11-03 13:15:33 +01:00
|
|
|
border-radius: 0;
|
2014-02-05 12:10:09 +01:00
|
|
|
overflow: visible;
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: $color-salmon-light;
|
|
|
|
font-size: 0; // helps fake the effect of t.ext-replace class, which can't be used here.
|
2015-09-25 15:17:39 +02:00
|
|
|
width: 2em;
|
2014-02-05 12:10:09 +01:00
|
|
|
|
2017-08-26 00:04:10 +02:00
|
|
|
// stylelint-disable max-nesting-depth
|
2019-05-22 18:17:51 +02:00
|
|
|
&:before {
|
2015-11-03 13:15:33 +01:00
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 1.8em; // specific height required as parent 'a' has no height
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 1.4rem;
|
2015-11-03 13:15:33 +01:00
|
|
|
width: 1.8em;
|
|
|
|
background-color: $color-salmon;
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
|
|
|
|
2021-08-06 18:35:13 +02:00
|
|
|
&:hover:before {
|
2021-12-23 03:42:22 +01:00
|
|
|
background-color: color.adjust($color-salmon, $lightness: -5%);
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2014-02-05 12:10:09 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.multiple {
|
|
|
|
padding: 0;
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 19:54:49 +02:00
|
|
|
|
|
|
|
&.collapsible {
|
2015-11-03 13:15:33 +01:00
|
|
|
// li.collapsed gets its height from the fieldset only, which is now hidden
|
|
|
|
// and h2 has position: absolute which doesn't add to it either, so it would be 0 without this
|
2014-04-03 11:28:00 +02:00
|
|
|
min-height: 41px;
|
2014-04-02 19:54:49 +02:00
|
|
|
|
2019-06-11 10:22:45 +02:00
|
|
|
.title-wrapper {
|
|
|
|
&:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
// UI Redesign: To be removed in page editor redesign
|
2021-12-23 03:42:22 +01:00
|
|
|
content: map.get($icons, 'collapse-up');
|
2015-07-07 17:48:42 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2014-04-02 19:54:49 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.collapsed {
|
2019-06-11 10:22:45 +02:00
|
|
|
.title-wrapper {
|
|
|
|
&:before {
|
2022-03-07 18:06:19 +01:00
|
|
|
// UI Redesign: To be removed in page editor redesign
|
2021-12-23 03:42:22 +01:00
|
|
|
content: map.get($icons, 'collapse-down');
|
2014-04-02 19:54:49 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 19:54:49 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-02-05 11:35:46 +01:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// Custom styles that make some fields look more important
|
2020-09-23 11:38:16 +02:00
|
|
|
.full {
|
|
|
|
input:not([type='submit']),
|
2022-01-30 11:26:20 +01:00
|
|
|
textarea {
|
2020-09-23 11:38:16 +02:00
|
|
|
@include nice-padding;
|
|
|
|
border-radius: 0;
|
|
|
|
padding-top: 1.5em;
|
|
|
|
padding-bottom: 1.5em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 1.6em;
|
|
|
|
}
|
2015-02-06 17:12:39 +01:00
|
|
|
}
|
|
|
|
|
2020-09-23 11:38:16 +02:00
|
|
|
.title {
|
|
|
|
input:not([type='submit']),
|
2022-01-30 11:26:20 +01:00
|
|
|
textarea {
|
2020-09-23 11:38:16 +02:00
|
|
|
font-size: 2em;
|
2021-12-23 05:21:23 +01:00
|
|
|
font-family: $font-sans;
|
2022-04-22 23:08:04 +02:00
|
|
|
font-weight: 800;
|
2020-09-23 11:38:16 +02:00
|
|
|
}
|
2015-02-06 17:12:39 +01:00
|
|
|
}
|
|
|
|
|
2021-08-06 18:35:13 +02:00
|
|
|
// Footer control bar for performing actions on the page
|
2022-04-29 14:57:36 +02:00
|
|
|
footer .actions,
|
|
|
|
footer .preview {
|
|
|
|
.button {
|
2022-05-06 16:35:28 +02:00
|
|
|
@apply w-leading-none w-inline-flex w-items-center;
|
|
|
|
|
|
|
|
.icon {
|
2022-06-12 03:30:41 +02:00
|
|
|
margin-inline-end: theme('spacing.2');
|
2022-05-06 16:35:28 +02:00
|
|
|
}
|
2022-04-29 14:57:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-18 18:18:08 +02:00
|
|
|
footer .actions {
|
|
|
|
.button {
|
|
|
|
font-weight: 600;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
footer .preview {
|
2016-02-12 18:29:59 +01:00
|
|
|
button,
|
2015-11-02 15:39:36 +01:00
|
|
|
.button {
|
2020-06-15 17:13:08 +02:00
|
|
|
padding: 0 1em;
|
|
|
|
|
2018-11-04 22:46:42 +01:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-03-22 16:04:48 +01:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
height: 3em;
|
|
|
|
}
|
|
|
|
|
2021-12-23 03:42:22 +01:00
|
|
|
background-color: color.adjust($color-grey-2, $lightness: 10%);
|
|
|
|
border-color: color.adjust($color-grey-2, $lightness: 10%);
|
2014-02-05 13:38:42 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-grey-2;
|
|
|
|
border-color: $color-grey-2;
|
2014-04-09 13:00:07 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.dropdown {
|
2016-02-12 18:29:59 +01:00
|
|
|
input[type='button'],
|
|
|
|
input[type='submit'],
|
|
|
|
button,
|
2015-11-02 15:39:36 +01:00
|
|
|
.button {
|
2021-12-23 03:42:22 +01:00
|
|
|
background-color: color.adjust($color-grey-2, $lightness: 10%);
|
|
|
|
border-color: color.adjust($color-grey-2, $lightness: 10%);
|
2015-09-25 15:17:39 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-grey-2;
|
|
|
|
border-color: $color-grey-2;
|
2014-04-09 13:00:07 +02:00
|
|
|
}
|
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2016-02-12 18:29:59 +01:00
|
|
|
ul,
|
2015-11-02 15:39:36 +01:00
|
|
|
.dropdown-toggle {
|
2021-12-23 03:42:22 +01:00
|
|
|
background-color: color.adjust($color-grey-2, $lightness: 10%);
|
2014-04-09 13:00:07 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2014-04-09 13:00:07 +02:00
|
|
|
.dropdown-toggle:hover,
|
2015-09-25 15:17:39 +02:00
|
|
|
&.open > .button + .dropdown-toggle {
|
|
|
|
background-color: $color-grey-2;
|
2014-04-09 13:00:07 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-02-05 11:35:46 +01:00
|
|
|
}
|
|
|
|
|
2018-11-04 22:46:42 +01:00
|
|
|
@include media-breakpoint-up(sm) {
|
2015-09-25 15:17:39 +02:00
|
|
|
.object {
|
|
|
|
fieldset {
|
2018-01-15 15:58:01 +01:00
|
|
|
// Override column mixin for column items.
|
|
|
|
display: block;
|
|
|
|
// Override column mixin for column items.
|
|
|
|
float: none;
|
2015-11-03 13:15:33 +01:00
|
|
|
max-width: 1024px;
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
|
|
|
padding-inline-end: 0;
|
2014-02-05 12:12:18 +01:00
|
|
|
|
2018-10-27 17:43:46 +02:00
|
|
|
fieldset {
|
2019-01-02 00:11:47 +01:00
|
|
|
width: 100%;
|
2018-10-27 17:43:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.object-layout {
|
2018-10-27 17:43:46 +02:00
|
|
|
display: flex;
|
2015-09-25 15:17:39 +02:00
|
|
|
flex-flow: row-reverse wrap;
|
|
|
|
|
|
|
|
&_small-part {
|
2022-02-01 00:57:04 +01:00
|
|
|
flex: 1 0 0;
|
2015-06-11 12:01:59 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&_big-part {
|
2022-02-01 00:57:04 +01:00
|
|
|
flex: 5 0 0;
|
2014-02-06 17:41:52 +01:00
|
|
|
}
|
2014-05-13 12:28:01 +02:00
|
|
|
}
|
2015-11-02 15:39:36 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.object-help {
|
|
|
|
padding-bottom: 40px;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 10px;
|
2015-09-25 15:17:39 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
opacity: 0;
|
2014-02-05 12:12:18 +01:00
|
|
|
}
|
2014-02-05 17:15:39 +01:00
|
|
|
|
2021-11-05 00:05:24 +01:00
|
|
|
&.block_field {
|
2015-09-25 15:17:39 +02:00
|
|
|
.object-help {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 6.4em;
|
2014-02-05 17:15:39 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2021-04-08 18:03:25 +02:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&.full {
|
2021-04-08 18:03:25 +02:00
|
|
|
fieldset {
|
|
|
|
// Override column mixin for column items.
|
|
|
|
display: block;
|
|
|
|
// Override column mixin for column items.
|
|
|
|
float: none;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: -51px;
|
2018-01-15 16:38:07 +01:00
|
|
|
padding: 0;
|
2021-04-26 12:53:04 +02:00
|
|
|
padding-top: $object-title-height;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-04-20 15:47:09 +02:00
|
|
|
|
2020-09-23 11:38:16 +02:00
|
|
|
input:not([type='submit']),
|
2022-01-30 11:26:20 +01:00
|
|
|
textarea {
|
2021-04-26 12:53:04 +02:00
|
|
|
border-width: 0 1px;
|
2021-04-20 15:47:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.field {
|
2021-04-26 12:53:04 +02:00
|
|
|
padding: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-04-20 15:47:09 +02:00
|
|
|
|
|
|
|
.field-content {
|
2014-05-13 12:28:01 +02:00
|
|
|
display: block;
|
2021-04-26 12:53:04 +02:00
|
|
|
float: none;
|
2014-05-13 12:28:01 +02:00
|
|
|
width: auto;
|
2021-04-26 12:53:04 +02:00
|
|
|
padding: inherit;
|
2021-04-20 15:47:09 +02:00
|
|
|
}
|
2021-04-08 18:03:25 +02:00
|
|
|
}
|
2019-11-04 18:18:17 +01:00
|
|
|
|
2020-06-16 17:53:57 +02:00
|
|
|
.multiple {
|
|
|
|
@include column(10);
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
|
|
|
padding-inline-end: 0;
|
2022-04-29 14:07:47 +02:00
|
|
|
|
|
|
|
> li {
|
|
|
|
padding: 1em 10em 1em 1.5em;
|
|
|
|
}
|
2020-06-16 17:53:57 +02:00
|
|
|
}
|
2020-06-02 11:21:27 +02:00
|
|
|
|
2020-06-16 17:53:57 +02:00
|
|
|
&.empty .add {
|
|
|
|
margin: 0 0 0 -50px;
|
|
|
|
}
|
|
|
|
}
|
2020-06-02 11:21:27 +02:00
|
|
|
|
|
|
|
// Make room for comments on the right when enabled
|
|
|
|
.tab-content--comments-enabled .object {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 27%;
|
2020-06-02 11:21:27 +02:00
|
|
|
|
|
|
|
&.full {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 36%;
|
2020-06-02 11:21:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(lg) {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 30%;
|
2020-06-02 11:21:27 +02:00
|
|
|
|
|
|
|
&.full {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 36%;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2020-06-02 11:21:27 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2020-06-02 11:21:27 +02:00
|
|
|
|
2021-08-30 08:05:22 +02:00
|
|
|
// Media for Windows High Contrast
|
|
|
|
@media (forced-colors: $media-forced-colours) {
|
|
|
|
.object {
|
|
|
|
border-top: 1px solid GrayText;
|
2021-10-28 03:31:29 +02:00
|
|
|
|
|
|
|
.object-help {
|
|
|
|
margin-bottom: 0;
|
2021-08-30 08:05:22 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2021-08-30 08:05:22 +02:00
|
|
|
}
|