123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- /**
- * @file
- * Styling for the off-canvas ui dialog. Including overrides for jQuery UI.
- */
- /* 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: 1em;
- color: #fff;
- border: 0;
- border-bottom: 1px solid #000;
- border-radius: 0;
- background: #2d2d2d;
- font-weight: normal;
- }
- /* Hide the default jQuery UI dialog close button. */
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close .ui-icon {
- visibility: hidden;
- }
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
- position: absolute;
- top: calc(50% - 6px);
- right: 1em;
- width: 30px;
- height: 30px;
- transition: all 0.5s ease;
- border: 3px solid transparent;
- background-color: transparent;
- background-image: url(../icons/bebebe/ex.svg);
- background-repeat: no-repeat;
- background-position: center center;
- }
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:hover,
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:focus {
- border: 3px solid #fff;
- background-image: url(../icons/ffffff/ex.svg);
- }
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close {
- right: auto;
- left: 1em;
- }
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- /* Ensure that long titles do not overlap the close button. */
- max-width: 210px;
- margin: 0;
- padding-right: 0; /* LTR */
- /* Push the text away from the icon. */
- padding-left: 30px; /* LTR */
- text-align: left; /* LTR */
- /* Ensure that long titles are not truncated. */
- white-space: normal;
- font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
- font-size: 16px;
- }
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
- float: right;
- padding-right: 30px;
- padding-left: 0;
- text-align: right;
- }
- .ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
- position: absolute;
- top: 0;
- left: 1em; /* LTR */
- display: block;
- width: 20px;
- height: 100%;
- content: "";
- background: transparent url(../icons/ffffff/pencil.svg) no-repeat scroll center center;
- background-size: 100% auto;
- }
- [dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
- right: 1em;
- left: auto;
- }
- /* 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: 14px;
- font-weight: normal;
- }
- #drupal-off-canvas .ui-widget-content a {
- color: #85bef4;
- }
|