chriseppstein-compass 0.6.7 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +6 -0
- data/Rakefile +13 -15
- data/VERSION.yml +4 -0
- metadata +24 -158
- data/Manifest +0 -232
- data/VERSION +0 -1
- data/compass.gemspec +0 -36
- data/frameworks/blueprint.rb +0 -2
- data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -51
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -83
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -15
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +0 -84
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +0 -33
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +0 -9
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +0 -81
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -43
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +0 -168
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -58
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +0 -44
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +0 -141
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -104
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +0 -46
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -154
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +0 -37
- data/frameworks/blueprint/templates/buttons/buttons.sass +0 -49
- 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 +0 -5
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +0 -13
- 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 +0 -10
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +0 -3
- data/frameworks/blueprint/templates/project/manifest.rb +0 -5
- data/frameworks/blueprint/templates/project/print.sass +0 -3
- data/frameworks/blueprint/templates/project/screen.sass +0 -8
- data/frameworks/compass.rb +0 -2
- data/frameworks/compass/stylesheets/_compass.sass +0 -1
- data/frameworks/compass/stylesheets/compass/_layout.sass +0 -1
- data/frameworks/compass/stylesheets/compass/_misc.sass +0 -24
- data/frameworks/compass/stylesheets/compass/_reset.sass +0 -3
- data/frameworks/compass/stylesheets/compass/_utilities.sass +0 -5
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +0 -17
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +0 -6
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +0 -2
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +0 -17
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +0 -6
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +0 -6
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +0 -56
- data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +0 -21
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +0 -52
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +0 -29
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +0 -10
- data/frameworks/compass/templates/project/ie.sass +0 -6
- data/frameworks/compass/templates/project/manifest.rb +0 -3
- data/frameworks/compass/templates/project/print.sass +0 -6
- data/frameworks/compass/templates/project/screen.sass +0 -7
- data/frameworks/yui.rb +0 -2
- data/frameworks/yui/COPYRIGHT +0 -15
- data/frameworks/yui/stylesheets/_yui.sass +0 -7
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +0 -60
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +0 -38
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +0 -341
- data/frameworks/yui/stylesheets/yui/modules/_reset.sass +0 -61
- data/frameworks/yui/templates/project/manifest.rb +0 -1
- data/frameworks/yui/templates/project/screen.sass +0 -4
@@ -1,24 +0,0 @@
|
|
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
|
@@ -1,24 +0,0 @@
|
|
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
|
@@ -1,17 +0,0 @@
|
|
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
|
@@ -1,56 +0,0 @@
|
|
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
|
@@ -1,19 +0,0 @@
|
|
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
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
// Set all the colors for a link with one mixin call
|
2
|
-
// Order of arguments is:
|
3
|
-
// normal, hover, active, visited, focus
|
4
|
-
// states not specified will inherit.
|
5
|
-
// Mixin like so:
|
6
|
-
// a
|
7
|
-
// +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
|
8
|
-
|
9
|
-
=link-colors(!normal, !hover = false, !active = false, !visited = false, !focus = false)
|
10
|
-
:color= !normal
|
11
|
-
@if !visited
|
12
|
-
&:visited
|
13
|
-
:color= !visited
|
14
|
-
@if !focus
|
15
|
-
&:focus
|
16
|
-
:color= !focus
|
17
|
-
@if !hover
|
18
|
-
&:hover
|
19
|
-
:color= !hover
|
20
|
-
@if !active
|
21
|
-
&:active
|
22
|
-
:color= !active
|
23
|
-
|
24
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
// Turn off the bullet for an element of a list
|
2
|
-
=no-bullet
|
3
|
-
:list-style-type none
|
4
|
-
:margin-left 0px
|
5
|
-
|
6
|
-
// turns off the bullets for an entire list
|
7
|
-
=no-bullets
|
8
|
-
li
|
9
|
-
+no-bullet
|
10
|
-
|
11
|
-
// Make a list(ul/ol) have an image bullet
|
12
|
-
// mixin should be used like this for an icon that is 5x7:
|
13
|
-
// ul.pretty
|
14
|
-
// +pretty-bullets("my-icon.png", 5px, 7px)
|
15
|
-
=pretty-bullets(!bullet_icon, !width, !height, !line_height = 18px, !padding = 14px)
|
16
|
-
:margin-left 0
|
17
|
-
li
|
18
|
-
:padding-left= !padding
|
19
|
-
:background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2)
|
20
|
-
:list-style-type none
|
21
|
-
|
@@ -1,52 +0,0 @@
|
|
1
|
-
//**\\
|
2
|
-
Horizontal list layout module.
|
3
|
-
|
4
|
-
Easy mode using simple descendant li selectors:
|
5
|
-
|
6
|
-
ul.nav
|
7
|
-
+horizontal-list
|
8
|
-
|
9
|
-
Advanced mode:
|
10
|
-
If you need to target the list items using a different selector then use
|
11
|
-
+horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
|
12
|
-
This may help when working on layouts involving nested lists. For example:
|
13
|
-
|
14
|
-
ul.nav
|
15
|
-
+horizontal-list-container
|
16
|
-
> li
|
17
|
-
+horizontal-list-item
|
18
|
-
|
19
|
-
@import bullets.sass
|
20
|
-
@import compass/utilities/general/reset.sass
|
21
|
-
@import compass/utilities/general/float.sass
|
22
|
-
|
23
|
-
//**
|
24
|
-
Can be mixed into any selector that target a ul or ol that is meant
|
25
|
-
to have a horizontal layout. Used to implement +horizontal-list.
|
26
|
-
=horizontal-list-container
|
27
|
-
+reset-box-model
|
28
|
-
+clearfix
|
29
|
-
|
30
|
-
//**
|
31
|
-
Can be mixed into any li selector that is meant to participate in a horizontal layout.
|
32
|
-
Used to implement +horizontal-list.
|
33
|
-
=horizontal-list-item(!padding = 4px)
|
34
|
-
+no-bullet
|
35
|
-
:white-space nowrap
|
36
|
-
+float-left
|
37
|
-
:padding
|
38
|
-
:left= !padding
|
39
|
-
:right= !padding
|
40
|
-
&.first
|
41
|
-
:padding-left 0px
|
42
|
-
&.last
|
43
|
-
:padding-right 0px
|
44
|
-
|
45
|
-
//**
|
46
|
-
A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
|
47
|
-
This is not an inline list.
|
48
|
-
=horizontal-list(!padding = 4px)
|
49
|
-
+horizontal-list-item-container
|
50
|
-
li
|
51
|
-
+horizontal-list-item(!padding)
|
52
|
-
|
@@ -1,29 +0,0 @@
|
|
1
|
-
// makes a list inline.
|
2
|
-
|
3
|
-
=inline-list
|
4
|
-
:list-style-type none
|
5
|
-
:margin 0px
|
6
|
-
:padding 0px
|
7
|
-
:display inline
|
8
|
-
li
|
9
|
-
:margin 0px
|
10
|
-
:padding 0px
|
11
|
-
:display inline
|
12
|
-
|
13
|
-
// makes an inlin list that is comma delimited.
|
14
|
-
// use of this recipe is not recommended at this time due to browser support issues.
|
15
|
-
//
|
16
|
-
// use of :content and :after is not fully supported in all browsers.
|
17
|
-
// See http://www.quirksmode.org/css/contents.html#t15 for the support matrix
|
18
|
-
//
|
19
|
-
// :last-child is not fully supported
|
20
|
-
// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
|
21
|
-
|
22
|
-
=comma-delimited-list
|
23
|
-
+inline-list
|
24
|
-
li
|
25
|
-
&:after
|
26
|
-
:content ", "
|
27
|
-
&:last-child, &.last
|
28
|
-
&:after
|
29
|
-
:content ""
|
data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
=alternating-rows-and-columns(!even_row_color, !odd_row_color, !dark_intersection, !header_color = #FFF, !footer_color = #FFF)
|
2
|
-
th
|
3
|
-
:background-color= !header_color
|
4
|
-
&.even
|
5
|
-
:background-color= !header_color - !dark_intersection
|
6
|
-
tr.odd
|
7
|
-
td
|
8
|
-
:background-color= !odd_row_color
|
9
|
-
&.even
|
10
|
-
:background-color= !odd_row_color - !dark_intersection
|
11
|
-
tr.even
|
12
|
-
td
|
13
|
-
:background-color= !even_row_color
|
14
|
-
&.even
|
15
|
-
:background-color= !even_row_color - !dark_intersection
|
16
|
-
tfoot
|
17
|
-
th, td
|
18
|
-
:background-color= !footer_color
|
19
|
-
&.even
|
20
|
-
:background-color= !footer_color - !dark_intersection
|
@@ -1,27 +0,0 @@
|
|
1
|
-
=outer-table-borders(!width = 2px, !color = black)
|
2
|
-
:border= !width "solid" !color
|
3
|
-
thead
|
4
|
-
th
|
5
|
-
:border-bottom= !width "solid" !color
|
6
|
-
tfoot
|
7
|
-
th, td
|
8
|
-
:border-top= !width "solid" !color
|
9
|
-
th
|
10
|
-
&:first-child
|
11
|
-
:border-right= !width "solid" !color
|
12
|
-
|
13
|
-
=inner-table-borders(!width = 2px, !color = black)
|
14
|
-
th, td
|
15
|
-
:border
|
16
|
-
:right= !width "solid" !color
|
17
|
-
:bottom= !width "solid" !color
|
18
|
-
:left-width 0px
|
19
|
-
:top-width 0px
|
20
|
-
&:last-child,
|
21
|
-
&.last
|
22
|
-
:border-right-width 0px
|
23
|
-
tbody, tfoot
|
24
|
-
tr:last-child,
|
25
|
-
tr.last
|
26
|
-
th, td
|
27
|
-
:border-bottom-width 0px
|
@@ -1,10 +0,0 @@
|
|
1
|
-
// Hides html text and replaces it with an image.
|
2
|
-
// If you use this on an inline element, you will
|
3
|
-
// need to change the display to block or inline-block.
|
4
|
-
=replace-text( !img, !x = 50%, !y = 50% )
|
5
|
-
:text-indent -9999em
|
6
|
-
:overflow hidden
|
7
|
-
:background
|
8
|
-
:image= image_url(!img)
|
9
|
-
:repeat no-repeat
|
10
|
-
:position= !x !y
|