sproutcore 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (208) hide show
  1. data/History.txt +233 -0
  2. data/Manifest.txt +67 -34
  3. data/bin/sc-build +12 -1
  4. data/bin/sc-gen +1 -1
  5. data/bin/sproutcore +14 -0
  6. data/clients/sc_docs/controllers/docs.js +38 -8
  7. data/clients/sc_docs/english.lproj/body.css +80 -127
  8. data/clients/sc_docs/english.lproj/body.rhtml +43 -23
  9. data/clients/sc_docs/english.lproj/no_docs.rhtml +2 -1
  10. data/clients/sc_docs/english.lproj/tabs.rhtml +16 -0
  11. data/clients/sc_docs/main.js +14 -9
  12. data/clients/sc_docs/models/doc.js +1 -1
  13. data/clients/sc_docs/tests/controllers/docs.rhtml +1 -2
  14. data/clients/sc_docs/tests/models/doc.rhtml +1 -2
  15. data/clients/sc_docs/tests/views/doc_frame.rhtml +1 -2
  16. data/clients/sc_docs/tests/views/doc_label_view.rhtml +1 -2
  17. data/clients/sc_docs/views/doc_frame.js +1 -1
  18. data/clients/sc_test_runner/controllers/runner.js +31 -8
  19. data/clients/sc_test_runner/english.lproj/body.css +62 -122
  20. data/clients/sc_test_runner/english.lproj/body.rhtml +62 -26
  21. data/clients/sc_test_runner/main.js +1 -6
  22. data/clients/sc_test_runner/models/test.js +14 -1
  23. data/clients/sc_test_runner/views/runner_frame.js +4 -2
  24. data/clients/view_builder/builders/builder.js +339 -0
  25. data/clients/view_builder/builders/button.js +81 -0
  26. data/clients/view_builder/controllers/document.js +21 -0
  27. data/clients/view_builder/core.js +19 -0
  28. data/clients/view_builder/english.lproj/body.css +77 -0
  29. data/clients/view_builder/english.lproj/body.rhtml +41 -0
  30. data/clients/{sc_docs → view_builder}/english.lproj/controls.css +0 -0
  31. data/clients/view_builder/english.lproj/strings.js +14 -0
  32. data/clients/view_builder/main.js +38 -0
  33. data/clients/view_builder/tests/controllers/document.rhtml +20 -0
  34. data/clients/view_builder/tests/views/builder.rhtml +20 -0
  35. data/clients/view_builder/views/builder.js +23 -0
  36. data/frameworks/prototype/prototype.js +1 -1
  37. data/frameworks/sproutcore/Core.js +32 -7
  38. data/frameworks/sproutcore/README +1 -1
  39. data/frameworks/sproutcore/animation/animation.js +411 -0
  40. data/frameworks/sproutcore/controllers/array.js +17 -9
  41. data/frameworks/sproutcore/controllers/collection.js +9 -110
  42. data/frameworks/sproutcore/controllers/controller.js +1 -1
  43. data/frameworks/sproutcore/controllers/object.js +2 -1
  44. data/frameworks/sproutcore/drag/drag.js +267 -56
  45. data/frameworks/sproutcore/drag/drag_data_source.js +24 -16
  46. data/frameworks/sproutcore/drag/drag_source.js +53 -42
  47. data/frameworks/sproutcore/drag/drop_target.js +2 -2
  48. data/frameworks/sproutcore/english.lproj/buttons.css +337 -236
  49. data/frameworks/sproutcore/english.lproj/core.css +115 -0
  50. data/frameworks/sproutcore/english.lproj/icons.css +227 -0
  51. data/{clients/sc_docs → frameworks/sproutcore}/english.lproj/images/indicator.gif +0 -0
  52. data/frameworks/sproutcore/english.lproj/images/sc-theme-sprite.png +0 -0
  53. data/frameworks/sproutcore/english.lproj/images/sc-theme-ysprite.png +0 -0
  54. data/frameworks/sproutcore/english.lproj/images/shared-icons.png +0 -0
  55. data/frameworks/sproutcore/english.lproj/menu.css +1 -1
  56. data/frameworks/sproutcore/english.lproj/strings.js +1 -1
  57. data/frameworks/sproutcore/english.lproj/theme.css +405 -31
  58. data/frameworks/sproutcore/foundation/application.js +15 -11
  59. data/frameworks/sproutcore/foundation/benchmark.js +1 -1
  60. data/frameworks/sproutcore/foundation/binding.js +2 -2
  61. data/frameworks/sproutcore/foundation/date.js +1 -1
  62. data/frameworks/sproutcore/foundation/error.js +1 -1
  63. data/frameworks/sproutcore/foundation/input_manager.js +32 -21
  64. data/frameworks/sproutcore/foundation/mock.js +1 -1
  65. data/frameworks/sproutcore/foundation/node_descriptor.js +9 -6
  66. data/frameworks/sproutcore/foundation/object.js +249 -177
  67. data/frameworks/sproutcore/foundation/page.js +5 -2
  68. data/frameworks/sproutcore/foundation/path_module.js +11 -10
  69. data/frameworks/sproutcore/foundation/responder.js +5 -2
  70. data/frameworks/sproutcore/foundation/routes.js +17 -13
  71. data/frameworks/sproutcore/foundation/run_loop.js +249 -11
  72. data/frameworks/sproutcore/foundation/server.js +1 -1
  73. data/frameworks/sproutcore/foundation/set.js +3 -3
  74. data/frameworks/sproutcore/foundation/string.js +5 -3
  75. data/frameworks/sproutcore/foundation/timer.js +371 -0
  76. data/frameworks/sproutcore/foundation/undo_manager.js +1 -1
  77. data/frameworks/sproutcore/foundation/unittest.js +3 -3
  78. data/frameworks/sproutcore/foundation/utils.js +161 -2
  79. data/frameworks/sproutcore/globals/panels.js +1 -1
  80. data/frameworks/sproutcore/globals/popups.js +4 -3
  81. data/frameworks/sproutcore/globals/window.js +44 -4
  82. data/frameworks/sproutcore/lib/button_views.rb +328 -0
  83. data/frameworks/sproutcore/lib/collection_view.rb +80 -0
  84. data/frameworks/sproutcore/lib/core_views.rb +281 -0
  85. data/frameworks/sproutcore/lib/form_views.rb +253 -0
  86. data/frameworks/sproutcore/lib/index.rhtml +2 -0
  87. data/frameworks/sproutcore/lib/menu_views.rb +88 -0
  88. data/frameworks/sproutcore/{foundation → mixins}/array.js +60 -29
  89. data/frameworks/sproutcore/mixins/control.js +265 -0
  90. data/frameworks/sproutcore/mixins/delegate_support.js +66 -0
  91. data/frameworks/sproutcore/{foundation → mixins}/observable.js +176 -6
  92. data/frameworks/sproutcore/mixins/scrollable.js +245 -0
  93. data/frameworks/sproutcore/mixins/selection_support.js +148 -0
  94. data/frameworks/sproutcore/mixins/validatable.js +152 -0
  95. data/frameworks/sproutcore/models/collection.js +5 -5
  96. data/frameworks/sproutcore/models/record.js +1 -1
  97. data/frameworks/sproutcore/models/store.js +1 -1
  98. data/frameworks/sproutcore/panes/dialog.js +1 -1
  99. data/frameworks/sproutcore/panes/manager.js +1 -1
  100. data/frameworks/sproutcore/panes/menu.js +1 -1
  101. data/frameworks/sproutcore/panes/overlay.js +2 -2
  102. data/frameworks/sproutcore/panes/panel.js +1 -1
  103. data/frameworks/sproutcore/panes/picker.js +1 -1
  104. data/frameworks/sproutcore/tests/controllers/array.rhtml +44 -4
  105. data/frameworks/sproutcore/tests/foundation/timer/invalidate.rhtml +33 -0
  106. data/frameworks/sproutcore/tests/foundation/timer/invokeLater.rhtml +145 -0
  107. data/frameworks/sproutcore/tests/foundation/timer/isPaused.rhtml +70 -0
  108. data/frameworks/sproutcore/tests/foundation/timer/schedule.rhtml +145 -0
  109. data/frameworks/sproutcore/tests/views/{scroll.rhtml → checkbox.rhtml} +3 -3
  110. data/frameworks/sproutcore/tests/views/{collection.rhtml → collection/base.rhtml} +33 -32
  111. data/frameworks/sproutcore/tests/views/collection/incremental_rendering.rhtml +260 -0
  112. data/frameworks/sproutcore/tests/views/image_cell.rhtml +19 -0
  113. data/frameworks/sproutcore/tests/views/label_item.rhtml +2 -4
  114. data/frameworks/sproutcore/tests/views/list.rhtml +2 -3
  115. data/frameworks/sproutcore/tests/views/list_item.rhtml +20 -0
  116. data/frameworks/sproutcore/tests/views/slider.rhtml +20 -0
  117. data/frameworks/sproutcore/tests/views/text_cell.rhtml +19 -0
  118. data/frameworks/sproutcore/tests/views/view/clippingFrame.rhtml +395 -0
  119. data/frameworks/sproutcore/tests/views/view/frame.rhtml +353 -0
  120. data/frameworks/sproutcore/tests/views/view/innerFrame.rhtml +347 -0
  121. data/frameworks/sproutcore/tests/views/view/isVisibleInWindow.rhtml +148 -0
  122. data/frameworks/sproutcore/tests/views/view/scrollFrame.rhtml +468 -0
  123. data/frameworks/sproutcore/validators/credit_card.js +33 -13
  124. data/frameworks/sproutcore/validators/date.js +26 -6
  125. data/frameworks/sproutcore/validators/email.js +21 -3
  126. data/frameworks/sproutcore/validators/not_empty.js +11 -1
  127. data/frameworks/sproutcore/validators/number.js +18 -4
  128. data/frameworks/sproutcore/validators/password.js +12 -1
  129. data/frameworks/sproutcore/validators/validator.js +204 -194
  130. data/frameworks/sproutcore/views/{button.js → button/button.js} +96 -94
  131. data/frameworks/sproutcore/views/button/checkbox.js +29 -0
  132. data/frameworks/sproutcore/views/button/disclosure.js +42 -0
  133. data/frameworks/sproutcore/views/button/radio.js +29 -0
  134. data/frameworks/sproutcore/views/{collection.js → collection/collection.js} +1373 -1024
  135. data/frameworks/sproutcore/views/collection/grid.js +124 -46
  136. data/frameworks/sproutcore/views/collection/image_cell.js +17 -46
  137. data/frameworks/sproutcore/views/collection/list.js +45 -35
  138. data/frameworks/sproutcore/views/collection/source_list.js +386 -0
  139. data/frameworks/sproutcore/views/collection/table.js +118 -0
  140. data/frameworks/sproutcore/views/container.js +7 -2
  141. data/frameworks/sproutcore/views/error_explanation.js +23 -10
  142. data/frameworks/sproutcore/views/{checkbox_field.js → field/checkbox_field.js} +16 -6
  143. data/frameworks/sproutcore/views/field/field.js +219 -0
  144. data/frameworks/sproutcore/views/{radio_field.js → field/radio_field.js} +27 -12
  145. data/frameworks/sproutcore/views/{select_field.js → field/select_field.js} +116 -90
  146. data/frameworks/sproutcore/views/{text_field.js → field/text_field.js} +57 -8
  147. data/frameworks/sproutcore/views/{textarea_field.js → field/textarea_field.js} +13 -3
  148. data/frameworks/sproutcore/views/filter_button.js +2 -2
  149. data/frameworks/sproutcore/views/form.js +3 -3
  150. data/frameworks/sproutcore/views/image.js +128 -21
  151. data/frameworks/sproutcore/views/inline_text_editor.js +1 -1
  152. data/frameworks/sproutcore/views/label.js +149 -92
  153. data/frameworks/sproutcore/views/list_item.js +225 -0
  154. data/frameworks/sproutcore/views/menu_item.js +10 -4
  155. data/frameworks/sproutcore/views/pagination.js +11 -4
  156. data/frameworks/sproutcore/views/popup_button.js +25 -21
  157. data/frameworks/sproutcore/views/popup_menu.js +10 -4
  158. data/frameworks/sproutcore/views/progress.js +29 -16
  159. data/frameworks/sproutcore/views/radio_group.js +1 -1
  160. data/frameworks/sproutcore/views/scroll.js +60 -20
  161. data/frameworks/sproutcore/views/segmented.js +1 -1
  162. data/frameworks/sproutcore/views/slider.js +132 -0
  163. data/frameworks/sproutcore/views/source_list_group.js +130 -0
  164. data/frameworks/sproutcore/views/spinner.js +1 -1
  165. data/frameworks/sproutcore/views/split.js +292 -0
  166. data/frameworks/sproutcore/views/split_divider.js +109 -0
  167. data/frameworks/sproutcore/views/tab.js +1 -1
  168. data/frameworks/sproutcore/views/toolbar.js +1 -1
  169. data/frameworks/sproutcore/views/view.js +1272 -591
  170. data/generators/client/templates/english.lproj/body.css +1 -1
  171. data/generators/controller/controller_generator.rb +1 -1
  172. data/generators/controller/templates/test.rhtml +2 -1
  173. data/generators/model/templates/test.rhtml +1 -1
  174. data/generators/test/templates/test.rhtml +1 -1
  175. data/generators/view/templates/test.rhtml +1 -1
  176. data/jsdoc/templates/sproutcore/class.tmpl +241 -338
  177. data/jsdoc/templates/sproutcore/default.css +105 -155
  178. data/jsdoc/templates/sproutcore/index.tmpl +43 -8
  179. data/jsdoc/templates/sproutcore/publish.js +9 -4
  180. data/lib/sproutcore/build_tools/html_builder.rb +29 -13
  181. data/lib/sproutcore/build_tools/resource_builder.rb +1 -1
  182. data/lib/sproutcore/bundle.rb +86 -25
  183. data/lib/sproutcore/jsdoc.rb +2 -0
  184. data/lib/sproutcore/version.rb +1 -1
  185. data/lib/sproutcore/view_helpers.rb +36 -3
  186. data/tasks/deployment.rake +1 -1
  187. metadata +69 -36
  188. data/clients/sc_docs/english.lproj/icons/small/next.png +0 -0
  189. data/clients/sc_docs/english.lproj/icons/small/reset.png +0 -0
  190. data/clients/sc_docs/english.lproj/images/gradients.png +0 -0
  191. data/clients/sc_docs/english.lproj/images/toolbar.png +0 -0
  192. data/clients/sc_docs/english.lproj/warning.rhtml +0 -6
  193. data/clients/sc_test_runner/english.lproj/warning.rhtml +0 -6
  194. data/frameworks/sproutcore/english.lproj/buttons.png +0 -0
  195. data/frameworks/sproutcore/english.lproj/collections.css +0 -82
  196. data/frameworks/sproutcore/english.lproj/images/buttons-sprite.png +0 -0
  197. data/frameworks/sproutcore/views/collection/collection_item.js +0 -36
  198. data/frameworks/sproutcore/views/collection/text_cell.js +0 -128
  199. data/frameworks/sproutcore/views/field.js +0 -214
  200. data/frameworks/sproutcore/views/workspace.js +0 -170
  201. data/generators/client/templates/english.lproj/controls.css +0 -0
  202. data/generators/framework/templates/english.lproj/body.css +0 -0
  203. data/generators/framework/templates/english.lproj/body.rhtml +0 -3
  204. data/generators/framework/templates/english.lproj/controls.css +0 -0
  205. data/lib/sproutcore/view_helpers/button_views.rb +0 -302
  206. data/lib/sproutcore/view_helpers/core_views.rb +0 -292
  207. data/lib/sproutcore/view_helpers/form_views.rb +0 -258
  208. data/lib/sproutcore/view_helpers/menu_views.rb +0 -94
@@ -1,30 +1,38 @@
1
1
  // ========================================================================
2
2
  // SproutCore
3
- // copyright 2006-2007 Sprout Systems, Inc.
3
+ // copyright 2006-2008 Sprout Systems, Inc.
4
4
  // ========================================================================
5
5
 
6
6
  require('drag/drag') ;
7
7
 
8
8
 
9
- // This mixin can be used to implement a dynamic data source for a drag
10
- // operation. You can return a set of allowed data types and then the
11
- // method will be used to actually get data in that format when requested.
9
+ /**
10
+ @namespace
11
+
12
+ This mixin can be used to implement a dynamic data source for a drag
13
+ operation. You can return a set of allowed data types and then the
14
+ method will be used to actually get data in that format when requested.
15
+ */
12
16
  SC.DragDataSource = {
13
17
 
14
- // Implement this property as an array of data types you want to support
15
- // for drag operations.
18
+ /**
19
+ Implement this property as an array of data types you want to support
20
+ for drag operations.
21
+ */
16
22
  dragDataTypes: [],
17
23
 
18
- // Implement this method to return the data in the format passed. Return
19
- // null if the requested data type cannot be generated.
20
- //
21
- // dataType:
22
- // The proposed dataType to return. This will always be one of the
23
- // data types declared in dragDataTypes.
24
- //
25
- // drag:
26
- // The Drag instance managing this drag.
27
- //
24
+ /**
25
+ Implement this method to return the data in the format passed. Return
26
+ null if the requested data type cannot be generated.
27
+
28
+ @param {Object} dataType The proposed dataType to return. This will
29
+ always be one of the data types declared in dragDataTypes.
30
+
31
+ @param {SC.Drag} drag The Drag instance managing this drag.
32
+
33
+ @returns The data object for the specified type
34
+
35
+ */
28
36
  dragDataForType: function(dataType, drag) { return null; }
29
37
 
30
38
  };
@@ -1,63 +1,74 @@
1
1
  // ========================================================================
2
2
  // SproutCore
3
- // copyright 2006-2007 Sprout Systems, Inc.
3
+ // copyright 2006-2008 Sprout Systems, Inc.
4
4
  // ========================================================================
5
5
 
6
6
  require('drag/drag') ;
7
7
 
8
- // The DataSource protocol is used to dynamically generate multiple types of
9
- // data from a single object. You must implement this protocol if you want to
10
- // provide the data for a drag event.
8
+ /**
9
+ @namespace
10
+
11
+ The DataSource protocol is used to dynamically generate multiple types of
12
+ data from a single object. You must implement this protocol if you want to
13
+ provide the data for a drag event.
14
+
15
+ */
11
16
  SC.DragSource = {
12
17
 
13
- // This method is called when the drag begins. You can use this to do any
14
- // visual highlighting to indicate that the receive is the source of the
15
- // drag.
16
- //
17
- // drag:
18
- // The Drag instance managing this drag.
19
- //
20
- // atPoint:
21
- // The point in WINDOW coordinates where the drag began. You can use
22
- // convertOffsetFromView() to convert this to local coordinates.
18
+ /**
19
+
20
+ This method is called when the drag begins. You can use this to do any
21
+ visual highlighting to indicate that the receive is the source of the
22
+ drag.
23
+
24
+ @param {SC.Drag} drag The Drag instance managing this drag.
25
+
26
+ @param {Point} atPoint The point in *window* coordinates where the drag
27
+ began. You can use convertOffsetFromView() to convert this to local
28
+ coordinates.
29
+ */
23
30
  dragDidBegin: function(drag, atPoint) {},
24
31
 
25
- // This method is called when the drag ended. You can use this to do any
26
- // cleanup. The operation is the actual operation performed on the drag.
27
- //
28
- // drag:
29
- // The SC.Drag instance managing the drag.
30
- //
31
- // endPoint:
32
- // The point in WINDOW coordinates where the drag ended.
33
- //
34
- // operation: SC.DRAG_COPY | SC.DRAG_MOVE | SC.DRAG_LINK | SC.DRAG_NONE
35
- // The drag operation that was performed.
36
- //
32
+ /**
33
+ This method is called when the drag ended. You can use this to do any
34
+ cleanup. The operation is the actual operation performed on the drag.
35
+
36
+ @param {SC.Drag} drag The drag instance managing the drag.
37
+
38
+ @param {Point} endPoint The point in WINDOW coordinates where the drag
39
+ ended.
40
+
41
+ @param {String} operation The drag operation that was performed. One of
42
+ SC.DRAG_COPY, SC.DRAG_MOVE, SC.DRAG_LINK, or SC.DRAG_NONE.
43
+
44
+ */
37
45
  dragDidEnd: function(drag, endPoint, operation) {},
38
46
 
39
- // This method is called whenever the drag image is moved. This is
40
- // similar to the dragUpdated() method called on drop targets.
47
+ /**
48
+ This method is called whenever the drag image is moved. This is
49
+ similar to the dragUpdated() method called on drop targets.
50
+ */
41
51
  dragDidMove: function(drag, newPoint) {},
42
52
 
43
- // This method must be overridden for drag operations to be allowed.
44
- // Return a bitwise OR'd mask of the drag operations allowed on the
45
- // specified target. If you don't care about the target, just return a
46
- // constant value.
47
- //
48
- // dropTarget:
49
- // The proposed target of the drop.
50
- //
51
- // drag:
52
- // The SC.Drag instance managing this drag.
53
- //
53
+ /**
54
+ This method must be overridden for drag operations to be allowed.
55
+ Return a bitwise OR'd mask of the drag operations allowed on the
56
+ specified target. If you don't care about the target, just return a
57
+ constant value.
58
+
59
+ @param dropTarget The proposed target of the drop.
60
+ @param drag The SC.Drag instance managing this drag.
61
+
62
+ */
54
63
  dragSourceOperationMaskFor: function(dropTarget, drag) {
55
64
  return SC.DRAG_NONE ;
56
65
  },
57
66
 
58
- // If this property is set to NO or is not implemented, then the user may
59
- // modify the drag operation by changing the modifier keys they have
60
- // pressed.
67
+ /**
68
+ If this property is set to NO or is not implemented, then the user may
69
+ modify the drag operation by changing the modifier keys they have
70
+ pressed.
71
+ */
61
72
  ignoreModifierKeysWhileDragging: NO
62
73
 
63
74
  } ;
@@ -1,12 +1,12 @@
1
1
  // ========================================================================
2
2
  // SproutCore
3
- // copyright 2006-2007 Sprout Systems, Inc.
3
+ // copyright 2006-2008 Sprout Systems, Inc.
4
4
  // ========================================================================
5
5
 
6
6
  require('drag/drag');
7
7
 
8
8
  /**
9
- @namespace Interface for Drop Targets
9
+ @namespace
10
10
 
11
11
  Add the droppable mixin to your view to be able to accept drop events. You
12
12
  should also override the methods below as needed to handle accepting of
@@ -1,17 +1,17 @@
1
- /* @override http://localhost:4020/static/sproutcore/en/_cache/buttons-1205222977.css */
1
+ /* @override http://localhost:4020/static/sproutcore/en/_cache/buttons-1208588621.css */
2
2
 
3
3
  /* @group Button Core */
4
4
 
5
- a.button:active,
6
- a.button:focus {
5
+ a.sc-button-view:active,
6
+ a.sc-button-view:focus {
7
7
  outline: none ;
8
8
  }
9
9
 
10
- a.button {
10
+ a.sc-button-view {
11
11
  -moz-user-select: none;
12
12
  -khtml-user-select: none;
13
13
  user-select: none;
14
- cursor: pointer;
14
+ cursor: default;
15
15
  text-decoration: none ;
16
16
  color: black ;
17
17
  border: none ;
@@ -19,18 +19,17 @@ a.button {
19
19
  margin: 0;
20
20
  }
21
21
 
22
- a.button img {
22
+ a.sc-button-view img {
23
23
  border: none ;
24
24
  }
25
25
 
26
26
  /* @end */
27
27
 
28
- /* @group regular - back */
28
+ /* @group regular */
29
29
 
30
30
  /* @group basic */
31
31
 
32
- a.regular,
33
- a.back {
32
+ a.regular {
34
33
  display: -moz-inline-box;
35
34
  display: inline-block;
36
35
  font-size: 13px;
@@ -40,177 +39,206 @@ a.back {
40
39
  text-align: center;
41
40
  margin-left: 2px;
42
41
  margin-right: 2px ;
43
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -396px;
44
42
  }
45
43
 
46
- a.regular img,
47
- a.back img {
44
+ a.regular img {
48
45
  position: absolute ;
49
46
  top: 3px;
50
47
  left: 12px;
51
48
  }
52
49
 
53
50
  a.regular span.button-inner {
54
- background: static_url('images/buttons-sprite.png') no-repeat 0 -132px;
55
51
  display: block ;
56
52
  height: 22px;
57
53
  position: relative ;
54
+ max-height: 22px;
58
55
  }
59
56
 
60
- a.back span.button-inner {
61
- background: static_url('images/buttons-sprite.png') no-repeat 0 -264px;
62
- display: block ;
63
- height: 22px;
64
- position: relative ;
65
- }
66
-
67
- a.back span.label,
68
57
  a.regular span.label {
69
- background: transparent static_url('images/buttons-sprite.png') repeat-x left top;
70
58
  display: block ;
71
- font-weight: bold;
72
59
  text-align: center;
73
60
  padding-top: 3px;
74
61
  height: 19px;
75
62
  margin-left: 20px;
63
+ text-shadow: #f0f0f0 0px 1px 0px;
76
64
  }
77
65
 
78
- a.regular.image span.label,
79
- a.back.image span.label {
66
+ a.regular.image span.label {
80
67
  padding-left: 12px;
81
68
  margin-right: -2px;
82
69
  }
83
70
 
84
- a.back span.label {
85
- margin-left: 24px;
86
- }
87
-
88
-
89
71
  /* @end */
90
72
 
91
- /* @group sel - def */
73
+ /* @group disabled */
92
74
 
93
- a.regular.sel,
94
- a.back.sel,
95
- a.regular.def,
96
- a.back.def {
97
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -440px;
75
+ .sc-theme.blur a.regular,
76
+ .sc-theme.focus a.regular.disabled {
77
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -496px;
98
78
  }
99
79
 
100
- a.regular.sel span.button-inner,
101
- a.regular.def span.button-inner {
102
- background: static_url('images/buttons-sprite.png') no-repeat 0 -176px;
80
+ .sc-theme.blur a.regular span.button-inner,
81
+ .sc-theme.focus a.regular.disabled span.button-inner {
82
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -450px;
103
83
  }
104
84
 
105
- a.back.sel span.button-inner,
106
- a.back.def span.button-inner {
107
- background: static_url('images/buttons-sprite.png') no-repeat 0 -308px;
85
+ .sc-theme.blur a.regular span.label,
86
+ .sc-theme.focus a.regular.disabled span.label {
87
+ background: static_url('images/sc-theme-sprite.png') repeat-x 0 -473px;
88
+ color: #999;
89
+ text-shadow: none ;
108
90
  }
109
91
 
110
- a.regular.sel span.label,
111
- a.back.sel span.label,
112
- a.regular.def span.label,
113
- a.back.def span.label {
114
- background: static_url('images/buttons-sprite.png') repeat-x 0 -44px;
92
+
93
+ .sc-theme.blur a.regular.sel,
94
+ .sc-theme.blur a.regular.def,
95
+
96
+ .sc-theme.focus a.regular.sel.disabled,
97
+ .sc-theme.focus a.regular.def.disabled {
98
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -289px;
115
99
  }
116
100
 
117
- /* @end */
101
+ .sc-theme.blur a.regular.sel span.button-inner,
102
+ .sc-theme.blur a.regular.def span.button-inner,
118
103
 
119
- /* @group disabled */
104
+ .sc-theme.focus a.regular.sel.disabled span.button-inner,
105
+ .sc-theme.focus a.regular.def.disabled span.button-inner {
106
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -243px;
107
+ }
108
+
109
+ .sc-theme.blur a.regular.def span.label,
110
+ .sc-theme.blur a.regular.sel span.label,
120
111
 
121
- a.regular.disabled,
122
- a.back.disabled {
123
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -484px;
112
+ .sc-theme.focus a.regular.def.disabled span.label,
113
+ .sc-theme.focus a.regular.sel.disabled span.label {
114
+ background: static_url('images/sc-theme-sprite.png') repeat-x 0 -266px;
115
+ color: #999;
116
+ text-shadow: none ;
124
117
  }
125
118
 
126
- a.regular.disabled span.button-inner {
127
- background: static_url('images/buttons-sprite.png') no-repeat 0 -220px;
119
+ /* @end */
120
+
121
+ /* @group enabled */
122
+
123
+ .sc-theme a.regular {
124
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat right -358px;
128
125
  }
129
126
 
130
- a.back.disabled span.button-inner {
131
- background: static_url('images/buttons-sprite.png') no-repeat 0 -352px;
127
+ .sc-theme a.regular span.button-inner {
128
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -312px;
132
129
  }
133
130
 
134
- a.regular.disabled span.label,
135
- a.back.disabled span.label {
136
- background: static_url('images/buttons-sprite.png') repeat-x 0 -88px;
137
- color: #999;
131
+ .sc-theme a.regular span.label {
132
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x left -335px;
138
133
  }
139
134
 
135
+ /* @end */
140
136
 
141
- a.regular.sel.disabled,
142
- a.back.sel.disabled,
143
- a.regular.def.disabled,
144
- a.back.def.disabled {
145
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -506px;
146
- }
137
+ /* @group sel - def */
147
138
 
148
- a.regular.sel.disabled span.button-inner,
149
- a.regular.def.disabled span.button-inner {
150
- background: static_url('images/buttons-sprite.png') no-repeat 0 -242px;
139
+ .sc-theme a.regular.sel,
140
+ .sc-theme a.regular.def {
141
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -151px;
151
142
  }
152
143
 
153
- a.back.sel.disabled span.button-inner,
154
- a.back.def.disabled span.button-inner {
155
- background: static_url('images/buttons-sprite.png') no-repeat 0 -374px;
144
+ .sc-theme a.regular.sel span.button-inner,
145
+ .sc-theme a.regular.def span.button-inner {
146
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -105px;
156
147
  }
157
148
 
158
- a.regular.def.disabled span.label,
159
- a.back.def.disabled span.label,
160
- a.regular.sel.disabled span.label,
161
- a.back.sel.disabled span.label {
162
- background: static_url('images/buttons-sprite.png') repeat-x 0 -110px;
163
- color: #999;
149
+ .sc-theme a.regular.sel span.label,
150
+ .sc-theme a.regular.def span.label {
151
+ background: static_url('images/sc-theme-sprite.png') repeat-x 0 -128px;
152
+ text-shadow: #dabec6 0px 1px 0px;
164
153
  }
165
154
 
166
155
  /* @end */
167
156
 
168
157
  /* @group sel.active - def.active */
169
158
 
170
- a.regular.sel.active,
171
- a.back.sel.active,
172
- a.regular.def.active,
173
- a.back.def.active {
174
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -462px;
159
+ .sc-theme a.regular.sel.active,
160
+ .sc-theme a.regular.def.active {
161
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -220px;
175
162
  }
176
163
 
177
- a.regular.sel.active span.button-inner,
178
- a.regular.def.active span.button-inner {
179
- background: static_url('images/buttons-sprite.png') no-repeat 0 -198px;
164
+ .sc-theme a.regular.sel.active span.button-inner,
165
+ .sc-theme a.regular.def.active span.button-inner {
166
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -174px;
180
167
  }
181
168
 
182
- a.back.sel.active span.button-inner,
183
- a.back.def.active span.button-inner {
184
- background: static_url('images/buttons-sprite.png') no-repeat 0 -330px;
185
- }
186
-
187
- a.regular.sel.active span.label,
188
- a.back.sel.active span.label,
189
- a.regular.def.active span.label,
190
- a.back.def.active span.label {
191
- background: static_url('images/buttons-sprite.png') repeat-x 0 -66px;
169
+ .sc-theme a.regular.sel.active span.label,
170
+ .sc-theme a.regular.def.active span.label {
171
+ background: static_url('images/sc-theme-sprite.png') repeat-x 0 -197px;
172
+ text-shadow: #b884a4 0px 1px 0px;
192
173
  }
193
174
 
194
175
  /* @end */
195
176
 
196
177
  /* @group active */
197
178
 
198
- a.regular.active,
199
- a.back.active {
200
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -418px;
179
+ .sc-theme a.regular.active {
180
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -427px;
181
+ }
182
+
183
+ .sc-theme a.regular.active span.button-inner {
184
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -381px;
201
185
  }
202
186
 
203
- a.regular.active span.button-inner {
204
- background: static_url('images/buttons-sprite.png') no-repeat 0 -154px;
187
+ .sc-theme a.regular.active span.label {
188
+ background: static_url('images/sc-theme-sprite.png') repeat-x 0 -404px;
189
+ text-shadow: #b8b8b8 0px 1px 0px;
205
190
  }
206
191
 
207
- a.back.active span.button-inner {
208
- background: static_url('images/buttons-sprite.png') no-repeat 0 -286px;
192
+ /* @end */
193
+
194
+ /* @group square theme */
195
+
196
+ .sc-theme .sc-square-theme a.regular,
197
+ .sc-theme .sc-square-theme a.regular.def {
198
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat right -1150px;
199
+ }
200
+
201
+ .sc-theme .sc-square-theme a.regular span.button-inner,
202
+ .sc-theme .sc-square-theme a.regular.def span.button-inner {
203
+ background: static_url('images/sc-theme-sprite.png') no-repeat left -1104px;
204
+ }
205
+
206
+ .sc-theme .sc-square-theme a.regular span.label,
207
+ .sc-theme .sc-square-theme a.regular.def span.label {
208
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x 0px -1127px;
209
+ text-shadow: #dabec6 0px 1px 0px;
209
210
  }
210
211
 
211
- a.regular.active span.label,
212
- a.back.active span.label {
213
- background: static_url('images/buttons-sprite.png') repeat-x 0 -22px;
212
+ .sc-theme .sc-square-theme a.regular.sel,
213
+ .sc-theme .sc-square-theme a.regular.active {
214
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat right -1219px;
215
+ }
216
+
217
+ .sc-theme .sc-square-theme a.regular.sel span.button-inner,
218
+ .sc-theme .sc-square-theme a.regular.active span.button-inner {
219
+ background: static_url('images/sc-theme-sprite.png') no-repeat left -1173px;
220
+ }
221
+
222
+ .sc-theme .sc-square-theme a.regular.sel span.label,
223
+ .sc-theme .sc-square-theme a.regular.active span.label {
224
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x 0px -1196px;
225
+ text-shadow: #b884a4 0px 1px 0px;
226
+ }
227
+
228
+ .sc-theme.blur .sc-square-theme a.regular,
229
+ .sc-theme .sc-square-theme a.regular.disabled {
230
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat right -1288px;
231
+ }
232
+
233
+ .sc-theme.blur .sc-square-theme a.regular span.button-inner,
234
+ .sc-theme .sc-square-theme a.regular.disabled span.button-inner {
235
+ background: static_url('images/sc-theme-sprite.png') no-repeat left -1242px;
236
+ }
237
+
238
+ .sc-theme.blur .sc-square-theme a.regular span.label,
239
+ .sc-theme .sc-square-theme a.regular.disabled span.label {
240
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x 0px -1265px;
241
+ text-shadow: none ;
214
242
  }
215
243
 
216
244
  /* @end */
@@ -220,52 +248,62 @@ a.back.active span.label {
220
248
 
221
249
  /* @group segments */
222
250
 
223
- a.regular.segment.segment-inner,
224
- a.regular.segment.segment-left,
225
- a.regular.segment.segment-right span.button-inner,
226
- a.regular.segment.segment-inner span.button-inner {
251
+ .sc-theme a.regular.segment.segment-inner,
252
+ .sc-theme a.regular.segment.segment-left,
253
+ .sc-theme a.regular.segment.segment-right span.button-inner,
254
+ .sc-theme a.regular.segment.segment-inner span.button-inner {
227
255
  background: none;
228
256
  padding-right: 0;
229
257
  padding-left: 0;
230
258
  }
231
259
 
232
- a.regular.segment.segment-inner,
233
- a.regular.segment.segment-left {
260
+ .sc-theme a.regular.segment.segment-inner,
261
+ .sc-theme a.regular.segment.segment-left {
234
262
  margin-right: 0;
235
263
  }
236
264
 
237
- a.regular.segment.segment-inner,
238
- a.regular.segment.segment-right,
239
- a.regular.segment.segment-inner span.label,
240
- a.regular.segment.segment-right span.label {
265
+ .sc-theme a.regular.segment.segment-inner,
266
+ .sc-theme a.regular.segment.segment-right,
267
+ .sc-theme a.regular.segment.segment-inner span.label,
268
+ .sc-theme a.regular.segment.segment-right span.label {
241
269
  margin-left: 0;
242
270
  }
243
271
 
244
- a.regular.segment.segment-inner span.label,
245
- a.regular.segment.segment-left span.label {
272
+ .sc-theme a.regular.segment.segment-inner span.label,
273
+ .sc-theme a.regular.segment.segment-left span.label {
246
274
  padding-right: 12px;
247
275
  }
248
276
 
249
- a.regular.segment.segment-inner span.label,
250
- a.regular.segment.segment-right span.label {
277
+ .sc-theme a.regular.segment.segment-inner span.label,
278
+ .sc-theme a.regular.segment.segment-right span.label {
251
279
  padding-left: 12px;
252
280
  }
253
281
 
254
- a.regular.segment.segment-left span.label {
282
+ .sc-theme a.regular.segment.segment-left span.label {
255
283
  margin-left: 16px;
256
284
  }
257
285
 
258
- a.regular.segment.segment-right {
286
+ .sc-theme a.regular.segment.segment-right {
259
287
  padding-right: 16px;
260
288
  }
261
289
 
262
- a.regular.segment.segment-right {
263
- padding
290
+ .sc-theme a.regular.segment.segment-inner,
291
+ .sc-theme a.regular.segment.segment-left {
292
+ border-right: 1px #888 solid ;
264
293
  }
265
294
 
266
- a.regular.segment.segment-inner,
267
- a.regular.segment.segment-left {
268
- border-right: 1px #888 solid ;
295
+ .sc-theme .sc-square-theme a.regular.segment.segment-inner,
296
+ .sc-theme .sc-square-theme a.regular.segment.segment-left {
297
+ border-right: 1px solid #625560;
298
+ }
299
+
300
+ .sc-theme .sc-square-theme a.regular.segment.segment-inner.disabled,
301
+ .sc-theme .sc-square-theme a.regular.segment.segment-left.disabled {
302
+ border-right: 1px solid #888;
303
+ }
304
+
305
+ .sc-theme a.segment span.label {
306
+ font-weight: normal;
269
307
  }
270
308
 
271
309
  /* @end */
@@ -274,26 +312,26 @@ a.regular.segment.segment-left {
274
312
 
275
313
  /* @group basic */
276
314
 
277
- a.checkbox {
315
+ .sc-theme a.checkbox {
278
316
  margin-right: 4px;
279
317
  margin-left: 4px;
280
318
  }
281
319
 
282
- a.checkbox img.button {
320
+ .sc-theme a.checkbox img.button {
283
321
  width: 16px;
284
322
  height: 16px;
285
323
  vertical-align: middle ;
286
324
  position: relative ;
287
325
  top: -1px;
288
- background: static_url('images/buttons-sprite.png') no-repeat 0 -708px;
326
+ background: static_url('images/sc-theme-sprite.png') no-repeat -32px -728px;
289
327
  }
290
328
 
291
- a.checkbox.sel img.button {
292
- background: static_url('images/buttons-sprite.png') no-repeat -16px -724px;
329
+ .sc-theme a.checkbox.sel img.button {
330
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0px -728px;
293
331
  }
294
332
 
295
- a.checkbox.mixed img.button {
296
- background: static_url('images/buttons-sprite.png') no-repeat 0 -756px;
333
+ .sc-theme a.checkbox.mixed img.button {
334
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -744px;
297
335
  }
298
336
 
299
337
 
@@ -302,20 +340,20 @@ a.checkbox.mixed img.button {
302
340
 
303
341
  /* @group disabled */
304
342
 
305
- a.checkbox.disabled {
343
+ .sc-theme a.checkbox.disabled {
306
344
  color: #999;
307
345
  }
308
346
 
309
- a.checkbox.disabled img.button {
310
- background: static_url('images/buttons-sprite.png') no-repeat 0 -724px;
347
+ .sc-theme a.checkbox.disabled img.button {
348
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -760px;
311
349
  }
312
350
 
313
- a.checkbox.sel.disabled img.button {
314
- background: static_url('images/buttons-sprite.png') no-repeat -16px -740px;
351
+ .sc-theme a.checkbox.sel.disabled img.button {
352
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0px -760px;
315
353
  }
316
354
 
317
- a.checkbox.mixed.disabled img.button {
318
- background: static_url('images/buttons-sprite.png') no-repeat 0 -772px;
355
+ .sc-theme a.checkbox.mixed.disabled img.button {
356
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -760px;
319
357
  }
320
358
 
321
359
 
@@ -324,16 +362,16 @@ a.checkbox.mixed.disabled img.button {
324
362
 
325
363
  /* @group active */
326
364
 
327
- a.checkbox.active img.button {
328
- background: static_url('images/buttons-sprite.png') no-repeat -16px -708px;
365
+ .sc-theme a.checkbox.active img.button {
366
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0px -744px;
329
367
  }
330
368
 
331
- a.checkbox.sel.active img.button {
332
- background: static_url('images/buttons-sprite.png') no-repeat 0 -740px;
369
+ .sc-theme a.checkbox.sel.active img.button {
370
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -728px;
333
371
  }
334
372
 
335
- a.checkbox.mixed.active img.button {
336
- background: static_url('images/buttons-sprite.png') no-repeat -16px -756px;
373
+ .sc-theme a.checkbox.mixed.active img.button {
374
+ background: static_url('images/sc-theme-sprite.png') no-repeat -32px -744px;
337
375
  }
338
376
 
339
377
 
@@ -346,26 +384,26 @@ a.checkbox.mixed.active img.button {
346
384
 
347
385
  /* @group basic */
348
386
 
349
- a.radio {
387
+ .sc-theme a.radio {
350
388
  margin-right: 4px;
351
389
  margin-left: 4px;
352
390
  }
353
391
 
354
- a.radio img.button {
392
+ .sc-theme a.radio img.button {
355
393
  width: 16px;
356
394
  height: 16px;
357
395
  vertical-align: middle ;
358
396
  position: relative ;
359
397
  top: -1px;
360
- background: static_url('images/buttons-sprite.png') no-repeat -16px -772px;
398
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0px -776px;
361
399
  }
362
400
 
363
- a.radio.sel img.button {
364
- background: static_url('images/buttons-sprite.png') no-repeat 0 -804px;
401
+ .sc-theme a.radio.sel img.button {
402
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -760px;
365
403
  }
366
404
 
367
- a.radio.mixed img.button {
368
- background: static_url('images/buttons-sprite.png') no-repeat -16px -820px;
405
+ .sc-theme a.radio.mixed img.button {
406
+ background: static_url('images/sc-theme-sprite.png') no-repeat -32px -776px;
369
407
  }
370
408
 
371
409
 
@@ -374,20 +412,20 @@ a.radio.mixed img.button {
374
412
 
375
413
  /* @group disabled */
376
414
 
377
- a.radio.disabled {
415
+ .sc-theme a.radio.disabled {
378
416
  color: #999;
379
417
  }
380
418
 
381
- a.radio.disabled img.button {
382
- background: static_url('images/buttons-sprite.png') no-repeat -16px -788px;
419
+ .sc-theme a.radio.disabled img.button {
420
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -792px;
383
421
  }
384
422
 
385
- a.radio.sel.disabled img.button {
386
- background: static_url('images/buttons-sprite.png') no-repeat 0px -820px;
423
+ .sc-theme a.radio.sel.disabled img.button {
424
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -792px;
387
425
  }
388
426
 
389
- a.radio.mixed.disabled img.button {
390
- background: static_url('images/buttons-sprite.png') no-repeat -16px -836px;
427
+ .sc-theme a.radio.mixed.disabled img.button {
428
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -792px;
391
429
  }
392
430
 
393
431
 
@@ -396,16 +434,16 @@ a.radio.mixed.disabled img.button {
396
434
 
397
435
  /* @group active */
398
436
 
399
- a.radio.active img.button {
400
- background: static_url('images/buttons-sprite.png') no-repeat 0px -788px;
437
+ .sc-theme a.radio.active img.button {
438
+ background: static_url('images/sc-theme-sprite.png') no-repeat -16px -776px;
401
439
  }
402
440
 
403
- a.radio.sel.active img.button {
404
- background: static_url('images/buttons-sprite.png') no-repeat -16px -804px;
441
+ .sc-theme a.radio.sel.active img.button {
442
+ background: static_url('images/sc-theme-sprite.png') no-repeat -32px -760px;
405
443
  }
406
444
 
407
- a.radio.mixed.active img.button {
408
- background: static_url('images/buttons-sprite.png') no-repeat 0px -836px;
445
+ .sc-theme a.radio.mixed.active img.button {
446
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0px -792px;
409
447
  }
410
448
 
411
449
 
@@ -413,76 +451,71 @@ a.radio.mixed.active img.button {
413
451
 
414
452
  /* @end */
415
453
 
416
- /* @group square - back */
454
+ /* @group square */
417
455
 
418
456
  /* @group basic */
419
457
 
420
- a.square {
458
+ .sc-theme a.square {
421
459
  display: -moz-inline-box;
422
460
  display: inline-block;
423
461
  font-size: 13px;
424
- height: 22px;
462
+ height: 23px;
425
463
  text-align: center;
426
- margin: 0;
464
+ margin-left: 2px;
465
+ margin-right: 2px ;
466
+ background: static_url('images/sc-theme-sprite.png') no-repeat left -1104px;
467
+ padding-left: 8px;
427
468
  }
428
469
 
429
- a.square span.button-inner {
470
+ .sc-theme a.square span.button-inner {
430
471
  display: block ;
431
- padding: 0;
472
+ padding-right: 8px;
473
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x right -1150px;
474
+ margin-right: -2px;
432
475
  }
433
476
 
434
- a.square span.label {
435
- background: transparent static_url('images/buttons-sprite.png') repeat-x left top;
477
+ .sc-theme a.square span.label {
478
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat 0px -1127px;
436
479
  display: block ;
437
- font-weight: bold;
438
480
  text-align: center;
439
481
  padding-top: 3px;
440
482
  height: 19px;
441
- padding-left: 8px;
442
- padding-right: 8px;
443
- border-left: 1px #888 solid ;
444
- border-right: 1px #888 solid ;
445
483
  }
446
484
 
447
485
  /* @end */
448
486
 
449
487
  /* @group sel - def */
450
488
 
451
- a.square.sel span.label,
452
- a.square.def span.label {
453
- background: static_url('images/buttons-sprite.png') repeat-x 0 -44px;
489
+ .sc-theme a.square.sel,
490
+ .sc-theme a.square.active {
491
+ background: static_url('images/sc-theme-sprite.png') repeat-x left -1173px;
454
492
  }
455
493
 
456
- /* @end */
457
-
458
- /* @group disabled */
459
-
460
- a.square.disabled span.label {
461
- background: static_url('images/buttons-sprite.png') repeat-x 0 -88px;
462
- color: #999;
494
+ .sc-theme a.square.sel span.button-inner,
495
+ .sc-theme a.square.active span.button-inner {
496
+ background: static_url('images/sc-theme-sprite.png') repeat-x right -1219px;
463
497
  }
464
498
 
465
- a.square.def.disabled span.label,
466
- a.square.sel.disabled span.label {
467
- background: static_url('images/buttons-sprite.png') repeat-x 0 -110px;
468
- color: #999;
499
+ .sc-theme a.square.sel span.label,
500
+ .sc-theme a.square.active span.label {
501
+ background: static_url('images/sc-theme-sprite.png') repeat-x right -1196px;
469
502
  }
470
503
 
471
504
  /* @end */
472
505
 
473
- /* @group sel.active - def.active */
506
+ /* @group disabled */
474
507
 
475
- a.square.sel.active span.label,
476
- a.square.def.active span.label {
477
- background: static_url('images/buttons-sprite.png') repeat-x 0 -66px;
508
+ .sc-theme a.square.disabled {
509
+ background: static_url('images/sc-theme-sprite.png') repeat-x left -1242px;
510
+ color: #999;
478
511
  }
479
512
 
480
- /* @end */
481
-
482
- /* @group active */
513
+ .sc-theme a.square.disabled span.button-inner {
514
+ background: static_url('images/sc-theme-sprite.png') repeat-x right -1288px;
515
+ }
483
516
 
484
- a.square.active span.label {
485
- background: static_url('images/buttons-sprite.png') repeat-x 0 -22px;
517
+ .sc-theme a.square.disabled span.label {
518
+ background: static_url('images/sc-theme-sprite.png') repeat-x right -1265px;
486
519
  }
487
520
 
488
521
  /* @end */
@@ -494,8 +527,8 @@ a.square.active span.label {
494
527
 
495
528
  /* @group basic */
496
529
 
497
- a.popup,
498
- a.dropdown {
530
+ .sc-theme a.popup,
531
+ .sc-theme a.dropdown {
499
532
  display: -moz-inline-box;
500
533
  display: inline-block;
501
534
  font-size: 13px;
@@ -507,27 +540,27 @@ a.dropdown {
507
540
  margin-right: 2px ;
508
541
  }
509
542
 
510
- a.dropdown {
511
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -528px;
543
+ .sc-theme a.dropdown {
544
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -565px;
512
545
  }
513
546
 
514
- a.popup {
515
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -594px;
547
+ .sc-theme a.popup {
548
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -565px;
516
549
  }
517
550
 
518
551
 
519
- a.dropdown span.button-inner,
520
- a.popup span.button-inner {
521
- background: static_url('images/buttons-sprite.png') no-repeat 0 -132px;
552
+ .sc-theme a.dropdown span.button-inner,
553
+ .sc-theme a.popup span.button-inner {
554
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -519px;
522
555
  display: block ;
523
556
  height: 22px;
524
557
  }
525
558
 
526
- a.dropdown span.label,
527
- a.popup span.label {
528
- background: transparent static_url('images/buttons-sprite.png') repeat-x left top;
559
+ .sc-theme a.dropdown span.label,
560
+ .sc-theme a.popup span.label {
561
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x 0px -542px;
529
562
  display: block ;
530
- font-weight: bold;
563
+ font-weight: normal;
531
564
  text-align: left;
532
565
  padding-top: 3px;
533
566
  height: 19px;
@@ -540,44 +573,50 @@ a.popup span.label {
540
573
 
541
574
  /* @group active */
542
575
 
543
- a.dropdown.active {
544
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -550px;
576
+ .sc-theme a.dropdown.active {
577
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -634px;
545
578
  }
546
579
 
547
- a.popup.active {
548
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -616px;
580
+ .sc-theme a.popup.active {
581
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -634px;
549
582
  }
550
583
 
551
- a.dropdown.active span.button-inner,
552
- a.popup.active span.button-inner {
553
- background: static_url('images/buttons-sprite.png') no-repeat 0 -154px;
584
+ .sc-theme a.dropdown.active span.button-inner,
585
+ .sc-theme a.popup.active span.button-inner {
586
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -588px;
554
587
  }
555
588
 
556
- a.dropdown.active span.label,
557
- a.popup.active span.label {
558
- background: transparent static_url('images/buttons-sprite.png') repeat-x left -22px;
589
+ .sc-theme a.dropdown.active span.label,
590
+ .sc-theme a.popup.active span.label {
591
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x left -611px;
559
592
  }
560
593
 
561
594
  /* @end */
562
595
 
563
596
  /* @group disabled */
564
597
 
565
- a.dropdown.disabled {
566
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -572px;
598
+ .sc-theme a.dropdown.disabled,
599
+ .sc-theme.blur a.dropdown {
600
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -703px;
567
601
  }
568
602
 
569
- a.popup.disabled {
570
- background: transparent static_url('images/buttons-sprite.png') no-repeat scroll right -638px;
603
+ .sc-theme.blur a.popup,
604
+ .sc-theme a.popup.disabled {
605
+ background: transparent static_url('images/sc-theme-sprite.png') no-repeat scroll right -703px;
571
606
  }
572
607
 
573
- a.dropdown.disabled span.button-inner,
574
- a.popup.disabled span.button-inner {
575
- background: static_url('images/buttons-sprite.png') no-repeat 0 -220px;
608
+ .sc-theme.blur a.dropdown span.button-inner,
609
+ .sc-theme.blur a.popup span.button-inner,
610
+ .sc-theme a.dropdown.disabled span.button-inner,
611
+ .sc-theme a.popup.disabled span.button-inner {
612
+ background: static_url('images/sc-theme-sprite.png') no-repeat 0 -657px;
576
613
  }
577
614
 
578
- a.dropdown.disabled span.label,
579
- a.popup.disabled span.label {
580
- background: transparent static_url('images/buttons-sprite.png') repeat-x left -88px;
615
+ .sc-theme.blur a.dropdown span.label,
616
+ .sc-theme.blur a.popup span.label,
617
+ .sc-theme a.dropdown.disabled span.label,
618
+ .sc-theme a.popup.disabled span.label {
619
+ background: transparent static_url('images/sc-theme-sprite.png') repeat-x left -680px;
581
620
  color: #999;
582
621
  }
583
622
 
@@ -585,5 +624,67 @@ a.popup.disabled span.label {
585
624
 
586
625
  /* @end */
587
626
 
627
+ /* @group disclosure */
628
+
629
+ /* @group basic */
630
+
631
+ .sc-theme a.disclosure {
632
+ margin-right: 4px;
633
+ margin-left: 4px;
634
+ }
635
+
636
+ .sc-theme a.disclosure img.button {
637
+ width: 12px;
638
+ height: 12px;
639
+ vertical-align: middle ;
640
+ position: relative ;
641
+ top: -2px;
642
+ background-image: static_url('images/sc-theme-sprite.png') ;
643
+ }
644
+
645
+ .sc-theme a.disclosure .label {
646
+ padding-left: 2px;
647
+ }
648
+
649
+ .sc-theme a.disclosure.sel img.button {
650
+ background-position: 0px -1008px ;
651
+ }
652
+
653
+ .sc-theme a.disclosure img.button {
654
+ background-position: -16px -1025px ;
655
+ }
656
+
657
+
658
+
659
+ /* @end */
660
+
661
+ /* @group disabled */
662
+
663
+ .sc-theme a.disclosure.sel.disabled img.button {
664
+ background-position: 0px -1024px ;
665
+ }
666
+
667
+ .sc-theme a.disclosure.disabled img.button {
668
+ background-position: -16px -1041px ;
669
+ }
670
+
671
+ /* @end */
672
+
673
+ /* @group active */
674
+
675
+ .sc-theme a.disclosure.sel.active img.button {
676
+ background-position: -16px -1008px ;
677
+ }
678
+
679
+ .sc-theme a.disclosure.active img.button {
680
+ background-position: -0px -1041px ;
681
+ }
682
+
683
+ /* @end */
684
+
685
+
686
+
687
+ /* @end */
688
+
588
689
 
589
690