Bug 1244268 - Remove expand/collapse headings in JSONView Headers tab. r=honza

MozReview-Commit-ID: LJ3qmoDwt8k

--HG--
extra : transplant_source : %A8%D9%D8C6q%FBW%B8h%94P%11%B6%C9C%A1%07%FF%E0
This commit is contained in:
David Walsh 2016-04-18 11:17:29 -05:00
Родитель 9b5c28ac41
Коммит 58496fb708
4 изменённых файлов: 2 добавлений и 47 удалений

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

@ -34,9 +34,7 @@ define(function(require, exports, module) {
div({className: "netInfoHeadersTable"},
div({className: "netHeadersGroup"},
div({className: "netInfoHeadersGroup"},
span({className: "netHeader twisty"},
Locale.$STR("jsonViewer.responseHeaders")
)
),
table({cellPadding: 0, cellSpacing: 0},
HeaderList({headers: data.response})
@ -44,9 +42,7 @@ define(function(require, exports, module) {
),
div({className: "netHeadersGroup"},
div({className: "netInfoHeadersGroup"},
span({className: "netHeader twisty"},
Locale.$STR("jsonViewer.requestHeaders")
)
),
table({cellPadding: 0, cellSpacing: 0},
HeaderList({headers: data.request})

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

@ -30,19 +30,6 @@
font-family: Lucida Grande, Tahoma, sans-serif;
font-weight: bold;
color: #565656;
}
.headersPanelBox .netHeader.twisty {
background-image: url(twisty-open.svg);
background-repeat: no-repeat;
min-height: 12px;
background-position: 2px 50%;
}
.headersPanelBox .netHeader {
cursor: pointer;
padding-left: 17px;
position: static;
-moz-user-select: none;
}

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

@ -1,14 +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="11" height="11" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="a">
<stop offset="0" stop-color="#c3baaa"/>
<stop offset="1" stop-color="#fff"/>
</linearGradient>
<linearGradient id="b" x1="6.053" x2="2.888" y1="7.093" y2="1.8" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="translate(.9 .9)"/>
</defs>
<rect width="8" height="8" x="1.5" y="1.5" fill="url(#b)" stroke="#7898b5" rx="1" ry="1" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M5 3v2H3v1h2v2h1V6h2V5H6V3H5z"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 823 B

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

@ -1,14 +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="11" height="11" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="a">
<stop offset="0" stop-color="#c3baaa"/>
<stop offset="1" stop-color="#fff"/>
</linearGradient>
<linearGradient id="b" x1="6.053" x2="2.888" y1="7.093" y2="1.8" xlink:href="#a" gradientUnits="userSpaceOnUse" gradientTransform="translate(.9 .9)"/>
</defs>
<rect width="8" height="8" x="1.5" y="1.5" fill="url(#b)" stroke="#7898b5" rx="1" ry="1" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M3 5h5v1H3z"/>
</svg>

До

Ширина:  |  Высота:  |  Размер: 805 B