Theme: Change default widget font-size to 1em

Fixes #10131
Closes gh-1374
This commit is contained in:
TJ VanToll 2014-10-24 07:18:50 -07:00
parent 42b896123c
commit 3002d460de
9 changed files with 2 additions and 23 deletions

View File

@ -1,5 +1,4 @@
body { body {
font-size: 62.5%;
font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif"; font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana", "sans-serif";
} }
@ -10,8 +9,6 @@ table {
.demo-description { .demo-description {
clear: both; clear: both;
padding: 12px; padding: 12px;
font-size: 1.3em;
line-height: 1.4em;
} }
.ui-draggable, .ui-droppable { .ui-draggable, .ui-droppable {

View File

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

View File

@ -1,6 +1,3 @@
body {
font-size: 62.5%;
}
.ui-widget-header { .ui-widget-header {
padding: 0.2em 0.5em; padding: 0.2em 0.5em;
margin: 0; margin: 0;

View File

@ -20,11 +20,6 @@
<script src="../../../ui/autocomplete.js"></script> <script src="../../../ui/autocomplete.js"></script>
<script src="../../../ui/tooltip.js"></script> <script src="../../../ui/tooltip.js"></script>
<style>
body {
font-size: 62.5%;
}
</style>
<script> <script>
$(function() { $(function() {
var dialog = $( "#dialog" ).dialog({ var dialog = $( "#dialog" ).dialog({

View File

@ -14,11 +14,6 @@
<script src="../../../ui/button.js"></script> <script src="../../../ui/button.js"></script>
<script src="../../../ui/dialog.js"></script> <script src="../../../ui/dialog.js"></script>
<style>
body {
font-size: 62.5%;
}
</style>
<script> <script>
$(function() { $(function() {
var iframeDialog = $( "#dialog-iframe" ).dialog({ var iframeDialog = $( "#dialog-iframe" ).dialog({

View File

@ -45,9 +45,7 @@
}); });
</script> </script>
<style> <style>
body { font-size:62.5%; } .ui-menu { width: 250px; margin-bottom: 2em; }
.ui-menu { width: 200px; margin-bottom: 2em; }
.menu2-container { width: 220px; }
.menu4 { height: 225px; overflow-y: auto; overflow-x: hidden; } .menu4 { height: 225px; overflow-y: auto; overflow-x: hidden; }
.address-item { border-bottom: 1px solid #999; } .address-item { border-bottom: 1px solid #999; }
.address-header { display: block; margin-bottom: .2em; font-weight: bold; } .address-header { display: block; margin-bottom: .2em; font-weight: bold; }

View File

@ -122,7 +122,6 @@
}); });
</script> </script>
<style> <style>
body { font-size:62.5%; }
fieldset { border: 0; } fieldset { border: 0; }
label { display: block; } label { display: block; }
select { width: 200px; } select { width: 200px; }

View File

@ -1,3 +1,2 @@
body { font-size: 62.5%; }
#draggable, #resizable { width: 100px; height: 100px; background: #abc; } #draggable, #resizable { width: 100px; height: 100px; background: #abc; }
#droppable { width: 100px; height: 100px; background: #cde; } #droppable { width: 100px; height: 100px; background: #cde; }

View File

@ -16,7 +16,7 @@
----------------------------------*/ ----------------------------------*/
.ui-widget { .ui-widget {
font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; font-family: Verdana,Arial,sans-serif/*{ffDefault}*/;
font-size: 1.1em/*{fsDefault}*/; font-size: 1em/*{fsDefault}*/;
} }
.ui-widget .ui-widget { .ui-widget .ui-widget {
font-size: 1em; font-size: 1em;