LinkStack/themes/SoT/share.button.css

109 lines
2.5 KiB
CSS
Raw Normal View History

2022-05-19 12:30:08 +02:00
.share-icon {
padding: 0px 8px 3.5px 0px;
vertical-align: middle;
color: #fff !important;
2022-05-19 12:30:08 +02:00
width: 20px;
height: 20px;
}
.sharediv {
position:relative;
top: 30px;
right: 30px;
padding-bottom: 40px;
}
.toastdiv {
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
}
.toastbox {
width: 280px;
padding: 10px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
border-radius: 4px;
position: fixed;
top: 105%;
-webkit-transition: transform 0.3s linear;
transition: transform 0.3s linear;
z-index: 2;
text-align: center;
}
.toastbox.toast-tox--active {
-webkit-transform: translateY(-150px);
transform: translateY(-150px);
}
2022-05-12 22:03:29 +02:00
.sharebutton,
sharebutton {
display: inline-block;
text-decoration: none;
height: 48px;
text-align: center;
vertical-align: middle;
font-size: 14px;
2022-05-12 22:03:29 +02:00
width: 48px;
font-weight: 100;
2022-05-12 22:03:29 +02:00
line-height: 48px;
letter-spacing: 0.1px;
white-space: wrap;
border-radius: 8px;
cursor: pointer;
color: #fff !important;
background: url(https://raw.githubusercontent.com/JulianPrieber/SoT/main/green-button-sprite.svg#off) 0 0/100% 100% no-repeat !important;
2022-05-12 22:03:29 +02:00
}
@media screen and (min-width: 600px) {
.sharebutton,
sharebutton {
display: inline-block;
text-decoration: none;
height: 48px;
text-align: center;
vertical-align: middle;
font-size: 14px;
2022-05-12 22:03:29 +02:00
width: 150px;
font-weight: 100;
2022-05-12 22:03:29 +02:00
line-height: 48px;
letter-spacing: 0.1px;
white-space: wrap;
border-radius: 8px;
cursor: pointer;
color: #fff !important;
background: url(https://raw.githubusercontent.com/JulianPrieber/SoT/main/green-button-sprite.svg#off) 0 0/100% 100% no-repeat !important;
2022-05-12 22:03:29 +02:00
}
}
sharebutton:hover,
.sharebutton:hover {
color: #000000;
opacity: 0.85;
filter: alpha(opacity=40);
border-color: #888;
text-shadow: none !important;
-webkit-transform:scale(1.00) !important;
transform:scale(1.00) !important;
outline: 0; }
.sharebutton.sharebutton-primary {
color: #FFFFFF;
filter: brightness(90%) }
.sharebutton.sharebutton-primary:hover,
.sharebutton.sharebutton-primary:focus {
color: #FFFFFF;
2022-05-12 22:03:29 +02:00
filter: brightness(90%) }
@media screen and (max-width: 600px) {
.sharebutton-mb {
display: none;
}
.sharebutton-img {
position: relative;
left: 3px;
margin-left: auto;
margin-right: auto;
}
2022-05-19 12:30:08 +02:00
}