Some cleanup of the translated scss files.

This commit is contained in:
Chris Eppstein 2010-04-11 01:56:14 -07:00
parent 2cb63e7f8e
commit 304438fbc5
5 changed files with 23 additions and 22 deletions

View File

@ -7,14 +7,14 @@
@mixin unobtrusive-logo($size: 1em) { @mixin unobtrusive-logo($size: 1em) {
font-family: Monaco, Courier, "Lucida Sans Unicode", monospace; font-family: Monaco, Courier, "Lucida Sans Unicode", monospace;
font-size: $size; font-size: $size;
color: #888888; color: #888;
.selector { .selector {
vertical-align: middle; vertical-align: middle;
font-size: 1.3em; } font-size: 1.3em; }
.brace { .brace {
vertical-align: middle; vertical-align: middle;
font: bold 1.7em Georgia, "Times New Roman", serif; font: bold 1.7em Georgia, "Times New Roman", serif;
color: #cccccc; color: #ccc;
margin: 0 -0.2em; } margin: 0 -0.2em; }
.rule { .rule {
vertical-align: middle; vertical-align: middle;

View File

@ -16,10 +16,9 @@ $default-background-clip: padding-box !default;
// * border-box // * border-box
@mixin background-clip($clip: $default-background-clip) { @mixin background-clip($clip: $default-background-clip) {
// webkit and mozilla use the deprecated short [border | padding | content] // webkit and mozilla use the deprecated short [border | padding]
$deprecated: padding; $deprecated: padding;
@if $clip == "border-box" { @if $clip == border-box { $deprecated: border; }
$deprecated: border; }
background-clip: $clip; background-clip: $clip;
-webkit-background-clip: $deprecated; -webkit-background-clip: $deprecated;
-moz-background-clip: $deprecated; } -moz-background-clip: $deprecated; }

View File

@ -1,23 +1,24 @@
// Override `!default-background-origin` to change the default. // Override `$default-background-origin` to change the default.
$default-background-origin: content-box !default; $default-background-origin: content-box !default;
// Position the background off the edge of the padding, border or content // Position the background off the edge of the padding, border or content
// //
// * Possible values: // * Possible values:
// * `"padding-box"` // * `padding-box`
// * `"border-box"` // * `border-box`
// * `"content-box"` // * `content-box`
// * browser defaults to `"padding-box"` // * browser defaults to `padding-box`
// * mixin defaults to `"content-box"` // * mixin defaults to `content-box`
@mixin background-origin($origin: $default-background-origin) { @mixin background-origin($origin: $default-background-origin) {
// webkit and mozilla use the deprecated short [border | padding | content] // webkit and mozilla use the deprecated short [border | padding | content]
$deprecated: padding; $deprecated: padding;
@if $origin == "border-box" { @if $origin == border-box { $deprecated: border; }
$deprecated: border; } @if $origin == content-box { $deprecated: content; }
@if $origin == "content-box" {
$deprecated: content; }
background-origin: $origin; background-origin: $origin;
-webkit-background-origin: $deprecated; -webkit-background-origin: $deprecated;
-moz-background-origin: $deprecated; } -moz-background-origin: $deprecated;
}

View File

@ -11,4 +11,5 @@ $default-background-size: 100% auto !default;
-webkit-background-size: $size; -webkit-background-size: $size;
-o-background-size: $size; -o-background-size: $size;
-khtml-background-size: $size; -khtml-background-size: $size;
-moz-background-size: $size; } -moz-background-size: $size;
}

View File

@ -1,6 +1,6 @@
// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity. // Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
// //
// @param !opacity // @param $opacity
// A number between 0 and 1, where 0 is transparent and 1 is opaque. // A number between 0 and 1, where 0 is transparent and 1 is opaque.
@mixin opacity($opacity) { @mixin opacity($opacity) {