Commit a11f1331 authored by Scott Chen's avatar Scott Chen Committed by Commit Bot

MD Extension: have a global font-size and line-height.

This CL consolidates individual "font-size:13px"s and "line-height:20px"s into a
global rule.

Bug: 741877
Change-Id: Ica1d1498f7f7c7ad11df8f522dd22984230c0f73
Reviewed-on: https://chromium-review.googlesource.com/574672Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Scott Chen <scottchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487370}
parent dfec8a9d
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
.section { .section {
border-bottom: 1px solid var(--paper-grey-400); border-bottom: 1px solid var(--paper-grey-400);
font-size: 13px;
padding: 16px 20px; padding: 16px 20px;
} }
......
...@@ -13,14 +13,15 @@ ...@@ -13,14 +13,15 @@
html, html,
body { body {
font-family: Roboto;
height: 100%; height: 100%;
line-height: 154%;
margin: 0; margin: 0;
} }
</style> </style>
</head> </head>
<body> <body>
<extensions-manager></extensions-manager> <extensions-manager></extensions-manager>
<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
<link rel="import" href="chrome://resources/html/load_time_data.html"> <link rel="import" href="chrome://resources/html/load_time_data.html">
<link rel="import" href="chrome://extensions/strings.html"> <link rel="import" href="chrome://extensions/strings.html">
<link rel="import" href="chrome://extensions/service.html"> <link rel="import" href="chrome://extensions/service.html">
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
background: white; background: white;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-size: 13px;
height: 160px; height: 160px;
width: 400px; width: 400px;
} }
...@@ -83,12 +82,6 @@ ...@@ -83,12 +82,6 @@
color: var(--paper-grey-600); color: var(--paper-grey-600);
} }
#description,
#extension-id,
#inspect-views {
line-height: 20px;
}
#inspect-views paper-button { #inspect-views paper-button {
color: var(--google-blue-700); color: var(--google-blue-700);
height: 20px; height: 20px;
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
.command-entry { .command-entry {
align-items: center; align-items: center;
display: flex; display: flex;
font-size: 13px;
height: 48px; height: 48px;
} }
......
...@@ -9,12 +9,6 @@ ...@@ -9,12 +9,6 @@
<dom-module id="extensions-load-error"> <dom-module id="extensions-load-error">
<template> <template>
<style include="cr-shared-style"> <style include="cr-shared-style">
.body {
/* TODO(scottchen): make a shared font-size/line-height css file. */
font-size: 13px;
line-height: 20px;
}
.description-row { .description-row {
display: flex; display: flex;
} }
...@@ -29,7 +23,6 @@ ...@@ -29,7 +23,6 @@
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
font-size: 13px;
justify-content: center; justify-content: center;
padding: 8px 12px; padding: 8px 12px;
text-transform: uppercase; text-transform: uppercase;
......
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
extensions-toolbar { extensions-toolbar {
background: var(--md-toolbar-color); background: var(--md-toolbar-color);
font-size: 13px;
} }
</style> </style>
<extensions-drop-overlay></extensions-drop-overlay> <extensions-drop-overlay></extensions-drop-overlay>
......
...@@ -15,18 +15,11 @@ ...@@ -15,18 +15,11 @@
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
font-size: 13px;
justify-content: center; justify-content: center;
padding: 8px 12px; padding: 8px 12px;
text-transform: uppercase; text-transform: uppercase;
} }
.body {
/* TODO(scottchen): make a shared font-size/line-height css file. */
font-size: 13px;
line-height: 20px;
}
.file-input { .file-input {
display: flex; display: flex;
--paper-input-container-input: { --paper-input-container-input: {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
--paper-input-container-color: var(--paper-grey-400); --paper-input-container-color: var(--paper-grey-400);
--paper-input-container-focus-color: var(--google-blue-500); --paper-input-container-focus-color: var(--google-blue-500);
--paper-input-container-input: { --paper-input-container-input: {
font-size: 13px; font-size: inherit;
}; };
} }
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
-webkit-padding-start: 24px; -webkit-padding-start: 24px;
color: #5A5A5A; color: #5A5A5A;
cursor: pointer; cursor: pointer;
font-size: 13px;
height: 48px; height: 48px;
} }
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
cr-toolbar { cr-toolbar {
--cr-toolbar-field-width: var(--toolbar-width); --cr-toolbar-field-width: var(--toolbar-width);
background: var(--toolbar-color); background: var(--toolbar-color);
font-size: 13px;
} }
.dev-controls { .dev-controls {
...@@ -40,7 +39,6 @@ ...@@ -40,7 +39,6 @@
-webkit-margin-end: 16px; -webkit-margin-end: 16px;
-webkit-margin-start: 0; -webkit-margin-start: 0;
color: white; color: white;
font-size: 13px;
padding: 12px 9px; padding: 12px 9px;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment