Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Add support Private Tab extension (#69) #311

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions theme/shared/browser/extensions/extensions.inc.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
% P
%include pinboard-extension.inc.css
%include pocket.inc.css
%include private-tab.inc.css
%include pushbullet.inc.css

% R
Expand Down
23 changes: 23 additions & 0 deletions theme/shared/browser/extensions/private-tab.inc.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
%if 0
/* Private Tab
* id: privateTab@infocatcher
* URL: https://addons.mozilla.org/firefox/addon/private-tab/ */
%endif

#privateTab-toolbar-openNewPrivateTab > .toolbarbutton-icon {
list-style-image: url(chrome://symbolic-icons/skin/extensions/private-tab.svg) !important;
}

#main-window[darkvariant] #privateTab-toolbar-openNewPrivateTab[cui-areatype="toolbar"] > .toolbarbutton-icon {
filter: url(chrome://browser/skin/symbolic-icons-colors.svg#white);
}

#privateTab-toolbar-openNewPrivateTab[cui-areatype="menu-panel"] > .toolbarbutton-icon,
toolbarpaletteitem[place="palette"] > #privateTab-toolbar-openNewPrivateTab > .toolbarbutton-icon {
opacity: 0.6;
}

#main-window[darkvariant="full"] #privateTab-toolbar-openNewPrivateTab[cui-areatype="menu-panel"] > .toolbarbutton-icon {
filter: url(chrome://browser/skin/symbolic-icons-colors.svg#white);
opacity: 0.8;
}
27 changes: 27 additions & 0 deletions theme/shared/symbolic-icons/extensions/private-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.