зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1525615: Change the style of DebugTargetItem. r=jdescottes,ladybenko
Depends on D20295 Differential Revision: https://phabricator.services.mozilla.com/D20296 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
bde87ae22f
Коммит
73059dbb18
|
@ -46,6 +46,10 @@
|
||||||
/* Typography from Photon */
|
/* Typography from Photon */
|
||||||
--body-10-font-size: 13px;
|
--body-10-font-size: 13px;
|
||||||
--body-10-font-weight: 400;
|
--body-10-font-weight: 400;
|
||||||
|
--body-20-font-size: 15px;
|
||||||
|
--body-20-font-weight: 700;
|
||||||
|
--caption-20-font-size: 13px;
|
||||||
|
--caption-20-font-weight: 400;
|
||||||
--title-20-font-size: 17px;
|
--title-20-font-size: 17px;
|
||||||
--title-20-font-weight: 600;
|
--title-20-font-weight: 600;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*/
|
*/
|
||||||
.debug-target-item {
|
.debug-target-item {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: calc(var(--base-unit) * 9) 1fr max-content;
|
grid-template-columns: calc(var(--base-unit) * 8) 1fr max-content;
|
||||||
grid-column-gap: calc(var(--base-unit) * 2);
|
grid-column-gap: calc(var(--base-unit) * 2);
|
||||||
grid-template-areas: "icon name action"
|
grid-template-areas: "icon name action"
|
||||||
". detail detail";
|
". detail detail";
|
||||||
|
@ -28,9 +28,8 @@
|
||||||
|
|
||||||
.debug-target-item__name {
|
.debug-target-item__name {
|
||||||
grid-area: name;
|
grid-area: name;
|
||||||
/* so as to ellipsis */
|
font-size: var(--body-20-font-size);
|
||||||
min-width: 0;
|
font-weight: var(--body-20-font-weight);
|
||||||
font-size: calc(var(--base-unit) * 5);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.debug-target-item__action {
|
.debug-target-item__action {
|
||||||
|
@ -40,4 +39,6 @@
|
||||||
|
|
||||||
.debug-target-item__detail {
|
.debug-target-item__detail {
|
||||||
grid-area: detail;
|
grid-area: detail;
|
||||||
|
font-size: var(--caption-20-font-size);
|
||||||
|
font-weight: var(--caption-20-font-weight);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
.debug-target-list {
|
.debug-target-list {
|
||||||
margin-inline-start: calc(var(--base-unit) * 6);
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче