You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.5 KiB
68 lines
1.5 KiB
12 months ago
|
/**
|
||
|
* @file
|
||
|
* Styles for content moderation toolbar.
|
||
|
*/
|
||
|
|
||
|
@import "../base/media-queries.pcss.css";
|
||
|
|
||
|
.entity-moderation-form {
|
||
|
flex-direction: column;
|
||
|
padding-inline-start: var(--sp);
|
||
|
padding-inline-end: var(--sp);
|
||
|
border: 1px solid var(--color--gray-95);
|
||
|
background-color: var(--color--gray-100);
|
||
|
|
||
|
& select,
|
||
|
& input:not([type="submit"]) {
|
||
|
background-color: var(--color--white);
|
||
|
}
|
||
|
|
||
|
@media (--md) {
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.entity-moderation-form__item {
|
||
|
flex-basis: 0;
|
||
|
margin-inline-end: var(--sp);
|
||
|
|
||
|
&:last-child {
|
||
|
align-self: flex-start;
|
||
|
margin-inline-end: 0;
|
||
|
|
||
|
@media (--md) {
|
||
|
align-self: flex-end;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.layout--content-narrow,
|
||
|
.layout--pass--content-narrow > *,
|
||
|
.layout--content-medium,
|
||
|
.layout--pass--content-medium > * {
|
||
|
& .entity-moderation-form {
|
||
|
width: 100%;
|
||
|
margin-inline-start: 0;
|
||
|
|
||
|
@supports (width: max-content) {
|
||
|
width: max-content;
|
||
|
}
|
||
|
|
||
|
@media (--grid-md) {
|
||
|
width: calc(var(--grid-col-count) * var(--grid-col-width) + var(--grid-gap-count) * var(--grid-gap));
|
||
|
margin-block: var(--sp2) var(--sp4);
|
||
|
margin-inline-start: calc(-2 * (var(--grid-col-width) + var(--grid-gap)));
|
||
|
}
|
||
|
|
||
|
@media (--lg) {
|
||
|
width: calc(12 * var(--grid-col-width) + 11 * var(--grid-gap));
|
||
|
margin-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
|
||
|
}
|
||
|
|
||
|
@media (--grid-max) {
|
||
|
width: calc(10 * var(--grid-col-width) + 11 * var(--grid-gap));
|
||
|
margin-inline-start: 0;
|
||
|
}
|
||
|
}
|
||
|
}
|