From e744c1e0db0cd44f88aaa8bbf0d8c3d833495261 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Mon, 28 Sep 2009 21:52:49 -0700 Subject: [PATCH] Convert the compass core framework to css-style property syntax. --- .../compass/stylesheets/compass/_misc.sass | 24 ++++----- .../compass/layout/_sticky_footer.sass | 18 +++---- .../stylesheets/compass/utilities/_links.sass | 2 +- .../stylesheets/compass/utilities/_print.sass | 8 +-- .../compass/utilities/_sprites.sass | 2 +- .../compass/utilities/css3/_columns.sass | 38 +++++++------- .../compass/utilities/css3/_inline_block.sass | 12 ++--- .../compass/utilities/css3/_opacity.sass | 10 ++-- .../compass/utilities/general/_clearfix.sass | 14 ++--- .../compass/utilities/general/_float.sass | 4 +- .../compass/utilities/general/_hacks.sass | 4 +- .../compass/utilities/general/_reset.sass | 52 +++++++++---------- .../compass/utilities/general/_tag_cloud.sass | 18 +++---- .../compass/utilities/links/_hover_link.sass | 4 +- .../compass/utilities/links/_link_colors.sass | 12 ++--- .../utilities/links/_unstyled_link.sass | 8 +-- .../compass/utilities/lists/_bullets.sass | 12 ++--- .../utilities/lists/_horizontal_list.sass | 12 ++--- .../compass/utilities/lists/_inline_list.sass | 18 +++---- .../utilities/sprites/_sprite_img.sass | 10 ++-- .../tables/_alternating_rows_and_columns.sass | 16 +++--- .../compass/utilities/tables/_borders.sass | 22 ++++---- .../utilities/tables/_scaffolding.sass | 8 +-- .../compass/utilities/text/_nowrap.sass | 2 +- .../compass/utilities/text/_replacement.sass | 12 ++--- .../stylesheets/compass/css/reset.css | 4 +- 26 files changed, 173 insertions(+), 173 deletions(-) diff --git a/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass b/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass index ce332ca5..03a810d1 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass @@ -6,19 +6,19 @@ Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. =unobtrusive-logo(!size = 1em) - :font-family Monaco, Courier, "Lucida Sans Unicode", monospace - :font-size= !size - :color #888 + font-family: Monaco, Courier, "Lucida Sans Unicode", monospace + font-size= !size + color: #888 .selector - :vertical-align middle - :font-size= 1.3em + vertical-align: middle + font-size= 1.3em .brace - :vertical-align middle - :font bold 1.7em Georgia, "Times New Roman", serif - :color #CCC - :margin= 0 -0.2em + vertical-align: middle + font: bold 1.7em Georgia, "Times New Roman", serif + color: #CCC + margin= 0 -0.2em .rule - :vertical-align middle - :margin= 0 -0.2em + vertical-align: middle + margin= 0 -0.2em - \ No newline at end of file + diff --git a/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass b/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass index cca39ea6..7ab874ca 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass @@ -5,15 +5,15 @@ =sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer") html, body - :height 100% + height: 100% #{!root_selector} - :min-height 100% - :height auto !important - :height 100% - :margin-bottom= -!footer_height + min-height: 100% + height: auto !important + height: 100% + margin-bottom= -!footer_height #{!root_footer_selector} - :height= !footer_height + height= !footer_height #{!footer_selector} - :clear both - :position relative - :height= !footer_height + clear: both + position: relative + height= !footer_height diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass index afd4e369..41b15b45 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass @@ -1,3 +1,3 @@ @import links/hover_link.sass @import links/link_colors.sass -@import links/unstyled_link.sass \ No newline at end of file +@import links/unstyled_link.sass diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass index 71a82336..77c2a13c 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass @@ -6,13 +6,13 @@ @if !media == "print" .noprint, .no-print - :display none + display: none #{elements_of_type("block")} &.print-only - :display block + display: block #{elements_of_type("inline")} &.print-only - :display inline + display: inline @else .print-only - :display none + display: none diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass index 48b42433..b03e49c8 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass @@ -1 +1 @@ -@import sprites/sprite_img.sass \ No newline at end of file +@import sprites/sprite_img.sass diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass index 31b22734..c2ef3c28 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass @@ -2,36 +2,36 @@ CSS3 columns for Mozilla, Webkit and the Future =column-count(!n) - :-moz-column-count= !n - :-webkit-column-count= !n - :column-count= !n + -moz-column-count= !n + -webkit-column-count= !n + column-count= !n =column-gap(!u) - :-moz-column-gap= !u - :-webkit-column-gap= !u - :column-gap= !u + -moz-column-gap= !u + -webkit-column-gap= !u + column-gap= !u =column-width(!u) - :-moz-column-width= !u - :-webkit-column-width= !u - :column-width= !u + -moz-column-width= !u + -webkit-column-width= !u + column-width= !u =column-rule-width(!w) - :-moz-column-rule-width= !w - :-webkit-column-rule-width= !w - :column-rule-width= !w + -moz-column-rule-width= !w + -webkit-column-rule-width= !w + column-rule-width= !w =column-rule-style(!s) - :-moz-column-rule-style= !s - :-webkit-column-rule-style= !s - :column-rule-style= !s + -moz-column-rule-style= !s + -webkit-column-rule-style= !s + column-rule-style= !s =column-rule-color(!c) - :-moz-column-rule-color= !c - :-webkit-column-rule-color= !c - :column-rule-color= !c + -moz-column-rule-color= !c + -webkit-column-rule-color= !c + column-rule-color= !c =column-rule(!w, !s = "solid", !c = " ") +column-rule-width(!w) +column-rule-style(!s) - +column-rule-color(!c) \ No newline at end of file + +column-rule-color(!c) diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass index 4f9b3e15..1ace87fd 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass @@ -1,7 +1,7 @@ =inline-block - :display -moz-inline-box - :-moz-box-orient vertical - :display inline-block - :vertical-align middle - :#display inline - :#vertical-align auto + display: -moz-inline-box + -moz-box-orient: vertical + display: inline-block + vertical-align: middle + #display: inline + #vertical-align: auto diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass index f8d2a056..e47ab9a7 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass @@ -3,11 +3,11 @@ @param !opacity A number between 0 and 1, where 0 is transparent and 1 is opaque. =opacity(!opacity) - :opacity= !opacity - :-moz-opacity= !opacity - :-khtml-opacity= !opacity - :-ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")" - :filter= "alpha(opacity=" + round(!opacity*100) + ")" + opacity= !opacity + -moz-opacity= !opacity + -khtml-opacity= !opacity + -ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")" + filter= "alpha(opacity=" + round(!opacity*100) + ")" // Make an element completely transparent. =transparent diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass index e64afef3..3399e591 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass @@ -6,7 +6,7 @@ Recommendations include using this in conjunction with a width: http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html =clearfix - :overflow hidden + overflow: hidden +has-layout //** @@ -15,10 +15,10 @@ http://www.positioniseverything.net/easyclearing.html =pie-clearfix &:after - :content " " - :display block - :height 0 - :clear both - :overflow hidden - :visibility hidden + content: " " + display: block + height: 0 + clear: both + overflow: hidden + visibility: hidden +has-layout diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass index a0d58713..616765f6 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass @@ -13,5 +13,5 @@ // Available as alternate syntax with just +float =float(!side = "left") - :display inline - :float= !side + display: inline + float= !side diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass index 19417ee1..e3c21fb5 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass @@ -1,6 +1,6 @@ =has-layout // This makes ie6 get layout - :display inline-block + display: inline-block // and this puts it back to block & - :display block + display: block diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass index 8d968e53..c52fc808 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass @@ -62,47 +62,47 @@ //Mixins partials =reset-box-model - :margin 0 - :padding 0 - :border 0 - :outline 0 + margin: 0 + padding: 0 + border: 0 + outline: 0 =reset-font - :font - :weight inherit - :style inherit - :size 100% - :family inherit - :vertical-align baseline + font: + weight: inherit + style: inherit + size: 100% + family: inherit + vertical-align: baseline =reset-focus - :outline 0 + outline: 0 =reset-body - :line-height 1em - :color = #000 - :background #fff + line-height: 1em + color: #000 + background: #fff =reset-list-style - :list-style none + list-style: none =reset-table - :border-collapse separate - :border-spacing 0 - :vertical-align middle + border-collapse: separate + border-spacing: 0 + vertical-align: middle =reset-table-cell - :text-align left - :font-weight normal - :vertical-align middle + text-align: left + font-weight: normal + vertical-align: middle =reset-quotation - :quotes "" "" + quotes: "" "" &:before, &:after - :content "" + content: "" =reset-image-anchor-border - :border none + border: none =reset-html5 section, article, aside, header, footer, nav, dialog, figure @@ -115,7 +115,7 @@ Usage Example: // Turn off the display for both of these classes .unregistered-only, .registered-only - :display none + display: none // Now turn only one of them back on depending on some other context. body.registered +reset-display(".registered-only") @@ -131,4 +131,4 @@ @if !important display: block !important @else - display: block \ No newline at end of file + display: block diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass index 3f6665dc..132cb4d1 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass @@ -1,19 +1,19 @@ // Emits styles for a tag cloud =tag-cloud(!base_size = 1em) - :font-size= !base_size - :line-height= 1.2 * !base_size + font-size= !base_size + line-height= 1.2 * !base_size .xxs, .xs, .s, .l, .xl, .xxl - :line-height= 1.2 * !base_size + line-height= 1.2 * !base_size .xxs - :font-size= !base_size / 2.0 + font-size= !base_size / 2.0 .xs - :font-size= 2.0 * !base_size / 3.0 + font-size= 2.0 * !base_size / 3.0 .s - :font-size= 3.0 * !base_size / 4.0 + font-size= 3.0 * !base_size / 4.0 .l - :font-size= 4.0 * !base_size / 3.0 + font-size= 4.0 * !base_size / 3.0 .xl - :font-size= 3.0 * !base_size / 2.0 + font-size= 3.0 * !base_size / 2.0 .xxl - :font-size= 2.0 * !base_size + font-size= 2.0 * !base_size diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass index a8b51545..44b99a63 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass @@ -1,5 +1,5 @@ // a link that only has an underline when you hover over it =hover-link - :text-decoration none + text-decoration: none &:hover - :text-decoration underline + text-decoration: underline diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass index dcdae06d..9d40d320 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass @@ -7,18 +7,18 @@ // +link-colors(#00c, #0cc, #c0c, #ccc, #cc0) =link-colors(!normal, !hover = false, !active = false, !visited = false, !focus = false) - :color= !normal + color= !normal @if !visited &:visited - :color= !visited + color= !visited @if !focus &:focus - :color= !focus + color= !focus @if !hover &:hover - :color= !hover + color= !hover @if !active &:active - :color= !active + color= !active - \ No newline at end of file + diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass index 122ac4ed..f274eb9e 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass @@ -1,7 +1,7 @@ // A link that looks and acts like the text it is contained within =unstyled-link - :color inherit - :text-decoration inherit - :cursor inherit + color: inherit + text-decoration: inherit + cursor: inherit &:active, &:focus - :outline none \ No newline at end of file + outline: none diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass index 86657098..fce89824 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass @@ -1,7 +1,7 @@ // Turn off the bullet for an element of a list =no-bullet - :list-style-type none - :margin-left 0px + list-style-type: none + margin-left: 0px // turns off the bullets for an entire list =no-bullets @@ -13,9 +13,9 @@ // ul.pretty // +pretty-bullets("my-icon.png", 5px, 7px) =pretty-bullets(!bullet_icon, !width, !height, !line_height = 18px, !padding = 14px) - :margin-left 0 + margin-left: 0 li - :padding-left= !padding - :background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2) - :list-style-type none + padding-left= !padding + background= image_url(!bullet_icon) "no-repeat" ((!padding - !width) / 2) ((!line_height - !height) / 2) + list-style-type: none diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass index 49d21c7d..8c601d6c 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass @@ -32,15 +32,15 @@ Used to implement +horizontal-list. =horizontal-list-item(!padding = 4px) +no-bullet - :white-space nowrap + white-space: nowrap +float-left - :padding - :left= !padding - :right= !padding + padding: + left= !padding + right= !padding &.first - :padding-left 0px + padding-left: 0px &.last - :padding-right 0px + padding-right: 0px //** A list(ol,ul) that is layed out such that the elements are floated left and won't wrap. diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass index e6d0a185..88ea604f 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass @@ -1,14 +1,14 @@ // makes a list inline. =inline-list - :list-style-type none - :margin 0px - :padding 0px - :display inline + list-style-type: none + margin: 0px + padding: 0px + display: inline li - :margin 0px - :padding 0px - :display inline + margin: 0px + padding: 0px + display: inline // makes an inlin list that is comma delimited. // use of this recipe is not recommended at this time due to browser support issues. @@ -23,7 +23,7 @@ +inline-list li &:after - :content ", " + content: ", " &:last-child, &.last &:after - :content "" + content: "" diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass index dadac12b..b6b3caec 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass @@ -32,10 +32,10 @@ // Sets rules common for all sprites, assumes a rectangular region. =sprite-background-rectangle(!img, !width = !sprite_image_default_width, !height = !sprite_image_default_height) - :background= image_url(!img) "no-repeat" - :width= !width - :height= !height - :overflow hidden + background= image_url(!img) "no-repeat" + width= !width + height= !height + overflow: hidden // Allows horizontal sprite positioning optimized for a single row of sprites. =sprite-column(!col, !width = !sprite_image_default_width, !margin = !sprite_default_margin) @@ -49,4 +49,4 @@ =sprite-position(!col, !row = 1, !width = !sprite_image_default_width, !height = !sprite_image_default_height, !margin = !sprite_default_margin) !x = ((!col - 1) * -!width) - ((!col - 1) * !margin) !y = ((!row - 1) * -!height) - ((!row - 1) * !margin) - :background-position= !x !y \ No newline at end of file + background-position= !x !y diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass index 4b0e9490..cb086792 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass @@ -1,20 +1,20 @@ =alternating-rows-and-columns(!even_row_color, !odd_row_color, !dark_intersection, !header_color = #FFF, !footer_color = #FFF) th - :background-color= !header_color + background-color= !header_color &.even - :background-color= !header_color - !dark_intersection + background-color= !header_color - !dark_intersection tr.odd td - :background-color= !odd_row_color + background-color= !odd_row_color &.even - :background-color= !odd_row_color - !dark_intersection + background-color= !odd_row_color - !dark_intersection tr.even td - :background-color= !even_row_color + background-color= !even_row_color &.even - :background-color= !even_row_color - !dark_intersection + background-color= !even_row_color - !dark_intersection tfoot th, td - :background-color= !footer_color + background-color= !footer_color &.even - :background-color= !footer_color - !dark_intersection + background-color= !footer_color - !dark_intersection diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass index 4073969c..7f21fecf 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass @@ -1,27 +1,27 @@ =outer-table-borders(!width = 2px, !color = black) - :border= !width "solid" !color + border= !width "solid" !color thead th - :border-bottom= !width "solid" !color + border-bottom= !width "solid" !color tfoot th, td - :border-top= !width "solid" !color + border-top= !width "solid" !color th &:first-child - :border-right= !width "solid" !color + border-right= !width "solid" !color =inner-table-borders(!width = 2px, !color = black) th, td - :border - :right= !width "solid" !color - :bottom= !width "solid" !color - :left-width 0px - :top-width 0px + border: + right= !width "solid" !color + bottom= !width "solid" !color + left-width: 0px + top-width: 0px &:last-child, &.last - :border-right-width 0px + border-right-width: 0px tbody, tfoot tr:last-child, tr.last th, td - :border-bottom-width 0px + border-bottom-width: 0px diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass index 96093fc0..f55e6b0d 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass @@ -1,9 +1,9 @@ =table-scaffolding th - :text-align center - :font-weight bold + text-align: center + font-weight: bold td, th - :padding 2px + padding: 2px &.numeric - :text-align right + text-align: right diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass index 1d5ada52..62294eac 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass @@ -1,3 +1,3 @@ // When remembering whether or not there's a hyphen in white-space is too hard =nowrap - :white-space nowrap + white-space: nowrap diff --git a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass index 52f28103..e7c6a1b5 100644 --- a/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +++ b/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass @@ -9,9 +9,9 @@ @param y the y position of the background image. =replace-text( !img, !x = 50%, !y = 50% ) - :text-indent -9999em - :overflow hidden - :background - :image= image_url(!img) - :repeat no-repeat - :position= !x !y + text-indent: -9999em + overflow: hidden + background: + image= image_url(!img) + repeat: no-repeat + position= !x !y diff --git a/test/fixtures/stylesheets/compass/css/reset.css b/test/fixtures/stylesheets/compass/css/reset.css index e778b379..6b067e61 100644 --- a/test/fixtures/stylesheets/compass/css/reset.css +++ b/test/fixtures/stylesheets/compass/css/reset.css @@ -21,7 +21,7 @@ table, caption, tbody, tfoot, thead, tr, th, td { body { line-height: 1em; - color: black; + color: #000; background: #fff; } ol, ul { @@ -57,4 +57,4 @@ body.registered address.registered-only, body.registered blockquote.registered-o body.unregistered a.unregistered-only, body.unregistered abbr.unregistered-only, body.unregistered acronym.unregistered-only, body.unregistered b.unregistered-only, body.unregistered basefont.unregistered-only, body.unregistered bdo.unregistered-only, body.unregistered big.unregistered-only, body.unregistered br.unregistered-only, body.unregistered cite.unregistered-only, body.unregistered code.unregistered-only, body.unregistered dfn.unregistered-only, body.unregistered em.unregistered-only, body.unregistered font.unregistered-only, body.unregistered i.unregistered-only, body.unregistered img.unregistered-only, body.unregistered input.unregistered-only, body.unregistered kbd.unregistered-only, body.unregistered label.unregistered-only, body.unregistered q.unregistered-only, body.unregistered s.unregistered-only, body.unregistered samp.unregistered-only, body.unregistered select.unregistered-only, body.unregistered small.unregistered-only, body.unregistered span.unregistered-only, body.unregistered strike.unregistered-only, body.unregistered strong.unregistered-only, body.unregistered sub.unregistered-only, body.unregistered sup.unregistered-only, body.unregistered textarea.unregistered-only, body.unregistered tt.unregistered-only, body.unregistered u.unregistered-only, body.unregistered var.unregistered-only { display: inline; } body.unregistered address.unregistered-only, body.unregistered blockquote.unregistered-only, body.unregistered center.unregistered-only, body.unregistered dir.unregistered-only, body.unregistered div.unregistered-only, body.unregistered dd.unregistered-only, body.unregistered dl.unregistered-only, body.unregistered dt.unregistered-only, body.unregistered fieldset.unregistered-only, body.unregistered form.unregistered-only, body.unregistered frameset.unregistered-only, body.unregistered h1.unregistered-only, body.unregistered h2.unregistered-only, body.unregistered h3.unregistered-only, body.unregistered h4.unregistered-only, body.unregistered h5.unregistered-only, body.unregistered h6.unregistered-only, body.unregistered hr.unregistered-only, body.unregistered isindex.unregistered-only, body.unregistered menu.unregistered-only, body.unregistered noframes.unregistered-only, body.unregistered noscript.unregistered-only, body.unregistered ol.unregistered-only, body.unregistered p.unregistered-only, body.unregistered pre.unregistered-only, body.unregistered ul.unregistered-only { - display: block; } \ No newline at end of file + display: block; }