Files
peertube-plugin-auth-yaknet/style.css
T

133 lines
2.4 KiB
CSS

.yaknet-sso-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
background: linear-gradient(135deg, #ff8f37 0%, #ff5e3a 100%);
color: #fff !important;
font-weight: 700;
font-size: 15px;
padding: 12px 20px;
border-radius: 10px;
text-decoration: none;
margin: 14px 0 8px 0;
box-shadow: 0 4px 16px rgba(255, 143, 55, 0.35);
transition:
transform 0.2s ease,
box-shadow 0.2s ease,
opacity 0.2s ease;
cursor: pointer;
border: none;
width: 100%;
box-sizing: border-box;
}
.yaknet-sso-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 143, 55, 0.5);
opacity: 0.98;
color: #fff !important;
}
.yaknet-sso-login-wrapper {
margin: 10px 0 20px 0;
text-align: center;
width: 100%;
}
.yaknet-divider {
display: flex;
align-items: center;
text-align: center;
margin: 16px 0 10px 0;
color: var(--greyColor, #94a3b8);
font-size: 13px;
}
.yaknet-divider::before,
.yaknet-divider::after {
content: '';
flex: 1;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.yaknet-divider:not(:empty)::before {
margin-right: 0.75em;
}
.yaknet-divider:not(:empty)::after {
margin-left: 0.75em;
}
.yaknet-auth-error-box {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.35);
border-left: 4px solid #ef4444;
border-radius: 8px;
padding: 14px 18px;
margin: 14px 0 20px 0;
color: #fca5a5;
font-size: 14px;
line-height: 1.5;
box-sizing: border-box;
}
.yaknet-error-title {
font-weight: 700;
font-size: 15px;
color: #f87171;
margin-bottom: 4px;
}
.yaknet-error-desc {
margin: 0 0 10px 0;
color: #e2e8f0;
}
.yaknet-error-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
.yaknet-error-actions a {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
transition: opacity 0.2s ease;
}
.yaknet-retry-btn {
background: #ef4444;
color: #fff !important;
}
.yaknet-help-btn {
background: rgba(255, 255, 255, 0.1);
color: #e2e8f0 !important;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.yaknet-retry-btn:hover,
.yaknet-help-btn:hover {
opacity: 0.85;
}
.yaknet-account-link {
display: flex;
align-items: center;
gap: 8px;
color: #ff8f37 !important;
font-weight: 600;
}
.yaknet-account-link:hover {
color: #ffaa5e !important;
}