elementui-reset.less 3.06 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170
body {
	overflow: hidden;
}
// 下拉框样式问题
.el-select-dropdown__wrap {
	margin-bottom: 0!important;
}
.el-dialog {
	height: 70vh;
}
.el-dialog__body {
	width: 100%;
	height: calc(100% - 116px);
	overflow: auto;
}
.el-form-item__error {
	position: static;
}

/*滚动条样式*/
*::-webkit-scrollbar {
	width: 10px;    
	height: 10px;
}
*::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
	background: rgba(0, 0, 0, 0.2);
}
*::-webkit-scrollbar-track {
	// -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	// border-radius: 0;
  // background: rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: inset 0 0 5px transparent;
	border-radius: 0;
	background: transparent;
}

.el-scrollbar__bar.is-vertical {
	display: none;
}
.el-scrollbar__bar.is-horizontal {
	display: none;
}

.el-pagination {
	background: #fff;
}
.el-table--small {
	font-size: 14px;
}

.el-input.is-disabled .el-input__inner {
	background-color: #f1f1f1;
	color: #83878e;
}

.el-table__fixed-right::before {
	background-color: transparent;
}

.custom-box-wrap {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	.box-1 {
		width: calc(100% - 120px);
		display: flex;align-items: center;
		justify-content: flex-start;
	}
	.box-2 {
		width: 100px;margin-left: 20px;display: flex;align-items: flex-start;
	}
	.box-3 {
		flex: 1;
	}
}

.el-message-box__wrapper {
	z-index: 9999!important;
}

.is-disabled .el-checkbox__label {
	color: #404041!important;
}

.el-table__empty-block {
	width: 100%!important;
}
.el-table__empty-block .el-table__empty-text {
	font-size: 18px!important;
}
.el-dropdown-menu--small .el-dropdown-menu__item {
	padding: 3px 15px!important;
}

.el-checkbox__inner {
	width: 18px;
	height: 18px;
	border: 1px solid #999;
}
.el-checkbox__inner::after {
	left: 6px;
	top: 3px;
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
	left: 6px;
	top: 3px;
}
.el-checkbox__input.is-disabled .el-checkbox__inner {
	border-color: #999;
}
.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner::after {
	border-color: #666;
}

.el-dropdown-menu {
	max-height: 300px;
	overflow-y: auto;
}

.box-card {
	margin-bottom: 10px;
	/deep/ .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
		margin-bottom: 10px;
	}
	/deep/ .el-card__body {
		padding: 10px 10px 10px 0px;
	}
}

.el-tabs {
	height: 100%;
}

.custom-form-item-red .el-input .el-input__inner{
  border-color: red!important;
}
.custom-form-item-red .el-textarea__inner{
  border-color: red!important;
}
.el-input__count {
  height: 16px;
  line-height: 16px;
  bottom: 4px;
}
.el-tabs__item {
	margin-right: 2px!important;
}
.el-form-item--small {
	&.el-form-item{
		 margin-bottom: 8px!important;
	}
}
.custom-select-red {
  li {
    span {
      color: red!important;
    }
  }
}
.custom-select-red-input{
  .el-input__inner{
    color: red!important;
  }
}
.el-notification__content p{
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji!important;
}