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
| @mixin triangle($direction, $size: 6px, $color: #222){ | |
| content: ''; | |
| display: block; | |
| position: absolute; | |
| height: 0; width: 0; | |
| @if ($direction == 'up'){ | |
| border-bottom: $size solid $color; | |
| border-left: 1/2*$size solid transparent; | |
| border-right: 1/2*$size solid transparent; | |
| } |
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
| %icon-container { | |
| position: relative; | |
| & > * { | |
| position: absolute; | |
| display: block; | |
| top: 0; | |
| right: 0; | |
| bottom: 0; |
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
| .icon { | |
| @each $sprite in $spritesheet-sprites { | |
| $spritename: nth($sprite, 10); | |
| &__#{$spritename} { | |
| @include sprite($sprite); | |
| } | |
| } | |
| } |
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
| @mixin justifyHorAlign($ver-align: top, $item-align: left) { | |
| text-align: justify; | |
| &::after { | |
| width: 100%; | |
| content: ""; | |
| display: inline-block; | |
| } | |
| & > * { |
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
| @mixin triangle($direction, $size: 6px, $color: #222){ | |
| @if ($direction == 'up'){ | |
| border-bottom: $size solid $color; | |
| border-left: 1/2*$size solid transparent; | |
| border-right: 1/2*$size solid transparent; | |
| } | |
| @else if ($direction == 'down'){ | |
| border-top: $size solid $color; | |
| border-left: 1/2*$size solid transparent; | |
| border-right: 1/2*$size solid transparent; |
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
| $soc-colors-settings: ( | |
| tw: #00b6f3, | |
| fb: #3b5998, | |
| in: #2086bc, | |
| gp: #cf4231, | |
| vk: #5f7fa2, | |
| ); | |
| .item { | |
| @each $name, $color in $soc-colors-settings { |
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
| @mixin ghostVerticalAlign(){ | |
| &:before { | |
| content: ''; | |
| display: inline-block; | |
| vertical-align: middle; | |
| height: 100%; width: .1px; | |
| } | |
| } |
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
| %currency { | |
| position: relative; | |
| &:before { | |
| content: '$'; | |
| position: relative; | |
| left: 0; | |
| } | |
| } | |
| .USD %currency:before { content: '$'; } | |
| .EUR %currency:before { content: '\20AC'; } // must escape the html entities for each currency symbol |
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
| %clearfix { | |
| *zoom: 1; | |
| &:after { | |
| content: ''; | |
| display: table; | |
| line-height: 0; | |
| clear: both; | |
| } | |
| } |
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
| // first time | |
| cd "$env:appdata\Sublime Text 3\Packages\" | |
| mkdir $env:userprofile\Dropbox\Sublime | |
| mv User $env:userprofile\Dropbox\Sublime\ | |
| cmd /c mklink /D User $env:userprofile\Dropbox\Sublime\User | |
| // other machines | |
| cd "$env:appdata\Sublime Text 3\Packages\" | |
| rmdir -recurse User |