Skip to content

Change the default widget font-size to 1em #1374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions demos/demos.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
body {
font-size: 62.5%;
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
}

Expand All @@ -10,8 +9,6 @@ table {
.demo-description {
clear: both;
padding: 12px;
font-size: 1.3em;
line-height: 1.4em;
}

.ui-draggable, .ui-droppable {
Expand Down
1 change: 0 additions & 1 deletion demos/dialog/modal-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<script src="../../ui/effect.js"></script>
<link rel="stylesheet" href="../demos.css">
<style>
body { font-size: 62.5%; }
label, input { display:block; }
input.text { margin-bottom:12px; width:95%; padding: .4em; }
fieldset { padding:0; border:0; margin-top:25px; }
Expand Down
3 changes: 0 additions & 3 deletions tests/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
body {
font-size: 62.5%;
}
.ui-widget-header {
padding: 0.2em 0.5em;
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions tests/visual/compound/datepicker_dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<script src="../../../ui/position.js"></script>
<script src="../../../ui/resizable.js"></script>
<script src="../../../ui/draggable.js"></script>
<script src="../../../ui/button.js"></script>
<script src="../../../ui/datepicker.js"></script>
<script src="../../../ui/dialog.js"></script>
<script>
Expand Down
5 changes: 0 additions & 5 deletions tests/visual/dialog/complex-dialogs.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<script src="../../../ui/autocomplete.js"></script>
<script src="../../../ui/tooltip.js"></script>

<style>
body {
font-size: 62.5%;
}
</style>
<script>
$(function() {
var dialog = $( "#dialog" ).dialog({
Expand Down
5 changes: 0 additions & 5 deletions tests/visual/dialog/stacking.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<script src="../../../ui/button.js"></script>
<script src="../../../ui/dialog.js"></script>

<style>
body {
font-size: 62.5%;
}
</style>
<script>
$(function() {
var iframeDialog = $( "#dialog-iframe" ).dialog({
Expand Down
5 changes: 0 additions & 5 deletions tests/visual/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ <h2>Compound</h2>
<li><a href="compound/tabs_tabs.html">Nested Tabs</a></li>
<li><a href="compound/tabs_tooltips.html">Tabs with Tooltips</a></li>
</ul>

<h2>General</h2>
<ul>
<li><a href="theme.html">Theme</a></li>
</ul>
</div>
</div>

Expand Down
4 changes: 1 addition & 3 deletions tests/visual/menu/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@
});
</script>
<style>
body { font-size:62.5%; }
.ui-menu { width: 200px; margin-bottom: 2em; }
.menu2-container { width: 220px; }
.ui-menu { width: 250px; margin-bottom: 2em; }
.menu4 { height: 225px; overflow-y: auto; overflow-x: hidden; }
.address-item { border-bottom: 1px solid #999; }
.address-header { display: block; margin-bottom: .2em; font-weight: bold; }
Expand Down
1 change: 0 additions & 1 deletion tests/visual/selectmenu/selectmenu.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@
});
</script>
<style>
body { font-size:62.5%; }
fieldset { border: 0; }
label { display: block; }
select { width: 200px; }
Expand Down
525 changes: 0 additions & 525 deletions tests/visual/theme.html

This file was deleted.

1 change: 0 additions & 1 deletion tests/visual/visual.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
body { font-size: 62.5%; }
#draggable, #resizable { width: 100px; height: 100px; background: #abc; }
#droppable { width: 100px; height: 100px; background: #cde; }
2 changes: 1 addition & 1 deletion themes/base/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
----------------------------------*/
.ui-widget {
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
font-size: 1.1em/*{fsDefault}*/;
font-size: 1em/*{fsDefault}*/;
}
.ui-widget .ui-widget {
font-size: 1em;
Expand Down