chriseppstein-compass 0.6.9 → 0.6.10
Sign up to get free protection for your applications and to get access to all the features.
- data/frameworks/blueprint.rb +2 -0
- data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +51 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +81 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +168 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +46 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +154 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +3 -0
- data/frameworks/blueprint/templates/project/manifest.rb +5 -0
- data/frameworks/blueprint/templates/project/print.sass +3 -0
- data/frameworks/blueprint/templates/project/screen.sass +8 -0
- data/frameworks/compass.rb +2 -0
- data/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +56 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
- data/frameworks/compass/templates/project/ie.sass +6 -0
- data/frameworks/compass/templates/project/manifest.rb +3 -0
- data/frameworks/compass/templates/project/print.sass +6 -0
- data/frameworks/compass/templates/project/screen.sass +7 -0
- data/frameworks/yui.rb +2 -0
- data/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/frameworks/yui/templates/project/manifest.rb +1 -0
- data/frameworks/yui/templates/project/screen.sass +4 -0
- metadata +100 -7
- data/Rakefile +0 -97
- data/VERSION.yml +0 -4
@@ -0,0 +1,37 @@
|
|
1
|
+
@import compass/utilities/text/nowrap.sass
|
2
|
+
@import compass/utilities/general/float.sass
|
3
|
+
|
4
|
+
// Most of these utility classes are not "semantic". If you use them,
|
5
|
+
// you are mixing your content and presentation. For shame!
|
6
|
+
|
7
|
+
=blueprint-utilities
|
8
|
+
// Regular clearing apply to column that should drop below previous ones.
|
9
|
+
.clear
|
10
|
+
:clear both
|
11
|
+
// turn off text wrapping for the element.
|
12
|
+
.nowrap
|
13
|
+
+nowrap
|
14
|
+
// Apply to an element that has floated children to make the bottom
|
15
|
+
// of the element fall _below_ the floated children.
|
16
|
+
.clearfix
|
17
|
+
+clearfix
|
18
|
+
.small
|
19
|
+
:font-size .8em
|
20
|
+
:margin-bottom 1.875em
|
21
|
+
:line-height 1.875em
|
22
|
+
.large
|
23
|
+
:font-size 1.2em
|
24
|
+
:line-height 2.5em
|
25
|
+
:margin-bottom 1.25em
|
26
|
+
.first
|
27
|
+
:margin-left 0
|
28
|
+
:padding-left 0
|
29
|
+
.last
|
30
|
+
:margin-right 0
|
31
|
+
:padding-right 0
|
32
|
+
.top
|
33
|
+
:margin-top 0
|
34
|
+
:padding-top 0
|
35
|
+
.bottom
|
36
|
+
:margin-bottom 0
|
37
|
+
:padding-bottom 0
|
@@ -0,0 +1,49 @@
|
|
1
|
+
@import compass/utilities/general/float.sass
|
2
|
+
@import blueprint/modules/buttons.sass
|
3
|
+
|
4
|
+
//
|
5
|
+
Use the following HTML code to place the buttons on your site:
|
6
|
+
|
7
|
+
<button type="submit" class="button positive">
|
8
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
9
|
+
</button>
|
10
|
+
|
11
|
+
<a class="button" href="/password/reset/">
|
12
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
13
|
+
</a>
|
14
|
+
|
15
|
+
<a href="#" class="button negative">
|
16
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
17
|
+
</a>
|
18
|
+
|
19
|
+
a.button
|
20
|
+
// you can pass "left" or "right" to +anchor-button to float it in that direction
|
21
|
+
// or you can pass no argument to leave it inline-block (cross browser safe!) within
|
22
|
+
// the flow of your page.
|
23
|
+
+anchor-button("left")
|
24
|
+
// All the button color mixins take 4 optional arguments:
|
25
|
+
// font color, background color, border color, border highlight color
|
26
|
+
// the first three default to constants set in blueprint/modules/buttons.sass
|
27
|
+
// the last one defaults to a shade lighter than the border color.
|
28
|
+
+button-colors
|
29
|
+
+button-hover-colors
|
30
|
+
+button-active-colors
|
31
|
+
|
32
|
+
button
|
33
|
+
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
|
34
|
+
+button-button("left")
|
35
|
+
+button-colors
|
36
|
+
+button-hover-colors
|
37
|
+
+button-active-colors
|
38
|
+
|
39
|
+
// We can change the colors for buttons of certain classes, etc.
|
40
|
+
a.positive, button.positive
|
41
|
+
:color #529214
|
42
|
+
+button-hover-colors(#529214, #E6EFC2, #C6D880)
|
43
|
+
+button-active-colors(#FFF, #529214, #529214)
|
44
|
+
|
45
|
+
a.negative, button.negative
|
46
|
+
:color #D12F19
|
47
|
+
+button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
|
48
|
+
+button-active-colors(#FFF, #D12F19, #D12F19)
|
49
|
+
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
@import blueprint/modules/link_icons.sass
|
2
|
+
|
3
|
+
// This turns link icons on for all links. You can change the scoping selector from
|
4
|
+
// body to something more specific if you prefer.
|
5
|
+
body
|
6
|
+
+link-icons
|
7
|
+
// Use this class if a link gets an icon when it shouldn't.
|
8
|
+
a.noicon
|
9
|
+
+no-link-icon
|
10
|
+
// Not all links have a url structure that can be detected,
|
11
|
+
// So you can set them explicitly yourself like so:
|
12
|
+
a#this-is-a-pdf-link
|
13
|
+
+link-icon("pdf.png")
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,10 @@
|
|
1
|
+
stylesheet "link_icons.sass", :media => 'screen, projection'
|
2
|
+
|
3
|
+
image 'link_icons/doc.png'
|
4
|
+
image 'link_icons/email.png'
|
5
|
+
image 'link_icons/external.png'
|
6
|
+
image 'link_icons/feed.png'
|
7
|
+
image 'link_icons/im.png'
|
8
|
+
image 'link_icons/pdf.png'
|
9
|
+
image 'link_icons/visited.png'
|
10
|
+
image 'link_icons/xls.png'
|
Binary file
|
@@ -0,0 +1,8 @@
|
|
1
|
+
@import blueprint.sass
|
2
|
+
@import blueprint/modules/scaffolding.sass
|
3
|
+
@import compass/reset.sass
|
4
|
+
|
5
|
+
+blueprint
|
6
|
+
// Remove the scaffolding when you're ready to start doing visual design.
|
7
|
+
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
8
|
+
+blueprint-scaffolding
|
@@ -0,0 +1 @@
|
|
1
|
+
@import compass/utilities.sass
|
@@ -0,0 +1 @@
|
|
1
|
+
@import layout/sticky_footer.sass
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//
|
2
|
+
This logo was designed by Jared Hardy <jared@jaredhardy.com>
|
3
|
+
This work is licensed under the Creative Commons Attribution 3.0 United States License.
|
4
|
+
To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/
|
5
|
+
or send a letter to:
|
6
|
+
Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
7
|
+
|
8
|
+
=unobtrusive-logo(!size = 1em)
|
9
|
+
:font-family Monaco, Courier, "Lucida Sans Unicode", monospace
|
10
|
+
:font-size= !size
|
11
|
+
:color #888
|
12
|
+
.selector
|
13
|
+
:vertical-align middle
|
14
|
+
:font-size= 1.3em
|
15
|
+
.brace
|
16
|
+
:vertical-align middle
|
17
|
+
:font bold 1.7em Georgia, "Times New Roman", serif
|
18
|
+
:color #CCC
|
19
|
+
:margin= 0 -0.2em
|
20
|
+
.rule
|
21
|
+
:vertical-align middle
|
22
|
+
:margin= 0 -0.2em
|
23
|
+
|
24
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Based on http://ryanfait.com/resources/footer-stick-to-bottom-of-page/
|
2
|
+
// Mix into the top level.
|
3
|
+
// Footer element must be outside of root wrapper element.
|
4
|
+
// Footer must be a fixed height.
|
5
|
+
|
6
|
+
=sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer")
|
7
|
+
html, body
|
8
|
+
:height 100%
|
9
|
+
#{!root_selector}
|
10
|
+
:min-height 100%
|
11
|
+
:margin-bottom= -!footer_height
|
12
|
+
#{!root_footer_selector}
|
13
|
+
:height= !footer_height
|
14
|
+
#{!footer_selector}
|
15
|
+
:clear both
|
16
|
+
:position relative
|
17
|
+
:height= !footer_height
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// Classes that are useful for controlling what gets printed.
|
2
|
+
// You must mix +print-utilities into your print stylesheet
|
3
|
+
// and +print-utilities("screen") into your screen stylesheet.
|
4
|
+
// Note: these aren't semantic.
|
5
|
+
=print-utilities(!media = "print")
|
6
|
+
@if !media == "print"
|
7
|
+
.noprint,
|
8
|
+
.no-print
|
9
|
+
:display none
|
10
|
+
address, blockquote, center, dir, div, dd, dl, dt,
|
11
|
+
fieldset, form, frameset, h1, h2, h3, h4, h5, h6, hr,
|
12
|
+
isindex, li, menu, noframes, noscript, ol, p, pre,
|
13
|
+
table, tbody, td, tfoot, th, thead, tr, ul
|
14
|
+
&.print-only
|
15
|
+
:display block
|
16
|
+
a, abbr, acronym, b, basefont, bdo, big, br, cite,
|
17
|
+
code, dfn, em, font, i, img, input, kbd, label, q, s,
|
18
|
+
samp, select, small, span, strike, strong, sub, sup,
|
19
|
+
textarea, tt, u, var
|
20
|
+
&.print-only
|
21
|
+
:display inline
|
22
|
+
@else
|
23
|
+
.print-only
|
24
|
+
:display none
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@import hacks.sass
|
2
|
+
|
3
|
+
//**
|
4
|
+
Extends the element to enclose any floats it contains.
|
5
|
+
This basic method is preferred for the usual case, when positioned content will not show outside the bounds of the container.
|
6
|
+
Recommendations include using this in conjunction with a width:
|
7
|
+
http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
|
8
|
+
=clearfix
|
9
|
+
:overflow hidden
|
10
|
+
+has-layout
|
11
|
+
|
12
|
+
//**
|
13
|
+
Extends the element to enclose any floats it contains.
|
14
|
+
This older "Easy Clearing" method has the advantage of allowing positioned elements to hang outside the bounds of the container, at the expense of more tricky CSS.
|
15
|
+
http://www.positioniseverything.net/easyclearing.html
|
16
|
+
=pie-clearfix
|
17
|
+
&:after
|
18
|
+
:content " "
|
19
|
+
:display block
|
20
|
+
:height 0
|
21
|
+
:clear both
|
22
|
+
:overflow hidden
|
23
|
+
:visibility hidden
|
24
|
+
+has-layout
|
@@ -0,0 +1,17 @@
|
|
1
|
+
//**\\
|
2
|
+
Float
|
3
|
+
|
4
|
+
@import clearfix.sass
|
5
|
+
|
6
|
+
// Implementation of float:left with fix for double-margin bug
|
7
|
+
=float-left
|
8
|
+
+float("left")
|
9
|
+
|
10
|
+
// Implementation of float:right with fix for double-margin bug
|
11
|
+
=float-right
|
12
|
+
+float("right")
|
13
|
+
|
14
|
+
// Available as alternate syntax with just +float
|
15
|
+
=float(!side = "left")
|
16
|
+
:display inline
|
17
|
+
:float= !side
|
@@ -0,0 +1,56 @@
|
|
1
|
+
// Global reset rules.
|
2
|
+
// For more specific resets, use the reset mixins provided below
|
3
|
+
=global-reset
|
4
|
+
html, body
|
5
|
+
+reset
|
6
|
+
+nested-reset
|
7
|
+
|
8
|
+
// Reset all elements within some selector scope.To reset the selector itself,
|
9
|
+
// mixin the appropriate reset mixin for that element type as well. This could be
|
10
|
+
// useful if you want to style a part of your page in a dramatically different way.
|
11
|
+
=nested-reset
|
12
|
+
div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
|
13
|
+
pre, a, abbr, acronym, address, code, del, dfn, em, img,
|
14
|
+
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr
|
15
|
+
+reset
|
16
|
+
blockquote, q
|
17
|
+
+reset-quotation
|
18
|
+
th, td, caption
|
19
|
+
+reset-table-cell
|
20
|
+
table
|
21
|
+
+reset-table
|
22
|
+
a img
|
23
|
+
:border none
|
24
|
+
|
25
|
+
=reset-box-model
|
26
|
+
:margin 0
|
27
|
+
:padding 0
|
28
|
+
:border 0
|
29
|
+
|
30
|
+
=reset
|
31
|
+
+reset-box-model
|
32
|
+
:font
|
33
|
+
:weight inherit
|
34
|
+
:style inherit
|
35
|
+
:size 100%
|
36
|
+
:family inherit
|
37
|
+
:vertical-align baseline
|
38
|
+
|
39
|
+
=reset-quotation
|
40
|
+
+reset
|
41
|
+
:quotes "" ""
|
42
|
+
&:before,
|
43
|
+
&:after
|
44
|
+
:content ""
|
45
|
+
|
46
|
+
=reset-table-cell
|
47
|
+
+reset
|
48
|
+
:text-align left
|
49
|
+
:font-weight normal
|
50
|
+
:vertical-align middle
|
51
|
+
|
52
|
+
=reset-table
|
53
|
+
+reset
|
54
|
+
:border-collapse separate
|
55
|
+
:border-spacing 0
|
56
|
+
:vertical-align middle
|
File without changes
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// Emits styles for a tag cloud
|
2
|
+
=tag-cloud(!base_size = 1em)
|
3
|
+
:font-size= !base_size
|
4
|
+
:line-height= 1.2 * !base_size
|
5
|
+
.xxs, .xs, .s, .l, .xl, .xxl
|
6
|
+
:line-height 1.2 !base_size
|
7
|
+
.xxs
|
8
|
+
:font-size= !base_size / 2.0
|
9
|
+
.xs
|
10
|
+
:font-size= 2.0 * !base_size / 3.0
|
11
|
+
.s
|
12
|
+
:font-size= 3.0 * !base_size / 4.0
|
13
|
+
.l
|
14
|
+
:font-size= 4.0 * !base_size / 3.0
|
15
|
+
.xl
|
16
|
+
:font-size= 3.0 * !base_size / 2.0
|
17
|
+
.xxl
|
18
|
+
:font-size= 2.0 * !base_size
|
19
|
+
|