off-canvas.theme.css in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Styling for the off-canvas ui dialog.
Contains overrides for jQuery UI dialog.
File
core/themes/claro/css/base/off-canvas.theme.cssView source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Styling for the off-canvas ui dialog.
- *
- * Contains overrides for jQuery UI dialog.
- */
-
- /* Style the dialog-off-canvas container. */
-
- .ui-dialog.ui-dialog-off-canvas {
- /* Layer the dialog just under the toolbar. */
- z-index: var(--jui-dialog-off-canvas-z-index);
- padding: 0;
- color: #ddd;
- border-radius: 0;
- background: #444;
- box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3333);
- }
-
- .ui-widget.ui-dialog.ui-dialog-off-canvas {
- border: 1px solid transparent;
- }
-
- /* Style the off-canvas dialog header. */
-
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
- padding: var(--space-s) var(--jui-dialog-off-canvas-close-button-reserved-space) var(--space-s) var(--space-m); /* LTR */
- border: 0;
- border-bottom: 1px solid #000;
- border-radius: 0;
- background: #2d2d2d;
- line-height: var(--line-height);
- }
-
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
- padding-right: var(--space-m);
- padding-left: var(--jui-dialog-off-canvas-close-button-reserved-space);
- }
-
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- /* Push the text away from the icon. */
- padding-left: calc(var(--space-m) + var(--space-s)); /* LTR */
- /* Ensure that long titles are not truncated. */
- white-space: normal;
- background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3e%3cg%3e%3cpath fill='%23ffffff' d='M14.545 3.042l-1.586-1.585c-.389-.389-1.025-.389-1.414 0l-1.293 1.293 3 3 1.293-1.293c.389-.389.389-1.026 0-1.415z'/%3e%3crect fill='%23ffffff' x='5.129' y='3.8' transform='matrix(-.707 -.707 .707 -.707 6.189 20.064)' width='4.243' height='9.899'/%3e%3cpath fill='%23ffffff' d='M.908 14.775c-.087.262.055.397.316.312l2.001-.667-1.65-1.646-.667 2.001z'/%3e%3c/g%3e%3c/svg%3e");
- background-repeat: no-repeat;
- background-position: 0 50%; /* LTR */
- background-size: 1.25rem 1.25rem;
- font-size: var(--font-size-base);
- }
-
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- padding-right: calc(var(--space-m) + var(--space-s));
- padding-left: 0;
- background-position: 100% 50%;
- }
-
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
- margin-right: var(--space-m);
- margin-left: var(--space-m);
- }
-
- /* Override default styling from jQuery UI. */
-
- #drupal-off-canvas .ui-state-default,
- #drupal-off-canvas .ui-widget-content .ui-state-default,
- #drupal-off-canvas .ui-widget-header .ui-state-default {
- color: #333;
- border: 0;
- font-size: var(--font-size-s);
- font-weight: normal;
- }
-
- #drupal-off-canvas .ui-widget-content a {
- color: var(--color-blue-200);
- }
-
- #drupal-off-canvas .form-actions {
- display: block;
- }