aboutsummaryrefslogtreecommitdiff
path: root/scss/imports/themes
diff options
context:
space:
mode:
authorAnanya Sen2012-07-09 16:52:49 -0700
committerAnanya Sen2012-07-09 16:52:49 -0700
commit2eb84584f44b8c774479d1af2ee1d810597474cf (patch)
tree64cb3e09a8daeb340261dd7f3869c73f7b90b643 /scss/imports/themes
parentbf9dba001ec84243e2f12cd13b0c0ae020fba4a2 (diff)
parentcee0deca695359ab468bd06d0e05ed3b2010b338 (diff)
downloadninja-2eb84584f44b8c774479d1af2ee1d810597474cf.tar.gz
Merge branch 'refs/heads/ninja-internal-master' into codemirror-custom-theme-removal
Conflicts: js/code-editor/codemirror-ninja/theme/lesser-dark-ninja.css js/code-editor/codemirror-ninja/theme/xq-dark-ninja.css Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'scss/imports/themes')
-rwxr-xr-xscss/imports/themes/_test.scss37
-rwxr-xr-xscss/imports/themes/default/_colors.scss73
-rwxr-xr-xscss/imports/themes/default/_fonts.scss23
-rwxr-xr-xscss/imports/themes/default/_mixins.scss23
4 files changed, 80 insertions, 76 deletions
diff --git a/scss/imports/themes/_test.scss b/scss/imports/themes/_test.scss
index 0767c300..e29341f8 100755
--- a/scss/imports/themes/_test.scss
+++ b/scss/imports/themes/_test.scss
@@ -1,24 +1,25 @@
1// <copyright> 1// <copyright>
2Copyright (c) 2012, Motorola Mobility, Inc 2Copyright (c) 2012, Motorola Mobility LLC.
3All Rights Reserved. 3All Rights Reserved.
4BSD License.
5 4
6Redistribution and use in source and binary forms, with or without 5Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met: 6modification, are permitted provided that the following conditions are met:
8 7
9 - Redistributions of source code must retain the above copyright notice, 8* Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer. 9 this list of conditions and the following disclaimer.
11 - Redistributions in binary form must reproduce the above copyright 10
12 notice, this list of conditions and the following disclaimer in the 11* Redistributions in binary form must reproduce the above copyright notice,
13 documentation and/or other materials provided with the distribution. 12 this list of conditions and the following disclaimer in the documentation
14 - Neither the name of Motorola Mobility nor the names of its contributors 13 and/or other materials provided with the distribution.
15 may be used to endorse or promote products derived from this software 14
16 without specific prior written permission. 15* Neither the name of Motorola Mobility LLC nor the names of its
16 contributors may be used to endorse or promote products derived from this
17 software without specific prior written permission.
17 18
18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@@ -39,13 +40,13 @@ POSSIBILITY OF SUCH DAMAGE.
39} 40}
40 41
41.docAreaBackground { 42.docAreaBackground {
42 color: black; 43 color: black;
43 background: black; 44 background: black;
44} 45}
45 46
46.mainStageBackground { 47.mainStageBackground {
47 color: white; 48 color: white;
48 background: gray; 49 background: gray;
49} 50}
50 51
51.stageContentShadow { 52.stageContentShadow {
@@ -55,9 +56,9 @@ POSSIBILITY OF SUCH DAMAGE.
55} 56}
56 57
57.panelBackground { 58.panelBackground {
58 color: white; 59 color: white;
59 /*border: solid 1px #333;*/ 60 /*border: solid 1px #333;*/
60 background: rgba(41,41,41,1); 61 background: rgba(41,41,41,1);
61} 62}
62 63
63.panelCollapseControlBackground { 64.panelCollapseControlBackground {
diff --git a/scss/imports/themes/default/_colors.scss b/scss/imports/themes/default/_colors.scss
index d22cb29a..8f99a175 100755
--- a/scss/imports/themes/default/_colors.scss
+++ b/scss/imports/themes/default/_colors.scss
@@ -1,24 +1,25 @@
1// <copyright> 1// <copyright>
2Copyright (c) 2012, Motorola Mobility, Inc 2Copyright (c) 2012, Motorola Mobility LLC.
3All Rights Reserved. 3All Rights Reserved.
4BSD License.
5 4
6Redistribution and use in source and binary forms, with or without 5Redistribution and use in source and binary forms, with or without
7modification, are permitted provided that the following conditions are met: 6modification, are permitted provided that the following conditions are met:
8 7
9 - Redistributions of source code must retain the above copyright notice, 8* Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer. 9 this list of conditions and the following disclaimer.
11 - Redistributions in binary form must reproduce the above copyright 10
12 notice, this list of conditions and the following disclaimer in the 11* Redistributions in binary form must reproduce the above copyright notice,
13 documentation and/or other materials provided with the distribution. 12 this list of conditions and the following disclaimer in the documentation
14 - Neither the name of Motorola Mobility nor the names of its contributors 13 and/or other materials provided with the distribution.
15 may be used to endorse or promote products derived from this software 14
16 without specific prior written permission. 15* Neither the name of Motorola Mobility LLC nor the names of its
16 contributors may be used to endorse or promote products derived from this
17 software without specific prior written permission.
17 18
18THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@@ -34,7 +35,7 @@ POSSIBILITY OF SUCH DAMAGE.
34//Note: Some colors are defined as both rgb and rgba; some of the rgba versions have multiple a values. 35//Note: Some colors are defined as both rgb and rgba; some of the rgba versions have multiple a values.
35 36
36 37
37// Colors for radio buttons and other form elements 38// Colors for radio buttons and other form elements
38$color-radio-border: rgb(40,40,40); 39$color-radio-border: rgb(40,40,40);
39$color-radio-shadow: rgba(200,200,200,0.5); 40$color-radio-shadow: rgba(200,200,200,0.5);
40$color-radio-gradient-top: rgb(100,100,100); 41$color-radio-gradient-top: rgb(100,100,100);
@@ -49,27 +50,27 @@ $color-input-border: rgb(49, 49, 49);
49$color-focus-outline: rgb(180, 180, 180); 50$color-focus-outline: rgb(180, 180, 180);
50$color-transparent: rgba(0,0,0,0); 51$color-transparent: rgba(0,0,0,0);
51 52
52// Base colors for dividers 53// Base colors for dividers
53// Dividers consist of a div with a background color and either 54// Dividers consist of a div with a background color and either
54// a top & bottom border (in the case of horizontal dividers) 55// a top & bottom border (in the case of horizontal dividers)
55// or a left & right border (in the case of vertical dividers), 56// or a left & right border (in the case of vertical dividers),
56// for a total of three different colors. 57// for a total of three different colors.
57// 58//
58 59
59$color-divider-first: rgb(35,35,35); // top and left 60$color-divider-first: rgb(35,35,35); // top and left
60$color-divider-second: rgb(0,0,0); // Middle 61$color-divider-second: rgb(0,0,0); // Middle
61$color-divider-third: rgb(58,58,58); // Bottom and right 62$color-divider-third: rgb(58,58,58); // Bottom and right
62 63
63// Main background color of entire app 64// Main background color of entire app
64$color-app-bg: rgb(0,0,0); // Main app background color. 65$color-app-bg: rgb(0,0,0); // Main app background color.
65$color-app-bg-a1: rgba(0,0,0,1); // rgba version 66$color-app-bg-a1: rgba(0,0,0,1); // rgba version
66$color-app-border: rgb(51,51,51); // Main app border color 67$color-app-border: rgb(51,51,51); // Main app border color
67$color-app-shadow: rgba(0,0,0,.5); // color of drop shadows 68$color-app-shadow: rgba(0,0,0,.5); // color of drop shadows
68$color-stage: rgb(128,128,128); // Stage color 69$color-stage: rgb(128,128,128); // Stage color
69$color-body-border: rgb(0,0,0); // body border color 70$color-body-border: rgb(0,0,0); // body border color
70$color-body-bg: rgb(255,255,255); // Body background color 71$color-body-bg: rgb(255,255,255); // Body background color
71 72
72// Colors for main dropdown menus: background & text for both regular and highlighted states, dividers 73// Colors for main dropdown menus: background & text for both regular and highlighted states, dividers
73$color-menu-bg: rgb(71,71,71); 74$color-menu-bg: rgb(71,71,71);
74$color-menu-text: rgb(255,255,255); 75$color-menu-text: rgb(255,255,255);
75$color-menu-hilite-bg: rgb(178,178,178); 76$color-menu-hilite-bg: rgb(178,178,178);
@@ -79,7 +80,7 @@ $color-menu-border: rgb(0,0,0);
79$color-menu-active-bg: rgb(181,122,10); 80$color-menu-active-bg: rgb(181,122,10);
80 81
81 82
82// Colors for tools: background, text, how they interact with the UI 83// Colors for tools: background, text, how they interact with the UI
83$color-tool-bg: rgb(41,41,41); 84$color-tool-bg: rgb(41,41,41);
84$color-tool-bg-active: rgb(178,178,178); 85$color-tool-bg-active: rgb(178,178,178);
85$color-tool-border-selected: rgb(89,89,89); 86$color-tool-border-selected: rgb(89,89,89);
@@ -94,15 +95,15 @@ $color-tool-select-border: rgb(0,0,0);
94$color-tool-select-hover-bg: rgb(221,221,221); 95$color-tool-select-hover-bg: rgb(221,221,221);
95 96
96 97
97// Colors for panels: background & text, both regular and highlighted states, dividers, borders, shadows, etc. 98// Colors for panels: background & text, both regular and highlighted states, dividers, borders, shadows, etc.
98$color-panel-bg: $color-menu-bg; 99$color-panel-bg: $color-menu-bg;
99$color-panel-text: $color-menu-text; 100$color-panel-text: $color-menu-text;
100$color-panel-input: $color-panel-text; 101$color-panel-input: $color-panel-text;
101$color-panel-hilite-bg: $color-menu-hilite-bg; 102$color-panel-hilite-bg: $color-menu-hilite-bg;
102$color-panel-hilite-text: $color-menu-hilite-text; 103$color-panel-hilite-text: $color-menu-hilite-text;
103$color-panel-clickable: rgb(215,215,215); // used for editable items in their non-edit state, etc. 104$color-panel-clickable: rgb(215,215,215); // used for editable items in their non-edit state, etc.
104$color-panel-border: $color-menu-border; // Border for panel and for block elements 105$color-panel-border: $color-menu-border; // Border for panel and for block elements
105$color-panel-shadow: rgb(58,58,58); // Shadow for text and block elements 106$color-panel-shadow: rgb(58,58,58); // Shadow for text and block elements
106$color-panel-input-bg: rgb(68, 68, 68); 107$color-panel-input-bg: rgb(68, 68, 68);
107$color-panel-dividerlabel-bg: rgb(62, 62, 62); 108$color-panel-dividerlabel-bg: rgb(62, 62, 62);
108$color-panel-input-border: rgb(49, 49, 49); 109$color-panel-input-border: rgb(49, 49, 49);
@@ -110,7 +111,7 @@ $color-panel-divider-top: rgb(62, 62, 62);
110$color-panel-divider: $color-menu-divider; 111$color-panel-divider: $color-menu-divider;
111$color-panel-divider-bottom: rgb(86, 86, 86); 112$color-panel-divider-bottom: rgb(86, 86, 86);
112 113
113// Colors for scroll bars