clean up formatting
This commit is contained in:
parent
8acf569381
commit
6ae05cbddf
2 changed files with 400 additions and 312 deletions
|
@ -1,12 +1,15 @@
|
|||
@-moz-document url("about:newtab"), url(about:home) {
|
||||
/* New Tab Page */
|
||||
@-moz-document url("about:newtab"), url("about:home") {
|
||||
.icon.icon-settings {
|
||||
background-image: url(../icons/settings.svg) !important;
|
||||
background-size: 20px !important;
|
||||
}
|
||||
|
||||
.search-wrapper .search-button {
|
||||
background-image: url(../icons/search.svg) !important;
|
||||
background-size: 20px !important;
|
||||
}
|
||||
|
||||
.search-wrapper input {
|
||||
border: 0 !important;
|
||||
box-shadow: none !important;
|
||||
|
@ -14,24 +17,32 @@
|
|||
border-radius: 4px !important;
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.search-inner-wrapper input {
|
||||
transition: box-shadow .2s ease-in-out !important;
|
||||
box-shadow: 0px 1.6px 3.6px rgb(0 0 0 / 13%), 0px 0px 2.9px rgb(0 0 0 / 11%) !important;
|
||||
}
|
||||
|
||||
.search-inner-wrapper:hover input {
|
||||
box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 13%), 0px 0px 3.8px rgb(0 0 0 / 11%) !important;
|
||||
}
|
||||
|
||||
.search-wrapper :is(input, button) {
|
||||
height: 44px !important;
|
||||
}
|
||||
|
||||
#searchSubmit {
|
||||
width: 68px !important;
|
||||
background-color: var(--search-button-bg) !important;
|
||||
}
|
||||
|
||||
#searchSubmit:hover {
|
||||
background-color: var(--search-button-bg-hover) !important;
|
||||
}
|
||||
.top-site-outer .tile, .screenshot, .top-site-icon {
|
||||
|
||||
.top-site-outer .tile,
|
||||
.screenshot,
|
||||
.top-site-icon {
|
||||
border-radius: 8px !important;
|
||||
}
|
||||
|
||||
|
@ -45,6 +56,7 @@
|
|||
--search-button-bg-hover: #006CBE;
|
||||
--newtab-search-icon-color: #fff !important;
|
||||
}
|
||||
|
||||
body[style*="--newtab-background-color:rgba(42, 42, 46, 1); --newtab-text-primary-color:rgba(249, 249, 250, 1);"] {
|
||||
--newtab-background-color: #242424 !important;
|
||||
--newtab-text-primary-color: #fff !important;
|
||||
|
@ -57,43 +69,53 @@
|
|||
}
|
||||
}
|
||||
|
||||
@-moz-document url(about:privatebrowsing) {
|
||||
/* Private Browsing Page */
|
||||
@-moz-document url("about:privatebrowsing") {
|
||||
html.private {
|
||||
--in-content-page-color: #000d !important;
|
||||
--in-content-text-color: #000 !important;
|
||||
--in-content-page-background: #f5f5f5 !important;
|
||||
}
|
||||
|
||||
.wordmark {
|
||||
fill: #737373 !important;
|
||||
}
|
||||
|
||||
.info {
|
||||
background-color: #fff !important;
|
||||
background-image: url(../icons/incognito.svg) !important;
|
||||
}
|
||||
|
||||
.search-handoff-button {
|
||||
background-color: #fff !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html.private {
|
||||
--in-content-page-color: #fffd !important;
|
||||
--in-content-text-color: #fff !important;
|
||||
--in-content-page-background: #242424 !important;
|
||||
}
|
||||
|
||||
.wordmark {
|
||||
fill: #f5f5f5 !important;
|
||||
}
|
||||
|
||||
.info {
|
||||
background-color: #2b2b2b !important;
|
||||
}
|
||||
|
||||
.search-handoff-button {
|
||||
background-color: #424242 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
}
|
||||
|
||||
.fake-textbox {
|
||||
color: inherit !important;
|
||||
}
|
||||
|
||||
.search-handoff-button {
|
||||
border: 0 !important;
|
||||
border-radius: 4px !important;
|
||||
|
@ -101,6 +123,7 @@
|
|||
transition: box-shadow .2s ease-in-out !important;
|
||||
box-shadow: 0px 1.6px 3.6px rgb(0 0 0 / 13%), 0px 0px 2.9px rgb(0 0 0 / 11%) !important;
|
||||
}
|
||||
|
||||
.search-handoff-button:hover {
|
||||
box-shadow: 0px 3.2px 7.2px rgb(0 0 0 / 13%), 0px 0px 3.8px rgb(0 0 0 / 11%) !important;
|
||||
}
|
||||
|
|
|
@ -1,28 +1,34 @@
|
|||
@-moz-document url-prefix(about:preferences) {
|
||||
/* Preferences Page */
|
||||
@-moz-document url-prefix("about:preferences") {
|
||||
/* Icons */
|
||||
|
||||
/* Categories */
|
||||
#category-general>.category-icon {
|
||||
list-style-image: url(../icons/settings.svg) !important;
|
||||
}
|
||||
|
||||
#category-home>.category-icon {
|
||||
list-style-image: url(../icons/home.svg) !important;
|
||||
}
|
||||
|
||||
#category-search>.category-icon {
|
||||
list-style-image: url(../icons/search.svg) !important;
|
||||
}
|
||||
|
||||
#category-privacy>.category-icon {
|
||||
list-style-image: url(../icons/lock.svg) !important;
|
||||
}
|
||||
|
||||
#category-sync>.category-icon {
|
||||
list-style-image: url(../icons/sync.svg) !important;
|
||||
}
|
||||
|
||||
.category[name="discover"] {
|
||||
background-image: url(../icons/star.svg) !important;
|
||||
}
|
||||
|
||||
.category[name="extension"] {
|
||||
background-image: url(../icons/addons.svg) !important;
|
||||
}
|
||||
|
||||
.category[name="theme"] {
|
||||
background-image: url(../icons/brush.svg) !important;
|
||||
}
|
||||
|
@ -31,39 +37,55 @@
|
|||
.geo-icon {
|
||||
list-style-image: url(../urlbar/permissions/geo.svg) !important;
|
||||
}
|
||||
|
||||
.camera-icon {
|
||||
list-style-image: url(../urlbar/permissions/camera.svg) !important;
|
||||
}
|
||||
|
||||
.microphone-icon {
|
||||
list-style-image: url(../urlbar/permissions/microphone.svg) !important;
|
||||
}
|
||||
|
||||
.desktop-notification-icon {
|
||||
list-style-image: url(../urlbar/permissions/desktop-notification.svg) !important;
|
||||
}
|
||||
|
||||
.autoplay-icon {
|
||||
list-style-image: url(../urlbar/permissions/autoplay-media.svg) !important;
|
||||
}
|
||||
|
||||
.xr-icon {
|
||||
list-style-image: url(../urlbar/permissions/xr.svg) !important;
|
||||
}
|
||||
|
||||
/* Sync Items */
|
||||
.sync-engine-bookmarks .checkbox-icon, .sync-engine-bookmarks.sync-engine-image {
|
||||
.sync-engine-bookmarks .checkbox-icon,
|
||||
.sync-engine-bookmarks.sync-engine-image {
|
||||
list-style-image: url(../icons/bookmark.svg) !important;
|
||||
}
|
||||
.sync-engine-history .checkbox-icon, .sync-engine-history.sync-engine-image {
|
||||
|
||||
.sync-engine-history .checkbox-icon,
|
||||
.sync-engine-history.sync-engine-image {
|
||||
list-style-image: url(../icons/history.svg) !important;
|
||||
}
|
||||
.sync-engine-tabs .checkbox-icon, .sync-engine-tabs.sync-engine-image {
|
||||
|
||||
.sync-engine-tabs .checkbox-icon,
|
||||
.sync-engine-tabs.sync-engine-image {
|
||||
list-style-image: url(../icons/new-tab-image.svg) !important;
|
||||
}
|
||||
.sync-engine-passwords .checkbox-icon, .sync-engine-passwords.sync-engine-image {
|
||||
|
||||
.sync-engine-passwords .checkbox-icon,
|
||||
.sync-engine-passwords.sync-engine-image {
|
||||
list-style-image: url(../icons/key.svg) !important;
|
||||
}
|
||||
.sync-engine-addons .checkbox-icon, .sync-engine-addons.sync-engine-image {
|
||||
|
||||
.sync-engine-addons .checkbox-icon,
|
||||
.sync-engine-addons.sync-engine-image {
|
||||
list-style-image: url(../icons/addons.svg) !important;
|
||||
}
|
||||
.sync-engine-prefs .checkbox-icon, .sync-engine-prefs.sync-engine-image {
|
||||
|
||||
.sync-engine-prefs .checkbox-icon,
|
||||
.sync-engine-prefs.sync-engine-image {
|
||||
list-style-image: url(../icons/settings.svg) !important;
|
||||
}
|
||||
|
||||
|
@ -73,12 +95,15 @@
|
|||
}
|
||||
|
||||
/* links */
|
||||
.preferences-icon, .page-options-menu > .more-options-button {
|
||||
.preferences-icon,
|
||||
.page-options-menu>.more-options-button {
|
||||
background-image: url(../icons/settings.svg) !important;
|
||||
}
|
||||
|
||||
.addons-icon {
|
||||
list-style-image: url(../icons/addons.svg) !important;
|
||||
}
|
||||
|
||||
.textbox-search-sign {
|
||||
list-style-image: url(../icons/search.svg) !important;
|
||||
}
|
||||
|
@ -108,12 +133,15 @@
|
|||
--checkbox-checked-bgcolor: #0078D4;
|
||||
--checkbox-checked-fill-color: #fff;
|
||||
}
|
||||
|
||||
.content-blocking-category.selected {
|
||||
border-color: #0078d4 !important;
|
||||
}
|
||||
|
||||
.content-blocking-category.expanded:not(.selected) .content-blocking-warning {
|
||||
background-color: #f7f7f7 !important;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--in-content-page-background: #333 !important;
|
||||
|
@ -138,58 +166,81 @@
|
|||
--checkbox-checked-bgcolor: #006CBE;
|
||||
--checkbox-checked-fill-color: #fff;
|
||||
}
|
||||
|
||||
.content-blocking-category.selected {
|
||||
border-color: #63ade5 !important;
|
||||
}
|
||||
|
||||
.content-blocking-category.expanded:not(.selected) .content-blocking-warning {
|
||||
background-color: #333 !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Cards For Certain Sections */
|
||||
#fxaGroup, .sync-group, #trackingGroup, #searchbarGroup, #homeContentsGroup, #permissionsGroup, #httpsOnlyBox, #applicationsGroup, #oneClickSearchProvidersGroup {
|
||||
#fxaGroup,
|
||||
.sync-group,
|
||||
#trackingGroup,
|
||||
#searchbarGroup,
|
||||
#homeContentsGroup,
|
||||
#permissionsGroup,
|
||||
#httpsOnlyBox,
|
||||
#applicationsGroup,
|
||||
#oneClickSearchProvidersGroup {
|
||||
padding: 12px 16px !important;
|
||||
background: var(--card-background) !important;
|
||||
box-shadow: var(--card-shadow) !important;
|
||||
border-radius: 4px !important;
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
:is(.sync-group, #trackingGroup, #searchbarGroup, #homeContentsGroup, #permissionsGroup, #httpsOnlyBox, #applicationsGroup, #oneClickSearchProvidersGroup) h2 {
|
||||
margin-top: 2px !important;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 16px !important;
|
||||
font-weight: 600 !important;
|
||||
font-size: 20px !important;
|
||||
}
|
||||
|
||||
#openChangeProfileImage {
|
||||
height: 64px !important;
|
||||
width: 64px !important;
|
||||
margin: 10px !important;
|
||||
margin-inline: 6px 20px !important;
|
||||
}
|
||||
|
||||
menulist {
|
||||
max-width: 400px !important;
|
||||
}
|
||||
|
||||
|
||||
search-textbox, input[type="text"] {
|
||||
search-textbox,
|
||||
input[type="text"] {
|
||||
background-color: transparent !important;
|
||||
border: 1px solid var(--input-border-color) !important;
|
||||
transition: all .2s ease-in-out !important;
|
||||
}
|
||||
search-textbox:hover, search-textbox[focused], input[type="text"]:focus, input[type="text"]:hover {
|
||||
|
||||
search-textbox:hover,
|
||||
search-textbox[focused],
|
||||
input[type="text"]:focus,
|
||||
input[type="text"]:hover {
|
||||
--input-border-color: var(--input-border-color-focused) !important;
|
||||
}
|
||||
search-textbox[focused], input[type="text"]:focus {
|
||||
|
||||
search-textbox[focused],
|
||||
input[type="text"]:focus {
|
||||
box-shadow: 0 0 0 1px inset var(--input-border-color) !important;
|
||||
}
|
||||
|
||||
search-textbox {
|
||||
background-color: var(--search-bgcolor) !important;
|
||||
padding: 2px 8px !important;
|
||||
margin: 16px 0 !important;
|
||||
min-height: 34px !important;
|
||||
}
|
||||
|
||||
#policies-container {
|
||||
margin: 17px 0 17px 0 !important;
|
||||
position: relative !important;
|
||||
|
@ -197,13 +248,16 @@
|
|||
background-color: var(--in-content-page-background) !important;
|
||||
}
|
||||
|
||||
button, menulist {
|
||||
button,
|
||||
menulist {
|
||||
background-color: transparent !important;
|
||||
border: 1px solid var(--input-border-color) !important;
|
||||
border-radius: 2px !important;
|
||||
transition: all .2s ease-in-out !important;
|
||||
}
|
||||
button:hover, menulist:hover {
|
||||
|
||||
button:hover,
|
||||
menulist:hover {
|
||||
border-color: var(--input-border-color-focused) !important;
|
||||
}
|
||||
|
||||
|
@ -217,9 +271,11 @@
|
|||
.navigation {
|
||||
border-right: 1px solid var(--sidebar-border-color) !important;
|
||||
}
|
||||
|
||||
.sticky-container {
|
||||
border-bottom: 1px solid var(--sidebar-border-color) !important;
|
||||
}
|
||||
|
||||
.sticky-container::before {
|
||||
content: "Preferences";
|
||||
font-size: 24px;
|
||||
|
@ -229,9 +285,11 @@
|
|||
top: 16px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
#mainPrefPane {
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
|
||||
.checkbox-check {
|
||||
/* Move Checkboxes to Right */
|
||||
-moz-box-ordinal-group: 2 !important;
|
||||
|
@ -254,12 +312,15 @@
|
|||
border: 1px solid var(--checkbox-border-color) !important;
|
||||
margin: 3px 8px !important;
|
||||
}
|
||||
|
||||
.indent>checkbox>.checkbox-check {
|
||||
margin-inline-start: 32px !important;
|
||||
}
|
||||
|
||||
.checkbox-check:hover {
|
||||
border-color: var(--checkbox-hover-border-color) !important;
|
||||
}
|
||||
|
||||
.checkbox-check[checked] {
|
||||
background-position: 24px 4px !important;
|
||||
background-color: var(--checkbox-checked-bgcolor) !important;
|
||||
|
@ -271,15 +332,18 @@
|
|||
background-color: var(--checkbox-bgcolor) !important;
|
||||
border: 1px solid var(--checkbox-border-color) !important;
|
||||
}
|
||||
|
||||
.radio-check:hover {
|
||||
background-color: var(--checkbox-bgcolor) !important;
|
||||
border-color: var(--checkbox-hover-border-color) !important;
|
||||
}
|
||||
|
||||
.radio-check[selected] {
|
||||
background-color: var(--checkbox-border-color) !important;
|
||||
border-color: transparent !important;
|
||||
color: var(--checkbox-bgcolor) !important;
|
||||
}
|
||||
|
||||
.radio-check[selected]:hover {
|
||||
background-color: var(--checkbox-hover-border-color) !important;
|
||||
}
|
||||
|
@ -295,7 +359,8 @@
|
|||
padding-inline: 12px !important;
|
||||
}
|
||||
|
||||
.sidebar-footer-link, .sidebar-footer-button > .text-link {
|
||||
.sidebar-footer-link,
|
||||
.sidebar-footer-button>.text-link {
|
||||
margin-inline: 16px !important;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue