archetype 0.0.1.pre.1 → 0.0.1.pre.3.00dfd9a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +88 -0
- data/LICENSE +16 -0
- data/README.md +87 -1
- data/VERSION.yml +6 -0
- data/lib/README.rdoc +4 -0
- data/lib/archetype.rb +45 -0
- data/lib/archetype/functions.rb +9 -0
- data/lib/archetype/functions/hash.rb +149 -0
- data/lib/archetype/functions/helpers.rb +125 -0
- data/lib/archetype/functions/styleguide_memoizer.rb +61 -0
- data/lib/archetype/sass_extensions.rb +6 -0
- data/lib/archetype/sass_extensions/functions.rb +14 -0
- data/lib/archetype/sass_extensions/functions/environment.rb +14 -0
- data/lib/archetype/sass_extensions/functions/lists.rb +284 -0
- data/lib/archetype/sass_extensions/functions/locale.rb +77 -0
- data/lib/archetype/sass_extensions/functions/numbers.rb +19 -0
- data/lib/archetype/sass_extensions/functions/styleguide.rb +406 -0
- data/lib/archetype/sass_extensions/functions/ui.rb +59 -0
- data/lib/archetype/sass_extensions/functions/version.rb +95 -0
- data/lib/archetype/version.rb +75 -0
- data/stylesheets/_archetype.scss +2 -0
- data/stylesheets/archetype/_base.scss +46 -0
- data/stylesheets/archetype/_config.scss +366 -0
- data/stylesheets/archetype/_grid.scss +3 -0
- data/stylesheets/archetype/_hacks.scss +72 -0
- data/stylesheets/archetype/_init.scss +23 -0
- data/stylesheets/archetype/_styleguide.scss +6 -0
- data/stylesheets/archetype/_ui.scss +326 -0
- data/stylesheets/archetype/_util.scss +12 -0
- data/stylesheets/archetype/base/_h5bp.scss +307 -0
- data/stylesheets/archetype/base/_hybrid.scss +25 -0
- data/stylesheets/archetype/base/_normalize.scss +595 -0
- data/stylesheets/archetype/base/_reset.scss +72 -0
- data/stylesheets/archetype/grid/_config.scss +14 -0
- data/stylesheets/archetype/grid/_grid.scss +391 -0
- data/stylesheets/archetype/styleguide/_components.scss +25 -0
- data/stylesheets/archetype/styleguide/_helpers.scss +215 -0
- data/stylesheets/archetype/styleguide/_primitives.scss +10 -0
- data/stylesheets/archetype/styleguide/_styleguide.scss +41 -0
- data/stylesheets/archetype/styleguide/components/_alerts.scss +59 -0
- data/stylesheets/archetype/styleguide/components/_annotations.scss +27 -0
- data/stylesheets/archetype/styleguide/components/_bristol.scss +15 -0
- data/stylesheets/archetype/styleguide/components/_button_groups.scss +47 -0
- data/stylesheets/archetype/styleguide/components/_button_toolbars.scss +17 -0
- data/stylesheets/archetype/styleguide/components/_buttons.scss +338 -0
- data/stylesheets/archetype/styleguide/components/_canvas.scss +15 -0
- data/stylesheets/archetype/styleguide/components/_carets.scss +336 -0
- data/stylesheets/archetype/styleguide/components/_closes.scss +63 -0
- data/stylesheets/archetype/styleguide/components/_container.scss +27 -0
- data/stylesheets/archetype/styleguide/components/_copy.scss +85 -0
- data/stylesheets/archetype/styleguide/components/_flyouts.scss +52 -0
- data/stylesheets/archetype/styleguide/components/_headings.scss +33 -0
- data/stylesheets/archetype/styleguide/components/_headlines.scss +63 -0
- data/stylesheets/archetype/styleguide/components/_hovercards.scss +27 -0
- data/stylesheets/archetype/styleguide/components/_icons.scss +17 -0
- data/stylesheets/archetype/styleguide/components/_identities.scss +34 -0
- data/stylesheets/archetype/styleguide/components/_links.scss +66 -0
- data/stylesheets/archetype/styleguide/components/_loaders.scss +154 -0
- data/stylesheets/archetype/styleguide/components/_menu_items.scss +31 -0
- data/stylesheets/archetype/styleguide/components/_module.scss +15 -0
- data/stylesheets/archetype/styleguide/components/_pullquotes.scss +29 -0
- data/stylesheets/archetype/styleguide/components/_punchcut.scss +18 -0
- data/stylesheets/archetype/styleguide/components/_tooltips.scss +28 -0
- data/stylesheets/archetype/styleguide/primitives/_animations.scss +17 -0
- data/stylesheets/archetype/styleguide/primitives/_dimensions.scss +50 -0
- data/stylesheets/archetype/styleguide/primitives/_glyphs.scss +11 -0
- data/stylesheets/archetype/styleguide/primitives/_misc.scss +8 -0
- data/stylesheets/archetype/styleguide/primitives/_palettes.scss +94 -0
- data/stylesheets/archetype/styleguide/primitives/_shadows.scss +23 -0
- data/stylesheets/archetype/styleguide/primitives/_sprites.scss +46 -0
- data/stylesheets/archetype/styleguide/primitives/_textures.scss +10 -0
- data/stylesheets/archetype/styleguide/primitives/_typography.scss +56 -0
- data/stylesheets/archetype/util/_debug.scss +40 -0
- data/stylesheets/archetype/util/_lists.scss +57 -0
- data/stylesheets/archetype/util/_misc.scss +108 -0
- data/stylesheets/archetype/util/_rtl.scss +279 -0
- data/stylesheets/archetype/util/_spacing.scss +78 -0
- data/stylesheets/archetype/util/_styles.scss +466 -0
- data/stylesheets/archetype/util/_targeting.scss +210 -0
- data/stylesheets/archetype/util/_units.scss +18 -0
- data/templates/example/index.html +40 -0
- data/templates/example/manifest.rb +13 -0
- data/templates/example/screen.scss +99 -0
- data/templates/example/vendor/archetype/animations/loaders/large/large.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/large/large_static.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/medium/medium.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/small/small.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
- data/templates/example/vendor/archetype/animations/loaders/small/small_static.png +0 -0
- data/templates/example/vendor/archetype/fontawesome-webfont.eot +0 -0
- data/templates/example/vendor/archetype/fontawesome-webfont.svg +255 -0
- data/templates/example/vendor/archetype/fontawesome-webfont.ttf +0 -0
- data/templates/example/vendor/archetype/fontawesome-webfont.woff +0 -0
- data/templates/project/manifest.rb +9 -0
- data/templates/project/screen.scss +1 -0
- data/templates/project/vendor/archetype/animations/loaders/large/large.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/large/large_static.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/medium/medium.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/small/small.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
- data/templates/project/vendor/archetype/animations/loaders/small/small_static.png +0 -0
- data/templates/project/vendor/archetype/fontawesome-webfont.eot +0 -0
- data/templates/project/vendor/archetype/fontawesome-webfont.svg +255 -0
- data/templates/project/vendor/archetype/fontawesome-webfont.ttf +0 -0
- data/templates/project/vendor/archetype/fontawesome-webfont.woff +0 -0
- data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.eot +0 -0
- data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg +255 -0
- data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png +0 -0
- data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png +0 -0
- data/test/fixtures/stylesheets/archetype/config.rb +19 -0
- data/test/fixtures/stylesheets/archetype/expected/b.css +14 -0
- data/test/fixtures/stylesheets/archetype/expected/base.css +349 -0
- data/test/fixtures/stylesheets/archetype/expected/hacks/ie_pseudo.css +11 -0
- data/test/fixtures/stylesheets/archetype/expected/locale.css +23 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/buttons.css +2091 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/fallback_styles.css +9 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/nested_styleguides.css +24 -0
- data/test/fixtures/stylesheets/archetype/expected/styleguide/selective_state.css +174 -0
- data/test/fixtures/stylesheets/archetype/expected/ui/glyph_icon.css +37 -0
- data/test/fixtures/stylesheets/archetype/expected/ui/hide_element.css +8 -0
- data/test/fixtures/stylesheets/archetype/expected/ui/stroke.css +17 -0
- data/test/fixtures/stylesheets/archetype/expected/ui/triangle.css +35 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/associative.css +9 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/if-set.css +9 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/horizontal-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/spacing/vertical-spacing.css +29 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/filter.css +11 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/font-family.css +16 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/styles/z-index.css +15 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-browser.css +100 -0
- data/test/fixtures/stylesheets/archetype/expected/utilities/targeting/target-os.css +55 -0
- data/test/fixtures/stylesheets/archetype/source/b.scss +9 -0
- data/test/fixtures/stylesheets/archetype/source/base.scss +3 -0
- data/test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss +13 -0
- data/test/fixtures/stylesheets/archetype/source/locale.scss +43 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +18 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss +22 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +40 -0
- data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +22 -0
- data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +13 -0
- data/test/fixtures/stylesheets/archetype/source/ui/hide_element.scss +5 -0
- data/test/fixtures/stylesheets/archetype/source/ui/stroke.scss +13 -0
- data/test/fixtures/stylesheets/archetype/source/ui/triangle.scss +13 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/associative.scss +24 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/if-set.scss +16 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss +27 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss +27 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss +9 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss +9 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss +18 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +70 -0
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss +42 -0
- data/test/helpers/diff.rb +49 -0
- data/test/helpers/io.rb +36 -0
- data/test/helpers/test_case.rb +62 -0
- data/test/integrations/archetype_test.rb +126 -0
- data/test/test_helper.rb +26 -0
- data/test/units/sass_extensions_test.rb +207 -0
- metadata +303 -15
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png
ADDED
Binary file
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#require File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'lib/archetype')
|
2
|
+
require 'archetype'
|
3
|
+
|
4
|
+
project_type = :stand_alone
|
5
|
+
css_dir = "tmp"
|
6
|
+
sass_dir = "source"
|
7
|
+
images_dir = "assets/images"
|
8
|
+
fonts_dir = "assets/fonts"
|
9
|
+
output_style = :expanded
|
10
|
+
http_images_path = "/assets/images"
|
11
|
+
http_fonts_path = "/assets/fonts"
|
12
|
+
line_comments = false
|
13
|
+
environment = :production
|
14
|
+
|
15
|
+
asset_cache_buster do |path, file|
|
16
|
+
"busted=true"
|
17
|
+
end
|
18
|
+
|
19
|
+
disable_warnings = true
|
@@ -0,0 +1,349 @@
|
|
1
|
+
@-webkit-keyframes archetype-loader {
|
2
|
+
from {
|
3
|
+
-webkit-transform: rotate(0deg);
|
4
|
+
}
|
5
|
+
|
6
|
+
to {
|
7
|
+
-webkit-transform: rotate(360deg);
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
@-moz-keyframes archetype-loader {
|
12
|
+
from {
|
13
|
+
-moz-transform: rotate(0deg);
|
14
|
+
}
|
15
|
+
|
16
|
+
to {
|
17
|
+
-moz-transform: rotate(360deg);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@-ms-keyframes archetype-loader {
|
22
|
+
from {
|
23
|
+
-ms-transform: rotate(0deg);
|
24
|
+
}
|
25
|
+
|
26
|
+
to {
|
27
|
+
-ms-transform: rotate(360deg);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@-o-keyframes archetype-loader {
|
32
|
+
from {
|
33
|
+
-o-transform: rotate(0deg);
|
34
|
+
}
|
35
|
+
|
36
|
+
to {
|
37
|
+
-o-transform: rotate(360deg);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@keyframes archetype-loader {
|
42
|
+
from {
|
43
|
+
transform: rotate(0deg);
|
44
|
+
}
|
45
|
+
|
46
|
+
to {
|
47
|
+
transform: rotate(360deg);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
@-webkit-keyframes archetype-loader-position-medium-1 {
|
52
|
+
from, to {
|
53
|
+
background-position: 0 -230px;
|
54
|
+
width: 58px;
|
55
|
+
height: 58px;
|
56
|
+
margin-left: -29px;
|
57
|
+
margin-top: -29px;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
@-moz-keyframes archetype-loader-position-medium-1 {
|
62
|
+
from, to {
|
63
|
+
background-position: 0 -230px;
|
64
|
+
width: 58px;
|
65
|
+
height: 58px;
|
66
|
+
margin-left: -29px;
|
67
|
+
margin-top: -29px;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
@-ms-keyframes archetype-loader-position-medium-1 {
|
72
|
+
from, to {
|
73
|
+
background-position: 0 -230px;
|
74
|
+
width: 58px;
|
75
|
+
height: 58px;
|
76
|
+
margin-left: -29px;
|
77
|
+
margin-top: -29px;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
@-o-keyframes archetype-loader-position-medium-1 {
|
82
|
+
from, to {
|
83
|
+
background-position: 0 -230px;
|
84
|
+
width: 58px;
|
85
|
+
height: 58px;
|
86
|
+
margin-left: -29px;
|
87
|
+
margin-top: -29px;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
@keyframes archetype-loader-position-medium-1 {
|
92
|
+
from, to {
|
93
|
+
background-position: 0 -230px;
|
94
|
+
width: 58px;
|
95
|
+
height: 58px;
|
96
|
+
margin-left: -29px;
|
97
|
+
margin-top: -29px;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@-webkit-keyframes archetype-loader-position-medium-2 {
|
102
|
+
from, to {
|
103
|
+
background-position: 0 -288px;
|
104
|
+
width: 58px;
|
105
|
+
height: 58px;
|
106
|
+
margin-left: -29px;
|
107
|
+
margin-top: -29px;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
@-moz-keyframes archetype-loader-position-medium-2 {
|
112
|
+
from, to {
|
113
|
+
background-position: 0 -288px;
|
114
|
+
width: 58px;
|
115
|
+
height: 58px;
|
116
|
+
margin-left: -29px;
|
117
|
+
margin-top: -29px;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
@-ms-keyframes archetype-loader-position-medium-2 {
|
122
|
+
from, to {
|
123
|
+
background-position: 0 -288px;
|
124
|
+
width: 58px;
|
125
|
+
height: 58px;
|
126
|
+
margin-left: -29px;
|
127
|
+
margin-top: -29px;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@-o-keyframes archetype-loader-position-medium-2 {
|
132
|
+
from, to {
|
133
|
+
background-position: 0 -288px;
|
134
|
+
width: 58px;
|
135
|
+
height: 58px;
|
136
|
+
margin-left: -29px;
|
137
|
+
margin-top: -29px;
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
@keyframes archetype-loader-position-medium-2 {
|
142
|
+
from, to {
|
143
|
+
background-position: 0 -288px;
|
144
|
+
width: 58px;
|
145
|
+
height: 58px;
|
146
|
+
margin-left: -29px;
|
147
|
+
margin-top: -29px;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
@-webkit-keyframes archetype-loader-position-small-1 {
|
152
|
+
from, to {
|
153
|
+
background-position: 0 -692px;
|
154
|
+
width: 16px;
|
155
|
+
height: 16px;
|
156
|
+
margin-left: -8px;
|
157
|
+
margin-top: -8px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
@-moz-keyframes archetype-loader-position-small-1 {
|
162
|
+
from, to {
|
163
|
+
background-position: 0 -692px;
|
164
|
+
width: 16px;
|
165
|
+
height: 16px;
|
166
|
+
margin-left: -8px;
|
167
|
+
margin-top: -8px;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
@-ms-keyframes archetype-loader-position-small-1 {
|
172
|
+
from, to {
|
173
|
+
background-position: 0 -692px;
|
174
|
+
width: 16px;
|
175
|
+
height: 16px;
|
176
|
+
margin-left: -8px;
|
177
|
+
margin-top: -8px;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
@-o-keyframes archetype-loader-position-small-1 {
|
182
|
+
from, to {
|
183
|
+
background-position: 0 -692px;
|
184
|
+
width: 16px;
|
185
|
+
height: 16px;
|
186
|
+
margin-left: -8px;
|
187
|
+
margin-top: -8px;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
@keyframes archetype-loader-position-small-1 {
|
192
|
+
from, to {
|
193
|
+
background-position: 0 -692px;
|
194
|
+
width: 16px;
|
195
|
+
height: 16px;
|
196
|
+
margin-left: -8px;
|
197
|
+
margin-top: -8px;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
@-webkit-keyframes archetype-loader-position-small-2 {
|
202
|
+
from, to {
|
203
|
+
background-position: 0 -708px;
|
204
|
+
width: 16px;
|
205
|
+
height: 16px;
|
206
|
+
margin-left: -8px;
|
207
|
+
margin-top: -8px;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
@-moz-keyframes archetype-loader-position-small-2 {
|
212
|
+
from, to {
|
213
|
+
background-position: 0 -708px;
|
214
|
+
width: 16px;
|
215
|
+
height: 16px;
|
216
|
+
margin-left: -8px;
|
217
|
+
margin-top: -8px;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
@-ms-keyframes archetype-loader-position-small-2 {
|
222
|
+
from, to {
|
223
|
+
background-position: 0 -708px;
|
224
|
+
width: 16px;
|
225
|
+
height: 16px;
|
226
|
+
margin-left: -8px;
|
227
|
+
margin-top: -8px;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
|
231
|
+
@-o-keyframes archetype-loader-position-small-2 {
|
232
|
+
from, to {
|
233
|
+
background-position: 0 -708px;
|
234
|
+
width: 16px;
|
235
|
+
height: 16px;
|
236
|
+
margin-left: -8px;
|
237
|
+
margin-top: -8px;
|
238
|
+
}
|
239
|
+
}
|
240
|
+
|
241
|
+
@keyframes archetype-loader-position-small-2 {
|
242
|
+
from, to {
|
243
|
+
background-position: 0 -708px;
|
244
|
+
width: 16px;
|
245
|
+
height: 16px;
|
246
|
+
margin-left: -8px;
|
247
|
+
margin-top: -8px;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
@-webkit-keyframes archetype-loader-position-large-1 {
|
252
|
+
from, to {
|
253
|
+
background-position: 0 -462px;
|
254
|
+
width: 115px;
|
255
|
+
height: 115px;
|
256
|
+
margin-left: -57.5px;
|
257
|
+
margin-top: -57.5px;
|
258
|
+
}
|
259
|
+
}
|
260
|
+
|
261
|
+
@-moz-keyframes archetype-loader-position-large-1 {
|
262
|
+
from, to {
|
263
|
+
background-position: 0 -462px;
|
264
|
+
width: 115px;
|
265
|
+
height: 115px;
|
266
|
+
margin-left: -57.5px;
|
267
|
+
margin-top: -57.5px;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
@-ms-keyframes archetype-loader-position-large-1 {
|
272
|
+
from, to {
|
273
|
+
background-position: 0 -462px;
|
274
|
+
width: 115px;
|
275
|
+
height: 115px;
|
276
|
+
margin-left: -57.5px;
|
277
|
+
margin-top: -57.5px;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
|
281
|
+
@-o-keyframes archetype-loader-position-large-1 {
|
282
|
+
from, to {
|
283
|
+
background-position: 0 -462px;
|
284
|
+
width: 115px;
|
285
|
+
height: 115px;
|
286
|
+
margin-left: -57.5px;
|
287
|
+
margin-top: -57.5px;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
|
291
|
+
@keyframes archetype-loader-position-large-1 {
|
292
|
+
from, to {
|
293
|
+
background-position: 0 -462px;
|
294
|
+
width: 115px;
|
295
|
+
height: 115px;
|
296
|
+
margin-left: -57.5px;
|
297
|
+
margin-top: -57.5px;
|
298
|
+
}
|
299
|
+
}
|
300
|
+
|
301
|
+
@-webkit-keyframes archetype-loader-position-large-2 {
|
302
|
+
from, to {
|
303
|
+
background-position: 0 -577px;
|
304
|
+
width: 115px;
|
305
|
+
height: 115px;
|
306
|
+
margin-left: -57.5px;
|
307
|
+
margin-top: -57.5px;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
@-moz-keyframes archetype-loader-position-large-2 {
|
312
|
+
from, to {
|
313
|
+
background-position: 0 -577px;
|
314
|
+
width: 115px;
|
315
|
+
height: 115px;
|
316
|
+
margin-left: -57.5px;
|
317
|
+
margin-top: -57.5px;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
|
321
|
+
@-ms-keyframes archetype-loader-position-large-2 {
|
322
|
+
from, to {
|
323
|
+
background-position: 0 -577px;
|
324
|
+
width: 115px;
|
325
|
+
height: 115px;
|
326
|
+
margin-left: -57.5px;
|
327
|
+
margin-top: -57.5px;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
@-o-keyframes archetype-loader-position-large-2 {
|
332
|
+
from, to {
|
333
|
+
background-position: 0 -577px;
|
334
|
+
width: 115px;
|
335
|
+
height: 115px;
|
336
|
+
margin-left: -57.5px;
|
337
|
+
margin-top: -57.5px;
|
338
|
+
}
|
339
|
+
}
|
340
|
+
|
341
|
+
@keyframes archetype-loader-position-large-2 {
|
342
|
+
from, to {
|
343
|
+
background-position: 0 -577px;
|
344
|
+
width: 115px;
|
345
|
+
height: 115px;
|
346
|
+
margin-left: -57.5px;
|
347
|
+
margin-top: -57.5px;
|
348
|
+
}
|
349
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
.before {
|
2
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
3
|
+
}
|
4
|
+
|
5
|
+
.after-content {
|
6
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.innerHTML="➽",this.appendChild(this.el));
|
7
|
+
}
|
8
|
+
|
9
|
+
.before-style-content {
|
10
|
+
*zoom: expression(this.runtimeStyle.zoom="1", this.el=document.createElement("x-archetype"),this.el.innerHTML="testing ➽if this works",this.el.style.cssText="color: red; background: green;",this.insertBefore(this.el));
|
11
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.en_US {
|
2
|
+
content: "en_US";
|
3
|
+
}
|
4
|
+
|
5
|
+
.en_wild {
|
6
|
+
content: "en_*";
|
7
|
+
}
|
8
|
+
|
9
|
+
.wild_US {
|
10
|
+
content: "*_US";
|
11
|
+
}
|
12
|
+
|
13
|
+
.one {
|
14
|
+
content: "one of de_DE fr_FR pt_ en_US";
|
15
|
+
}
|
16
|
+
|
17
|
+
.not {
|
18
|
+
content: "not one of ja_JP pt_BR _GB de_";
|
19
|
+
}
|
20
|
+
|
21
|
+
.lang {
|
22
|
+
content: "en_US";
|
23
|
+
}
|