base.css
Same filename in this branch
Same filename in other branches
- 9 core/profiles/demo_umami/themes/umami/css/base.css
- 9 core/themes/olivero/css/base/base.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/base.css
- 8.9.x core/assets/vendor/jquery.ui/themes/base/base.css
- 11.x core/profiles/demo_umami/themes/umami/css/base.css
- 11.x core/misc/dialog/off-canvas/css/base.css
- 11.x core/themes/olivero/css/base/base.css
Set base styles for the off-canvas dialog.
@internal
File
-
core/
misc/ dialog/ off-canvas/ css/ base.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Set base styles for the off-canvas dialog.
- *
- * @internal
- */
-
- #drupal-off-canvas-wrapper {
- --off-canvas-background-color-light: #666;
- --off-canvas-background-color-medium: #444;
- --off-canvas-background-color-dark: #333;
- --off-canvas-background-color: var(--off-canvas-background-color-medium);
- --off-canvas-padding: 1.25rem;
- --off-canvas-text-color: #e5e5e5;
- --off-canvas-link-color: #85bef4;
- --off-canvas-border-color: #666;
- --off-canvas-font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
- --off-canvas-vertical-spacing-unit: 0.5rem;
- --off-canvas-focus-outline-width: 2px;
- --off-canvas-focus-outline-color: #fff;
-
- padding: 0 var(--off-canvas-padding) var(--off-canvas-padding);
- color: var(--off-canvas-text-color);
- background-color: var(--off-canvas-background-color);
- font-family: var(--off-canvas-font-family);
- }
-
- #drupal-off-canvas-wrapper *:focus {
- outline: solid var(--off-canvas-focus-outline-width) var(--off-canvas-focus-outline-color);
- outline-offset: 2px;
- }
-
- #drupal-off-canvas-wrapper a,
- #drupal-off-canvas-wrapper .link {
- -webkit-text-decoration: none;
- text-decoration: none;
- color: var(--off-canvas-link-color);
- }
-
- #drupal-off-canvas-wrapper hr {
- height: 1px;
- background: var(--off-canvas-border-color);
- }
-
- #drupal-off-canvas-wrapper h1,
- #drupal-off-canvas-wrapper .heading-a {
- font-size: 1.4375rem;
- line-height: 1.2;
- }
-
- #drupal-off-canvas-wrapper h2,
- #drupal-off-canvas-wrapper .heading-b {
- margin: var(--off-canvas-vertical-spacing-unit) 0;
- font-size: 1.1875rem;
- }
-
- #drupal-off-canvas-wrapper h3,
- #drupal-off-canvas-wrapper .heading-c {
- margin: var(--off-canvas-vertical-spacing-unit) 0;
- font-size: 1.0625rem;
- }
-
- #drupal-off-canvas-wrapper h4,
- #drupal-off-canvas-wrapper .heading-d {
- margin: var(--off-canvas-vertical-spacing-unit) 0;
- font-size: 1rem;
- }
-
- #drupal-off-canvas-wrapper h5,
- #drupal-off-canvas-wrapper .heading-e,
- #drupal-off-canvas-wrapper h6,
- #drupal-off-canvas-wrapper .heading-f {
- margin: var(--off-canvas-vertical-spacing-unit) 0;
- font-size: 0.9375rem;
- }
-
- #drupal-off-canvas-wrapper p {
- margin: var(--off-canvas-vertical-spacing-unit) 0;
- }
-
- #drupal-off-canvas-wrapper img {
- max-width: 100%;
- height: auto;
- }
-
- #drupal-off-canvas-wrapper .links {
- margin: 0;
- padding: 0;
- list-style: none;
- }
-
- #drupal-off-canvas-wrapper .links li {
- margin: calc(var(--off-canvas-vertical-spacing-unit) / 2) 0;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.