From a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 4 Jun 2018 13:17:38 +0200 Subject: Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk --- .../privatebrowsing/aboutPrivateBrowsing.css | 227 --------------------- .../themes/shared/privatebrowsing/attention.png | Bin 602 -> 0 bytes .../themes/shared/privatebrowsing/attention@2x.png | Bin 902 -> 0 bytes browser/themes/shared/privatebrowsing/check.png | Bin 338 -> 0 bytes browser/themes/shared/privatebrowsing/check.svg | 8 - browser/themes/shared/privatebrowsing/check@2x.png | Bin 370 -> 0 bytes browser/themes/shared/privatebrowsing/favicon.svg | 11 - .../shared/privatebrowsing/private-browsing.svg | 12 -- .../themes/shared/privatebrowsing/shield-page.png | Bin 4257 -> 0 bytes .../shared/privatebrowsing/shield-page@2x.png | Bin 9367 -> 0 bytes .../privatebrowsing/tracking-protection-off.svg | 15 -- .../shared/privatebrowsing/tracking-protection.svg | 12 -- 12 files changed, 285 deletions(-) delete mode 100644 browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css delete mode 100755 browser/themes/shared/privatebrowsing/attention.png delete mode 100755 browser/themes/shared/privatebrowsing/attention@2x.png delete mode 100755 browser/themes/shared/privatebrowsing/check.png delete mode 100644 browser/themes/shared/privatebrowsing/check.svg delete mode 100755 browser/themes/shared/privatebrowsing/check@2x.png delete mode 100644 browser/themes/shared/privatebrowsing/favicon.svg delete mode 100644 browser/themes/shared/privatebrowsing/private-browsing.svg delete mode 100755 browser/themes/shared/privatebrowsing/shield-page.png delete mode 100755 browser/themes/shared/privatebrowsing/shield-page@2x.png delete mode 100644 browser/themes/shared/privatebrowsing/tracking-protection-off.svg delete mode 100644 browser/themes/shared/privatebrowsing/tracking-protection.svg (limited to 'browser/themes/shared/privatebrowsing') diff --git a/browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css b/browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css deleted file mode 100644 index 923aa929b..000000000 --- a/browser/themes/shared/privatebrowsing/aboutPrivateBrowsing.css +++ /dev/null @@ -1,227 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * 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/. */ - -@import url("chrome://global/skin/in-content/info-pages.css"); - -:root { - --color-grey-lightest: #fbfbfb; - --color-grey: #b1b1b1; - - --color-blue: #0996f8; - --color-blue-dark: #0670cc; - --color-blue-darker: #005bab; - - --icon-margin: 64px; -} - -html.private { - --in-content-page-color: #beb8cc; - --in-content-text-color: #beb8cc; - --in-content-page-background: #1c023c; -} - -body { - padding: 40px; -} - -a:link { - color: var(--color-blue); - text-decoration: none; -} - -a:hover { - color: var(--color-blue-dark); - text-decoration: underline; -} - -a:hover:active { - color: var(--color-blue-darker); -} - -a:visited { - color: var(--color-blue-darker); -} - -.about-content-container { - max-width: 780px; -} - -.section-main { - margin-bottom: 48px; - margin-inline-start: var(--icon-margin); - padding-inline-start: 24px; -} - -.section-main:last-child { - margin-bottom: 0; -} - -p { - line-height: 1.5em; -} - -.list-row { - overflow: auto; -} - -.list-row > ul > li { - float: left; - width: 220px; - line-height: 1.5em; - margin-inline-start: 1em; - margin-bottom: 0; -} - -.list-row > ul > li:dir(rtl) { - float: right; -} - -.title { - background-image: url("chrome://browser/skin/privatebrowsing/private-browsing.svg"); - background-size: 64px; - background-position: left, center; - font-weight: lighter; - line-height: 1.5em; - min-height: 64px; - margin-inline-start: 0; - padding-inline-start: calc(var(--icon-margin) + 24px); -} - -.title:dir(rtl) { - background-position: right, center; -} - -.about-subheader { - display: flex; - align-items: center; - font-size: 1.5em; - font-weight: lighter; - min-height: 32px; - background-image: url("chrome://browser/skin/privatebrowsing/tracking-protection.svg"); - background-repeat: no-repeat; - background-size: 32px; - margin-inline-start: calc(var(--icon-margin) - 32px); - padding-inline-start: 56px; -} - -.about-subheader:dir(rtl) { - background-position: right; -} - -.about-subheader.tp-off { - background-image: url("chrome://browser/skin/privatebrowsing/tracking-protection-off.svg"); -} - -.about-info { - font-size: .875em; -} - -.tpTitle { - margin-inline-end: 12px; -} - -.private strong { - color: var(--color-grey-lightest); - font-weight: normal; -} - -a.button { - padding: 5px 40px; - background-color: #381e59; - border: 1px solid #43256a; - border-radius: 4px; - text-decoration: none; - display: inline-block; -} - -/** - * We want to hide the checkbox in lieu of the toggle-btn - * "slider toggle". We need to make the toggle keyboard - * focusable, however, which is not possible if it's - * display:none. We work around this by making the toggle - * invisible but still present in the display list, allowing - * it to receive keyboard events. When it is focused by keyboard, - * we use the -moz-focusring selector on the invisible checkbox - * to show a focus ring around the slider toggle. - */ -.toggle-input { - opacity: 0; - width: 0; - pointer-events: none; - position: absolute; -} - -.toggle + .toggle-btn { - box-sizing: border-box; - cursor: pointer; - min-width: 60px; - height: 24px; - border-radius: 12px; - background-color: var(--color-grey); - border: 1px var(--color-grey) solid; - padding: 2px; -} - -.toggle + .toggle-btn::after, -.toggle + .toggle-btn::before { - position: relative; - display: block; - content: ""; - width: 19px; - height: 100%; -} - -.toggle + .toggle-btn::after { - left: 0; - box-shadow: 0 0 1px 1px hsla(0, 0%, 0%, .1), - 0 1px 0 hsla(0, 0%, 0%, .2); - border-radius: 50%; - background: white; - transition: left .2s ease; -} - -.toggle + .toggle-btn::before { - float: left; - left: 9px; - visibility: hidden; - background-size: 16px; - background-repeat: no-repeat; - background-color: transparent; - background-image: url("chrome://browser/skin/privatebrowsing/check.svg"); -} - -.toggle + .toggle-btn:dir(rtl)::after { - left: auto; - right: 0; - transition-property: right; -} - -.toggle + .toggle-btn:dir(rtl)::before { - float: right; - left: auto; - right: 9px; -} - -.toggle:checked + .toggle-btn { - background: #3fc455; - border: 1px solid #269939; -} - -.toggle:checked + .toggle-btn::after { - left: 35px; -} - -.toggle:checked + .toggle-btn:dir(rtl)::after { - right: 35px; -} - -.toggle:checked + .toggle-btn::before { - visibility: visible; -} - -.toggle:-moz-focusring + .toggle-btn { - outline: 2px solid rgba(0, 149, 221, 0.5); - outline-offset: 1px; - -moz-outline-radius: 2px; -} diff --git a/browser/themes/shared/privatebrowsing/attention.png b/browser/themes/shared/privatebrowsing/attention.png deleted file mode 100755 index 8706928ff..000000000 Binary files a/browser/themes/shared/privatebrowsing/attention.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/attention@2x.png b/browser/themes/shared/privatebrowsing/attention@2x.png deleted file mode 100755 index 5b32888c8..000000000 Binary files a/browser/themes/shared/privatebrowsing/attention@2x.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/check.png b/browser/themes/shared/privatebrowsing/check.png deleted file mode 100755 index 59ca51b7b..000000000 Binary files a/browser/themes/shared/privatebrowsing/check.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/check.svg b/browser/themes/shared/privatebrowsing/check.svg deleted file mode 100644 index a8e4bcc2b..000000000 --- a/browser/themes/shared/privatebrowsing/check.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - diff --git a/browser/themes/shared/privatebrowsing/check@2x.png b/browser/themes/shared/privatebrowsing/check@2x.png deleted file mode 100755 index 031685cbf..000000000 Binary files a/browser/themes/shared/privatebrowsing/check@2x.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/favicon.svg b/browser/themes/shared/privatebrowsing/favicon.svg deleted file mode 100644 index 6de9c6450..000000000 --- a/browser/themes/shared/privatebrowsing/favicon.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/browser/themes/shared/privatebrowsing/private-browsing.svg b/browser/themes/shared/privatebrowsing/private-browsing.svg deleted file mode 100644 index cc37bc4f3..000000000 --- a/browser/themes/shared/privatebrowsing/private-browsing.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - diff --git a/browser/themes/shared/privatebrowsing/shield-page.png b/browser/themes/shared/privatebrowsing/shield-page.png deleted file mode 100755 index 2ddcf34e9..000000000 Binary files a/browser/themes/shared/privatebrowsing/shield-page.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/shield-page@2x.png b/browser/themes/shared/privatebrowsing/shield-page@2x.png deleted file mode 100755 index 72a0b8273..000000000 Binary files a/browser/themes/shared/privatebrowsing/shield-page@2x.png and /dev/null differ diff --git a/browser/themes/shared/privatebrowsing/tracking-protection-off.svg b/browser/themes/shared/privatebrowsing/tracking-protection-off.svg deleted file mode 100644 index 7da0ca78a..000000000 --- a/browser/themes/shared/privatebrowsing/tracking-protection-off.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - diff --git a/browser/themes/shared/privatebrowsing/tracking-protection.svg b/browser/themes/shared/privatebrowsing/tracking-protection.svg deleted file mode 100644 index d22fe7df3..000000000 --- a/browser/themes/shared/privatebrowsing/tracking-protection.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - -- cgit v1.2.3