2023-10-29 00:00:31 +02:00
|
|
|
/* stylelint-disable selector-max-combinators */
|
2015-11-03 13:15:33 +01:00
|
|
|
// General listings, like for pages, images or snippets
|
2015-09-25 15:17:39 +02:00
|
|
|
ul.listing {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include unlist();
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.listing {
|
|
|
|
margin-bottom: 2em;
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-context');
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 0.95em;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
|
|
|
ul {
|
2015-11-19 07:05:57 +01:00
|
|
|
list-style-type: none;
|
2023-09-18 18:56:15 +02:00
|
|
|
margin: 0;
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 1em 0;
|
2023-04-19 07:58:14 +02:00
|
|
|
border-bottom: 1px dashed theme('colors.border-field-default');
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2015-09-25 15:17:39 +02:00
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
2024-01-22 09:15:20 +01:00
|
|
|
padding: 1.2em 0.3em;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
padding: 1.2em 1em;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2017-01-05 11:45:41 +01:00
|
|
|
&.no-padding {
|
|
|
|
padding: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-02-12 18:29:59 +01:00
|
|
|
&.small td,
|
2022-02-04 12:57:55 +01:00
|
|
|
th {
|
2024-01-22 09:15:20 +01:00
|
|
|
padding: 0.6em 0.3em;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
padding: 0.6em 1em;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2023-09-15 00:19:55 +02:00
|
|
|
td {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.title {
|
2023-09-18 19:58:24 +02:00
|
|
|
line-height: 2em;
|
2024-01-22 09:15:20 +01:00
|
|
|
padding: 1em 0.3em;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2023-09-15 00:19:55 +02:00
|
|
|
}
|
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
thead {
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 1.1em;
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-context');
|
|
|
|
border-bottom: 1px solid theme('colors.border-furniture');
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
th {
|
|
|
|
font-size: 0.9em;
|
2022-03-15 14:21:06 +01:00
|
|
|
text-align: start;
|
2015-09-25 15:17:39 +02:00
|
|
|
font-weight: normal;
|
2014-01-24 18:34:26 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2024-01-22 09:16:01 +01:00
|
|
|
th.title {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
th.children {
|
|
|
|
border: 0;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2023-12-04 13:14:17 +01:00
|
|
|
th a.label:not(.teal) {
|
2015-09-25 15:17:39 +02:00
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
position: relative;
|
2017-01-05 11:45:41 +01:00
|
|
|
|
|
|
|
&.icon:after {
|
2022-03-15 14:21:06 +01:00
|
|
|
inset-inline-end: 0;
|
2017-01-05 11:45:41 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2023-12-15 17:20:39 +01:00
|
|
|
&:has(.bulk-action-checkbox) {
|
|
|
|
td:first-child,
|
|
|
|
th:first-child {
|
|
|
|
// Bulk actions, use smaller width (48px) for smaller screens
|
|
|
|
// (no need to match where the breadcrumbs are)
|
|
|
|
width: theme('spacing.10');
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
input[type='checkbox'] {
|
|
|
|
margin-inline-end: 0;
|
|
|
|
}
|
2022-10-17 13:18:02 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.full-width {
|
|
|
|
margin-bottom: -3em; // this negates the padding added to the bottom of .content
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.table-headers {
|
2023-04-19 07:58:14 +02:00
|
|
|
border-bottom: 1px solid theme('colors.border-furniture');
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody {
|
2023-04-19 07:58:14 +02:00
|
|
|
border-bottom: 1px dashed theme('colors.border-field-default');
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tr {
|
2023-10-19 19:43:29 +02:00
|
|
|
border-top: 1px dashed theme('colors.border-furniture');
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:first-child {
|
2023-10-19 19:43:29 +02:00
|
|
|
border-top: 1px dashed theme('colors.border-furniture');
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tr.selected {
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.text-highlight');
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.full-width tbody {
|
|
|
|
border: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2014-07-24 14:28:10 +02:00
|
|
|
&.chooser {
|
2022-05-03 17:49:47 +02:00
|
|
|
tbody .parent-page {
|
|
|
|
font-size: 1.15em;
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.border-furniture');
|
2022-06-08 15:58:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tbody .parent-page .title {
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2023-03-20 07:14:38 +01:00
|
|
|
.w-status--label {
|
2022-06-08 15:58:59 +02:00
|
|
|
border: 1px solid;
|
|
|
|
}
|
2022-05-03 17:49:47 +02:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody .title a {
|
2014-07-24 14:28:10 +02:00
|
|
|
@include transition(none);
|
2015-11-03 13:15:33 +01:00
|
|
|
display: block;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody tr:hover {
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.surface-button-hover');
|
2023-05-23 10:24:08 +02:00
|
|
|
color: theme('colors.text-button');
|
2016-02-12 18:29:59 +01:00
|
|
|
|
|
|
|
.title a,
|
2023-01-17 17:40:56 +01:00
|
|
|
.title a:hover,
|
|
|
|
.title label {
|
2023-05-23 10:24:08 +02:00
|
|
|
color: theme('colors.text-button');
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2017-08-23 17:21:21 +02:00
|
|
|
|
|
|
|
.parent a {
|
2023-05-23 10:24:08 +02:00
|
|
|
color: theme('colors.text-button');
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2017-08-23 17:21:21 +02:00
|
|
|
|
2023-03-20 07:14:38 +01:00
|
|
|
.w-status {
|
2023-05-23 10:24:08 +02:00
|
|
|
border-color: theme('colors.text-button');
|
2017-08-23 17:21:21 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2014-07-24 16:11:45 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody tr.disabled td {
|
|
|
|
opacity: 0.25;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody tr.disabled td.children {
|
|
|
|
opacity: 1;
|
2014-07-24 14:28:10 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2016-10-13 23:41:48 +02:00
|
|
|
tbody tr.disabled:hover {
|
2019-05-23 16:55:14 +02:00
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
2016-10-13 23:41:48 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.title {
|
2015-11-03 13:15:33 +01:00
|
|
|
cursor: not-allowed;
|
2014-07-24 14:28:10 +02:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2023-03-20 07:14:38 +01:00
|
|
|
.w-status {
|
2015-09-25 15:17:39 +02:00
|
|
|
border-color: inherit;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-07-24 14:28:10 +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
|
|
|
&.small tbody tr {
|
|
|
|
font-size: 1em;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.full-width .divider td {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 20px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-07-24 14:28:10 +02:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// specific columns
|
2015-09-25 15:17:39 +02:00
|
|
|
.bulk {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-end: 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
label {
|
|
|
|
font-size: 1em;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
label span {
|
2024-01-09 11:16:41 +01:00
|
|
|
@apply w-sr-only;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
input {
|
|
|
|
margin-top: 3px;
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.title {
|
|
|
|
word-break: break-word;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2019-05-22 18:17:51 +02:00
|
|
|
.title-wrapper,
|
2015-09-25 15:17:39 +02:00
|
|
|
h2 {
|
2022-07-12 06:46:19 +02:00
|
|
|
@apply w-label-1;
|
2023-09-15 00:49:29 +02:00
|
|
|
display: inline;
|
2015-09-25 15:17:39 +02:00
|
|
|
margin: 0;
|
2023-09-15 00:43:58 +02:00
|
|
|
vertical-align: middle;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a {
|
2014-02-11 18:18:59 +01:00
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
// stylelint-disable max-nesting-depth
|
|
|
|
&:hover {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-link-default');
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2023-09-15 00:43:58 +02:00
|
|
|
|
|
|
|
.icon.initial {
|
2023-09-18 19:58:24 +02:00
|
|
|
margin: 3px 0.3em 0 0;
|
2023-09-15 00:43:58 +02:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-03-07 16:41:17 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.actions {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-end;
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 0.8rem;
|
2023-09-14 23:42:35 +02:00
|
|
|
margin: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
> li {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0 0.5em 0 0;
|
2023-09-15 00:19:55 +02:00
|
|
|
vertical-align: middle;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2022-07-12 06:46:19 +02:00
|
|
|
&--inline-actions td.title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-09-25 14:47:26 +02:00
|
|
|
justify-content: space-between;
|
2022-07-12 06:46:19 +02:00
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
.title-wrapper {
|
|
|
|
margin-inline-end: 2.5em;
|
|
|
|
}
|
|
|
|
|
2023-03-20 07:14:38 +01:00
|
|
|
.w-status {
|
2022-07-12 06:46:19 +02:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-19 07:05:57 +01:00
|
|
|
&--inline-actions .actions {
|
2015-09-25 15:17:39 +02:00
|
|
|
display: inline-block;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin-top: 0;
|
|
|
|
vertical-align: inherit;
|
2022-07-12 06:46:19 +02:00
|
|
|
|
|
|
|
li {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
vertical-align: inherit;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-19 07:05:57 +01:00
|
|
|
|
2021-07-20 19:41:04 +02:00
|
|
|
.moderate-actions form {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2021-07-20 19:41:04 +02:00
|
|
|
margin: 0 1em 1em 0;
|
|
|
|
}
|
|
|
|
|
2014-01-24 18:34:26 +01:00
|
|
|
.children,
|
2015-09-25 15:17:39 +02:00
|
|
|
.no-children {
|
|
|
|
padding: 0;
|
2023-11-21 14:34:45 +01:00
|
|
|
vertical-align: middle;
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a {
|
|
|
|
display: block;
|
2023-09-14 23:42:35 +02:00
|
|
|
padding: 0;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.children a {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-button-outline-default');
|
2015-11-03 13:15:33 +01:00
|
|
|
display: block;
|
2023-03-24 16:00:59 +01:00
|
|
|
text-align: center;
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2023-03-24 16:00:59 +01:00
|
|
|
.icon {
|
|
|
|
width: 3rem;
|
|
|
|
height: 3rem;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2014-07-24 16:11:45 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.no-children a {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-button-outline-default');
|
2015-09-25 15:17:39 +02:00
|
|
|
display: block;
|
2023-03-24 16:00:59 +01:00
|
|
|
text-align: center;
|
2023-09-15 00:19:55 +02:00
|
|
|
line-height: 3rem;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2023-03-24 16:00:59 +01:00
|
|
|
.icon {
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
&:hover,
|
2015-09-25 15:17:39 +02:00
|
|
|
&:focus {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-button-outline-default');
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:focus {
|
|
|
|
opacity: 1; //opacity is already changed on hover on the parent tr
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-07-24 16:11:45 +02:00
|
|
|
|
2023-03-24 16:00:59 +01:00
|
|
|
&.small .children a .icon {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
th.ord {
|
|
|
|
text-align: center;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2019-06-17 19:11:04 +02:00
|
|
|
.icon {
|
2023-03-31 05:46:34 +02:00
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2015-09-25 15:17:39 +02:00
|
|
|
vertical-align: middle;
|
2023-03-31 05:46:34 +02:00
|
|
|
margin-inline-end: 2px;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2014-07-24 16:11:45 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&--active a,
|
|
|
|
a:hover {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-button-outline-default');
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2019-03-29 15:38:05 +01:00
|
|
|
}
|
|
|
|
|
2024-01-11 08:45:55 +01:00
|
|
|
.w-orderable__item--active {
|
2023-04-19 07:58:14 +02:00
|
|
|
border: 1px dashed theme('colors.border-field-default');
|
2015-09-25 15:17:39 +02:00
|
|
|
border-width: 1px 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
td {
|
|
|
|
display: none;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.ord,
|
|
|
|
.title {
|
|
|
|
display: table-cell;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2024-01-11 08:45:55 +01:00
|
|
|
.w-orderable__item__handle {
|
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
table .no-results-message {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 20px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.unpublished .title-wrapper {
|
|
|
|
opacity: 0.7;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2023-03-20 07:14:38 +01:00
|
|
|
.w-status {
|
2022-07-12 06:46:19 +02:00
|
|
|
margin: 0;
|
|
|
|
margin-inline: 0;
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.images img {
|
2015-01-09 16:55:13 +01:00
|
|
|
@include transition(border-color 0.2s ease);
|
2023-04-19 07:58:14 +02:00
|
|
|
border: 3px solid theme('colors.surface-page');
|
2015-01-08 18:00:34 +01:00
|
|
|
}
|
2021-07-13 08:44:30 +02:00
|
|
|
}
|
|
|
|
|
2018-02-10 00:56:30 +01:00
|
|
|
.image-choice {
|
2019-05-23 18:58:03 +02:00
|
|
|
// Force the link to be displayed as a block, so its focus outline has the right shape.
|
|
|
|
display: block;
|
2018-02-10 00:56:30 +01:00
|
|
|
color: inherit;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2021-12-23 03:42:22 +01:00
|
|
|
// stylelint-disable-next-line no-duplicate-selectors
|
2015-09-25 15:17:39 +02:00
|
|
|
ul.listing {
|
2023-04-19 07:58:14 +02:00
|
|
|
border-top: 1px dashed theme('colors.border-field-default');
|
2015-09-25 15:17:39 +02:00
|
|
|
margin-bottom: 2em;
|
2014-03-03 18:56:24 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
table.listing {
|
|
|
|
width: 100%;
|
2014-03-03 18:56:24 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2022-12-21 15:40:04 +01:00
|
|
|
// Use consistent spacing to the left and right of the header.
|
|
|
|
.page-explorer .w-slim-header {
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
padding-inline-end: theme('spacing.6');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-07 16:41:17 +01:00
|
|
|
.page-explorer .listing {
|
2015-09-25 15:17:39 +02:00
|
|
|
position: relative;
|
2014-06-12 15:40:34 +02:00
|
|
|
|
2023-07-07 13:42:47 +02:00
|
|
|
.table-headers,
|
|
|
|
thead tr {
|
2019-03-29 15:38:05 +01:00
|
|
|
height: 35px;
|
2014-03-07 16:41:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.pagination {
|
|
|
|
text-align: center;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
p {
|
|
|
|
margin: 0;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
ul {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include unlist();
|
2015-09-25 15:17:39 +02:00
|
|
|
margin-top: -1.7em;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
li {
|
|
|
|
line-height: 1em;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.prev {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.next {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-end;
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.listing.full-width + .pagination {
|
2014-02-05 13:19:20 +01:00
|
|
|
margin-top: 3em;
|
2023-04-19 07:58:14 +02:00
|
|
|
border-top: 1px dashed theme('colors.border-furniture');
|
2015-11-03 13:15:33 +01:00
|
|
|
padding: 2em 50px 0;
|
2014-02-05 13:19:20 +01:00
|
|
|
}
|
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// listing filters
|
2015-09-25 15:17:39 +02:00
|
|
|
.listing-filter {
|
2014-03-18 13:40:45 +01:00
|
|
|
@include clearfix();
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.surface-header');
|
2015-09-25 15:17:39 +02:00
|
|
|
border-width: 1px 0;
|
|
|
|
margin: 3em 0;
|
2014-03-18 13:40:45 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.filter-title {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 0.95em;
|
|
|
|
padding: 1em;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin: 0 1em 0 0;
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.border-furniture');
|
2014-03-18 13:40:45 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.filter-options {
|
2014-03-18 13:40:45 +01:00
|
|
|
@include unlist();
|
|
|
|
@include clearfix();
|
2015-09-25 15:17:39 +02:00
|
|
|
overflow: hidden;
|
2014-03-18 13:40:45 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
li {
|
|
|
|
padding: 0.8em;
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2014-03-18 13:40:45 +01:00
|
|
|
}
|
2021-03-09 12:33:06 +01:00
|
|
|
|
|
|
|
&__icon {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0.2em;
|
2021-03-09 12:33:06 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
}
|
2014-03-18 13:40:45 +01:00
|
|
|
}
|
|
|
|
|
2018-11-04 22:46:42 +01:00
|
|
|
@include media-breakpoint-up(sm) {
|
2015-09-25 15:17:39 +02:00
|
|
|
.listing {
|
2022-01-07 21:54:29 +01:00
|
|
|
&.horiz {
|
2022-05-30 15:01:15 +02:00
|
|
|
display: grid;
|
2022-11-19 08:45:01 +01:00
|
|
|
grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
|
2022-05-30 15:01:15 +02:00
|
|
|
align-items: flex-end;
|
|
|
|
justify-items: initial;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2014-01-24 18:34:26 +01:00
|
|
|
&.images {
|
2022-06-01 18:19:17 +02:00
|
|
|
border: 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
> li {
|
2021-10-10 21:32:34 +02:00
|
|
|
padding: 1.5em;
|
2022-05-30 15:01:15 +02:00
|
|
|
width: auto;
|
2022-01-07 21:54:29 +01:00
|
|
|
height: auto;
|
2015-09-25 15:17:39 +02:00
|
|
|
text-align: center;
|
|
|
|
margin-top: -1px;
|
2022-06-01 18:19:17 +02:00
|
|
|
border: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.bulk-action-checkbox {
|
2023-12-18 18:03:03 +01:00
|
|
|
float: inline-start;
|
2021-10-10 21:32:34 +02:00
|
|
|
margin: -0.5em 0.5em 0.5em -0.75em;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.bulk-action-checkbox + .image-choice {
|
|
|
|
clear: both;
|
2021-10-10 21:32:34 +02:00
|
|
|
margin-top: 1em;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
.image {
|
2015-09-25 15:17:39 +02:00
|
|
|
text-align: center;
|
|
|
|
height: 180px;
|
2015-11-19 07:05:57 +01:00
|
|
|
|
2023-11-17 21:41:59 +01:00
|
|
|
// Vertically center the image.
|
2014-01-24 18:34:26 +01:00
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: -0.25em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-19 07:05:57 +01:00
|
|
|
|
2020-08-01 22:52:28 +02:00
|
|
|
img {
|
2015-09-25 15:17:39 +02:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2021-03-23 13:58:35 +01:00
|
|
|
&:hover {
|
|
|
|
img {
|
2023-04-19 07:58:14 +02:00
|
|
|
border-color: theme('colors.border-button-outline-default');
|
2021-03-23 13:58:35 +01:00
|
|
|
}
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-23 13:58:35 +01:00
|
|
|
|
2021-10-10 19:13:55 +02:00
|
|
|
.bulk-action-checkbox {
|
|
|
|
opacity: 0;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.show,
|
|
|
|
&:checked {
|
|
|
|
opacity: 1;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2014-07-24 16:25:54 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.no-children {
|
2015-11-03 13:15:33 +01:00
|
|
|
border-color: transparent;
|
2014-07-24 16:25:54 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a {
|
|
|
|
opacity: 0;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-07-24 16:25:54 +02:00
|
|
|
}
|
2014-02-05 12:10:09 +01:00
|
|
|
|
2022-02-04 12:57:55 +01:00
|
|
|
tr:hover,
|
2015-09-25 15:17:39 +02:00
|
|
|
tr:focus-within {
|
|
|
|
.no-children a,
|
|
|
|
.bulk-action-checkbox {
|
|
|
|
opacity: 1;
|
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
|
|
|
// used on the image listing
|
2021-10-10 19:13:55 +02:00
|
|
|
li:hover,
|
2015-09-25 15:17:39 +02:00
|
|
|
li:focus-within {
|
|
|
|
.bulk-action-checkbox {
|
2016-10-26 23:20:08 +02:00
|
|
|
opacity: 1;
|
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
|
|
|
tr:hover .children {
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.text-button-outline-default');
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2023-03-24 16:00:59 +01:00
|
|
|
.icon {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.surface-page');
|
2014-02-05 12:10:09 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
td.children:hover {
|
2023-04-19 07:58:14 +02:00
|
|
|
background-color: theme('colors.text-button-outline-default');
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
table .no-results-message {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 50px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2023-12-15 17:20:39 +01:00
|
|
|
&:has(.bulk-action-checkbox) {
|
|
|
|
// Bulk actions, match the width of the header spacing up until
|
|
|
|
// the page title (final breadcrumb item):
|
|
|
|
// Breadcrumbs left padding: 20px
|
|
|
|
// Breadcrumbs toggle: 50px
|
|
|
|
// Breadcrumbs toggle margin right: 10px
|
|
|
|
// Total: 80px
|
|
|
|
th:first-child,
|
|
|
|
td:first-child {
|
|
|
|
width: theme('spacing.20');
|
|
|
|
// Follow the left padding for the breadcrumbs (20px)
|
|
|
|
// so the checkbox align with the breadcrumbs toggle.
|
|
|
|
padding-inline-start: theme('spacing.5');
|
|
|
|
}
|
2022-10-17 13:18:02 +02:00
|
|
|
|
2023-12-15 17:20:39 +01:00
|
|
|
th:nth-child(2),
|
|
|
|
td:nth-child(2) {
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
2023-12-15 19:51:18 +01:00
|
|
|
// If no bulk actions are present, and nice padding is not applied,
|
|
|
|
// apply the same 80px padding via the first column's left padding.
|
2023-12-18 13:43:00 +01:00
|
|
|
&:not(.nice-padding &, .report &):not(:has(.bulk-action-checkbox)) {
|
2023-12-15 19:51:18 +01:00
|
|
|
th:first-child,
|
|
|
|
td:first-child {
|
|
|
|
padding-inline-start: theme('spacing.20');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.full-width .divider td {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 50px;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-19 07:05:57 +01:00
|
|
|
|
|
|
|
// State
|
|
|
|
.listing__item--active {
|
|
|
|
> .actions {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-23 03:42:22 +01:00
|
|
|
// stylelint-disable no-duplicate-selectors
|
2015-11-19 07:05:57 +01:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// Transitions
|
2014-01-24 18:34:26 +01:00
|
|
|
.listing {
|
2015-11-03 13:15:33 +01:00
|
|
|
.children,
|
|
|
|
.no-children {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include transition(background-color 0.2s ease);
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2014-01-24 18:34:26 +01:00
|
|
|
.children a,
|
2015-09-25 15:17:39 +02:00
|
|
|
.no-children a {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include transition(all 0.2s ease);
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
}
|
2016-10-26 23:20:08 +02:00
|
|
|
|
|
|
|
// Ordering
|
|
|
|
td.ord {
|
2022-10-17 13:18:02 +02:00
|
|
|
// Align with the row's title text, and the column's label.
|
|
|
|
vertical-align: top;
|
2016-10-26 23:20:08 +02:00
|
|
|
}
|
2017-10-25 17:57:33 +02:00
|
|
|
|
|
|
|
table.listing {
|
|
|
|
th.ordered {
|
2023-04-19 07:58:14 +02:00
|
|
|
color: theme('colors.text-link-default');
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2017-10-25 17:57:33 +02:00
|
|
|
}
|
2024-01-22 09:16:27 +01:00
|
|
|
|
|
|
|
.w-title-ellipsis {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
max-width: 20ch;
|
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
max-width: 30ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
}
|