Bug 1395975 - Merge the 2 commandline.css files. r=pbro

This commit is contained in:
Gabriel Luong 2017-09-01 11:43:29 -04:00
parent cefc0f9ba9
commit 0f5ddea9c1
5 changed files with 73 additions and 88 deletions

View File

@ -1,85 +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/. */
.gcli-help-name {
text-align: end;
}
.gcli-out-shortcut,
.gcli-help-synopsis {
cursor: pointer;
display: inline-block;
}
.gcli-out-shortcut:before,
.gcli-help-synopsis:before {
content: '\bb';
}
.gcli-menu-template {
white-space: nowrap;
width: 290px;
display: flex;
}
.gcli-menu-names {
white-space: nowrap;
flex-grow: 0;
flex-shrink: 0;
}
.gcli-menu-descs {
flex-grow: 1;
flex-shrink: 1;
}
.gcli-menu-name,
.gcli-menu-desc {
white-space: nowrap;
}
.gcli-menu-name {
padding-inline-end: 10px;
}
.gcli-menu-desc {
text-overflow: ellipsis;
overflow: hidden;
}
.gcli-menu-name,
.gcli-out-shortcut,
.gcli-help-synopsis {
direction: ltr;
}
.gcli-cookielist-list {
list-style-type: none;
padding-left: 0;
}
.gcli-cookielist-detail {
padding-left: 20px;
padding-bottom: 10px;
}
.gcli-appcache-list {
list-style-type: none;
padding-left: 0;
}
.gcli-appcache-detail {
padding-left: 20px;
padding-bottom: 10px;
}
.gcli-row-out .nowrap {
white-space: nowrap;
}
.gcli-mdn-url {
text-decoration: underline;
cursor: pointer;
}

View File

@ -8,7 +8,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="chrome://devtools/content/commandline/commandline.css" type="text/css"/>
<link rel="stylesheet" href="chrome://devtools/skin/commandline.css" type="text/css"/>
</head>
<body class="gcli-body">

View File

@ -8,7 +8,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" href="chrome://devtools/content/commandline/commandline.css" type="text/css"/>
<link rel="stylesheet" href="chrome://devtools/skin/commandline.css" type="text/css"/>
</head>
<body class="gcli-body">

View File

@ -77,7 +77,6 @@ devtools.jar:
content/performance/views/recordings.js (performance/views/recordings.js)
content/memory/memory.xhtml (memory/memory.xhtml)
content/memory/initializer.js (memory/initializer.js)
content/commandline/commandline.css (commandline/commandline.css)
content/commandline/commandlineoutput.xhtml (commandline/commandlineoutput.xhtml)
content/commandline/commandlinetooltip.xhtml (commandline/commandlinetooltip.xhtml)
content/framework/toolbox-window.xul (framework/toolbox-window.xul)

View File

@ -99,6 +99,10 @@
white-space: nowrap;
}
.gcli-row-out .nowrap {
white-space: nowrap;
}
.gcli-out-shortcut,
.gcli-help-synopsis {
padding: 0 3px;
@ -108,12 +112,15 @@
border-radius: 3px;
background-color: var(--gcli-background-color);
border: 1px solid var(--gcli-border-color);
cursor: pointer;
display: inline-block;
}
.gcli-out-shortcut:before,
.gcli-help-synopsis:before {
color: var(--gcli-input-color);
padding-inline-end: 2px;
content: '\bb';
}
.gcli-help-arrow {
@ -175,3 +182,69 @@
.gcli-breakpoint-lineText {
font-family: monospace;
}
.gcli-help-name {
text-align: end;
}
.gcli-menu-template {
white-space: nowrap;
width: 290px;
display: flex;
}
.gcli-menu-names {
white-space: nowrap;
flex-grow: 0;
flex-shrink: 0;
}
.gcli-menu-descs {
flex-grow: 1;
flex-shrink: 1;
}
.gcli-menu-name,
.gcli-menu-desc {
white-space: nowrap;
}
.gcli-menu-name {
padding-inline-end: 10px;
}
.gcli-menu-desc {
text-overflow: ellipsis;
overflow: hidden;
}
.gcli-menu-name,
.gcli-out-shortcut,
.gcli-help-synopsis {
direction: ltr;
}
.gcli-cookielist-list {
list-style-type: none;
padding-left: 0;
}
.gcli-cookielist-detail {
padding-left: 20px;
padding-bottom: 10px;
}
.gcli-appcache-list {
list-style-type: none;
padding-left: 0;
}
.gcli-appcache-detail {
padding-left: 20px;
padding-bottom: 10px;
}
.gcli-mdn-url {
text-decoration: underline;
cursor: pointer;
}