coherent 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app_generators/coherent/templates/distil.yml.erb +21 -25
- data/app_generators/coherent/templates/src/css/@name@.css.erb +26 -26
- data/app_generators/coherent/templates/src/pages/index.html.erb +1 -4
- data/coherent.gemspec +1 -1
- data/demo_generators/gallery/templates/distil.yml.erb +21 -25
- data/demo_generators/gallery/templates/src/css/@name@.css.erb +26 -26
- data/demo_generators/gallery/templates/src/nibs/@name@/@name@.css +3 -3
- data/demo_generators/gallery/templates/src/pages/index.html.erb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
@@ -16,31 +16,27 @@ external projects:
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
# A JSNIB package is a self contained group of Javascript, CSS and HTML
|
41
|
-
# that is used to provide loadable UI modules.
|
42
|
-
remove prefix: src/nibs
|
43
|
-
include: src/nibs
|
19
|
+
# Your main Javascript assets, specified in order they should be loaded.
|
20
|
+
# The final entry loads all Javascript assets in the src/js folder and
|
21
|
+
# uses the import statements to compute the dependency order.
|
22
|
+
<%=name%>.js:
|
23
|
+
- coherent-uncompressed.js
|
24
|
+
- src/js/<%=name%>.js
|
25
|
+
- src/js
|
26
|
+
|
27
|
+
# Your CSS files. You may include all CSS files in the src/css folder,
|
28
|
+
# but they may be included in the wrong order. So it's usually best to
|
29
|
+
# specify them explicitly
|
30
|
+
<%=name%>.css:
|
31
|
+
- src/css/reset.css
|
32
|
+
- src/css/<%=name%>.css
|
33
|
+
|
34
|
+
# Create a bundle file for the primary nib file.
|
35
|
+
# A JsBundle is a self contained group of Javascript, CSS and HTML
|
36
|
+
# that is used to provide loadable UI modules.
|
37
|
+
<%=nib_name%>.jsbundle:
|
38
|
+
- src/nibs/<%=nib_name%>/<%=nib_name%>.jsnib
|
39
|
+
- src/nibs/<%=nib_name%>/
|
44
40
|
|
45
41
|
pages:
|
46
42
|
# Copy any HTML assets from the src/pages folder over to the build folder.
|
@@ -2,118 +2,118 @@
|
|
2
2
|
|
3
3
|
/* Styles for UI elements that have been selected.
|
4
4
|
*/
|
5
|
-
.
|
5
|
+
.ui-selected
|
6
6
|
{
|
7
7
|
}
|
8
8
|
|
9
9
|
/* Styles applied to views that are disabled. Not all browsers support the
|
10
10
|
disabled pseudo selector, so Coherent applies the disabled class instead.
|
11
11
|
*/
|
12
|
-
.
|
12
|
+
.ui-disabled
|
13
13
|
{
|
14
14
|
}
|
15
15
|
|
16
16
|
/* Views that are read-only will have these styles.
|
17
17
|
*/
|
18
|
-
.
|
18
|
+
.ui-readonly
|
19
19
|
{
|
20
20
|
}
|
21
21
|
|
22
22
|
/* When a view is displaying the placeholder value for a null value, the view
|
23
23
|
will have this class name.
|
24
24
|
*/
|
25
|
-
.
|
25
|
+
.ui-placeholder
|
26
26
|
{
|
27
27
|
}
|
28
28
|
|
29
29
|
/* Since not all browsers support the focus pseudo selector, Coherent applies
|
30
30
|
the focused class to all views that accept first responder status.
|
31
31
|
*/
|
32
|
-
.
|
32
|
+
.ui-focused
|
33
33
|
{
|
34
34
|
}
|
35
35
|
|
36
|
-
.
|
36
|
+
.ui-hover
|
37
37
|
{
|
38
38
|
}
|
39
39
|
|
40
|
-
.
|
40
|
+
.ui-sort-ascending
|
41
41
|
{
|
42
42
|
}
|
43
43
|
|
44
|
-
.
|
44
|
+
.ui-sort-descending
|
45
45
|
{
|
46
46
|
}
|
47
47
|
|
48
|
-
.
|
48
|
+
.ui-active
|
49
49
|
{
|
50
50
|
}
|
51
51
|
|
52
|
-
.
|
52
|
+
.ui-updating
|
53
53
|
{
|
54
54
|
}
|
55
55
|
|
56
|
-
.
|
56
|
+
.ui-hidden
|
57
57
|
{
|
58
58
|
}
|
59
59
|
|
60
|
-
.
|
60
|
+
.ui-invalid
|
61
61
|
{
|
62
62
|
}
|
63
63
|
|
64
|
-
.
|
64
|
+
.ui-inserted
|
65
65
|
{
|
66
66
|
}
|
67
67
|
|
68
|
-
.
|
68
|
+
.ui-deleted
|
69
69
|
{
|
70
70
|
}
|
71
71
|
|
72
|
-
.
|
72
|
+
.ui-replacing
|
73
73
|
{
|
74
74
|
}
|
75
75
|
|
76
|
-
.
|
76
|
+
.ui-loading
|
77
77
|
{
|
78
78
|
}
|
79
79
|
|
80
|
-
.
|
80
|
+
.ui-first
|
81
81
|
{
|
82
82
|
}
|
83
83
|
|
84
|
-
.
|
84
|
+
.ui-last
|
85
85
|
{
|
86
86
|
}
|
87
87
|
|
88
|
-
.
|
88
|
+
.ui-drag-and-drop-copy
|
89
89
|
{
|
90
90
|
}
|
91
91
|
|
92
|
-
.
|
92
|
+
.ui-drag-and-drop-move
|
93
93
|
{
|
94
94
|
}
|
95
95
|
|
96
|
-
.
|
96
|
+
.ui-drag-and-drop-link
|
97
97
|
{
|
98
98
|
}
|
99
99
|
|
100
|
-
.
|
100
|
+
.ui-drag-and-drop-no
|
101
101
|
{
|
102
102
|
}
|
103
103
|
|
104
|
-
.
|
104
|
+
.ui-window-inactive
|
105
105
|
{
|
106
106
|
}
|
107
107
|
|
108
|
-
.
|
108
|
+
.ui-outline-expanded
|
109
109
|
{
|
110
110
|
}
|
111
111
|
|
112
|
-
.
|
112
|
+
.ui-outline-leaf
|
113
113
|
{
|
114
114
|
}
|
115
115
|
|
116
|
-
.
|
116
|
+
.ui-outline-disclosure-button
|
117
117
|
{
|
118
118
|
}
|
119
119
|
|
@@ -9,9 +9,6 @@
|
|
9
9
|
<script src="res/latest/<%=name%>-debug.js" type="text/javascript" charset="utf-8"></script>
|
10
10
|
</head>
|
11
11
|
<body>
|
12
|
-
<script>
|
13
|
-
coherent.Application.shared.setAssetLocation("res/latest");
|
14
|
-
coherent.Application.shared.setMainBundle("<%=nib_name%>");
|
15
|
-
</script>
|
12
|
+
<script src="res/latest/<%=nib_name%>.jsbundle" type="text/javascript" charset="utf-8"></script>
|
16
13
|
</body>
|
17
14
|
</html>
|
data/coherent.gemspec
CHANGED
@@ -16,31 +16,27 @@ external projects:
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
# A JSNIB package is a self contained group of Javascript, CSS and HTML
|
41
|
-
# that is used to provide loadable UI modules.
|
42
|
-
remove prefix: src/nibs
|
43
|
-
include: src/nibs
|
19
|
+
# Your main Javascript assets, specified in order they should be loaded.
|
20
|
+
# The final entry loads all Javascript assets in the src/js folder and
|
21
|
+
# uses the import statements to compute the dependency order.
|
22
|
+
<%=name%>.js:
|
23
|
+
- coherent-uncompressed.js
|
24
|
+
- src/js/<%=name%>.js
|
25
|
+
- src/js
|
26
|
+
|
27
|
+
# Your CSS files. You may include all CSS files in the src/css folder,
|
28
|
+
# but they may be included in the wrong order. So it's usually best to
|
29
|
+
# specify them explicitly
|
30
|
+
<%=name%>.css:
|
31
|
+
- src/css/reset.css
|
32
|
+
- src/css/<%=name%>.css
|
33
|
+
|
34
|
+
# Create a bundle file for the primary nib file.
|
35
|
+
# A JsBundle is a self contained group of Javascript, CSS and HTML
|
36
|
+
# that is used to provide loadable UI modules.
|
37
|
+
<%=name%>.jsbundle:
|
38
|
+
- src/nibs/<%=name%>/<%=name%>.jsnib
|
39
|
+
- src/nibs/<%=name%>/
|
44
40
|
|
45
41
|
pages:
|
46
42
|
# Copy any HTML assets from the src/pages folder over to the build folder.
|
@@ -2,118 +2,118 @@
|
|
2
2
|
|
3
3
|
/* Styles for UI elements that have been selected.
|
4
4
|
*/
|
5
|
-
.
|
5
|
+
.ui-selected
|
6
6
|
{
|
7
7
|
}
|
8
8
|
|
9
9
|
/* Styles applied to views that are disabled. Not all browsers support the
|
10
10
|
disabled pseudo selector, so Coherent applies the disabled class instead.
|
11
11
|
*/
|
12
|
-
.
|
12
|
+
.ui-disabled
|
13
13
|
{
|
14
14
|
}
|
15
15
|
|
16
16
|
/* Views that are read-only will have these styles.
|
17
17
|
*/
|
18
|
-
.
|
18
|
+
.ui-readonly
|
19
19
|
{
|
20
20
|
}
|
21
21
|
|
22
22
|
/* When a view is displaying the placeholder value for a null value, the view
|
23
23
|
will have this class name.
|
24
24
|
*/
|
25
|
-
.
|
25
|
+
.ui-placeholder
|
26
26
|
{
|
27
27
|
}
|
28
28
|
|
29
29
|
/* Since not all browsers support the focus pseudo selector, Coherent applies
|
30
30
|
the focused class to all views that accept first responder status.
|
31
31
|
*/
|
32
|
-
.
|
32
|
+
.ui-focused
|
33
33
|
{
|
34
34
|
}
|
35
35
|
|
36
|
-
.
|
36
|
+
.ui-hover
|
37
37
|
{
|
38
38
|
}
|
39
39
|
|
40
|
-
.
|
40
|
+
.ui-sort-ascending
|
41
41
|
{
|
42
42
|
}
|
43
43
|
|
44
|
-
.
|
44
|
+
.ui-sort-descending
|
45
45
|
{
|
46
46
|
}
|
47
47
|
|
48
|
-
.
|
48
|
+
.ui-active
|
49
49
|
{
|
50
50
|
}
|
51
51
|
|
52
|
-
.
|
52
|
+
.ui-updating
|
53
53
|
{
|
54
54
|
}
|
55
55
|
|
56
|
-
.
|
56
|
+
.ui-hidden
|
57
57
|
{
|
58
58
|
}
|
59
59
|
|
60
|
-
.
|
60
|
+
.ui-invalid
|
61
61
|
{
|
62
62
|
}
|
63
63
|
|
64
|
-
.
|
64
|
+
.ui-inserted
|
65
65
|
{
|
66
66
|
}
|
67
67
|
|
68
|
-
.
|
68
|
+
.ui-deleted
|
69
69
|
{
|
70
70
|
}
|
71
71
|
|
72
|
-
.
|
72
|
+
.ui-replacing
|
73
73
|
{
|
74
74
|
}
|
75
75
|
|
76
|
-
.
|
76
|
+
.ui-loading
|
77
77
|
{
|
78
78
|
}
|
79
79
|
|
80
|
-
.
|
80
|
+
.ui-first
|
81
81
|
{
|
82
82
|
}
|
83
83
|
|
84
|
-
.
|
84
|
+
.ui-last
|
85
85
|
{
|
86
86
|
}
|
87
87
|
|
88
|
-
.
|
88
|
+
.ui-drag-and-drop-copy
|
89
89
|
{
|
90
90
|
}
|
91
91
|
|
92
|
-
.
|
92
|
+
.ui-drag-and-drop-move
|
93
93
|
{
|
94
94
|
}
|
95
95
|
|
96
|
-
.
|
96
|
+
.ui-drag-and-drop-link
|
97
97
|
{
|
98
98
|
}
|
99
99
|
|
100
|
-
.
|
100
|
+
.ui-drag-and-drop-no
|
101
101
|
{
|
102
102
|
}
|
103
103
|
|
104
|
-
.
|
104
|
+
.ui-window-inactive
|
105
105
|
{
|
106
106
|
}
|
107
107
|
|
108
|
-
.
|
108
|
+
.ui-outline-expanded
|
109
109
|
{
|
110
110
|
}
|
111
111
|
|
112
|
-
.
|
112
|
+
.ui-outline-leaf
|
113
113
|
{
|
114
114
|
}
|
115
115
|
|
116
|
-
.
|
116
|
+
.ui-outline-disclosure-button
|
117
117
|
{
|
118
118
|
}
|
119
119
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
background-color: inherit;
|
37
37
|
}
|
38
38
|
|
39
|
-
.gallery p.
|
39
|
+
.gallery p.ui-updating
|
40
40
|
{
|
41
41
|
background-color: yellow;
|
42
42
|
}
|
@@ -82,8 +82,8 @@
|
|
82
82
|
background-position: 0px 0px;
|
83
83
|
}
|
84
84
|
|
85
|
-
.gallery a.
|
86
|
-
.gallery a.
|
85
|
+
.gallery a.ui-disabled,
|
86
|
+
.gallery a.ui-disabled:active
|
87
87
|
{
|
88
88
|
background-position: 0px -44px;
|
89
89
|
cursor: default;
|