sci-pro
Version:
52 lines (51 loc) • 1.03 kB
CSS
.sci-button {
box-sizing: border-box;
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 8px 20px;
font-size: 14px;
font-weight: 500;
line-height: 32px;
color: #606266;
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
background-color: #fff;
border: 1px solid #c4c9cf;
border-radius: 4px;
outline: none;
transition: 0.1s;
}
.sci-button:hover {
color: #409eff;
background-color: #ecf5ff;
border-color: #c6e2ff;
outline: none;
}
.sci-button.sci-button-small {
transform: scale(0.7);
}
.sci-button.sci-button-large {
transform: scale(1.3);
}
.sci-button.sci-button-disabled {
cursor: not-allowed;
opacity: 0.45;
}
.sci-button-primary {
color: #fff;
background-color: #409eff;
border-color: #409eff;
}
.sci-button-primary:hover {
color: #fff;
background: #79bbff;
border-color: #79bbff;
outline: none;
}