forked from casassg/events-landing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gerard Casas Saez
committed
Oct 31, 2017
1 parent
3e8b810
commit ffd9721
Showing
6 changed files
with
118 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
_site/ | ||
.DS_Store | ||
.DS_Store | ||
.sass-cache |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
@mixin box-shadow($shadow...) { | ||
-webkit-box-shadow: $shadow; | ||
-moz-box-shadow: $shadow; | ||
box-shadow: $shadow; | ||
} | ||
|
||
@mixin box-sizing($sizing...) { | ||
-webkit-box-sizing: $sizing; | ||
-moz-box-sizing: $sizing; | ||
box-sizing: $sizing; | ||
} | ||
|
||
@mixin border-radius($radius...) { | ||
-webkit-border-radius: $radius; | ||
-moz-border-radius: $radius; | ||
border-radius: $radius; | ||
} | ||
|
||
@mixin border-top-left-radius($radius...) { | ||
-webkit-border-top-left-radius: $radius; | ||
-moz-border-radius-topleft: $radius; | ||
border-top-left-radius: $radius; | ||
} | ||
|
||
@mixin border-top-right-radius($radius...) { | ||
-webkit-border-top-right-radius: $radius; | ||
-moz-border-radius-topright: $radius; | ||
border-top-right-radius: $radius; | ||
} | ||
|
||
@mixin transition($transition...) { | ||
-webkit-transition: $transition; | ||
-moz-transition: $transition; | ||
-o-transition: $transition; | ||
transition: $transition; | ||
} | ||
|
||
@mixin user-select($select...) { | ||
-webkit-user-select: $select; /* Chrome all / Safari all */ | ||
-moz-user-select: $select; /* Firefox all */ | ||
-ms-user-select: $select; /* IE 10+ */ | ||
-o-user-select: $select; | ||
user-select: $select; | ||
} | ||
@mixin translateX($px) { | ||
-webkit-transform: translateX($px); | ||
-ms-transform: translateX($px); | ||
transform: translateX($px); | ||
} | ||
|
||
@mixin btn($color, $border-color, $cursor: pointer, $opacity: 1, $hover-fx: true) { | ||
cursor: $cursor; | ||
opacity: $opacity; | ||
background-color: $color; | ||
@include box-shadow(0 1px 0 $border-color); | ||
&:hover { | ||
@if ($hover-fx) { | ||
background-color: lighten($color, 5%); | ||
} @else { | ||
background-color: $color; | ||
} | ||
} | ||
} | ||
|
||
@mixin nodrag() { | ||
user-drag: none; | ||
user-select: none; | ||
-moz-user-select: none; | ||
-webkit-user-drag: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
} |
This file contains 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
This file contains 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