unify css
This commit is contained in:
1 parent
8f63185450
commit
c5dcb595ec
1 file changed
+44
-5
+44
-5
@@ -1645,8 +1645,47 @@ body {
|
||||
.pagination-bar > span { color: #768296; }
|
||||
|
||||
.el-button {
|
||||
min-height: 36px;
|
||||
padding: 8px 15px;
|
||||
border-radius: 7px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .01em;
|
||||
transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
|
||||
}
|
||||
.el-button:focus-visible,
|
||||
button:focus-visible {
|
||||
outline: 3px solid rgba(35, 56, 118, .28);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.el-button:not(.is-disabled):active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
.el-button.is-disabled,
|
||||
.el-button.is-disabled:hover {
|
||||
cursor: not-allowed;
|
||||
box-shadow: none;
|
||||
}
|
||||
.el-button--small {
|
||||
min-height: 30px;
|
||||
padding: 6px 11px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.el-button--large {
|
||||
min-height: 42px;
|
||||
padding: 10px 19px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.el-button.is-circle,
|
||||
.el-button.is-round {
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
.el-button.is-text,
|
||||
.el-button.is-link {
|
||||
min-height: 30px;
|
||||
padding: 4px 7px;
|
||||
border-radius: 5px;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* Keep secondary actions legible instead of falling back to Element Plus' pale default token set. */
|
||||
@@ -1654,9 +1693,9 @@ body {
|
||||
--el-button-text-color: #233876;
|
||||
--el-button-bg-color: #ffffff;
|
||||
--el-button-border-color: #b9c9dc;
|
||||
--el-button-hover-text-color: #ffffff;
|
||||
--el-button-hover-bg-color: #233876;
|
||||
--el-button-hover-border-color: #233876;
|
||||
--el-button-hover-text-color: #233876;
|
||||
--el-button-hover-bg-color: #f0f4fb;
|
||||
--el-button-hover-border-color: #879bc4;
|
||||
--el-button-active-text-color: #ffffff;
|
||||
--el-button-active-bg-color: #152550;
|
||||
--el-button-active-border-color: #152550;
|
||||
@@ -1734,8 +1773,8 @@ body {
|
||||
--el-button-disabled-bg-color: #e8edf3;
|
||||
--el-button-disabled-border-color: #c5d0dc;
|
||||
}
|
||||
.el-button--primary { box-shadow: 0 4px 10px rgba(35, 56, 118, .14); }
|
||||
.el-button--primary:hover { box-shadow: 0 6px 14px rgba(35, 56, 118, .2); }
|
||||
.el-button--primary { box-shadow: 0 2px 5px rgba(35, 56, 118, .12); }
|
||||
.el-button--primary:hover { box-shadow: 0 4px 9px rgba(35, 56, 118, .18); }
|
||||
.el-input__wrapper,
|
||||
.el-textarea__inner,
|
||||
.el-select__wrapper,
|
||||
|
||||
Reference in new issue
Block a user