зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1491706 - Remove unused .help-button styles. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D5981 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
867011efac
Коммит
60ca3b7481
|
@ -280,80 +280,13 @@ xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
|
|||
fill: -moz-DialogText;
|
||||
}
|
||||
|
||||
xul|*.help-button {
|
||||
min-width: 16px;
|
||||
margin-inline-end: 0;
|
||||
border-width: 0;
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
list-style-image: url("chrome://global/skin/in-content/help-glyph.svg");
|
||||
-moz-context-properties: fill, stroke, stroke-opacity;
|
||||
fill: #999;
|
||||
stroke: #999;
|
||||
stroke-opacity: 0;
|
||||
}
|
||||
|
||||
xul|*.help-button:not([disabled="true"]):hover {
|
||||
background-image: none;
|
||||
/* Override default button background */
|
||||
background-color: transparent;
|
||||
fill: white;
|
||||
stroke: #808080;
|
||||
stroke-opacity: 1;
|
||||
}
|
||||
|
||||
xul|*.help-button:not([disabled="true"]):hover:active {
|
||||
background-image: none;
|
||||
/* Override default button background */
|
||||
background-color: transparent;
|
||||
stroke: #666;
|
||||
}
|
||||
|
||||
xul|*.close-icon > xul|*.button-box,
|
||||
xul|*.help-button > xul|*.button-box {
|
||||
xul|*.close-icon > xul|*.button-box {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html|*.help-button {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
background-image: url("chrome://global/skin/in-content/help-glyph.svg");
|
||||
-moz-context-properties: fill, stroke, stroke-opacity;
|
||||
fill: #999;
|
||||
stroke: #999;
|
||||
stroke-opacity: 0;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center center;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
html|*.help-button:hover {
|
||||
fill: white;
|
||||
stroke: #808080;
|
||||
stroke-opacity: 1;
|
||||
background-color: var(--in-content-category-background-hover);
|
||||
}
|
||||
|
||||
html|*.help-button:hover:active {
|
||||
stroke: #666;
|
||||
background-color: var(--in-content-category-background-active);
|
||||
}
|
||||
|
||||
html|*.numberbox-input::-moz-number-spin-box {
|
||||
margin-inline-end: 1px;
|
||||
}
|
||||
|
|
|
@ -1,10 +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/. -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
width="24" height="24" viewBox="0 0 24 24">
|
||||
<!-- The context fill is applied to the question mark path and the context stroke is applied to the circle. -->
|
||||
<circle fill="context-stroke" fill-opacity="context-stroke-opacity" stroke="context-stroke" stroke-width="2" cx="12" cy="12" r="11"/>
|
||||
<path fill="context-fill" d="M12.2,4.9c-1.6,0-2.9,0.4-3.8,0.8L9.2,8c0.6-0.4,1.5-0.6,2.2-0.6c1.1,0,1.6,0.5,1.6,1.2 c0,0.7-0.6,1.3-1.3,2.1c-1,1.1-1.4,2.1-1.3,3.2l0,0.5h3V14c0-0.9,0.3-1.7,1.2-2.5c0.9-0.9,1.9-1.9,1.9-3.4 C16.6,6.4,15.2,4.9,12.2,4.9z M12,16.1c-1.1,0-1.9,0.8-1.9,1.9c0,1.1,0.8,1.9,1.9,1.9c1.2,0,1.9-0.8,1.9-1.9 C13.9,16.9,13.1,16.1,12,16.1z"/>
|
||||
</svg>
|
||||
|
До Ширина: | Высота: | Размер: 926 B |
|
@ -61,7 +61,6 @@ toolkit.jar:
|
|||
skin/classic/global/in-content/check.svg (../../shared/in-content/check.svg)
|
||||
skin/classic/global/in-content/check-partial.svg (../../shared/in-content/check-partial.svg)
|
||||
skin/classic/global/in-content/dropdown.svg (../../shared/in-content/dropdown.svg)
|
||||
skin/classic/global/in-content/help-glyph.svg (../../shared/in-content/help-glyph.svg)
|
||||
skin/classic/global/in-content/radio.svg (../../shared/in-content/radio.svg)
|
||||
skin/classic/global/reader/RM-Close-24x24.svg (../../shared/reader/RM-Close-24x24.svg)
|
||||
skin/classic/global/reader/RM-Minus-24x24.svg (../../shared/reader/RM-Minus-24x24.svg)
|
||||
|
|
Загрузка…
Ссылка в новой задаче