Skip to content
This repository
Browse code

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.
  • Loading branch information...
commit e60dfa8bb1c13a779066e8482d9f3377f2c43c06 1 parent e245154
Jasper de Groot authored July 14, 2012

Showing 1 changed file with 14 additions and 9 deletions. Show diff stats Hide diff stats

  1. 23  css/structure/jquery.mobile.dialog.css
23  css/structure/jquery.mobile.dialog.css
... ...
@@ -1,28 +1,33 @@
1 1
 .ui-dialog {
2 2
 	 background: none !important; /* this is to ensure that dialog theming does not apply (by default at least) on the page div */
3 3
 }
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 {
6 11
 	margin-top: 15%;
7 12
 	border: none;
8 13
 	overflow: hidden;
9 14
 }
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 { 
13 18
 	display: block;
14 19
 	position: relative; 
15 20
 	width: auto;
16 21
 }
17  
-.ui-dialog .ui-header, 
18  
-.ui-dialog .ui-footer  { 
  22
+.ui-dialog-contain > .ui-header, 
  23
+.ui-dialog-contain > .ui-footer  { 
19 24
 	z-index: 10; 
20 25
 	padding: 0;
21 26
 }
22  
-.ui-dialog .ui-footer {
  27
+.ui-dialog-contain > .ui-footer {
23 28
 	padding: 0 15px; 
24 29
 }
25  
-.ui-dialog .ui-content { 
  30
+.ui-dialog-contain > .ui-content { 
26 31
 	padding: 15px; 
27 32
 }
28 33
 .ui-dialog { 

0 notes on commit e60dfa8

Please sign in to comment.
Something went wrong with that request. Please try again.