mirror of
https://github.com/kognise/water.css.git
synced 2025-12-07 07:14:57 +01:00
Add animation variable
This commit is contained in:
parent
a176146843
commit
3e18d95981
5 changed files with 11 additions and 7 deletions
|
|
@ -5,7 +5,9 @@ $text-bright: #ffffff !default;
|
|||
$links: #41adff !default;
|
||||
$focus: #0096bfab !default;
|
||||
$border: #dbdbdb !default;
|
||||
|
||||
$button-hover: #324759 !default;
|
||||
$animation-duration: 0.1s !default;
|
||||
|
||||
$form-background: #161f27 !default;
|
||||
$form-placeholder: #a9a9a9 !default;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,9 @@ $text-bright: #000000 !default;
|
|||
$links: #0076d1 !default;
|
||||
$focus: #0096bfab !default;
|
||||
$border: #dbdbdb !default;
|
||||
|
||||
$button-hover: #dddddd !default;
|
||||
$animation-duration: 0.1s !default;
|
||||
|
||||
$form-background: #efefef !default;
|
||||
$form-placeholder: #949494 !default;
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@ body {
|
|||
}
|
||||
|
||||
button, input, textarea {
|
||||
transition: background-color .1s linear,
|
||||
border-color .1s linear,
|
||||
color .1s linear,
|
||||
box-shadow .1s linear,
|
||||
transform .1s linear;
|
||||
transition: background-color $animation-duration linear,
|
||||
border-color $animation-duration linear,
|
||||
color $animation-duration linear,
|
||||
box-shadow $animation-duration linear,
|
||||
transform $animation-duration ease;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue