Some cleanup of the translated scss files.
This commit is contained in:
parent
2cb63e7f8e
commit
304438fbc5
@ -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;
|
||||||
|
@ -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; }
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user