Last active
August 29, 2015 13:56
-
-
Save kricore/eecb43d52de3b2c8883e to your computer and use it in GitHub Desktop.
SocialConnect responsive styles. A simple addition to SocialConnect compact template.
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
/* Force load the module on the right (optional) */ | |
#modSocialConnectCompact .socialConnectLeft { right: 0; left: auto; } | |
#modSocialConnectCompact .socialConnectLeft:after, #modSocialConnectCompact .socialConnectLeft:before { right: 50%; left: auto; } | |
/* responsive styling */ | |
@media screen and (max-width: 600px) { | |
#modSocialConnectCompact .socialConnectSignInBlockContainer { max-width: 100%; } | |
#modSocialConnectCompact .socialConnectSignInBlock, #modSocialConnectCompact .socialConnectServicesBlock { float: none; clear: both; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } | |
#modSocialConnectCompact .socialConnectLink { float: left; } | |
#modSocialConnectCompact .socialConnectInput { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; height: 40px; } | |
#modSocialConnectCompact .socialConnectServiceButton { margin: 0 0 14px; } | |
#modSocialConnectCompact .socialConnectServicesBlock .socialConnectInnerBlock { padding-top: 0; } | |
#modSocialConnectCompact .socialConnectSignInBlock .socialConnectInnerBlock { padding-bottom: 0; } | |
#modSocialConnectCompact .socialConnectRegistrationButton { float: none; clear: both; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment