snappymail/dev/Styles/_End.less
2021-02-05 20:48:36 +01:00

109 lines
1.8 KiB
Text

.mfp-container .mfp-figure {
min-height: 300px;
min-width: 300px;
}
.pswp__error-msg {
color: #ccc;
a, a:hover {
color: #fff;
}
}
.pswp__img--placeholder {
opacity: 0;
}
[data-rainloopTip],
[data-rainloopErrorTip] {
position: relative;
}
[data-rainloopTip]::before,
[data-rainloopErrorTip]::before {
background: #fff;
border-radius: 3px;
border: 1px solid #999;
content: attr(data-rainloopTip);
font-size: 13px;
left: 100%;
opacity : 0;
padding: 0.25em;
position : absolute;
text-align: left;
top: 100%;
transition: opacity 0.2s ease-in-out;
white-space: nowrap;
z-index: 2001 !important;
}
@media only screen and (max-width: 600px) {
[data-rainloopTip]::before,
[data-rainloopErrorTip]::before {
min-width: 60vw;
white-space: normal;
}
}
[data-rainloopErrorTip]::before {
color: red;
content: attr(data-rainloopErrorTip);
opacity: 1;
}
[data-tooltip]:hover::before {
opacity : 1;
}
[data-rainloopTip]::after,
[data-rainloopErrorTip]::after {
border-color: transparent transparent #999 transparent;
border-style: solid;
border-width: 5px;
content: "";
margin: -5px;
max-width: 80vw;
position: absolute;
top: 100%;
transform: rotate(-45deg);
z-index: 2002;
}
.lg-backdrop.in {
opacity: 0.8;
}
.btn .btn-text {
padding-left: 8px;
}
.active-scale-transition {
transition: transform .2s;
&:active {
transform: scale(.95);
}
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: color 9999s ease-out, background-color 9999s ease-out;
}
/*
@media (pointer: coarse), (hover: none) {
[title] {
position: relative;
display: inline-flex;
justify-content: center;
}
[title]:focus::after {
content: attr(title);
position: absolute;
top: 90%;
color: #000;
background-color: #fff;
border: 1px solid;
width: fit-content;
padding: 3px;
}
}
*/