-
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.
fix(Stylelint): Fix stylelint issues
- Loading branch information
1 parent
f5823a4
commit 3228d45
Showing
5 changed files
with
48 additions
and
7 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
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,40 @@ | ||
/* ------------------------------------ *\ | ||
#Useful Sass Helper Functions | ||
\* ------------------------------------ */ | ||
|
||
/** | ||
* Truncate text after certain length to ... | ||
*/ | ||
@mixin truncate($maxLength) { | ||
max-width: $maxLength; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
} | ||
|
||
/** | ||
* CSS Media Query Helper | ||
*/ | ||
@mixin mq($width, $type: min) { | ||
@if map-has-key($map: $breakpoints, $key: $width) { | ||
$width: map-get($map: $breakpoints, $key: $width); | ||
|
||
@media only screen and (#{$type}-width: $width) { | ||
@content; | ||
} | ||
} | ||
} | ||
|
||
/** | ||
* Psuedo Selector Helper | ||
*/ | ||
@mixin psuedo($display: block, $pos: absolute, $content: '') { | ||
content: $content; | ||
display: $display; | ||
position: $pos; | ||
} | ||
|
||
/* ------------------------------------ *\ | ||
$Flex Helpers | ||
\* ------------------------------------ */ | ||
|
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