mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
128 lines
2.2 KiB
SCSS
128 lines
2.2 KiB
SCSS
$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;
|
|
.icon-share{
|
|
&:before{
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.share-options {
|
|
position: absolute;
|
|
z-index: 10000;
|
|
background: rgba(0,0,0,0.4);
|
|
border-radius: 3px;
|
|
.icon{
|
|
color: white;
|
|
}
|
|
@include small {
|
|
left: 50% !important;
|
|
top: 40px !important;
|
|
width: 185px;
|
|
margin-left: -92px;
|
|
}
|
|
// @include medium-large {
|
|
// left: -180px;
|
|
// top: 5px;
|
|
// }
|
|
padding: 10px;
|
|
line-height: 1;
|
|
a {
|
|
display: inline-block;
|
|
line-height: 1;
|
|
}
|
|
@extend .popover;
|
|
&.hidden {
|
|
display: block;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
left:-160px;
|
|
}
|
|
&:after{
|
|
left: 100%;
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
&:after {
|
|
border-color: rgba(0, 0, 0, 0);
|
|
border-width: 10px;
|
|
@include small {
|
|
border-bottom-color: rgba(0,0,0,0.4);
|
|
top: -20px;
|
|
left: 50%;
|
|
margin-left: -11px;
|
|
}
|
|
// @include medium-large {
|
|
// border-left-color: #ffffff;
|
|
// top: 20px;
|
|
// margin-top: -3px;
|
|
// }
|
|
}
|
|
.buttons {
|
|
@include cf;
|
|
padding: 15px 5px 5px 15px;
|
|
.button {
|
|
float: left;
|
|
margin-right: 10px;
|
|
background: transparent;
|
|
padding: 0px;
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
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;
|
|
line-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 {
|
|
background-color: rgb(221, 75, 57);
|
|
}
|
|
.mt-linkedin {
|
|
background-color: rgb(14, 118, 168);
|
|
}
|
|
.mt-twitter {
|
|
background-color: rgb(0, 172, 238);
|
|
}
|
|
.mt-facebook {
|
|
background-color: rgb(59, 89, 152);
|
|
}
|