sproutcore 1.10.0.rc.3 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/VERSION.yml +1 -1
- data/lib/buildtasks/manifest.rake +3 -2
- data/lib/frameworks/sproutcore/Buildfile +3 -1
- data/lib/frameworks/sproutcore/CHANGELOG.md +26 -2
- data/lib/frameworks/sproutcore/apps/showcase/resources/main_page.js +3 -0
- data/lib/frameworks/sproutcore/apps/showcase/views/views_item_view.js +1 -1
- data/lib/frameworks/sproutcore/apps/welcome/english.lproj/main_page.js +3 -0
- data/lib/frameworks/sproutcore/frameworks/bootstrap/system/browser.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/bootstrap/tests/system/browser.js +9 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane_statechart.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/browser.js +6 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +17 -55
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/animation.js +57 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/isVisible.js +24 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/view_states_test.js +31 -13
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +8 -5
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/animation.js +24 -20
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/layout.js +39 -29
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/statechart.js +400 -242
- data/lib/frameworks/sproutcore/frameworks/datastore/models/record.js +37 -32
- data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +1 -8
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/modal.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/panel.js +4 -5
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/panes/panel/ui.js +53 -6
- data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +9 -3
- data/lib/frameworks/sproutcore/frameworks/desktop/views/grid.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/views/scroll.js +16 -12
- data/lib/frameworks/sproutcore/frameworks/desktop/views/scroller.js +16 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +10 -8
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/mixins/auto_resize_test.js +102 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/tests/validators/password.js +15 -7
- data/lib/frameworks/sproutcore/frameworks/runtime/system/run_loop.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +4 -0
- data/lib/frameworks/sproutcore/phantomjs/minimist.js +181 -0
- data/lib/frameworks/sproutcore/phantomjs/q.js +1937 -0
- data/lib/frameworks/sproutcore/phantomjs/test_runner.js +733 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/44px/button.css +2 -2
- data/lib/frameworks/sproutcore/themes/ace/resources/button/ace/button.css +11 -11
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/button.css +5 -5
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/jumbo/button.css +3 -3
- data/lib/frameworks/sproutcore/themes/ace/resources/button/dark/small/button.css +3 -3
- data/lib/frameworks/sproutcore/themes/ace/resources/button/popup/select.css +1 -1
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/checkbox.css +3 -3
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/source-list/source_list_view.css +4 -4
- data/lib/frameworks/sproutcore/themes/ace/resources/disclosure/ace/disclosure.css +6 -6
- data/lib/frameworks/sproutcore/themes/ace/resources/imagebutton/ace/imagebutton.css +5 -5
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu.css +16 -16
- data/lib/frameworks/sproutcore/themes/ace/resources/picker/popover/popover.css +42 -42
- data/lib/frameworks/sproutcore/themes/ace/resources/progress/ace/progress.css +19 -19
- data/lib/frameworks/sproutcore/themes/ace/resources/radio/radio.css +12 -12
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/horizontal.css +7 -7
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/horizontal/horizontal_touch.css +18 -18
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/vertical.css +8 -8
- data/lib/frameworks/sproutcore/themes/ace/resources/scroller/vertical/vertical_touch.css +16 -16
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/44px/segmented.css +2 -2
- data/lib/frameworks/sproutcore/themes/ace/resources/segmented/segmented.css +13 -13
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/14px/slider.css +11 -11
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/16px/slider.css +11 -11
- data/lib/frameworks/sproutcore/themes/ace/resources/slider/ace/22px/slider.css +11 -11
- data/lib/frameworks/sproutcore/themes/ace/resources/split/split.css +6 -6
- data/lib/frameworks/sproutcore/themes/ace/resources/toolbar/toolbar.css +2 -2
- data/lib/frameworks/sproutcore/themes/iphone_theme/english.lproj/button.css +3 -3
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/button.css +18 -18
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/checkbox.css +7 -7
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/collection.css +2 -2
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/core.css +7 -7
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/disclosure.css +3 -3
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/list_item.css +4 -4
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/menu.css +3 -3
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/menu_item_view.css +5 -5
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/panel.css +7 -7
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/picker.css +3 -3
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/progress.css +5 -5
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/radio.css +4 -4
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/scroller.css +3 -3
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/segmented.css +7 -7
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/slider.css +2 -2
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/split_view.css +2 -2
- data/lib/frameworks/sproutcore/themes/legacy_theme/english.lproj/toolbar.css +3 -3
- data/lib/sproutcore/tools/server.rb +9 -3
- metadata +8 -83
- data/lib/frameworks/sproutcore/design/Assorted Images/sproutcore-startup-landscape.jpg +0 -0
- data/lib/frameworks/sproutcore/design/Assorted Images/sproutcore-startup-landscape.png +0 -0
- data/lib/frameworks/sproutcore/design/Assorted Images/sproutcore-startup-portrait.jpg +0 -0
- data/lib/frameworks/sproutcore/design/Assorted Images/sproutcore-startup-portrait.png +0 -0
- data/lib/frameworks/sproutcore/design/Assorted Images/sproutcore-startup.png +0 -0
- data/lib/frameworks/sproutcore/design/Record State Table.numbers +0 -0
- data/lib/frameworks/sproutcore/design/greenhouse-statechart.pdf +0 -0
- data/lib/frameworks/sproutcore/tests/phantomjs_runner.phantomjs +0 -611
- data/lib/frameworks/sproutcore/themes/ace/designs/dark.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/light.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/panel/PanelPane.opacity +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/psds/panel/Pointers.opacity +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_handle.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_off.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/designs/switch/switch_on.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/10.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/100.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/102.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/110.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/120.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/127.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/18.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/19.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/2.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/24.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/26.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/27.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/28.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/29.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/30.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/31.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/33.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/37.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/41.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/16/99.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/10.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/100.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/102.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/110.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/120.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/127.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/18.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/19.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/2.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/24.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/26.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/27.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/28.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/29.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/30.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/31.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/33.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/37.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/41.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/24/99.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/10.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/100.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/102.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/110.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/120.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/127.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/18.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/19.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/2.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/24.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/26.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/27.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/28.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/29.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/30.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/31.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/33.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/37.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/41.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/32/99.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/48/10.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/48/18.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/48/19.png +0 -0
- data/lib/frameworks/sproutcore/themes/legacy_theme/Source/icons/48/2.png +0 -0
@@ -12,40 +12,40 @@ $theme.sc-segmented-view {
|
|
12
12
|
}
|
13
13
|
|
14
14
|
$theme.sc-segment-view {
|
15
|
-
margin:
|
15
|
+
margin: 0;
|
16
16
|
background: none;
|
17
|
-
border:
|
17
|
+
border: 0 none;
|
18
18
|
color: #555;
|
19
|
-
text-shadow:
|
19
|
+
text-shadow: 0 1px 1px white;
|
20
20
|
display:inline-block;
|
21
21
|
zoom: 1;
|
22
22
|
overflow:hidden;
|
23
23
|
position: relative;
|
24
|
-
padding:
|
24
|
+
padding: 0;
|
25
25
|
|
26
26
|
.ie7 & {
|
27
27
|
display: inline;
|
28
28
|
}
|
29
29
|
|
30
30
|
/* The base style has a gray background added to the first and last segments. */
|
31
|
-
&.sc-first-segment { background: none; margin:
|
32
|
-
&.sc-last-segment { background: none; margin:
|
31
|
+
&.sc-first-segment { background: none; margin: 0; padding: 0;}
|
32
|
+
&.sc-last-segment { background: none; margin: 0; padding: 0; }
|
33
33
|
|
34
34
|
.left {
|
35
35
|
position: absolute;
|
36
|
-
left:
|
36
|
+
left: 0;
|
37
37
|
zoom: 1;
|
38
38
|
}
|
39
39
|
|
40
40
|
.right {
|
41
41
|
position: absolute;
|
42
|
-
right:
|
42
|
+
right: 0;
|
43
43
|
zoom: 1;
|
44
44
|
}
|
45
45
|
|
46
46
|
.middle {
|
47
|
-
margin:
|
48
|
-
padding:
|
47
|
+
margin: 0;
|
48
|
+
padding: 0;
|
49
49
|
padding-top:1px;
|
50
50
|
vertical-align:top;
|
51
51
|
zoom: 1;
|
@@ -58,7 +58,7 @@ $theme.sc-segment-view {
|
|
58
58
|
|
59
59
|
&.active {
|
60
60
|
color: #333;
|
61
|
-
text-shadow:
|
61
|
+
text-shadow: 0 1px 1px white;
|
62
62
|
}
|
63
63
|
|
64
64
|
&.disabled {
|
@@ -72,13 +72,13 @@ $theme.sc-segment-view {
|
|
72
72
|
&.sel {
|
73
73
|
background:none;
|
74
74
|
color: #fff;
|
75
|
-
text-shadow:
|
75
|
+
text-shadow: 0 -1px 1px rgba(0,0,0,.5);
|
76
76
|
}
|
77
77
|
|
78
78
|
&.sel.active {
|
79
79
|
background:none;
|
80
80
|
color: #fff;
|
81
|
-
text-shadow:
|
81
|
+
text-shadow: 0 -1px 1px rgba(0,0,0,.5);
|
82
82
|
}
|
83
83
|
|
84
84
|
}
|
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
$theme.slider {
|
4
4
|
overflow: visible;
|
5
|
-
|
6
|
-
.track {
|
5
|
+
|
6
|
+
.track {
|
7
7
|
position: absolute;
|
8
|
-
top: 50%; height: 5px; left:
|
8
|
+
top: 50%; height: 5px; left: 0; right: 0;
|
9
9
|
margin-top: -2px;
|
10
|
-
|
11
|
-
@include slices("../track.png", $left: 3, $right: 3);
|
10
|
+
|
11
|
+
@include slices("../track.png", $left: 3, $right: 3);
|
12
12
|
}
|
13
|
-
|
14
|
-
.sc-handle {
|
13
|
+
|
14
|
+
.sc-handle {
|
15
15
|
display: block; position: absolute;
|
16
16
|
width: 14px; height: 16px; top: 50%; margin-top: -7px;
|
17
17
|
|
18
|
-
@include slice("knob.png");
|
18
|
+
@include slice("knob.png");
|
19
19
|
}
|
20
|
-
|
20
|
+
|
21
21
|
&.active {
|
22
22
|
.sc-handle { @include slice("knob_active.png"); }
|
23
23
|
}
|
24
|
-
|
24
|
+
|
25
25
|
}
|
26
26
|
|
27
|
-
}
|
27
|
+
}
|
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
$theme.slider {
|
4
4
|
overflow: visible;
|
5
|
-
|
6
|
-
.track {
|
5
|
+
|
6
|
+
.track {
|
7
7
|
position: absolute;
|
8
|
-
top: 50%; height: 5px; left:
|
8
|
+
top: 50%; height: 5px; left: 0; right: 0;
|
9
9
|
margin-top: -2px;
|
10
|
-
|
11
|
-
@include slices("../track.png", $left: 3, $right: 3);
|
10
|
+
|
11
|
+
@include slices("../track.png", $left: 3, $right: 3);
|
12
12
|
}
|
13
|
-
|
14
|
-
.sc-handle {
|
13
|
+
|
14
|
+
.sc-handle {
|
15
15
|
display: block; position: absolute;
|
16
16
|
width: 16px; height: 18px; top: 50%; margin-top: -8px;
|
17
17
|
|
18
|
-
@include slice("knob.png");
|
18
|
+
@include slice("knob.png");
|
19
19
|
}
|
20
|
-
|
20
|
+
|
21
21
|
&.active {
|
22
22
|
.sc-handle { @include slice("knob_active.png"); }
|
23
23
|
}
|
24
|
-
|
24
|
+
|
25
25
|
}
|
26
26
|
|
27
|
-
}
|
27
|
+
}
|
@@ -2,26 +2,26 @@
|
|
2
2
|
|
3
3
|
$theme.slider {
|
4
4
|
overflow: visible;
|
5
|
-
|
6
|
-
.track {
|
5
|
+
|
6
|
+
.track {
|
7
7
|
position: absolute;
|
8
|
-
top: 50%; height: 5px; left:
|
8
|
+
top: 50%; height: 5px; left: 0; right: 0;
|
9
9
|
margin-top: -3px;
|
10
|
-
|
11
|
-
@include slices("track.png", $left: 3, $right: 3);
|
10
|
+
|
11
|
+
@include slices("track.png", $left: 3, $right: 3);
|
12
12
|
}
|
13
|
-
|
14
|
-
.sc-handle {
|
13
|
+
|
14
|
+
.sc-handle {
|
15
15
|
display: block; position: absolute;
|
16
16
|
width: 22px; height: 24px; top: 50%; margin-top: -11px;
|
17
17
|
|
18
|
-
@include slice("knob.png");
|
18
|
+
@include slice("knob.png");
|
19
19
|
}
|
20
|
-
|
20
|
+
|
21
21
|
&.active {
|
22
22
|
.sc-handle { @include slice("knob_active.png"); }
|
23
23
|
}
|
24
|
-
|
24
|
+
|
25
25
|
}
|
26
26
|
|
27
|
-
}
|
27
|
+
}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
/* TODO: when new SplitView lands, do this proper (\$theme.split-divider) */
|
2
2
|
$theme.split-divider {
|
3
3
|
background: transparent;
|
4
|
-
border:
|
4
|
+
border: 0 none;
|
5
5
|
z-index: 1;
|
6
6
|
|
7
7
|
.line {
|
8
8
|
background: #333;
|
9
|
-
border:
|
9
|
+
border: 0 none;
|
10
10
|
position: absolute;
|
11
11
|
}
|
12
12
|
|
@@ -15,8 +15,8 @@ $theme.split-divider {
|
|
15
15
|
.line {
|
16
16
|
left: 5px;
|
17
17
|
width: 1px;
|
18
|
-
top:
|
19
|
-
bottom:
|
18
|
+
top: 0;
|
19
|
+
bottom: 0;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
@@ -24,8 +24,8 @@ $theme.split-divider {
|
|
24
24
|
.line {
|
25
25
|
top: 5px;
|
26
26
|
height: 1px;
|
27
|
-
left:
|
28
|
-
right:
|
27
|
+
left: 0;
|
28
|
+
right: 0;
|
29
29
|
}
|
30
30
|
}
|
31
31
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@import "compass/css3";
|
2
2
|
|
3
3
|
$theme.toolbar {
|
4
|
-
@include box-shadow(rgba(0,0,0,0.3)
|
4
|
+
@include box-shadow(rgba(0,0,0,0.3) 0 0 2px);
|
5
5
|
@include slice(toolbar.png, $width: 1, $repeat: repeat-x);
|
6
6
|
border-color: #999;
|
7
7
|
border-style: solid;
|
8
8
|
color: #505050;
|
9
|
-
text-shadow:
|
9
|
+
text-shadow: 0 1px 1px white;
|
10
10
|
}
|
@@ -11,9 +11,9 @@
|
|
11
11
|
border: none;
|
12
12
|
background-color: inherit;
|
13
13
|
margin: 3px auto;
|
14
|
-
border-width:
|
14
|
+
border-width: 0 14px 0 14px;
|
15
15
|
color: #000;
|
16
|
-
text-shadow: #fff
|
16
|
+
text-shadow: #fff 0 1px 1px;
|
17
17
|
|
18
18
|
-webkit-border-image: sc_static('images/whiteButton.png') 0 14 0 14;
|
19
19
|
text-decoration: none;
|
@@ -37,5 +37,5 @@
|
|
37
37
|
.sc-view.sc-button-view.active {
|
38
38
|
-webkit-border-image: sc_static('images/blueButton.png') 0 14 0 14;
|
39
39
|
color: #fff;
|
40
|
-
text-shadow: #000
|
40
|
+
text-shadow: #000 0 1px 1px;
|
41
41
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
/* @group Core */
|
25
25
|
|
26
26
|
.sc-theme .sc-button-view.sc-regular-size.square {
|
27
|
-
text-shadow: #fff
|
27
|
+
text-shadow: #fff 0 1px 0;
|
28
28
|
color: black ;
|
29
29
|
}
|
30
30
|
|
@@ -35,11 +35,11 @@
|
|
35
35
|
.sc-theme .sc-button-view.sc-regular-size.square .sc-button-label {
|
36
36
|
display: block ;
|
37
37
|
text-align: center;
|
38
|
-
padding:
|
38
|
+
padding: 0 0 7px 0;
|
39
39
|
}
|
40
40
|
|
41
41
|
.sc-theme .sc-button-view.sc-regular-size.square.active .sc-button-label {
|
42
|
-
text-shadow: black
|
42
|
+
text-shadow: black 0 -1px 0;
|
43
43
|
color: white;
|
44
44
|
}
|
45
45
|
|
@@ -51,7 +51,7 @@
|
|
51
51
|
.sc-theme .sc-button-view.sc-regular-size.square.def .sc-button-label,
|
52
52
|
.sc-theme .sc-button-view.sc-regular-size.square.sel .sc-button-label {
|
53
53
|
color: white;
|
54
|
-
text-shadow: #2a569e
|
54
|
+
text-shadow: #2a569e 0 -1px 0;
|
55
55
|
}
|
56
56
|
|
57
57
|
.sc-theme .sc-button-view.sc-regular-size.square.def.disabled .sc-button-label,
|
@@ -80,9 +80,9 @@
|
|
80
80
|
|
81
81
|
.sc-theme .sc-button-view.sc-regular-size.square .sc-button-label {
|
82
82
|
height: 18px;
|
83
|
-
line-height: 24px;
|
83
|
+
line-height: 24px;
|
84
84
|
margin-left: 11px;
|
85
|
-
margin-right: 11px;
|
85
|
+
margin-right: 11px;
|
86
86
|
background: static_url('images/sc-theme-repeat-x.png') repeat-x -15px -764px;
|
87
87
|
}
|
88
88
|
|
@@ -193,7 +193,7 @@
|
|
193
193
|
font-size: 12px;
|
194
194
|
height: 24px;
|
195
195
|
max-height: 24px;
|
196
|
-
text-shadow: #fff
|
196
|
+
text-shadow: #fff 0 1px 0;
|
197
197
|
text-align: center;
|
198
198
|
background: transparent static_url('images/sc-theme-repeat-x.png') no-repeat right -224px;
|
199
199
|
color: black ;
|
@@ -211,11 +211,11 @@
|
|
211
211
|
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x left -764px;
|
212
212
|
display: block ;
|
213
213
|
text-align: center;
|
214
|
-
padding:
|
214
|
+
padding: 0 0 7px 0;
|
215
215
|
height: 24px;
|
216
216
|
margin-left: 12px;
|
217
|
-
margin-right: 12px;
|
218
|
-
line-height: 24px;
|
217
|
+
margin-right: 12px;
|
218
|
+
line-height: 24px;
|
219
219
|
text-shadow: none;
|
220
220
|
}
|
221
221
|
|
@@ -237,7 +237,7 @@
|
|
237
237
|
.sc-theme .sc-button-view.capsule.def .sc-button-label {
|
238
238
|
background: static_url('images/sc-theme-repeat-x.png') repeat-x 0 -1140px;
|
239
239
|
color: white;
|
240
|
-
text-shadow: #2a569e
|
240
|
+
text-shadow: #2a569e 0 -1px 0;
|
241
241
|
}
|
242
242
|
|
243
243
|
/* @end */
|
@@ -332,9 +332,9 @@
|
|
332
332
|
|
333
333
|
.sc-theme .sc-button-view.focus div.focus-ring {
|
334
334
|
visibility: visible;
|
335
|
-
right:
|
336
|
-
top:
|
337
|
-
left:
|
335
|
+
right: 0;
|
336
|
+
top: 0;
|
337
|
+
left: 0;
|
338
338
|
bottom:0px;
|
339
339
|
position: absolute;
|
340
340
|
}
|
@@ -350,7 +350,7 @@
|
|
350
350
|
.sc-theme .sc-button-view.popup.focus .focus-ring .focus-left {
|
351
351
|
left: -2px;
|
352
352
|
width: 10px;
|
353
|
-
background: transparent static_url('images/sc-theme-repeat-x.png') no-repeat
|
353
|
+
background: transparent static_url('images/sc-theme-repeat-x.png') no-repeat 0 -1685px;
|
354
354
|
}
|
355
355
|
|
356
356
|
.sc-theme .sc-button-view.square.focus .focus-ring .focus-right,
|
@@ -366,7 +366,7 @@
|
|
366
366
|
.sc-theme .sc-button-view.popup.focus .focus-ring .focus-middle {
|
367
367
|
left: 7px;
|
368
368
|
right: 7px;
|
369
|
-
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x
|
369
|
+
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x 0 -1749px;
|
370
370
|
}
|
371
371
|
|
372
372
|
|
@@ -375,7 +375,7 @@
|
|
375
375
|
.sc-theme .sc-button-view.capsule div.focus-ring .focus-left {
|
376
376
|
left: -3px;
|
377
377
|
width: 16px;
|
378
|
-
background: transparent static_url('images/sc-theme-repeat-x.png') no-repeat
|
378
|
+
background: transparent static_url('images/sc-theme-repeat-x.png') no-repeat 0 -1783px;
|
379
379
|
}
|
380
380
|
|
381
381
|
.sc-theme .sc-button-view.capsule div.focus-ring .focus-right {
|
@@ -387,7 +387,7 @@
|
|
387
387
|
.sc-theme .sc-button-view.capsule div.focus-ring .focus-middle {
|
388
388
|
left: 13px;
|
389
389
|
right: 13px;
|
390
|
-
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x
|
390
|
+
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x 0 -1847px;
|
391
391
|
}
|
392
392
|
|
393
393
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
bottom: 0;
|
14
14
|
line-height: 18px;
|
15
15
|
}
|
16
|
-
|
16
|
+
|
17
17
|
.sc-theme .sc-checkbox-view.icon img.icon {
|
18
18
|
position: relative;
|
19
19
|
vertical-align: middle;
|
@@ -38,8 +38,8 @@
|
|
38
38
|
height: 16px;
|
39
39
|
position: absolute ;
|
40
40
|
line-height: 16px;
|
41
|
-
left: 1px;
|
42
|
-
top:
|
41
|
+
left: 1px;
|
42
|
+
top: 0;
|
43
43
|
}
|
44
44
|
|
45
45
|
.sc-theme .sc-checkbox-view.sel span.button {
|
@@ -47,15 +47,15 @@
|
|
47
47
|
}
|
48
48
|
|
49
49
|
.sc-theme .sc-checkbox-view.mixed span.button {
|
50
|
-
background: static_url('images/sc-theme-repeat-x.png') no-repeat
|
50
|
+
background: static_url('images/sc-theme-repeat-x.png') no-repeat 0 -468px;
|
51
51
|
}
|
52
52
|
|
53
53
|
.sc-theme .sc-checkbox-view.disabled span.button {
|
54
54
|
background: static_url('images/sc-theme-repeat-x.png') no-repeat -27px -411px;
|
55
|
-
}
|
55
|
+
}
|
56
56
|
|
57
57
|
.sc-theme .sc-checkbox-view.sel.disabled span.button {
|
58
|
-
background: static_url('images/sc-theme-repeat-x.png') no-repeat
|
58
|
+
background: static_url('images/sc-theme-repeat-x.png') no-repeat 0 -495px;
|
59
59
|
}
|
60
60
|
|
61
61
|
.sc-theme .sc-checkbox-view.mixed.disabled span.button {
|
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
.sc-checkbox-view.active span.button {
|
66
66
|
background: static_url('images/sc-theme-repeat-x.png') no-repeat -16px -441px;
|
67
|
-
}
|
67
|
+
}
|
68
68
|
|
69
69
|
.sc-theme .sc-checkbox-view.sel.active span.button {
|
70
70
|
background: static_url('images/sc-theme-repeat-x.png') no-repeat -16px -495px;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* @override
|
1
|
+
/* @override
|
2
2
|
http://localhost:4020/static/sproutcore/standard_theme/en/current/source/collection.css?1243536580
|
3
3
|
http://localhost:4020/static/sproutcore/standard_theme/en/current/source/collection.css?1243569705
|
4
4
|
*/
|
@@ -80,7 +80,7 @@
|
|
80
80
|
}
|
81
81
|
|
82
82
|
.sc-theme.focus .sc-list-view.sc-source-list .sc-collection-item.sel {
|
83
|
-
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x
|
83
|
+
background: transparent static_url('images/sc-theme-repeat-x.png') repeat-x 0 -16px;
|
84
84
|
color: white ;
|
85
85
|
border-top: 1px solid #1f4f9b;
|
86
86
|
border-bottom: 1px solid #1f4f9b;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/*
|
2
|
-
This is the main SproutCore theme. If you would prefer not to use this
|
1
|
+
/*
|
2
|
+
This is the main SproutCore theme. If you would prefer not to use this
|
3
3
|
theme, just set the theme option in your sc-config to another theme name.
|
4
4
|
*/
|
5
5
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
body.sc-theme {
|
8
8
|
font: 12px/18px "Lucida Grande", "Lucida Sans", Verdana, Arial, sans-serif;
|
9
9
|
background-color: #57647f ;
|
10
|
-
padding:
|
10
|
+
padding: 0;
|
11
11
|
}
|
12
12
|
|
13
13
|
|
@@ -25,19 +25,19 @@ body.sc-theme .sc-view.sc-bezel-border {
|
|
25
25
|
}
|
26
26
|
|
27
27
|
body.sc-theme .sc-view.sc-black-border {
|
28
|
-
border: 1px black solid;
|
28
|
+
border: 1px black solid;
|
29
29
|
}
|
30
30
|
|
31
31
|
body.sc-theme .sc-view.sc-gray-border {
|
32
|
-
border: 1px #888 solid;
|
32
|
+
border: 1px #888 solid;
|
33
33
|
}
|
34
34
|
|
35
35
|
body.sc-theme .sc-view.sc-bottom-border {
|
36
|
-
border-bottom: 1px #888 solid;
|
36
|
+
border-bottom: 1px #888 solid;
|
37
37
|
}
|
38
38
|
|
39
39
|
body.sc-theme .sc-view.sc-top-border {
|
40
|
-
border-top: 1px #888 solid;
|
40
|
+
border-top: 1px #888 solid;
|
41
41
|
}
|
42
42
|
|
43
43
|
/* @end */
|