Change font sizes from em to rem
Change-Id: Ib97c05836bcf1a19959bb1bed8ee30897b663de7
This commit is contained in:
@@ -44,7 +44,7 @@ limitations under the License.
|
|||||||
--gr-autocomplete: {
|
--gr-autocomplete: {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
width: 20em;
|
width: 20em;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ limitations under the License.
|
|||||||
--gr-autocomplete: {
|
--gr-autocomplete: {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
width: 20em;
|
width: 20em;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ limitations under the License.
|
|||||||
gr-autocomplete {
|
gr-autocomplete {
|
||||||
width: 20em;
|
width: 20em;
|
||||||
--gr-autocomplete: {
|
--gr-autocomplete: {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
width: 20em;
|
width: 20em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ limitations under the License.
|
|||||||
.canEdit .revisionEdit{
|
.canEdit .revisionEdit{
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 1em;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.deleteButton:not(.show) {
|
.deleteButton:not(.show) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ limitations under the License.
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 1.2em;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
.header-title .headerSubject {
|
.header-title .headerSubject {
|
||||||
font-family: var(--font-family-bold);
|
font-family: var(--font-family-bold);
|
||||||
@@ -120,7 +120,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.changeMetadata {
|
.changeMetadata {
|
||||||
border-right: 1px solid #ddd;
|
border-right: 1px solid #ddd;
|
||||||
font-size: .95em;
|
font-size: .95rem;
|
||||||
padding: 1em 0;
|
padding: 1em 0;
|
||||||
}
|
}
|
||||||
/* Prevent plugin text from overflowing. */
|
/* Prevent plugin text from overflowing. */
|
||||||
@@ -190,7 +190,7 @@ limitations under the License.
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
#relatedChanges {
|
#relatedChanges {
|
||||||
font-size: .9em;
|
font-size: .9rem;
|
||||||
}
|
}
|
||||||
#relatedChanges.collapsed {
|
#relatedChanges.collapsed {
|
||||||
margin-bottom: 1.1em;
|
margin-bottom: 1.1em;
|
||||||
@@ -270,7 +270,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.header-title {
|
.header-title {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
font-size: 1.1em;
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
.desktop {
|
.desktop {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -292,7 +292,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.relatedChanges,
|
.relatedChanges,
|
||||||
.changeMetadata {
|
.changeMetadata {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
}
|
}
|
||||||
.changeMetadata {
|
.changeMetadata {
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ limitations under the License.
|
|||||||
color: var(--color-link);
|
color: var(--color-link);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: block;
|
display: block;
|
||||||
font-size: .8em;
|
font-size: var(--font-size-small);
|
||||||
min-width: 2em;
|
min-width: 2em;
|
||||||
}
|
}
|
||||||
gr-diff {
|
gr-diff {
|
||||||
|
|||||||
@@ -48,17 +48,17 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.changeContainer.thisChange:before {
|
.changeContainer.thisChange:before {
|
||||||
content: '➔';
|
content: '➔';
|
||||||
width: 1.2em
|
width: 1.2em;
|
||||||
}
|
}
|
||||||
h4,
|
h4,
|
||||||
section div {
|
section div {
|
||||||
display: flex
|
display: flex;
|
||||||
}
|
}
|
||||||
h4:before,
|
h4:before,
|
||||||
section div:before {
|
section div:before {
|
||||||
content: ' ';
|
content: ' ';
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
width: 1.2em
|
width: 1.2em;
|
||||||
}
|
}
|
||||||
.relatedChanges a {
|
.relatedChanges a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ limitations under the License.
|
|||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
.remove {
|
.remove {
|
||||||
font-size: .9em;
|
font-size: var(--font-size-small);
|
||||||
}
|
}
|
||||||
gr-button {
|
gr-button {
|
||||||
--gr-button: {
|
--gr-button: {
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.loading {
|
.loading {
|
||||||
color: #777;
|
color: #777;
|
||||||
font-size: 2em;
|
font-size: 2rem;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 1em var(--default-horizontal-margin);
|
padding: 1em var(--default-horizontal-margin);
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -151,7 +151,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.fullFileName {
|
.fullFileName {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: .9em;
|
font-size: var(--font-size-small);
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
min-width: 50%;
|
min-width: 50%;
|
||||||
padding: 0 .1em;
|
padding: 0 .1em;
|
||||||
@@ -164,7 +164,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.mobileNavLink {
|
.mobileNavLink {
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 1.5em;
|
font-size: 1.5rem;
|
||||||
font-family: var(--font-family-bold);
|
font-family: var(--font-family-bold);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.gr-syntax-keyword {
|
.gr-syntax-keyword {
|
||||||
color: #9E0069;
|
color: #9E0069;
|
||||||
line-height: 1em;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
.gr-syntax-number,
|
.gr-syntax-number,
|
||||||
.gr-syntax-selector-class {
|
.gr-syntax-selector-class {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ limitations under the License.
|
|||||||
--gr-autocomplete: {
|
--gr-autocomplete: {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
}
|
}
|
||||||
@@ -63,7 +63,7 @@ limitations under the License.
|
|||||||
input {
|
input {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
margin: .5em 0;
|
margin: .5em 0;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ limitations under the License.
|
|||||||
padding: .75em var(--default-horizontal-margin);
|
padding: .75em var(--default-horizontal-margin);
|
||||||
}
|
}
|
||||||
header gr-editable-label {
|
header gr-editable-label {
|
||||||
font-size: 1.2em;
|
font-size: 1.2rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.textareaWrapper {
|
.textareaWrapper {
|
||||||
|
|||||||
@@ -113,14 +113,14 @@ limitations under the License.
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.errorEmoji {
|
.errorEmoji {
|
||||||
font-size: 2.6em;
|
font-size: 2.6rem;
|
||||||
}
|
}
|
||||||
.errorText,
|
.errorText,
|
||||||
.errorMoreInfo {
|
.errorMoreInfo {
|
||||||
margin-top: .75em;
|
margin-top: .75em;
|
||||||
}
|
}
|
||||||
.errorText {
|
.errorText {
|
||||||
font-size: 1.2em;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
.errorMoreInfo {
|
.errorMoreInfo {
|
||||||
color: #999;
|
color: #999;
|
||||||
|
|||||||
@@ -47,10 +47,10 @@ limitations under the License.
|
|||||||
--gr-button: {
|
--gr-button: {
|
||||||
border: 0;
|
border: 0;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 1.7em;
|
font-size: 1.7rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
height: .6em;
|
height: .6em;
|
||||||
line-height: .6em;
|
line-height: .6;
|
||||||
margin-left: .15em;
|
margin-left: .15em;
|
||||||
margin-top: -.05em;
|
margin-top: -.05em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ limitations under the License.
|
|||||||
min-width: 15em;
|
min-width: 15em;
|
||||||
}
|
}
|
||||||
--paper-input-container-input: {
|
--paper-input-container-input: {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
}
|
}
|
||||||
--paper-input-container-underline: {
|
--paper-input-container-underline: {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -60,7 +60,7 @@ limitations under the License.
|
|||||||
paper-input.warnUncommitted {
|
paper-input.warnUncommitted {
|
||||||
--paper-input-container-input: {
|
--paper-input-container-input: {
|
||||||
color: #ff0000;
|
color: #ff0000;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ limitations under the License.
|
|||||||
background-color: var(--chip-background-color);
|
background-color: var(--chip-background-color);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
font-size: 13px;
|
font-size: var(--font-size-normal);
|
||||||
padding: .1em .5em;
|
padding: .1em .5em;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ limitations under the License.
|
|||||||
paper-item {
|
paper-item {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
--paper-item: {
|
--paper-item: {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
padding: 10px 16px;
|
padding: 10px 16px;
|
||||||
@@ -77,13 +77,21 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
.bottomContent {
|
.bottomContent {
|
||||||
color: rgba(0,0,0,.54);
|
color: rgba(0,0,0,.54);
|
||||||
font-size: .9em;
|
font-size: var(--font-size-small);
|
||||||
line-height: 16px;
|
/*
|
||||||
|
* Should be 16px when the base font size is 13px (browser default of
|
||||||
|
* 16px.
|
||||||
|
*/
|
||||||
|
line-height: 1.37rem;
|
||||||
}
|
}
|
||||||
.bottomContent,
|
.bottomContent,
|
||||||
.topContent {
|
.topContent {
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 16px;
|
/*
|
||||||
|
* Should be 16px when the base font size is 13px (browser default of
|
||||||
|
* 16px.
|
||||||
|
*/
|
||||||
|
line-height: 1.37rem;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ limitations under the License.
|
|||||||
min-width: 15em;
|
min-width: 15em;
|
||||||
}
|
}
|
||||||
--paper-input-container-input: {
|
--paper-input-container-input: {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -44,10 +44,10 @@ limitations under the License.
|
|||||||
--gr-button: {
|
--gr-button: {
|
||||||
border: 0;
|
border: 0;
|
||||||
color: #666;
|
color: #666;
|
||||||
font-size: 1.7em;
|
font-size: 1.7rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
height: .6em;
|
height: .6em;
|
||||||
line-height: .6em;
|
line-height: .6;
|
||||||
margin-left: .15em;
|
margin-left: .15em;
|
||||||
margin-top: -.05em;
|
margin-top: -.05em;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ limitations under the License.
|
|||||||
<template>
|
<template>
|
||||||
<style include="shared-styles">
|
<style include="shared-styles">
|
||||||
#filter {
|
#filter {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
max-width: 25em;
|
max-width: 25em;
|
||||||
}
|
}
|
||||||
#topContainer {
|
#topContainer {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ limitations under the License.
|
|||||||
width: 15em;
|
width: 15em;
|
||||||
}
|
}
|
||||||
.gr-form-styles iron-autogrow-textarea {
|
.gr-form-styles iron-autogrow-textarea {
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
}
|
}
|
||||||
.gr-form-styles th {
|
.gr-form-styles th {
|
||||||
color: #666;
|
color: #666;
|
||||||
@@ -77,7 +77,7 @@ limitations under the License.
|
|||||||
.gr-form-styles textarea {
|
.gr-form-styles textarea {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
}
|
}
|
||||||
@@ -96,7 +96,7 @@ limitations under the License.
|
|||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
padding: .25em .15em 0 .15em;
|
padding: .25em .15em 0 .15em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -105,7 +105,7 @@ limitations under the License.
|
|||||||
--gr-autocomplete: {
|
--gr-autocomplete: {
|
||||||
border: 1px solid #d1d2d3;
|
border: 1px solid #d1d2d3;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
font-size: 1em;
|
font-size: var(--font-size-normal);
|
||||||
height: 2em;
|
height: 2em;
|
||||||
padding: 0 .15em;
|
padding: 0 .15em;
|
||||||
width: 14em;
|
width: 14em;
|
||||||
|
|||||||
@@ -67,15 +67,15 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
/* Other Shared Styles*/
|
/* Other Shared Styles*/
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
font-size: 2rem;
|
||||||
font-family: var(--font-family-bold);
|
font-family: var(--font-family-bold);
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.5em;
|
font-size: 1.5rem;
|
||||||
font-family: var(--font-family-bold);
|
font-family: var(--font-family-bold);
|
||||||
}
|
}
|
||||||
h3 {
|
h3 {
|
||||||
font-size: 1.17em;
|
font-size: var(--font-size-small);
|
||||||
font-family: var(--font-family-bold);
|
font-family: var(--font-family-bold);
|
||||||
}
|
}
|
||||||
iron-icon {
|
iron-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user