зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1616264 - Use a more readable lock icon in DOM panel; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D63187 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
6b83dd0bdd
Коммит
eb812b6ae6
|
@ -9,6 +9,7 @@ body {
|
|||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
background-color: var(--theme-body-background);
|
||||
}
|
||||
|
||||
.mainFrame {
|
||||
|
@ -41,22 +42,28 @@ body {
|
|||
|
||||
/* Read only properties have a padlock icon */
|
||||
.treeTable tr:not(.writable) td.treeValueCell {
|
||||
background: url("chrome://devtools/skin/images/read-only.svg") no-repeat;
|
||||
background-position: 1px 5px;
|
||||
background-size: 10px 10px;
|
||||
background: url("chrome://devtools/skin/images/lock.svg") no-repeat;
|
||||
background-position: 1px 4px;
|
||||
background-size: 12px 12px;
|
||||
-moz-context-properties: fill;
|
||||
fill: var(--theme-icon-dimmed-color);
|
||||
}
|
||||
|
||||
.treeTable tr:not(.writable) td.treeValueCell:dir(rtl) {
|
||||
background-position-x: right 1px;
|
||||
}
|
||||
|
||||
.treeTable tr:not(.writable).selected td.treeValueCell {
|
||||
fill: var(--theme-selection-color);
|
||||
}
|
||||
|
||||
/* Non-enumerable properties are grayed out */
|
||||
.treeTable tr:not(.enumerable) td.treeValueCell {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.treeTable > tbody > tr > td {
|
||||
border-bottom: 1px solid #EFEFEF;
|
||||
.theme-light .treeTable > tbody > tr > td {
|
||||
border-bottom: 1px solid var(--grey-20);
|
||||
}
|
||||
|
||||
/* Label Types */
|
||||
|
@ -100,14 +107,3 @@ body {
|
|||
#dom-refresh-button::before {
|
||||
background-image: url("chrome://devtools/skin/images/reload.svg");
|
||||
}
|
||||
|
||||
/******************************************************************************/
|
||||
/* Theme Dark */
|
||||
|
||||
.theme-dark .treeTable > tbody > tr > td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.theme-dark body {
|
||||
background-color: var(--theme-body-background);
|
||||
}
|
||||
|
|
|
@ -211,7 +211,6 @@ devtools.jar:
|
|||
skin/images/pane-collapse.svg (themes/images/pane-collapse.svg)
|
||||
skin/images/pane-expand.svg (themes/images/pane-expand.svg)
|
||||
skin/images/help.svg (themes/images/help.svg)
|
||||
skin/images/read-only.svg (themes/images/read-only.svg)
|
||||
skin/images/reveal.svg (themes/images/reveal.svg)
|
||||
skin/images/select-arrow.svg (themes/images/select-arrow.svg)
|
||||
skin/images/settings.svg (themes/images/settings.svg)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!-- 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 width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="context-fill">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 7a3 3 0 1 1 6 0v3H9V7zm-2 3V7a5 5 0 1 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1z"></path>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="12" height="12">
|
||||
<path fill="context-fill" fill-rule="evenodd" d="M9 7a3 3 0 1 1 6 0v3H9V7zm-2 3V7a5 5 0 1 1 10 0v3h1a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h1z" />
|
||||
</svg>
|
||||
|
|
До Ширина: | Высота: | Размер: 501 B После Ширина: | Высота: | Размер: 476 B |
|
@ -1,34 +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" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12">
|
||||
<defs>
|
||||
<linearGradient id="d">
|
||||
<stop offset="0" stop-color="#787878"/>
|
||||
<stop offset="1" stop-color="#b4b4b4"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="c">
|
||||
<stop offset="0" stop-color="#505050"/>
|
||||
<stop offset="1" stop-color="#787878"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="a">
|
||||
<stop offset="0" stop-color="#c8c8c8"/>
|
||||
<stop offset="1" stop-color="#dcdcdc"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="b">
|
||||
<stop offset="0" stop-color="#a0a0a0"/>
|
||||
<stop offset="1" stop-color="#c8c8c8"/>
|
||||
</linearGradient>
|
||||
<linearGradient x1="8.637" y1="4.311" x2="6.34" y2=".583" id="e" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.64 0 0 .6988 .88 .987)"/>
|
||||
<linearGradient x1="7.188" y1="5.078" x2="4.956" y2="1.392" id="f" xlink:href="#b" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.64 0 0 .6988 .88 .987)"/>
|
||||
<linearGradient x1="11.377" y1="1052.085" x2="4.559" y2="1040.666" id="g" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.62152 0 0 .5895 1.028 -609.403)"/>
|
||||
<linearGradient x1="8.842" y1="1053.385" x2="1.917" y2="1041.923" id="h" xlink:href="#b" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.62152 0 0 .5895 1.028 -609.403)"/>
|
||||
<linearGradient x1="8.54" y1="12.498" x2="6.608" y2="7.825" id="i" xlink:href="#c" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.71429 0 0 .71492 .286 .276)"/>
|
||||
<linearGradient x1="9.392" y1="12.116" x2="7.402" y2="7.414" id="j" xlink:href="#d" gradientUnits="userSpaceOnUse" gradientTransform="matrix(.71429 0 0 .71492 .286 .276)"/>
|
||||
</defs>
|
||||
<g transform="matrix(1.19102 0 0 1.19106 -1.146 -1.146)" stroke-linejoin="round">
|
||||
<path d="M6 1.215a2.982 2.982 0 0 0-2.991 2.904c.114-.019.238-.045.357-.045h.938C4.386 3.194 5.1 2.421 6 2.421c.899 0 1.614.773 1.696 1.653h.938c.119 0 .243.026.357.045A2.982 2.982 0 0 0 6 1.215z" fill="url(#e)" stroke="url(#f)" stroke-width=".504"/>
|
||||
<rect width="9.571" height="6.72" rx="1.679" ry="1.679" x="1.214" y="4.065" fill="url(#g)" stroke="url(#h)" stroke-width=".504"/>
|
||||
<path d="M6 5.504A1.2 1.2 0 0 0 4.795 6.71c0 .562.375 1.023.893 1.162v1.475h.625V7.872c.517-.139.892-.6.892-1.162A1.2 1.2 0 0 0 6 5.504z" fill="url(#i)" stroke="url(#j)" stroke-width=".336"/>
|
||||
</g>
|
||||
</svg>
|
До Ширина: | Высота: | Размер: 2.6 KiB |
Загрузка…
Ссылка в новой задаче