capybara-ember-inspector 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +37 -0
- data/Rakefile +2 -0
- data/capybara-ember-inspector.gemspec +26 -0
- data/lib/capybara/ember/inspector.rb +12 -0
- data/lib/capybara/ember/inspector/extension/.gitignore +0 -0
- data/lib/capybara/ember/inspector/extension/background-script.js +74 -0
- data/lib/capybara/ember/inspector/extension/content-script.js +58 -0
- data/lib/capybara/ember/inspector/extension/devtools.html +24 -0
- data/lib/capybara/ember/inspector/extension/devtools.js +5 -0
- data/lib/capybara/ember/inspector/extension/ember_debug/ember_debug.js +3173 -0
- data/lib/capybara/ember/inspector/extension/images/arrow_down.svg +52 -0
- data/lib/capybara/ember/inspector/extension/images/calculate.svg +15 -0
- data/lib/capybara/ember/inspector/extension/images/ember-icon-final.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/fishy_tomster.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/hamster.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/icon128.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/icon16.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/icon19.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/icon38.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/icon48.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/send.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/send_arrow.png +0 -0
- data/lib/capybara/ember/inspector/extension/images/tomster.png +0 -0
- data/lib/capybara/ember/inspector/extension/in-page-script.js +14 -0
- data/lib/capybara/ember/inspector/extension/manifest.json +39 -0
- data/lib/capybara/ember/inspector/extension/options.html +62 -0
- data/lib/capybara/ember/inspector/extension/options.js +26 -0
- data/lib/capybara/ember/inspector/extension/panes/ember_extension.css +1411 -0
- data/lib/capybara/ember/inspector/extension/panes/ember_extension.js +4687 -0
- data/lib/capybara/ember/inspector/extension/panes/index.html +17 -0
- data/lib/capybara/ember/inspector/extension/panes/start.js +3 -0
- data/lib/capybara/ember/inspector/extension/vendor/chrome-bootstrap.css +636 -0
- data/lib/capybara/ember/inspector/extension/vendor/ember.js +46943 -0
- data/lib/capybara/ember/inspector/extension/vendor/ember.prod.js +46498 -0
- data/lib/capybara/ember/inspector/extension/vendor/handlebars.js +2278 -0
- data/lib/capybara/ember/inspector/extension/vendor/jquery.js +9555 -0
- data/lib/capybara/ember/inspector/extension/vendor/list-view.prod.js +1437 -0
- data/lib/capybara/ember/inspector/extension/vendor/loader.js +41 -0
- data/lib/capybara/ember/inspector/extension/vendor/resolver.js +188 -0
- data/lib/capybara/ember/inspector/version.rb +7 -0
- metadata +158 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://web.resource.org/cc/"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
id="svg2"
|
12
|
+
sodipodi:version="0.32"
|
13
|
+
inkscape:version="0.43"
|
14
|
+
width="560"
|
15
|
+
height="560"
|
16
|
+
version="1.0"
|
17
|
+
sodipodi:docbase="C:\Dokumente und Einstellungen\Gertis.VIVASOFT\Desktop"
|
18
|
+
sodipodi:docname="arrow-down.svg">
|
19
|
+
<metadata
|
20
|
+
id="metadata7">
|
21
|
+
<rdf:RDF>
|
22
|
+
<cc:Work
|
23
|
+
rdf:about="">
|
24
|
+
<dc:format>image/svg+xml</dc:format>
|
25
|
+
<dc:type
|
26
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
27
|
+
</cc:Work>
|
28
|
+
</rdf:RDF>
|
29
|
+
</metadata>
|
30
|
+
<defs
|
31
|
+
id="defs5" />
|
32
|
+
<sodipodi:namedview
|
33
|
+
inkscape:window-height="998"
|
34
|
+
inkscape:window-width="1280"
|
35
|
+
inkscape:pageshadow="2"
|
36
|
+
inkscape:pageopacity="0.0"
|
37
|
+
borderopacity="1.0"
|
38
|
+
bordercolor="#666666"
|
39
|
+
pagecolor="#ffffff"
|
40
|
+
id="base"
|
41
|
+
inkscape:zoom="1.4093077"
|
42
|
+
inkscape:cx="369.9936"
|
43
|
+
inkscape:cy="350.13172"
|
44
|
+
inkscape:window-x="1276"
|
45
|
+
inkscape:window-y="-4"
|
46
|
+
inkscape:current-layer="svg2" />
|
47
|
+
<path
|
48
|
+
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-opacity:1"
|
49
|
+
d="M 3.5478478,3.6203409 L 557.01111,3.6203409 L 280.2795,556.3741 L 3.5478478,3.6203409 z "
|
50
|
+
id="rect1316"
|
51
|
+
sodipodi:nodetypes="cccc" />
|
52
|
+
</svg>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
|
2
|
+
<g>
|
3
|
+
<path fill="#000000" d="M66.755,10.115H33.937c-7.98,0-14.451,6.472-14.451,14.454V75.75c0,7.979,5.267,14.451,13.246,14.451 h34.023c7.982,0,14.454-6.472,14.454-14.451V24.569C81.209,16.587,74.737,10.115,66.755,10.115z M74.583,72.855 c0,6.597-4.146,10.128-10.746,10.128H36.161c-6.6,0-9.75-3.531-9.75-10.128V28.082c0-9.814,4.149-10.749,10.748-10.749h26.678 c6.6,0,10.746,2.941,10.746,9.542V72.855z"/>
|
4
|
+
<path fill="#000000" d="M42.065,48.349c0-2.241-1.817-4.062-4.065-4.062c-2.243,0-4.063,1.821-4.063,4.062 c0,2.248,1.821,4.065,4.063,4.065C40.248,52.414,42.065,50.597,42.065,48.349z"/>
|
5
|
+
<path fill="#000000" d="M53.959,48.349c0-2.241-1.82-4.062-4.064-4.062c-2.246,0-4.065,1.821-4.065,4.062 c0,2.248,1.819,4.065,4.065,4.065C52.139,52.414,53.959,50.597,53.959,48.349z"/>
|
6
|
+
<path fill="#000000" d="M66.305,48.349c0-2.241-1.82-4.062-4.067-4.062c-2.242,0-4.062,1.821-4.062,4.062 c0,2.248,1.82,4.065,4.062,4.065C64.484,52.414,66.305,50.597,66.305,48.349z"/>
|
7
|
+
<path fill="#000000" d="M42.065,60.242c0-2.241-1.817-4.064-4.065-4.064c-2.243,0-4.063,1.823-4.063,4.064 c0,2.25,1.821,4.068,4.063,4.068C40.248,64.311,42.065,62.492,42.065,60.242z"/>
|
8
|
+
<path fill="#000000" d="M53.959,60.242c0-2.241-1.82-4.064-4.064-4.064c-2.246,0-4.065,1.823-4.065,4.064 c0,2.25,1.819,4.068,4.065,4.068C52.139,64.311,53.959,62.492,53.959,60.242z"/>
|
9
|
+
<path fill="#000000" d="M66.305,60.242c0-2.241-1.82-4.064-4.067-4.064c-2.242,0-4.062,1.823-4.062,4.064 c0,2.25,1.82,4.068,4.062,4.068C64.484,64.311,66.305,62.492,66.305,60.242z"/>
|
10
|
+
<path fill="#000000" d="M42.065,71.686c0-2.244-1.817-4.068-4.065-4.068c-2.243,0-4.063,1.824-4.063,4.068 c0,2.247,1.821,4.064,4.063,4.064C40.248,75.75,42.065,73.933,42.065,71.686z"/>
|
11
|
+
<circle fill="#000000" cx="49.895" cy="71.686" r="4.064"/>
|
12
|
+
<path fill="#000000" d="M66.305,71.686c0-2.244-1.82-4.068-4.067-4.068c-2.242,0-4.062,1.824-4.062,4.068 c0,2.247,1.82,4.064,4.062,4.064C64.484,75.75,66.305,73.933,66.305,71.686z"/>
|
13
|
+
<path fill="#000000" d="M70.971,28.857c0,3.368-2.729,6.098-6.098,6.098H35.517c-3.365,0-6.096-2.729-6.096-6.098l0,0 c0-3.368,2.731-6.095,6.096-6.095h29.356C68.241,22.763,70.971,25.489,70.971,28.857L70.971,28.857z"/>
|
14
|
+
</g>
|
15
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,14 @@
|
|
1
|
+
(function($) {
|
2
|
+
"use strict";
|
3
|
+
if (!$) { return; }
|
4
|
+
$(function() {
|
5
|
+
var libraries = window.Ember && window.Ember.libraries;
|
6
|
+
if (libraries) {
|
7
|
+
var versions = Array.prototype.slice.call(libraries, 0);
|
8
|
+
window.postMessage({
|
9
|
+
type: 'emberVersion',
|
10
|
+
versions: versions
|
11
|
+
}, '*');
|
12
|
+
}
|
13
|
+
});
|
14
|
+
}(window.jQuery));
|
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"manifest_version": 2,
|
3
|
+
|
4
|
+
"name": "Ember Inspector",
|
5
|
+
"description": "Tool for debugging Ember applications.",
|
6
|
+
"version": "1.6.2",
|
7
|
+
|
8
|
+
"icons": {
|
9
|
+
"16": "images/icon16.png",
|
10
|
+
"48": "images/icon48.png",
|
11
|
+
"128": "images/icon128.png"
|
12
|
+
},
|
13
|
+
"permissions": [
|
14
|
+
"<all_urls>",
|
15
|
+
"storage"
|
16
|
+
],
|
17
|
+
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
|
18
|
+
"devtools_page": "devtools.html",
|
19
|
+
"content_scripts": [{
|
20
|
+
"matches": ["<all_urls>"],
|
21
|
+
"js": ["content-script.js"],
|
22
|
+
"run_at": "document_end",
|
23
|
+
"all_frames": true
|
24
|
+
}],
|
25
|
+
"background": {
|
26
|
+
"scripts": ["background-script.js"]
|
27
|
+
},
|
28
|
+
"page_action": {
|
29
|
+
"default_icon": {
|
30
|
+
"19": "images/icon19.png",
|
31
|
+
"38": "images/icon38.png"
|
32
|
+
},
|
33
|
+
"default_title": "This webpage is running Ember.js"
|
34
|
+
},
|
35
|
+
"web_accessible_resources": [
|
36
|
+
"in-page-script.js"
|
37
|
+
],
|
38
|
+
"options_page": "options.html"
|
39
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Settings | Ember Inspector</title>
|
4
|
+
<link rel="stylesheet" href="vendor/chrome-bootstrap.css">
|
5
|
+
|
6
|
+
<style>
|
7
|
+
.navigation img {
|
8
|
+
margin-left: 20px;
|
9
|
+
margin-top: 20px;
|
10
|
+
width: 100px;
|
11
|
+
}
|
12
|
+
.tomster-toggle {
|
13
|
+
line-height: 19px;
|
14
|
+
}
|
15
|
+
.tomster-toggle img {
|
16
|
+
margin-bottom: -5px;
|
17
|
+
}
|
18
|
+
</style>
|
19
|
+
</head>
|
20
|
+
|
21
|
+
<body class="chrome-bootstrap">
|
22
|
+
|
23
|
+
<div class="frame">
|
24
|
+
<div class="navigation">
|
25
|
+
<img src="/images/tomster.png" width="100" height="95">
|
26
|
+
<ul class="menu">
|
27
|
+
<li class="selected">
|
28
|
+
<a href="#">Settings</a>
|
29
|
+
</li>
|
30
|
+
</ul>
|
31
|
+
<ul class="menu">
|
32
|
+
<li class="">
|
33
|
+
<a href="https://github.com/tildeio/ember-extension">Fork me on GitHub</a>
|
34
|
+
</li>
|
35
|
+
</ul>
|
36
|
+
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div class="main-view view">
|
40
|
+
<div class="Settings">
|
41
|
+
<header>
|
42
|
+
<h1>Settings</h1>
|
43
|
+
</header>
|
44
|
+
|
45
|
+
<div class="content">
|
46
|
+
<br />
|
47
|
+
<form action="submit">
|
48
|
+
<label class="tomster-toggle">
|
49
|
+
<input type="checkbox" data-settings="tomster">
|
50
|
+
Display the Tomster
|
51
|
+
<img src="/images/icon19.png" width="19" height="19">
|
52
|
+
when a site runs Ember.js
|
53
|
+
</label>
|
54
|
+
</form>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
</div>
|
59
|
+
</body>
|
60
|
+
|
61
|
+
<script src="options.js"></script>
|
62
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
(function() {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
function loadOptions() {
|
5
|
+
chrome.storage.sync.get('options', function(data) {
|
6
|
+
var options = data.options;
|
7
|
+
|
8
|
+
document.querySelector('[data-settings=tomster]').checked = options.showTomster;
|
9
|
+
});
|
10
|
+
}
|
11
|
+
|
12
|
+
function storeOptions() {
|
13
|
+
/*jshint validthis:true */
|
14
|
+
var showTomster = this.checked;
|
15
|
+
|
16
|
+
chrome.storage.sync.set({
|
17
|
+
options: { showTomster: showTomster }
|
18
|
+
}, function optionsSaved() {
|
19
|
+
console.log("saved!");
|
20
|
+
});
|
21
|
+
}
|
22
|
+
|
23
|
+
document.addEventListener('DOMContentLoaded', loadOptions);
|
24
|
+
document.querySelector('[data-settings=tomster]').addEventListener('click', storeOptions);
|
25
|
+
|
26
|
+
}());
|
@@ -0,0 +1,1411 @@
|
|
1
|
+
/**
|
2
|
+
APP
|
3
|
+
===
|
4
|
+
The layout of the entire
|
5
|
+
application.
|
6
|
+
*/
|
7
|
+
|
8
|
+
.app {
|
9
|
+
display: -webkit-flex;
|
10
|
+
display: flex;
|
11
|
+
-webkit-flex-direction: column;
|
12
|
+
flex-direction: column;
|
13
|
+
-webkit-flex: auto;
|
14
|
+
flex: auto;
|
15
|
+
overflow: hidden;
|
16
|
+
position: absolute;
|
17
|
+
top: 0;
|
18
|
+
right: 0;
|
19
|
+
bottom: 0;
|
20
|
+
left: 0;
|
21
|
+
z-index: 0;
|
22
|
+
font-size: 12px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.app.is-dragging {
|
26
|
+
cursor: col-resize;
|
27
|
+
}
|
28
|
+
|
29
|
+
h1, h2, h3, h4, h5, h6 {
|
30
|
+
margin: 0;
|
31
|
+
padding: 0;
|
32
|
+
font-size: 12px;
|
33
|
+
font-weight: normal;
|
34
|
+
}
|
35
|
+
|
36
|
+
html, body {
|
37
|
+
height: 100%;
|
38
|
+
}
|
39
|
+
|
40
|
+
body, input {
|
41
|
+
font-family: "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
42
|
+
color: #333;
|
43
|
+
}
|
44
|
+
|
45
|
+
body, div, nav {
|
46
|
+
margin: 0;
|
47
|
+
padding: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
a {
|
51
|
+
color: inherit;
|
52
|
+
}
|
53
|
+
|
54
|
+
code {
|
55
|
+
font-family: Menlo, Monaco, monospace;
|
56
|
+
}
|
57
|
+
|
58
|
+
.ember-list-view {
|
59
|
+
overflow: auto !important;
|
60
|
+
overflow-y: scroll !important;
|
61
|
+
position: relative;
|
62
|
+
}
|
63
|
+
.ember-list-item-view {
|
64
|
+
position: absolute;
|
65
|
+
}
|
66
|
+
|
67
|
+
/**
|
68
|
+
DRAG-HANDLE
|
69
|
+
===========
|
70
|
+
The drag handle used for resizing elements
|
71
|
+
*/
|
72
|
+
|
73
|
+
.drag-handle {
|
74
|
+
position: absolute;
|
75
|
+
top: 0;
|
76
|
+
bottom: 0;
|
77
|
+
width: 6px;
|
78
|
+
z-index: 500;
|
79
|
+
cursor: col-resize;
|
80
|
+
}
|
81
|
+
|
82
|
+
.drag-handle--right {
|
83
|
+
margin-right: -3px;
|
84
|
+
}
|
85
|
+
|
86
|
+
.drag-handle--left {
|
87
|
+
margin-left: -3px;
|
88
|
+
}
|
89
|
+
|
90
|
+
.drag-handle__border {
|
91
|
+
height: 100%;
|
92
|
+
margin-left: 3px;
|
93
|
+
width: 1px;
|
94
|
+
border-left: 1px solid #A3A3A3;
|
95
|
+
pointer-events: none;
|
96
|
+
}
|
97
|
+
|
98
|
+
/**
|
99
|
+
DROP-DOWN
|
100
|
+
=========
|
101
|
+
*/
|
102
|
+
|
103
|
+
.dropdown {
|
104
|
+
position: relative;
|
105
|
+
-webkit-flex: auto;
|
106
|
+
flex: auto;
|
107
|
+
}
|
108
|
+
|
109
|
+
.dropdown__select {
|
110
|
+
-webkit-appearance: none;
|
111
|
+
-webkit-box-sizing: border-box;
|
112
|
+
box-sizing: border-box;
|
113
|
+
display: block;
|
114
|
+
width: 100%;
|
115
|
+
height: 18px;
|
116
|
+
padding: 0 15px 0 5px;
|
117
|
+
font-size: 12px;
|
118
|
+
color: rgb(48, 48, 48);
|
119
|
+
text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
|
120
|
+
border: 0;
|
121
|
+
background-color: transparent;
|
122
|
+
}
|
123
|
+
|
124
|
+
.dropdown__select:focus {
|
125
|
+
outline: none;
|
126
|
+
}
|
127
|
+
|
128
|
+
.dropdown__arrow {
|
129
|
+
position: absolute;
|
130
|
+
right: 4px;
|
131
|
+
top: 7px;
|
132
|
+
background-image: url(../images/arrow_down.svg);
|
133
|
+
background-size: 100%;
|
134
|
+
opacity: 0.7;
|
135
|
+
width: 7px;
|
136
|
+
height: 7px;
|
137
|
+
display: inline-block;
|
138
|
+
pointer-events: none;
|
139
|
+
}
|
140
|
+
|
141
|
+
/**
|
142
|
+
ERROR-PAGE
|
143
|
+
===========
|
144
|
+
An error with possible reaons
|
145
|
+
and solutions.
|
146
|
+
For example when application
|
147
|
+
is not detected.
|
148
|
+
*/
|
149
|
+
|
150
|
+
.data-error-page-container {
|
151
|
+
position: relative;
|
152
|
+
min-height: 100%;
|
153
|
+
padding: 10px;
|
154
|
+
}
|
155
|
+
|
156
|
+
.error-page {
|
157
|
+
padding: 10px;
|
158
|
+
background: #ededed;
|
159
|
+
position: absolute;
|
160
|
+
top: 0;
|
161
|
+
left: 0;
|
162
|
+
width: 100%;
|
163
|
+
min-height: 100%;
|
164
|
+
color: #505050;
|
165
|
+
-moz-box-sizing: border-box;
|
166
|
+
box-sizing: border-box;
|
167
|
+
}
|
168
|
+
|
169
|
+
.error-page__content {
|
170
|
+
position: relative;
|
171
|
+
width: 530px;
|
172
|
+
padding: 25px;
|
173
|
+
-moz-box-sizing: border-box;
|
174
|
+
box-sizing: border-box;
|
175
|
+
background: #ffffff;
|
176
|
+
border: solid 1px #d1d1d1;
|
177
|
+
border-radius: 5px;
|
178
|
+
margin: auto;
|
179
|
+
}
|
180
|
+
|
181
|
+
.error-page__content a {
|
182
|
+
color: #f23818;
|
183
|
+
text-decoration: none;
|
184
|
+
}
|
185
|
+
|
186
|
+
.error-page__header {
|
187
|
+
font-weight: bold;
|
188
|
+
font-size: 19px;
|
189
|
+
padding-top: 15px;
|
190
|
+
padding-bottom: 30px;
|
191
|
+
margin-bottom: 10px;
|
192
|
+
border-bottom: solid 1px #d1d1d1;
|
193
|
+
position: relative;
|
194
|
+
}
|
195
|
+
|
196
|
+
.error-page__header:after {
|
197
|
+
content: ' ';
|
198
|
+
width: 128px;
|
199
|
+
height: 89px;
|
200
|
+
background: url("../images/fishy_tomster.png") left center no-repeat;
|
201
|
+
position: absolute;
|
202
|
+
right: 0px;
|
203
|
+
bottom: 0px;
|
204
|
+
}
|
205
|
+
|
206
|
+
.error-page__title {
|
207
|
+
width: 345px;
|
208
|
+
}
|
209
|
+
|
210
|
+
.error-page__reasons {
|
211
|
+
font-size: 13px;
|
212
|
+
}
|
213
|
+
|
214
|
+
.error-page__reasons-title {
|
215
|
+
font-weight: bold;
|
216
|
+
}
|
217
|
+
|
218
|
+
.error-page__reasons ul {
|
219
|
+
list-style-type: disc;
|
220
|
+
}
|
221
|
+
|
222
|
+
.error-page__list {
|
223
|
+
padding-left: 16px;
|
224
|
+
padding-bottom: 5px;
|
225
|
+
border-bottom: solid 1px #d1d1d1;;
|
226
|
+
}
|
227
|
+
|
228
|
+
.error-page__list li {
|
229
|
+
padding: 2px 0;
|
230
|
+
}
|
231
|
+
|
232
|
+
.row {
|
233
|
+
display: -webkit-flex;
|
234
|
+
display: flex;
|
235
|
+
-webkit-flex-direction: row;
|
236
|
+
flex-direction: row;
|
237
|
+
}
|
238
|
+
|
239
|
+
.cell {
|
240
|
+
-webkit-flex: 1;
|
241
|
+
flex: 1;
|
242
|
+
|
243
|
+
overflow: hidden;
|
244
|
+
text-overflow: ellipsis;
|
245
|
+
white-space: nowrap;
|
246
|
+
|
247
|
+
line-height: 30px;
|
248
|
+
height: 30px;
|
249
|
+
opacity: 0.7;
|
250
|
+
padding-left: 5px;
|
251
|
+
|
252
|
+
-moz-box-sizing: border-box;
|
253
|
+
box-sizing: border-box;
|
254
|
+
}
|
255
|
+
|
256
|
+
.row:hover .cell {
|
257
|
+
opacity: 1;
|
258
|
+
}
|
259
|
+
|
260
|
+
/* ARROW FOR COLLAPSING AND EXPANDING */
|
261
|
+
|
262
|
+
.cell__arrow {
|
263
|
+
cursor: pointer;
|
264
|
+
display: block;
|
265
|
+
float: left;
|
266
|
+
width: 15px;
|
267
|
+
height: 30px;
|
268
|
+
position: relative;
|
269
|
+
}
|
270
|
+
|
271
|
+
.cell__arrow:before {
|
272
|
+
position: absolute;
|
273
|
+
right: 5px;
|
274
|
+
top: 0px;
|
275
|
+
font-size: 75%;
|
276
|
+
color: #737373;
|
277
|
+
}
|
278
|
+
|
279
|
+
.row_arrow_collapsed .cell__arrow:before {
|
280
|
+
content: "\25B6";
|
281
|
+
}
|
282
|
+
|
283
|
+
.row_arrow_expanded .cell__arrow:before {
|
284
|
+
content: "\25BC";
|
285
|
+
}
|
286
|
+
|
287
|
+
.row_arrow_collapsed .cell_type_main, .row_arrow_expanded .cell_type_main {
|
288
|
+
cursor: pointer;
|
289
|
+
}
|
290
|
+
/* -------------------------------- */
|
291
|
+
|
292
|
+
|
293
|
+
.row-wrapper {
|
294
|
+
width: 100%;
|
295
|
+
background: #f3f3f3;
|
296
|
+
}
|
297
|
+
|
298
|
+
.row-wrapper:nth-of-type(2n) {
|
299
|
+
background: #fff;
|
300
|
+
}
|
301
|
+
|
302
|
+
|
303
|
+
.row.row_highlight .cell {
|
304
|
+
opacity: 1;
|
305
|
+
}
|
306
|
+
|
307
|
+
|
308
|
+
.cell.cell_size_small {
|
309
|
+
flex: none;
|
310
|
+
width: 50px;
|
311
|
+
}
|
312
|
+
|
313
|
+
.cell.cell_size_medium {
|
314
|
+
flex: none;
|
315
|
+
width: 130px;
|
316
|
+
}
|
317
|
+
|
318
|
+
.cell.cell_size_large {
|
319
|
+
flex: none;
|
320
|
+
width: 250px;
|
321
|
+
}
|
322
|
+
|
323
|
+
.cell.cell_size_huge {
|
324
|
+
flex: none;
|
325
|
+
width: 450px;
|
326
|
+
}
|
327
|
+
|
328
|
+
.cell.cell_type_main {
|
329
|
+
font-weight: bold;
|
330
|
+
}
|
331
|
+
|
332
|
+
.cell.cell_value_numeric {
|
333
|
+
min-width: 65px;
|
334
|
+
text-align: right;
|
335
|
+
padding-right: 10px;
|
336
|
+
}
|
337
|
+
|
338
|
+
.cell.cell_type_header {
|
339
|
+
color: inherit;
|
340
|
+
padding: 0;
|
341
|
+
padding-left: 5px;
|
342
|
+
opacity: 1;
|
343
|
+
|
344
|
+
|
345
|
+
font-weight: normal;
|
346
|
+
border-left: 1px solid #cacaca;
|
347
|
+
}
|
348
|
+
|
349
|
+
.cell.cell_type_header:first-of-type {
|
350
|
+
border-left: none;
|
351
|
+
}
|
352
|
+
|
353
|
+
.cell_clickable {
|
354
|
+
cursor: pointer;
|
355
|
+
|
356
|
+
}
|
357
|
+
|
358
|
+
.row:hover .cell_clickable {
|
359
|
+
text-decoration: underline;
|
360
|
+
}
|
361
|
+
|
362
|
+
.cell.spacer {
|
363
|
+
border: none;
|
364
|
+
width:0px;
|
365
|
+
flex: none;
|
366
|
+
}
|
367
|
+
|
368
|
+
.list-tree_scrollable {
|
369
|
+
overflow-y: scroll;
|
370
|
+
}
|
371
|
+
|
372
|
+
.list-tree__right-helper {
|
373
|
+
float: right;
|
374
|
+
margin-right: 5px;
|
375
|
+
}
|
376
|
+
|
377
|
+
.list-tree__limited {
|
378
|
+
max-width: calc(100% - 40px);
|
379
|
+
overflow: hidden;
|
380
|
+
display: inline-block;
|
381
|
+
text-overflow: ellipsis;
|
382
|
+
white-space: nowrap;
|
383
|
+
float: left;
|
384
|
+
}
|
385
|
+
|
386
|
+
.list-tree__limited_helper_large {
|
387
|
+
max-width: calc(100% - 70px);
|
388
|
+
}
|
389
|
+
|
390
|
+
.list-tree__limited_helper_very-large {
|
391
|
+
max-width: calc(100% - 80px);
|
392
|
+
}
|
393
|
+
|
394
|
+
|
395
|
+
.list-view {
|
396
|
+
position: relative;
|
397
|
+
font-size: 11px;
|
398
|
+
height: 100%;
|
399
|
+
-moz-box-sizing: border-box;
|
400
|
+
box-sizing: border-box;
|
401
|
+
min-width: 700px;
|
402
|
+
background: white
|
403
|
+
}
|
404
|
+
|
405
|
+
.list-view__header {
|
406
|
+
text-align: left;
|
407
|
+
-webkit-user-select: none;
|
408
|
+
-moz-user-select: none;
|
409
|
+
user-select: none;
|
410
|
+
border-bottom: 1px solid #cacaca;
|
411
|
+
}
|
412
|
+
|
413
|
+
|
414
|
+
.list-view.list-view_compact {
|
415
|
+
min-width: 0;
|
416
|
+
}
|
417
|
+
|
418
|
+
.no-results {
|
419
|
+
padding: 5px 10px;
|
420
|
+
}
|
421
|
+
|
422
|
+
/**
|
423
|
+
MIXIN
|
424
|
+
=====
|
425
|
+
A single mixin inside the object inspector
|
426
|
+
It could be the object's own properties
|
427
|
+
or a mixin the object extends
|
428
|
+
*/
|
429
|
+
|
430
|
+
.mixin__name {
|
431
|
+
margin-top: -1px;
|
432
|
+
padding: 2px 2px 2px 5px;
|
433
|
+
border-top: 1px solid #bdbdbd;
|
434
|
+
border-bottom: 1px solid #bdbdbd;
|
435
|
+
background-color: #f0f0f0;
|
436
|
+
cursor: default;
|
437
|
+
-webkit-user-select: none;
|
438
|
+
-moz-user-select: none;
|
439
|
+
user-select: none;
|
440
|
+
}
|
441
|
+
|
442
|
+
.mixin__name:active {
|
443
|
+
background-color: #ccc;
|
444
|
+
border-top: 1px solid #b2b2b2;
|
445
|
+
border-bottom: 1px solid #b2b2b2;
|
446
|
+
}
|
447
|
+
|
448
|
+
.mixin_props_no .mixin__name:before {
|
449
|
+
opacity: 0;
|
450
|
+
}
|
451
|
+
|
452
|
+
.mixin.ember-mixin .mixin__name {
|
453
|
+
color: #888;
|
454
|
+
}
|
455
|
+
|
456
|
+
.mixin__name:before {
|
457
|
+
content: "\25B6";
|
458
|
+
color: #737373;
|
459
|
+
margin-right: 4px;
|
460
|
+
position: relative;
|
461
|
+
top: -1px;
|
462
|
+
font-size: 75%;
|
463
|
+
}
|
464
|
+
|
465
|
+
.mixin_state_expanded .mixin__name {
|
466
|
+
border-bottom: 1px solid #bdbdbd;
|
467
|
+
}
|
468
|
+
|
469
|
+
.mixin_state_expanded .mixin__name:before {
|
470
|
+
content: "\25BC";
|
471
|
+
}
|
472
|
+
|
473
|
+
.mixin.ember-mixin .mixin__name:before {
|
474
|
+
color: #aaa;
|
475
|
+
}
|
476
|
+
|
477
|
+
.mixin__properties {
|
478
|
+
margin: 5px;
|
479
|
+
list-style-type: none;
|
480
|
+
padding: 0;
|
481
|
+
font-size: 12px;
|
482
|
+
font-family: Menlo, Monaco, monospace;
|
483
|
+
}
|
484
|
+
|
485
|
+
.mixin__property {
|
486
|
+
position: relative;
|
487
|
+
white-space: nowrap;
|
488
|
+
overflow: hidden;
|
489
|
+
text-overflow: ellipsis;
|
490
|
+
display: flex;
|
491
|
+
flex-direction: row;
|
492
|
+
-webkit-align-items: center;
|
493
|
+
align-items: center;
|
494
|
+
}
|
495
|
+
|
496
|
+
.mixin__property button {
|
497
|
+
border: none;
|
498
|
+
background: none;
|
499
|
+
margin: 0;
|
500
|
+
padding: 0;
|
501
|
+
}
|
502
|
+
|
503
|
+
.mixin__property button img, .mixin__property span.pad {
|
504
|
+
margin-right: 3px;
|
505
|
+
width: 20px;
|
506
|
+
}
|
507
|
+
|
508
|
+
.mixin__property-overridden-by {
|
509
|
+
display: none;
|
510
|
+
}
|
511
|
+
|
512
|
+
.mixin__property-name {
|
513
|
+
color: #909;
|
514
|
+
}
|
515
|
+
|
516
|
+
.mixin__property-value {
|
517
|
+
flex: 1;
|
518
|
+
overflow: hidden;
|
519
|
+
white-space: nowrap;
|
520
|
+
text-overflow: ellipsis;
|
521
|
+
min-height: 14px;
|
522
|
+
}
|
523
|
+
|
524
|
+
.mixin__property-value-txt {
|
525
|
+
flex: 1;
|
526
|
+
border: solid 1px #ccc;
|
527
|
+
/*border: none;*/
|
528
|
+
box-shadow: 2px 2px 2px #888;
|
529
|
+
/*box-shadow: none;*/
|
530
|
+
outline: none;
|
531
|
+
}
|
532
|
+
|
533
|
+
.mixin__calc-btn_calculated {
|
534
|
+
opacity: 0.4;
|
535
|
+
}
|
536
|
+
|
537
|
+
.mixin__send-btn {
|
538
|
+
width: 20px;
|
539
|
+
opacity: 0;
|
540
|
+
}
|
541
|
+
|
542
|
+
|
543
|
+
.mixin__property-value-separator {
|
544
|
+
margin-right: 5px;
|
545
|
+
}
|
546
|
+
|
547
|
+
.mixin__property .type-function {
|
548
|
+
color: #999;
|
549
|
+
}
|
550
|
+
|
551
|
+
.mixin__property .type-object {
|
552
|
+
color: #999;
|
553
|
+
}
|
554
|
+
|
555
|
+
.mixin__property .type-ember-object,
|
556
|
+
.mixin__property .type-array {
|
557
|
+
cursor: pointer;
|
558
|
+
}
|
559
|
+
|
560
|
+
.mixin__property-calculated-value {
|
561
|
+
flex: 1;
|
562
|
+
color: #999;
|
563
|
+
}
|
564
|
+
|
565
|
+
.mixin__property .type-null, .mixin__property .type-boolean {
|
566
|
+
color: #009;
|
567
|
+
}
|
568
|
+
|
569
|
+
.mixin__property .type-descriptor {
|
570
|
+
cursor: pointer;
|
571
|
+
color: #900;
|
572
|
+
}
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
.mixin__property_state_overridden {
|
577
|
+
text-decoration: line-through;
|
578
|
+
}
|
579
|
+
|
580
|
+
|
581
|
+
.mixin__property:not(.mixin__property_state_overridden):hover {
|
582
|
+
background-color: #ffe;
|
583
|
+
}
|
584
|
+
|
585
|
+
|
586
|
+
.mixin__property_state_overridden:hover .mixin__property-overridden-by {
|
587
|
+
position: absolute;
|
588
|
+
background-color: rgba(255, 255, 255, 0.95);
|
589
|
+
right: 0;
|
590
|
+
display: inline;
|
591
|
+
text-decoration: none;
|
592
|
+
}
|
593
|
+
|
594
|
+
.mixin__property:not(.mixin__property_state_overridden):hover .mixin__send-btn {
|
595
|
+
opacity: 1;
|
596
|
+
}
|
597
|
+
|
598
|
+
.mixin__property:not(.mixin__property_state_overridden):hover .mixin__send-btn:active {
|
599
|
+
opacity: 0.5;
|
600
|
+
}
|
601
|
+
|
602
|
+
/**
|
603
|
+
Nav
|
604
|
+
===
|
605
|
+
Navigation lists and links
|
606
|
+
*/
|
607
|
+
.nav__title {
|
608
|
+
padding: 3px 5px;
|
609
|
+
line-height: 11px;
|
610
|
+
height: 15px;
|
611
|
+
}
|
612
|
+
|
613
|
+
.nav__title h3 {
|
614
|
+
white-space: nowrap;
|
615
|
+
display: inline-block;
|
616
|
+
text-overflow: ellipsis;
|
617
|
+
overflow: hidden;
|
618
|
+
color: #6e6e6e;
|
619
|
+
text-transform: uppercase;
|
620
|
+
text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
|
621
|
+
float: left;
|
622
|
+
padding: 0;
|
623
|
+
margin: 0;
|
624
|
+
}
|
625
|
+
|
626
|
+
/* List */
|
627
|
+
|
628
|
+
.nav ul {
|
629
|
+
clear: both;
|
630
|
+
list-style-type: none;
|
631
|
+
padding: 0;
|
632
|
+
margin: 0;
|
633
|
+
-webkit-user-select: none;
|
634
|
+
-moz-user-select: none;
|
635
|
+
user-select: none;
|
636
|
+
}
|
637
|
+
|
638
|
+
.nav li {
|
639
|
+
display: block;
|
640
|
+
margin-top: 2px;
|
641
|
+
}
|
642
|
+
|
643
|
+
.nav li svg {
|
644
|
+
position: absolute;
|
645
|
+
top: 50%;
|
646
|
+
left: 14px;
|
647
|
+
margin-top: -10px;
|
648
|
+
}
|
649
|
+
|
650
|
+
/* List anchor */
|
651
|
+
|
652
|
+
.nav li > a {
|
653
|
+
display: block;
|
654
|
+
height: 18px;
|
655
|
+
line-height: 15px;
|
656
|
+
margin-top: 1px;
|
657
|
+
padding: 2px 5px;
|
658
|
+
white-space: nowrap;
|
659
|
+
text-overflow: ellipsis;
|
660
|
+
overflow: hidden;
|
661
|
+
text-decoration: none;
|
662
|
+
cursor: default;
|
663
|
+
}
|
664
|
+
|
665
|
+
.app.is-dragging .nav li > a {
|
666
|
+
cursor: col-resize;
|
667
|
+
}
|
668
|
+
|
669
|
+
.nav li > a polygon,
|
670
|
+
.nav li > a path,
|
671
|
+
.nav li > a rect,
|
672
|
+
.nav li > a circle {
|
673
|
+
fill: #222;
|
674
|
+
}
|
675
|
+
|
676
|
+
.nav li > a:focus {
|
677
|
+
outline: none;
|
678
|
+
}
|
679
|
+
|
680
|
+
.nav li > a.active {
|
681
|
+
color: #fff;
|
682
|
+
text-shadow: 0 1px 0 rgba(0,0,0, 0.33);
|
683
|
+
background: #3879D9;
|
684
|
+
}
|
685
|
+
|
686
|
+
.nav li > a.active polygon,
|
687
|
+
.nav li > a.active path,
|
688
|
+
.nav li > a.active rect,
|
689
|
+
.nav li > a.active circle {
|
690
|
+
fill: #fff;
|
691
|
+
}
|
692
|
+
|
693
|
+
.app.inactive .nav li > a.active {
|
694
|
+
background: #b4b4b4;
|
695
|
+
}
|
696
|
+
|
697
|
+
/* Custom navs */
|
698
|
+
|
699
|
+
.nav--main li > a {
|
700
|
+
position: relative;
|
701
|
+
height: 33px;
|
702
|
+
padding-left: 40px;
|
703
|
+
color: #333;
|
704
|
+
line-height: 33px;
|
705
|
+
}
|
706
|
+
|
707
|
+
.nav.nav--main .nav__title {
|
708
|
+
padding-left: 15px;
|
709
|
+
}
|
710
|
+
|
711
|
+
/* Custom nav title */
|
712
|
+
|
713
|
+
.nav__title--middle {
|
714
|
+
line-height: 21px;
|
715
|
+
}
|
716
|
+
|
717
|
+
/**
|
718
|
+
NOTICE
|
719
|
+
===========
|
720
|
+
*/
|
721
|
+
|
722
|
+
.notice {
|
723
|
+
margin-top: 20px;
|
724
|
+
font-size: 14px;
|
725
|
+
text-align: center;
|
726
|
+
text-shadow: rgba(255, 255, 255, 0.75) 0 1px 0;
|
727
|
+
}
|
728
|
+
|
729
|
+
/**
|
730
|
+
OBJECT-INSPECTOR
|
731
|
+
================
|
732
|
+
The Object inspector
|
733
|
+
at the far right of the screen
|
734
|
+
*/
|
735
|
+
|
736
|
+
.object-trail {
|
737
|
+
margin-left: 39px;
|
738
|
+
word-break: break-all;
|
739
|
+
}
|
740
|
+
|
741
|
+
/**
|
742
|
+
PILL
|
743
|
+
====
|
744
|
+
*/
|
745
|
+
|
746
|
+
.pill {
|
747
|
+
font-size: 12;
|
748
|
+
position: relative;
|
749
|
+
cursor: default;
|
750
|
+
display: inline-block;
|
751
|
+
margin: 0 2px;
|
752
|
+
padding: 2px 6px;
|
753
|
+
line-height: 12px;
|
754
|
+
background: transparent;
|
755
|
+
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
|
756
|
+
border-radius: 8px;
|
757
|
+
vertical-align: middle;
|
758
|
+
background: rgba(0, 0, 0, 0.3);
|
759
|
+
}
|
760
|
+
|
761
|
+
.pill_text_clear {
|
762
|
+
text-shadow: none;
|
763
|
+
font-weight: bold;
|
764
|
+
}
|
765
|
+
|
766
|
+
.pill_not-clickable {
|
767
|
+
cursor: inherit;
|
768
|
+
}
|
769
|
+
|
770
|
+
/** MODIFIER: SIZE = SMALL **/
|
771
|
+
.pill_size_small {
|
772
|
+
font-size: 10px;
|
773
|
+
|
774
|
+
padding: 2px 4px;
|
775
|
+
}
|
776
|
+
|
777
|
+
/**
|
778
|
+
SEND-TO-CONSOLE
|
779
|
+
================
|
780
|
+
Button to send an object
|
781
|
+
to the console
|
782
|
+
*/
|
783
|
+
|
784
|
+
.send-to-console {
|
785
|
+
border: none;
|
786
|
+
background: none;
|
787
|
+
margin: 0;
|
788
|
+
padding: 0;
|
789
|
+
width: 23px;
|
790
|
+
opacity: 1;
|
791
|
+
cursor: pointer;
|
792
|
+
outline: none;
|
793
|
+
}
|
794
|
+
|
795
|
+
.send-to-console img {
|
796
|
+
margin-right: 3px;
|
797
|
+
width: 20px;
|
798
|
+
vertical-align: top;
|
799
|
+
}
|
800
|
+
|
801
|
+
.send-to-console:hover {
|
802
|
+
border-bottom: solid 1px rgb(43, 127, 179);
|
803
|
+
}
|
804
|
+
|
805
|
+
.send-to-console:active {
|
806
|
+
opacity: 0.5;
|
807
|
+
}
|
808
|
+
|
809
|
+
.send-trace-to-console {
|
810
|
+
background: url("../images/send_arrow.png") left center no-repeat;
|
811
|
+
background-size: 6px 6px;
|
812
|
+
padding-left: 9px;
|
813
|
+
font-size: 9px;
|
814
|
+
cursor: pointer;
|
815
|
+
margin-right: 10px;
|
816
|
+
-webkit-user-select: none;
|
817
|
+
user-select: none;
|
818
|
+
}
|
819
|
+
|
820
|
+
|
821
|
+
.send-trace-to-console:hover {
|
822
|
+
color: black;
|
823
|
+
}
|
824
|
+
|
825
|
+
.send-trace-to-console:active {
|
826
|
+
opacity: 0.5;
|
827
|
+
}
|
828
|
+
|
829
|
+
/**
|
830
|
+
SIDEBAR TOGGLE
|
831
|
+
==============
|
832
|
+
Button that expands or collapses sidebars
|
833
|
+
*/
|
834
|
+
|
835
|
+
.sidebar-toggle {
|
836
|
+
position: absolute;
|
837
|
+
top: 2px;
|
838
|
+
}
|
839
|
+
|
840
|
+
.sidebar-toggle--right {
|
841
|
+
right: -6px;
|
842
|
+
}
|
843
|
+
|
844
|
+
.sidebar-toggle--left {
|
845
|
+
left: -5px;
|
846
|
+
}
|
847
|
+
/**
|
848
|
+
SPLIT
|
849
|
+
=====
|
850
|
+
Vertically split panels
|
851
|
+
*/
|
852
|
+
|
853
|
+
/* .split: The container for one or more panels */
|
854
|
+
|
855
|
+
.split {
|
856
|
+
display: -webkit-flex;
|
857
|
+
display: flex;
|
858
|
+
-webkit-flex: auto;
|
859
|
+
flex: auto;
|
860
|
+
-webkit-flex-direction: row;
|
861
|
+
flex-direction: row;
|
862
|
+
overflow: hidden;
|
863
|
+
position: absolute;
|
864
|
+
top: 0;
|
865
|
+
right: 0;
|
866
|
+
bottom: 0;
|
867
|
+
left: 0;
|
868
|
+
}
|
869
|
+
|
870
|
+
/* .split__panel: Contains a body, and optional header and footer elements */
|
871
|
+
|
872
|
+
.split__panel {
|
873
|
+
display: -webkit-flex;
|
874
|
+
display: flex;
|
875
|
+
-webkit-flex-direction: column;
|
876
|
+
flex-direction: column;
|
877
|
+
-webkit-flex: auto;
|
878
|
+
flex: auto;
|
879
|
+
position: relative;
|
880
|
+
}
|
881
|
+
|
882
|
+
.split__panel__hd,
|
883
|
+
.split__panel__bd,
|
884
|
+
.split__panel__ft {
|
885
|
+
position: relative;
|
886
|
+
}
|
887
|
+
|
888
|
+
.split__panel__hd,
|
889
|
+
.split__panel__ft {
|
890
|
+
display: -webkit-flex;
|
891
|
+
display: flex;
|
892
|
+
-webkit-flex: none;
|
893
|
+
flex: none;
|
894
|
+
-webkit-flex-direction: column;
|
895
|
+
flex-direction: column;
|
896
|
+
-webkit-box-sizing: border-box;
|
897
|
+
-moz-box-sizing: border-box;
|
898
|
+
box-sizing: border-box;
|
899
|
+
padding: 1px 2px;
|
900
|
+
min-height: 23px;
|
901
|
+
line-height: 20px;
|
902
|
+
border-color: #cacaca;
|
903
|
+
}
|
904
|
+
|
905
|
+
.split__panel__hd {
|
906
|
+
border-bottom-width: 1px;
|
907
|
+
border-bottom-style: solid;
|
908
|
+
background: #fff;
|
909
|
+
}
|
910
|
+
|
911
|
+
.split__panel__bd {
|
912
|
+
-webkit-flex: auto;
|
913
|
+
flex: auto;
|
914
|
+
overflow: auto;
|
915
|
+
}
|
916
|
+
|
917
|
+
.split__panel__ft {
|
918
|
+
border-top-width: 1px;
|
919
|
+
border-top-style: solid;
|
920
|
+
background: #e8e8e8;
|
921
|
+
}
|
922
|
+
|
923
|
+
/* Fix visibility issue with phantomjs test runner
|
924
|
+
https://github.com/emberjs/ember-inspector/pull/206#issuecomment-55292354 */
|
925
|
+
|
926
|
+
.split__panel,
|
927
|
+
.split__panel__bd {
|
928
|
+
z-index: 1; /* Fixes bug where empty list-view appears over the top */
|
929
|
+
height: 100%;
|
930
|
+
}
|
931
|
+
|
932
|
+
/* Custom panels */
|
933
|
+
|
934
|
+
.split__panel--sidebar-1 .split__panel__bd {
|
935
|
+
background: #e8e8e8;
|
936
|
+
}
|
937
|
+
|
938
|
+
.split__panel--sidebar-1 > .split__panel__ft {
|
939
|
+
text-align: center;
|
940
|
+
}
|
941
|
+
|
942
|
+
.split__panel--sidebar-2 .split__panel__bd {
|
943
|
+
background: #f3f3f3;
|
944
|
+
}
|
945
|
+
|
946
|
+
/* Fix main list-view scrolling */
|
947
|
+
.split--main > .split__panel > .split__panel__bd {
|
948
|
+
overflow-y: hidden;
|
949
|
+
}
|
950
|
+
|
951
|
+
.split--main > .split__panel--sidebar-1 > .split__panel__bd {
|
952
|
+
overflow-y: auto;
|
953
|
+
}
|
954
|
+
|
955
|
+
/**
|
956
|
+
TABLE-TREE
|
957
|
+
==========
|
958
|
+
Displays a tree in a table.
|
959
|
+
Used for route tree.
|
960
|
+
*/
|
961
|
+
|
962
|
+
.table-tree {
|
963
|
+
position: relative;
|
964
|
+
padding-top: 30px;
|
965
|
+
font-size: 11px;
|
966
|
+
height: 100%;
|
967
|
+
-moz-box-sizing: border-box;
|
968
|
+
box-sizing: border-box;
|
969
|
+
float: left;
|
970
|
+
min-width: 100%;
|
971
|
+
}
|
972
|
+
|
973
|
+
.table-tree:after {
|
974
|
+
position: absolute;
|
975
|
+
top: 0;
|
976
|
+
left: 0;
|
977
|
+
width: 100%;
|
978
|
+
height: 30px;
|
979
|
+
border-bottom: 1px solid #a3a3a3;
|
980
|
+
background: linear-gradient(to bottom, #ebebeb, #dadada);
|
981
|
+
border-right: 1px solid #b3b3b3;
|
982
|
+
-moz-box-sizing: border-box;
|
983
|
+
box-sizing: border-box;
|
984
|
+
content: ' ';
|
985
|
+
}
|
986
|
+
|
987
|
+
.table-tree__table-container {
|
988
|
+
overflow-x: hidden;
|
989
|
+
overflow-y: scroll;
|
990
|
+
height: 100%;
|
991
|
+
float: left;
|
992
|
+
min-width: 100%;
|
993
|
+
}
|
994
|
+
|
995
|
+
.table-tree table {
|
996
|
+
min-width: 100%;
|
997
|
+
}
|
998
|
+
|
999
|
+
.table-tree thead {
|
1000
|
+
text-align: left;
|
1001
|
+
-webkit-user-select: none;
|
1002
|
+
-moz-user-select: none;
|
1003
|
+
user-select: none;
|
1004
|
+
}
|
1005
|
+
|
1006
|
+
.table-tree td {
|
1007
|
+
border-right: 1px solid #dadada;
|
1008
|
+
white-space: nowrap;
|
1009
|
+
padding: 8px 0px 8px 5px;
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
.table-tree th {
|
1013
|
+
font-weight: normal;
|
1014
|
+
padding: 0;
|
1015
|
+
min-width: 30px;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
.table-tree__cell {
|
1019
|
+
max-width: 300px;
|
1020
|
+
overflow: hidden;
|
1021
|
+
text-overflow: ellipsis;
|
1022
|
+
white-space: nowrap;
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
.table-tree__th-inner {
|
1026
|
+
position: absolute;
|
1027
|
+
top: 0;
|
1028
|
+
width: 100%;
|
1029
|
+
line-height: 30px;
|
1030
|
+
border-left: 1px solid #b3b3b3;
|
1031
|
+
padding-left: 5px;
|
1032
|
+
margin-left: -1px;
|
1033
|
+
z-index: 2;
|
1034
|
+
white-space: nowrap;
|
1035
|
+
overflow: hidden;
|
1036
|
+
text-overflow: ellipsis;
|
1037
|
+
}
|
1038
|
+
|
1039
|
+
.table-tree th:first-of-type .table-tree__th-inner {
|
1040
|
+
border-left: none;
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
.table-tree tr:nth-of-type(2n) td {
|
1044
|
+
background: #f3f3f3;
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
.table-tree td.table-tree__main-cell {
|
1048
|
+
font-weight: bold;
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
.table-tree td.table-tree__main-cell_state_current {
|
1052
|
+
opacity: 1;
|
1053
|
+
}
|
1054
|
+
|
1055
|
+
.table-tree tbody tr:hover td {
|
1056
|
+
opacity: 1;
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
.table-tree tbody tr:hover .table-tree__clickable {
|
1060
|
+
cursor: pointer;
|
1061
|
+
text-decoration: underline;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
|
1065
|
+
.table-tree_color_faded .table-tree__main-cell,
|
1066
|
+
.table-tree_color_faded td {
|
1067
|
+
opacity: 0.7;
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
|
1071
|
+
|
1072
|
+
/* MODIFIER: state = collapsed */
|
1073
|
+
.table-tree_state_collapsed {
|
1074
|
+
float: none;
|
1075
|
+
overflow: hidden;
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
.table-tree_state_collapsed .table-tree__table-container {
|
1079
|
+
float: none;
|
1080
|
+
}
|
1081
|
+
|
1082
|
+
.table-tree.table-tree_state_collapsed tr td {
|
1083
|
+
color: #666;
|
1084
|
+
background: #fff;
|
1085
|
+
}
|
1086
|
+
|
1087
|
+
.table-tree.table-tree_state_collapsed .table-tree__row_selected td {
|
1088
|
+
color: #333;
|
1089
|
+
font-weight: bold;
|
1090
|
+
background: #e0e0e0;
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
|
1094
|
+
/* MODIFIER: type = advanced */
|
1095
|
+
|
1096
|
+
.table-tree_type_advanced {
|
1097
|
+
display: -webkit-flex;
|
1098
|
+
display: flex;
|
1099
|
+
-webkit-flex-direction: column;
|
1100
|
+
flex-direction: column;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
.table-tree_type_advanced .table-tree__table-container {
|
1104
|
+
height: auto;
|
1105
|
+
-webkit-flex: 1;
|
1106
|
+
flex: 1;
|
1107
|
+
}
|
1108
|
+
|
1109
|
+
.table-tree_type_advanced .table-tree__filter {}
|
1110
|
+
|
1111
|
+
/* Firefox Tweaks */
|
1112
|
+
.table-tree__table-container {
|
1113
|
+
flex: 1;
|
1114
|
+
}
|
1115
|
+
|
1116
|
+
.table-tree__filter {
|
1117
|
+
flex: 0 1 24px;
|
1118
|
+
}
|
1119
|
+
|
1120
|
+
.table-tree__right-helper {
|
1121
|
+
float: right;
|
1122
|
+
margin-right: 5px;
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
.table-tree__numeric {
|
1126
|
+
min-width: 65px;
|
1127
|
+
text-align: right;
|
1128
|
+
padding-right: 10px;
|
1129
|
+
}
|
1130
|
+
|
1131
|
+
.table-tree__limited {
|
1132
|
+
max-width: 150px;
|
1133
|
+
overflow: hidden;
|
1134
|
+
display: inline-block;
|
1135
|
+
text-overflow: ellipsis;
|
1136
|
+
white-space: nowrap;
|
1137
|
+
}
|
1138
|
+
|
1139
|
+
.toolbar {
|
1140
|
+
display: -webkit-flex;
|
1141
|
+
display: flex;
|
1142
|
+
-webkit-flex-direction: row;
|
1143
|
+
flex-direction: row;
|
1144
|
+
align-items: center;
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
.toolbar > * {
|
1148
|
+
-webkit-flex: none;
|
1149
|
+
flex: none;
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
/**
|
1153
|
+
Toolbar Title
|
1154
|
+
=============
|
1155
|
+
*/
|
1156
|
+
|
1157
|
+
.toolbar__title {
|
1158
|
+
-webkit-flex: auto;
|
1159
|
+
flex: auto;
|
1160
|
+
font-weight: 700;
|
1161
|
+
white-space: nowrap;
|
1162
|
+
overflow: hidden;
|
1163
|
+
text-overflow: ellipsis;
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
/**
|
1167
|
+
Toolbar Icon Buttons
|
1168
|
+
====================
|
1169
|
+
*/
|
1170
|
+
|
1171
|
+
.toolbar__icon-button {
|
1172
|
+
display: inline-block;
|
1173
|
+
width: 32px;
|
1174
|
+
height: 20px;
|
1175
|
+
margin-left: 0;
|
1176
|
+
padding: 0;
|
1177
|
+
vertical-align: top;
|
1178
|
+
border: 0 transparent none;
|
1179
|
+
background-color: rgba(0, 0, 0, 0);
|
1180
|
+
}
|
1181
|
+
|
1182
|
+
.toolbar__icon-button:first-child {
|
1183
|
+
margin-left: -2px;
|
1184
|
+
}
|
1185
|
+
|
1186
|
+
.toolbar__icon-button:focus {
|
1187
|
+
outline: none;
|
1188
|
+
}
|
1189
|
+
|
1190
|
+
.toolbar__icon-button .svg-stroke {
|
1191
|
+
stroke: rgb(103,103,103);
|
1192
|
+
}
|
1193
|
+
|
1194
|
+
.toolbar__icon-button .svg-fill {
|
1195
|
+
fill: rgb(103,103,103);
|
1196
|
+
}
|
1197
|
+
|
1198
|
+
.toolbar__icon-button:hover .svg-stroke {
|
1199
|
+
stroke: rgb(64,64,64);
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
.toolbar__icon-button:hover .svg-fill {
|
1203
|
+
fill: rgb(64,64,64);
|
1204
|
+
}
|
1205
|
+
|
1206
|
+
.toolbar__icon-button:active {
|
1207
|
+
transform: translate(1px, 1px);
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
/* active (highlighted) */
|
1211
|
+
.toolbar__icon-button.active .svg-stroke {
|
1212
|
+
stroke: #4281eb;
|
1213
|
+
}
|
1214
|
+
|
1215
|
+
.toolbar__icon-button.active .svg-fill {
|
1216
|
+
fill: #4281eb;
|
1217
|
+
}
|
1218
|
+
|
1219
|
+
/* disabled */
|
1220
|
+
.toolbar__icon-button.disabled {
|
1221
|
+
pointer-events: none;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
.toolbar__icon-button.disabled:active {
|
1225
|
+
transform: none;
|
1226
|
+
}
|
1227
|
+
|
1228
|
+
.toolbar__icon-button.disabled .svg-stroke {
|
1229
|
+
stroke: #cacaca;
|
1230
|
+
}
|
1231
|
+
|
1232
|
+
.toolbar__icon-button.disabled .svg-fill {
|
1233
|
+
fill: #cacaca;
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
/**
|
1237
|
+
Toolbar Checkboxes
|
1238
|
+
==================
|
1239
|
+
*/
|
1240
|
+
|
1241
|
+
.toolbar__checkbox {
|
1242
|
+
margin: auto 6px auto 0;
|
1243
|
+
height: auto;
|
1244
|
+
line-height: 20px;
|
1245
|
+
white-space: nowrap;
|
1246
|
+
overflow: hidden;
|
1247
|
+
}
|
1248
|
+
|
1249
|
+
/**
|
1250
|
+
Toolbar Radio Button Pills
|
1251
|
+
==========================
|
1252
|
+
*/
|
1253
|
+
|
1254
|
+
.toolbar__radio {
|
1255
|
+
font-size: 12px;
|
1256
|
+
line-height: 18px;
|
1257
|
+
position: relative;
|
1258
|
+
cursor: default;
|
1259
|
+
display: inline-block;
|
1260
|
+
margin-right: 6px;
|
1261
|
+
padding: 2px 6px;
|
1262
|
+
line-height: 12px;
|
1263
|
+
background: transparent;
|
1264
|
+
text-shadow: rgba(255, 255, 255, 0.5) 0 1px 0;
|
1265
|
+
border: none;
|
1266
|
+
border-radius: 8px;
|
1267
|
+
vertical-align: middle;
|
1268
|
+
}
|
1269
|
+
|
1270
|
+
.toolbar__radio:active,
|
1271
|
+
.toolbar__radio:hover,
|
1272
|
+
.toolbar__radio:focus,
|
1273
|
+
.toolbar__radio.active {
|
1274
|
+
outline: none;
|
1275
|
+
color: white;
|
1276
|
+
text-shadow: rgba(0, 0, 0, 0.4) 0 1px 0;
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
|
1280
|
+
.toolbar__radio:hover {
|
1281
|
+
background: rgba(0, 0, 0, 0.2);
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
.toolbar__radio:active {
|
1285
|
+
background: rgba(0, 0, 0, 0.5);
|
1286
|
+
}
|
1287
|
+
|
1288
|
+
.toolbar__radio.active {
|
1289
|
+
background: rgba(0, 0, 0, 0.3);
|
1290
|
+
}
|
1291
|
+
|
1292
|
+
/**
|
1293
|
+
Toolbar Search
|
1294
|
+
==============
|
1295
|
+
*/
|
1296
|
+
|
1297
|
+
.toolbar__search {
|
1298
|
+
margin-right: 6px;
|
1299
|
+
}
|
1300
|
+
|
1301
|
+
.toolbar__search input {
|
1302
|
+
-moz-box-sizing: border-box;
|
1303
|
+
box-sizing: border-box;
|
1304
|
+
border: 1px solid #b3b3b3;
|
1305
|
+
border-radius: 2px;
|
1306
|
+
margin: auto 0;
|
1307
|
+
padding: 0 3px;
|
1308
|
+
margin: 0;
|
1309
|
+
-webkit-appearance: none;
|
1310
|
+
font-size: 12px;
|
1311
|
+
background-color: #FFF;
|
1312
|
+
height: 20px;
|
1313
|
+
line-height: normal;
|
1314
|
+
width: 179px;
|
1315
|
+
}
|
1316
|
+
|
1317
|
+
.toolbar__search input:focus {
|
1318
|
+
outline: none;
|
1319
|
+
}
|
1320
|
+
|
1321
|
+
.toolbar__search--small input {
|
1322
|
+
width: 150px;
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
/**
|
1326
|
+
Toolbar Divider
|
1327
|
+
===============
|
1328
|
+
*/
|
1329
|
+
|
1330
|
+
.toolbar .divider {
|
1331
|
+
display: inline-block;
|
1332
|
+
width: 1px;
|
1333
|
+
height: 16px;
|
1334
|
+
position: relative;
|
1335
|
+
margin-right: 6px;
|
1336
|
+
background-color: #cacaca;
|
1337
|
+
}
|
1338
|
+
|
1339
|
+
/**
|
1340
|
+
TREE
|
1341
|
+
====
|
1342
|
+
Displays a tree.
|
1343
|
+
Used for view tree.
|
1344
|
+
*/
|
1345
|
+
|
1346
|
+
.tree {
|
1347
|
+
font-family: Menlo, sans-serif;
|
1348
|
+
font-size: 14px;
|
1349
|
+
}
|
1350
|
+
|
1351
|
+
.tree__node {
|
1352
|
+
list-style-type: none;
|
1353
|
+
margin: 0;
|
1354
|
+
padding: 0 0 0 10px;
|
1355
|
+
}
|
1356
|
+
|
1357
|
+
.tree__node-child {
|
1358
|
+
margin-top: 5px;
|
1359
|
+
}
|
1360
|
+
|
1361
|
+
.tree__node-header {
|
1362
|
+
margin: 0;
|
1363
|
+
padding: 0;
|
1364
|
+
}
|
1365
|
+
|
1366
|
+
.tree__node-name {
|
1367
|
+
color: #939;
|
1368
|
+
cursor: pointer;
|
1369
|
+
}
|
1370
|
+
|
1371
|
+
.tree__node-controller {
|
1372
|
+
color: #939;
|
1373
|
+
cursor: pointer;
|
1374
|
+
}
|
1375
|
+
|
1376
|
+
.tree__node-controller.is-pinned,
|
1377
|
+
.tree__node-controller:hover,
|
1378
|
+
.tree__node-name:hover {
|
1379
|
+
color: #606;
|
1380
|
+
}
|
1381
|
+
|
1382
|
+
|
1383
|
+
.tree__node-template, .tree__node-hint {
|
1384
|
+
color: #595455;
|
1385
|
+
display: none;
|
1386
|
+
}
|
1387
|
+
|
1388
|
+
.tree__node-header:hover .tree__node-hint {
|
1389
|
+
display: inline;
|
1390
|
+
}
|
1391
|
+
|
1392
|
+
|
1393
|
+
.tree__node-details {
|
1394
|
+
font-size: 13px;
|
1395
|
+
color: #999;
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1401
|
+
.tree__node-details td {
|
1402
|
+
padding: 0px 5px;
|
1403
|
+
color: #666;
|
1404
|
+
}
|
1405
|
+
|
1406
|
+
|
1407
|
+
.tree__node-details .clickable {
|
1408
|
+
/*color: #4896ab;*/
|
1409
|
+
color: rgb(153, 153, 0);
|
1410
|
+
cursor: pointer;
|
1411
|
+
}
|