From f3e445f6e8587bf40eaa3609bf4f5bea2becdc4a Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Mon, 11 Jun 2018 09:52:55 +0200 Subject: [PALEMOON] Moving About permissions component files from components/preferences/ to components/permissions/ Issue #191 --- application/palemoon/themes/osx/jar.mn | 2 +- .../themes/osx/permissions/aboutPermissions.css | 151 +++++++++++++++++++++ .../themes/osx/preferences/aboutPermissions.css | 151 --------------------- 3 files changed, 152 insertions(+), 152 deletions(-) create mode 100644 application/palemoon/themes/osx/permissions/aboutPermissions.css delete mode 100644 application/palemoon/themes/osx/preferences/aboutPermissions.css (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index 28d779985..17d0637f7 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -123,6 +123,7 @@ browser.jar: skin/classic/browser/places/livemark-item.png (places/livemark-item.png) skin/classic/browser/places/expander-closed.png (places/expander-closed.png) skin/classic/browser/places/expander-open.png (places/expander-open.png) + skin/classic/browser/permissions/aboutPermissions.css (permissions/aboutPermissions.css) skin/classic/browser/preferences/alwaysAsk.png (preferences/alwaysAsk.png) skin/classic/browser/preferences/application.png (preferences/application.png) skin/classic/browser/preferences/mail.png (preferences/mail.png) @@ -133,7 +134,6 @@ browser.jar: skin/classic/browser/preferences/saveFile.png (preferences/saveFile.png) * skin/classic/browser/preferences/preferences.css (preferences/preferences.css) skin/classic/browser/preferences/applications.css (preferences/applications.css) - skin/classic/browser/preferences/aboutPermissions.css (preferences/aboutPermissions.css) #ifdef MOZ_BROWSER_STATUSBAR skin/classic/browser/statusbar/dynamic.css (../shared/statusbar/dynamic.css) * skin/classic/browser/statusbar/overlay.css (statusbar/overlay.css) diff --git a/application/palemoon/themes/osx/permissions/aboutPermissions.css b/application/palemoon/themes/osx/permissions/aboutPermissions.css new file mode 100644 index 000000000..de636f5c4 --- /dev/null +++ b/application/palemoon/themes/osx/permissions/aboutPermissions.css @@ -0,0 +1,151 @@ +/* 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/inContentUI.css"); + +/* header */ + +#permissions-pagetitle { + font-size: 200%; + font-weight: bold; + padding-bottom: 0.5em; +} + +/* sites box */ + +#sites-box { + padding: 10px; + width: 25em; +} + +#sites-filter { + margin: 0; +} + +#sites-list { + -moz-appearance: none; + border: 1px solid rgba(0, 0, 0, 0.32); + background-color: rgba(255, 255, 255, 0.4); + margin: 5px 0 0 0; +} + +.site { + padding: 4px; + border-bottom: 1px solid ThreeDLightShadow; +} + +.site-favicon { + height: 16px; + width: 16px; + -moz-margin-end: 4px; + list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); +} + +#all-sites-item > .site-container > .site-favicon { + list-style-image: none; +} + +/* permissions box */ + +#permissions-box { + padding-top: 10px; + overflow-y: auto; +} + +#site-description { + font-size: 125%; + -moz-margin-start: 6px; /* to match button margin */ +} + +#site-label { + font-weight: bold; + margin-top: 0; + margin-bottom: 0; +} + +#defaults-description { + font-size: 125%; + font-weight: bold; + -moz-margin-start: 6px; +} + +.pref-item { + margin-bottom: 10px; +} + +.pref-icon { + width: 36px; + height: 36px; + -moz-margin-end: 10px; +} + +.pref-icon[type="password"] { + list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); +} +.pref-icon[type="image"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="popup"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="cookie"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="desktop-notification"] { + list-style-image: url(chrome://browser/skin/web-notifications-icon.svg); +} +.pref-icon[type="install"] { + list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); +} +.pref-icon[type="geo"] { + list-style-image: url(chrome://browser/skin/Geolocation-64.png); +} +.pref-icon[type="indexedDB"] { + list-style-image: url(chrome://global/skin/icons/question-64.png); +} +.pref-icon[type="plugins"] { + list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); +} + +.pref-title { + font-size: 125%; + margin-bottom: 0; + font-weight: bold; + margin-right: 0; + padding-right: 0; +} + +.pref-default { + margin-left: 0.5em; + padding-left: 0; +} + +.pref-set-default { + visibility: collapse; +} + +.pref-menulist { + margin-left: 6px; + margin-right: 6px; + min-width: 10em; /* native menulists ellipsize their longest entries by default on many themes */ +} + +.plugins-label { + margin-right: 0; + padding-right: 0; +} + +.plugins-vulnerable { + margin-left: 0; + padding-left: 0; + margin-right: 0; + padding-right: 0; +} + +.plugins-default { + margin-left: 0.5em; + padding-left: 0; + margin-right: 1em; + padding-right: 0; +} diff --git a/application/palemoon/themes/osx/preferences/aboutPermissions.css b/application/palemoon/themes/osx/preferences/aboutPermissions.css deleted file mode 100644 index de636f5c4..000000000 --- a/application/palemoon/themes/osx/preferences/aboutPermissions.css +++ /dev/null @@ -1,151 +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/inContentUI.css"); - -/* header */ - -#permissions-pagetitle { - font-size: 200%; - font-weight: bold; - padding-bottom: 0.5em; -} - -/* sites box */ - -#sites-box { - padding: 10px; - width: 25em; -} - -#sites-filter { - margin: 0; -} - -#sites-list { - -moz-appearance: none; - border: 1px solid rgba(0, 0, 0, 0.32); - background-color: rgba(255, 255, 255, 0.4); - margin: 5px 0 0 0; -} - -.site { - padding: 4px; - border-bottom: 1px solid ThreeDLightShadow; -} - -.site-favicon { - height: 16px; - width: 16px; - -moz-margin-end: 4px; - list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png"); -} - -#all-sites-item > .site-container > .site-favicon { - list-style-image: none; -} - -/* permissions box */ - -#permissions-box { - padding-top: 10px; - overflow-y: auto; -} - -#site-description { - font-size: 125%; - -moz-margin-start: 6px; /* to match button margin */ -} - -#site-label { - font-weight: bold; - margin-top: 0; - margin-bottom: 0; -} - -#defaults-description { - font-size: 125%; - font-weight: bold; - -moz-margin-start: 6px; -} - -.pref-item { - margin-bottom: 10px; -} - -.pref-icon { - width: 36px; - height: 36px; - -moz-margin-end: 10px; -} - -.pref-icon[type="password"] { - list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); -} -.pref-icon[type="image"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); -} -.pref-icon[type="popup"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); -} -.pref-icon[type="cookie"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); -} -.pref-icon[type="desktop-notification"] { - list-style-image: url(chrome://browser/skin/web-notifications-icon.svg); -} -.pref-icon[type="install"] { - list-style-image: url(chrome://mozapps/skin/extensions/extensionGeneric.png); -} -.pref-icon[type="geo"] { - list-style-image: url(chrome://browser/skin/Geolocation-64.png); -} -.pref-icon[type="indexedDB"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); -} -.pref-icon[type="plugins"] { - list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); -} - -.pref-title { - font-size: 125%; - margin-bottom: 0; - font-weight: bold; - margin-right: 0; - padding-right: 0; -} - -.pref-default { - margin-left: 0.5em; - padding-left: 0; -} - -.pref-set-default { - visibility: collapse; -} - -.pref-menulist { - margin-left: 6px; - margin-right: 6px; - min-width: 10em; /* native menulists ellipsize their longest entries by default on many themes */ -} - -.plugins-label { - margin-right: 0; - padding-right: 0; -} - -.plugins-vulnerable { - margin-left: 0; - padding-left: 0; - margin-right: 0; - padding-right: 0; -} - -.plugins-default { - margin-left: 0.5em; - padding-left: 0; - margin-right: 1em; - padding-right: 0; -} -- cgit v1.2.3 From b5ef99dc4c38ea44bd53c59c610cba6b9f01fe8c Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 20 Jun 2018 17:57:59 +0200 Subject: Issue #517 Part 4: Fix tile pinning --- application/palemoon/themes/osx/newtab/newTab.css | 44 +++++++++++++++++++---- 1 file changed, 38 insertions(+), 6 deletions(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/newtab/newTab.css b/application/palemoon/themes/osx/newtab/newTab.css index d0403004a..83fb0a767 100644 --- a/application/palemoon/themes/osx/newtab/newTab.css +++ b/application/palemoon/themes/osx/newtab/newTab.css @@ -147,15 +147,47 @@ line-height: 24px; } +.newtab-site[pinned] .newtab-title { + padding-inline-start: 24px; +} + +.newtab-site[pinned] .newtab-title::before { + background-image: url(chrome://browser/skin/newtab/controls.png); + background-position: -74px -1px; + content: ""; + left: 2px; + top: 2px; + position: absolute; + width: 20px; + height: 20px; +} + +.newtab-site[pinned] .newtab-title:dir(rtl)::before { + left: auto; + right: 2px; +} + /* CONTROLS */ .newtab-control { - width: 24px; - height: 24px; - padding: 1px 2px 3px; + background-color: transparent; + background-size: 24px; border: none; + height: 24px; + width: 24px; + top: 4px; background: transparent url(chrome://browser/skin/newtab/controls.png); } +.newtab-control-pin:dir(ltr), +.newtab-control-block:dir(rtl) { + left: 4px; +} + +.newtab-control-block:dir(ltr), +.newtab-control-pin:dir(rtl) { + right: 4px; +} + .newtab-control-pin:hover { background-position: -24px 0; } @@ -164,15 +196,15 @@ background-position: -48px 0; } -.newtab-control-pin[pinned] { +.newtab-site[pinned] .newtab-control-pin { background-position: -72px 0; } -.newtab-control-pin[pinned]:hover { +.newtab-site[pinned] .newtab-control-pin:hover { background-position: -96px 0; } -.newtab-control-pin[pinned]:active { +.newtab-site[pinned] .newtab-control-pin:active { background-position: -120px 0; } -- cgit v1.2.3 From 072b81e0a5d4ea4dedc9ae98632a49b7cb4c24ef Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 21 Jun 2018 11:32:13 +0200 Subject: Issue #517 Part 6: Restyle for Pale Moon. This splits out common rules for different OSes to themes/shared and applies new styling to the newtab page. --- application/palemoon/themes/osx/jar.mn | 2 +- application/palemoon/themes/osx/newtab/newTab.css | 194 +--------------------- 2 files changed, 2 insertions(+), 194 deletions(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index 17d0637f7..4cc54c4b1 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -93,7 +93,7 @@ browser.jar: skin/classic/browser/feeds/videoFeedIcon16.png (feeds/feedIcon16.png) skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) - skin/classic/browser/newtab/newTab.css (newtab/newTab.css) +* skin/classic/browser/newtab/newTab.css (newtab/newTab.css) skin/classic/browser/newtab/controls.png (newtab/controls.png) skin/classic/browser/newtab/noise.png (newtab/noise.png) skin/classic/browser/places/places.css (places/places.css) diff --git a/application/palemoon/themes/osx/newtab/newTab.css b/application/palemoon/themes/osx/newtab/newTab.css index 83fb0a767..b8b0fd699 100644 --- a/application/palemoon/themes/osx/newtab/newTab.css +++ b/application/palemoon/themes/osx/newtab/newTab.css @@ -2,33 +2,7 @@ * 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/. */ -:root { - -moz-appearance: none; - font-size: 75%; - background-color: transparent; -} - -/* SCROLLBOX */ -#newtab-scrollbox:not([page-disabled]) { - background-color: rgb(229,229,229); - background-image: url(chrome://browser/skin/newtab/noise.png), - linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.2)); - background-attachment: fixed; -} - -/* UNDO */ -#newtab-undo-container { - padding: 4px 3px; - border: 1px solid; - border-color: rgba(8,22,37,.12) rgba(8,22,37,.14) rgba(8,22,37,.16); - background-color: rgba(255,255,255,.4); - color: #525e69; -} - -#newtab-undo-label { - margin-top: 0; - margin-bottom: 0; -} +%include ../../shared/newtab/newTab.css.inc .newtab-undo-button { -moz-appearance: none; @@ -43,14 +17,6 @@ min-width: 0; } -.newtab-undo-button:hover { - text-decoration: underline; -} - -.newtab-undo-button:-moz-focusring { - outline: 1px dotted; -} - .newtab-undo-button > .button-box { padding: 0; } @@ -61,161 +27,3 @@ border: none; -moz-user-focus: normal; } - -#newtab-undo-close-button > .toolbarbutton-text { - display: none; -} - -#newtab-undo-close-button:-moz-focusring { - outline: 1px dotted; -} - -/* TOGGLE */ -#newtab-toggle { - width: 16px; - height: 16px; - padding: 0; - border: none; - background: -216px 0 transparent url(chrome://browser/skin/newtab/controls.png); -} - -#newtab-toggle[page-disabled] { - background-position: -232px 0; -} - -/* ROWS */ -.newtab-row { - margin-bottom: 20px; -} - -.newtab-row:last-child { - margin-bottom: 0; -} - -/* CELLS */ -.newtab-cell { - -moz-margin-end: 20px; - background-color: rgba(255,255,255,.2); - border: 1px solid; - border-color: rgba(8,22,37,.12) rgba(8,22,37,.14) rgba(8,22,37,.16); - border-radius: 1px; - transition: border-color 100ms ease-out; -} - -.newtab-cell:empty { - border: 1px dashed; - border-color: rgba(8,22,37,.15) rgba(8,22,37,.17) rgba(8,22,37,.19); -} - -.newtab-cell:last-child { - -moz-margin-end: 0; -} - -.newtab-cell:hover:not(:empty):not([dragged]) { - border-color: rgba(8,22,37,.25) rgba(8,22,37,.27) rgba(8,22,37,.3); -} - -/* SITES */ -.newtab-site { - text-decoration: none; - transition-property: top, left, opacity, box-shadow, background-color; -} - -.newtab-site:hover, -.newtab-site[dragged] { - box-shadow: 0 0 10px rgba(8,22,37,.3); -} - -.newtab-site[dragged] { - transition-property: box-shadow, background-color; - background-color: rgb(242,242,242); -} - -/* THUMBNAILS */ -.newtab-thumbnail { - background-origin: padding-box; - background-clip: padding-box; - background-repeat: no-repeat; - background-size: cover; -} - -/* TITLES */ -.newtab-title { - padding: 0 8px; - background-color: rgba(248,249,251,.95); - color: #1f364c; - line-height: 24px; -} - -.newtab-site[pinned] .newtab-title { - padding-inline-start: 24px; -} - -.newtab-site[pinned] .newtab-title::before { - background-image: url(chrome://browser/skin/newtab/controls.png); - background-position: -74px -1px; - content: ""; - left: 2px; - top: 2px; - position: absolute; - width: 20px; - height: 20px; -} - -.newtab-site[pinned] .newtab-title:dir(rtl)::before { - left: auto; - right: 2px; -} - -/* CONTROLS */ -.newtab-control { - background-color: transparent; - background-size: 24px; - border: none; - height: 24px; - width: 24px; - top: 4px; - background: transparent url(chrome://browser/skin/newtab/controls.png); -} - -.newtab-control-pin:dir(ltr), -.newtab-control-block:dir(rtl) { - left: 4px; -} - -.newtab-control-block:dir(ltr), -.newtab-control-pin:dir(rtl) { - right: 4px; -} - -.newtab-control-pin:hover { - background-position: -24px 0; -} - -.newtab-control-pin:active { - background-position: -48px 0; -} - -.newtab-site[pinned] .newtab-control-pin { - background-position: -72px 0; -} - -.newtab-site[pinned] .newtab-control-pin:hover { - background-position: -96px 0; -} - -.newtab-site[pinned] .newtab-control-pin:active { - background-position: -120px 0; -} - -.newtab-control-block { - background-position: -144px 0; -} - -.newtab-control-block:hover { - background-position: -168px 0; -} - -.newtab-control-block:active { - background-position: -192px 0; -} -- cgit v1.2.3 From f583627901210050d1d9dabc661abfa82f0d4231 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Fri, 22 Jun 2018 16:53:06 +0200 Subject: Improve newtab styling - De-duplicate controls - Improve title text position - Improve pinned site indicator --- application/palemoon/themes/osx/jar.mn | 5 +++-- application/palemoon/themes/osx/newtab/controls.png | Bin 4180 -> 0 bytes application/palemoon/themes/osx/newtab/noise.png | Bin 2118 -> 0 bytes 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 application/palemoon/themes/osx/newtab/controls.png delete mode 100644 application/palemoon/themes/osx/newtab/noise.png (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index 4cc54c4b1..e0c1ccbba 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -94,8 +94,9 @@ browser.jar: skin/classic/browser/feeds/subscribe.css (feeds/subscribe.css) skin/classic/browser/feeds/subscribe-ui.css (feeds/subscribe-ui.css) * skin/classic/browser/newtab/newTab.css (newtab/newTab.css) - skin/classic/browser/newtab/controls.png (newtab/controls.png) - skin/classic/browser/newtab/noise.png (newtab/noise.png) + skin/classic/browser/newtab/controls.png (../shared/newtab/controls.png) + skin/classic/browser/newtab/noise.png (../shared/newtab/noise.png) + skin/classic/browser/newtab/pinned.png (../shared/newtab/pinned.png) skin/classic/browser/places/places.css (places/places.css) * skin/classic/browser/places/organizer.css (places/organizer.css) skin/classic/browser/places/editBookmark.png (places/editBookmark.png) diff --git a/application/palemoon/themes/osx/newtab/controls.png b/application/palemoon/themes/osx/newtab/controls.png deleted file mode 100644 index 14f382fbd..000000000 Binary files a/application/palemoon/themes/osx/newtab/controls.png and /dev/null differ diff --git a/application/palemoon/themes/osx/newtab/noise.png b/application/palemoon/themes/osx/newtab/noise.png deleted file mode 100644 index 01d340aaa..000000000 Binary files a/application/palemoon/themes/osx/newtab/noise.png and /dev/null differ -- cgit v1.2.3 From e4b01ba84463fbaf5209ae8d2bb6a612f491bb5b Mon Sep 17 00:00:00 2001 From: Lootyhoof Date: Sat, 30 Jun 2018 01:54:26 +0100 Subject: Add tabbrowser findbar styling for Linux and OSX --- application/palemoon/themes/osx/browser.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 485ed9115..a8e86ff5c 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -1348,6 +1348,12 @@ richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url- -moz-padding-start: 0px; } +.browserContainer > findbar { + background-color: -moz-dialog; + color: -moz-DialogText; + text-shadow: none; +} + /* ::::: throbber ::::: */ #navigator-throbber { -- cgit v1.2.3 From 1e48edfc97fa993372330c182bb4b0cd9c56b92e Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Mon, 2 Jul 2018 21:20:26 +0200 Subject: Bug 1334411 - Remove the UI for indexedDB in Page Info and Permissions Manager --- application/palemoon/themes/osx/permissions/aboutPermissions.css | 3 --- 1 file changed, 3 deletions(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/permissions/aboutPermissions.css b/application/palemoon/themes/osx/permissions/aboutPermissions.css index de636f5c4..406bb9204 100644 --- a/application/palemoon/themes/osx/permissions/aboutPermissions.css +++ b/application/palemoon/themes/osx/permissions/aboutPermissions.css @@ -101,9 +101,6 @@ .pref-icon[type="geo"] { list-style-image: url(chrome://browser/skin/Geolocation-64.png); } -.pref-icon[type="indexedDB"] { - list-style-image: url(chrome://global/skin/icons/question-64.png); -} .pref-icon[type="plugins"] { list-style-image: url(chrome://mozapps/skin/plugins/pluginGeneric.png); } -- cgit v1.2.3 From b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71 Mon Sep 17 00:00:00 2001 From: SpockFan02 Date: Tue, 3 Jul 2018 17:06:41 +0000 Subject: Mac: Do not hide caption buttons or titlebar on private browsing windows or with a lightweight theme installed. This resolves #491. This resolves #584. Tag https://github.com/MoonchildProductions/Pale-Moon/issues/623 --- application/palemoon/themes/osx/browser.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index a8e86ff5c..b35d38bc0 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -127,8 +127,8 @@ } /* ensure extra titlebar doesn't appear on normal (e.g. non-privacy) windows */ -#titlebar-buttonbox-container, -#main-window:not([drawintitlebar=true]) > #titlebar { +#main-window:not([privatebrowsingmode=temporary]) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window:not([drawintitlebar=true]):not(:-moz-lwtheme) > #titlebar { display: none; } -- cgit v1.2.3 From e8120c7c8046773ee2b1c8d3cfcffca9819ac7d3 Mon Sep 17 00:00:00 2001 From: SpockFan02 Date: Tue, 3 Jul 2018 18:20:07 +0000 Subject: Don't hide caption buttons with a lw theme, either Follow-up to #585. I removed this from the PR, but it's actually needed, otherwise the caption buttons are hidden with a lightweight theme! --- application/palemoon/themes/osx/browser.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index b35d38bc0..fe4cdbf11 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -127,7 +127,7 @@ } /* ensure extra titlebar doesn't appear on normal (e.g. non-privacy) windows */ -#main-window:not([privatebrowsingmode=temporary]) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window:not([privatebrowsingmode=temporary]):not(-moz-lwtheme) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, #main-window:not([drawintitlebar=true]):not(:-moz-lwtheme) > #titlebar { display: none; } -- cgit v1.2.3 From 6d356ee9506efb3d833e97ece95c0ec47c839735 Mon Sep 17 00:00:00 2001 From: Lootyhoof Date: Wed, 4 Jul 2018 22:47:25 +0100 Subject: Adjust popup ID for password manager --- application/palemoon/themes/osx/browser.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index fe4cdbf11..8d3784afd 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -1914,8 +1914,7 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url(chrome://global/skin/icons/question-64.png); } -.popup-notification-icon[popupid="password-save"], -.popup-notification-icon[popupid="password-change"] { +.popup-notification-icon[popupid="password"] { list-style-image: url(chrome://mozapps/skin/passwordmgr/key-64.png); } -- cgit v1.2.3 From 86d78f68c961cfecdeecc9d950079e3dc4ca4581 Mon Sep 17 00:00:00 2001 From: SpockMan02 Date: Sun, 8 Jul 2018 18:15:30 -0700 Subject: Pale Moon: Restore osx private browsing indicator --- application/palemoon/themes/osx/browser.css | 64 +++++++++++++++++---- application/palemoon/themes/osx/jar.mn | 2 + .../palemoon/themes/osx/privatebrowsing-mask.png | Bin 0 -> 1074 bytes .../themes/osx/privatebrowsing-mask@2x.png | Bin 0 -> 2639 bytes 4 files changed, 55 insertions(+), 11 deletions(-) create mode 100644 application/palemoon/themes/osx/privatebrowsing-mask.png create mode 100644 application/palemoon/themes/osx/privatebrowsing-mask@2x.png (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 8d3784afd..bf26be077 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -27,6 +27,11 @@ border-top: none; } +#main-window { + -moz-appearance: none; + background-color: #eeeeee; +} + #navigator-toolbox::after { content: ""; display: -moz-box; @@ -79,7 +84,7 @@ /* ::::: titlebar ::::: */ -#main-window[sizemode="normal"] > #titlebar { +#main-window[sizemode="normal"]:not([privatebrowsingmode=temporary]) > #titlebar { -moz-appearance: -moz-window-titlebar; } @@ -2405,19 +2410,56 @@ toolbar[brighttext] #addonbar-closebutton { right: auto; } -#main-window[privatebrowsingmode=temporary] #toolbar-menubar { - background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); - background-position: top right; - background-repeat: no-repeat; +#main-window[privatebrowsingmode=temporary] { + background-image: url("chrome://browser/skin/privatebrowsing-mask.png"); + background-position: top right; + background-repeat: no-repeat; + background-color: moz-mac-chrome-active; } -#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { - background-position: top left; +@media (min-resolution: 2dppx) { + #main-window[privatebrowsingmode=temporary] { + background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png"); + background-size: 38px; + } } -#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { - list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); - width: 20px; - height: 16px; +#main-window[privatebrowsingmode=temporary] { + background-position: top right 40px; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen] { + background-position: top right 10px; +} + +#main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) { + background-position: top left 70px; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen]:-moz-locale-dir(rtl) { + background-position: top left 10px; } +#main-window[privatebrowsingmode=temporary]:-moz-window-inactive { + background-color: -moz-mac-chrome-inactive; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen] #nav-bar[tabsontop=false] { + -moz-padding-end: 50px !important; +} + +@media (-moz-mac-lion-theme) { + #main-window[privatebrowsingmode=temporary][inFullscreen] #TabsToolbar[tabsontop=true] { + -moz-padding-end: 50px; + } +} + +@media not all and (-moz-mac-lion-theme) { + #main-window[privatebrowsingmode=temporary] { + background-position: top right 10px; + } + + #main-window[privatebrowsingmode=temporary][inFullscreen][tabsontop=true] #window-controls { + -moz-padding-end: 50px; + } +} diff --git a/application/palemoon/themes/osx/jar.mn b/application/palemoon/themes/osx/jar.mn index e0c1ccbba..8f1ed0341 100644 --- a/application/palemoon/themes/osx/jar.mn +++ b/application/palemoon/themes/osx/jar.mn @@ -50,6 +50,8 @@ browser.jar: skin/classic/browser/Privacy-16.png skin/classic/browser/Privacy-32.png skin/classic/browser/Privacy-48.png + skin/classic/browser/privatebrowsing-mask.png + skin/classic/browser/privatebrowsing-mask@2x.png skin/classic/browser/privatebrowsing-light.png skin/classic/browser/privatebrowsing-dark.png skin/classic/browser/reload-stop-go.png diff --git a/application/palemoon/themes/osx/privatebrowsing-mask.png b/application/palemoon/themes/osx/privatebrowsing-mask.png new file mode 100644 index 000000000..92f60e29f Binary files /dev/null and b/application/palemoon/themes/osx/privatebrowsing-mask.png differ diff --git a/application/palemoon/themes/osx/privatebrowsing-mask@2x.png b/application/palemoon/themes/osx/privatebrowsing-mask@2x.png new file mode 100644 index 000000000..ec1cf7452 Binary files /dev/null and b/application/palemoon/themes/osx/privatebrowsing-mask@2x.png differ -- cgit v1.2.3 From 882aabaf2185c16660a9fbb2fa1c4b3667e83373 Mon Sep 17 00:00:00 2001 From: SpockMan02 Date: Sun, 8 Jul 2018 19:11:17 -0700 Subject: Pale Moon: Fix positioning of caption buttons in application-drawn titlebar --- application/palemoon/themes/osx/browser.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 8d3784afd..f643b0fc2 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -132,6 +132,11 @@ display: none; } +#titlebar-buttonbox-container { + margin-left: 7px; + margin-top: 3px; +} + /* ::::: bookmark toolbar ::::: */ #personal-bookmarks { -- cgit v1.2.3 From f0d9eddfb685e67342dad019c6f5899efbcd7601 Mon Sep 17 00:00:00 2001 From: SpockFan02 Date: Tue, 10 Jul 2018 06:59:04 +0000 Subject: Fix typo --- application/palemoon/themes/osx/browser.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon/themes/osx') diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index bf26be077..ea8533b17 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -132,7 +132,7 @@ } /* ensure extra titlebar doesn't appear on normal (e.g. non-privacy) windows */ -#main-window:not([privatebrowsingmode=temporary]):not(-moz-lwtheme) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, +#main-window:not([privatebrowsingmode=temporary]):not(:-moz-lwtheme) > #titlebar > #titlebar-content > #titlebar-buttonbox-container, #main-window:not([drawintitlebar=true]):not(:-moz-lwtheme) > #titlebar { display: none; } -- cgit v1.2.3