Bug 1251291 - Tool notices (Take snapshot and Start Recording Performance) should use var(--theme-body-background), r=jsantell

This commit is contained in:
Victor Porof 2016-03-21 10:05:12 +01:00
Родитель f82d9f7dd0
Коммит ab063bbd44
1 изменённых файлов: 11 добавлений и 5 удалений

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

@ -20,25 +20,31 @@ var PerformanceView = {
states: {
"unavailable": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#unavailable-notice") },
{ sel: "#performance-view-content", opt: "hidden", val: () => true },
],
"empty": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#empty-notice") }
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#empty-notice") },
{ sel: "#performance-view-content", opt: "hidden", val: () => true },
],
"recording": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#recording-notice") }
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#recording-notice") },
],
"console-recording": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#console-recording-notice") }
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#console-recording-notice") },
],
"recorded": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#details-pane") }
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#details-pane") },
],
"loading": [
{ sel: "#performance-view", opt: "selectedPanel", val: () => $("#performance-view-content") },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#loading-notice") }
{ sel: "#performance-view-content", opt: "hidden", val: () => false },
{ sel: "#details-pane-container", opt: "selectedPanel", val: () => $("#loading-notice") },
]
},