summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-10-07 15:57:57 (GMT)
committerAlex Pott2014-10-07 15:57:57 (GMT)
commit5ed7af8eb3477ba81a5ab711f9da5293de4067ad (patch)
tree304c69dae822b2f7596c6578a5754bb0a7311430
parent2c88a1281013a7d28d802d15c3487a5e6223c84e (diff)
Issue #2225349 by ckrina, G.I.Joe, lauriii, mErilainen: Responsive styles for Modal dialog.
-rw-r--r--core/misc/dialog.theme.css5
-rw-r--r--core/themes/seven/css/components/dialog.theme.css5
2 files changed, 10 insertions, 0 deletions
diff --git a/core/misc/dialog.theme.css b/core/misc/dialog.theme.css
index 2480fea..837e49f 100644
--- a/core/misc/dialog.theme.css
+++ b/core/misc/dialog.theme.css
@@ -11,6 +11,11 @@
border: solid 1px #ccc;
padding: 0;
}
+@media all and (max-width: 48em) { /* 768px */
+ .ui-dialog {
+ width: 92% !important;
+ }
+}
.ui-dialog .ui-dialog-titlebar {
font-weight: bold;
background: #f3f4ee;
diff --git a/core/themes/seven/css/components/dialog.theme.css b/core/themes/seven/css/components/dialog.theme.css
index 0c99474..4fbe56b 100644
--- a/core/themes/seven/css/components/dialog.theme.css
+++ b/core/themes/seven/css/components/dialog.theme.css
@@ -10,6 +10,11 @@
overflow: visible;
padding: 0;
}
+@media all and (max-width: 48em) { /* 768px */
+ .ui-dialog {
+ width: 92% !important;
+ }
+}
.ui-dialog .ui-dialog-titlebar {
background: #6b6b6b;
border-top-left-radius: 5px;