Pārlūkot izejas kodu

fix: log sass warning

lanceJiang 9 mēneši atpakaļ
vecāks
revīzija
9226c7bdfe

+ 3 - 3
src/styles/element-plus.scss

@@ -51,10 +51,10 @@
 	display: table-cell !important;
 }
 .el-table {
+	//--el-table-header-bg-color: #f6faff;
+	background-color: var(--el-bg-color);
 	&.el-table--enable-row-transition .el-table__body td.el-table__cell {
 		//background-color: var(--el-bg-color);
 		transition: unset;
 	}
-	//--el-table-header-bg-color: #f6faff;
-	background-color: var(--el-bg-color);
-}
+}

+ 1 - 1
src/styles/lance-element-ui.scss

@@ -71,10 +71,10 @@
 		&.is-disabled {
 			.el-input-number__decrease,
 			.el-input-number__increase {
+				color: $le-color_5;
 				&:hover {
 					color: $le-color_5;
 				}
-				color: $le-color_5;
 			}
 		}
 		.el-input-number__decrease,

+ 6 - 5
src/styles/lance-element/draggableNest.scss

@@ -1,5 +1,8 @@
 @import "../variables.scss";
 .#{$prefix}draggable-nest {
+	flex: 1;
+	width: 100%;
+	overflow-y: auto;
 	.flip-list {
 		transition: all 0.3s ease-in-out;
 	}
@@ -25,9 +28,7 @@
 		//box-shadow: 1px 1px 5px 2px rgba(0,0,0,.15);
 		box-shadow: inset 0 0 6px -2px rgba(0, 0, 0, 0.15);
 	}
-	flex: 1;
-	width: 100%;
-	overflow-y: auto;
+
 	&-item {
 		padding-left: 12px;
 		&:hover {
@@ -48,14 +49,14 @@
 			&.disabled {
 				color: var(--el-text-color-disabled);
 				cursor: not-allowed;
+				opacity: unset;
+				box-shadow: none;
 				&.ghost {
 					background: unset;
 				}
 				& > .dragEl {
 					cursor: not-allowed;
 				}
-				opacity: unset;
-				box-shadow: none;
 				.disabled_fixed {
 					width: 28px;
 					margin-left: auto;

+ 7 - 7
src/styles/lance-element/noData.scss

@@ -1,6 +1,11 @@
 @import "../variables.scss";
 // NoData 样式
 .#{$prefix}no-data {
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+	padding: 20px 0;
   &.small {
 		.#{$prefix}no-data__img {
 			//width: 108px;
@@ -14,17 +19,12 @@
 			font-size: 120px;
     }
   }
-  display: flex;
-  flex-direction: column;
-  justify-content: center;
-  align-items: center;
+
   &--full {
     width: 100%;
     height: 100%;
   }
 
-  padding: 20px 0;
-
   &__img {
     font-size: 80px;
     pointer-events: none;
@@ -35,4 +35,4 @@
     line-height: initial;
 		font-size: 12px;
   }
-}
+}

+ 3 - 3
src/styles/lance-element/text.scss

@@ -1,6 +1,9 @@
 @import "../variables.scss";
 // Text 样式
 .#{$prefix}text {
+	//font-size: 14px;
+	font-size: var(--el-font-size-base);
+	display: inline-flex;
 	&-wrap {
 	}
 	/*.is-line-clamp {
@@ -8,9 +11,6 @@
 		-webkit-box-orient: vertical;
 		overflow: hidden;
 	}*/
-	//font-size: 14px;
-	font-size: var(--el-font-size-base);
-	display: inline-flex;
 	.action-icon {
 		margin-left: 2px;
 		padding-top: 4px;