oak-general-business/template/src/components/login/byOauth/ProviderList/styles.module.less

152 lines
2.6 KiB
Plaintext

.providerContainer {
width: 100%;
margin-top: 24px;
padding: 20px 0;
}
.loadingWrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 0;
}
.loadingDots {
display: flex;
gap: 8px;
margin-bottom: 16px;
span {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #1890ff;
animation: loadingDot 1.4s infinite ease-in-out both;
&:nth-child(1) {
animation-delay: -0.32s;
}
&:nth-child(2) {
animation-delay: -0.16s;
}
}
}
@keyframes loadingDot {
0%, 80%, 100% {
transform: scale(0.6);
opacity: 0.3;
}
40% {
transform: scale(1);
opacity: 1;
}
}
.loadingText {
font-size: 14px;
color: rgba(0, 0, 0, 0.45);
}
.title {
font-size: 14px;
color: rgba(0, 0, 0, 0.45);
text-align: center;
margin-bottom: 24px;
position: relative;
&::before,
&::after {
content: '';
position: absolute;
top: 50%;
width: 30%;
height: 1px;
background-color: rgba(0, 0, 0, 0.1);
}
&::before {
left: 0;
}
&::after {
right: 0;
}
}
.providerList {
display: flex;
justify-content: center;
align-items: center;
gap: 32px;
flex-wrap: wrap;
}
.providerItem {
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
transition: all 0.3s ease;
&:hover {
transform: translateY(-4px);
.logoWrapper {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
}
}
.logoWrapper {
width: 56px;
height: 56px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #e8e8e8;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
overflow: hidden;
margin-bottom: 8px;
&:hover {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
}
.logo {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
.logoPlaceholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
font-weight: 600;
color: #fff;
}
.providerName {
font-size: 12px;
color: rgba(0, 0, 0, 0.65);
text-align: center;
max-width: 80px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: color 0.3s ease;
.providerItem:hover & {
color: #1890ff;
}
}