aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorAnanya Sen2012-02-08 15:37:23 -0800
committerAnanya Sen2012-02-08 15:37:23 -0800
commitab6f2f7ada39a9b27408575af9a565daf0a9d291 (patch)
tree92a796e34530d1a724ddb24ef22e59ffef13c12a /scss
parent36b2e540f06cef3887e7d0fea60527fee51e2a40 (diff)
parent5a69d5be181ea98fa842977885ebd8c861dda6ca (diff)
downloadninja-ab6f2f7ada39a9b27408575af9a565daf0a9d291.tar.gz
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into FileIO
Diffstat (limited to 'scss')
-rwxr-xr-xscss/config.rb11
-rwxr-xr-xscss/imports/codemirror/_codemirror.scss75
-rwxr-xr-xscss/imports/codemirror/_css.scss15
-rwxr-xr-xscss/imports/codemirror/_javascript.scss12
-rwxr-xr-xscss/imports/scss/_Base.scss231
-rwxr-xr-xscss/imports/scss/_Components.scss33
-rwxr-xr-xscss/imports/scss/_MainWindow.scss338
-rwxr-xr-xscss/imports/scss/_MenuUI.scss75
-rwxr-xr-xscss/imports/scss/_PanelUI.scss1256
-rwxr-xr-xscss/imports/scss/_ScrollBars.scss158
-rw-r--r--scss/imports/scss/_Stage.scss194
-rwxr-xr-xscss/imports/scss/_Tools.scss487
-rwxr-xr-xscss/imports/scss/_ToolsSample.scss14
-rwxr-xr-xscss/imports/scss/_UserContent.scss10
-rwxr-xr-xscss/imports/scss/_mixins.scss20
-rwxr-xr-xscss/imports/scss/_toolbar.scss290
-rwxr-xr-xscss/imports/themes/_test.scss55
-rwxr-xr-xscss/imports/themes/default/_colors.scss94
-rwxr-xr-xscss/imports/themes/default/_fonts.scss7
-rwxr-xr-xscss/imports/themes/default/_mixins.scss37
-rwxr-xr-xscss/ninja.scss42
21 files changed, 3454 insertions, 0 deletions
diff --git a/scss/config.rb b/scss/config.rb
new file mode 100755
index 00000000..23327bde
--- /dev/null
+++ b/scss/config.rb
@@ -0,0 +1,11 @@
1# Require any additional compass plugins here.
2# Set this to the root of your project when deployed:
3http_path = "/"
4css_dir = "../css"
5sass_dir = ""
6images_dir = "../images/"
7javascripts_dir = "../js"
8output_style = :compact
9line_comments = false
10# To enable relative paths to assets via compass helper functions. Uncomment:
11# relative_assets = true
diff --git a/scss/imports/codemirror/_codemirror.scss b/scss/imports/codemirror/_codemirror.scss
new file mode 100755
index 00000000..281e7a9a
--- /dev/null
+++ b/scss/imports/codemirror/_codemirror.scss
@@ -0,0 +1,75 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7.CodeMirror {
8 overflow: auto;
9 height: 300px;
10 line-height: 1em;
11 font-family: monospace;
12 _position: relative; /* IE6 hack */
13 background: white;
14}
15
16.CodeMirror-gutter {
17 position: absolute; left: 0; top: 0;
18 background-color: #f7f7f7;
19 border-right: 1px solid #eee;
20 min-width: 2em;
21 height: 100%;
22}
23.CodeMirror-gutter-text {
24 color: #aaa;
25 text-align: right;
26 padding: .4em .2em .4em .4em;
27}
28.CodeMirror-lines {
29 padding: .4em;
30}
31
32.CodeMirror pre {
33 border-width: 0; margin: 0; padding: 0; background: transparent;
34 font-family: inherit;
35}
36
37.CodeMirror-cursor {
38 z-index: 10;
39 position: absolute;
40 visibility: hidden;
41 border-left: 1px solid black !important;
42}
43.CodeMirror-focused .CodeMirror-cursor {
44 visibility: visible;
45}
46
47span.CodeMirror-selected {
48 background: #ccc !important;
49 color: HighlightText !important;
50}
51.CodeMirror-focused span.CodeMirror-selected {
52 background: Highlight !important;
53}
54
55
56.CodeMirror-matchingbracket {color: #0f0 !important;}
57.CodeMirror-nonmatchingbracket {color: #f22 !important;}
58
59.completions {
60 position: absolute;
61 z-index: 10;
62 overflow: hidden;
63 -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
64 -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
65 box-shadow: 2px 3px 5px rgba(0, 0, 0, .2);
66}
67
68.completions select {
69 background: #fafafa;
70 outline: none;
71 border: none;
72 padding: 0;
73 margin: 0;
74 font-family: monospace;
75}
diff --git a/scss/imports/codemirror/_css.scss b/scss/imports/codemirror/_css.scss
new file mode 100755
index 00000000..fb870e84
--- /dev/null
+++ b/scss/imports/codemirror/_css.scss
@@ -0,0 +1,15 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7span.css-at {color: #708;}
8span.css-unit {color: #281;}
9span.css-value {color: #708;}
10span.css-identifier {color: black;}
11span.css-selector {color: #11B;}
12span.css-important {color: #00F;}
13span.css-colorcode {color: #299;}
14span.css-comment {color: #A70;}
15span.css-string {color: #A22;}
diff --git a/scss/imports/codemirror/_javascript.scss b/scss/imports/codemirror/_javascript.scss
new file mode 100755
index 00000000..1124e279
--- /dev/null
+++ b/scss/imports/codemirror/_javascript.scss
@@ -0,0 +1,12 @@
1/* <copyright>
2 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5 </copyright> */
6
7span.js-keyword {color: #90b;}
8span.js-atom {color: #291;}
9span.js-variabledef {color: #00f;}
10span.js-localvariable {color: #049;}
11span.js-comment {color: #a70;}
12span.js-string {color: #a22;}
diff --git a/scss/imports/scss/_Base.scss b/scss/imports/scss/_Base.scss
new file mode 100755
index 00000000..8a743174
--- /dev/null
+++ b/scss/imports/scss/_Base.scss
@@ -0,0 +1,231 @@
1// <copyright>
2// This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3// No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
4// (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
5// </copyright>
6
7
8//Base.scss
9//Base styles for entire application.
10//Note that colors and font definitions go in
11//_scss/themes/themename/_colors.scss and _scss/themes/themename/_fonts.scss
12
13
14.clear {
15 display: block;
16 clear: both;
17 height: 0px;
18 overflow: hidden;
19}
20.bold {
21 font-weight: bold;
22}
23:focus {
24 outline: none;
25 border: none;
26 -webkit-box-shadow: 0px 0px 1px 1px $color-focus-outline;
27
28}
29.layout-table {
30 display: table;
31}
32.layout-row {
33 display: table-row;
34}
35.layout-cell {
36 display: table-cell;
37}
38.layout-table .flexor div:first-child {
39 float: left;
40}
41.layout-table .flexor div:last-child {
42 float: right;
43}
44
45// Begin: Basic skinning for form fields
46// Reset all
47input.nj-skinned,
48textarea.nj-skinned,
49button.nj-skinned,
50select.nj-skinned,
51select.nj-skinned option {
52 -webkit-appearance: none;
53 outline: none;
54}
55
56// Base styles
57input[type="text"].nj-skinned,
58input[type="password"].nj-skinned,
59input[type="search"].nj-skinned,
60textarea.nj-skinned,
61select.nj-skinned,
62select.nj-skinned option {
63 border: 1px solid $color-input-border;
64 color: $color-input;
65 background-color: $color-input-bg;
66 font-size: 12px;
67 font-family: 'Droid Sans', sans-serif;
68}
69
70// Disabled styles
71input.nj-skinned:disabled,
72textarea.nj-skinned:disabled,
73select.nj-skinned:disabled,
74button.nj-skinned:disabled {
75 opacity: 0.4;
76}
77
78// Text inputs and select boxes
79input[type="text"].nj-skinned,
80input[type="password"].nj-skinned,
81input[type="search"].nj-skinned,
82select.nj-skinned,
83select.nj-skinned option {
84 height: 13px;