From abac90f662c8e2d10e8296fa1bd07df4bce71e56 Mon Sep 17 00:00:00 2001 From: Lauri Eskola <lauriii@1078742.no-reply.drupal.org> Date: Fri, 15 Jun 2018 12:37:46 +0300 Subject: [PATCH] Issue #2976287 by amateescu, andrewmacpherson: The off-canvas dialog should have a 1px transparent border --- core/misc/dialog/off-canvas.theme.css | 4 +++- core/themes/stable/css/core/dialog/off-canvas.theme.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/misc/dialog/off-canvas.theme.css b/core/misc/dialog/off-canvas.theme.css index ddc165ad2017..ba7759de683f 100644 --- a/core/misc/dialog/off-canvas.theme.css +++ b/core/misc/dialog/off-canvas.theme.css @@ -6,7 +6,6 @@ /* Style the dialog-off-canvas container. */ .ui-dialog.ui-dialog-off-canvas { background: #444; - border: 0 solid transparent; border-radius: 0; box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3333); padding: 0; @@ -14,6 +13,9 @@ /* Layer the dialog just under the toolbar. */ z-index: 501; } +.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 { diff --git a/core/themes/stable/css/core/dialog/off-canvas.theme.css b/core/themes/stable/css/core/dialog/off-canvas.theme.css index 351ef4723715..60175d35ab49 100644 --- a/core/themes/stable/css/core/dialog/off-canvas.theme.css +++ b/core/themes/stable/css/core/dialog/off-canvas.theme.css @@ -6,7 +6,6 @@ /* Style the dialog-off-canvas container. */ .ui-dialog.ui-dialog-off-canvas { background: #444; - border: 0 solid transparent; border-radius: 0; box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3333); padding: 0; @@ -14,6 +13,9 @@ /* Layer the dialog just under the toolbar. */ z-index: 501; } +.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 { -- GitLab