archetype 0.0.1.pre.13 → 1.0.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +97 -24
- data/README.md +11 -5
- data/VERSION +1 -0
- data/lib/archetype.rb +30 -18
- data/lib/archetype/actions/migrate.rb +152 -0
- data/lib/archetype/actions/theme.rb +6 -7
- data/lib/archetype/executor.rb +21 -7
- data/lib/archetype/extensions.rb +57 -0
- data/lib/archetype/functions.rb +2 -3
- data/lib/archetype/functions/css.rb +70 -0
- data/lib/archetype/functions/css/constants.rb +247 -0
- data/lib/archetype/functions/css/helpers.rb +265 -0
- data/lib/archetype/functions/css/routers.rb +28 -0
- data/lib/archetype/functions/css/routers/animation.rb +55 -0
- data/lib/archetype/functions/css/routers/background.rb +38 -0
- data/lib/archetype/functions/css/routers/border.rb +151 -0
- data/lib/archetype/functions/css/routers/list.rb +63 -0
- data/lib/archetype/functions/css/routers/margin_padding.rb +40 -0
- data/lib/archetype/functions/css/routers/outline.rb +56 -0
- data/lib/archetype/functions/css/routers/overflow.rb +11 -0
- data/lib/archetype/functions/css/routers/target.rb +38 -0
- data/lib/archetype/functions/css/routers/transition.rb +48 -0
- data/lib/archetype/functions/css/shorthands.rb +43 -0
- data/lib/archetype/functions/css/shorthands/animation.rb +18 -0
- data/lib/archetype/functions/css/shorthands/background.rb +68 -0
- data/lib/archetype/functions/css/shorthands/border.rb +102 -0
- data/lib/archetype/functions/hash.rb +3 -149
- data/lib/archetype/functions/hash/extend.rb +74 -0
- data/lib/archetype/functions/hash/shim.rb +48 -0
- data/lib/archetype/functions/helpers.rb +231 -22
- data/lib/archetype/functions/styleguide_memoizer.rb +18 -1
- data/lib/archetype/sass_extensions.rb +1 -3
- data/lib/archetype/sass_extensions/functions.rb +15 -1
- data/lib/archetype/sass_extensions/functions/environment.rb +152 -1
- data/lib/archetype/sass_extensions/functions/lists.rb +95 -45
- data/lib/archetype/sass_extensions/functions/locale.rb +107 -28
- data/lib/archetype/sass_extensions/functions/numbers.rb +118 -4
- data/lib/archetype/sass_extensions/functions/strings.rb +53 -0
- data/lib/archetype/sass_extensions/functions/styleguide.rb +43 -375
- data/lib/archetype/sass_extensions/functions/styleguide/components.rb +25 -0
- data/lib/archetype/sass_extensions/functions/styleguide/constants.rb +27 -0
- data/lib/archetype/sass_extensions/functions/styleguide/grammar.rb +80 -0
- data/lib/archetype/sass_extensions/functions/styleguide/helpers.rb +36 -0
- data/lib/archetype/sass_extensions/functions/styleguide/resolve.rb +159 -0
- data/lib/archetype/sass_extensions/functions/styleguide/styles.rb +146 -0
- data/lib/archetype/sass_extensions/functions/styleguide/themes.rb +40 -0
- data/lib/archetype/sass_extensions/functions/ui.rb +7 -57
- data/lib/archetype/sass_extensions/functions/ui/glyphs.rb +118 -0
- data/lib/archetype/sass_extensions/functions/ui/scopes.rb +96 -0
- data/lib/archetype/sass_extensions/functions/util.rb +14 -0
- data/lib/archetype/sass_extensions/functions/util/debug.rb +22 -0
- data/lib/archetype/sass_extensions/functions/util/hacks.rb +44 -0
- data/lib/archetype/sass_extensions/functions/util/images.rb +132 -0
- data/lib/archetype/sass_extensions/functions/util/misc.rb +220 -0
- data/lib/archetype/sass_extensions/functions/util/spacing.rb +83 -0
- data/lib/archetype/sass_extensions/functions/version.rb +12 -17
- data/lib/archetype/version.rb +1 -1
- data/stylesheets/archetype/_config.scss +1 -389
- data/stylesheets/archetype/_core.scss +15 -0
- data/stylesheets/archetype/_hacks.scss +4 -120
- data/stylesheets/archetype/_init.scss +4 -22
- data/stylesheets/archetype/_required.scss +3 -0
- data/stylesheets/archetype/_reset.scss +3 -0
- data/stylesheets/archetype/_styleguide.scss +2 -6
- data/stylesheets/archetype/_ui.scss +2 -358
- data/stylesheets/archetype/_util.scss +3 -10
- data/stylesheets/archetype/config/_core.scss +14 -0
- data/stylesheets/archetype/config/_environment.scss +19 -0
- data/stylesheets/archetype/config/_formatting.scss +63 -0
- data/stylesheets/archetype/config/_glyphs.scss +252 -0
- data/stylesheets/archetype/config/_resets.scss +7 -0
- data/stylesheets/archetype/config/_resolution.scss +3 -0
- data/stylesheets/archetype/config/_spacing.scss +5 -0
- data/stylesheets/archetype/config/_targeting.scss +18 -0
- data/stylesheets/archetype/config/_theme.scss +3 -0
- data/stylesheets/archetype/config/_typography.scss +56 -0
- data/stylesheets/archetype/config/_units.scss +2 -0
- data/stylesheets/archetype/config/_vars.scss +10 -0
- data/stylesheets/archetype/hacks/_core.scss +4 -0
- data/stylesheets/archetype/hacks/_hacks.scss +160 -0
- data/stylesheets/archetype/hacks/_init.scss +2 -0
- data/stylesheets/archetype/styleguide/_core.scss +4 -0
- data/stylesheets/archetype/styleguide/_init.scss +1 -0
- data/stylesheets/archetype/styleguide/_styleguide.scss +41 -18
- data/stylesheets/archetype/ui/_accessibility.scss +41 -0
- data/stylesheets/archetype/ui/_breakpoints.scss +19 -0
- data/stylesheets/archetype/ui/_core.scss +10 -0
- data/stylesheets/archetype/ui/_elements.scss +98 -0
- data/stylesheets/archetype/ui/_glyphs.scss +244 -0
- data/stylesheets/archetype/ui/_init.scss +5 -0
- data/stylesheets/archetype/ui/_layout.scss +37 -0
- data/stylesheets/archetype/ui/_locale.scss +12 -0
- data/stylesheets/archetype/ui/_scopes.scss +42 -0
- data/stylesheets/archetype/util/_core.scss +8 -0
- data/stylesheets/archetype/util/_debug.scss +9 -21
- data/stylesheets/archetype/util/_init.scss +1 -0
- data/stylesheets/archetype/util/_misc.scss +21 -86
- data/stylesheets/archetype/util/_spacing.scss +9 -40
- data/stylesheets/archetype/util/_styles.scss +189 -178
- data/stylesheets/archetype/util/_targeting.scss +51 -68
- data/templates/example/manifest.rb +2 -2
- data/templates/example/screen.scss +0 -1
- data/templates/project/manifest.rb +3 -8
- metadata +93 -263
- data/bin/archetype +0 -3
- data/lib/archetype/sass_extensions/monkey_patches.rb +0 -3
- data/lib/archetype/sass_extensions/monkey_patches/handle_include_loop.rb +0 -13
- data/stylesheets/archetype/_base.scss +0 -54
- data/stylesheets/archetype/_grid.scss +0 -3
- data/stylesheets/archetype/base/_h5bp.scss +0 -307
- data/stylesheets/archetype/base/_hybrid.scss +0 -25
- data/stylesheets/archetype/base/_normalize.scss +0 -634
- data/stylesheets/archetype/base/_reset.scss +0 -72
- data/stylesheets/archetype/grid/_config.scss +0 -14
- data/stylesheets/archetype/grid/_grid.scss +0 -391
- data/stylesheets/archetype/styleguide/_components.scss +0 -25
- data/stylesheets/archetype/styleguide/_helpers.scss +0 -215
- data/stylesheets/archetype/styleguide/_primitives.scss +0 -10
- data/stylesheets/archetype/styleguide/components/_alerts.scss +0 -59
- data/stylesheets/archetype/styleguide/components/_annotations.scss +0 -27
- data/stylesheets/archetype/styleguide/components/_bristol.scss +0 -15
- data/stylesheets/archetype/styleguide/components/_button_groups.scss +0 -47
- data/stylesheets/archetype/styleguide/components/_button_toolbars.scss +0 -17
- data/stylesheets/archetype/styleguide/components/_buttons.scss +0 -339
- data/stylesheets/archetype/styleguide/components/_canvas.scss +0 -15
- data/stylesheets/archetype/styleguide/components/_carets.scss +0 -336
- data/stylesheets/archetype/styleguide/components/_closes.scss +0 -63
- data/stylesheets/archetype/styleguide/components/_container.scss +0 -27
- data/stylesheets/archetype/styleguide/components/_copy.scss +0 -85
- data/stylesheets/archetype/styleguide/components/_flyouts.scss +0 -52
- data/stylesheets/archetype/styleguide/components/_headings.scss +0 -33
- data/stylesheets/archetype/styleguide/components/_headlines.scss +0 -64
- data/stylesheets/archetype/styleguide/components/_hovercards.scss +0 -27
- data/stylesheets/archetype/styleguide/components/_icons.scss +0 -17
- data/stylesheets/archetype/styleguide/components/_identities.scss +0 -34
- data/stylesheets/archetype/styleguide/components/_links.scss +0 -68
- data/stylesheets/archetype/styleguide/components/_loaders.scss +0 -154
- data/stylesheets/archetype/styleguide/components/_menu_items.scss +0 -31
- data/stylesheets/archetype/styleguide/components/_module.scss +0 -15
- data/stylesheets/archetype/styleguide/components/_pullquotes.scss +0 -29
- data/stylesheets/archetype/styleguide/components/_punchcut.scss +0 -18
- data/stylesheets/archetype/styleguide/components/_tooltips.scss +0 -28
- data/stylesheets/archetype/styleguide/primitives/_animations.scss +0 -17
- data/stylesheets/archetype/styleguide/primitives/_dimensions.scss +0 -50
- data/stylesheets/archetype/styleguide/primitives/_glyphs.scss +0 -11
- data/stylesheets/archetype/styleguide/primitives/_misc.scss +0 -8
- data/stylesheets/archetype/styleguide/primitives/_palettes.scss +0 -94
- data/stylesheets/archetype/styleguide/primitives/_shadows.scss +0 -23
- data/stylesheets/archetype/styleguide/primitives/_sprites.scss +0 -46
- data/stylesheets/archetype/styleguide/primitives/_textures.scss +0 -10
- data/stylesheets/archetype/styleguide/primitives/_typography.scss +0 -56
- data/stylesheets/archetype/util/_lists.scss +0 -57
- data/stylesheets/archetype/util/_rtl.scss +0 -279
- data/stylesheets/archetype/util/_units.scss +0 -18
- data/templates/project/screen.scss +0 -1
- 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 +0 -255
- 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 +0 -255
- 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-s7889ccc8c1.png +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 +0 -21
- data/test/fixtures/stylesheets/archetype/source/b.scss +0 -9
- data/test/fixtures/stylesheets/archetype/source/base.scss +0 -3
- data/test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss +0 -13
- data/test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss +0 -5
- data/test/fixtures/stylesheets/archetype/source/locale.scss +0 -43
- data/test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss +0 -21
- data/test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss +0 -18
- data/test/fixtures/stylesheets/archetype/source/styleguide/drop.scss +0 -101
- data/test/fixtures/stylesheets/archetype/source/styleguide/extend.scss +0 -24
- data/test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss +0 -23
- data/test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss +0 -85
- data/test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss +0 -18
- data/test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss +0 -40
- data/test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss +0 -22
- data/test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss +0 -35
- data/test/fixtures/stylesheets/archetype/source/ui/hide_element.scss +0 -5
- data/test/fixtures/stylesheets/archetype/source/ui/stroke.scss +0 -13
- data/test/fixtures/stylesheets/archetype/source/ui/triangle.scss +0 -13
- data/test/fixtures/stylesheets/archetype/source/utilities/associative.scss +0 -24
- data/test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss +0 -22
- data/test/fixtures/stylesheets/archetype/source/utilities/if-set.scss +0 -16
- data/test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss +0 -27
- data/test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss +0 -27
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss +0 -9
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss +0 -9
- data/test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss +0 -18
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss +0 -77
- data/test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss +0 -42
- data/test/fixtures/stylesheets/archetype/tmp/b.css +0 -14
- data/test/fixtures/stylesheets/archetype/tmp/base.css +0 -349
- data/test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css +0 -11
- data/test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css +0 -4
- data/test/fixtures/stylesheets/archetype/tmp/locale.css +0 -23
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css +0 -711
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css +0 -2119
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css +0 -63
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css +0 -11
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css +0 -10
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css +0 -21
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css +0 -13
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css +0 -28
- data/test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css +0 -177
- data/test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css +0 -127
- data/test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css +0 -8
- data/test/fixtures/stylesheets/archetype/tmp/ui/stroke.css +0 -17
- data/test/fixtures/stylesheets/archetype/tmp/ui/triangle.css +0 -35
- data/test/fixtures/stylesheets/archetype/tmp/utilities/associative.css +0 -9
- data/test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css +0 -8
- data/test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css +0 -9
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css +0 -29
- data/test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css +0 -29
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css +0 -11
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css +0 -16
- data/test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css +0 -15
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css +0 -105
- data/test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css +0 -55
- data/test/helpers/diff.rb +0 -49
- data/test/helpers/io.rb +0 -36
- data/test/helpers/test_case.rb +0 -62
- data/test/integrations/archetype_test.rb +0 -126
- data/test/test_helper.rb +0 -26
- data/test/units/sass_extensions_test.rb +0 -200
@@ -1,15 +1,7 @@
|
|
1
1
|
// @category utilities/targeting
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
@if $vendor != ie { @return true; }
|
6
|
-
$compass-not-legacy-ie-version: 9; // the version if IE that Compass starts considering `legacy`
|
7
|
-
$min-ie-legacy-support: 999;
|
8
|
-
@if($legacy-support-for-ie8) { $min-ie-legacy-support: 8; }
|
9
|
-
@if($legacy-support-for-ie7) { $min-ie-legacy-support: 7; }
|
10
|
-
@if($legacy-support-for-ie6) { $min-ie-legacy-support: 6; }
|
11
|
-
@return ($version >= $min-ie-legacy-support);
|
12
|
-
}
|
3
|
+
// throw an error if archetype/util has not been registered
|
4
|
+
$a-blackhole: require-archetype-modules(archetype/util);
|
13
5
|
|
14
6
|
// given a list of browsers and versions, this will consolidate them into a
|
15
7
|
// normalized list of targeted browsers
|
@@ -18,6 +10,7 @@
|
|
18
10
|
// @param $browsers {List} the browsers/versions to target
|
19
11
|
// @param $using {String} an optional string to append to the end of each item
|
20
12
|
// @param $vendors {List} the list of supported vendors for class targeting
|
13
|
+
// @param $threshold {Number} the minimum browser usage threshold to support
|
21
14
|
// @return $list {List} the normalized list of targeted browsers
|
22
15
|
// @usage:
|
23
16
|
// _getTargetedBrowsers(ie) => (.ie)
|
@@ -25,9 +18,9 @@
|
|
25
18
|
// _getTargetedBrowsers(ie 6 7) => (.ie.ie6, .ie.ie7)
|
26
19
|
// _getTargetedBrowsers(ie 10 lt 9) => (.ie.ie10, .ie.lte8)
|
27
20
|
// _getTargetedBrowsers(ie 6, $using: '&') => (.ie.ie6&) // e.g. for merging with other selectors
|
28
|
-
@function _getTargetedBrowsers($browsers, $using: '', $vendors: $CONFIG_BROWSER_VENDORS_CLASS) {
|
29
|
-
$browsers: -
|
30
|
-
$vendors: -
|
21
|
+
@function _getTargetedBrowsers($browsers, $using: '', $vendors: $CONFIG_BROWSER_VENDORS_CLASS, $threshold: $critical-usage-threshold) {
|
22
|
+
$browsers: -archetype-list($browsers);
|
23
|
+
$vendors: -archetype-list($vendors);
|
31
24
|
$comparators: (eq lt lte);
|
32
25
|
$comparator: false;
|
33
26
|
$vendor: false;
|
@@ -45,15 +38,14 @@
|
|
45
38
|
$comparator: $item;
|
46
39
|
}
|
47
40
|
// otherwise check if it's a browser vendor
|
48
|
-
@else if(index(-
|
41
|
+
@else if(index(-archetype-list($vendors), $item)) {
|
49
42
|
$vendor: $item;
|
50
43
|
// keep track of unversioned vendors
|
51
44
|
$unversioned: append($unversioned, unquote('.#{$vendor}#{$using}'), comma);
|
52
45
|
}
|
53
46
|
// otherwise assume it's a version
|
54
47
|
@else if(type-of($item) == number) {
|
55
|
-
$
|
56
|
-
$tmp: $item;
|
48
|
+
$tmp: if($vendor == ie, $item, 9999); // we only support versions for IE, otherwise, set an obsurdly high version
|
57
49
|
// if it's equalitative, prefix the vendor onto the version
|
58
50
|
@if(not $comparator or $comparator == eq) {
|
59
51
|
$item: #{$vendor}#{$item};
|
@@ -62,9 +54,10 @@
|
|
62
54
|
@else {
|
63
55
|
$item: #{$comparator}#{($item + $version-adjust)};
|
64
56
|
}
|
65
|
-
@if($vendor and
|
57
|
+
@if($vendor and support-legacy-browser($vendor, "#{$tmp}", $threshold: $critical-usage-threshold)) {
|
66
58
|
$item: '.#{$vendor}.#{$item}#{$using}';
|
67
59
|
$list: append($list, unquote($item), comma);
|
60
|
+
$unversioned: list-remove($unversioned, index($unversioned, '.#{$vendor}#{$using}'));
|
68
61
|
}
|
69
62
|
// restore temps
|
70
63
|
$version-adjust: 0;
|
@@ -83,90 +76,81 @@
|
|
83
76
|
// @param $browsers {List} the List of browsers to target
|
84
77
|
// @param $property {String} the CSS property
|
85
78
|
// @param $value {*} the CSS value
|
86
|
-
// @param $merge {
|
87
|
-
// @param $inline {
|
79
|
+
// @param $merge {Boolean} should the class name be merged e.g. `.ie8.example` vs `.ie8 .example`
|
80
|
+
// @param $inline {Boolean} if set to false, don't use inline hacks even if available
|
81
|
+
// @content
|
88
82
|
// @usage:
|
89
83
|
// =target-browser(ie 8, border, 10px);
|
90
84
|
// =target-browser(ie lte 7, padding, 0);
|
91
|
-
@mixin target-browser($browsers, $property:
|
85
|
+
@mixin target-browser($browsers, $property: null, $value: null, $merge: false, $inline: true, $threshold: $critical-usage-threshold) {
|
92
86
|
@if($CONFIG_BROWSER_ALLOW_HACKS) {
|
93
87
|
// target webkit, Safari3+, Chrome1+
|
94
|
-
@if(index2($browsers,
|
88
|
+
@if(index2($browsers, map-get($CONFIG_BROWSER_VENDORS_HACK, webkit-all) )) {
|
95
89
|
@if $CONFIG_BROWSER_WARN_ON_HACK {
|
96
|
-
@warn "using hack for webkit-all";
|
90
|
+
@warn "[archetype:target:browser] using hack for webkit-all";
|
97
91
|
}
|
98
92
|
// @link http://paulirish.com/2009/browser-specific-css-hacks/
|
99
93
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
100
94
|
& {
|
101
|
-
|
95
|
+
/* [archetype:target:browser:begin] --- webkit --- */
|
102
96
|
@include output-style($property, $value);
|
103
|
-
@
|
104
|
-
|
105
|
-
}
|
106
|
-
@include debug-message("[archetype:target-browser:end] --- webkit ---");
|
97
|
+
@content;
|
98
|
+
/* [archetype:target:browser:end] --- webkit --- */
|
107
99
|
}
|
108
100
|
}
|
109
101
|
}
|
110
102
|
// target gecko
|
111
|
-
@if(index2($browsers,
|
103
|
+
@if(index2($browsers, map-get($CONFIG_BROWSER_VENDORS_HACK, gecko-all) )) {
|
112
104
|
@if $CONFIG_BROWSER_WARN_ON_HACK {
|
113
|
-
@warn "using hack for gecko-all";
|
105
|
+
@warn "[archetype:target:browser] using hack for gecko-all";
|
114
106
|
}
|
115
107
|
// @link http://paulirish.com/2009/browser-specific-css-hacks/
|
116
108
|
&, x:-moz-any-link {
|
117
|
-
|
109
|
+
/* [archetype:target:browser:begin] --- gecko --- */
|
118
110
|
@include output-style($property, $value);
|
119
|
-
@
|
120
|
-
|
121
|
-
}
|
122
|
-
@include debug-message("[archetype:target-browser:end] --- gecko ---");
|
111
|
+
@content;
|
112
|
+
/* [archetype:target:browser:end] --- gecko --- */
|
123
113
|
}
|
124
114
|
}
|
125
115
|
// target opera
|
126
|
-
@if(index2($browsers,
|
116
|
+
@if(index2($browsers, map-get($CONFIG_BROWSER_VENDORS_HACK, opera-all) )) {
|
127
117
|
@if $CONFIG_BROWSER_WARN_ON_HACK {
|
128
|
-
@warn "using hack for opera-all";
|
118
|
+
@warn "[archetype:target:browser] using hack for opera-all";
|
129
119
|
}
|
130
120
|
// @link http://paulirish.com/2009/browser-specific-css-hacks/
|
131
121
|
&, x:-o-prefocus {
|
132
|
-
|
122
|
+
/* [archetype:target:browser:begin] --- opera --- */
|
133
123
|
@include output-style($property, $value);
|
134
|
-
@
|
135
|
-
|
136
|
-
}
|
137
|
-
@include debug-message("[archetype:target-browser:end] --- opera ---");
|
124
|
+
@content;
|
125
|
+
/* [archetype:target:browser:end] --- opera --- */
|
138
126
|
}
|
139
127
|
}
|
140
128
|
// if there's only one target browser and it's IE6 or IE lte 7, we can use an inline hack
|
141
|
-
@if($
|
142
|
-
$tmp: _getTargetedBrowsers($browsers);
|
129
|
+
@if $inline and type-of($property) != map {
|
130
|
+
$tmp: _getTargetedBrowsers($browsers, $threshold: $threshold);
|
143
131
|
@if(length($tmp) == 1) {
|
144
132
|
$support: ();
|
145
|
-
@if(
|
146
|
-
@if(
|
133
|
+
@if(support-legacy-browser('ie', '6', $threshold: $critical-usage-threshold)) { $support: append($support, '.ie.ie6'); }
|
134
|
+
@if(support-legacy-browser('ie', '7', $threshold: $critical-usage-threshold)) { $support: append($support, '.ie.lte7'); }
|
147
135
|
$idx: index2($support, $tmp);
|
148
136
|
@if($idx) {
|
149
137
|
$prefix: nth(('_', '*'), $idx);
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
@include debug-message("[archetype:target-browser:end] --- #{$browsers} ---");
|
155
|
-
$value: nil;
|
138
|
+
/* [archetype:target:browser:begin] --- #{$browsers} --- */
|
139
|
+
@include output-style(#{$prefix}#{$property}, $value);
|
140
|
+
/* [archetype:target:browser:end] --- #{$browsers} --- */
|
141
|
+
$value: null;
|
156
142
|
}
|
157
143
|
}
|
158
144
|
}
|
159
145
|
}
|
160
146
|
// target via class names
|
161
|
-
$classes: _getTargetedBrowsers($browsers, $using: if($merge, '&', ' &'));
|
147
|
+
$classes: _getTargetedBrowsers($browsers, $using: if($merge, '&', ' &'), $threshold: $threshold);
|
162
148
|
@if(length($classes) > 0) {
|
163
149
|
#{$classes} {
|
164
|
-
|
150
|
+
/* [archetype:target:browser:begin] --- #{$browsers} --- */
|
165
151
|
@include output-style($property, $value);
|
166
|
-
@
|
167
|
-
|
168
|
-
}
|
169
|
-
@include debug-message("[archetype:target-browser:end] --- #{$browsers} ---");
|
152
|
+
@content;
|
153
|
+
/* [archetype:target:browser:end] --- #{$browsers} --- */
|
170
154
|
}
|
171
155
|
}
|
172
156
|
}
|
@@ -176,9 +160,10 @@
|
|
176
160
|
// @param $os {List} the List of operating systems to target
|
177
161
|
// @param $property {String} the CSS property
|
178
162
|
// @param $value {*} the CSS value
|
179
|
-
// @param $merge {
|
180
|
-
@
|
181
|
-
|
163
|
+
// @param $merge {Boolean} should the class name be merged e.g. `.os-win.example` vs `.os-win .example`
|
164
|
+
// @content
|
165
|
+
@mixin target-os($os: (), $property: null, $value: null, $merge: false) {
|
166
|
+
$os: -archetype-list($os);
|
182
167
|
$using: if($merge, '&', ' &');
|
183
168
|
$classes: ();
|
184
169
|
// if `default` is in the list of OS's, then output without a prefix
|
@@ -186,10 +171,10 @@
|
|
186
171
|
$classes: append($classes, unquote('&'), comma);
|
187
172
|
}
|
188
173
|
// step through the list of vendor OS's
|
189
|
-
@each $vendor in $CONFIG_OS_VENDORS_CLASS {
|
174
|
+
@each $vendor, $aliases in $CONFIG_OS_VENDORS_CLASS {
|
190
175
|
// if it matches the requested os
|
191
|
-
@if index2(
|
192
|
-
$item: unquote('.#{
|
176
|
+
@if index2($aliases, $os) {
|
177
|
+
$item: unquote('.#{$vendor}#{$using}');
|
193
178
|
// if it's not already on the stack, push it
|
194
179
|
@if(not index($classes, $item)) {
|
195
180
|
$classes: append($classes, $item, comma);
|
@@ -198,12 +183,10 @@
|
|
198
183
|
}
|
199
184
|
@if(length($classes) > 0) {
|
200
185
|
#{$classes} {
|
201
|
-
|
186
|
+
/* [archetype:target-os:begin] --- #{$os} --- */
|
202
187
|
@include output-style($property, $value);
|
203
|
-
@
|
204
|
-
|
205
|
-
}
|
206
|
-
@include debug-message("[archetype:target-os:end] --- #{$os} ---");
|
188
|
+
@content;
|
189
|
+
/* [archetype:target-os:end] --- #{$os} --- */
|
207
190
|
}
|
208
191
|
}
|
209
192
|
}
|
@@ -5,9 +5,9 @@ discover :fonts
|
|
5
5
|
discover :html
|
6
6
|
|
7
7
|
help %q{
|
8
|
-
Learn more about the Archetype CSS framework at http://
|
8
|
+
Learn more about the Archetype CSS framework at http://www.archetypecss.com
|
9
9
|
}
|
10
10
|
|
11
11
|
welcome_message %q{
|
12
|
-
Learn more about the Archetype CSS framework at http://
|
12
|
+
Learn more about the Archetype CSS framework at http://www.archetypecss.com
|
13
13
|
}
|
@@ -1,9 +1,4 @@
|
|
1
|
-
|
1
|
+
description "Archetype is a Compass/Sass based framework for authoring configurable, composable UI components and patterns. The natural language syntax that Archetype provides allows your designers and developers to discuss UI compositions using the same vocabulary."
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
|
7
|
-
welcome_message %q{
|
8
|
-
Learn more about the Archetype CSS framework at http://github.com/linkedin/archetype/
|
9
|
-
}
|
3
|
+
no_configuration_file!
|
4
|
+
skip_compilation!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archetype
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1
|
4
|
+
version: 1.0.0.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene ONeill
|
@@ -9,81 +9,91 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-03-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: compass
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: '3.2'
|
21
|
-
- - "<"
|
18
|
+
- - "~>"
|
22
19
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
20
|
+
version: 1.0.0.alpha.19
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
|
-
- - "
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '3.2'
|
31
|
-
- - "<"
|
25
|
+
- - "~>"
|
32
26
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
27
|
+
version: 1.0.0.alpha.19
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
|
-
name:
|
29
|
+
name: sass
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
37
31
|
requirements:
|
38
|
-
- - "
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.12'
|
41
|
-
- - "<"
|
32
|
+
- - "~>"
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
34
|
+
version: '3.3'
|
44
35
|
type: :runtime
|
45
36
|
prerelease: false
|
46
37
|
version_requirements: !ruby/object:Gem::Requirement
|
47
38
|
requirements:
|
48
|
-
- - "
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '0.12'
|
51
|
-
- - "<"
|
39
|
+
- - "~>"
|
52
40
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
41
|
+
version: '3.3'
|
54
42
|
- !ruby/object:Gem::Dependency
|
55
43
|
name: hashery
|
56
44
|
requirement: !ruby/object:Gem::Requirement
|
57
45
|
requirements:
|
58
|
-
- - "
|
46
|
+
- - "~>"
|
59
47
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
48
|
+
version: '2.1'
|
61
49
|
type: :runtime
|
62
50
|
prerelease: false
|
63
51
|
version_requirements: !ruby/object:Gem::Requirement
|
64
52
|
requirements:
|
65
|
-
- - "
|
53
|
+
- - "~>"
|
66
54
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
68
|
-
description:
|
69
|
-
|
55
|
+
version: '2.1'
|
56
|
+
description: "\n Archetype is a Compass/Sass based framework for authoring configurable,\n
|
57
|
+
\ composable UI components and patterns. The natural language syntax that\n Archetype
|
58
|
+
provides allows your designers and developers to discuss UI\n compositions using
|
59
|
+
the same vocabulary.\n "
|
70
60
|
email: oneill.eugene@gmail.com
|
71
|
-
executables:
|
72
|
-
- archetype
|
61
|
+
executables: []
|
73
62
|
extensions: []
|
74
63
|
extra_rdoc_files: []
|
75
64
|
files:
|
76
65
|
- CHANGELOG.md
|
77
66
|
- LICENSE
|
78
67
|
- README.md
|
79
|
-
-
|
68
|
+
- VERSION
|
80
69
|
- lib/README.rdoc
|
81
70
|
- lib/archetype.rb
|
82
71
|
- lib/archetype/actions/help.rb
|
72
|
+
- lib/archetype/actions/migrate.rb
|
83
73
|
- lib/archetype/actions/theme.rb
|
84
74
|
- lib/archetype/executor.rb
|
75
|
+
- lib/archetype/extensions.rb
|
85
76
|
- lib/archetype/functions.rb
|
77
|
+
- lib/archetype/functions/css.rb
|
78
|
+
- lib/archetype/functions/css/constants.rb
|
79
|
+
- lib/archetype/functions/css/helpers.rb
|
80
|
+
- lib/archetype/functions/css/routers.rb
|
81
|
+
- lib/archetype/functions/css/routers/animation.rb
|
82
|
+
- lib/archetype/functions/css/routers/background.rb
|
83
|
+
- lib/archetype/functions/css/routers/border.rb
|
84
|
+
- lib/archetype/functions/css/routers/list.rb
|
85
|
+
- lib/archetype/functions/css/routers/margin_padding.rb
|
86
|
+
- lib/archetype/functions/css/routers/outline.rb
|
87
|
+
- lib/archetype/functions/css/routers/overflow.rb
|
88
|
+
- lib/archetype/functions/css/routers/target.rb
|
89
|
+
- lib/archetype/functions/css/routers/transition.rb
|
90
|
+
- lib/archetype/functions/css/shorthands.rb
|
91
|
+
- lib/archetype/functions/css/shorthands/animation.rb
|
92
|
+
- lib/archetype/functions/css/shorthands/background.rb
|
93
|
+
- lib/archetype/functions/css/shorthands/border.rb
|
86
94
|
- lib/archetype/functions/hash.rb
|
95
|
+
- lib/archetype/functions/hash/extend.rb
|
96
|
+
- lib/archetype/functions/hash/shim.rb
|
87
97
|
- lib/archetype/functions/helpers.rb
|
88
98
|
- lib/archetype/functions/styleguide_memoizer.rb
|
89
99
|
- lib/archetype/sass_extensions.rb
|
@@ -92,72 +102,70 @@ files:
|
|
92
102
|
- lib/archetype/sass_extensions/functions/lists.rb
|
93
103
|
- lib/archetype/sass_extensions/functions/locale.rb
|
94
104
|
- lib/archetype/sass_extensions/functions/numbers.rb
|
105
|
+
- lib/archetype/sass_extensions/functions/strings.rb
|
95
106
|
- lib/archetype/sass_extensions/functions/styleguide.rb
|
107
|
+
- lib/archetype/sass_extensions/functions/styleguide/components.rb
|
108
|
+
- lib/archetype/sass_extensions/functions/styleguide/constants.rb
|
109
|
+
- lib/archetype/sass_extensions/functions/styleguide/grammar.rb
|
110
|
+
- lib/archetype/sass_extensions/functions/styleguide/helpers.rb
|
111
|
+
- lib/archetype/sass_extensions/functions/styleguide/resolve.rb
|
112
|
+
- lib/archetype/sass_extensions/functions/styleguide/styles.rb
|
113
|
+
- lib/archetype/sass_extensions/functions/styleguide/themes.rb
|
96
114
|
- lib/archetype/sass_extensions/functions/ui.rb
|
115
|
+
- lib/archetype/sass_extensions/functions/ui/glyphs.rb
|
116
|
+
- lib/archetype/sass_extensions/functions/ui/scopes.rb
|
117
|
+
- lib/archetype/sass_extensions/functions/util.rb
|
118
|
+
- lib/archetype/sass_extensions/functions/util/debug.rb
|
119
|
+
- lib/archetype/sass_extensions/functions/util/hacks.rb
|
120
|
+
- lib/archetype/sass_extensions/functions/util/images.rb
|
121
|
+
- lib/archetype/sass_extensions/functions/util/misc.rb
|
122
|
+
- lib/archetype/sass_extensions/functions/util/spacing.rb
|
97
123
|
- lib/archetype/sass_extensions/functions/version.rb
|
98
|
-
- lib/archetype/sass_extensions/monkey_patches.rb
|
99
|
-
- lib/archetype/sass_extensions/monkey_patches/handle_include_loop.rb
|
100
124
|
- lib/archetype/version.rb
|
101
125
|
- stylesheets/_archetype.scss
|
102
|
-
- stylesheets/archetype/_base.scss
|
103
126
|
- stylesheets/archetype/_config.scss
|
104
|
-
- stylesheets/archetype/
|
127
|
+
- stylesheets/archetype/_core.scss
|
105
128
|
- stylesheets/archetype/_hacks.scss
|
106
129
|
- stylesheets/archetype/_init.scss
|
130
|
+
- stylesheets/archetype/_required.scss
|
131
|
+
- stylesheets/archetype/_reset.scss
|
107
132
|
- stylesheets/archetype/_styleguide.scss
|
108
133
|
- stylesheets/archetype/_ui.scss
|
109
134
|
- stylesheets/archetype/_util.scss
|
110
|
-
- stylesheets/archetype/
|
111
|
-
- stylesheets/archetype/
|
112
|
-
- stylesheets/archetype/
|
113
|
-
- stylesheets/archetype/
|
114
|
-
- stylesheets/archetype/
|
115
|
-
- stylesheets/archetype/
|
116
|
-
- stylesheets/archetype/
|
117
|
-
- stylesheets/archetype/
|
118
|
-
- stylesheets/archetype/
|
135
|
+
- stylesheets/archetype/config/_core.scss
|
136
|
+
- stylesheets/archetype/config/_environment.scss
|
137
|
+
- stylesheets/archetype/config/_formatting.scss
|
138
|
+
- stylesheets/archetype/config/_glyphs.scss
|
139
|
+
- stylesheets/archetype/config/_resets.scss
|
140
|
+
- stylesheets/archetype/config/_resolution.scss
|
141
|
+
- stylesheets/archetype/config/_spacing.scss
|
142
|
+
- stylesheets/archetype/config/_targeting.scss
|
143
|
+
- stylesheets/archetype/config/_theme.scss
|
144
|
+
- stylesheets/archetype/config/_typography.scss
|
145
|
+
- stylesheets/archetype/config/_units.scss
|
146
|
+
- stylesheets/archetype/config/_vars.scss
|
147
|
+
- stylesheets/archetype/hacks/_core.scss
|
148
|
+
- stylesheets/archetype/hacks/_hacks.scss
|
149
|
+
- stylesheets/archetype/hacks/_init.scss
|
150
|
+
- stylesheets/archetype/styleguide/_core.scss
|
151
|
+
- stylesheets/archetype/styleguide/_init.scss
|
119
152
|
- stylesheets/archetype/styleguide/_styleguide.scss
|
120
|
-
- stylesheets/archetype/
|
121
|
-
- stylesheets/archetype/
|
122
|
-
- stylesheets/archetype/
|
123
|
-
- stylesheets/archetype/
|
124
|
-
- stylesheets/archetype/
|
125
|
-
- stylesheets/archetype/
|
126
|
-
- stylesheets/archetype/
|
127
|
-
- stylesheets/archetype/
|
128
|
-
- stylesheets/archetype/
|
129
|
-
- stylesheets/archetype/
|
130
|
-
- stylesheets/archetype/styleguide/components/_copy.scss
|
131
|
-
- stylesheets/archetype/styleguide/components/_flyouts.scss
|
132
|
-
- stylesheets/archetype/styleguide/components/_headings.scss
|
133
|
-
- stylesheets/archetype/styleguide/components/_headlines.scss
|
134
|
-
- stylesheets/archetype/styleguide/components/_hovercards.scss
|
135
|
-
- stylesheets/archetype/styleguide/components/_icons.scss
|
136
|
-
- stylesheets/archetype/styleguide/components/_identities.scss
|
137
|
-
- stylesheets/archetype/styleguide/components/_links.scss
|
138
|
-
- stylesheets/archetype/styleguide/components/_loaders.scss
|
139
|
-
- stylesheets/archetype/styleguide/components/_menu_items.scss
|
140
|
-
- stylesheets/archetype/styleguide/components/_module.scss
|
141
|
-
- stylesheets/archetype/styleguide/components/_pullquotes.scss
|
142
|
-
- stylesheets/archetype/styleguide/components/_punchcut.scss
|
143
|
-
- stylesheets/archetype/styleguide/components/_tooltips.scss
|
144
|
-
- stylesheets/archetype/styleguide/primitives/_animations.scss
|
145
|
-
- stylesheets/archetype/styleguide/primitives/_dimensions.scss
|
146
|
-
- stylesheets/archetype/styleguide/primitives/_glyphs.scss
|
147
|
-
- stylesheets/archetype/styleguide/primitives/_misc.scss
|
148
|
-
- stylesheets/archetype/styleguide/primitives/_palettes.scss
|
149
|
-
- stylesheets/archetype/styleguide/primitives/_shadows.scss
|
150
|
-
- stylesheets/archetype/styleguide/primitives/_sprites.scss
|
151
|
-
- stylesheets/archetype/styleguide/primitives/_textures.scss
|
152
|
-
- stylesheets/archetype/styleguide/primitives/_typography.scss
|
153
|
+
- stylesheets/archetype/ui/_accessibility.scss
|
154
|
+
- stylesheets/archetype/ui/_breakpoints.scss
|
155
|
+
- stylesheets/archetype/ui/_core.scss
|
156
|
+
- stylesheets/archetype/ui/_elements.scss
|
157
|
+
- stylesheets/archetype/ui/_glyphs.scss
|
158
|
+
- stylesheets/archetype/ui/_init.scss
|
159
|
+
- stylesheets/archetype/ui/_layout.scss
|
160
|
+
- stylesheets/archetype/ui/_locale.scss
|
161
|
+
- stylesheets/archetype/ui/_scopes.scss
|
162
|
+
- stylesheets/archetype/util/_core.scss
|
153
163
|
- stylesheets/archetype/util/_debug.scss
|
154
|
-
- stylesheets/archetype/util/
|
164
|
+
- stylesheets/archetype/util/_init.scss
|
155
165
|
- stylesheets/archetype/util/_misc.scss
|
156
|
-
- stylesheets/archetype/util/_rtl.scss
|
157
166
|
- stylesheets/archetype/util/_spacing.scss
|
158
167
|
- stylesheets/archetype/util/_styles.scss
|
159
168
|
- stylesheets/archetype/util/_targeting.scss
|
160
|
-
- stylesheets/archetype/util/_units.scss
|
161
169
|
- templates/_theme/_components.scss
|
162
170
|
- templates/_theme/_config.scss
|
163
171
|
- templates/_theme/_core.scss
|
@@ -185,104 +193,6 @@ files:
|
|
185
193
|
- templates/example/vendor/archetype/fontawesome-webfont.ttf
|
186
194
|
- templates/example/vendor/archetype/fontawesome-webfont.woff
|
187
195
|
- templates/project/manifest.rb
|
188
|
-
- templates/project/screen.scss
|
189
|
-
- templates/project/vendor/archetype/animations/loaders/large/large.png
|
190
|
-
- templates/project/vendor/archetype/animations/loaders/large/large_dark.png
|
191
|
-
- templates/project/vendor/archetype/animations/loaders/large/large_dark_static.png
|
192
|
-
- templates/project/vendor/archetype/animations/loaders/large/large_static.png
|
193
|
-
- templates/project/vendor/archetype/animations/loaders/medium/medium.png
|
194
|
-
- templates/project/vendor/archetype/animations/loaders/medium/medium_dark.png
|
195
|
-
- templates/project/vendor/archetype/animations/loaders/medium/medium_dark_static.png
|
196
|
-
- templates/project/vendor/archetype/animations/loaders/medium/medium_static.png
|
197
|
-
- templates/project/vendor/archetype/animations/loaders/small/small.png
|
198
|
-
- templates/project/vendor/archetype/animations/loaders/small/small_dark.png
|
199
|
-
- templates/project/vendor/archetype/animations/loaders/small/small_dark_static.png
|
200
|
-
- templates/project/vendor/archetype/animations/loaders/small/small_static.png
|
201
|
-
- templates/project/vendor/archetype/fontawesome-webfont.eot
|
202
|
-
- templates/project/vendor/archetype/fontawesome-webfont.svg
|
203
|
-
- templates/project/vendor/archetype/fontawesome-webfont.ttf
|
204
|
-
- templates/project/vendor/archetype/fontawesome-webfont.woff
|
205
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.eot
|
206
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg
|
207
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf
|
208
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff
|
209
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png
|
210
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png
|
211
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png
|
212
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png
|
213
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_static.png
|
214
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium.png
|
215
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark.png
|
216
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark_static.png
|
217
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_static.png
|
218
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small.png
|
219
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png
|
220
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png
|
221
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png
|
222
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png
|
223
|
-
- test/fixtures/stylesheets/archetype/config.rb
|
224
|
-
- test/fixtures/stylesheets/archetype/source/b.scss
|
225
|
-
- test/fixtures/stylesheets/archetype/source/base.scss
|
226
|
-
- test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss
|
227
|
-
- test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss
|
228
|
-
- test/fixtures/stylesheets/archetype/source/locale.scss
|
229
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss
|
230
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss
|
231
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/drop.scss
|
232
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/extend.scss
|
233
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss
|
234
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss
|
235
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss
|
236
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
|
237
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss
|
238
|
-
- test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss
|
239
|
-
- test/fixtures/stylesheets/archetype/source/ui/hide_element.scss
|
240
|
-
- test/fixtures/stylesheets/archetype/source/ui/stroke.scss
|
241
|
-
- test/fixtures/stylesheets/archetype/source/ui/triangle.scss
|
242
|
-
- test/fixtures/stylesheets/archetype/source/utilities/associative.scss
|
243
|
-
- test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
|
244
|
-
- test/fixtures/stylesheets/archetype/source/utilities/if-set.scss
|
245
|
-
- test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss
|
246
|
-
- test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss
|
247
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss
|
248
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss
|
249
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
|
250
|
-
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
|
251
|
-
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
|
252
|
-
- test/fixtures/stylesheets/archetype/tmp/b.css
|
253
|
-
- test/fixtures/stylesheets/archetype/tmp/base.css
|
254
|
-
- test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
|
255
|
-
- test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
|
256
|
-
- test/fixtures/stylesheets/archetype/tmp/locale.css
|
257
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
|
258
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
|
259
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
|
260
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
|
261
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
|
262
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
|
263
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
|
264
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
|
265
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
|
266
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
|
267
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
|
268
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
|
269
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
|
270
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
|
271
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
|
272
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
|
273
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
|
274
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
|
275
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
|
276
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
|
277
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
|
278
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
|
279
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
|
280
|
-
- test/helpers/diff.rb
|
281
|
-
- test/helpers/io.rb
|
282
|
-
- test/helpers/test_case.rb
|
283
|
-
- test/integrations/archetype_test.rb
|
284
|
-
- test/test_helper.rb
|
285
|
-
- test/units/sass_extensions_test.rb
|
286
196
|
homepage: http://www.archetypecss.com/
|
287
197
|
licenses:
|
288
198
|
- Apache License (2.0)
|
@@ -306,86 +216,6 @@ rubyforge_project:
|
|
306
216
|
rubygems_version: 2.2.2
|
307
217
|
signing_key:
|
308
218
|
specification_version: 4
|
309
|
-
summary:
|
310
|
-
test_files:
|
311
|
-
|
312
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.svg
|
313
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.ttf
|
314
|
-
- test/fixtures/stylesheets/archetype/assets/fonts/fontawesome-webfont.woff
|
315
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large.png
|
316
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark.png
|
317
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_dark_static.png
|
318
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/large/large_static.png
|
319
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium.png
|
320
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark.png
|
321
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_dark_static.png
|
322
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/medium/medium_static.png
|
323
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small.png
|
324
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark.png
|
325
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_dark_static.png
|
326
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders/small/small_static.png
|
327
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/animations/loaders-s7889ccc8c1.png
|
328
|
-
- test/fixtures/stylesheets/archetype/assets/images/vendor/archetype/sprites/hovercard_tip.png
|
329
|
-
- test/fixtures/stylesheets/archetype/config.rb
|
330
|
-
- test/fixtures/stylesheets/archetype/source/b.scss
|
331
|
-
- test/fixtures/stylesheets/archetype/source/base.scss
|
332
|
-
- test/fixtures/stylesheets/archetype/source/hacks/ie_pseudo.scss
|
333
|
-
- test/fixtures/stylesheets/archetype/source/hacks/transparent_focusable.scss
|
334
|
-
- test/fixtures/stylesheets/archetype/source/locale.scss
|
335
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/alerts.scss
|
336
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/buttons.scss
|
337
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/drop.scss
|
338
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/extend.scss
|
339
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/fallback_styles.scss
|
340
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/invalid_structures.scss
|
341
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/multi_value.scss
|
342
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/nested_styleguides.scss
|
343
|
-
- test/fixtures/stylesheets/archetype/source/styleguide/selective_state.scss
|
344
|
-
- test/fixtures/stylesheets/archetype/source/ui/glyph_icon.scss
|
345
|
-
- test/fixtures/stylesheets/archetype/source/ui/hide_element.scss
|
346
|
-
- test/fixtures/stylesheets/archetype/source/ui/stroke.scss
|
347
|
-
- test/fixtures/stylesheets/archetype/source/ui/triangle.scss
|
348
|
-
- test/fixtures/stylesheets/archetype/source/utilities/associative.scss
|
349
|
-
- test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
|
350
|
-
- test/fixtures/stylesheets/archetype/source/utilities/if-set.scss
|
351
|
-
- test/fixtures/stylesheets/archetype/source/utilities/spacing/horizontal-spacing.scss
|
352
|
-
- test/fixtures/stylesheets/archetype/source/utilities/spacing/vertical-spacing.scss
|
353
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/filter.scss
|
354
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/font-family.scss
|
355
|
-
- test/fixtures/stylesheets/archetype/source/utilities/styles/z-index.scss
|
356
|
-
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-browser.scss
|
357
|
-
- test/fixtures/stylesheets/archetype/source/utilities/targeting/target-os.scss
|
358
|
-
- test/fixtures/stylesheets/archetype/tmp/b.css
|
359
|
-
- test/fixtures/stylesheets/archetype/tmp/base.css
|
360
|
-
- test/fixtures/stylesheets/archetype/tmp/hacks/ie_pseudo.css
|
361
|
-
- test/fixtures/stylesheets/archetype/tmp/hacks/transparent_focusable.css
|
362
|
-
- test/fixtures/stylesheets/archetype/tmp/locale.css
|
363
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/alerts.css
|
364
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/buttons.css
|
365
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/drop.css
|
366
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/extend.css
|
367
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/fallback_styles.css
|
368
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/invalid_structures.css
|
369
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/multi_value.css
|
370
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/nested_styleguides.css
|
371
|
-
- test/fixtures/stylesheets/archetype/tmp/styleguide/selective_state.css
|
372
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/glyph_icon.css
|
373
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/hide_element.css
|
374
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/stroke.css
|
375
|
-
- test/fixtures/stylesheets/archetype/tmp/ui/triangle.css
|
376
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/associative.css
|
377
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/custom_output_styler.css
|
378
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/if-set.css
|
379
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/horizontal-spacing.css
|
380
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/spacing/vertical-spacing.css
|
381
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/filter.css
|
382
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/font-family.css
|
383
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/styles/z-index.css
|
384
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-browser.css
|
385
|
-
- test/fixtures/stylesheets/archetype/tmp/utilities/targeting/target-os.css
|
386
|
-
- test/helpers/diff.rb
|
387
|
-
- test/helpers/io.rb
|
388
|
-
- test/helpers/test_case.rb
|
389
|
-
- test/integrations/archetype_test.rb
|
390
|
-
- test/test_helper.rb
|
391
|
-
- test/units/sass_extensions_test.rb
|
219
|
+
summary: A CSS UI Component Authoring Framework
|
220
|
+
test_files: []
|
221
|
+
has_rdoc:
|