edc-gis/public/css/button.scss

175 lines
3.5 KiB
SCSS
Raw Normal View History

2024-10-17 10:01:25 +00:00
.btn.btn-primary {
color: var(--primary-inverse);
border: var(--bg-gradient-primary);
background: var(--bg-gradient-primary);
2024-10-17 10:01:25 +00:00
}
.btn.btn-primary:hover,
.ant-btn-default:not(:disabled):not(.ant-btn-disabled).btn-primary:hover {
color: var(--primary-inverse) !important;
border-color: #15444f !important;
background-color: #15444f !important;
}
.btn.btn-light-primary {
color: var(--primary);
border-color: var(--primary-light);
background-color: var(--primary-light);
}
.btn.btn-success {
color: var(--success-inverse);
border-color: var(--success);
background-color: var(--success);
}
.btn.btn-light-success {
color: var(--success);
border-color: var(--success-light);
background-color: var(--success-light);
}
.btn.btn-danger {
color: var(--danger-inverse);
border-color: var(--danger);
background-color: var(--danger);
}
.btn.btn-light-danger {
color: var(--danger);
border-color: var(--danger-light);
background-color: var(--danger-light);
}
.btn.btn-warning {
color: var(--warning-inverse);
border-color: var(--warning);
background-color: var(--warning);
}
.btn.btn-light-warning {
color: var(--warning);
border-color: var(--warning-light);
background-color: var(--warning-light);
}
.btn.btn-info {
color: var(--info-inverse);
border-color: var(--info);
background-color: var(--info);
}
.btn.btn-light-info {
color: var(--info);
border-color: var(--info-light);
background-color: var(--info-light);
}
.btn.btn-dark {
color: var(--dark-inverse);
border-color: var(--dark);
background-color: var(--dark);
}
.btn.btn-light-dark {
color: var(--dark);
border-color: var(--dark-light);
background-color: var(--dark-light);
}
.btn.btn-white {
color: var(--white-inverse);
border-color: var(--white);
background-color: var(--white);
}
.btn.btn-light-white {
color: var(--white);
border-color: var(--white-light);
background-color: var(--white-light);
}
.btn.btn-circle {
border-radius: 50%;
}
.btn-transparent {
background: #ffffff00;
color: white;
border: 1px solid #ffffff1f;
}
.btn.sm {
height: 30px !important;
padding: 0 16px !important;
}
.btn {
display: inline-flex;
justify-content: center;
align-items: center;
gap: 6px;
height: 35px;
padding: 0 28px;
border-radius: 15px;
font-size: 12px;
font-weight: 600;
2024-10-17 10:01:25 +00:00
border: none;
outline: none;
cursor: pointer;
white-space: nowrap;
transition: all 0.2s ease;
}
.btn-round-lg {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
height: 40px;
min-width: 140px;
padding: 0 24px;
border-radius: 20px;
border: none;
outline: none;
color: #fff;
cursor: pointer;
transition: all 0.2s ease;
}
.btn-circle {
display: flex;
justify-content: center;
align-items: center;
height: 35px !important;
width: 35px !important;
border-radius: 50%;
border: none;
outline: none;
color: #fff;
background: var(--blue);
cursor: pointer;
padding: 10px;
transition: all 0.2s ease;
}
.btn-circle.btn-sm{
width:30px;
height:30px;
padding: 3px 7px;
}
.btn-circle-sm {
display: flex;
justify-content: center;
align-items: center;
height: 30px;
width: 30px;
border-radius: 50%;
border: none;
outline: none;
color: #fff;
background: var(--blue);
cursor: pointer;
transition: all 0.2s ease;
}