Last active
August 29, 2015 14:09
-
-
Save procload/efac2235d8a1360c5519 to your computer and use it in GitHub Desktop.
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
| // | |
| // | |
| // Large sharing module for Food52 | |
| // | |
| // | |
| .content-sharing { | |
| margin-bottom: 32px; | |
| @extend %group; | |
| // Elements | |
| /////////////////////////////////////////////////////////////////////////////// | |
| &__btn { | |
| margin-bottom: 8px; | |
| border-radius: 15px; | |
| line-height: 32px; | |
| padding: 0 15px; | |
| font-size: 15px; | |
| span { | |
| display: none; | |
| @include respond-to(480px, false) { display: inline; } | |
| @include respond-to(740px, false) { display: none; } | |
| @include respond-to(860px) { display: inline; } | |
| } | |
| @include respond-to(370px) { margin-bottom: 0; } | |
| i { | |
| position: relative; | |
| top: 2px; | |
| margin-right: 4px; | |
| } //i | |
| + a { | |
| @include respond-to(370px) { margin-left: 16px; } | |
| @include respond-to(620px) { margin-left: 0; } | |
| @include respond-to(730px) { margin-left: 16px; } | |
| } //a | |
| } //content-sharing__btn | |
| // Modifiers | |
| /////////////////////////////////////////////////////////////////////////////// | |
| &--facebook { | |
| background-color: lighten($color-facebook,15%); | |
| &:hover { background-color: $color-facebook; } | |
| &--twitter { | |
| background-color: lighten($color-twitter,15%); | |
| float: right; | |
| @include respond-to(480px) { float: none; } | |
| @include respond-to(740px) { float: right; } | |
| @include respond-to(860px) { float: none; } | |
| &:hover { background-color: $color-twitter; } | |
| } //label | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment