Commit 6e1885ac authored by Kuo Jen Wei's avatar Kuo Jen Wei Committed by Commit Bot

CCA: Use Google-sans for all fonts

Bug: 1123750
Test: Manually
Change-Id: I30ed85248a8985f27ecf51b2a9a88a8108320a17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437542
Commit-Queue: Inker Kuo <inker@chromium.org>
Auto-Submit: Inker Kuo <inker@chromium.org>
Reviewed-by: default avatarWei Lee <wtlee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811629}
parent 4d3dc947
...@@ -11,8 +11,11 @@ audio { ...@@ -11,8 +11,11 @@ audio {
} }
body { body {
--default-font-family: 'Google Sans', sans-serif;
background: black; background: black;
bottom: 0; bottom: 0;
font-family: var(--default-font-family);
height: 100%; height: 100%;
left: 0; left: 0;
margin: 0; margin: 0;
...@@ -269,7 +272,6 @@ div.mode-item>span { ...@@ -269,7 +272,6 @@ div.mode-item>span {
border-radius: 16px/50%; border-radius: 16px/50%;
color: white; color: white;
display: inline-block; display: inline-block;
font-family: 'Roboto', sans-serif;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
line-height: 32px; line-height: 32px;
...@@ -517,7 +519,6 @@ body.mode-switching:not(.streaming) #camera-mode { ...@@ -517,7 +519,6 @@ body.mode-switching:not(.streaming) #camera-mode {
#timer-tick-msg { #timer-tick-msg {
color: white; color: white;
font-family: 'Roboto', sans-serif;
font-size: 72px; font-size: 72px;
visibility: hidden; visibility: hidden;
} }
...@@ -825,7 +826,6 @@ body.mirror:not(.streaming) #preview-video { ...@@ -825,7 +826,6 @@ body.mirror:not(.streaming) #preview-video {
} }
#preview-metadata { #preview-metadata {
font-family: 'Roboto', sans-serif;
font-size: 14px; font-size: 14px;
left: 60px; left: 60px;
position: absolute; position: absolute;
...@@ -1024,7 +1024,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms ...@@ -1024,7 +1024,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms
#record-time [i18n-content=record_video_paused_msg] { #record-time [i18n-content=record_video_paused_msg] {
color: white; color: white;
flex-shrink: 0; flex-shrink: 0;
font-family: 'Roboto', sans-serif;
font-size: 13px; font-size: 13px;
} }
...@@ -1059,7 +1058,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms ...@@ -1059,7 +1058,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms
background: rgba(241, 243, 244, 0.8); background: rgba(241, 243, 244, 0.8);
border-radius: 2px; border-radius: 2px;
color: rgb(32, 33, 36); color: rgb(32, 33, 36);
font-family: 'Roboto', sans-serif;
font-size: 12px; font-size: 12px;
left: 0; left: 0;
line-height: 22px; line-height: 22px;
...@@ -1081,7 +1079,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms ...@@ -1081,7 +1079,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms
background: rgb(30, 30, 35); background: rgb(30, 30, 35);
border-radius: 16px; border-radius: 16px;
color: white; color: white;
font-family: 'Roboto', sans-serif;
font-size: 16px; font-size: 16px;
line-height: 32px; line-height: 32px;
opacity: 0; opacity: 0;
...@@ -1158,13 +1155,13 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms ...@@ -1158,13 +1155,13 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms
} }
#banner-title-text { #banner-title-text {
font: 450 18px 'Google Sans', sans-serif; font: 450 18px var(--default-font-family);
vertical-align: middle; vertical-align: middle;
} }
#banner-msg { #banner-msg {
color: rgb(95, 99, 104); color: rgb(95, 99, 104);
font: 375 15px/22px 'Roboto'; font: 375 15px/22px var(--default-font-family);
} }
#banner-close { #banner-close {
...@@ -1199,7 +1196,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms ...@@ -1199,7 +1196,6 @@ body:not(.recording-ui-paused) #record-time [i18n-content=record_video_paused_ms
color: rgb(241, 243, 244); color: rgb(241, 243, 244);
display: flex; display: flex;
flex-shrink: 0; flex-shrink: 0;
font-family: 'Roboto', sans-serif;
font-size: 13px; font-size: 13px;
height: 64px; height: 64px;
justify-content: flex-start; justify-content: flex-start;
...@@ -1394,7 +1390,6 @@ body.no-resolution-settings #settings-resolution { ...@@ -1394,7 +1390,6 @@ body.no-resolution-settings #settings-resolution {
} }
#view-warning #error-msg { #view-warning #error-msg {
font-family: 'Roboto', sans-serif;
font-size: 18px; font-size: 18px;
line-height: 32px; line-height: 32px;
text-align: center; text-align: center;
...@@ -1423,7 +1418,6 @@ body.no-resolution-settings #settings-resolution { ...@@ -1423,7 +1418,6 @@ body.no-resolution-settings #settings-resolution {
.dialog .dialog-msg { .dialog .dialog-msg {
color: rgb(32, 33, 36); color: rgb(32, 33, 36);
cursor: text; cursor: text;
font-family: 'Roboto', sans-serif;
font-size: 14px; font-size: 14px;
max-height: 320px; max-height: 320px;
max-width: 472px; max-width: 472px;
...@@ -1459,7 +1453,6 @@ body.no-resolution-settings #settings-resolution { ...@@ -1459,7 +1453,6 @@ body.no-resolution-settings #settings-resolution {
background-color: white; background-color: white;
border-style: solid; border-style: solid;
color: rgb(37, 129, 223); color: rgb(37, 129, 223);
font-family: 'Roboto', sans-serif;
font-size: 12px; font-size: 12px;
margin: 4px; margin: 4px;
padding: 6px 18px; padding: 6px 18px;
......
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