Bug 1676680 - Unify/simplify the dark theme selectors. r=aleca

--HG--
rename : mail/base/content/quickFilterBar.css => mail/themes/shared/mail/quickFilterBar.css
This commit is contained in:
Richard Marti 2020-11-07 23:40:45 +01:00
Родитель 47359f1d9b
Коммит e6c00853d2
35 изменённых файлов: 104 добавлений и 217 удалений

Просмотреть файл

@ -577,7 +577,7 @@
<!-- toolboxid is set here since we move the toolbar around in tabs -->
<toolbar is="customizable-toolbar" id="event-toolbar"
toolboxid="event-toolbox"
class="chromeclass-toolbar"
class="chromeclass-toolbar themeable-full"
customizable="true"
labelalign="end"
defaultlabelalign="end"

Просмотреть файл

@ -62,7 +62,7 @@
defaultlabelalign="end">
<toolbar id="summary-toolbar"
toolboxid="summary-toolbox"
class="chromeclass-toolbar"
class="chromeclass-toolbar themeable-full"
customizable="false"
labelalign="end"
defaultlabelalign="end">

Просмотреть файл

@ -56,7 +56,7 @@
#other-actions-box {
display: flex;
justify-content: end;
padding-bottom: 0.3em;
padding-block: 2px 0.3em;
}
#task-addition-box {
@ -143,6 +143,7 @@
#view-task-edit-field {
margin: 5px;
padding-block: 0;
}
.task-edit-field[readonly="true"] {

Просмотреть файл

@ -24,10 +24,6 @@
padding-top: 1px;
}
#other-actions-box {
margin-inline-end: -1px;
}
#task-text-filter-field {
margin: 5px;
}

Просмотреть файл

@ -11,19 +11,13 @@
overflow: hidden;
}
#other-actions-box {
margin-inline-end: 3px;
}
#task-addition-box {
background: linear-gradient(#eaeaea, #d1d1d1);
border-bottom-color: #bebebe
}
/* Hide the search glass */
.task-edit-field {
margin-top: 0;
margin-bottom: 0;
margin-block: 0;
background-image: none;
padding-inline-start: 4px !important;
}
@ -44,5 +38,5 @@
}
#calendar-add-task-button > .toolbarbutton-text {
margin-inline-start: 0px;
margin-inline-start: 0;
}

Просмотреть файл

@ -12,13 +12,8 @@
overflow: hidden;
}
#other-actions-box {
margin-inline-end: -2px;
}
#task-text-filter-field {
margin-top: 5px;
margin-bottom: 5px;
margin-block: 5px;
}
#task-text-filter-field .textbox-search-icons {
@ -67,7 +62,6 @@
(-moz-os-version: windows-win7) {
#view-task-edit-field,
#task-text-filter-field {
margin-top: 4px;
margin-bottom: 4px;
margin-block: 4px;
}
}

Просмотреть файл

@ -64,7 +64,7 @@
tooltiptext="&lightning.toolbar.appmenuButton1.tooltip;"/>
</toolbarpalette>
<toolbar is="customizable-toolbar" id="calendar-toolbar2"
class="inline-toolbar chromeclass-toolbar"
class="inline-toolbar chromeclass-toolbar themeable-full"
toolbarname="&lightning.toolbar.calendar.name;"
accesskey="&lightning.toolbar.calendar.name.accesskey;"
fullscreentoolbar="true" mode="full"
@ -78,7 +78,7 @@
<calendar-modevbox id="task-toolbox-container"
mode="task">
<toolbox id="task-toolbox"
class="mail-toolbox"
class="mail-toolbox themeable-full"
mode="full"
defaultmode="full"
iconsize="small"
@ -124,7 +124,7 @@
tooltiptext="&lightning.toolbar.appmenuButton1.tooltip;"/>
</toolbarpalette>
<toolbar is="customizable-toolbar" id="task-toolbar2"
class="inline-toolbar chromeclass-toolbar"
class="inline-toolbar chromeclass-toolbar themeable-full"
toolbarname="&lightning.toolbar.task.name;"
accesskey="&lightning.toolbar.task.name.accesskey;"
fullscreentoolbar="true" mode="full"
@ -183,7 +183,7 @@
class="treenode-checkbox"
flex="1"
label="&calendar.list.header.label;"/>
<toolbarbutton class="toolbarbutton-1 calendar-list-create"
<toolbarbutton class="toolbarbutton-1 calendar-list-create themeable-brighttext"
command="calendar_new_calendar_command"
tooltiptext="&calendar.context.newserver.label;"/>
</hbox>
@ -433,7 +433,7 @@
<hbox id="calendar-deactivated-notification-location-tasks">
<!-- Calendar deactivated notificationbox for tasks will be added here lazily. -->
</hbox>
<hbox id="task-addition-box" align="center">
<hbox id="task-addition-box" class="themeable-brighttext" align="center">
<box align="center" flex="1">
<toolbarbutton id="calendar-add-task-button"
label="&calendar.newtask.button.label;"
@ -472,8 +472,8 @@
hidden="true">
<hbox id="calendar-task-details">
<hbox id="other-actions-box">
<vbox id="task-actions-toolbox">
<hbox id="task-actions-toolbar" class="toolbar">
<vbox id="task-actions-toolbox" class="inline-toolbox">
<hbox id="task-actions-toolbar" class="themeable-brighttext">
<toolbarbutton id="task-actions-category"
type="menu"
wantdropmarker="true"

Просмотреть файл

@ -125,7 +125,7 @@
toolbarname="&event.menu.view.toolbars.event.label;"
accesskey="&event.menu.view.toolbars.event.accesskey;"
toolboxid="event-toolbox"
class="chromeclass-toolbar inline-toolbar"
class="chromeclass-toolbar inline-toolbar themeable-full"
customizable="true"
labelalign="end"
defaultlabelalign="end"

Просмотреть файл

@ -84,7 +84,7 @@
#endif
</keyset>
<vbox id="searchTerms" flex="3" persist="height">
<vbox id="searchTerms" class="themeable-brighttext" flex="3" persist="height">
<vbox>
<hbox align="center">
<label value="&searchHeading.label;" accesskey="&searchHeading.accesskey;"

Просмотреть файл

@ -421,7 +421,7 @@
-->
<toolbar is="customizable-toolbar" id="mail-bar3"
class="inline-toolbar chromeclass-toolbar"
class="inline-toolbar chromeclass-toolbar themeable-full"
toolbarname="&showMessengerToolbarCmd.label;"
accesskey="&showMessengerToolbarCmd.accesskey;"
fullscreentoolbar="true" mode="full"

Просмотреть файл

@ -18,7 +18,7 @@
<toolbox id="navigation-toolbox" class="toolbox-top" labelalign="end" defaultlabelalign="end">
<!-- Menu -->
<toolbar is="customizable-toolbar" id="mail-toolbar-menubar2"
class="chromeclass-menubar"
class="chromeclass-menubar themeable-full"
type="menubar"
customizable="true"
toolboxid="mail-toolbox"

Просмотреть файл

@ -562,6 +562,7 @@
</box>
<toolbar is="customizable-toolbar" id="tabbar-toolbar" toolboxid="mail-toolbox"
class="themeable-full"
context="toolbar-context-menu"
customizable="true"
mode="icons" defaultmode="icons" lockmode="true"
@ -816,7 +817,7 @@
</tabmail>
<vbox id="contentTab" collapsed="true">
<vbox flex="1" class="contentTabInstance">
<vbox id="dummycontenttoolbox" class="contentTabToolbox">
<vbox id="dummycontenttoolbox" class="contentTabToolbox themeable-full">
<hbox id="dummycontenttoolbar" class="contentTabToolbar">
<toolbarbutton class="back-btn nav-button"
tooltiptext="&browseBackButton.tooltip;"
@ -841,7 +842,7 @@
<vbox id="chromeTab" collapsed="true">
<vbox flex="1" class="chromeTabInstance">
<vbox id="dummychrometoolbox" class="contentTabToolbox">
<vbox id="dummychrometoolbox" class="contentTabToolbox themeable-full">
<hbox id="dummychrometoolbar" class="contentTabToolbar"></hbox>
</vbox>
<browser id="dummychromebrowser" flex="1"
@ -853,7 +854,7 @@
<vbox id="glodaTab" collapsed="true">
<vbox flex="1" class="chromeTabInstance">
<vbox class="contentTabToolbox">
<vbox class="contentTabToolbox themeable-full">
<hbox class="glodaTabToolbar inline-toolbar chromeclass-toolbar" flex="1">
<spacer flex="1" />
<spacer flex="1" />

Просмотреть файл

@ -18,7 +18,7 @@
<hbox id="expandedHeadersTopBox">
<vbox id="header-view-toolbox" class="inline-toolbox">
<hbox id="header-view-toolbar" class="toolbar">
<hbox id="header-view-toolbar" class="themeable-brighttext">
<!-- XXXdmose need to move these commands to a controller, either
on the header view, the message pane, or the default
controller -->
@ -441,7 +441,7 @@
<hbox id="cryptoBox" class="crypto-container" align="center"
collapsed="true">
<html:button id="encryptionTechBtn"
class="toolbarbutton-1 crypto-button"
class="toolbarbutton-1 crypto-button themeable-brighttext"
onclick="showMessageReadSecurityInfo();"
onkeypress="if (event.key == 'Enter') { showMessageReadSecurityInfo(); }">
<html:span class="crypto-label"></html:span>

Просмотреть файл

@ -2,7 +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/.
<vbox id="quick-filter-bar">
<vbox id="quick-filter-bar" class="themeable-brighttext">
<hbox id="quick-filter-bar-main-bar" align="center"
onoverflow="QuickFilterBarMuxer.onOverflow();"
>

Просмотреть файл

@ -98,7 +98,6 @@ messenger.jar:
content/messenger/glodaFacetVis.js (content/glodaFacetVis.js)
content/messenger/glodaFacet.js (content/glodaFacet.js)
content/messenger/quickFilterBar.js (content/quickFilterBar.js)
content/messenger/quickFilterBar.css (content/quickFilterBar.css)
content/messenger/browserRequest.js (content/browserRequest.js)
content/messenger/browserRequest.xhtml (content/browserRequest.xhtml)
* content/messenger/safeMode.xhtml (content/safeMode.xhtml)

Просмотреть файл

@ -102,14 +102,14 @@
<vbox id="results_box" flex="1">
<separator class="thin"/>
<hbox id="AbPickerHeader" class="toolbar">
<hbox id="AbPickerHeader" class="themeable-full">
<label value="&addressbookPicker.label;" accesskey="&addressbookPicker.accesskey;" control="addressbookList"/>
<spacer flex="1"/>
<button id="abContextMenuButton"
tooltiptext="&abContextMenuButton.tooltip;"
oncommand="abContextMenuButtonOnCommand(event);"/>
</hbox>
<hbox id="panel-bar" class="toolbar" align="center">
<hbox id="panel-bar" class="themeable-full" align="center">
<menulist is="menulist-addrbooks" id="addressbookList"
alladdressbooks="true"
oncommand="AddressBookMenuListChange(this.value);"

Просмотреть файл

@ -58,7 +58,7 @@
<command id="cmd_deleteCard" oncommand="onDelete();"/>
</commandset>
<vbox id="searchTerms" flex="3" persist="height">
<vbox id="searchTerms" class="themeable-brighttext" flex="3" persist="height">
<vbox>
<hbox align="center">
<label value="&abSearchHeading.label;" accesskey="&abSearchHeading.accesskey;" control="abPopup"/>

Просмотреть файл

@ -299,7 +299,7 @@
</vbox>
#endif
<toolbar is="customizable-toolbar" id="addrbook-toolbar-menubar2"
class="chromeclass-menubar"
class="chromeclass-menubar themeable-full"
type="menubar"
customizable="true"
#ifdef XP_MACOSX
@ -699,7 +699,8 @@
</toolbaritem>
</toolbarpalette>
<!-- toolbar -->
<toolbar is="customizable-toolbar" id="ab-bar2" class="chromeclass-toolbar"
<toolbar is="customizable-toolbar" id="ab-bar2"
class="chromeclass-toolbar themeable-full"
toolbarname="&showAbToolbarCmd.label;"
accesskey="&showAbToolbarCmd.accesskey;"
fullscreentoolbar="true" mode="full"

Просмотреть файл

@ -846,7 +846,7 @@
<!-- Menu -->
<!-- if you change the id of the menubar, be sure to update mailCore.js::CustomizeMailToolbar and MailToolboxCustomizeDone -->
<toolbar is="customizable-toolbar" id="compose-toolbar-menubar2"
class="chromeclass-menubar"
class="chromeclass-menubar themeable-full"
type="menubar"
customizable="true"
#ifdef XP_MACOSX
@ -2103,7 +2103,9 @@
type="checkbox" autoCheck="false"
command="cmd_toggleReturnReceipt"/>
</toolbarpalette>
<toolbar is="customizable-toolbar" id="composeToolbar2" class="chromeclass-toolbar"
<toolbar is="customizable-toolbar"
id="composeToolbar2"
class="chromeclass-toolbar themeable-full"
toolbarname="&showCompositionToolbarCmd.label;"
accesskey="&showCompositionToolbarCmd.accesskey;"
fullscreentoolbar="true" mode="full"
@ -2132,8 +2134,9 @@
<splitter id="sidebar-splitter" hidden="true"/>
<vbox id="headers-parent" flex="1">
<toolbox id="headers-box" class="toolbox-top" mode="icons">
<toolbox id="headers-box" class="toolbox-top themeable-full" mode="icons">
<toolbar is="customizable-toolbar" id="MsgHeadersToolbar"
class="themeable-full"
persist="collapsed"
flex="1"
customizable="true" nowindowdrag="true"
@ -2508,7 +2511,7 @@
<toolbox id="FormatToolbox" mode="icons">
<toolbar is="customizable-toolbar" id="FormatToolbar"
class="chromeclass-toolbar"
class="chromeclass-toolbar themeable-brighttext"
persist="collapsed"
customizable="true" nowindowdrag="true">
#include editFormatButtons.inc.xhtml

Просмотреть файл

@ -81,7 +81,7 @@
hidden="hidden"/>
</stack>
</hbox>
<hbox class="otr-container"
<hbox class="otr-container themeable-brighttext"
align="middle"
hidden="true">
<label class="otr-label"

Просмотреть файл

@ -7,7 +7,7 @@
mode="full" defaultmode="full"
labelalign="end" defaultlabelalign="end">
<toolbar is="customizable-toolbar" id="chat-toolbar"
class="inline-toolbar chromeclass-toolbar"
class="inline-toolbar chromeclass-toolbar themeable-full"
fullscreentoolbar="true"
customizable="true"
context="chat-toolbar-context-menu"

Просмотреть файл

@ -237,42 +237,14 @@ menulist:-moz-locale-dir(rtl)::part(label-box) {
}
toolbarbutton.formatting-button {
appearance: none;
border: 1px solid transparent;
border-radius: var(--toolbarbutton-border-radius);
margin: 1px;
color: inherit;
-moz-context-properties: fill;
fill: currentColor;
transition-property: background-color, border-color, box-shadow;
transition-duration: 150ms;
}
toolbarbutton.formatting-button:not([disabled="true"]):hover {
background: var(--toolbarbutton-hover-background);
border-color: var(--toolbarbutton-hover-bordercolor);
box-shadow: var(--toolbarbutton-hover-boxshadow);
}
toolbarbutton.formatting-button:not([disabled="true"]):is([open="true"],[checked="true"],:hover:active) {
background: var(--toolbarbutton-active-background);
border-color: var(--toolbarbutton-active-bordercolor);
box-shadow: var(--toolbarbutton-active-boxshadow);
}
.formatting-button > .toolbarbutton-menu-dropmarker {
appearance: none !important;
list-style-image: url("chrome://messenger/skin/messengercompose/format-dropmarker.svg");
-moz-context-properties: fill;
fill: currentColor;
margin-inline-start: 3px;
}
toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
.formatting-button[disabled="true"] > .toolbarbutton-menu-dropmarker {
opacity: 0.4;
}
/* ..... smiley menu ..... */
#smileButtonMenu .menu-iconic-left {
@ -283,12 +255,6 @@ toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
/* ..... fg/bg color picker ..... */
.ColorPickerLabel {
border: 1px inset ThreeDFace;
margin: 0;
padding: 2px;
}
.color-button {
border: 1px inset ThreeDFace;
padding: 0;

Просмотреть файл

@ -2,7 +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/. */
@import url("chrome://messenger/content/quickFilterBar.css");
@import url("chrome://messenger/skin/shared/quickFilterBar.css");
/* :::: Filter Bar :::: */

Просмотреть файл

@ -295,37 +295,8 @@ toolbar[nowindowdrag="true"] {
}
toolbarbutton.formatting-button {
appearance: none;
border: 1px solid transparent;
border-radius: var(--toolbarbutton-border-radius);
margin-inline: 1px;
padding-inline: 4px;
-moz-context-properties: fill;
fill: currentColor;
transition-property: background-color, border-color, box-shadow;
transition-duration: 150ms;
}
toolbarbutton.formatting-button:not([disabled="true"]):hover {
background: var(--toolbarbutton-hover-background);
border-color: var(--toolbarbutton-hover-bordercolor);
}
toolbarbutton.formatting-button:not([disabled="true"]):is([open="true"],[checked="true"],:hover:active) {
background: var(--toolbarbutton-active-background);
border-color: var(--toolbarbutton-active-bordercolor);
box-shadow: var(--toolbarbutton-active-boxshadow);
}
.formatting-button > .toolbarbutton-menu-dropmarker {
list-style-image: url("chrome://messenger/skin/messengercompose/format-dropmarker.svg");
-moz-context-properties: fill;
fill: currentColor;
}
toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
.formatting-button[disabled="true"] > .toolbarbutton-menu-dropmarker {
opacity: 0.4;
}
#FontFaceSelect {
@ -339,12 +310,6 @@ toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
/* ..... fg/bg color picker ..... */
.ColorPickerLabel {
border: 1px inset ThreeDFace;
margin: 0;
padding: 2px;
}
.color-button {
border: 1px solid #a0a0a0;
padding: 0;

Просмотреть файл

@ -2,7 +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/. */
@import url("chrome://messenger/content/quickFilterBar.css");
@import url("chrome://messenger/skin/shared/quickFilterBar.css");
/* :::: Filter Bar :::: */

Просмотреть файл

@ -234,6 +234,7 @@
skin/classic/messenger/shared/messageIcons.css (../shared/mail/messageIcons.css)
skin/classic/messenger/shared/messenger.css (../shared/mail/messenger.css)
skin/classic/messenger/shared/messengercompose.css (../shared/mail/messengercompose.css)
skin/classic/messenger/shared/quickFilterBar.css (../shared/mail/quickFilterBar.css)
skin/classic/messenger/shared/searchBox.css (../shared/mail/searchBox.css)
skin/classic/messenger/shared/searchDialog.css (../shared/mail/searchDialog.css)
skin/classic/messenger/shared/tabmail.css (../shared/mail/tabmail.css)

Просмотреть файл

@ -100,17 +100,6 @@ treechildren::-moz-tree-cell-text(dummy) {
color: var(--lwt-text-color);
}
:root[lwt-tree-brighttext] #quick-filter-bar {
--toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background);
--toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background);
--toolbarbutton-checked-background: var(--lwt-toolbarbutton-hover-background);
--toolbarbutton-active-background: var(--lwt-toolbarbutton-active-background);
--toolbarbutton-active-bordercolor: var(--lwt-toolbarbutton-active-background);
--toolbarbutton-active-boxshadow: none;
}
:root[lwt-tree] #qfb-qs-textbox {
background-color: var(--lwt-toolbar-field-background-color, hsla(0, 0%, 100%, .8));
color: var(--lwt-toolbar-field-color, black);

Просмотреть файл

@ -93,12 +93,8 @@ toolbar[brighttext] {
}
#FindToolbar:-moz-lwtheme,
.contentTabToolbox:-moz-lwtheme,
#task-addition-box:-moz-lwtheme,
#ab-toolbox > toolbar:-moz-lwtheme,
.mail-toolbox > toolbar:-moz-lwtheme,
#compose-toolbox > toolbar:-moz-lwtheme,
#navigation-toolbox > toolbar:-moz-lwtheme {
.themeable-full:-moz-lwtheme,
.themeable-brighttext:-moz-lwtheme {
--toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background,
rgba(0, 0, 0, .1));
--toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background,
@ -115,20 +111,9 @@ toolbar[brighttext] {
rgba(0, 0, 0, .15));
}
.toolbar[brighttext],
.contentTabToolbox[brighttext],
#task-addition-box[brighttext],
#header-view-toolbar[brighttext],
#ab-toolbox > toolbar[brighttext],
.mail-toolbox > toolbar[brighttext],
#event-toolbox > toolbar[brighttext],
#compose-toolbox > toolbar[brighttext],
#headers-box > toolbar[brighttext],
#FormatToolbox > toolbar[brighttext],
:root[lwt-tree-brighttext] .otr-container,
:root[lwt-tree-brighttext] .crypto-button,
:root[lwt-tree-brighttext] .calendar-list-create,
:root[lwt-tree-brighttext] #searchTerms {
.themeable-full[brighttext],
:root:-moz-lwtheme-brighttext .themeable-full,
:root[lwt-tree-brighttext] .themeable-brighttext {
--toolbarbutton-hover-background: var(--lwt-toolbarbutton-hover-background,
rgba(255, 255, 255, .25));
--toolbarbutton-hover-bordercolor: var(--lwt-toolbarbutton-hover-background,

Просмотреть файл

@ -402,10 +402,56 @@ menulist::part(description) {
display: none;
}
toolbarbutton.formatting-button {
appearance: none;
border: 1px solid transparent;
border-radius: var(--toolbarbutton-border-radius);
color: inherit;
-moz-context-properties: fill;
fill: currentColor;
transition-property: background-color, border-color, box-shadow;
transition-duration: 150ms;
}
toolbarbutton.formatting-button:not([disabled="true"]):hover {
background: var(--toolbarbutton-hover-background);
border-color: var(--toolbarbutton-hover-bordercolor);
box-shadow: var(--toolbarbutton-hover-boxshadow);
}
toolbarbutton.formatting-button:not([disabled="true"]):is([open="true"],[checked="true"],:hover:active) {
background: var(--toolbarbutton-checked-background);
border-color: var(--toolbarbutton-active-bordercolor);
box-shadow: var(--toolbarbutton-active-boxshadow);
}
toolbarbutton.formatting-button:not([disabled="true"]):is([open="true"],:hover:active) {
background: var(--toolbarbutton-active-background) !important;
}
.formatting-button > .toolbarbutton-menu-dropmarker {
list-style-image: url("chrome://messenger/skin/messengercompose/format-dropmarker.svg");
-moz-context-properties: fill;
fill: currentColor;
}
toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
.formatting-button[disabled="true"] > .toolbarbutton-menu-dropmarker {
opacity: 0.4;
}
#FontFaceSelect {
max-width: 35ch;
}
/* ..... fg/bg color picker ..... */
.ColorPickerLabel {
border: 1px inset ThreeDFace;
margin: 0;
padding: 2px;
}
#TextColorButton {
margin-block: 2px 9px;
margin-inline: 2px 9px;

Просмотреть файл

@ -436,7 +436,7 @@
}
.nav-button:not([disabled="true"]):hover {
background-color: #bebebe;
background-color: var(--toolbarbutton-hover-background);
cursor: pointer;
}

Просмотреть файл

@ -184,52 +184,11 @@
}
toolbarbutton.formatting-button {
appearance: none;
border: 1px solid transparent;
margin: 1px;
-moz-context-properties: fill;
fill: currentColor;
transition-property: background-color, border-color, box-shadow;
transition-duration: 150ms;
}
@media (-moz-os-version: windows-win7) {
toolbarbutton.formatting-button {
border-radius: 2px;
}
}
toolbarbutton.formatting-button:not([disabled="true"]):hover {
background: var(--toolbarbutton-hover-background);
border-color: var(--toolbarbutton-hover-bordercolor);
box-shadow: var(--toolbarbutton-hover-boxshadow);
}
toolbarbutton.formatting-button:not([disabled="true"]):is([open="true"],[checked="true"],:hover:active) {
background: var(--toolbarbutton-active-background);
border-color: var(--toolbarbutton-active-bordercolor);
box-shadow: var(--toolbarbutton-active-boxshadow);
}
.formatting-button > .toolbarbutton-menu-dropmarker {
list-style-image: url("chrome://messenger/skin/messengercompose/format-dropmarker.svg");
-moz-context-properties: fill;
fill: currentColor;
}
toolbarbutton.formatting-button[disabled="true"] > .toolbarbutton-icon,
.formatting-button[disabled="true"] > .toolbarbutton-menu-dropmarker {
opacity: 0.4;
}
/* ..... fg/bg color picker ..... */
.ColorPickerLabel {
border: 1px inset ThreeDFace;
margin: 0;
padding: 2px;
}
.color-button {
border: 1px inset ThreeDFace;
padding: 0;

Просмотреть файл

@ -94,21 +94,11 @@
--tabline-color: Highlight;
}
:root:not(:-moz-lwtheme) .toolbar,
:root:not(:-moz-lwtheme) .contentTabToolbox,
:root:not(:-moz-lwtheme) #task-addition-box,
:root:not(:-moz-lwtheme) #header-view-toolbar,
:root:not(:-moz-lwtheme) #ab-toolbox > toolbar,
:root:not(:-moz-lwtheme) .mail-toolbox > toolbar,
:root:not(:-moz-lwtheme) #event-toolbox > toolbar,
:root:not(:-moz-lwtheme) #compose-toolbox > toolbar,
:root:not(:-moz-lwtheme) .themeable-full,
:root:not(:-moz-lwtheme) .themeable-brighttext,
:root:not(:-moz-lwtheme) #navigation-toolbox > toolbar,
:root:not(:-moz-lwtheme) #todaypane-new-event-button,
:root:not(:-moz-lwtheme) .otr-container,
:root:not(:-moz-lwtheme) .crypto-button,
:root:not(:-moz-lwtheme) .calendar-list-create,
:root:not(:-moz-lwtheme) #CardViewBox,
:root:not(:-moz-lwtheme) #searchTerms {
:root:not(:-moz-lwtheme) #CardViewBox {
--toolbarbutton-hover-background: Highlight;
--toolbarbutton-hover-bordercolor: HighlightText !important;
--toolbarbutton-header-bordercolor: HighlightText;

Просмотреть файл

@ -2,7 +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/. */
@import url("chrome://messenger/content/quickFilterBar.css");
@import url("chrome://messenger/skin/shared/quickFilterBar.css");
#quick-filter-bar-expando {
border-bottom: 1px solid ThreeDShadow;
@ -16,22 +16,19 @@
@media (-moz-os-version: windows-win7) {
#qfb-qs-textbox {
margin-top: 4px;
margin-bottom: 4px;
margin-block: 4px;
}
}
@media (-moz-os-version: windows-win8),
(-moz-os-version: windows-win10) {
#qfb-qs-textbox {
margin-top: 5px;
margin-bottom: 5px;
margin-block: 5px;
}
}
#tabbar-toolbar #qfb-show-filter-bar {
padding-left: 4px !important;
padding-right: 4px !important;
padding-inline: 4px !important;
}
/* :::: Filter Bar :::: */

Просмотреть файл

@ -14,7 +14,7 @@
<hbox id="searchTermBox" flex="1"
style="min-height:100px; max-height:100vh;">
<hbox id="searchterms"/>
<hbox id="searchterms" class="themeable-brighttext"/>
<richlistbox flex="1" id="searchTermList">
<treecols hidden="true">
<treecol flex="&searchTermListAttributesFlexValue;"/>