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:
hannajones
2025-05-21 03:51:43 +00:00
committed by hjones@mozilla.com
parent 4f2a32d1a4
commit c08e43fc3d
6 changed files with 248 additions and 243 deletions

View File

@@ -16,8 +16,8 @@ body {
/* background-size: 64px 32px; */
background-repeat: repeat-x;
background-color: #363B40;
color: #FFFFFF;
background-color: #363b40;
color: #ffffff;
padding: 0 20px;
font-weight: 300;
@@ -65,15 +65,15 @@ button {
border: none;
padding: 1rem;
font-family: sans-serif;
background-color: #00A4DC;
color: #FFFFFF;
background-color: #00a4dc;
color: #ffffff;
font-weight: 300;
border-radius: 2px;
background-image: none;
margin: var(--moz-vertical-spacing) 0 0;
}
.buttonSecondary{
.buttonSecondary {
/* Force buttons to display: block here to try and enforce collapsing margins */
display: block;
width: 100%;
@@ -81,7 +81,7 @@ button {
padding: 1rem;
font-family: sans-serif;
background-color: rgba(249, 249, 250, 0.1);
color: #FFFFFF;
color: #ffffff;
font-weight: 300;
border-radius: 2px;
background-image: none;

View File

@@ -80,7 +80,7 @@ button {
button::after {
background-color: var(--primary-button-color);
content: '';
content: "";
border-radius: 5px;
display: block;
position: absolute;

View File

@@ -18,8 +18,8 @@ body {
/* background-size: 64px 32px; */
background-repeat: repeat-x;
background-color: #363B40;
color: #FFFFFF;
background-color: #363b40;
color: #ffffff;
padding: 0 20px;
font-weight: 300;
@@ -67,15 +67,15 @@ button {
border: none;
padding: 1rem;
font-family: sans-serif;
background-color: #00A4DC;
color: #FFFFFF;
background-color: #00a4dc;
color: #ffffff;
font-weight: 300;
border-radius: 2px;
background-image: none;
margin: var(--moz-vertical-spacing) 0 0;
}
.buttonSecondary{
.buttonSecondary {
/* Force buttons to display: block here to try and enforce collapsing margins */
display: block;
width: 100%;
@@ -83,7 +83,7 @@ button {
padding: 1rem;
font-family: sans-serif;
background-color: rgba(249, 249, 250, 0.1);
color: #FFFFFF;
color: #ffffff;
font-weight: 300;
border-radius: 2px;
background-image: none;

View File

@@ -2,15 +2,16 @@
* 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/. */
body, html {
background: #221F1F;
color: #FFFFFF;
body,
html {
background: #221f1f;
color: #ffffff;
font-family: sans-serif;
line-height: 24px;
font-size: 14px;
}
body{
body {
padding-left: 24px;
padding-right: 24px;
margin-left: 0;
@@ -18,17 +19,17 @@ body{
}
a {
color: #0A9AF4;
color: #0a9af4;
}
/* Make only about page links ("learn more") white */
.about a {
color: #FFFFFF;
color: #ffffff;
}
p.subtitle {
text-align: center;
opacity: .7;
opacity: 0.7;
margin: 0;
}

View File

@@ -11,22 +11,22 @@
--searchbar-background-color: #ededf0;
--searchbar-focused-background-color: #fff;
--deemphasized-border-color: rgba(0,0,0,0.05);
--deemphasized-text-color: rgba(0,0,0,0.5);
--deemphasized-border-color: rgba(0, 0, 0, 0.05);
--deemphasized-text-color: rgba(0, 0, 0, 0.5);
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #292833;
--text-color: #f9f9fa;
--border-color: rgba(255,255,255,0.15);
--border-color: rgba(255, 255, 255, 0.15);
--toolbar-background-color: #1c1b22;
--searchbar-background-color: #3f3e46;
--searchbar-focused-background-color: #4c4a54;
--deemphasized-border-color: rgba(249,249,250,0.05);
--deemphasized-text-color: rgba(249,249,250,0.5);
--deemphasized-border-color: rgba(249, 249, 250, 0.05);
--deemphasized-text-color: rgba(249, 249, 250, 0.5);
}
}
@@ -51,7 +51,7 @@ body {
z-index: 10;
background-color: var(--toolbar-background-color);
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 {
@@ -72,7 +72,7 @@ body {
#filter-container:focus-within {
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 {
@@ -163,7 +163,7 @@ body {
width: 100%;
margin: 0;
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;
overflow-x: hidden;
max-width: 40em;
@@ -288,7 +288,7 @@ body {
}
.pref-item.selected {
background-color: hsla(0,0%,60%,.2);
background-color: hsla(0, 0%, 60%, 0.2);
}
.pref-button {
@@ -317,7 +317,7 @@ body {
.pref-button:active,
#new-pref-type:active {
background-color: hsla(0,0%,60%,.4);
background-color: hsla(0, 0%, 60%, 0.4);
}
.pref-button[disabled] {
@@ -345,7 +345,7 @@ body {
#prefs-shield {
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.45);
background-color: rgba(0, 0, 0, 0.45);
position: fixed;
top: 0;
left: 0;
@@ -374,6 +374,10 @@ body {
}
@keyframes spin {
from { transform: none; }
to { transform: rotate(360deg); }
from {
transform: none;
}
to {
transform: rotate(360deg);
}
}