File tree 7 files changed +24
-34
lines changed
7 files changed +24
-34
lines changed Original file line number Diff line number Diff line change @@ -129,17 +129,14 @@ form[role="dialog"][data-type="action"] > header button {
129
129
text-decoration : none;
130
130
}
131
131
132
- /* Pressed state */
133
- form [role = "dialog" ][data-type = "action" ] > header a ::-moz-focus-inner ,
134
- form [role = "dialog" ][data-type = "action" ] > header button ::-moz-focus-inner ,
135
- form [role = "dialog" ][data-type = "action" ] > header a : active ,
136
- form [role = "dialog" ][data-type = "action" ] > header button : active ,
137
- form [role = "dialog" ][data-type = "action" ] > header a : focus ,
138
- form [role = "dialog" ][data-type = "action" ][data-type = "action" ] > header button : focus {
139
- outline : none !important ;
140
- border : none !important ;
132
+ form [role = "dialog" ][data-type = "action" ] button ::-moz-focus-inner ,
133
+ form [role = "dialog" ][data-type = "object" ] button ::-moz-focus-inner {
134
+ outline : none;
135
+ border : none;
136
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
141
137
}
142
138
139
+ /* Pressed state */
143
140
form [role = "dialog" ][data-type = "action" ] > header a : active .icon : after ,
144
141
form [role = "dialog" ][data-type = "action" ] > header button : active .icon : after ,
145
142
form [role = "dialog" ][data-type = "action" ] > header menu [type = "toolbar" ] a : active ,
Original file line number Diff line number Diff line change 26
26
27
27
< form role ="dialog " data-type ="action " onsubmit ="return false; ">
28
28
< header > Title</ header > <!-- this header is optional -->
29
- < menu >
30
- < button > Action 1 </ button >
29
+ < menu type =" toolbar " >
30
+ < button > Action 1</ button >
31
31
< button disabled > Action 2 (disabled) </ button >
32
32
< button > Action 3 </ button >
33
33
< button > Action 4 </ button >
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ a[role="button"]::-moz-focus-inner,
7
7
button ::-moz-focus-inner {
8
8
border : none;
9
9
outline : none;
10
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
10
11
}
11
12
12
13
button ,
Original file line number Diff line number Diff line change @@ -72,7 +72,9 @@ form[role="dialog"][data-type="confirm"] menu {
72
72
form [role = "dialog" ][data-type = "confirm" ] menu button ::-moz-focus-inner {
73
73
border : none;
74
74
outline : none;
75
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
75
76
}
77
+
76
78
form [role = "dialog" ][data-type = "confirm" ] menu button {
77
79
width : 100% ;
78
80
height : 3.8rem ;
Original file line number Diff line number Diff line change @@ -102,15 +102,13 @@ form[role="dialog"][data-type="edit"] header menu[type="toolbar"] button:last-ch
102
102
z- index: 1;
103
103
}
104
104
105
- /* Press state */
106
- form [role = "dialog" ][data-type = "edit" ] header button ::-moz-focus-inner ,
107
- form [role = "dialog" ][data-type = "edit" ] header button : active ,
108
- form [role = "dialog" ][data-type = "edit" ] header button : hover ,
109
- form [role = "dialog" ][data-type = "edit" ] header button : focus {
110
- outline : none !important ;
111
- border : none !important ;
105
+ form [role = "dialog" ][data-type = "edit" ] button ::-moz-focus-inner {
106
+ outline : none;
107
+ border : none;
108
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
112
109
}
113
110
111
+ /* Press state */
114
112
form [role = "dialog" ][data-type = "edit" ] header button : active : after ,
115
113
form [role = "dialog" ][data-type = "edit" ] header button : hover : after ,
116
114
form [role = "dialog" ][data-type = "edit" ] header menu [type = "toolbar" ] button : hover ,
Original file line number Diff line number Diff line change @@ -138,14 +138,11 @@ section[role="region"] > header:first-child button {
138
138
139
139
140
140
/* Pressed state */
141
- section [role = "region" ] > header : first-child a ::-moz-focus-inner ,
142
- section [role = "region" ] > header : first-child button ::-moz-focus-inner ,
143
- section [role = "region" ] > header : first-child a : active ,
144
- section [role = "region" ] > header : first-child button : active ,
145
- section [role = "region" ] > header : first-child a : focus ,
146
- section [role = "region" ] > header : first-child button : focus {
147
- outline : none !important ;
148
- border : none !important ;
141
+ section [role = "region" ] > header : first-child button ::-moz-focus-inner {
142
+ outline : none;
143
+ border : none;
144
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
145
+ padding : 0 ;
149
146
}
150
147
151
148
section [role = "region" ] > header : first-child > a : not ([aria-disabled = "true" ]): active : after ,
@@ -243,11 +240,6 @@ section[role="region"] > header:first-child > a:after {
243
240
background : url (headers/images/ui/separator.png) no-repeat right center / 0.2rem 4.8rem ;
244
241
}
245
242
246
- section [role = "region" ] > header : first-child > button ::-moz-focus-inner {
247
- border : 0 ;
248
- padding : 0 ;
249
- }
250
-
251
243
section [role = "region" ] > header : first-child > button .icon ,
252
244
section [role = "region" ] > header : first-child > a .icon {
253
245
display : block;
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ form[role="search"] button[type="submit"] {
307
307
color : # 000 ;
308
308
font-weight : 500 ;
309
309
font-size : 1.6rem ;
310
- line-height : 3.2 rem ;
310
+ line-height : 3.7 rem ;
311
311
background : url (input_areas/images/ui/separator.png) no-repeat 0 50% ;
312
312
background-size : auto 100% ;
313
313
border-radius : 0 ;
@@ -353,10 +353,10 @@ form[role="search"] button[type="submit"][disabled] {
353
353
url (input_areas/images/ui/background.png) repeat-x 0 100% ;
354
354
}
355
355
356
- form p button [type = "reset" ]: focus ,
357
- form p button [type = "reset" ]::-moz-focus-inner {
356
+ form button ::-moz-focus-inner {
358
357
border : none;
359
358
outline : none;
359
+ margin-top : -0.2rem ; /* To fix line-height bug (697451) */
360
360
}
361
361
362
362
/******************************************************************************
You can’t perform that action at this time.
0 commit comments