Skip to content

Commit 3002d46

Browse files
committed
Theme: Change default widget font-size to 1em
Fixes #10131 Closes gh-1374
1 parent 42b8961 commit 3002d46

File tree

9 files changed

+2
-23
lines changed

9 files changed

+2
-23
lines changed

demos/demos.css

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
body {
2-
font-size: 62.5%;
32
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
43
}
54

@@ -10,8 +9,6 @@ table {
109
.demo-description {
1110
clear: both;
1211
padding: 12px;
13-
font-size: 1.3em;
14-
line-height: 1.4em;
1512
}
1613

1714
.ui-draggable, .ui-droppable {

demos/dialog/modal-form.html

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<script src="../../ui/effect.js"></script>
1717
<link rel="stylesheet" href="../demos.css">
1818
<style>
19-
body { font-size: 62.5%; }
2019
label, input { display:block; }
2120
input.text { margin-bottom:12px; width:95%; padding: .4em; }
2221
fieldset { padding:0; border:0; margin-top:25px; }

tests/index.css

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
body {
2-
font-size: 62.5%;
3-
}
41
.ui-widget-header {
52
padding: 0.2em 0.5em;
63
margin: 0;

tests/visual/dialog/complex-dialogs.html

-5
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
<script src="../../../ui/autocomplete.js"></script>
2121
<script src="../../../ui/tooltip.js"></script>
2222

23-
<style>
24-
body {
25-
font-size: 62.5%;
26-
}
27-
</style>
2823
<script>
2924
$(function() {
3025
var dialog = $( "#dialog" ).dialog({

tests/visual/dialog/stacking.html

-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
<script src="../../../ui/button.js"></script>
1515
<script src="../../../ui/dialog.js"></script>
1616

17-
<style>
18-
body {
19-
font-size: 62.5%;
20-
}
21-
</style>
2217
<script>
2318
$(function() {
2419
var iframeDialog = $( "#dialog-iframe" ).dialog({

tests/visual/menu/menu.html

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@
4545
});
4646
</script>
4747
<style>
48-
body { font-size:62.5%; }
49-
.ui-menu { width: 200px; margin-bottom: 2em; }
50-
.menu2-container { width: 220px; }
48+
.ui-menu { width: 250px; margin-bottom: 2em; }
5149
.menu4 { height: 225px; overflow-y: auto; overflow-x: hidden; }
5250
.address-item { border-bottom: 1px solid #999; }
5351
.address-header { display: block; margin-bottom: .2em; font-weight: bold; }

tests/visual/selectmenu/selectmenu.html

-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@
122122
});
123123
</script>
124124
<style>
125-
body { font-size:62.5%; }
126125
fieldset { border: 0; }
127126
label { display: block; }
128127
select { width: 200px; }

tests/visual/visual.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
body { font-size: 62.5%; }
21
#draggable, #resizable { width: 100px; height: 100px; background: #abc; }
32
#droppable { width: 100px; height: 100px; background: #cde; }

themes/base/theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
----------------------------------*/
1717
.ui-widget {
1818
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
19-
font-size: 1.1em/*{fsDefault}*/;
19+
font-size: 1em/*{fsDefault}*/;
2020
}
2121
.ui-widget .ui-widget {
2222
font-size: 1em;

0 commit comments

Comments
 (0)