Bug 1606785 - Format android CSS files with Prettier r=geckoview-reviewers,hiro
Differential Revision: https://phabricator.services.mozilla.com/D249176
This commit is contained in:
committed by
hjones@mozilla.com
parent
4f2a32d1a4
commit
c08e43fc3d
@@ -16,8 +16,8 @@ body {
|
|||||||
/* background-size: 64px 32px; */
|
/* background-size: 64px 32px; */
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
|
|
||||||
background-color: #363B40;
|
background-color: #363b40;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@@ -65,15 +65,15 @@ button {
|
|||||||
border: none;
|
border: none;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: #00A4DC;
|
background-color: #00a4dc;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
margin: var(--moz-vertical-spacing) 0 0;
|
margin: var(--moz-vertical-spacing) 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttonSecondary{
|
.buttonSecondary {
|
||||||
/* Force buttons to display: block here to try and enforce collapsing margins */
|
/* Force buttons to display: block here to try and enforce collapsing margins */
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -81,7 +81,7 @@ button {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: rgba(249, 249, 250, 0.1);
|
background-color: rgba(249, 249, 250, 0.1);
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ button {
|
|||||||
|
|
||||||
button::after {
|
button::after {
|
||||||
background-color: var(--primary-button-color);
|
background-color: var(--primary-button-color);
|
||||||
content: '';
|
content: "";
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ body {
|
|||||||
/* background-size: 64px 32px; */
|
/* background-size: 64px 32px; */
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
|
|
||||||
background-color: #363B40;
|
background-color: #363b40;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@@ -67,15 +67,15 @@ button {
|
|||||||
border: none;
|
border: none;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: #00A4DC;
|
background-color: #00a4dc;
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
margin: var(--moz-vertical-spacing) 0 0;
|
margin: var(--moz-vertical-spacing) 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.buttonSecondary{
|
.buttonSecondary {
|
||||||
/* Force buttons to display: block here to try and enforce collapsing margins */
|
/* Force buttons to display: block here to try and enforce collapsing margins */
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -83,7 +83,7 @@ button {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
background-color: rgba(249, 249, 250, 0.1);
|
background-color: rgba(249, 249, 250, 0.1);
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
|||||||
@@ -2,15 +2,16 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
body, html {
|
body,
|
||||||
background: #221F1F;
|
html {
|
||||||
color: #FFFFFF;
|
background: #221f1f;
|
||||||
|
color: #ffffff;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body{
|
body {
|
||||||
padding-left: 24px;
|
padding-left: 24px;
|
||||||
padding-right: 24px;
|
padding-right: 24px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
@@ -18,17 +19,17 @@ body{
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #0A9AF4;
|
color: #0a9af4;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make only about page links ("learn more") white */
|
/* Make only about page links ("learn more") white */
|
||||||
.about a {
|
.about a {
|
||||||
color: #FFFFFF;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.subtitle {
|
p.subtitle {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: .7;
|
opacity: 0.7;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,22 +11,22 @@
|
|||||||
--searchbar-background-color: #ededf0;
|
--searchbar-background-color: #ededf0;
|
||||||
--searchbar-focused-background-color: #fff;
|
--searchbar-focused-background-color: #fff;
|
||||||
|
|
||||||
--deemphasized-border-color: rgba(0,0,0,0.05);
|
--deemphasized-border-color: rgba(0, 0, 0, 0.05);
|
||||||
--deemphasized-text-color: rgba(0,0,0,0.5);
|
--deemphasized-text-color: rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
--background-color: #292833;
|
--background-color: #292833;
|
||||||
--text-color: #f9f9fa;
|
--text-color: #f9f9fa;
|
||||||
--border-color: rgba(255,255,255,0.15);
|
--border-color: rgba(255, 255, 255, 0.15);
|
||||||
|
|
||||||
--toolbar-background-color: #1c1b22;
|
--toolbar-background-color: #1c1b22;
|
||||||
--searchbar-background-color: #3f3e46;
|
--searchbar-background-color: #3f3e46;
|
||||||
--searchbar-focused-background-color: #4c4a54;
|
--searchbar-focused-background-color: #4c4a54;
|
||||||
|
|
||||||
--deemphasized-border-color: rgba(249,249,250,0.05);
|
--deemphasized-border-color: rgba(249, 249, 250, 0.05);
|
||||||
--deemphasized-text-color: rgba(249,249,250,0.5);
|
--deemphasized-text-color: rgba(249, 249, 250, 0.5);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ body {
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
background-color: var(--toolbar-background-color);
|
background-color: var(--toolbar-background-color);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
box-shadow: 0 2px 7px rgba(0,0,0,0.25);
|
box-shadow: 0 2px 7px rgba(0, 0, 0, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-container {
|
.toolbar-container {
|
||||||
@@ -72,7 +72,7 @@ body {
|
|||||||
|
|
||||||
#filter-container:focus-within {
|
#filter-container:focus-within {
|
||||||
background-color: var(--searchbar-focused-background-color);
|
background-color: var(--searchbar-focused-background-color);
|
||||||
box-shadow: 0 1px 6px rgba(0,0,0,.1);
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#filter-input {
|
#filter-input {
|
||||||
@@ -163,7 +163,7 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: var(--background-color);
|
background-color: var(--background-color);
|
||||||
box-shadow: 0 5px 18px rgba(0,0,0,.2);
|
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
max-width: 40em;
|
max-width: 40em;
|
||||||
@@ -288,7 +288,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.pref-item.selected {
|
.pref-item.selected {
|
||||||
background-color: hsla(0,0%,60%,.2);
|
background-color: hsla(0, 0%, 60%, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pref-button {
|
.pref-button {
|
||||||
@@ -317,7 +317,7 @@ body {
|
|||||||
|
|
||||||
.pref-button:active,
|
.pref-button:active,
|
||||||
#new-pref-type:active {
|
#new-pref-type:active {
|
||||||
background-color: hsla(0,0%,60%,.4);
|
background-color: hsla(0, 0%, 60%, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.pref-button[disabled] {
|
.pref-button[disabled] {
|
||||||
@@ -345,7 +345,7 @@ body {
|
|||||||
#prefs-shield {
|
#prefs-shield {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(0,0,0,0.45);
|
background-color: rgba(0, 0, 0, 0.45);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@@ -374,6 +374,10 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
from { transform: none; }
|
from {
|
||||||
to { transform: rotate(360deg); }
|
transform: none;
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user