common.css 7.31 KB
Newer Older
潘际乾 committed
1
:root {
Wuyuqiu committed
2 3
  /* 白色 */
  /* --bgcolor: #fff;
潘际乾 committed
4 5
    --sidecolor: #fff;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
6 7
  /* 灰灰 */
  /* --bgcolor: #f8f8f5;
潘际乾 committed
8 9
    --sidecolor: #fafafa;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
10 11
  /* 淺綠色 */
  /* --bgcolor: #dff9fb;
潘际乾 committed
12 13
    --sidecolor: #c7ecee;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
14 15
  /* 淡黄色 */
  /* --bgcolor: #f5f5d5;
潘际乾 committed
16 17
    --sidecolor: #f5f5d5;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
18 19 20
  /* 绿色 */

  /* --bgcolor: #ccffcc;
潘际乾 committed
21 22
    --sidecolor: #ccffcc;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
23
  /* --bgcolor: #ccffff;
潘际乾 committed
24 25
    --sidecolor: #64d7eb;
    --darkbgcolor: rgb(232, 232, 232); */
Wuyuqiu committed
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
  /* 蓝色系 */
  --bgcolor: #f7faff;
  /* #E3F3FF; */
  --sidecolor: #fff;
  /* #E3F3FF; */
  --darkbgcolor: #f4f5fa;
  /* rgb(232, 232, 232); */
  --lineheight: 32px;
  --normalfont: 12px;
  /* --themecolor: #1561E0; */
  --themecolor: #1561E0;
}

#app {
  font-family: Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
}

.e-table-wrapper {
  display: flex;
  flex-direction: column;
}

.e-table-wrapper .el-table {
  flex: 1;
}

/* 配色 */
/* .fold {
潘际乾 committed
56 57
    background-color: var(--color);
  } */
Wuyuqiu committed
58 59

/* .unfold {
潘际乾 committed
60 61
    background-color: var(--color);
  } */
Wuyuqiu committed
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
.m-app-main {
  /* background-color: var(--bgcolor); */
}

.m-app {
  background-color: var(--darkbgcolor);
}

.fold {
  width: 60px !important;
}

/* sidemenu */
.el-menu {
  background: var(--sidecolor);
}

.el-menu-item.is-active {
  color: #fff;
  background-color: var(--themecolor);
}

.eContainer-menu-search {
  background: var(--sidecolor);
}

.eContainer-menu-search button {
  background: var(--sidecolor);
}

.eContainer-scroller {
  background: var(--sidecolor);
}

.topbtnbar {
  position: absolute;
  top: 20px;
  right: 60px;
  z-index: 90;
  display: inline-block;
}

.topbtnbar>span {
  display: inline-block;
}

/* 页签样式调整 */
.el-tabs .el-tabs__header {
  margin: 0;
}

.el-tabs .el-tabs__content {
  /* background: #fff; */
潘际乾 committed
115
  /* padding: 10px; */
Wuyuqiu committed
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
}

.el-tabs--card>.el-tabs__header .el-tabs__item {
  border-left: 1px solid #ccc;
  padding: 0 10px;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  border-bottom: 1px solid var(--themecolor);
  /* border-top: 1px solid #ccc; */
  background-image: linear-gradient(#fff, #dedede);
}

.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2) {
  padding-left: 10px;
}

.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child {
  padding-right: 10px;
}

.el-tabs--card>.el-tabs__header {
  border-bottom: 2px solid var(--themecolor);
}

.el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
  border-left: 1px solid var(--themecolor);
  border-right: 1px solid var(--themecolor);
  border-top: 1px solid var(--themecolor);
  background-image: linear-gradient(#fff, #fff);
  color: var(--themecolor);
  border-bottom: 1px solid #fff;
  box-sizing: content-box;
  font-weight: bold;
}

.el-tabs--card .el-tabs__nav-wrap {
  margin-bottom: -2px;
}

潘际乾 committed
156 157 158 159
.el-form-item__label {
  padding: 0 20px 0 0;
}

Wuyuqiu committed
160 161 162 163 164 165 166 167
.el-form-item--small .el-form-item__label {
  font-size: var(--normalfont);
  height: var(--lineheight);
  line-height: var(--lineheight);
}

.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
潘际乾 committed
168 169
  margin-bottom: 20px;
  /* margin-top: 20px; */
Wuyuqiu committed
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294
}

.el-input--small .el-input__inner {
  height: var(--lineheight);
  line-height: var(--lineheight);
  font-size: var(--normalfont);
}

.el-form-item--small .el-form-item__content,
.el-form-item--small .el-form-item__label {
  line-height: var(--lineheight);
}

.el-select .el-input .el-select__caret {
  font-size: var(--normalfont);
}

.el-input--small .el-input__icon {
  line-height: var(--lineheight);
}

.el-input-number--small {
  line-height: var(--lineheight);
}

.el-textarea__inner {
  font-size: 12px;
}

.el-button--small,
.el-button--small.is-round {
  padding: 0px 15px;
  font-size: 12px;
  line-height: 22px;
}

.el-button--small.el-button--text {
  padding-left: 0;
  padding-right: 0;
}

.el-button--primary {
  color: #FFF;
  background-color: #1561E0;
  border-color: #1561E0;
}

.el-card {
  margin-bottom: 8px;
}

.m-inputbtn {
  position: relative;
}

.m-inputbtn-input {
  padding-right: 64px;
  display: inline-block;
}

.m-inputbtn-btn {
  position: absolute;
  right: 0;
}

.m-inputbtn-double {
  position: relative;
}

.m-inputbtn-input-double {
  padding-right: 90px;
  display: inline-block;
}

.m-inputbtn-btn-double {
  position: absolute;
  right: 0;
  top: 0;
}

.m-inputbtn-btn-double .el-button {
  padding: 0 8px;
}

.m-inputbtn-double .el-button+.el-button {
  margin-left: 0;
}

.el-radio__label {
  font-size: 12px;
}

.el-checkbox__label {
  font-size: 12px;
}

.el-checkbox__input.is-checked+.el-checkbox__label {
  color: #1561E0;
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #1561E0;
  border-color: #1561E0;
}

.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: #1561E0;
  border-color: #1561E0;
}

.c-title {
  /* color: rgba(0, 0, 0, 0.65); */
  /* font-weight: 600; */
  /* font-size: 12px; */
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 10px;
}

.el-dialog__body {
  padding: 10px 20px 20px;
}

/* form 必填项的内容区域颜色突出显示 *
295
  暂时封掉
296 297 298 299 300 301
  .el-form-item.is-required .el-form-item__content .el-input__inner, 
  .el-form-item.is-required .el-form-item__content .el-textarea__inner,
  .el-form-item.is-required .el-form-item__content .el-checkbox__inner,
  .el-form-item.is-required .el-form-item__content .el-radio__inner,
  .el-form-item.is-required .el-form-item__content .el-input__count {
    background-color: #f3f3bf87;
302 303
  }*/

Wuyuqiu committed
304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
/* form 必填项红星星靠右 */
.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
  content: none;
}

.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:after,
.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:after {

  content: '*';
  color: #F56C6C;
  margin-left: 4px;
}

.el-tree-node__label {
  font-size: 12px;
}

.c-w-100 {
  width: 100%;
}

.m-ureport-actions {
  width: 100%;
  text-align: center;
}

.m-ureport-actions .el-button--small {
  padding: 0px 15px;
  font-size: 12px;
  line-height: 22px;
}

.el-table th {
  user-select: initial;
}

.el-tooltip__popper.is-dark {
  max-width: 600px;
}

.el-date-editor.el-range-editor--small.el-input__inner {
  height: 24px;
  font-size: 13px;
}

.el-date-editor.el-range-editor--small .el-range__close-icon,
.el-range-editor--small .el-range__icon {
  line-height: 16px;
  font-size: 12px;
}

.el-date-editor.el-range-editor--small .el-range-separator {
  line-height: 16px;
  font-size: 12px;
}

.el-table__fixed,
.el-table__fixed-right {
liuxin committed
363
  height: 100% !important;
Wuyuqiu committed
364 365
  bottom: 17px;
}
366 367

/* medium_button_change_small */
Wuyuqiu committed
368
.medium_bcs {
369 370 371 372 373
  padding: 8px 15px;
  margin-top: 5px;
  margin-left: 7px;
}

Wuyuqiu committed
374 375 376 377 378 379 380
.busnavbar-items {
  /*TODO完善按钮间隔等样式 */
  margin-left: 7px;
  padding-left: 3px;
}

.el-collapse .el-collapse-item__wrap{
潘际乾 committed
381
   /* background-color: var(--bgcolor); */
Wuyuqiu committed
382 383 384
}

.el-collapse-item__header{
潘际乾 committed
385
  /* background-color: var(--bgcolor); */
Wuyuqiu committed
386 387 388 389 390
}

.el-collapse-item__header.is-active{
  font-size: 15px;
  font-weight: bold;
潘际乾 committed
391 392 393 394 395 396 397 398
}

.col-left {
  padding-right: 20px;
}

.col-right {
  padding-left: 20px;
Wuyuqiu committed
399 400 401 402
}

.el-button{
  height: 32px;
403
}