content-moderation.css
Same filename in this branch
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
- 9 core/themes/olivero/css/components/content-moderation.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/forms/content-moderation.css
- 11.x core/themes/olivero/css/components/content-moderation.css
Styles for content moderation toolbar.
File
-
core/
themes/ olivero/ css/ components/ content-moderation.css
View source
- /*
- * 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;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.