2015-01-27 11:44:06 +09:00
|
|
|
$small-break: 30em;
|
|
|
|
|
|
|
|
@mixin small(){
|
|
|
|
@media screen and (max-width: $small-break) {
|
|
|
|
@content;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
$red: #DD3416;
|
|
|
|
|
|
|
|
@mixin cf{
|
|
|
|
/* For modern browsers */
|
|
|
|
&:before,&:after {
|
|
|
|
content:"";
|
|
|
|
display:table;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
/* For IE 6/7 (trigger hasLayout) */
|
|
|
|
*zoom:1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-share{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-11-23 21:11:15 -08:00
|
|
|
.share-options {
|
|
|
|
position: absolute;
|
|
|
|
@include small {
|
2015-01-27 11:44:06 +09:00
|
|
|
left: 50% !important;
|
|
|
|
top: 40px !important;
|
|
|
|
width: 185px;
|
|
|
|
margin-left: -92px;
|
2014-07-14 10:12:02 +09:00
|
|
|
}
|
2015-01-27 11:44:06 +09:00
|
|
|
// @include medium-large {
|
|
|
|
// left: -180px;
|
|
|
|
// top: 5px;
|
|
|
|
// }
|
2014-07-03 10:09:22 +09:00
|
|
|
padding: 10px;
|
|
|
|
line-height: 1;
|
2014-11-23 21:11:15 -08:00
|
|
|
a {
|
2014-07-03 10:09:22 +09:00
|
|
|
display: inline-block;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
@extend .popover;
|
2014-11-23 21:11:15 -08:00
|
|
|
&.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
2014-07-03 10:09:22 +09:00
|
|
|
pointer-events: none;
|
|
|
|
left:-160px;
|
|
|
|
}
|
|
|
|
&:after, &:before {
|
|
|
|
left: 100%;
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
border-color: rgba(255, 255, 255, 0);
|
|
|
|
border-width: 10px;
|
2014-11-23 21:11:15 -08:00
|
|
|
@include small {
|
2014-07-14 10:12:02 +09:00
|
|
|
border-bottom-color: #ffffff;
|
|
|
|
top: -20px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -11px;
|
|
|
|
}
|
2015-01-27 11:44:06 +09:00
|
|
|
// @include medium-large {
|
|
|
|
// border-left-color: #ffffff;
|
|
|
|
// top: 20px;
|
|
|
|
// margin-top: -3px;
|
|
|
|
// }
|
2014-07-03 10:09:22 +09:00
|
|
|
}
|
|
|
|
&:before {
|
|
|
|
border-color: rgba(0, 0, 0, 0);
|
|
|
|
border-width: 11px;
|
2014-11-23 21:11:15 -08:00
|
|
|
@include small {
|
2014-07-14 10:12:02 +09:00
|
|
|
border-bottom-color: $red;
|
|
|
|
top: -22px;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -12px;
|
|
|
|
}
|
2015-01-27 11:44:06 +09:00
|
|
|
// @include medium-large {
|
|
|
|
// border-left-color: $red;
|
|
|
|
// top: 20px;
|
|
|
|
// margin-top: -4px;
|
|
|
|
// }
|
2014-07-03 10:09:22 +09:00
|
|
|
}
|
2014-11-23 21:11:15 -08:00
|
|
|
.buttons {
|
2014-07-03 10:09:22 +09:00
|
|
|
@include cf;
|
2014-11-23 21:11:15 -08:00
|
|
|
padding: 15px 5px 5px 15px;
|
|
|
|
.button {
|
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
background: transparent;
|
|
|
|
padding: 0px;
|
|
|
|
height: 100%;
|
2014-07-03 10:09:22 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.mt-share-inline-square-sm img {
|
|
|
|
width: 34px;
|
|
|
|
height: auto;
|
|
|
|
border: 0px;
|
|
|
|
}
|
|
|
|
a.mt-share-inline-square-sm {
|
|
|
|
display: inline-block;
|
|
|
|
width: 34px;
|
|
|
|
height: 34px;
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-bottom-right-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
.mt-google:hover {
|
|
|
|
background-color: rgb(225, 95, 79);
|
|
|
|
}
|
|
|
|
.mt-google {
|
|
|
|
background-color: rgb(221, 75, 57);
|
|
|
|
}
|
|
|
|
.mt-linkedin:hover {
|
|
|
|
background-color: rgb(16, 135, 192);
|
|
|
|
}
|
|
|
|
.mt-linkedin {
|
|
|
|
background-color: rgb(14, 118, 168);
|
|
|
|
}
|
|
|
|
.mt-twitter:hover {
|
|
|
|
background-color: rgb(8, 187, 255);
|
|
|
|
}
|
|
|
|
.mt-twitter {
|
|
|
|
background-color: rgb(0, 172, 238);
|
|
|
|
}
|
|
|
|
.mt-facebook:hover {
|
|
|
|
background-color: rgb(66, 100, 170);
|
|
|
|
}
|
|
|
|
.mt-facebook {
|
|
|
|
background-color: rgb(59, 89, 152);
|
|
|
|
}
|
|
|
|
.mt-pinterest:hover {
|
|
|
|
background-color: rgb(221, 42, 48);
|
|
|
|
}
|
|
|
|
.mt-pinterest {
|
|
|
|
background-color: rgb(204, 33, 39);
|
|
|
|
}
|