Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit d906940

Browse files
Dialog: The rules for dialog sections should only apply to immediate children. Additional fix for #4699: when using the Download Builder the CSS could be reordered which eliminates the override.
1 parent e4e504b commit d906940

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

css/structure/jquery.mobile.dialog.css

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,33 @@
11
.ui-dialog {
22
background: none !important; /* this is to ensure that dialog theming does not apply (by default at least) on the page div */
33
}
4-
.ui-dialog-contain { width: 92.5%; max-width: 500px; margin: 10% auto 15px auto; padding: 0; }
5-
.ui-dialog .ui-header {
4+
.ui-dialog-contain {
5+
width: 92.5%;
6+
max-width: 500px;
7+
margin: 10% auto 15px auto;
8+
padding: 0;
9+
}
10+
.ui-dialog-contain > .ui-header {
611
margin-top: 15%;
712
border: none;
813
overflow: hidden;
914
}
10-
.ui-dialog .ui-header,
11-
.ui-dialog .ui-content,
12-
.ui-dialog .ui-footer {
15+
.ui-dialog-contain > .ui-header,
16+
.ui-dialog-contain > .ui-content,
17+
.ui-dialog-contain > .ui-footer {
1318
display: block;
1419
position: relative;
1520
width: auto;
1621
}
17-
.ui-dialog .ui-header,
18-
.ui-dialog .ui-footer {
22+
.ui-dialog-contain > .ui-header,
23+
.ui-dialog-contain > .ui-footer {
1924
z-index: 10;
2025
padding: 0;
2126
}
22-
.ui-dialog .ui-footer {
27+
.ui-dialog-contain > .ui-footer {
2328
padding: 0 15px;
2429
}
25-
.ui-dialog .ui-content {
30+
.ui-dialog-contain > .ui-content {
2631
padding: 15px;
2732
}
2833
.ui-dialog {

0 commit comments

Comments
 (0)