archetype 0.0.1.pre.3.55c4182 → 0.0.1.pre.3.83f0d7a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +6 -0
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/stylesheets/archetype/_config.scss +14 -5
- data/stylesheets/archetype/_hacks.scss +1 -4
- data/stylesheets/archetype/_ui.scss +13 -4
- data/stylesheets/archetype/util/_styles.scss +12 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png +0 -0
- data/test/fixtures/stylesheets/archetype/expected/base.css +349 -0
- data/test/fixtures/stylesheets/archetype/source/base.scss +3 -0
- data/test/fixtures/stylesheets/archetype/tmp/b.css +14 -0
- data/test/fixtures/stylesheets/archetype/tmp/base.css +349 -0
- data/test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css +11 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css +2091 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css +9 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css +24 -0
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css +174 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css +37 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css +8 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/stroke.css +17 -0
- data/test/fixtures/stylesheets/archetype/tmp/ui/triangle.css +35 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/associative.css +9 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css +9 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css +11 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css +16 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css +15 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css +100 -0
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css +55 -0
- metadata +57 -20
@@ -0,0 +1,24 @@
|
|
1
|
+
.nested-styleguide-test {
|
2
|
+
text-decoration: none;
|
3
|
+
display: block;
|
4
|
+
color: red;
|
5
|
+
background: green;
|
6
|
+
}
|
7
|
+
.nested-styleguide-test.hover, .nested-styleguide-test:hover, .nested-styleguide-test.focus, .nested-styleguide-test:focus {
|
8
|
+
text-decoration: none;
|
9
|
+
color: #0088cc;
|
10
|
+
background: #eeeeee;
|
11
|
+
}
|
12
|
+
.nested-styleguide-test h3 {
|
13
|
+
font-size: 18px;
|
14
|
+
font-weight: bold;
|
15
|
+
line-height: 22px;
|
16
|
+
color: #0088cc;
|
17
|
+
text-decoration: none;
|
18
|
+
}
|
19
|
+
.nested-styleguide-test h3.hover, .nested-styleguide-test h3:hover, .nested-styleguide-test h3.focus, .nested-styleguide-test h3:focus {
|
20
|
+
text-decoration: none;
|
21
|
+
}
|
22
|
+
.nested-styleguide-test:after {
|
23
|
+
color: red;
|
24
|
+
}
|
@@ -0,0 +1,174 @@
|
|
1
|
+
.simple-button.disabled {
|
2
|
+
font-weight: bold;
|
3
|
+
border-width: 1px;
|
4
|
+
border-style: solid;
|
5
|
+
cursor: default;
|
6
|
+
margin: 0;
|
7
|
+
overflow: visible;
|
8
|
+
text-decoration: none !important;
|
9
|
+
width: auto;
|
10
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
11
|
+
-webkit-border-radius: 3px;
|
12
|
+
-moz-border-radius: 3px;
|
13
|
+
-ms-border-radius: 3px;
|
14
|
+
-o-border-radius: 3px;
|
15
|
+
border-radius: 3px;
|
16
|
+
padding: 0 10px;
|
17
|
+
height: 26px;
|
18
|
+
line-height: 24px;
|
19
|
+
-webkit-box-sizing: border-box;
|
20
|
+
-moz-box-sizing: border-box;
|
21
|
+
box-sizing: border-box;
|
22
|
+
font-size: 12px;
|
23
|
+
color: white;
|
24
|
+
background-color: #0055cc;
|
25
|
+
border-color: #1b5480;
|
26
|
+
*zoom: 1;
|
27
|
+
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
|
28
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
|
29
|
+
background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
|
30
|
+
background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
|
31
|
+
background-image: -o-linear-gradient(top, #0066cc, #0033cc);
|
32
|
+
background-image: linear-gradient(top, #0066cc, #0033cc);
|
33
|
+
white-space: nowrap;
|
34
|
+
display: -moz-inline-stack;
|
35
|
+
display: inline-block;
|
36
|
+
vertical-align: middle;
|
37
|
+
*vertical-align: auto;
|
38
|
+
zoom: 1;
|
39
|
+
*display: inline;
|
40
|
+
vertical-align: middle;
|
41
|
+
-webkit-box-shadow: none;
|
42
|
+
-moz-box-shadow: none;
|
43
|
+
box-shadow: none;
|
44
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
|
45
|
+
opacity: 0.6;
|
46
|
+
}
|
47
|
+
.simple-button.my-custom-hover {
|
48
|
+
font-weight: bold;
|
49
|
+
border-width: 1px;
|
50
|
+
border-style: solid;
|
51
|
+
cursor: pointer;
|
52
|
+
margin: 0;
|
53
|
+
overflow: visible;
|
54
|
+
text-decoration: none !important;
|
55
|
+
width: auto;
|
56
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
57
|
+
-webkit-border-radius: 3px;
|
58
|
+
-moz-border-radius: 3px;
|
59
|
+
-ms-border-radius: 3px;
|
60
|
+
-o-border-radius: 3px;
|
61
|
+
border-radius: 3px;
|
62
|
+
padding: 0 10px;
|
63
|
+
height: 26px;
|
64
|
+
line-height: 24px;
|
65
|
+
-webkit-box-sizing: border-box;
|
66
|
+
-moz-box-sizing: border-box;
|
67
|
+
box-sizing: border-box;
|
68
|
+
font-size: 12px;
|
69
|
+
color: white;
|
70
|
+
background-color: #0055cc;
|
71
|
+
border-color: #1b5480;
|
72
|
+
*zoom: 1;
|
73
|
+
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
|
74
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
|
75
|
+
background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
|
76
|
+
background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
|
77
|
+
background-image: -o-linear-gradient(top, #0066cc, #0033cc);
|
78
|
+
background-image: linear-gradient(top, #0066cc, #0033cc);
|
79
|
+
white-space: nowrap;
|
80
|
+
display: -moz-inline-stack;
|
81
|
+
display: inline-block;
|
82
|
+
vertical-align: middle;
|
83
|
+
*vertical-align: auto;
|
84
|
+
zoom: 1;
|
85
|
+
*display: inline;
|
86
|
+
vertical-align: middle;
|
87
|
+
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
88
|
+
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
89
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
90
|
+
}
|
91
|
+
.simple-button.normal {
|
92
|
+
font-weight: bold;
|
93
|
+
border-width: 1px;
|
94
|
+
border-style: solid;
|
95
|
+
cursor: pointer;
|
96
|
+
margin: 0;
|
97
|
+
overflow: visible;
|
98
|
+
text-decoration: none !important;
|
99
|
+
width: auto;
|
100
|
+
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
101
|
+
-webkit-border-radius: 3px;
|
102
|
+
-moz-border-radius: 3px;
|
103
|
+
-ms-border-radius: 3px;
|
104
|
+
-o-border-radius: 3px;
|
105
|
+
border-radius: 3px;
|
106
|
+
padding: 0 10px;
|
107
|
+
height: 26px;
|
108
|
+
line-height: 24px;
|
109
|
+
-webkit-box-sizing: border-box;
|
110
|
+
-moz-box-sizing: border-box;
|
111
|
+
box-sizing: border-box;
|
112
|
+
font-size: 12px;
|
113
|
+
color: white;
|
114
|
+
background-color: #0074cc;
|
115
|
+
border-color: #1b5480;
|
116
|
+
*zoom: 1;
|
117
|
+
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0088CC', endColorstr='#FF0055CC');
|
118
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0088cc), color-stop(100%, #0055cc));
|
119
|
+
background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
|
120
|
+
background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
|
121
|
+
background-image: -o-linear-gradient(top, #0088cc, #0055cc);
|
122
|
+
background-image: linear-gradient(top, #0088cc, #0055cc);
|
123
|
+
white-space: nowrap;
|
124
|
+
display: -moz-inline-stack;
|
125
|
+
display: inline-block;
|
126
|
+
vertical-align: middle;
|
127
|
+
*vertical-align: auto;
|
128
|
+
zoom: 1;
|
129
|
+
*display: inline;
|
130
|
+
vertical-align: middle;
|
131
|
+
}
|
132
|
+
.simple-button.normal.hover, .simple-button.normal:hover, .simple-button.normal.focus, .simple-button.normal:focus {
|
133
|
+
background-color: #0055cc;
|
134
|
+
*zoom: 1;
|
135
|
+
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
|
136
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
|
137
|
+
background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
|
138
|
+
background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
|
139
|
+
background-image: -o-linear-gradient(top, #0066cc, #0033cc);
|
140
|
+
background-image: linear-gradient(top, #0066cc, #0033cc);
|
141
|
+
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
142
|
+
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
143
|
+
box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
|
144
|
+
}
|
145
|
+
.simple-button.normal.active, .simple-button.normal:active {
|
146
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
|
147
|
+
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
|
148
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) inset;
|
149
|
+
}
|
150
|
+
.simple-button.normal.disabled, .simple-button.normal[disabled] {
|
151
|
+
background-color: #0055cc;
|
152
|
+
*zoom: 1;
|
153
|
+
filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF0066CC', endColorstr='#FF0033CC');
|
154
|
+
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0066cc), color-stop(100%, #0033cc));
|
155
|
+
background-image: -webkit-linear-gradient(top, #0066cc, #0033cc);
|
156
|
+
background-image: -moz-linear-gradient(top, #0066cc, #0033cc);
|
157
|
+
background-image: -o-linear-gradient(top, #0066cc, #0033cc);
|
158
|
+
background-image: linear-gradient(top, #0066cc, #0033cc);
|
159
|
+
-webkit-box-shadow: none;
|
160
|
+
-moz-box-shadow: none;
|
161
|
+
box-shadow: none;
|
162
|
+
cursor: default;
|
163
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
|
164
|
+
opacity: 0.6;
|
165
|
+
}
|
166
|
+
|
167
|
+
.anchor.missing {
|
168
|
+
color: #0088cc;
|
169
|
+
text-decoration: none;
|
170
|
+
}
|
171
|
+
.anchor.my-custom-hover {
|
172
|
+
color: #0088cc;
|
173
|
+
text-decoration: underline;
|
174
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.simple {
|
2
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:100%;color:inherit;",this.insertBefore(this.el));
|
3
|
+
}
|
4
|
+
.simple:before {
|
5
|
+
font-family: FontAwesome;
|
6
|
+
font-weight: normal;
|
7
|
+
font-style: normal;
|
8
|
+
text-decoration: inherit;
|
9
|
+
speak: none;
|
10
|
+
font-size: 100%;
|
11
|
+
color: inherit;
|
12
|
+
content: "\f0d7";
|
13
|
+
}
|
14
|
+
|
15
|
+
.false {
|
16
|
+
font-family: FontAwesome;
|
17
|
+
font-weight: normal;
|
18
|
+
font-style: normal;
|
19
|
+
text-decoration: inherit;
|
20
|
+
speak: none;
|
21
|
+
font-size: 100%;
|
22
|
+
color: inherit;
|
23
|
+
}
|
24
|
+
|
25
|
+
.size {
|
26
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype-glyph"),this.el.innerHTML="",this.el.style.cssText="font-family:'FontAwesome';font-weight:normal;font-style:normal;text-decoration:inherit;font-size:20px;color:inherit;",this.insertBefore(this.el));
|
27
|
+
}
|
28
|
+
.size:before {
|
29
|
+
font-family: FontAwesome;
|
30
|
+
font-weight: normal;
|
31
|
+
font-style: normal;
|
32
|
+
text-decoration: inherit;
|
33
|
+
speak: none;
|
34
|
+
font-size: 20px;
|
35
|
+
color: inherit;
|
36
|
+
content: "\f0d7";
|
37
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
.stroke {
|
2
|
+
-webkit-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
3
|
+
-moz-box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
4
|
+
box-shadow: 0 1px 0 black, 0 -1px 0 black, 1px 0 0 black, -1px 0 0 black;
|
5
|
+
}
|
6
|
+
|
7
|
+
.stroke-fat {
|
8
|
+
-webkit-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
9
|
+
-moz-box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
10
|
+
box-shadow: 0 10px 0 black, 0 -10px 0 black, 10px 0 0 black, -10px 0 0 black;
|
11
|
+
}
|
12
|
+
|
13
|
+
.stroke-colorful {
|
14
|
+
-webkit-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
15
|
+
-moz-box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
16
|
+
box-shadow: 0 10px 0 red, 0 -10px 0 red, 10px 0 0 red, -10px 0 0 red;
|
17
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
.a {
|
2
|
+
height: 0;
|
3
|
+
width: 0;
|
4
|
+
_font-size: 0;
|
5
|
+
_line-height: 0;
|
6
|
+
border-style: dashed;
|
7
|
+
border-color: transparent;
|
8
|
+
border-width: 1em 0.5em 0;
|
9
|
+
border-top-color: #aaaaaa;
|
10
|
+
border-top-style: solid;
|
11
|
+
}
|
12
|
+
|
13
|
+
.b {
|
14
|
+
height: 0;
|
15
|
+
width: 0;
|
16
|
+
_font-size: 0;
|
17
|
+
_line-height: 0;
|
18
|
+
border-style: dashed;
|
19
|
+
border-color: transparent;
|
20
|
+
border-width: 0 5px 5px;
|
21
|
+
border-bottom-color: black;
|
22
|
+
border-bottom-style: solid;
|
23
|
+
}
|
24
|
+
|
25
|
+
.c {
|
26
|
+
height: 0;
|
27
|
+
width: 0;
|
28
|
+
_font-size: 0;
|
29
|
+
_line-height: 0;
|
30
|
+
border-style: dashed;
|
31
|
+
border-color: transparent;
|
32
|
+
border-width: 0 10px 5px 0;
|
33
|
+
border-bottom-color: black;
|
34
|
+
border-bottom-style: solid;
|
35
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
a {
|
2
|
+
padding-left: 20px;
|
3
|
+
padding-right: 20px;
|
4
|
+
margin-left: 20px;
|
5
|
+
margin-right: 20px;
|
6
|
+
}
|
7
|
+
|
8
|
+
b {
|
9
|
+
padding-right: 20px;
|
10
|
+
margin-right: 20px;
|
11
|
+
}
|
12
|
+
|
13
|
+
c {
|
14
|
+
padding-left: 20px;
|
15
|
+
margin-left: 20px;
|
16
|
+
}
|
17
|
+
|
18
|
+
d {
|
19
|
+
padding-right: 15px;
|
20
|
+
padding-right: 13px;
|
21
|
+
margin-right: 13px;
|
22
|
+
}
|
23
|
+
|
24
|
+
e {
|
25
|
+
padding-left: 0px;
|
26
|
+
padding-right: 0px;
|
27
|
+
margin-left: 0px;
|
28
|
+
margin-right: 0px;
|
29
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
a {
|
2
|
+
padding-top: 10px;
|
3
|
+
padding-bottom: 10px;
|
4
|
+
margin-top: 10px;
|
5
|
+
margin-bottom: 10px;
|
6
|
+
}
|
7
|
+
|
8
|
+
b {
|
9
|
+
padding-bottom: 10px;
|
10
|
+
margin-bottom: 10px;
|
11
|
+
}
|
12
|
+
|
13
|
+
c {
|
14
|
+
padding-top: 10px;
|
15
|
+
margin-top: 10px;
|
16
|
+
}
|
17
|
+
|
18
|
+
d {
|
19
|
+
padding-bottom: 15px;
|
20
|
+
padding-bottom: 13px;
|
21
|
+
margin-bottom: 13px;
|
22
|
+
}
|
23
|
+
|
24
|
+
e {
|
25
|
+
padding-top: 0px;
|
26
|
+
padding-bottom: 0px;
|
27
|
+
margin-top: 0px;
|
28
|
+
margin-bottom: 0px;
|
29
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
a {
|
2
|
+
-webkit-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
3
|
+
-moz-filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
4
|
+
filter: Shadow(Strength=2, Direction=135, Color="#CCCCCC");
|
5
|
+
}
|
6
|
+
|
7
|
+
b {
|
8
|
+
-webkit-filter: gradient(enabled=false);
|
9
|
+
-moz-filter: gradient(enabled=false);
|
10
|
+
filter: gradient(enabled=false);
|
11
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
a {
|
2
|
+
font-family: Georgia, serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
b {
|
6
|
+
font-family: sans-serif;
|
7
|
+
}
|
8
|
+
.os-win b {
|
9
|
+
font-family: Arial, sans-serif;
|
10
|
+
}
|
11
|
+
.os-mac b {
|
12
|
+
font-family: Helvetica, Arial, sans-serif;
|
13
|
+
}
|
14
|
+
.os-linux b {
|
15
|
+
font-family: Helvetica, FreeSans, "Liberation Sans", Helmet, Arial, sans-serif;
|
16
|
+
}
|