diff options
author | Eric Guzman | 2012-05-03 11:49:24 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-03 11:49:24 -0700 |
commit | 560d9255ed1bba04f3dc3f4320307f7d5626bfab (patch) | |
tree | fc8e5387b31173c081caca996380d33677a30eac /js/panels/CSSPanel | |
parent | fc104084e964023263332dbf2d916bf00d525e8b (diff) | |
download | ninja-560d9255ed1bba04f3dc3f4320307f7d5626bfab.tar.gz |
CSS Panel - Support showing computed styles
Diffstat (limited to 'js/panels/CSSPanel')
-rwxr-xr-x | js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | 4 | ||||
-rwxr-xr-x | js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html index 53c243a8..b994c5c2 100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | |||
@@ -25,8 +25,8 @@ | |||
25 | </script> | 25 | </script> |
26 | 26 | ||
27 | </head> | 27 | </head> |
28 | <body id="computestylesubpanel" onload=""> | 28 | <body> |
29 | <div id="nj-css-panel-computed" class="nj-css-panel-hide"> | 29 | <div data-montage-id="nj-css-panel-computed" class="nj-css-panel-computed"> |
30 | <div id="nj-css-filter-panel"> | 30 | <div id="nj-css-filter-panel"> |
31 | <input id="nj-css-filter" class="nj-skinned" type="search"> | 31 | <input id="nj-css-filter" class="nj-skinned" type="search"> |
32 | <select id="nj-css-group-select" class="nj-skinned"> | 32 | <select id="nj-css-group-select" class="nj-skinned"> |
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 e9af9b88..9f0043f4 100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css | |||
@@ -12,12 +12,13 @@ | |||
12 | padding: 8px 0; | 12 | padding: 8px 0; |
13 | position: relative; | 13 | position: relative; |
14 | } | 14 | } |
15 | #nj-computed-sub-panel { | 15 | .nj-css-panel-computed { |
16 | display:-webkit-box; | 16 | display:-webkit-box; |
17 | -webkit-box-flex: 1; | 17 | -webkit-box-flex: 1; |
18 | -webkit-box-orient: vertical; | 18 | -webkit-box-orient: vertical; |
19 | } | 19 | } |
20 | #nj-computed-sub-panel .nj-sub-panel { | 20 | /*#nj-computed-sub-panel .nj-sub-panel {*/ |
21 | .sub-panel-slot .nj-sub-panel { | ||
21 | -webkit-box-flex: 1; | 22 | -webkit-box-flex: 1; |
22 | background-color: #474747; | 23 | background-color: #474747; |
23 | color: #FFF; | 24 | color: #FFF; |
@@ -53,10 +54,10 @@ | |||
53 | #nj-css-computed-list { | 54 | #nj-css-computed-list { |
54 | margin-top: 7px; | 55 | margin-top: 7px; |
55 | } | 56 | } |
57 | #nj-css-computed-list dt, #nj-css-computed-list dd { | ||
58 | cursor: default; | ||
59 | } | ||
56 | #nj-css-computed-list dt { | 60 | #nj-css-computed-list dt { |
57 | color: #FFF; | 61 | color: #FFF; |
58 | width: 55%; | 62 | width: 55%; |
59 | } | 63 | } |
60 | #nj-computed-sub-panel.nj-css-panel-hide { | ||
61 | display: none; | ||
62 | } \ No newline at end of file | ||