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

MozReview-Commit-ID: GZd51GV3nFP

--HG--
extra : rebase_source : 318ce731f97f05234fb53f3614c0119e88bc1724
This commit is contained in:
Jan Odvarko 2017-01-19 13:52:40 +01:00
parent a2bee3f570
commit c331f9d12f
4 changed files with 8 additions and 4 deletions

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',
)