mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 10:18:38 +09:00
[Pale-Moon] Add MOZ_CAN_DRAW_IN_TITLEBAR to OS X theme
This commit is contained in:
parent
485fd40870
commit
fbf2c3a044
1 changed files with 13 additions and 2 deletions
|
|
@ -93,6 +93,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Blend the topmost toolbar with the titlebar */
|
/* Blend the topmost toolbar with the titlebar */
|
||||||
|
%ifdef MOZ_CAN_DRAW_IN_TITLEBAR
|
||||||
#main-window[tabsontop=false]:not([privatebrowsingmode=temporary]) #nav-bar:not(:-moz-lwtheme),
|
#main-window[tabsontop=false]:not([privatebrowsingmode=temporary]) #nav-bar:not(:-moz-lwtheme),
|
||||||
#main-window[tabsontop=false]:not([privatebrowsingmode=temporary]) #PersonalToolbar[collapsed=true]
|
#main-window[tabsontop=false]:not([privatebrowsingmode=temporary]) #PersonalToolbar[collapsed=true]
|
||||||
~ #TabsToolbar:not(:-moz-lwtheme),
|
~ #TabsToolbar:not(:-moz-lwtheme),
|
||||||
|
|
@ -110,6 +111,14 @@
|
||||||
#main-window[tabsontop=false][privatebrowsingmode=temporary] #nav-bar:not(:-moz-lwtheme) {
|
#main-window[tabsontop=false][privatebrowsingmode=temporary] #nav-bar:not(:-moz-lwtheme) {
|
||||||
border-bottom: 1px solid rgba(26,26,26,0.2);
|
border-bottom: 1px solid rgba(26,26,26,0.2);
|
||||||
}
|
}
|
||||||
|
%else
|
||||||
|
#main-window[tabsontop=false] #nav-bar:not(:-moz-lwtheme),
|
||||||
|
#main-window[tabsontop=false] #PersonalToolbar[collapsed=true]
|
||||||
|
~ #TabsToolbar:not(:-moz-lwtheme),
|
||||||
|
#main-window[tabsontop=true] #TabsToolbar:not(:-moz-lwtheme) {
|
||||||
|
-moz-appearance: toolbar;
|
||||||
|
}
|
||||||
|
%endif
|
||||||
|
|
||||||
#personal-bookmarks {
|
#personal-bookmarks {
|
||||||
min-height: 24px;
|
min-height: 24px;
|
||||||
|
|
@ -124,7 +133,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
%ifdef MOZ_CAN_DRAW_IN_TITLEBAR
|
||||||
/* ::::: titlebar ::::: */
|
/* ::::: titlebar ::::: */
|
||||||
|
|
||||||
#main-window[sizemode="normal"]:not([privatebrowsingmode=temporary]) > #titlebar {
|
#main-window[sizemode="normal"]:not([privatebrowsingmode=temporary]) > #titlebar {
|
||||||
|
|
@ -180,7 +189,7 @@
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
%endif
|
||||||
/* ::::: bookmark toolbar ::::: */
|
/* ::::: bookmark toolbar ::::: */
|
||||||
|
|
||||||
#personal-bookmarks {
|
#personal-bookmarks {
|
||||||
|
|
@ -2799,6 +2808,7 @@ toolbar[brighttext] #addonbar-closebutton {
|
||||||
right: auto;
|
right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%ifdef MOZ_CAN_DRAW_IN_TITLEBAR
|
||||||
#main-window[privatebrowsingmode=temporary] {
|
#main-window[privatebrowsingmode=temporary] {
|
||||||
background-image: url("chrome://browser/skin/privatebrowsing-mask.png");
|
background-image: url("chrome://browser/skin/privatebrowsing-mask.png");
|
||||||
background-position: top right;
|
background-position: top right;
|
||||||
|
|
@ -2852,3 +2862,4 @@ toolbar[brighttext] #addonbar-closebutton {
|
||||||
padding-inline-end: 50px;
|
padding-inline-end: 50px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
%endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue