/*------------------------------------*\
    STYLE THREE
\*------------------------------------*/
/**
 * Rectangle with white logo on coloured
 * background, including text
 */

/**
 * Update variables below to include media
 * queries (responsive version), control
 * padding and other variables.
 */

$include-media-queries:    true;
$icon-spacing:             0;
$wrapper-padding:          0;
$icon-size:                24px;
$base-font-size:           16px;
$animation-speed:          0.25s;

/**
 * Generated CSS must be combined with
 * ssbp-base in order to display correctly.
 * Allows for smaller file size when
 * combining multiple themes.
 */

@import '../modules/vars';
@import '../modules/mixins';

.ssbp--theme-3 {
	.ssbp-list li {
		margin: 0 !important;
	}

	.ssbp-text {
		@include font-styling;
		margin-left: .5em;
		text-shadow: -1px -1px rgba(0,0,0,0.2);
	}

	.ssbp-btn {
		display: block;
		padding: 0.5em 1em;
		color: #fff;
		text-shadow: -1px -1px rgba(0,0,0,0.2);
		transition: background-color $animation-speed;
		border-bottom: 0;
		&:before { vertical-align: middle; }
		&:active { box-shadow: inset 0 0 0.5em rgba(0,0,0,0.33); }
		&:hover, &:focus, &:active, &:visited { //overide theme 2013/2012
			color: #fff;
		}
	}

	// This loop creates the specific social network styling for each .ssbp-btn using the $social-networks list in _vars.scss
	@each $social-network, $color in $social-networks {
		.ssbp-#{$social-network} {
			background-color: $color;
			&:hover, &:focus, &:active, + .ssbp-each-share {
				background-color: darken($color, 10%);
			}
		}
	}

	// Per network share count
	.ssbp-each-share {
		padding: 2px;
		font-size: 10px;
		text-align: center;
		color: #FFF;
	}

	.ssbp-toggle-switch {
		@extend %ssbp-toggle-switch--dark;
	}
	&.ssbp--centred {
		@extend %ssbp--centred-full;
	}
}
