[ticket/14976] Start converting ems

PHPBB3-14976
This commit is contained in:
hanakin 2017-01-08 14:00:13 -05:00 committed by Michael Miday
parent 0e6a0aae8f
commit 980a9a6f69
6 changed files with 48 additions and 55 deletions

View file

@ -156,7 +156,7 @@
} }
.post-buttons .dropdown a { .post-buttons .dropdown a {
font-size: 1.2em; font-size: 13px;
text-align: right; text-align: right;
display: block; display: block;
} }

View file

@ -12,7 +12,7 @@
.cp-menu { .cp-menu {
float: left; float: left;
width: 19%; width: 19%;
margin-top: 1em; margin-top: 10px;
margin-bottom: 5px; margin-bottom: 5px;
} }
@ -26,12 +26,12 @@
} }
.panel-container .panel p { .panel-container .panel p {
font-size: 1.1em; font-size: 11px;
} }
.panel-container .panel ol { .panel-container .panel ol {
font-size: 1.1em; font-size: 11px;
margin-left: 2em; margin-left: 22px;
} }
.panel-container .panel li.row { .panel-container .panel li.row {
@ -50,7 +50,7 @@ ul.cplist {
} }
.panel-container table.table1 { .panel-container table.table1 {
margin-bottom: 1em; margin-bottom: 10px;
} }
.panel-container table.table1 thead th { .panel-container table.table1 thead th {
@ -82,7 +82,7 @@ ul.cplist {
} }
.panel-container .postbody p.author { .panel-container .postbody p.author {
font-size: 1.1em; /* font-size: 11px; */
} }
.cp-main .buttons { .cp-main .buttons {
@ -120,9 +120,9 @@ ul.cplist {
.tabs .tab, .tabs .tab,
.minitabs .tab { .minitabs .tab {
font-size: 1em; font-size: 10px;
font-weight: bold; font-weight: bold;
line-height: 1.4em; line-height: 14px;
display: block; display: block;
float: left; float: left;
} }
@ -182,8 +182,8 @@ ul.cplist {
} }
.responsive-tab > a.responsive-tab-link { .responsive-tab > a.responsive-tab-link {
font-size: 1.6em; font-size: 16px;
line-height: 0.9em; line-height: 14px;
text-decoration: none; text-decoration: none;
position: relative; position: relative;
display: block; display: block;
@ -191,19 +191,19 @@ ul.cplist {
} }
.responsive-tab .responsive-tab-link:before { .responsive-tab .responsive-tab-link:before {
border-top: 0.375em double transparent; border-top: 6px double rgba(0, 0, 0, 0);
border-bottom: 0.125em solid transparent; border-bottom: 2px solid rgba(0, 0, 0, 0);
position: absolute; position: absolute;
top: 7px; top: 7px;
left: 10px; left: 10px;
width: 14px; width: 14px;
height: 0.125em; height: 2px;
content: ""; content: "";
} }
.tabs .dropdown, .tabs .dropdown,
.minitabs .dropdown { .minitabs .dropdown {
font-size: 1.1em; font-size: 11px;
font-weight: normal; font-weight: normal;
top: 20px; top: 20px;
margin-right: -2px; margin-right: -2px;

View file

@ -11,13 +11,13 @@
---------------------------------------- */ ---------------------------------------- */
fieldset { fieldset {
font-family: Verdana, Helvetica, Arial, sans-serif; font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1.1em; font-size: 11px;
border-width: 0; border-width: 0;
} }
input { input {
font-family: Verdana, Helvetica, Arial, sans-serif; font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1em; font-size: 11px;
font-weight: normal; font-weight: normal;
vertical-align: middle; vertical-align: middle;
padding: 0 3px; padding: 0 3px;
@ -25,7 +25,7 @@ input {
select { select {
font-family: Verdana, Helvetica, Arial, sans-serif; font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 1em; font-size: 11px;
font-weight: normal; font-weight: normal;
vertical-align: middle; vertical-align: middle;
border: 1px solid transparent; border: 1px solid transparent;
@ -38,18 +38,18 @@ select:focus {
} }
option { option {
padding-right: 1em; padding-right: 11px;
} }
select optgroup option { select optgroup option {
font-family: Verdana, Helvetica, Arial, sans-serif; font-family: Verdana, Helvetica, Arial, sans-serif;
padding-right: 1em; padding-right: 11px;
} }
textarea { textarea {
font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
font-size: 1em; font-size: 11px;
line-height: 1.4em; line-height: 18px;
width: 60%; width: 60%;
padding: 2px; padding: 2px;
} }
@ -86,16 +86,6 @@ fieldset dd {
margin-left: 41%; margin-left: 41%;
} }
/* Specific layout 1 */
fieldset.fields1 dt {
border-right-width: 0;
width: 15em;
}
fieldset.fields1 dd {
border-left-width: 0;
margin-left: 15em;
}
fieldset.fields1 div { fieldset.fields1 div {
margin-bottom: 3px; margin-bottom: 3px;
@ -106,15 +96,21 @@ fieldset.fields1 .live-search div {
margin-bottom: 0; margin-bottom: 0;
} }
/* Specific layout 2 */ /* Specific layouts */
fieldset.fields2 dt { fieldset.fields2 dt,
fieldset.fields1 dt {
border-right-width: 0; border-right-width: 0;
width: 15em; width: 165px;
} }
fieldset.fields2 dd { fieldset.fields2 dd,
fieldset.fields1 dd {
border-left-width: 0; border-left-width: 0;
margin-left: 16em; margin-left: 176px;
}
fieldset.fields1 dd {
margin-left: 165px;
} }
/* Form elements */ /* Form elements */
@ -191,7 +187,7 @@ fieldset.display-options a {
} }
.dropdown fieldset.display-options { .dropdown fieldset.display-options {
font-size: 1em; font-size: 11px;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@ -210,10 +206,10 @@ fieldset.display-options a {
/* Display actions for ucp and mcp pages */ /* Display actions for ucp and mcp pages */
fieldset.display-actions { fieldset.display-actions {
line-height: 2em; line-height: 22px;
text-align: right; text-align: right;
white-space: nowrap; white-space: nowrap;
padding-right: 1em; padding-right: 11px;
} }
fieldset.display-actions label { fieldset.display-actions label {
@ -221,8 +217,9 @@ fieldset.display-actions label {
padding-right: 2px; padding-right: 2px;
} }
/* Not used anywhere */
fieldset.sort-options { fieldset.sort-options {
line-height: 2em; line-height: 22px;
} }
/* MCP forum selection */ /* MCP forum selection */
@ -267,7 +264,7 @@ fieldset.submit-buttons input {
.message-box textarea { .message-box textarea {
font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
font-size: 1.2em; /* font-size: 13px; */
outline: 3px dashed transparent; outline: 3px dashed transparent;
outline-offset: -4px; outline-offset: -4px;
width: 450px; width: 450px;

View file

@ -18,11 +18,11 @@ blockquote cite:before,
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-variant: normal; font-variant: normal;
-webkit-font-smoothing: antialiased;
line-height: 1; line-height: 1;
display: inline-block; display: inline-block;
/* stylelint-disable order/declaration-block-properties-specified-order */ /* stylelint-disable order/declaration-block-properties-specified-order */
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
/* stylelint-enable order/declaration-block-properties-specified-order */ /* stylelint-enable order/declaration-block-properties-specified-order */
text-rendering: auto; /* optimizelegibility throws things off #1094 */ text-rendering: auto; /* optimizelegibility throws things off #1094 */
} }
@ -86,7 +86,6 @@ blockquote cite:before,
} }
.alert_close .icon:before { .alert_close .icon:before {
line-height: 0.9;
border-radius: 50%; border-radius: 50%;
display: block; display: block;
width: 11px; width: 11px;

View file

@ -66,9 +66,10 @@ th a:hover {
/* Links for forum/topic lists */ /* Links for forum/topic lists */
a.forumtitle { a.forumtitle,
a.topictitle {
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
font-size: 1.2em; font-size: 13px;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
} }
@ -78,10 +79,6 @@ a.forumtitle:hover {
} }
a.topictitle { a.topictitle {
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
font-size: 1.2em;
font-weight: bold;
text-decoration: none;
display: inline; display: inline;
} }

View file

@ -230,7 +230,7 @@
.site-description h1, .site-description h1,
.site-description p { .site-description p {
line-height: 1.2em; line-height: 24px;
text-align: inherit; text-align: inherit;
text-overflow: ellipsis; text-overflow: ellipsis;
float: none; float: none;
@ -258,8 +258,8 @@
/* Forums and topicslists /* Forums and topicslists
---------------------------------------------------------------- */ ---------------------------------------------------------------- */
li.header dt { li.header dt {
font-size: 1.2em; font-size: 12px;
line-height: 1em; line-height: 12px;
text-align: center; text-align: center;
text-transform: none; text-transform: none;
padding-bottom: 4px; padding-bottom: 4px;
@ -591,12 +591,12 @@
/* Misc stuff /* Misc stuff
---------------------------------------------------------------- */ ---------------------------------------------------------------- */
h2 { h2 {
margin-top: 0.5em; margin-top: 12px;
} }
p { p {
overflow: hidden; overflow: hidden;
margin-bottom: 0.5em; margin-bottom: 8px;
} }
p.rightside { p.rightside {