Skip to content

Commit 54598b8

Browse files
author
arnau march
committed
Updated latest shared/style folders from gaia
1 parent c429399 commit 54598b8

File tree

7 files changed

+24
-34
lines changed

7 files changed

+24
-34
lines changed

style/action_menu.css

+6-9
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,14 @@ form[role="dialog"][data-type="action"] > header button {
129129
text-decoration: none;
130130
}
131131

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) */
141137
}
142138

139+
/* Pressed state */
143140
form[role="dialog"][data-type="action"] > header a:active .icon:after,
144141
form[role="dialog"][data-type="action"] > header button:active .icon:after,
145142
form[role="dialog"][data-type="action"] > header menu[type="toolbar"] a:active,

style/action_menu/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
<form role="dialog" data-type="action" onsubmit="return false;">
2828
<header>Title</header> <!-- this header is optional -->
29-
<menu>
30-
<button> Action 1 </button>
29+
<menu type="toolbar">
30+
<button>Action 1</button>
3131
<button disabled> Action 2 (disabled) </button>
3232
<button> Action 3 </button>
3333
<button> Action 4 </button>

style/buttons.css

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ a[role="button"]::-moz-focus-inner,
77
button::-moz-focus-inner {
88
border: none;
99
outline: none;
10+
margin-top: -0.2rem; /* To fix line-height bug (697451) */
1011
}
1112

1213
button,

style/confirm.css

+2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ form[role="dialog"][data-type="confirm"] menu {
7272
form[role="dialog"][data-type="confirm"] menu button::-moz-focus-inner {
7373
border: none;
7474
outline: none;
75+
margin-top: -0.2rem; /* To fix line-height bug (697451) */
7576
}
77+
7678
form[role="dialog"][data-type="confirm"] menu button {
7779
width: 100%;
7880
height: 3.8rem;

style/edit_mode.css

+5-7
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,13 @@ form[role="dialog"][data-type="edit"] header menu[type="toolbar"] button:last-ch
102102
z-index: 1;
103103
}
104104

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) */
112109
}
113110

111+
/* Press state */
114112
form[role="dialog"][data-type="edit"] header button:active:after,
115113
form[role="dialog"][data-type="edit"] header button:hover:after,
116114
form[role="dialog"][data-type="edit"] header menu[type="toolbar"] button:hover,

style/headers.css

+5-13
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,11 @@ section[role="region"] > header:first-child button {
138138

139139

140140
/* 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;
149146
}
150147

151148
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 {
243240
background: url(headers/images/ui/separator.png) no-repeat right center / 0.2rem 4.8rem;
244241
}
245242

246-
section[role="region"] > header:first-child > button::-moz-focus-inner {
247-
border: 0;
248-
padding: 0;
249-
}
250-
251243
section[role="region"] > header:first-child > button .icon,
252244
section[role="region"] > header:first-child > a .icon {
253245
display: block;

style/input_areas.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ form[role="search"] button[type="submit"] {
307307
color: #000;
308308
font-weight: 500;
309309
font-size: 1.6rem;
310-
line-height: 3.2rem;
310+
line-height: 3.7rem;
311311
background: url(input_areas/images/ui/separator.png) no-repeat 0 50%;
312312
background-size: auto 100%;
313313
border-radius: 0;
@@ -353,10 +353,10 @@ form[role="search"] button[type="submit"][disabled] {
353353
url(input_areas/images/ui/background.png) repeat-x 0 100%;
354354
}
355355

356-
form p button[type="reset"]:focus,
357-
form p button[type="reset"]::-moz-focus-inner {
356+
form button::-moz-focus-inner {
358357
border: none;
359358
outline: none;
359+
margin-top: -0.2rem; /* To fix line-height bug (697451) */
360360
}
361361

362362
/******************************************************************************

0 commit comments

Comments
 (0)