/*
 * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
 * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
 */
@import "sprites/sprites_share";

@mixin sprites($sprites) {
	@each $sprite in $sprites {
		$sprite-name: nth($sprite, 10);
		.#{$sprite-name} {
			&:before {
				@include sprite($sprite);
			}
		}
	}
}

.shr-opn {
	span {
		padding-right: .2em;
	}
}

.shr-pg {
	.shr-lnk {
		font-size: 115%;
		line-height: 32px;
		margin-bottom: 8px;
		min-height: 32px;
		text-align: left;
		text-decoration: none;
		width: 100%;

		&:before {
			content: " ";
			display: inline-block;
			height: 32px;
			margin-right: .6em;
			vertical-align: middle;
			width: 32px;
		}
	}

	@include sprites($spritesheet-sprites);

	.shr-dscl {
		padding-bottom: 0;
	}

	.email {
		&:before {
			content: "\2709";
			display: inline-block;
			font-family: "Glyphicons Halflings";
			font-size: 32px;
			margin-right: .3em;
		}
	}

	.shr-pg {
		text-align: left;
	}

	ul {
		list-style-type: none;
		margin: 10px;
		padding: 0;
	}
}

[dir=rtl] {
	.shr-opn {
		span {
			padding-left: .2em;
			padding-right: 0;
		}
	}

	.shr-pg {
		text-align: right;

		.shr-lnk {
			text-align: right;

			&:before {
				margin-left: .4em;
				margin-right: auto;
			}
		}
	}

	.email {
		&:before {
			margin-left: .6em;
			margin-right: auto;
		}
	}
}
