diff options
author | Valerio Virgillito | 2012-01-27 16:39:22 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 16:39:22 -0800 |
commit | a53d4ef4d26d5c4c8e5f4859f8fd3e95ccce8c3b (patch) | |
tree | 436668182ef20ab30fb59701deb2e25c5da4498f /_scss | |
parent | 302e3eb01037ff550bc93547cb8d5d0a0780b312 (diff) | |
parent | 01e7e2448bc58698fb5808d141c1a8a5dfbdaaf7 (diff) | |
download | ninja-a53d4ef4d26d5c4c8e5f4859f8fd3e95ccce8c3b.tar.gz |
Merge pull request #2 from jreid01/pullrequest
Fixes to radio button base styles. Comment clean-up.
Diffstat (limited to '_scss')
-rw-r--r-- | _scss/compass_app_log.txt | 13 | ||||
-rw-r--r-- | _scss/imports/scss/_Base.scss | 49 | ||||
-rw-r--r-- | _scss/imports/scss/_Components.scss | 4 | ||||
-rw-r--r-- | _scss/imports/scss/_MainWindow.scss | 30 | ||||
-rw-r--r-- | _scss/imports/scss/_MenuUI.scss | 15 | ||||
-rw-r--r-- | _scss/imports/scss/_PanelUI.scss | 99 | ||||
-rw-r--r-- | _scss/imports/scss/_ScrollBars.scss | 42 | ||||
-rw-r--r-- | _scss/imports/scss/_Stage.scss | 22 | ||||
-rw-r--r-- | _scss/imports/scss/_Tools.scss | 48 | ||||
-rw-r--r-- | _scss/imports/scss/_ToolsSample.scss | 2 | ||||
-rw-r--r-- | _scss/imports/scss/_mixins.scss | 10 | ||||
-rw-r--r-- | _scss/imports/scss/_toolbar.scss | 18 | ||||
-rw-r--r-- | _scss/imports/themes/default/_colors.scss | 65 | ||||
-rw-r--r-- | _scss/imports/themes/default/_fonts.scss | 5 | ||||
-rw-r--r-- | _scss/imports/themes/default/_mixins.scss | 6 | ||||
-rwxr-xr-x | _scss/ninja.scss | 8 |
16 files changed, 221 insertions, 215 deletions
diff --git a/_scss/compass_app_log.txt b/_scss/compass_app_log.txt index 6fe64a6f..00a7f071 100644 --- a/_scss/compass_app_log.txt +++ b/_scss/compass_app_log.txt | |||
@@ -93,3 +93,16 @@ | |||
93 | 2012-01-20 15:16:38 overwrite ../css/ninja.css | 93 | 2012-01-20 15:16:38 overwrite ../css/ninja.css |
94 | 2012-01-20 15:17:03 overwrite ../css/ninja.css | 94 | 2012-01-20 15:17:03 overwrite ../css/ninja.css |
95 | 2012-01-20 15:17:39 overwrite ../css/ninja.css | 95 | 2012-01-20 15:17:39 overwrite ../css/ninja.css |
96 | 2012-01-27 16:08:54 error ninja.scss (Line 26: Invalid CSS after "resize:": expected pseudoclass or pseudoelement, was "/* Base colors ...") | ||
97 | 2012-01-27 16:08:54 overwrite ../css/ninja.css | ||
98 | 2012-01-27 16:09:18 error ninja.scss (Line 26: Invalid CSS after "resize:": expected pseudoclass or pseudoelement, was "/* Base colors ...") | ||
99 | 2012-01-27 16:09:18 overwrite ../css/ninja.css | ||
100 | 2012-01-27 16:09:34 error ninja.scss (Line 93: Invalid CSS after " z-index:": expected pseudoclass or pseudoelement, was " 2;") | ||
101 | 2012-01-27 16:09:34 overwrite ../css/ninja.css | ||
102 | 2012-01-27 16:11:17 error ninja.scss (Line 20: Invalid CSS after "...nately it doesn": expected "{", was "'t seem to work...") | ||
103 | 2012-01-27 16:11:17 overwrite ../css/ninja.css | ||
104 | 2012-01-27 16:11:57 error ninja.scss (Line 106: Invalid CSS after "...how the corner.": expected class name, was "Setting the ::-...") | ||
105 | 2012-01-27 16:11:57 overwrite ../css/ninja.css | ||
106 | 2012-01-27 16:12:29 overwrite ../css/ninja.css | ||
107 | 2012-01-27 16:13:46 overwrite ../css/ninja.css | ||
108 | 2012-01-27 16:14:02 overwrite ../css/ninja.css | ||
diff --git a/_scss/imports/scss/_Base.scss b/_scss/imports/scss/_Base.scss index f9a1cfa3..75ccc07d 100644 --- a/_scss/imports/scss/_Base.scss +++ b/_scss/imports/scss/_Base.scss | |||
@@ -4,12 +4,12 @@ | |||
4 | // (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | 4 | // (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. |
5 | // </copyright> | 5 | // </copyright> |
6 | 6 | ||
7 | /* | 7 | |
8 | * Base.scss | 8 | //Base.scss |
9 | * Base styles for entire application. | 9 | //Base styles for entire application. |
10 | * Note that colors and font definitions go in | 10 | //Note that colors and font definitions go in |
11 | * _scss/themes/themename/_colors.scss and _scss/themes/themename/_fonts.scss | 11 | //_scss/themes/themename/_colors.scss and _scss/themes/themename/_fonts.scss |
12 | */ | 12 | |
13 | 13 | ||
14 | .clear { | 14 | .clear { |
15 | display: block; | 15 | display: block; |
@@ -42,8 +42,8 @@ | |||
42 | float: right; | 42 | float: right; |
43 | } | 43 | } |
44 | 44 | ||
45 | /* Begin: Basic skinning for form fields */ | 45 | // Begin: Basic skinning for form fields |
46 | /* Reset all */ | 46 | // Reset all |
47 | input.nj-skinned, | 47 | input.nj-skinned, |
48 | textarea.nj-skinned, | 48 | textarea.nj-skinned, |
49 | button.nj-skinned, | 49 | button.nj-skinned, |
@@ -54,7 +54,7 @@ button.nj-skinned { | |||
54 | outline: none; | 54 | outline: none; |
55 | } | 55 | } |
56 | 56 | ||
57 | /* Base styles */ | 57 | // Base styles |
58 | input[type="text"].nj-skinned, | 58 | input[type="text"].nj-skinned, |
59 | input[type="password"].nj-skinned, | 59 | input[type="password"].nj-skinned, |
60 | input[type="search"].nj-skinned, | 60 | input[type="search"].nj-skinned, |
@@ -68,7 +68,7 @@ select.nj-skinned option { | |||
68 | font-family: 'Droid Sans', sans-serif; | 68 | font-family: 'Droid Sans', sans-serif; |
69 | } | 69 | } |
70 | 70 | ||
71 | /* Disabled styles */ | 71 | // Disabled styles |
72 | input.nj-skinned:disabled, | 72 | input.nj-skinned:disabled, |
73 | textarea.nj-skinned:disabled, | 73 | textarea.nj-skinned:disabled, |
74 | select.nj-skinned:disabled, | 74 | select.nj-skinned:disabled, |
@@ -76,7 +76,7 @@ button.nj-skinned:disabled { | |||
76 | opacity: 0.4; | 76 | opacity: 0.4; |
77 | } | 77 | } |
78 | 78 | ||
79 | /* Text inputs and select boxes */ | 79 | // Text inputs and select boxes |
80 | input[type="text"].nj-skinned, | 80 | input[type="text"].nj-skinned, |
81 | input[type="password"].nj-skinned, | 81 | input[type="password"].nj-skinned, |
82 | input[type="search"].nj-skinned, | 82 | input[type="search"].nj-skinned, |
@@ -84,7 +84,7 @@ select.nj-skinned, | |||
84 | select.nj-skinned option { | 84 | select.nj-skinned option { |
85 | height: 13px; | 85 | height: 13px; |
86 | } | 86 | } |
87 | /* | 87 | // |
88 | input[type="text"].nj-skinned:focus, | 88 | input[type="text"].nj-skinned:focus, |
89 | input[type="password"].nj-skinned:focus, | 89 | input[type="password"].nj-skinned:focus, |
90 | input[type="search"].nj-skinned:focus, | 90 | input[type="search"].nj-skinned:focus, |
@@ -93,7 +93,7 @@ select.nj-skinned:focus, | |||
93 | select.nj-skinned option:focus { | 93 | select.nj-skinned option:focus { |
94 | -webkit-box-shadow: 0px 0px 3px $color-focus-outline; | 94 | -webkit-box-shadow: 0px 0px 3px $color-focus-outline; |
95 | } | 95 | } |
96 | */ | 96 | |
97 | 97 | ||
98 | select.nj-skinned { | 98 | select.nj-skinned { |
99 | background-image: url("../images/dropdown-bg.png"); | 99 | background-image: url("../images/dropdown-bg.png"); |
@@ -118,13 +118,13 @@ input[type="search"].nj-skinned::-webkit-search-cancel-button:after { | |||
118 | content:"\2716"; | 118 | content:"\2716"; |
119 | } | 119 | } |
120 | 120 | ||
121 | /* Buttons */ | 121 | // Buttons |
122 | button.nj-skinned { | 122 | button.nj-skinned { |
123 | font-size: 9px; | 123 | font-size: 9px; |
124 | cursor: pointer; | 124 | cursor: pointer; |
125 | } | 125 | } |
126 | 126 | ||
127 | /* Radio buttons */ | 127 | // Radio buttons |
128 | input[type="radio"].nj-skinned { | 128 | input[type="radio"].nj-skinned { |
129 | background-color: $color-menu-bg; | 129 | background-color: $color-menu-bg; |
130 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); | 130 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); |
@@ -143,15 +143,18 @@ input[type="radio"].nj-skinned { | |||
143 | box-shadow: 0px 0px 2px $color-radio-shadow; | 143 | box-shadow: 0px 0px 2px $color-radio-shadow; |
144 | } | 144 | } |
145 | input[type="radio"].nj-skinned:checked { | 145 | input[type="radio"].nj-skinned:checked { |
146 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); | 146 | background: -webkit-radial-gradient(center, |
147 | circle cover, | ||
148 | $color-radio 0%, | ||
149 | $color-radio 15%, | ||
150 | $color-radio 30%, | ||
151 | $color-transparent 31%), | ||
152 | -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); | ||
147 | border: 2px solid $color-radio-border; | 153 | border: 2px solid $color-radio-border; |
148 | } | 154 | } |
149 | input[type="radio"].nj-skinned:hover { | 155 | input[type="radio"].nj-skinned:hover { |
150 | border: 2px solid $color-radio-border; | 156 | border: 2px solid $color-radio-border; |
151 | } | 157 | } |
152 | input[type="radio"].nj-skinned:checked:after { | ||
153 | content:"\a0 \a0 \2022"; | ||
154 | } | ||
155 | input[type="radio"].nj-skinned:active { | 158 | input[type="radio"].nj-skinned:active { |
156 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-bottom 0%, $color-radio-gradient-top 100%); | 159 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-bottom 0%, $color-radio-gradient-top 100%); |
157 | } | 160 | } |
@@ -160,7 +163,7 @@ input[type="radio"].nj-skinned:disabled { | |||
160 | border: 2px solid $color-radio-border; | 163 | border: 2px solid $color-radio-border; |
161 | cursor: default; | 164 | cursor: default; |
162 | } | 165 | } |
163 | /* Checkboxes */ | 166 | // Checkboxes |
164 | input[type="checkbox"].nj-skinned { | 167 | input[type="checkbox"].nj-skinned { |
165 | background-color: $color-menu-bg; | 168 | background-color: $color-menu-bg; |
166 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); | 169 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); |
@@ -190,9 +193,9 @@ input[type="checkbox"].nj-skinned:disabled { | |||
190 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); | 193 | background-image: -webkit-linear-gradient(top, $color-radio-gradient-top 0%, $color-radio-gradient-bottom 100%); |
191 | cursor: default; | 194 | cursor: default; |
192 | } | 195 | } |
193 | /* End: Basic skinning for form fields */ | 196 | // End: Basic skinning for form fields |
194 | 197 | ||
195 | /* Begin: Basic skinning for visual dividers */ | 198 | // Begin: Basic skinning for visual dividers |
196 | .nj-divider { | 199 | .nj-divider { |
197 | background-color: $color-divider-second; | 200 | background-color: $color-divider-second; |
198 | border-width: 0px; | 201 | border-width: 0px; |
@@ -208,4 +211,4 @@ input[type="checkbox"].nj-skinned:disabled { | |||
208 | border-right: 1px solid $color-divider-third; | 211 | border-right: 1px solid $color-divider-third; |
209 | width: 1px; | 212 | width: 1px; |
210 | } | 213 | } |
211 | /* End: Basic skinning for visual dividers */ | 214 | // End: Basic skinning for visual dividers |
diff --git a/_scss/imports/scss/_Components.scss b/_scss/imports/scss/_Components.scss index 2fda5afc..c4182c73 100644 --- a/_scss/imports/scss/_Components.scss +++ b/_scss/imports/scss/_Components.scss | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | 7 | ||
8 | 8 | ||
9 | /* Begin: Styles for the Tree component */ | 9 | // Begin: Styles for the Tree component |
10 | 10 | ||
11 | .tree | 11 | .tree |
12 | { | 12 | { |
@@ -30,4 +30,4 @@ | |||
30 | -webkit-transition: -webkit-transform 0.05s linear; | 30 | -webkit-transition: -webkit-transform 0.05s linear; |
31 | } | 31 | } |
32 | 32 | ||
33 | /* End: styles for the Tree component */ \ No newline at end of file | 33 | // End: styles for the Tree c |