|
@@ -1,91 +1,89 @@
|
|
|
// dialog
|
|
|
.el-dialog {
|
|
|
- border-radius: 10px;
|
|
|
+ border-radius: 8px;
|
|
|
overflow: hidden;
|
|
|
border: 1px solid #c8c8ca;
|
|
|
- background-color: #f6f6f6;
|
|
|
-
|
|
|
box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
|
|
|
+
|
|
|
+ &.is-fullscreen {
|
|
|
+ border-radius: 0;
|
|
|
+ }
|
|
|
}
|
|
|
.el-dialog__header {
|
|
|
padding: 15px 20px;
|
|
|
- background-color: #f6f6f6;
|
|
|
.el-dialog__title {
|
|
|
- color: #666666;
|
|
|
- font-weight: bold;
|
|
|
+ color: $--color-text-dark-1;
|
|
|
font-size: 16px;
|
|
|
line-height: 19px;
|
|
|
}
|
|
|
+ .el-dialog__headerbtn {
|
|
|
+ top: 15px;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ background-image: url(../images/icon-close.png);
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 100% 100%;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background-image: url(../images/icon-close-act.png);
|
|
|
+ }
|
|
|
+
|
|
|
+ .el-dialog__close {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
.el-dialog__body {
|
|
|
- padding: 30px 20px 20px;
|
|
|
- background-color: #f6f6f6;
|
|
|
+ padding: 30px 40px;
|
|
|
position: relative;
|
|
|
- border-top: 1px solid #e5e5e5;
|
|
|
+ border-top: 1px solid $--color-border;
|
|
|
|
|
|
- &::after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- z-index: auto;
|
|
|
- width: 100%;
|
|
|
- height: 10px;
|
|
|
- background: linear-gradient(
|
|
|
- 0deg,
|
|
|
- rgba(245, 245, 245, 0) 0%,
|
|
|
- rgba(238, 238, 238, 1) 100%
|
|
|
- );
|
|
|
- }
|
|
|
.el-form-item__label {
|
|
|
- font-weight: bold;
|
|
|
- color: rgba(153, 153, 153, 1);
|
|
|
+ color: #545454;
|
|
|
padding-right: 2px;
|
|
|
}
|
|
|
.el-input-tips {
|
|
|
- font-weight: bold;
|
|
|
color: rgba(187, 187, 187, 1);
|
|
|
margin-left: 13px;
|
|
|
}
|
|
|
}
|
|
|
.el-dialog__footer {
|
|
|
- background-color: #f6f6f6;
|
|
|
- text-align: center;
|
|
|
+ text-align: right;
|
|
|
.el-button {
|
|
|
width: 100px;
|
|
|
- border-radius: 10px;
|
|
|
- }
|
|
|
- .el-button--default {
|
|
|
- background: rgba(245, 245, 245, 1);
|
|
|
- color: #999;
|
|
|
+ border-radius: 8px;
|
|
|
}
|
|
|
+ // .el-button--default {
|
|
|
+ // background: rgba(245, 245, 245, 1);
|
|
|
+ // color: #999;
|
|
|
+ // }
|
|
|
}
|
|
|
-.el-popup-close {
|
|
|
- height: 20px;
|
|
|
- width: 20px;
|
|
|
- background-image: url(../images/icon-close.png);
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
- &::before {
|
|
|
- content: "";
|
|
|
+
|
|
|
+// .opacity-dialog
|
|
|
+.opacity-dialog {
|
|
|
+ .el-dialog {
|
|
|
+ background-color: transparent;
|
|
|
}
|
|
|
- &:hover {
|
|
|
- background-image: url(../images/icon-close-act.png);
|
|
|
+ .el-dialog__header,
|
|
|
+ .el-dialog__footer {
|
|
|
+ display: none;
|
|
|
}
|
|
|
-}
|
|
|
-.el-dialog__headerbtn {
|
|
|
- top: 14px;
|
|
|
- right: 14px;
|
|
|
- .el-dialog__close {
|
|
|
- @extend .el-popup-close;
|
|
|
+ .el-dialog__body {
|
|
|
+ position: absolute;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ padding: 0;
|
|
|
+ background-color: transparent;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// form
|
|
|
.el-form {
|
|
|
&-item {
|
|
|
&__error {
|
|
|
font-size: 12px;
|
|
|
- font-weight: bold;
|
|
|
color: rgba(254, 108, 105, 1);
|
|
|
}
|
|
|
&__content {
|
|
@@ -94,9 +92,21 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- &--inline {
|
|
|
+ // form-info
|
|
|
+ &.form-info {
|
|
|
.el-form-item {
|
|
|
- margin-right: 20px;
|
|
|
+ margin-bottom: 0;
|
|
|
+
|
|
|
+ .el-form-item__label {
|
|
|
+ color: $--color-text-gray-2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &--label-top {
|
|
|
+ .el-form-item__label {
|
|
|
+ line-height: 20px;
|
|
|
+ padding-bottom: 5px;
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -107,10 +117,27 @@
|
|
|
border-color: $--color-primary !important;
|
|
|
}
|
|
|
}
|
|
|
+ &.is-disabled {
|
|
|
+ .el-input__inner {
|
|
|
+ color: $--color-text-gray-2;
|
|
|
+ }
|
|
|
+ }
|
|
|
.el-input__inner {
|
|
|
- border-radius: 7px;
|
|
|
+ border-radius: 8px;
|
|
|
border-color: #ddd;
|
|
|
- background-color: #f5f5f5;
|
|
|
+ background-color: #fff;
|
|
|
+ }
|
|
|
+ // .el-input__suffix {
|
|
|
+ // right: 0;
|
|
|
+ // border-left: 1px solid #ddd;
|
|
|
+ // }
|
|
|
+}
|
|
|
+// textarea
|
|
|
+.el-textarea {
|
|
|
+ &.is-disabled {
|
|
|
+ .el-textarea__inner {
|
|
|
+ color: $--color-text-gray-2;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
// upload
|
|
@@ -130,11 +157,6 @@
|
|
|
color: $--color-white;
|
|
|
border-color: $--color-primary;
|
|
|
background: $--color-primary;
|
|
|
- background-image: linear-gradient(
|
|
|
- -90deg,
|
|
|
- $--color-success 0%,
|
|
|
- $--color-primary 100%
|
|
|
- );
|
|
|
}
|
|
|
// button
|
|
|
.el-button {
|
|
@@ -145,80 +167,13 @@
|
|
|
}
|
|
|
> span {
|
|
|
display: inline-block;
|
|
|
- vertical-align: middle;
|
|
|
}
|
|
|
&.is-disabled {
|
|
|
- color: $--color-text-secondary !important;
|
|
|
+ color: $--color-text-gray-3 !important;
|
|
|
background: $--color-background !important;
|
|
|
border: 1px solid $--color-border !important;
|
|
|
}
|
|
|
}
|
|
|
-.el-button--default {
|
|
|
- color: $--color-text-regular;
|
|
|
- background: $--color-background;
|
|
|
- border: 1px solid $--color-border;
|
|
|
- &:hover,
|
|
|
- &:focus {
|
|
|
- color: $--color-text-regular;
|
|
|
- background: $--color-white;
|
|
|
- border: 1px solid $--color-border;
|
|
|
- }
|
|
|
- &.el-button--default-act {
|
|
|
- color: $--color-text-regular !important;
|
|
|
- background: $--color-background !important;
|
|
|
- border: 1px solid $--color-border !important;
|
|
|
- &:hover,
|
|
|
- &:focus {
|
|
|
- color: $--color-text-regular !important;
|
|
|
- background: $--color-white !important;
|
|
|
- border: 1px solid $--color-border !important;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-.el-button--primary {
|
|
|
- color: $--color-white;
|
|
|
- border-color: $--color-primary;
|
|
|
- background: $--color-primary;
|
|
|
- background-image: linear-gradient(
|
|
|
- -90deg,
|
|
|
- $--color-success 0%,
|
|
|
- $--color-primary 100%
|
|
|
- );
|
|
|
-
|
|
|
- &:hover,
|
|
|
- &:focus {
|
|
|
- color: $--color-white;
|
|
|
- border-color: $--color-primary;
|
|
|
- background: $--color-primary;
|
|
|
- background-image: linear-gradient(
|
|
|
- -90deg,
|
|
|
- mix($--color-white, $--color-success, 20%) 0%,
|
|
|
- mix($--color-white, $--color-primary, 20%) 100%
|
|
|
- );
|
|
|
- }
|
|
|
-}
|
|
|
-.el-button--warning {
|
|
|
- color: $--color-white;
|
|
|
- border-color: $--color-warning-lighter;
|
|
|
- background: $--color-warning-lighter;
|
|
|
- background-image: linear-gradient(
|
|
|
- -90deg,
|
|
|
- $--color-warning-lighter 0%,
|
|
|
- $--color-warning 100%
|
|
|
- );
|
|
|
-
|
|
|
- &:hover,
|
|
|
- &:focus {
|
|
|
- color: $--color-white;
|
|
|
- border-color: $--color-warning-lighter;
|
|
|
- background: $--color-warning-lighter;
|
|
|
- background-image: linear-gradient(
|
|
|
- -90deg,
|
|
|
- mix($--color-white, $--color-warning-lighter, 20%) 0%,
|
|
|
- mix($--color-white, $--color-warning, 20%) 100%
|
|
|
- );
|
|
|
- }
|
|
|
-}
|
|
|
|
|
|
.el-button + .popover-button,
|
|
|
.popover-button + .el-button {
|
|
@@ -230,58 +185,69 @@
|
|
|
.el-button--text + .el-button--text {
|
|
|
margin-left: 5px;
|
|
|
}
|
|
|
+.el-button--small {
|
|
|
+ padding-top: 8px;
|
|
|
+ padding-bottom: 8px;
|
|
|
+ font-size: 12px;
|
|
|
+}
|
|
|
.el-button--text {
|
|
|
- color: $--color-text-regular;
|
|
|
+ color: $--color-text-gray-2;
|
|
|
|
|
|
- &.btn-table-icon {
|
|
|
- padding: 0;
|
|
|
- min-width: 10px;
|
|
|
- > i {
|
|
|
- width: 20px;
|
|
|
- height: 20px;
|
|
|
- }
|
|
|
+ & + .el-button--text {
|
|
|
+ margin-left: 10px;
|
|
|
+ }
|
|
|
+}
|
|
|
+.el-button--info {
|
|
|
+ background-color: $--color-cyan;
|
|
|
+ border-color: $--color-cyan;
|
|
|
|
|
|
- &:hover {
|
|
|
- transform: scale(1.2);
|
|
|
- }
|
|
|
+ &:hover,
|
|
|
+ &:focus {
|
|
|
+ background-color: $--color-cyan-light;
|
|
|
+ border-color: $--color-cyan-light;
|
|
|
}
|
|
|
- &.btn-table-primary {
|
|
|
- > i {
|
|
|
- color: $--color-primary;
|
|
|
- }
|
|
|
+}
|
|
|
+.el-button--primary {
|
|
|
+ background-color: $--color-primary;
|
|
|
+ border-color: $--color-primary;
|
|
|
+
|
|
|
+ &:hover,
|
|
|
+ &:focus {
|
|
|
+ background-color: $--color-primary-light;
|
|
|
+ border-color: $--color-primary-light;
|
|
|
}
|
|
|
- &.btn-table-danger {
|
|
|
- > i {
|
|
|
- color: $--color-danger;
|
|
|
- }
|
|
|
+}
|
|
|
+.el-button--success {
|
|
|
+ background-color: $--color-success;
|
|
|
+ border-color: $--color-success;
|
|
|
+
|
|
|
+ &:hover,
|
|
|
+ &:focus {
|
|
|
+ background-color: $--color-success-light;
|
|
|
+ border-color: $--color-success-light;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
// table
|
|
|
.el-table {
|
|
|
- color: $--color-text-regular;
|
|
|
- font-weight: bold;
|
|
|
+ color: $--color-text-dark-1;
|
|
|
|
|
|
- &--border {
|
|
|
- border-radius: $--border-radius;
|
|
|
- border: 1px solid $--color-border;
|
|
|
+ thead th {
|
|
|
+ color: $--color-text-gray-2;
|
|
|
}
|
|
|
|
|
|
- &__header thead {
|
|
|
- font-size: 16px;
|
|
|
- color: $--color-text-primary;
|
|
|
- font-weight: bold;
|
|
|
+ thead.is-group th {
|
|
|
+ background-color: $--color-white;
|
|
|
}
|
|
|
+
|
|
|
tr.el-table__row {
|
|
|
- background-color: $--color-background;
|
|
|
- &.el-table__row--striped {
|
|
|
- td {
|
|
|
- background-color: $--color-white;
|
|
|
- }
|
|
|
- }
|
|
|
+ color: $--color-text-dark;
|
|
|
}
|
|
|
td,
|
|
|
th {
|
|
|
- border-color: $--color-border-light !important;
|
|
|
+ border-color: $--color-border !important;
|
|
|
+ padding: 14px 0;
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
.el-table__row.row-danger {
|
|
|
color: $--color-danger;
|
|
@@ -291,107 +257,87 @@
|
|
|
background-color: $--color-white;
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
-// el-checkbox
|
|
|
-.el-checkbox {
|
|
|
- .el-checkbox__input {
|
|
|
- .el-checkbox__inner {
|
|
|
- width: 18px;
|
|
|
- height: 18px;
|
|
|
- border-color: $--color-border;
|
|
|
- &::after {
|
|
|
- display: none;
|
|
|
+
|
|
|
+ .cell-head {
|
|
|
+ display: inline-block;
|
|
|
+ vertical-align: middle;
|
|
|
+ line-height: 1.3;
|
|
|
+ }
|
|
|
+ // caret-wrapper
|
|
|
+ .caret-wrapper {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ top: -1px;
|
|
|
+ .sort-caret {
|
|
|
+ &.ascending {
|
|
|
+ top: -1px;
|
|
|
}
|
|
|
- }
|
|
|
- &.is-checked {
|
|
|
- .el-checkbox__inner {
|
|
|
- border: none;
|
|
|
- background-color: transparent;
|
|
|
- background-image: url(../images/icon-checked.png);
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
+ &.descending {
|
|
|
+ bottom: -1px;
|
|
|
}
|
|
|
}
|
|
|
- &.is-focus {
|
|
|
- .el-checkbox__inner {
|
|
|
- border-color: $--color-border;
|
|
|
+ }
|
|
|
+ // action-column
|
|
|
+ .action-column {
|
|
|
+ .el-button--text {
|
|
|
+ padding: 0;
|
|
|
+ &:hover {
|
|
|
+ transform: scale(1.1);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+}
|
|
|
+// el-checkbox
|
|
|
+.el-checkbox {
|
|
|
.el-checkbox__label {
|
|
|
- color: $--color-text-regular !important;
|
|
|
- font-weight: bold;
|
|
|
+ color: $--color-text-gray-2 !important;
|
|
|
}
|
|
|
}
|
|
|
.el-radio {
|
|
|
- .el-radio__input {
|
|
|
- .el-radio__inner {
|
|
|
- width: 18px;
|
|
|
- height: 18px;
|
|
|
- border-color: $--color-border;
|
|
|
-
|
|
|
- &::after {
|
|
|
- display: none;
|
|
|
- }
|
|
|
- }
|
|
|
- &.is-checked {
|
|
|
- .el-radio__inner {
|
|
|
- border: none;
|
|
|
- background-color: transparent;
|
|
|
- background-image: url(../images/icon-radio-checked.png);
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 100% 100%;
|
|
|
- }
|
|
|
- }
|
|
|
- &.is-focus {
|
|
|
- .el-radio__inner {
|
|
|
- border-color: $--color-border;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
.el-radio__label {
|
|
|
- color: $--color-text-regular !important;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
- &.is-disabled {
|
|
|
- .el-radio__label {
|
|
|
- color: $--color-text-secondary !important;
|
|
|
- }
|
|
|
+ color: $--color-text-gray-2 !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
// el-pagination
|
|
|
.el-pagination-li {
|
|
|
- width: 32px;
|
|
|
+ min-width: 32px;
|
|
|
height: 32px;
|
|
|
- border-radius: 50%;
|
|
|
+ border-radius: 8px;
|
|
|
overflow: hidden;
|
|
|
background-color: $--color-white;
|
|
|
- border: 1px solid $--color-border;
|
|
|
+ border: 1px solid #e1e3eb;
|
|
|
}
|
|
|
.el-pagination {
|
|
|
+ padding: 0;
|
|
|
+ .el-pagination__total {
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ span:not([class*="suffix"]) {
|
|
|
+ line-height: 32px;
|
|
|
+ height: 32px;
|
|
|
+ }
|
|
|
&.is-background {
|
|
|
.btn-prev,
|
|
|
.btn-next {
|
|
|
- color: $--color-text-regular;
|
|
|
- margin: 0 13px;
|
|
|
+ color: $--color-text-gray-2;
|
|
|
+ margin: 0 5px;
|
|
|
@extend .el-pagination-li;
|
|
|
}
|
|
|
.btn-prev:disabled,
|
|
|
.btn-next:disabled {
|
|
|
- background-color: $--color-background;
|
|
|
+ opacity: 0.7;
|
|
|
}
|
|
|
|
|
|
.el-pager li {
|
|
|
- color: $--color-text-regular;
|
|
|
- font-weight: bold;
|
|
|
+ color: $--color-text-gray-2;
|
|
|
margin: 0 5px;
|
|
|
+ padding: 0 8px;
|
|
|
line-height: 32px;
|
|
|
|
|
|
@extend .el-pagination-li;
|
|
|
&:not(.disabled).active {
|
|
|
color: #fff;
|
|
|
- @extend .el-button--primary;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -408,9 +354,6 @@
|
|
|
top: 10px;
|
|
|
right: 10px;
|
|
|
}
|
|
|
- &__close.el-icon-close {
|
|
|
- @extend .el-popup-close;
|
|
|
- }
|
|
|
&__content {
|
|
|
text-align: center;
|
|
|
|
|
@@ -444,13 +387,13 @@
|
|
|
&__btns {
|
|
|
position: relative;
|
|
|
height: 75px;
|
|
|
- padding: 20px;
|
|
|
+ padding: 30px 20px 10px;
|
|
|
|
|
|
> .el-button {
|
|
|
width: 85px;
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
- top: 20px;
|
|
|
+ top: 30px;
|
|
|
|
|
|
&:first-child {
|
|
|
margin-left: 5px;
|
|
@@ -461,6 +404,7 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.alert-message {
|
|
|
.el-message-box__btns {
|
|
|
text-align: center;
|
|
@@ -472,17 +416,76 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+// .el-message
|
|
|
+.el-message-loading {
|
|
|
+ border-color: mix($--color-white, $--color-success, 80%);
|
|
|
+ background-color: mix($--color-white, $--color-success, 90%);
|
|
|
+}
|
|
|
// el-date-editor
|
|
|
.el-date-editor {
|
|
|
.el-range-separator {
|
|
|
width: auto;
|
|
|
- line-height: 28px;
|
|
|
+ line-height: 24px;
|
|
|
}
|
|
|
.el-range-input {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
.el-input__icon {
|
|
|
- line-height: 28px;
|
|
|
+ line-height: 24px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+// el-step
|
|
|
+.el-step {
|
|
|
+ &__title.is-success,
|
|
|
+ &__description.is-success {
|
|
|
+ color: $--color-primary;
|
|
|
+ }
|
|
|
+ &__head.is-success {
|
|
|
+ color: $--color-primary;
|
|
|
+ border-color: $--color-primary;
|
|
|
+ .el-step__line {
|
|
|
+ background-color: $--color-primary;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+// el-popover
|
|
|
+.el-popper-dark {
|
|
|
+ background-color: $--color-text-dark-1;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 18px;
|
|
|
+ padding: 16px;
|
|
|
+ border: none;
|
|
|
+}
|
|
|
+.el-popper-dark {
|
|
|
+ box-shadow: 0px 10px 10px 0px rgba(54, 61, 89, 0.2);
|
|
|
+}
|
|
|
+.el-popper-dark[x-placement^="right"] .popper__arrow {
|
|
|
+ border-right-color: $--color-text-dark-1;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ border-right-color: $--color-text-dark-1;
|
|
|
+ }
|
|
|
+}
|
|
|
+.el-popper-dark[x-placement^="top"] .popper__arrow {
|
|
|
+ border-top-color: $--color-text-dark-1;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ border-top-color: $--color-text-dark-1;
|
|
|
+ }
|
|
|
+}
|
|
|
+.el-popper-dark[x-placement^="bottom"] .popper__arrow {
|
|
|
+ border-bottom-color: $--color-text-dark-1;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ border-bottom-color: $--color-text-dark-1;
|
|
|
+ }
|
|
|
+}
|
|
|
+.el-popper-dark[x-placement^="left"] .popper__arrow {
|
|
|
+ border-left-color: $--color-text-dark-1;
|
|
|
+
|
|
|
+ &::after {
|
|
|
+ border-left-color: $--color-text-dark-1;
|
|
|
}
|
|
|
}
|