diff options
author | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-24 12:08:49 -0800 |
commit | 03ca7a5ed13c25faaa9100bb666e062fd15335e6 (patch) | |
tree | c51112223ceb9121cd595a60335eb2795215590f /js/panels/CSSPanel | |
parent | fcb12cc09eb3cd3b42bd215877ba18f449275b75 (diff) | |
parent | 053fc63a2950c7a5ee4ebf98033b64d474a3c46e (diff) | |
download | ninja-03ca7a5ed13c25faaa9100bb666e062fd15335e6.tar.gz |
Merge branch 'pentool' into brushtool
Conflicts:
imports/codemirror/mode/scheme/scheme.js
js/tools/BrushTool.js
Diffstat (limited to 'js/panels/CSSPanel')
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/CSSPanel.js | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css | 6 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html | 11 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/css-property-name-list.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/css-shorthand-map.js | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | js/panels/CSSPanel/css-value-completion-map.js | 0 |
10 files changed, 19 insertions, 4 deletions
diff --git a/js/panels/CSSPanel/CSSPanel.js b/js/panels/CSSPanel/CSSPanel.js index 94860b30..cf8880a3 100644..100755 --- a/js/panels/CSSPanel/CSSPanel.js +++ b/js/panels/CSSPanel/CSSPanel.js | |||
@@ -20,9 +20,9 @@ exports.CSSPanel = Montage.create(PanelBase, { | |||
20 | init : { | 20 | init : { |
21 | enumerable:true, | 21 | enumerable:true, |
22 | value : function (){ | 22 | value : function (){ |
23 | this.minHeight = 300; | 23 | this.minHeight = 195; |
24 | this.contentHeight = 300; | 24 | this.contentHeight = 195; |
25 | this.defaultHeight= 300; | 25 | this.defaultHeight= 195; |
26 | 26 | ||
27 | /* OLD WAY -- Removing the temporary div | 27 | /* OLD WAY -- Removing the temporary div |
28 | // TODO: Remove this comment once this is tested. | 28 | // TODO: Remove this comment once this is tested. |
diff --git a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css index 27d19e58..1b3c9184 100644..100755 --- a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css +++ b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.css | |||
@@ -10,6 +10,11 @@ | |||
10 | -webkit-box-orient: vertical; | 10 | -webkit-box-orient: vertical; |
11 | height:100%; | 11 | height:100%; |
12 | } | 12 | } |
13 | .css_panel .resizer { | ||
14 | background-color: #333; | ||
15 | cursor: row-resize; | ||
16 | height: 1px; | ||
17 | } | ||
13 | .nj-section-header { | 18 | .nj-section-header { |
14 | background-color: #333; | 19 | background-color: #333; |
15 | border-top: 1px solid #3D3D3D; | 20 | border-top: 1px solid #3D3D3D; |
@@ -37,7 +42,6 @@ | |||
37 | -webkit-box-flex: 0; | 42 | -webkit-box-flex: 0; |
38 | background-color: #474747; | 43 | background-color: #474747; |
39 | color: #FFF; | 44 | color: #FFF; |
40 | max-height: 68px; | ||
41 | overflow-y: scroll; | 45 | overflow-y: scroll; |
42 | } | 46 | } |
43 | #nj-section-styles { | 47 | #nj-section-styles { |
diff --git a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html index 5d6273b6..db630934 100644..100755 --- a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html +++ b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.html | |||
@@ -10,6 +10,16 @@ | |||
10 | <link rel="stylesheet" href="CSSPanelBase.css" type="text/css"> | 10 | <link rel="stylesheet" href="CSSPanelBase.css" type="text/css"> |
11 | <script type="text/montage-serialization"> | 11 | <script type="text/montage-serialization"> |
12 | { | 12 | { |
13 | "resizer1": { | ||
14 | "module": "js/panels/Resizer", | ||
15 | "name": "Resizer", | ||
16 | "properties": { | ||
17 | "element": {"#": "subPanelResizer"}, | ||
18 | "panel": {"#": "nj-section-stylesheets"}, | ||
19 | "isVertical": true | ||
20 | } | ||
21 | }, | ||
22 | |||
13 | "ComputedStyleSubPanel1": { | 23 | "ComputedStyleSubPanel1": { |
14 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", | 24 | "module": "js/panels/CSSPanel/ComputedStyleSubPanel.reel", |
15 | "name": "ComputedStyleSubPanel", | 25 | "name": "ComputedStyleSubPanel", |
@@ -43,6 +53,7 @@ | |||
43 | <div id="nj-css-stylesheet-toolbar" class="nj-css-toolbar"> | 53 | <div id="nj-css-stylesheet-toolbar" class="nj-css-toolbar"> |
44 | <a href="#" id="nj-css-add-stylesheet" title="Add Stylesheet">Add Rule</a> | 54 | <a href="#" id="nj-css-add-stylesheet" title="Add Stylesheet">Add Rule</a> |
45 | </div> | 55 | </div> |
56 | <div id="subPanelResizer" class="resizer"></div> | ||
46 | <!-- Style Rule list subsection --> | 57 | <!-- Style Rule list subsection --> |
47 | <h2 id="nj-css-styles-header" class="nj-section-header"> | 58 | <h2 id="nj-css-styles-header" class="nj-section-header"> |
48 | <div id="nj-css-styles-arrow" class="panelDisclosureIcon"></div> | 59 | <div id="nj-css-styles-arrow" class="panelDisclosureIcon"></div> |
diff --git a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js index 0c950ffd..0c950ffd 100644..100755 --- a/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js +++ b/js/panels/CSSPanel/CSSPanelBase.reel/CSSPanelBase.js | |||
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html index c30d2fb4..c30d2fb4 100644..100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.html | |||
diff --git a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js index bb6f9de6..bb6f9de6 100644..100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/ComputedStyleSubPanel.js | |||
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..e9af9b88 100644..100755 --- a/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css +++ b/js/panels/CSSPanel/ComputedStyleSubPanel.reel/computed-style-sub-panel.css | |||
diff --git a/js/panels/CSSPanel/css-property-name-list.js b/js/panels/CSSPanel/css-property-name-list.js index 24a69c09..24a69c09 100644..100755 --- a/js/panels/CSSPanel/css-property-name-list.js +++ b/js/panels/CSSPanel/css-property-name-list.js | |||
diff --git a/js/panels/CSSPanel/css-shorthand-map.js b/js/panels/CSSPanel/css-shorthand-map.js index bc43ebc4..bc43ebc4 100644..100755 --- a/js/panels/CSSPanel/css-shorthand-map.js +++ b/js/panels/CSSPanel/css-shorthand-map.js | |||
diff --git a/js/panels/CSSPanel/css-value-completion-map.js b/js/panels/CSSPanel/css-value-completion-map.js index 773fde96..773fde96 100644..100755 --- a/js/panels/CSSPanel/css-value-completion-map.js +++ b/js/panels/CSSPanel/css-value-completion-map.js | |||