archetype-base-reset 1.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e4f493e620124ece75f4de847c80908775be5634
4
+ data.tar.gz: e997c78f9361d71e5d6629e650f1f1d6f5029714
5
+ SHA512:
6
+ metadata.gz: f9bd06ac2518a92704307497d9a12252a4a741bfe006d1d0b9206414bdec42777731b7def94f633f67fec8168376ecb9ce64d59502a9192d3b95e8b641a9e67d
7
+ data.tar.gz: 578fdaf06c1e101fd6765700a9112401ef3d74487f056a9ddc93dc407115e3c82d244e2057a13e9e699bf8b8c9a047377136f60b6a109d33307864aad054326d
data/LICENSE ADDED
@@ -0,0 +1,16 @@
1
+ Archetype
2
+ Copyright (c) 2013 LinkedIn Corp. All rights reserved.
3
+ Apache Software License 2.0
4
+
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing, software
13
+ distributed under the License is distributed on an "AS IS" BASIS,
14
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ See the License for the specific language governing permissions and
16
+ limitations under the License.
@@ -0,0 +1,9 @@
1
+ require 'archetype'
2
+
3
+ #
4
+ # register as an Archetype extension
5
+ #
6
+ Archetype::Extensions.register(
7
+ File.basename(__FILE__, '.rb'),
8
+ :path => File.expand_path(File.join(File.dirname(__FILE__), ".."))
9
+ )
@@ -0,0 +1,3 @@
1
+ module ArchetypeBaseReset
2
+ VERSION = File.read(File.join(File.dirname(__FILE__), "..", "..", "VERSION")).strip
3
+ end
@@ -0,0 +1,69 @@
1
+ // @category base
2
+
3
+ // leverage the Compass reset functions
4
+ // this is an adaptation of global-reset()
5
+ // @mixin base-reset
6
+ // @param $exclude {List} the list of features to exclude from the reset [html5|page|lists|typography|quotes|embeds|quotes|ime]
7
+ // @link http://compass-style.org/reference/compass/reset/utilities/#mixin-global-reset
8
+ @mixin base-reset($exclude: ()) {
9
+ $exclude: -archetype-list($exclude);
10
+ html, body, div, span, applet, object, iframe,
11
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
12
+ a, abbr, acronym, address, big, cite, code,
13
+ del, dfn, em, img, ins, kbd, q, s, samp,
14
+ small, strike, strong, sub, sup, tt, var,
15
+ b, u, i, center,
16
+ dl, dt, dd, ol, ul, li,
17
+ fieldset, form, label, legend,
18
+ table, caption, tbody, tfoot, thead, tr, th, td,
19
+ article, aside, canvas, details, embed,
20
+ figure, figcaption, footer, header, hgroup,
21
+ menu, nav, output, ruby, section, summary,
22
+ time, mark, audio, video {
23
+ // PAGE
24
+ @if(not index($exclude, reset-page)) {
25
+ @include reset-box-model();
26
+ }
27
+ // TYPOGRAPHY
28
+ @if(not index($exclude, reset-typography)) {
29
+ @include reset-font();
30
+ }
31
+ }
32
+ // PAGE
33
+ @if(not index($exclude, reset-page)) {
34
+ body {
35
+ @include reset-body();
36
+ }
37
+ }
38
+ // LISTS
39
+ @if(not index($exclude, reset-lists)) {
40
+ ol, ul {
41
+ @include reset-list-style();
42
+ }
43
+ }
44
+ // TABLES
45
+ @if(not index($exclude, reset-tables)) {
46
+ table {
47
+ @include reset-table();
48
+ }
49
+ caption, th, td {
50
+ @include reset-table-cell();
51
+ }
52
+ }
53
+ // QUOTES
54
+ @if(not index($exclude, reset-quotes)) {
55
+ q, blockquote {
56
+ @include reset-quotation();
57
+ }
58
+ }
59
+ // EMBEDS
60
+ @if(not index($exclude, reset-embeds)) {
61
+ a img {
62
+ @include reset-image-anchor-border();
63
+ }
64
+ }
65
+ // HTML5
66
+ @if(not index($exclude, reset-html5)) {
67
+ @include reset-html5();
68
+ }
69
+ }
@@ -0,0 +1,4 @@
1
+ description "An Archetype extension that provides hooks into Eric Meyer's CSS reset"
2
+
3
+ no_configuration_file!
4
+ skip_compilation!
metadata ADDED
@@ -0,0 +1,67 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: archetype-base-reset
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.alpha.1
5
+ platform: ruby
6
+ authors:
7
+ - Eugene ONeill
8
+ - LinkedIn
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-03-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: archetype
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.0.0.alpha.1
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.0.0.alpha.1
28
+ description: An Archetype extension that provides hooks into Eric Meyer's CSS reset
29
+ email: oneill.eugene@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/CHANGELOG.md"
35
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/README.md"
36
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/VERSION"
37
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/lib/archetype-base-reset.rb"
38
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/lib/archetype-base-reset/version.rb"
39
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/stylesheets/archetype/base/_reset.scss"
40
+ - "/Users/eoneill/workspace/archetype/extensions/archetype-base-reset/templates/project/manifest.rb"
41
+ - LICENSE
42
+ homepage: http://www.archetypecss.com/extensions/archetype-base-reset
43
+ licenses:
44
+ - Apache License (2.0)
45
+ metadata: {}
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">"
58
+ - !ruby/object:Gem::Version
59
+ version: 1.3.1
60
+ requirements: []
61
+ rubyforge_project:
62
+ rubygems_version: 2.2.2
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Archetype CSS Reset Extension
66
+ test_files: []
67
+ has_rdoc: