public.scss 3.92 KB
body,html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #F4F5FA;
}
.marketing .container {
  padding: 0px 20px 20px 40px;
  background: #ffffff;
  box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
  padding: 20px;
}

.live-room .container {
  background: #FFFFFF;
  margin: 20px 0px;
  padding: 15px 20px;
  box-shadow: 0 1px 5px 0 rgba(38, 38, 38, 0.10);
}
// 单行省略
.ellipsis-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  /* for Opera */
}

// 我这里以两行为例,该方法基本兼容市场上面所有主流浏览器。
.ellipsis-2 {
  overflow: hidden;
  height: 40px;
  line-height: 20px;
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /*显示的行数*/
}

.ellipsis-2-text:after {
  content: "...";
  position: absolute;
  bottom: 0;
  right: 15px;
  padding-left: 20px;
  background: -webkit-linear-gradient(left, transparent, #fff 55%);
  /*我在Safari上测试时发现透明到白色中间会有一个黑色的过渡后来我就写成-webkit-linear-gradient(left,rgba(255,255,255,0),rgba(255,255,255,1) 55%)*/
  background: -o-linear-gradient(left, transparent, #fff 55%);
  background: -moz-linear-gradient(left, transparent, #fff 55%);
  background: linear-gradient(to right, transparent, #fff 55%);
}
.marketing .wechat-container {
  width: 375px;
  margin-right: 45px;
  background: #ffffff;
  position: relative;
}
.marketing .wechat-container .w-100-per {
  width: 100%;
}
.marketing .wechat-container .wechat-box {
  width: 375px;
  border: 1px solid #cecece;
  // width: 100%;
  border-radius: 2px;
}

.marketing .edit-container {
  margin-bottom: 84px;
}

.marketing .edit-form-container {
  margin-top: 20px;
}

.marketing .m-b-20 {
  margin-bottom: 20px;
}

.marketing .footer-btns {
  float: right;
  margin-bottom: 18px;
}

.el-scrollbar__bar.is-horizontal{
    height: 10px !important;
    left: 10px;
}

.base-container-right .el-main-scroll .el-scrollbar__thumb {
    background-color: rgba(144, 147, 153, 0.5) !important;
}

.marketing .el-table .cell {
  line-height: 16px;
}

.marketing .table-btns .el-button {
  padding: 0 0 0 5px;
  margin-left: 5px; 
  border-left: 1px solid #DCDFE6;
  border-radius: 0;
}

.marketing .table-btns .el-button:first-child {
  padding: 0;
  border: 0;
}

.marketing .img-60 {
  width: 60px;
  height: 60px;
}

.marketing .img-100 {
  width: 100px;
  height: 100px;
}

.marketing .m-t-10 {
  margin-top: 10px;
}

.marketing .m-t-20 {
  margin-top: 20px;
}

.marketing.p-t-20,
.marketing .p-t-20 {
  padding-top: 20px;
}

.marketing .txt-center {
  text-align: center;
}

.marketing .footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 64px;
  /* left: 220px; */
  text-align: center;
  line-height: 64px;
  background: #ffffff;
  z-index: 999;
}

.marketing .flex {
  display: flex;
  justify-content: space-between;
}

.marketing .flex-grow {
  flex: 1;
}

.marketing .edit-title {
  font-size: 16px;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  // color: #0947C6;
  border-bottom: 1px solid #E7EAEC;
  // padding-left: 20px;
  margin: 0 0;
}

// .marketing .edit-sub-title::before {
//   position: absolute;
//   display: inline-block;
//   content: '';
//   height: 18px;
//   width: 4px;
//   top: 2px;
//   left: 0;
//   background-color: #0947C6;
// }

.marketing .edit-sub-title {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  line-height: 32px;
  color: #333333;
  margin-bottom: 20px;
  padding-left: 8px;
  background-color: rgba(242, 242, 242, 1);
}

.marketing .message-Z-zinde {
  z-index: 3000 !important;
}

.marketing .txt-red {
  color: red;
}

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

.marketing .table-img .el-table--medium td.el-table__cell {
  padding: 2px 0 !important;
}