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

Commit e6b36ec

Browse files
Theme: Moved font-family and text-decoration to global rule. Default font-family sans-serif: fixes #5778.
1 parent 3cc45ef commit e6b36ec

File tree

1 file changed

+28
-47
lines changed

1 file changed

+28
-47
lines changed

css/themes/default/jquery.mobile.theme.css

Lines changed: 28 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
/* Globals */
22

3+
/* Font
4+
-----------------------------------------------------------------------------------------------------------*/
5+
6+
html {
7+
font-size: 100%;
8+
}
9+
body,
10+
input,
11+
select,
12+
textarea,
13+
button,
14+
.ui-btn {
15+
font-size: 1em;
16+
line-height: 1.3;
17+
font-family: sans-serif /*{global-font-family}*/;
18+
}
19+
20+
/* Links
21+
-----------------------------------------------------------------------------------------------------------*/
22+
23+
.ui-btn {
24+
text-decoration: none;
25+
}
26+
a.ui-link-inherit {
27+
text-decoration: none !important;
28+
}
29+
330
/* Focus state
431
-----------------------------------------------------------------------------------------------------------*/
532

@@ -27,13 +54,6 @@
2754
font-weight: bold;
2855
text-shadow: 0 /*{a-bar-shadow-x}*/ -1px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #000 /*{a-bar-shadow-color}*/;
2956
}
30-
.ui-bar-a,
31-
.ui-bar-a input,
32-
.ui-bar-a select,
33-
.ui-bar-a textarea,
34-
.ui-bar-a button {
35-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
36-
}
3757
.ui-bar-a .ui-link-inherit {
3858
color: #fff /*{a-bar-color}*/;
3959
}
@@ -66,13 +86,6 @@
6686
background-image: none;
6787
border-width: 0;
6888
}
69-
.ui-body-a,
70-
.ui-body-a input,
71-
.ui-body-a select,
72-
.ui-body-a textarea,
73-
.ui-body-a button {
74-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
75-
}
7689
.ui-body-a .ui-link-inherit {
7790
color: #333 /*{a-body-color}*/;
7891
}
@@ -132,7 +145,6 @@
132145
.ui-btn-up-a,
133146
.ui-btn-hover-a,
134147
.ui-btn-down-a {
135-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
136148
text-decoration: none;
137149
}
138150

@@ -145,8 +157,6 @@
145157
color: #fff /*{a-bactive-color}*/;
146158
cursor: pointer;
147159
text-shadow: 0 /*{a-bactive-shadow-x}*/ 1px /*{a-bactive-shadow-y}*/ 0 /*{a-bactive-shadow-radius}*/ #3373a5 /*{a-bactive-shadow-color}*/;
148-
text-decoration: none;
149-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
150160
}
151161
.ui-btn-up-a.ui-btn-active:visited,
152162
.ui-btn-hover-a.ui-btn-active:visited,
@@ -208,13 +218,6 @@
208218
color: #2489ce /*{b-bar-link-active}*/;
209219
}
210220

211-
.ui-bar-b,
212-
.ui-bar-b input,
213-
.ui-bar-b select,
214-
.ui-bar-b textarea,
215-
.ui-bar-b button {
216-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
217-
}
218221

219222
.ui-body-b,
220223
.ui-overlay-b {
@@ -227,13 +230,6 @@
227230
background-image: none;
228231
border-width: 0;
229232
}
230-
.ui-body-b,
231-
.ui-body-b input,
232-
.ui-body-b select,
233-
.ui-body-b textarea,
234-
.ui-body-b button {
235-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
236-
}
237233
.ui-body-b .ui-link-inherit {
238234
color: #333 /*{b-body-color}*/;
239235
}
@@ -290,12 +286,6 @@
290286
.ui-btn-down-b a.ui-link-inherit {
291287
color: #fff /*{b-bdown-color}*/;
292288
}
293-
.ui-btn-up-b,
294-
.ui-btn-hover-b,
295-
.ui-btn-down-b {
296-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
297-
text-decoration: none;
298-
}
299289

300290
.ui-btn-up-b.ui-btn-active,
301291
.ui-btn-hover-b.ui-btn-active,
@@ -306,8 +296,6 @@
306296
color: #fff /*{b-bactive-color}*/;
307297
cursor: pointer;
308298
text-shadow: 0 /*{b-bactive-shadow-x}*/ 1px /*{b-bactive-shadow-y}*/ 0 /*{b-bactive-shadow-radius}*/ #3373a5 /*{b-bactive-shadow-color}*/;
309-
text-decoration: none;
310-
font-family: Helvetica, Arial, sans-serif /*{global-font-family}*/;
311299
}
312300
.ui-btn-up-b.ui-btn-active:visited,
313301
.ui-btn-hover-b.ui-btn-active:visited,
@@ -341,13 +329,6 @@
341329

342330
/* Structure */
343331

344-
/* links within "buttons"
345-
-----------------------------------------------------------------------------------------------------------*/
346-
347-
a.ui-link-inherit {
348-
text-decoration: none !important;
349-
}
350-
351332
/* corner rounding classes
352333
-----------------------------------------------------------------------------------------------------------*/
353334

@@ -669,7 +650,7 @@ a.ui-link-inherit {
669650
box-shadow: 0 1px 0 rgba(255,255,255,.4) /*{global-icon-shadow}*/;
670651
}
671652

672-
/* Outline focus style when no bo-shadow
653+
/* Outline focus style when no box-shadow
673654
-----------------------------------------------------------------------------------------------------------*/
674655

675656
.ui-mobile-nosupport-boxshadow .ui-focus,

0 commit comments

Comments
 (0)