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.
95 lines
2.7 KiB
95 lines
2.7 KiB
12 months ago
|
/*
|
||
|
* DO NOT EDIT THIS FILE.
|
||
|
* See the following change record for more information,
|
||
|
* https://www.drupal.org/node/3084859
|
||
|
* @preserve
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* Styles for content moderation toolbar.
|
||
|
*/
|
||
|
|
||
|
.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);
|
||
|
}
|
||
|
|
||
|
.entity-moderation-form select,
|
||
|
.entity-moderation-form input:not([type="submit"]) {
|
||
|
background-color: var(--color--white);
|
||
|
}
|
||
|
|
||
|
@media (min-width: 43.75rem) {
|
||
|
.entity-moderation-form {
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.entity-moderation-form__item {
|
||
|
flex-basis: 0;
|
||
|
margin-inline-end: var(--sp);
|
||
|
}
|
||
|
|
||
|
.entity-moderation-form__item:last-child {
|
||
|
align-self: flex-start;
|
||
|
margin-inline-end: 0;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 43.75rem) {
|
||
|
.entity-moderation-form__item:last-child {
|
||
|
align-self: flex-end;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.layout--content-narrow .entity-moderation-form,
|
||
|
.layout--pass--content-narrow > * .entity-moderation-form,
|
||
|
.layout--content-medium .entity-moderation-form,
|
||
|
.layout--pass--content-medium > * .entity-moderation-form {
|
||
|
width: 100%;
|
||
|
margin-inline-start: 0;
|
||
|
}
|
||
|
|
||
|
@supports (width: max-content) {
|
||
|
.layout--content-narrow .entity-moderation-form,
|
||
|
.layout--pass--content-narrow > * .entity-moderation-form,
|
||
|
.layout--content-medium .entity-moderation-form,
|
||
|
.layout--pass--content-medium > * .entity-moderation-form {
|
||
|
width: max-content;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width: 43.75rem) {
|
||
|
.layout--content-narrow .entity-moderation-form,
|
||
|
.layout--pass--content-narrow > * .entity-moderation-form,
|
||
|
.layout--content-medium .entity-moderation-form,
|
||
|
.layout--pass--content-medium > * .entity-moderation-form {
|
||
|
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 (min-width: 62.5rem) {
|
||
|
.layout--content-narrow .entity-moderation-form,
|
||
|
.layout--pass--content-narrow > * .entity-moderation-form,
|
||
|
.layout--content-medium .entity-moderation-form,
|
||
|
.layout--pass--content-medium > * .entity-moderation-form {
|
||
|
width: calc(12 * var(--grid-col-width) + 11 * var(--grid-gap));
|
||
|
margin-inline-start: calc(-1 * (var(--grid-col-width) + var(--grid-gap)));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width: 90rem) {
|
||
|
.layout--content-narrow .entity-moderation-form,
|
||
|
.layout--pass--content-narrow > * .entity-moderation-form,
|
||
|
.layout--content-medium .entity-moderation-form,
|
||
|
.layout--pass--content-medium > * .entity-moderation-form {
|
||
|
width: calc(10 * var(--grid-col-width) + 11 * var(--grid-gap));
|
||
|
margin-inline-start: 0;
|
||
|
}
|
||
|
}
|