bedrock 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,21 @@
1
+ # Bedrock
2
+
3
+ A work in progress ...
4
+
5
+ ## Installation
6
+
7
+ ...
8
+
9
+ ## Usage
10
+
11
+ ...
12
+
13
+ ## License
14
+
15
+ Copyright (c) 2011 Adam Stacoviak
16
+
17
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,9 @@
1
+ require 'compass'
2
+ Compass::Frameworks.register("bedrock", :path => "#{File.dirname(__FILE__)}/..")
3
+
4
+ module Bedrock
5
+
6
+ VERSION = "0.0.1"
7
+ DATE = "2011-10-04"
8
+
9
+ end
@@ -0,0 +1,3 @@
1
+ // @import "bedrock/reset"
2
+ @import "bedrock/typography"
3
+ @import "bedrock/utilities"
@@ -0,0 +1 @@
1
+ @import "color/greyscale"
@@ -0,0 +1,3 @@
1
+ @import "reset/bedrock_reset"
2
+
3
+ @include bedrock-reset
@@ -0,0 +1 @@
1
+ @import "typography/text"
@@ -0,0 +1 @@
1
+ @import "utilities/general"
@@ -0,0 +1,12 @@
1
+ // Gray scale
2
+ //
3
+ // Create a grayscale based on $gray
4
+
5
+ $gray: #aaa !default
6
+
7
+ $light-gray: lighten($gray, 10)
8
+ $lighter-gray: lighten($light-gray,10)
9
+ $lightest-gray: lighten($light-gray,20)
10
+ $dark-gray: darken($gray, 15)
11
+ $darker-gray: darken($dark-gray,10)
12
+ $darkest-gray: darken($dark-gray,20)
@@ -0,0 +1,108 @@
1
+ @mixin bedrock-reset
2
+ // XHTML, HTML4, HTML5 Reset
3
+
4
+ a, abbr, acronym, address, applet, article, aside, audio,
5
+ b, big, blockquote, body,
6
+ canvas, caption, center, cite, code,
7
+ dd, del, details, dfn, dialog, div, dl, dt,
8
+ em, embed,
9
+ fieldset, figcaption, figure, font, footer, form,
10
+ h1, h2, h3, h4, h5, h6, header, hgroup, hr, html,
11
+ i, iframe, img, ins,
12
+ kbd,
13
+ label, legend, li,
14
+ mark, menu, meter,
15
+ nav,
16
+ object, ol, output,
17
+ p, pre, progress,
18
+ q,
19
+ rp, rt, ruby,
20
+ s, samp, section, small, span, strike, strong, sub, summary, sup,
21
+ table, tbody, td, tfoot, th, thead, time, tr, tt,
22
+ u, ul,
23
+ var, video,
24
+ xmp
25
+ border: 0
26
+ margin: 0
27
+ padding: 0
28
+ font-size: 100%
29
+
30
+ html, body
31
+ height: 100%
32
+
33
+ // Override the default (display: inline)
34
+ // For browsers that don't recognize HTML5 tags
35
+ //
36
+ // References:
37
+ //
38
+ // 1. IE8 (and lower) requires a shiv: http://ejohn.org/blog/html5-shiv
39
+ article,
40
+ aside,
41
+ details,
42
+ figcaption,
43
+ figure,
44
+ footer,
45
+ header,
46
+ hgroup,
47
+ menu,
48
+ nav,
49
+ section
50
+ display: block
51
+
52
+ // Makes browsers agree
53
+ // IE + Opera = font-weight: bold
54
+ // Gecko + WebKit = font-weight: bolder
55
+ b,
56
+ strong
57
+ font-weight: bold
58
+
59
+ img
60
+ color: transparent
61
+ font-size: 0
62
+ vertical-align: middle
63
+ // For IE: http://css-tricks.com/ie-fix-bicubic-scaling-for-images
64
+ -ms-interpolation-mode: bicubic
65
+
66
+ // For IE6 + IE7
67
+ li
68
+ display: list-item
69
+
70
+ table
71
+ border-collapse: collapse
72
+ border-spacing: 0
73
+
74
+ th,
75
+ td,
76
+ caption
77
+ font-weight: normal
78
+ vertical-align: top
79
+ text-align: left
80
+
81
+ q
82
+ quotes: none
83
+
84
+ q:before,
85
+ q:after
86
+ content: ''
87
+ content: none
88
+
89
+ sub,
90
+ sup,
91
+ small
92
+ font-size: 75%
93
+
94
+ sub,
95
+ sup
96
+ line-height: 0
97
+ position: relative
98
+ vertical-align: baseline
99
+
100
+ sub
101
+ bottom: -0.25em
102
+
103
+ sup
104
+ top: -0.5em
105
+
106
+ // For IE9
107
+ svg
108
+ overflow: hidden
@@ -0,0 +1,2 @@
1
+ @import "text/font-smoothing"
2
+ @import "text/user-select"
@@ -0,0 +1,10 @@
1
+ // WebKit: font-smoothing
2
+ // Values: none, antialiased (default), subpixel-antialiased
3
+ //
4
+ // References:
5
+ //
6
+ // 1. http://maxvoltar.com/sandbox/fontsmoothing/
7
+ // 2. http://maxvoltar.com/archive/-webkit-font-smoothing
8
+
9
+ @mixin font-smoothing($value: antialiased)
10
+ -webkit-font-smoothing: $value
@@ -0,0 +1,11 @@
1
+ @import compass/css3/shared
2
+
3
+ // Content selection granularity: user-select
4
+ // Values: none (default), text, toggle, element, elements, all, inherit
5
+ //
6
+ // References:
7
+ //
8
+ // 1. http://www.w3.org/TR/2000/WD-css3-userint-20000216#user-select
9
+
10
+ @mixin user-select($value: none)
11
+ +experimental(user-select, $value)
@@ -0,0 +1,3 @@
1
+ @import "general/clearfix"
2
+ @import "general/layout"
3
+ @import "general/layout-classes"
@@ -0,0 +1,31 @@
1
+ // Bulletproof Clearfix
2
+ // Prescribed by Nathan Smith / @NathanSmith
3
+ //
4
+ // References:
5
+ //
6
+ // 1. https://gist.github.com/1260785
7
+
8
+ $include-clearfix-class: false !default
9
+ $clearfix-prefix: false !default
10
+
11
+ @mixin bulletproof-clearfix
12
+ zoom: 1
13
+ &:before, &:after
14
+ content: '.'
15
+ display: block
16
+ overflow: hidden
17
+ visibility: hidden
18
+ font-size: 0
19
+ line-height: 0
20
+ width: 0
21
+ height: 0
22
+ &:after
23
+ clear: both
24
+
25
+ @if $include-clearfix-class
26
+ @if $clearfix-prefix
27
+ .#{$clearfix-prefix}-clearfix
28
+ @include bulletproof-clearfix
29
+ @else
30
+ .clearfix
31
+ @include bulletproof-clearfix
@@ -0,0 +1,11 @@
1
+ $include-layout-classes: false !default
2
+
3
+ @if $include-layout-classes
4
+ .make-relative
5
+ position: relative !important
6
+
7
+ .float-left
8
+ float: left !important
9
+
10
+ .float-right
11
+ float: right !important
@@ -0,0 +1,6 @@
1
+ @mixin centered($width: auto)
2
+ display: block
3
+ margin:
4
+ right: auto
5
+ left: auto
6
+ width: unquote($width)
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bedrock
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Adam Stacoviak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-04 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: compass
16
+ requirement: &70102837310600 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.11.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70102837310600
25
+ description: Bedrock
26
+ email:
27
+ - adam@stacoviak.com
28
+ executables: []
29
+ extensions: []
30
+ extra_rdoc_files: []
31
+ files:
32
+ - README.mdown
33
+ - lib/bedrock.rb
34
+ - stylesheets/_bedrock.sass
35
+ - stylesheets/bedrock/_color.sass
36
+ - stylesheets/bedrock/_reset.sass
37
+ - stylesheets/bedrock/_typography.sass
38
+ - stylesheets/bedrock/_utilities.sass
39
+ - stylesheets/bedrock/color/_greyscale.sass
40
+ - stylesheets/bedrock/reset/_bedrock_reset.sass
41
+ - stylesheets/bedrock/typography/_text.sass
42
+ - stylesheets/bedrock/typography/text/_font-smoothing.sass
43
+ - stylesheets/bedrock/typography/text/_user-select.sass
44
+ - stylesheets/bedrock/utilities/_general.sass
45
+ - stylesheets/bedrock/utilities/general/_clearfix.sass
46
+ - stylesheets/bedrock/utilities/general/_layout-classes.sass
47
+ - stylesheets/bedrock/utilities/general/_layout.sass
48
+ homepage: https://github.com/adamstac/bedrock
49
+ licenses: []
50
+ post_install_message:
51
+ rdoc_options: []
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ none: false
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ segments:
61
+ - 0
62
+ hash: -36814405788646414
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.3.6
69
+ requirements: []
70
+ rubyforge_project:
71
+ rubygems_version: 1.8.10
72
+ signing_key:
73
+ specification_version: 3
74
+ summary: Bedrock is a work in-progress.
75
+ test_files: []