Bug 1330827 - Fix CSS for Tab's cursor and background; r=jryans

MozReview-Commit-ID: GZd51GV3nFP

--HG--
extra : rebase_source : 86fa688ac8979ddd7a747827d082f092ac5b2225
This commit is contained in:
Jan Odvarko 2017-01-19 13:52:40 +01:00
parent b38044be9c
commit 718c5a245c
5 changed files with 10 additions and 4 deletions

View File

@ -48,8 +48,10 @@ browser/chrome/devtools/modules/devtools/client/projecteditor/lib/helpers/readdi
browser/chrome/devtools/modules/devtools/client/shared/frame-script-utils.js
browser/chrome/devtools/modules/devtools/client/shared/theme-switching.js
browser/chrome/devtools/modules/devtools/client/themes/common.css
browser/chrome/devtools/modules/devtools/client/themes/toolbars.css
browser/chrome/devtools/modules/devtools/client/themes/variables.css
browser/chrome/devtools/skin/common.css
browser/chrome/devtools/skin/toolbars.css
browser/chrome/devtools/skin/images/command-scratchpad.svg
browser/chrome/devtools/skin/images/controls.png
browser/chrome/devtools/skin/images/controls@2x.png

View File

@ -214,6 +214,7 @@ Converter.prototype = {
let baseUrl = clientBaseUrl + "jsonview/";
let themeVarsUrl = clientBaseUrl + "themes/variables.css";
let commonUrl = clientBaseUrl + "themes/common.css";
let toolbarsUrl = clientBaseUrl + "themes/toolbars.css";
let os;
let platform = Services.appinfo.OS;
@ -238,6 +239,8 @@ Converter.prototype = {
themeVarsUrl + "\">" +
"<link rel=\"stylesheet\" type=\"text/css\" href=\"" +
commonUrl + "\">" +
"<link rel=\"stylesheet\" type=\"text/css\" href=\"" +
toolbarsUrl + "\">" +
"<link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\">" +
"<script data-main=\"viewer-config\" src=\"lib/require.js\"></script>" +
"</head><body>" +

View File

@ -29,10 +29,6 @@
height: 28px;
}
.tabs .tabs-menu-item a {
cursor: default;
}
/* The tab takes entire horizontal space and individual tabs
should stretch accordingly. Use flexbox for the behavior.
Use also `overflow: hidden` so, 'overflow' and 'underflow'

View File

@ -30,6 +30,10 @@
white-space: nowrap;
}
.tabs .tabs-menu-item a {
cursor: default;
}
/* Make sure panel content takes entire vertical space.
(minus the height of the tab bar) */
.tabs .panels {

View File

@ -11,5 +11,6 @@ DIRS += [
DevToolsModules(
'common.css',
'splitters.css',
'toolbars.css',
'variables.css',
)