off-canvas.theme.css
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.css
View 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: 501;
- 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: 0.75rem 3rem 0.75rem 1rem; /* LTR */
- border: 0;
- border-bottom: 1px solid #000;
- border-radius: 0;
- background: #2d2d2d;
- line-height: 1.5;
- }
-
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar {
- padding-right: 1rem;
- padding-left: 3rem;
- }
-
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- /* Push the text away from the icon. */
- padding-left: 1.75rem; /* 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: 1rem;
- }
-
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- padding-right: 1.75rem;
- padding-left: 0;
- background-position: 100% 50%;
- }
-
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
- margin-right: 1rem;
- margin-left: 1rem;
- }
-
- /* 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: 0.889rem;
- font-weight: normal;
- }
-
- #drupal-off-canvas .ui-widget-content a {
- color: #99b8ff;
- }
-
- #drupal-off-canvas .form-actions {
- display: block;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.