Merge commit '8830b669ff1be5692d43300b4ff17966512500ed' as 'Resources/public/scratch-css'

This commit is contained in:
Marc Ducobu
2014-11-10 20:42:02 +01:00
20 changed files with 1211 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
@mixin alert($color) {
background: transparentize($color,0.8);
color: $color;
font-weight: bold;
margin-bottom: 0.75em;
padding: 0.75em;
}

View File

@@ -0,0 +1,34 @@
@mixin button($button-background-color, $button-text-color) {
color: $button-text-color;
background: $button-background-color;
border: medium none;
box-shadow: none;
padding: $button-padding;
text-decoration: none;
text-align: center;
display: inline-block;
vertical-align: middle;
white-space: nowrap;
line-height: normal;
@include border-top-radius($base-border-radius);
@include border-bottom-radius($base-border-radius);
&:hover,
&:active {
background: darken($button-background-color, 5%);
color: $button-text-color; // force text color for anchor tags
text-decoration: none; // remove underline on anchor tags
}
&:focus {
background: darken($button-background-color, 5%);
}
&[disabled] {
background: transparentize($button-background-color,0.4);
color: darken($button-background-color, 10%);
&:hover {
box-shadow: none;
}
}
}