aboutsummaryrefslogtreecommitdiff
path: root/_scss/imports/themes
diff options
context:
space:
mode:
Diffstat (limited to '_scss/imports/themes')
-rw-r--r--_scss/imports/themes/_test.scss55
-rw-r--r--_scss/imports/themes/default/_colors.scss93
-rw-r--r--_scss/imports/themes/default/_fonts.scss12
-rw-r--r--_scss/imports/themes/default/_mixins.scss39
4 files changed, 199 insertions, 0 deletions
diff --git a/_scss/imports/themes/_test.scss b/_scss/imports/themes/_test.scss
new file mode 100644
index 00000000..87735bec
--- /dev/null
+++ b/_scss/imports/themes/_test.scss
@@ -0,0 +1,55 @@
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/* extra theme for use when developing the layouts so we can color items to discern them */
8.applicationBodyBackground {
9 background: blue;
10}
11
12.menuBar {
13 color: rgba(192,192,192,1);
14 background: black;
15}
16
17.docAreaBackground {
18 color: black;
19 background: black;
20}
21
22.mainStageBackground {
23 color: white;
24 background: gray;
25}
26
27.stageContentShadow {
28 -webkit-box-shadow: 3px 5px 4px rgba(0,0,0,.5);
29 -moz-box-shadow: 3px 5px 4px rgba(0,0,0,.5);
30 box-shadow: 3px 5px 4px rgba(0,0,0,.5);
31}
32
33.panelBackground {
34 color: white;
35 /*border: solid 1px #333;*/
36 background: rgba(41,41,41,1);
37}
38
39.panelCollapseControlBackground {
40 background: green;
41}
42
43.panelCollapseArrowFill {
44 color: rgba(76,76,76,1); /* this is never really used but is set so we can get it via javascript to draw the control via script on the canvas */
45}
46
47.docAreaBorder {
48 border: solid 1px rgba(51,51,51,1);
49 padding: 1px;
50}
51
52.panelContent {
53 background: rgba(62,62,62,1);
54 border: solid 1px black;
55} \ No newline at end of file
diff --git a/_scss/imports/themes/default/_colors.scss b/_scss/imports/themes/default/_colors.scss
new file mode 100644
index 00000000..2fbe7956
--- /dev/null
+++ b/_scss/imports/themes/default/_colors.scss
@@ -0,0 +1,93 @@
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 * _colors.scss
9 * Defines the colors for the UI of the application.
10 * To create a new theme, copy this file and change the values as desired.
11 * Note: Some colors are defined as both rgb and rgba; some of the rgba versions have multiple a values.
12 */
13
14/* Colors for radio buttons and other form elements */
15$color-radio-border: rgb(40,40,40);
16$color-radio-shadow: rgba(200,200,200,0.5);
17$color-radio-gradient-top: rgb(100,100,100);
18$color-radio-gradient-bottom: rgb(60,60,60);
19$color-radio-bg: rgb(0,0,0);
20$color-radio: rgb(200,200,200);
21$color-input: rgb(255,255,255);
22$color-input-bg: rgb(68, 68, 68);
23$color-input-border: rgb(49, 49, 49);
24$color-focus-outline: rgb(180, 180, 180);
25
26/* Base colors for dividers
27 *
28 * Dividers consist of a div with a background color and either
29 * a top & bottom border (in the case of horizontal dividers)
30 * or a left & right border (in the case of vertical dividers),
31 * for a total of three different colors.
32 *
33 */
34$color-divider-first: rgb(35,35,35); /* top and left */
35$color-divider-second: rgb(0,0,0); /* Middle */
36$color-divider-third: rgb(58,58,58); /* Bottom and right */
37
38/* Main background color of entire app */
39$color-app-bg: rgb(0,0,0); /* Main app background color. */
40$color-app-bg-a1: rgba(0,0,0,1); /* rgba version */
41$color-app-border: rgb(51,51,51); /* Main app border color */
42$color-app-shadow: rgba(0,0,0,.5); /* color of drop shadows */
43$color-stage: rgb(128,128,128); /* Stage color */
44$color-body-border: rgb(0,0,0); /* body border color */
45$color-body-bg: rgb(255,255,255); /* Body background color */
46
47/* Colors for main dropdown menus: background & text for both regular and highlighted states, dividers */
48$color-menu-bg: rgb(71,71,71);
49$color-menu-text: rgb(255,255,255);
50$color-menu-hilite-bg: rgb(178,178,178);
51$color-menu-hilite-text: rgb(36,36,36);
52$color-menu-divider: rgb(80,80,80);
53$color-menu-border: rgb(0,0,0);
54$color-menu-active-bg: rgb(181,122,10);
55
56
57/* Colors for tools: background, text, how they interact with the UI */
58$color-tool-bg: rgb(41,41,41);
59$color-tool-bg-active: rgb(178,178,178);
60$color-tool-border-selected: rgb(89,89,89);
61$color-tool-bg-a1: rgba(41,41,41,1);
62$color-tool-text: rgb(255,255,255);
63$color-tool-text-a1: rgba(255,255,255,1);
64$color-tool-separator-top: $color-divider-first;
65$color-tool-separator-middle: $color-divider-second;
66$color-tool-separator-bottom: $color-divider-third;
67$color-tool-select-bg: rgb(102,102,102);
68$color-tool-select-border: rgb(0,0,0);
69$color-tool-select-hover-bg: rgb(221,221,221);
70
71
72/* Colors for panels: background & text, both regular and highlighted states, dividers, borders, shadows, etc. */
73$color-panel-bg: $color-menu-bg;
74$color-panel-text: $color-menu-text;
75$color-panel-input: $color-panel-text;
76$color-panel-hilite-bg: $color-menu-hilite-bg;
77$color-panel-hilite-text: $color-menu-hilite-text;
78$color-panel-clickable: rgb(215,215,215); /* used for editable items in their non-edit state, etc. */
79$color-panel-border: $color-menu-border; /* Border for panel and for block elements */
80$color-panel-shadow: rgb(58,58,58); /* Shadow for text and block elements */
81$color-panel-input-bg: rgb(68, 68, 68);
82$color-panel-dividerlabel-bg: rgb(62, 62, 62);
83$color-panel-input-border: rgb(49, 49, 49);
84$color-panel-divider-top: rgb(62, 62, 62);
85$color-panel-divider: $color-menu-divider;
86$color-panel-divider-bottom: rgb(86, 86, 86);
87
88/* Colors for scroll bars */
89$color-sb-border: rgb(0,0,0);
90$color-sb-1: rgb(140,140,140);
91$color-sb-2: rgb(173,173,173);
92$color-sb-hover-1: rgb(190,190,190);
93$color-sb-hover-2: rgb(255,255,255);
diff --git a/_scss/imports/themes/default/_fonts.scss b/_scss/imports/themes/default/_fonts.scss
new file mode 100644
index 00000000..9410dfd2
--- /dev/null
+++ b/_scss/imports/themes/default/_fonts.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
7/*
8 * _fonts.scss
9 * Defines the fonts for the application.
10 */
11
12/* Droid Sans: Normal, bold asdf*/
diff --git a/_scss/imports/themes/default/_mixins.scss b/_scss/imports/themes/default/_mixins.scss
new file mode 100644
index 00000000..e6a38a93
--- /dev/null
+++ b/_scss/imports/themes/default/_mixins.scss
@@ -0,0 +1,39 @@
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 * themes/themename/mixins.scss
9 * Mixins that are theme-dependent (e.g. sprite mixins, etc)
10 */
11
12$Mx:0;
13$My:0;
14$opacity:1;
15
16//Mixin to set the Image Sprite Sheet
17@mixin background-pos($Mx, $My, $Size_x,$Size_y) {
18
19background-image: url('../images/SpriteSheets/NinjaSpriteSheet2_5.png');
20@if $Size_x == 26px
21 {
22 @if $Size_y == 23px
23 {
24 $offset_x:30px;
25 $offset_y:27px;
26
27 $offset_x:$offset_x*$Mx* -1;
28 $offset_y:$offset_y*$My* -1;
29
30 background-position: $offset_x $offset_y;
31 background-repeat:no-repeat;
32 height:$Size_y;
33 width: $Size_x;
34 }
35 }
36
37
38}
39