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;
|
2018-09-22 22:48:21 +02:00
|
|
|
color: $color-text-base;
|
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;
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
2015-11-19 07:05:57 +01:00
|
|
|
// @include unlist();
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
> li {
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 1em 0;
|
|
|
|
border-bottom: 1px dashed $color-input-border;
|
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 {
|
2015-09-25 15:17:39 +02:00
|
|
|
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 {
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0.6em 1em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 1.1em;
|
2018-09-22 22:48:21 +02:00
|
|
|
color: $color-text-base;
|
2015-11-19 07:05:57 +01:00
|
|
|
border-bottom: 1px solid $color-grey-4;
|
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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
th a {
|
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 {
|
|
|
|
opacity: 0.5;
|
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
|
|
|
|
2016-02-12 18:29:59 +01:00
|
|
|
&.full-width td:first-child,
|
2015-11-03 13:15:33 +01:00
|
|
|
&.full-width th:first-child {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 20px;
|
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 {
|
|
|
|
border-bottom: 1px solid $color-grey-4;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tbody {
|
|
|
|
border-bottom: 1px dashed $color-input-border;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
tr {
|
|
|
|
border-top: 1px dashed $color-input-border;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:first-child {
|
|
|
|
border-top: 1px dashed $color-input-border;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: #fcfcfc;
|
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 {
|
|
|
|
background-color: #c8eae9;
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: #b5e3e2;
|
2022-02-04 12:57:55 +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
|
|
|
|
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;
|
2022-06-08 15:58:59 +02:00
|
|
|
background-color: $color-grey-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody .parent-page .title {
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status-tag--label {
|
|
|
|
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 {
|
|
|
|
background-color: $color-teal;
|
|
|
|
color: $color-white;
|
2016-02-12 18:29:59 +01:00
|
|
|
|
|
|
|
.title a,
|
|
|
|
.title a:hover {
|
|
|
|
color: $color-white;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2017-08-23 17:21:21 +02:00
|
|
|
|
|
|
|
.parent a {
|
|
|
|
color: $color-white;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2017-08-23 17:21:21 +02:00
|
|
|
|
|
|
|
.status-tag {
|
|
|
|
border-color: $color-white;
|
|
|
|
}
|
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
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.status-tag {
|
|
|
|
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 {
|
|
|
|
@include visuallyhidden();
|
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 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.15em;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $color-text-base;
|
|
|
|
line-height: 1.5em;
|
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 {
|
|
|
|
color: $color-link;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
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 {
|
|
|
|
@include clearfix();
|
2019-07-11 13:40:27 +02:00
|
|
|
margin-top: 0.8em;
|
2015-09-25 15:17:39 +02:00
|
|
|
margin-bottom: -0.5em;
|
|
|
|
font-size: 0.8rem;
|
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 {
|
2014-03-28 18:05:29 +01:00
|
|
|
float: left;
|
2015-09-25 15:17:39 +02:00
|
|
|
padding: 0 0.5em 0 0;
|
|
|
|
margin: 0 0 0.5em;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
// line-height: 1em;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
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-02-04 12:57:55 +01:00
|
|
|
}
|
2015-11-19 07:05:57 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.button-secondary {
|
|
|
|
border-color: $color-grey-3;
|
2015-11-03 13:15:33 +01:00
|
|
|
background: $color-white;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2021-07-20 19:41:04 +02:00
|
|
|
&.no:hover {
|
2015-11-19 07:05:57 +01:00
|
|
|
border-color: $color-button-no-hover;
|
2021-07-20 19:41:04 +02:00
|
|
|
background-color: $color-button-no-hover;
|
|
|
|
color: $color-white;
|
2014-03-07 16:41:17 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2020-06-10 11:51:09 +02:00
|
|
|
&:hover {
|
|
|
|
border-color: $color-teal;
|
|
|
|
background-color: $color-teal;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2020-06-10 11:51:09 +02:00
|
|
|
|
2021-12-23 03:42:22 +01:00
|
|
|
// stylelint-disable-next-line no-duplicate-selectors
|
2015-09-25 15:17:39 +02:00
|
|
|
.button-secondary {
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: $color-white;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2014-03-07 16:41:17 +01:00
|
|
|
|
2021-07-20 19:41:04 +02:00
|
|
|
.moderate-actions form {
|
|
|
|
float: left;
|
|
|
|
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;
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
2015-11-03 13:15:33 +01:00
|
|
|
background-color: $color-grey-5;
|
2014-11-07 17:09:42 +01:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 2em 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 {
|
|
|
|
color: $color-teal;
|
2015-11-03 13:15:33 +01:00
|
|
|
display: block;
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:before {
|
|
|
|
font-size: 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 {
|
|
|
|
color: $color-grey-3;
|
|
|
|
display: block;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:before {
|
|
|
|
font-size: 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 {
|
|
|
|
color: $color-teal;
|
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
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&.small .children a:before {
|
|
|
|
font-size: 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 {
|
2018-04-11 10:35:03 +02:00
|
|
|
width: 15px;
|
2015-09-25 15:17:39 +02:00
|
|
|
height: 18px;
|
|
|
|
vertical-align: middle;
|
2019-06-17 19:11:04 +02:00
|
|
|
|
|
|
|
&::before {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 2px;
|
2019-06-17 19:11:04 +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
|
|
|
&--active a,
|
|
|
|
a:hover {
|
|
|
|
color: $color-teal;
|
2014-04-02 17:48:26 +02:00
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2019-03-29 15:38:05 +01:00
|
|
|
&--active .icon {
|
2018-04-11 10:35:03 +02:00
|
|
|
opacity: 1;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-03-29 15:38:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.handle {
|
|
|
|
cursor: move;
|
2015-09-25 15:17:39 +02:00
|
|
|
width: 20px;
|
2019-03-29 15:38:05 +01:00
|
|
|
|
|
|
|
&:before {
|
|
|
|
font-size: 20px;
|
|
|
|
color: $color-grey-3;
|
|
|
|
width: 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
|
|
|
&:hover:before {
|
|
|
|
color: $color-text-base;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2014-01-24 18:34:26 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.ui-sortable-helper {
|
|
|
|
border: 1px dashed $color-input-border;
|
|
|
|
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
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.dropzone {
|
|
|
|
height: 80px;
|
|
|
|
background-color: $color-grey-1;
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-grey-1;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2014-04-02 17:48:26 +02:00
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
td {
|
|
|
|
padding: 0;
|
2014-01-24 18:34:26 +01: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
|
|
|
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
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.indicator {
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-end: 0;
|
2015-09-25 15:17:39 +02:00
|
|
|
font-size: 1em;
|
|
|
|
opacity: 0.7;
|
2014-10-13 12:31:10 +02:00
|
|
|
}
|
2015-01-08 18:00:34 +01:00
|
|
|
|
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);
|
2015-11-03 13:15:33 +01:00
|
|
|
border: 3px solid $color-white;
|
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 {
|
|
|
|
border-top: 1px dashed $color-input-border;
|
|
|
|
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
|
|
|
|
2015-11-03 13:15:33 +01:00
|
|
|
// explorer specific tweaks
|
2022-07-18 19:28:51 +02:00
|
|
|
.page-explorer .w-breadcrumb {
|
|
|
|
li[hidden] ~ li:last-child,
|
|
|
|
li:only-child {
|
|
|
|
a {
|
|
|
|
font-size: theme('fontSize.18');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.table-headers {
|
2019-03-29 15:38:05 +01:00
|
|
|
height: 35px;
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.title {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
2014-03-07 16:41:17 +01: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
|
|
|
tbody .title {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 0;
|
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 {
|
|
|
|
float: left;
|
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 {
|
|
|
|
float: right;
|
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;
|
|
|
|
border-top: 1px dashed #d9d9d9;
|
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();
|
2015-09-25 15:17:39 +02:00
|
|
|
background-color: $color-grey-5;
|
|
|
|
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 {
|
|
|
|
float: left;
|
|
|
|
font-size: 0.95em;
|
|
|
|
padding: 1em;
|
2015-11-03 13:15:33 +01:00
|
|
|
margin: 0 1em 0 0;
|
2015-09-25 15:17:39 +02:00
|
|
|
background-color: $color-grey-4;
|
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;
|
|
|
|
float: left;
|
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;
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
|
|
|
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 {
|
2015-11-03 13:15:33 +01:00
|
|
|
float: left;
|
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
|
|
|
|
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 {
|
|
|
|
background-color: #fdfdfd;
|
|
|
|
|
|
|
|
img {
|
|
|
|
border-color: $color-teal;
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
|
|
|
}
|
2021-03-23 13:58:35 +01:00
|
|
|
|
2014-01-24 18:34:26 +01:00
|
|
|
.actions {
|
2015-09-25 15:17:39 +02:00
|
|
|
visibility: hidden;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2016-02-12 18:29:59 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
.index .actions {
|
|
|
|
visibility: visible;
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2015-11-03 13:15:33 +01:00
|
|
|
|
2021-07-28 21:52:59 +02:00
|
|
|
td:hover .actions,
|
2021-10-10 19:13:55 +02:00
|
|
|
td:focus-within .actions {
|
2021-03-23 13:58:35 +01:00
|
|
|
visibility: visible;
|
2021-10-10 19:13:55 +02: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 {
|
|
|
|
background-color: $color-teal;
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2015-09-25 15:17:39 +02:00
|
|
|
a:before {
|
2015-11-19 07:05:57 +01:00
|
|
|
color: $color-white;
|
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 {
|
|
|
|
background-color: $color-teal-darker;
|
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
|
|
|
}
|
|
|
|
|
2014-02-05 12:10:09 +01:00
|
|
|
&.full-width td:first-child,
|
|
|
|
&.full-width th:first-child {
|
2022-03-15 14:21:06 +01:00
|
|
|
padding-inline-start: 25px;
|
2022-02-04 12:57:55 +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: 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-09-25 15:17:39 +02:00
|
|
|
thead .dropdown ul {
|
2014-02-11 18:18:59 +01:00
|
|
|
@include transition(none);
|
2014-01-24 18:34:26 +01:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
|
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 {
|
|
|
|
.handle {
|
2019-03-29 15:38:05 +01:00
|
|
|
// Align with the row's title text, and the column's label.
|
2016-10-27 22:26:22 +02:00
|
|
|
margin-top: -28px;
|
2022-03-15 14:21:06 +01:00
|
|
|
margin-inline-start: 13px;
|
2016-10-26 23:20:08 +02:00
|
|
|
}
|
|
|
|
}
|
2017-10-25 17:57:33 +02:00
|
|
|
|
|
|
|
table.listing {
|
|
|
|
th.ordered {
|
|
|
|
color: $color-teal;
|
|
|
|
|
|
|
|
&.ascending {
|
|
|
|
&:before {
|
|
|
|
content: '\25B2'; // up arrow
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.descending {
|
|
|
|
&:before {
|
|
|
|
content: '\25BC'; // down arrow
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
vertical-align: middle;
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2017-10-25 17:57:33 +02:00
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2017-10-25 17:57:33 +02:00
|
|
|
}
|