aboutsummaryrefslogtreecommitdiff
path: root/js/panels/CSSPanel
diff options
context:
space:
mode:
authorEric Guzman2012-05-10 14:50:04 -0700
committerEric Guzman2012-05-10 14:50:04 -0700
commit733e16b55a6de807cdbb60b0f2cea36fc1619fd4 (patch)
tree83d46c98838b13df3695debb49301a1585925a71 /js/panels/CSSPanel
parent6056a569caab94bdbdc2c60b58907109ff468dd3 (diff)
downloadninja-733e16b55a6de807cdbb60b0f2cea36fc1619fd4.tar.gz
Computed Style Panel - Add data-montage ids
Diffstat (limited to 'js/panels/CSSPanel')
-rwxr-xr-xjs/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html8
-rwxr-xr-xjs/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css20
2 files changed, 13 insertions, 15 deletions
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
index b994c5c2..cf5bbbdd 100755
--- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
+++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html
@@ -27,9 +27,9 @@
27</head> 27</head>
28<body> 28<body>
29 <div data-montage-id="nj-css-panel-computed" class="nj-css-panel-computed"> 29 <div data-montage-id="nj-css-panel-computed" class="nj-css-panel-computed">
30 <div id="nj-css-filter-panel"> 30 <div data-montage-id="nj-css-filter-panel" class="nj-css-filter-panel">
31 <input id="nj-css-filter" class="nj-skinned" type="search"> 31 <input data-montage-id="nj-css-filter" class="nj-skinned nj-css-filter-input" type="search">
32 <select id="nj-css-group-select" class="nj-skinned"> 32 <select data-montage-id="nj-css-group-select" class="nj-skinned nj-css-group-select">
33 <option value="all">All</option> 33 <option value="all">All</option>
34 <option value="summary" selected>Summary</option> 34 <option value="summary" selected>Summary</option>
35 <option value="background">Background</option> 35 <option value="background">Background</option>
@@ -40,7 +40,7 @@
40 </select> 40 </select>
41 </div> 41 </div>
42 <div class="nj-sub-panel"> 42 <div class="nj-sub-panel">
43 <dl id="nj-css-computed-list" class="nj-css-style-list"></dl> 43 <dl data-montage-id="nj-css-computed-list" class="nj-css-style-list nj-css-computed-list"></dl>
44 </div> 44 </div>
45 </div> 45 </div>
46</body> 46</body>
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css
index 9f0043f4..21dd9055 100755
--- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css
+++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css
@@ -4,7 +4,7 @@
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. 4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */ 5 </copyright> */
6 6
7#nj-css-filter-panel { 7.nj-css-filter-panel {
8 background-color: #474747; 8 background-color: #474747;
9 box-shadow: 0 1px 1px #505050; 9 box-shadow: 0 1px 1px #505050;
10 border-bottom: 1px solid rgba(0, 0, 0, 0.1); 10 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
@@ -25,39 +25,37 @@
25 font-family: 'Droid Sans', sans-serif; 25 font-family: 'Droid Sans', sans-serif;
26 overflow-y: scroll; 26 overflow-y: scroll;
27} 27}
28#nj-css-filter, #nj-css-group-select { 28.nj-css-filter-input, .nj-css-group-select {
29 width: 42%; 29 width: 42%;
30} 30}
31#nj-css-filter { 31.nj-css-filter-input{
32 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1%2BjfqAAAACXBIWXMAAAsTAAALEwEAmpwYAAADGGlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjaY2BgnuDo4uTKJMDAUFBUUuQe5BgZERmlwH6egY2BmYGBgYGBITG5uMAxIMCHgYGBIS8%2FL5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iFPjxCG4eBAKDERL0kudWfngE%2Fy5QI0%2BTCFWafovO%2Fyj0YNCiJm3X0E3KP3N%2BBwBmgXFVnpvsaQAAAABJRU5ErkJggg%3D%3D);
33 background-position: 1px 1px; 33 background-position: 1px 1px;
34 background-repeat: no-repeat; 34 background-repeat: no-repeat;
35 padding-left: 11px; 35 padding-left: 11px;
36}
37#nj-css-filter {
38 margin-right: 4%; 36 margin-right: 4%;
39} 37}
40#nj-css-group-select { 38.nj-css-group-select {
41 padding-left: 5px; 39 padding-left: 5px;
42} 40}
43/* ---------------------------------------- 41/* ----------------------------------------
44 Computed Style List 42 Computed Style List
45---------------------------------------- */ 43---------------------------------------- */
46#nj-css-computed-list > div { 44.nj-css-computed-list > div {
47 margin: 0 15px; 45 margin: 0 15px;
48 border-bottom: 1px solid #505050; 46 border-bottom: 1px solid #505050;
49 padding: 1px 0; 47 padding: 1px 0;
50} 48}
51#nj-css-computed-list > div:last-child { 49.nj-css-computed-list > div:last-child {
52 margin-bottom: 10px; 50 margin-bottom: 10px;
53} 51}
54#nj-css-computed-list { 52.nj-css-computed-list {
55 margin-top: 7px; 53 margin-top: 7px;
56} 54}
57#nj-css-computed-list dt, #nj-css-computed-list dd { 55.nj-css-computed-list dt, .nj-css-computed-list dd {
58 cursor: default; 56 cursor: default;
59} 57}
60#nj-css-computed-list dt { 58.nj-css-style-list.nj-css-computed-list dt {
61 color: #FFF; 59 color: #FFF;
62 width: 55%; 60 width: 55%;
63} 61}