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) {
font-family: Monaco, Courier, "Lucida Sans Unicode", monospace;
font-size: $size;
color: #888888;
color: #888;
.selector {
vertical-align: middle;
font-size: 1.3em; }
.brace {
vertical-align: middle;
font: bold 1.7em Georgia, "Times New Roman", serif;
color: #cccccc;
color: #ccc;
margin: 0 -0.2em; }
.rule {
vertical-align: middle;

View File

@ -16,10 +16,9 @@ $default-background-clip: padding-box !default;
// * border-box
@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;
@if $clip == "border-box" {
$deprecated: border; }
@if $clip == border-box { $deprecated: border; }
background-clip: $clip;
-webkit-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;
// Position the background off the edge of the padding, border or content
//
// * Possible values:
// * `"padding-box"`
// * `"border-box"`
// * `"content-box"`
// * browser defaults to `"padding-box"`
// * mixin defaults to `"content-box"`
// * `padding-box`
// * `border-box`
// * `content-box`
// * browser defaults to `padding-box`
// * mixin defaults to `content-box`
@mixin background-origin($origin: $default-background-origin) {
// webkit and mozilla use the deprecated short [border | padding | content]
$deprecated: padding;
@if $origin == "border-box" {
$deprecated: border; }
@if $origin == "content-box" {
$deprecated: content; }
background-origin: $origin;
@if $origin == border-box { $deprecated: border; }
@if $origin == content-box { $deprecated: content; }
background-origin: $origin;
-webkit-background-origin: $deprecated;
-moz-background-origin: $deprecated; }
-moz-background-origin: $deprecated;
}

View File

@ -7,8 +7,9 @@
$default-background-size: 100% auto !default;
@mixin background-size($size: $default-background-size) {
background-size: $size;
background-size: $size;
-webkit-background-size: $size;
-o-background-size: $size;
-khtml-background-size: $size;
-moz-background-size: $size; }
-o-background-size: $size;
-khtml-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.
//
// @param !opacity
// @param $opacity
// A number between 0 and 1, where 0 is transparent and 1 is opaque.
@mixin opacity($opacity) {