Consolidate default style.

This commit is contained in:
Michael Drake 2015-06-22 14:17:02 +01:00
parent c08bccbcea
commit 51a92fbd84
2 changed files with 8 additions and 20 deletions

View File

@ -116,29 +116,30 @@ form { display: block; }
input, button { background-color: #fff; color: #000; text-align: left;
font-family: sans-serif; width: auto; height: auto; overflow: hidden;
border: 2px solid #333; padding: 1px 2px; line-height: 1.33; }
border: 1px solid #444; padding: 2px 3px; line-height: 1.33;
margin: 1px; }
input[readonly] { background-color: #ddd; color: #333; }
input[type=button], input[type=reset], input[type=submit], button {
background-color: #d9d9d9; color: #000; text-align: center;
border: medium outset #d9d9d9; padding: 1px 0.5em; }
border: 2px outset #d9d9d9; padding: 1px 0.5em; }
input[type=image] { background-color: transparent; color: #000;
border: none; padding: 0 2px; }
input[type=checkbox], input[type=radio] { background-color: transparent;
border: none; padding: 0 0.1em; }
input[type=file] { background-color: #d9d9d9; color: #000; font-style: italic;
border: medium inset #d9d9d9; padding: 1px 2px; }
border: 2px inset #d9d9d9; padding: 1px 2px; }
input[align=left] { float: left; }
input[align=right] { float: right; }
select { background-color: #d9d9d9; color: #000; text-align: left;
font-family: sans-serif; width: auto; height: auto; overflow: hidden;
margin: 1px; border: medium inset #d9d9d9; padding: 1px 3px 1px 2px;
white-space: nowrap; }
select:after { content: "\25bc"; border-left: 4px ridge #d9d9d9; }
border: medium inset #d9d9d9; padding: 1px 3px 1px 2px;
white-space: nowrap; margin: 1px; }
select:after { content: "\25bc"; border-left: 2px ridge #d9d9d9; }
textarea { background-color: #fff; color: #000; text-align: left;
font-family: monospace; width: auto; height: auto; overflow: scroll;
margin: 1px; border: 2px solid #333; padding: 0 2px; }
margin: 1px; border: 1px solid #333; padding: 1px 3px; }
textarea[readonly] { background-color: #ddd; color: #333; }
fieldset { display: block; border: thin solid #888; margin: 1.12em 0; }

View File

@ -6,16 +6,3 @@
@import "default.css";
/* Apply GTK specific rules. */
input { font-size: 95%; border: medium inset #ddd; }
input[type=button], input[type=reset], input[type=submit], button {
background-color: #ddd; border: medium outset #ddd; }
input[type=checkbox], input[type=radio] { font-size: 105%; }
input[type=file] { background-color: #ddd; border: medium outset #ddd; }
select { background-color: #ddd; border: medium inset #ddd; font-size: 95%; }
select:after { border-left:4px ridge #ddd; }
textarea { font-size: 95%; border: medium inset #ddd; }