mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
Scoped CSS classes inside .scope-app class
This commit is contained in:
@@ -104,7 +104,7 @@ class App extends React.Component {
|
||||
const isIframe = window !== window.top;
|
||||
|
||||
return (
|
||||
<div className="app">
|
||||
<div className="scope-app">
|
||||
{showingDebugToolbar() && <DebugToolbar />}
|
||||
|
||||
{showingHelp && <HelpPanel />}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
const PREFIX = 'Weave Scope';
|
||||
const PREFIX = document.title || 'Weave Scope';
|
||||
const SEPARATOR = ' - ';
|
||||
|
||||
export function setDocumentTitle(title) {
|
||||
|
||||
@@ -115,63 +115,52 @@ $label-background-color: fade-out($background-average-color, .3);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Space out content a bit */
|
||||
body {
|
||||
background: $body-background-color;
|
||||
color: $text-color;
|
||||
line-height: 150%;
|
||||
font-family: $base-font;
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 20px;
|
||||
padding-top: 6px;
|
||||
margin-bottom: 14px;
|
||||
letter-spacing: 0;
|
||||
font-weight: 400;
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 34px;
|
||||
line-height: 40px;
|
||||
padding-top: 8px;
|
||||
margin-bottom: 12px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.hide {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.app {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
.scope-app {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
background: $body-background-color;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
color: $text-color;
|
||||
font-family: $base-font;
|
||||
font-size: 13px;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
line-height: 150%;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
p {
|
||||
line-height: 20px;
|
||||
padding-top: 6px;
|
||||
margin-bottom: 14px;
|
||||
letter-spacing: 0;
|
||||
font-weight: 400;
|
||||
color: $text-color;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 34px;
|
||||
line-height: 40px;
|
||||
padding-top: 8px;
|
||||
margin-bottom: 12px;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
|
||||
2
scope
2
scope
@@ -74,7 +74,7 @@ check_docker_access() {
|
||||
}
|
||||
|
||||
# - The image embeds the weave script & Docker 1.3.1 client
|
||||
# - Docker versions prior to 1.5.0 do not support --pid=host
|
||||
# - Docker versions prior to 1.5.0 do not support --pid=host
|
||||
# - Weave needs 1.6.0 now (image pulling changes)
|
||||
MIN_DOCKER_VERSION=1.6.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user