mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
parent
3211cce891
commit
4db9b4b2bb
3 changed files with 30 additions and 1 deletions
|
|
@ -31,11 +31,21 @@ menubar, toolbar[type="menubar"] {
|
|||
padding: 1px 0px;
|
||||
}
|
||||
|
||||
|
||||
%ifdef MOZ_AUSTRALIS
|
||||
menubar:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
-moz-appearance: none;
|
||||
color: inherit;
|
||||
}
|
||||
%else
|
||||
menubar:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
-moz-appearance: none;
|
||||
color: inherit;
|
||||
border-style: none;
|
||||
}
|
||||
%endif
|
||||
|
||||
/* in browser.xul, the menubar is inside a toolbar... */
|
||||
toolbaritem > menubar {
|
||||
|
|
|
|||
|
|
@ -16,12 +16,21 @@ toolbar {
|
|||
-moz-appearance: toolbar;
|
||||
}
|
||||
|
||||
%ifdef MOZ_AUSTRALIS
|
||||
menubar:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
-moz-appearance: none;
|
||||
background: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
%else
|
||||
menubar:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
-moz-appearance: none;
|
||||
background: none;
|
||||
border-style: none;
|
||||
}
|
||||
%endif
|
||||
|
||||
menubar {
|
||||
-moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */
|
||||
|
|
|
|||
|
|
@ -37,7 +37,8 @@ toolbar:first-child, menubar {
|
|||
}
|
||||
|
||||
/* ::::: lightweight theme ::::: */
|
||||
|
||||
|
||||
%ifdef MOZ_AUSTRALIS
|
||||
menubar:-moz-lwtheme,
|
||||
toolbox:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
|
|
@ -45,6 +46,15 @@ toolbar:-moz-lwtheme {
|
|||
background: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
%else
|
||||
menubar:-moz-lwtheme,
|
||||
toolbox:-moz-lwtheme,
|
||||
toolbar:-moz-lwtheme {
|
||||
-moz-appearance: none;
|
||||
background: none;
|
||||
border-style: none;
|
||||
}
|
||||
%endif
|
||||
|
||||
/* ::::: toolbar decorations ::::: */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue