common.scss 3.14 KB
@import './demo.scss';

img {
  width: 100%;
  height: 100%;
  vertical-align: top;
}

.text-hide {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-hide-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.scrm-textRight {
  position: relative;
  text-align: right;
}

.scrm-textCenter {
  text-align: center;
}

.scrm-c3 {
  color: #333333;
}

.scrm-f12 {
  font-size: 12px;
}

.scrm-f13 {
  font-size: 13px;
}

.scrm-f14 {
  font-size: 14px;
}

.scrm-f15 {
  font-size: 15px;
}

.scrm-f16 {
  font-size: 16px;
}

.scrm-f18 {
  font-size: 18px;
}

.scrm-f20 {
  font-size: 20px;
}

.scrm-f22 {
  font-size: 22px;
}

.scrm-f24 {
  font-size: 24px;
}

.scrm-m10 {
  margin: 10px;
}

.scrm-m20 {
  margin: 20px;
}

.scrm-ml10 {
  margin-left: 10px;
}

.scrm-ml20 {
  margin-left: 20px;
}

.scrm-mr10 {
  margin-right: 10px;
}

.scrm-mr20 {
  margin-right: 20px;
}

.scrm-p10 {
  padding: 10px;
}

.scrm-p20 {
  padding: 20px;
}

.scrm-box-f {
  background: #ffffff;
  box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
}

.scrm-flex {
  display: flex;
}

.scrm-grid {
  display: grid;
}

.scrm-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrm-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.el-checkbox:last-of-type {
  margin-right: 0px;
}

::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 4px;
  background-color: rgba(144, 147, 153, 0.3);
}

.el-message--info {
  height: 40px;
  background: #e6e9ff;
  border: 1px solid #5850ff;
  border-radius: 4px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.65);
}

.el-message .el-icon-info {
  color: #5850ff;
  font-size: 16px;
}

.el-cascader-menu {
  max-height: 500px;
}

.footer-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  bottom: 0px;
  height: 64px;
  background: #ffffff;
  z-index: 999;
  box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
}

.dot {
  display: inline-flex;
  align-items: center;

  span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 8px;
  }

  .normal {
    background-color: #2cca74;
  }

  .draft {
    background-color: #fdb757;
  }

  .dot1 {
    background-color: #fdb757;
  }

  .dot2 {
    background-color: #2cca74;
  }

  .dot3 {
    background-color: #999999;
  }

  .dot4 {
    background-color: #eb4e4e;
  }

  .dot5 {
    background-color: #fdb757;
  }
}

.m-r-md {
  margin-right: 20px;
}

// 顶部按钮
.top_widget {
  padding-bottom: 16px;
	.el-button {
		span {
			margin-left: 10px;
		}
	}
}

.role-border {
  border: 1px solid #e5e5e5;
}

.role-border-b {
  border-bottom: 1px solid #e5e5e5;
}

.gl-message-box {
  .el-message-box__title {
    line-height: 27px;
  }
  .el-message-box__headerbtn {
    height: 100%;
    top: 0;
  }
  .el-message-box__message {
    p {
      line-height: 22px;
    }
  }
  .el-message-box__status+.el-message-box__message {
    padding-top: 112.5px;
  }
}