2017-01-16 20:44:32 +00:00
|
|
|
/**
|
|
|
|
* @file
|
2017-04-29 21:36:10 +00:00
|
|
|
* CSS for off-canvas dialog.
|
2017-01-16 20:44:32 +00:00
|
|
|
*
|
|
|
|
* @todo Move CSS into core dialog library https://www.drupal.org/node/2784443.
|
|
|
|
*/
|
2017-04-29 21:36:10 +00:00
|
|
|
/* Position the off-canvas dialog container outside the right of the viewport. */
|
|
|
|
.ui-dialog-off-canvas {
|
2017-05-19 16:46:41 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
|
|
|
overflow: visible;
|
2017-01-16 20:44:32 +00:00
|
|
|
}
|
|
|
|
|
2017-04-29 21:36:10 +00:00
|
|
|
/* Wrap the form that's inside the off-canvas dialog. */
|
|
|
|
.ui-dialog-off-canvas .ui-dialog-content {
|
2017-05-19 16:46:41 +00:00
|
|
|
padding: 0 20px;
|
|
|
|
/* Prevent horizontal scrollbar. */
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2017-01-16 20:44:32 +00:00
|
|
|
}
|
2017-04-29 21:36:10 +00:00
|
|
|
[dir="rtl"] .ui-dialog-off-canvas .ui-dialog-content {
|
2017-05-19 16:46:41 +00:00
|
|
|
text-align: right;
|
2017-01-16 20:44:32 +00:00
|
|
|
}
|