mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
Merge commit '53373c5e97869d3f9e7563c1fd0949c859e72222' as 'Resources/assets/scratch-css'
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
@mixin alert($color) {
|
||||
background: transparentize($color,0.8);
|
||||
color: $color;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.75em;
|
||||
padding: 0.75em;
|
||||
}
|
@@ -0,0 +1,33 @@
|
||||
@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;
|
||||
border-radius: 2px;
|
||||
|
||||
&: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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user