service.portal_wev8.css 3.33 KB
.wev-content,.wev-page-portal {
	overflow-x: hidden;
	background-color: #fff;
}
.wev-page-portal .portal-category:before{
    content: "";
    background: #efeff3;
    display: block;
    height: 10px;
    width: 100%;
}
.wev-page-portal .portal-title{
	padding-top: 5px;
}
.wev-page-portal .portal-title>span:first-child {
    color:#999;
    font-size: 16px;
    font-weight: bold;
    padding-left:10px;
}

/* 宫格用css */
.wev-page-portal .portal-square{
  position: relative;
  width: 100%;
}
.wev-page-portal .portal-square-inner{
  padding: 0;
  margin: 10px 0;
  width: 100%;
  height: 100%;
}
.wev-page-portal .portal-square-inner>li{
  width: calc(96% / 4);  /* calc里面的运算符两边要空格 */
  margin-right: 1%;
  margin-bottom: 5px;
  overflow: hidden;
  position: relative;
}
.wev-page-portal .portal-square-inner .sort-hidden{
  height: 0px !important;
  margin-bottom: 0px !important;
}
.wev-page-portal .portal-flex{
  display: flex;
  flex-wrap: wrap;
}
.wev-page-portal .portal-flex>li{
  flex-grow: 1; /* 子元素按1/n的比例进行拉伸 */
  text-align: center;
  font-size: 14px;
}
.wev-page-portal .portal-text {
    width: 100%;
    margin-top: 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    height: 14px;
    line-height: 14px;
    color: #444;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}
.wev-page-portal .portal-flex>li>a  {
    display: block;
    padding: inherit;
    overflow: hidden;
    z-index: 2;
}
.wev-page-portal .portal-flex .wev-badge {
    top: 0;
    left: 55%;
    position: absolute;
}

.wev-page-portal.portal-editing  .portal-flex .wev-badge{
	display: none;
}

.portal-items .portal-items-small{
	line-height: 40px;
    height: 40px;
}
.portal-items .portal-item-dragtips{
    font-size: 12px !important;
    color: #666 !important;
}
.portal-items .portal-items-small>span:first-child{
	float: left;
	padding:0 5px 0 10px;
    font-size: 14px;
    color: #444;
}
.portal-items .portal-items-small>span:last-child,.portal-done-btn{
    float: right;
    height: 25px;
    border: #017afd solid 1px;
    line-height: 25px;
    margin-right: 10px;
    padding: 0 5px;
    margin-top: 6px;
    color: #017afd;
    border-radius: 5px;
    font-size: 14px;
}
.portal-items .portal-items-small>span:nth-child(2){
	display: inline-block;
    width: 60%;
    overflow: hidden;
    height: 40px;
    line-height: 20px;
}
.portal-items .portal-items-small>span>img{
	height:20px;
	width:20px;
	margin-top: 10px;
	padding-right: 2px;
}

.portal-items .portal-items-big{
	display:none;
}
.portal-items-big .portal-done-btn{
    margin-top: -2px !important;
}

.wev-page-portal.portal-editing .portal-item-edit{
	display: block;
}
.portal-square .portal-item-edit{
    top: 0px;
    width:12px;
    height:12px;
    font-size: 12px;
    line-height: 12px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    position: absolute;
	left: 70%;
	display: none;
}
.portal-square .portal-item-edit.portal-item-del{
    background-color: #dd524d;
}
.portal-square .portal-item-edit.portal-item-del:before{
    content: '-';
}
.portal-square .portal-item-edit.portal-item-add{
 	background-color: #017afd;
}
.portal-square .portal-item-edit.portal-item-add:before{
 	content: '+';
}
.portal-items-select .portal-square .portal-item-edit.portal-item-del{
    display: none;
}