2017-05-25 23:36:54 +02:00
|
|
|
div.sharecolumn .share-buttons.side {
|
2017-05-25 22:35:52 +02:00
|
|
|
display: flex;
|
2017-05-25 21:55:34 +02:00
|
|
|
left: 0;
|
|
|
|
padding: 0.1vh 0.5vh;
|
|
|
|
position: fixed;
|
2017-05-26 00:06:00 +02:00
|
|
|
top: 35%;
|
2017-05-25 21:55:34 +02:00
|
|
|
z-index: 10;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2017-09-11 18:32:25 +02:00
|
|
|
@media(max-width:839px) {
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side {
|
2017-05-25 22:35:52 +02:00
|
|
|
display: none !important;
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side button.button,
|
|
|
|
.share-buttons.side label.button {
|
2017-05-25 21:55:34 +02:00
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 2.7vh auto;
|
|
|
|
background-color: #474747;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: none;
|
|
|
|
color: #000;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 2.5px 5px 2.5px 0;
|
|
|
|
opacity: 0.9;
|
|
|
|
text-decoration: none;
|
|
|
|
height: 4vh;
|
|
|
|
width: 4vh;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Single services with their colours and logos */
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side button:hover, .share-buttons.side label:hover {
|
2017-06-20 20:50:31 +02:00
|
|
|
background-color: #4CBD38;
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-diaspora {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/diaspora_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-gnusocial {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/gnusocial_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-reddit {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/reddit_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-flattr {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/flattr_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-hnews {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/hackernews_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-twitter {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/twitter_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-facebook {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/facebook_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-gplus {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/gplus_white.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side .share-support {
|
2017-09-06 12:42:10 +02:00
|
|
|
background-image: url("/img/service-icons/support_red.png");
|
2017-05-25 21:55:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Share pop-up behaviour hacks */
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"],
|
|
|
|
.share-buttons.side input[type="radio"] + span,
|
|
|
|
.share-buttons.side input[type="checkbox"],
|
|
|
|
.share-buttons.side input[type="checkbox"] + span {
|
2017-05-25 21:55:34 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"]:checked + span,
|
|
|
|
.share-buttons.side input[type="checkbox"]:checked + span {
|
2017-05-25 21:55:34 +02:00
|
|
|
position: absolute;
|
2017-05-26 00:06:00 +02:00
|
|
|
margin-top: 3.5em; margin-left: 0;
|
|
|
|
width: 300px;
|
2017-05-25 21:55:34 +02:00
|
|
|
padding: .5em;
|
|
|
|
z-index: 3;
|
|
|
|
background-color: #333;
|
|
|
|
border-radius: .5em;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"]:checked + span:before,
|
|
|
|
.share-buttons.side input[type="checkbox"]:checked + span:before {
|
2017-05-25 21:55:34 +02:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: -1em;
|
|
|
|
height: 0em; width: 0em;
|
|
|
|
border-bottom: 1em solid #333;
|
|
|
|
border-left: 1em solid transparent;
|
|
|
|
border-right: 1em solid transparent;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"] + span > *{
|
2017-05-25 21:55:34 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"] + span > button {
|
2017-05-25 21:55:34 +02:00
|
|
|
margin: 2.5px 0 2.5px 5px;
|
|
|
|
min-width: 4em;
|
|
|
|
padding: .25em;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: normal;
|
|
|
|
}
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side input[type="radio"] + span > label {
|
2017-05-25 21:55:34 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
|
|
z-index: -1;
|
|
|
|
background-color: rgba(0, 0, 0, .5);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Separate share buttons form from possibly floating content */
|
2017-05-25 23:36:54 +02:00
|
|
|
form.share-buttons.side {
|
2017-05-25 21:55:34 +02:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide something */
|
|
|
|
.n {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media Query to resize social links for portrait tablet view */
|
|
|
|
@media screen and (max-height: 770px) {
|
2017-05-25 23:36:54 +02:00
|
|
|
.share-buttons.side button.button,
|
|
|
|
.share-buttons.side label.button {
|
2017-05-25 21:55:34 +02:00
|
|
|
background-size: 3.7vh auto;
|
|
|
|
height: 6vh;
|
|
|
|
width: 6vh;
|
|
|
|
}
|
|
|
|
}
|