| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- %left_border_radius {
- border-radius: 10px 0 0 0;
- }
- %clearFix {
- &:before,
- &:after {
- clear: both;
- display: block;
- content: '';
- }
- }
- @mixin keyframes($name) {
- @-webkit-keyframes #{$name}{
- @content;
- }
- @-moz-keyframes #{$name} {
- @content;
- }
- @-ms-keyframes #{$name} {
- @content;
- }
- @keyframes #{$name} {
- @content;
- }
- }
- @mixin filter($filter-type,$filter-amount) {
- -webkit-filter: $filter-type+unquote( '(#{$filter-amount})');
- -moz-filter: $filter-type+unquote( '(#{$filter-amount})');
- -ms-filter: $filter-type+unquote( '(#{$filter-amount})');
- -o-filter: $filter-type+unquote( '(#{$filter-amount})');
- filter: $filter-type+unquote( '(#{$filter-amount})');
- }
- @mixin animation($animation...) {
- -o-animation: $animation;
- -moz-animation: $animation;
- -webkit-animation: $animation;
- animation: $animation;
- }
- @include keyframes(brightnessOff) {
- 0% {
- @include filter(brightness, $__themeImg-brightness-max);
- }
- 100% {
- @include filter(brightness, $__themeImg-brightness-min);
- }
- }
- @include keyframes(brightnessOn) {
- 0% {
- @include filter(brightness, $__themeImg-brightness-min);
- }
- 100% {
- @include filter(brightness, $__themeImg-brightness-max);
- }
- }
|