*{ margin: 0; padding: 0; font-family:Microsoft YaHei,fontello; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; list-style: none; box-sizing: border-box; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; -khtml-user-select: none; user-select: none; } button:focus,button{ outline: none; cursor: pointer; } @font-face { font-family: 'fontello'; src: url('../font/fontello.eot?143z8w'); src: url('../font/fontello.eot?143z8w#iefix') format('embedded-opentype'), url('../font/fontello.ttf?143z8w') format('truetype'), url('../font/fontello.woff?143z8w') format('woff'), url('../font/fontello.svg?143z8w#fontello') format('svg'); font-weight: normal; font-style: normal; } @font-face { font-family: 'simsun'; src: url('../font/simsun.ttf'); src: url('../font/simsun.ttf') format('ttf'), url('../font/simsun.ttf') format('ttf'); font-weight: normal; font-style: normal; } [class^="icon-"], [class*=" icon-"]{ display: inline-block; font: normal normal normal 14px/1 fontello,Microsoft YaHei; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /*校园资讯头部样式*/ .CampusInfoHead{ width: 100%; height: 55px; background: #f3f6fc; } .CampusInfoHeadImg{ float: right; margin-right: 90px; } .CampusInfoHeadTitle{ float: left; height: calc(100% - 30px); } .CampusInfoHeadTitle *{ float: left; } .CampusInfoHeadTitle img{ margin: 20px; margin-right: 0px; } .CampusInfoHeadTitle p{ font-size: 24px; color: #575757; font-style: italic; margin: 20px 7px 0px 0px; -moz-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0); -webkit-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0); -ms-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0); } .CampusInfoHeadTitle span{ margin-top: 29px; background: #5691e1; color: rgb(228, 228, 230); padding: 2px 5px; transform: skew(-20deg); font-size: 12px; height: 15px; line-height: 15px; border-radius: 3px; font-style: normal; box-sizing: unset; } .CampusInfoHeadTitle span div{ -webkit-transform: skew(20deg); } .CampusInfoHeadWeather{ font-style: normal!important; font-size: 13px!important; color: rgb(63, 125, 211)!important; margin-top: 32px!important; margin-left: 20px!important; } /*校园资讯控制导航样式*/ .CampusInfoHeadNav{ float: left; width: calc(100% - 24px); height: 30px; padding: 0 12px; background: #f3f6fc; border-bottom: 1px solid #dcdbdb; box-sizing: unset; } .CampusInfoHeadNav li{ float: left; font-size: 14px; padding: 0 10px; line-height: 30px; border-bottom: 1px solid rgba(0,0,0,0); color: #525252; margin-right: 5px; } .CampusInfoHeadNav li:hover,.CampusInfoHeadNavActive{ color: #2371d7!important; border-bottom: 1px solid #3272cb!important; } /*校园资讯控制按钮样式*/ .CampusInfoHeadControl{ float: right; } .CampusInfoHeadControl button{ float: left; line-height: 33px; width: 33px; height: 33px; background: none; color: #548fde; border: none; font-size: 16px; } .CampusInfoHeadControl .icon-cancel:hover{ color: #d82222; } /*校园资讯控制内容容器样式*/ .CampusInfoMain{ width: 100%; height: calc(100% - 86px); overflow: hidden; } .CampusInfoContainer{ width: 100%; height: 100%; padding: 15px 22px; display: none; } .CampusInfoContainer *{ float: left; } .CampusInfoContLeft{ width: 180px; height: 100%; } .CampusInfoContCenter{ width: 355px; height: 100%; padding: 0 15px; } .CampusInfoContRight{ width: 170px; height: 100%; } /*左侧内容元素*/ .CampusInfoContLeftContent:nth-child(2){ margin: 10px 0; } .CampusInfoContLeftContent{ width: 100%; height: 134.5px; position: relative; cursor: pointer; } .CampusInfoContLeftContent img{ width: 100%; height: 100%; } .CampusInfoContLeftContent p{ text-align: center; width: 100%; background-color: rgba(65, 65, 65, 0.65); color: #fff; height: 19px; position: absolute; bottom: 0; } /*中间内容*/ .CampusInfoContCenterContent:nth-child(2){ margin: 10px 0; } .CampusInfoContCenterTitle{ width: 100%; text-align: center; font-size: 16px; color: rgb(17, 80, 159); font-weight: 500; margin: 5px 0px; height: 21px; overflow: hidden; text-overflow: ellipsis; } .CampusInfoContCenterContent{ width: 100%; height: 134.5px; } .CampusInfoContCenterCArea4{ max-width: 100%; } .CampusInfoContCenterCArea8{ min-width: 40%; max-width: 50%; } .CampusInfoContCenterCArea4,.CampusInfoContCenterCArea8{ height: 28px; font-size: 14px; color: #272727; padding: 0px 10px; padding-right: 0; font-family: "SimSun"; line-height: 27px; display: block; border: 1px solid rgba(0,0,0,0); word-break: break-all; } .CampusInfoContCenterCArea4:hover,.CampusInfoContCenterCArea8:hover,.CampusInfoContCenterTitle:hover{ border-bottom: 1px solid #bd0a01; color: #bd0a01; cursor: pointer; } /*右侧内容元素*/ .CampusInfoContRightContent:nth-child(2){ margin-top: 10px; height: 135px; } .CampusInfoContRightContent{ width: 100%; height: 280px; cursor: pointer; } /*加载动画*/ .CampusInfoLoading{ width: 100%; height: 100%; } .CampusInfoLoading span{ display: block; text-align: center; position: absolute; left: calc(50% - 32px); top: calc(50% - 32px); } .CampusInfoLoading span div{ position: absolute; top: 25px; left: 15px; font-size: 18px; color: #fff; } /*字体图标*/ .icon-left:before { content: '\e800'; } /* '' */ .icon-right:before { content: '\e801'; } /* '' */ .icon-cancel:before { content: '\e802'; } /* '' */ .icon-minus:before { content: '\e803'; } /* '' */ .icon-menu:before { content: '\e804'; } /* '' */ .icon-play-circled2:before { content: '\e805'; } /* '' */ .icon-play:before { content: '\e806'; } /* '' */ .icon-lock:before { content: '\e807'; } /* '' */ .icon-plus:before { content: '\e808'; } /* '' */ .icon-cog:before { content: '\e809'; } /* '' */ .icon-th-list:before { content: '\f009'; } /* '' */ .icon-ccw:before { content: '\f025'; } /* '' */ .icon-play-circled:before { content: '\f144'; } /* '' */ /*旋转*/ .animate-spin { -moz-animation: spin 1.5s infinite linear; -o-animation: spin 1.5s infinite linear; -webkit-animation: spin 1.5s infinite linear; animation: spin 1.5s infinite linear; display: inline-block; } @-moz-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-webkit-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-o-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @-ms-keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes spin { 0% { -moz-transform: rotate(0deg); -o-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -moz-transform: rotate(359deg); -o-transform: rotate(359deg); -webkit-transform: rotate(359deg); transform: rotate(359deg); } }