.provider-logo {
--size: 40px;
display: flex;
flex-shrink: 0;
align-items: center;
text-align: center;
justify-content: center;
width: var(--size);
height: var(--size);
padding: 8px;
line-height: 1;
font-size: var(--fontSize);
color: var(--surfaceTxtDisabledColor);
background: var(--surfaceAlt2Color);
border-radius: var(--borderRadius);
transition: background var(--animationSpeed);
&:empty {
&::before {
content: "\f452";
font-family: var(--iconFontFamily);
}
}
img {
width: 100%;
height: auto;
}
.handle:hover &,
.handle:focus-visible & {
background: var(--surfaceAlt3Color);
}
.handle.active &,
.handle:active & {
transition-duration: var(--activeAnimationSpeed);
background: var(--surfaceAlt4Color);
}
}
.provider-card {
display: flex;
width: 100%;
gap: 10px;
align-items: center;
padding: 5px;
min-height: var(--lgBtnHeight);
border-radius: var(--borderRadius);
border: 1px solid var(--surfaceAlt2Color);
.content {
flex-grow: 1;
word-break: break-word;
font-size: var(--fontSize);
line-height: 1.1;
p {
margin: 5px 0;
&:first-child {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
.primary-txt,
.secondary-txt {
display: block;
}
.secondary-txt {
color: var(--surfaceTxtHintColor);
font-size: var(--smFontSize);
margin: 2px 0;
}
}
&.handle {
outline: 0;
cursor: pointer;
user-select: none;
text-decoration: none;
transition: background var(--animationSpeed);
&:hover,
&:focus-visible {
background: var(--surfaceAlt1Color);
}
}
&.error {
border-color: var(--dangerColor);
background: var(--surfaceDangerColor);
}
}
.btn.add-provider-btn {
font-size: var(--fontSize);
line-height: var(--lineHeight);
height: 100%;
}
.auth-with-oauth2-form {
margin-top: 20px;
}
.auth-form-separator {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
font-size: var(--smFontSize);
color: var(--surfaceTxtHintColor);
text-align: center;
&::before,
&::after {
content: "";
flex-grow: 1;
height: 1px;
background: var(--surfaceAlt2Color);
}
span {
flex-shrink: 0;
}
}
.btn.auth-oauth2-btn {
font-size: var(--fontSize);
.provider-logo {
--size: 18px;
padding: 0;
background: transparent;
border-radius: 0;
}
}