Last active
August 29, 2015 14:06
-
-
Save shapkarin/9a3cc0ed38dab23aa1e1 to your computer and use it in GitHub Desktop.
part from from styles
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.pages | |
.page | |
&.develop.anim | |
background darken($green, 10%) | |
backTrans() | |
.inner | |
button.chip | |
border 3px dotted darken($green, 10%) | |
//if nedd nore than 1 use addTrans anim1, anim2 without brackes | |
addTrans($trans-border) | |
&.scaleDown | |
animation scaleDown .7s ease both | |
&.scaleUpDown | |
animation scaleUpDown .5s ease both | |
z-index 101 | |
..... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addTrans() | |
if arguments | |
arguments=arguments, | |
transition arguments $trans-btn | |
backTrans() | |
transition background 1.5s linear .7s | |
_alpha(color, n = .06) | |
rgba(color, n) | |
$delay = .05s | |
$input-time = .3s | |
placeholder(_color = $placeholder-color, type = ease-out) { | |
&:-moz-placeholder { color: _color; -moz-transition: color $input-time type; } | |
&::-moz-placeholder { color: _color; -moz-transition: color $input-time type; } | |
&:-ms-input-placeholder { color: _color; -ms-transition: color $input-time type $delay; } | |
&::-webkit-input-placeholder { color: _color; -webkit-transition: color $input-time type $delay; } | |
} | |
..... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
support-for-ie ?= false | |
@import 'nib' | |
@import 'variables' | |
@import 'mixin' | |
global-reset() | |
reset-html5() | |
@import 'keyframes' | |
@import 'animations' | |
...... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$trans-btn = background .4s ease-out | |
$placeholder-color = lightness($contact-color, 50%) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment