-
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.
add redirection if user has signed up already
- Loading branch information
Gerard Casas Saez
committed
Feb 14, 2019
1 parent
5e849dd
commit 498d429
Showing
5 changed files
with
94 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
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,73 @@ | ||
@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
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