CampusInfo.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  1. *{
  2. margin: 0;
  3. padding: 0;
  4. font-family:Microsoft YaHei,fontello;
  5. -webkit-font-smoothing: antialiased;
  6. -moz-osx-font-smoothing: grayscale;
  7. list-style: none;
  8. box-sizing: border-box;
  9. -moz-user-select: none;
  10. -webkit-user-select: none;
  11. -ms-user-select: none;
  12. -khtml-user-select: none;
  13. user-select: none;
  14. }
  15. button:focus,button{
  16. outline: none;
  17. cursor: pointer;
  18. }
  19. @font-face {
  20. font-family: 'fontello';
  21. src: url('../font/fontello.eot?143z8w');
  22. src: url('../font/fontello.eot?143z8w#iefix') format('embedded-opentype'),
  23. url('../font/fontello.ttf?143z8w') format('truetype'),
  24. url('../font/fontello.woff?143z8w') format('woff'),
  25. url('../font/fontello.svg?143z8w#fontello') format('svg');
  26. font-weight: normal;
  27. font-style: normal;
  28. }
  29. @font-face {
  30. font-family: 'simsun';
  31. src: url('../font/simsun.ttf');
  32. src: url('../font/simsun.ttf') format('ttf'),
  33. url('../font/simsun.ttf') format('ttf');
  34. font-weight: normal;
  35. font-style: normal;
  36. }
  37. [class^="icon-"], [class*=" icon-"]{
  38. display: inline-block;
  39. font: normal normal normal 14px/1 fontello,Microsoft YaHei;
  40. font-size: inherit;
  41. text-rendering: auto;
  42. -webkit-font-smoothing: antialiased;
  43. -moz-osx-font-smoothing: grayscale;
  44. }
  45. /*校园资讯头部样式*/
  46. .CampusInfoHead{
  47. width: 100%;
  48. height: 55px;
  49. background: #f3f6fc;
  50. }
  51. .CampusInfoHeadImg{
  52. float: right;
  53. margin-right: 90px;
  54. }
  55. .CampusInfoHeadTitle{
  56. float: left;
  57. height: calc(100% - 30px);
  58. }
  59. .CampusInfoHeadTitle *{
  60. float: left;
  61. }
  62. .CampusInfoHeadTitle img{
  63. margin: 20px;
  64. margin-right: 0px;
  65. }
  66. .CampusInfoHeadTitle p{
  67. font-size: 24px;
  68. color: #575757;
  69. font-style: italic;
  70. margin: 20px 7px 0px 0px;
  71. -moz-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0);
  72. -webkit-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0);
  73. -ms-transform: matrix( 0.9341021117052,0,0,0.9341021117052,0,0);
  74. }
  75. .CampusInfoHeadTitle span{
  76. margin-top: 29px;
  77. background: #5691e1;
  78. color: rgb(228, 228, 230);
  79. padding: 2px 5px;
  80. transform: skew(-20deg);
  81. font-size: 12px;
  82. height: 15px;
  83. line-height: 15px;
  84. border-radius: 3px;
  85. font-style: normal;
  86. box-sizing: unset;
  87. }
  88. .CampusInfoHeadTitle span div{
  89. -webkit-transform: skew(20deg);
  90. }
  91. .CampusInfoHeadWeather{
  92. font-style: normal!important;
  93. font-size: 13px!important;
  94. color: rgb(63, 125, 211)!important;
  95. margin-top: 32px!important;
  96. margin-left: 20px!important;
  97. }
  98. /*校园资讯控制导航样式*/
  99. .CampusInfoHeadNav{
  100. float: left;
  101. width: calc(100% - 24px);
  102. height: 30px;
  103. padding: 0 12px;
  104. background: #f3f6fc;
  105. border-bottom: 1px solid #dcdbdb;
  106. box-sizing: unset;
  107. }
  108. .CampusInfoHeadNav li{
  109. float: left;
  110. font-size: 14px;
  111. padding: 0 10px;
  112. line-height: 30px;
  113. border-bottom: 1px solid rgba(0,0,0,0);
  114. color: #525252;
  115. margin-right: 5px;
  116. }
  117. .CampusInfoHeadNav li:hover,.CampusInfoHeadNavActive{
  118. color: #2371d7!important;
  119. border-bottom: 1px solid #3272cb!important;
  120. }
  121. /*校园资讯控制按钮样式*/
  122. .CampusInfoHeadControl{
  123. float: right;
  124. }
  125. .CampusInfoHeadControl button{
  126. float: left;
  127. line-height: 33px;
  128. width: 33px;
  129. height: 33px;
  130. background: none;
  131. color: #548fde;
  132. border: none;
  133. font-size: 16px;
  134. }
  135. .CampusInfoHeadControl .icon-cancel:hover{
  136. color: #d82222;
  137. }
  138. /*校园资讯控制内容容器样式*/
  139. .CampusInfoMain{
  140. width: 100%;
  141. height: calc(100% - 86px);
  142. overflow: hidden;
  143. }
  144. .CampusInfoContainer{
  145. width: 100%;
  146. height: 100%;
  147. padding: 15px 22px;
  148. display: none;
  149. }
  150. .CampusInfoContainer *{
  151. float: left;
  152. }
  153. .CampusInfoContLeft{
  154. width: 180px;
  155. height: 100%;
  156. }
  157. .CampusInfoContCenter{
  158. width: 355px;
  159. height: 100%;
  160. padding: 0 15px;
  161. }
  162. .CampusInfoContRight{
  163. width: 170px;
  164. height: 100%;
  165. }
  166. /*左侧内容元素*/
  167. .CampusInfoContLeftContent:nth-child(2){
  168. margin: 10px 0;
  169. }
  170. .CampusInfoContLeftContent{
  171. width: 100%;
  172. height: 134.5px;
  173. position: relative;
  174. cursor: pointer;
  175. }
  176. .CampusInfoContLeftContent img{
  177. width: 100%;
  178. height: 100%;
  179. }
  180. .CampusInfoContLeftContent p{
  181. text-align: center;
  182. width: 100%;
  183. background-color: rgba(65, 65, 65, 0.65);
  184. color: #fff;
  185. height: 19px;
  186. position: absolute;
  187. bottom: 0;
  188. }
  189. /*中间内容*/
  190. .CampusInfoContCenterContent:nth-child(2){
  191. margin: 10px 0;
  192. }
  193. .CampusInfoContCenterTitle{
  194. width: 100%;
  195. text-align: center;
  196. font-size: 16px;
  197. color: rgb(17, 80, 159);
  198. font-weight: 500;
  199. margin: 5px 0px;
  200. height: 21px;
  201. overflow: hidden;
  202. text-overflow: ellipsis;
  203. }
  204. .CampusInfoContCenterContent{
  205. width: 100%;
  206. height: 134.5px;
  207. }
  208. .CampusInfoContCenterCArea4{
  209. max-width: 100%;
  210. }
  211. .CampusInfoContCenterCArea8{
  212. min-width: 40%;
  213. max-width: 50%;
  214. }
  215. .CampusInfoContCenterCArea4,.CampusInfoContCenterCArea8{
  216. height: 28px;
  217. font-size: 14px;
  218. color: #272727;
  219. padding: 0px 10px;
  220. padding-right: 0;
  221. font-family: "SimSun";
  222. line-height: 27px;
  223. display: block;
  224. border: 1px solid rgba(0,0,0,0);
  225. word-break: break-all;
  226. }
  227. .CampusInfoContCenterCArea4:hover,.CampusInfoContCenterCArea8:hover,.CampusInfoContCenterTitle:hover{
  228. border-bottom: 1px solid #bd0a01;
  229. color: #bd0a01;
  230. cursor: pointer;
  231. }
  232. /*右侧内容元素*/
  233. .CampusInfoContRightContent:nth-child(2){
  234. margin-top: 10px;
  235. height: 135px;
  236. }
  237. .CampusInfoContRightContent{
  238. width: 100%;
  239. height: 280px;
  240. cursor: pointer;
  241. }
  242. /*加载动画*/
  243. .CampusInfoLoading{
  244. width: 100%;
  245. height: 100%;
  246. }
  247. .CampusInfoLoading span{
  248. display: block;
  249. text-align: center;
  250. position: absolute;
  251. left: calc(50% - 32px);
  252. top: calc(50% - 32px);
  253. }
  254. .CampusInfoLoading span div{
  255. position: absolute;
  256. top: 25px;
  257. left: 15px;
  258. font-size: 18px;
  259. color: #fff;
  260. }
  261. /*字体图标*/
  262. .icon-left:before { content: '\e800'; } /* '' */
  263. .icon-right:before { content: '\e801'; } /* '' */
  264. .icon-cancel:before { content: '\e802'; } /* '' */
  265. .icon-minus:before { content: '\e803'; } /* '' */
  266. .icon-menu:before { content: '\e804'; } /* '' */
  267. .icon-play-circled2:before { content: '\e805'; } /* '' */
  268. .icon-play:before { content: '\e806'; } /* '' */
  269. .icon-lock:before { content: '\e807'; } /* '' */
  270. .icon-plus:before { content: '\e808'; } /* '' */
  271. .icon-cog:before { content: '\e809'; } /* '' */
  272. .icon-th-list:before { content: '\f009'; } /* '' */
  273. .icon-ccw:before { content: '\f025'; } /* '' */
  274. .icon-play-circled:before { content: '\f144'; } /* '' */
  275. /*旋转*/
  276. .animate-spin {
  277. -moz-animation: spin 1.5s infinite linear;
  278. -o-animation: spin 1.5s infinite linear;
  279. -webkit-animation: spin 1.5s infinite linear;
  280. animation: spin 1.5s infinite linear;
  281. display: inline-block;
  282. }
  283. @-moz-keyframes spin {
  284. 0% {
  285. -moz-transform: rotate(0deg);
  286. -o-transform: rotate(0deg);
  287. -webkit-transform: rotate(0deg);
  288. transform: rotate(0deg);
  289. }
  290. 100% {
  291. -moz-transform: rotate(359deg);
  292. -o-transform: rotate(359deg);
  293. -webkit-transform: rotate(359deg);
  294. transform: rotate(359deg);
  295. }
  296. }
  297. @-webkit-keyframes spin {
  298. 0% {
  299. -moz-transform: rotate(0deg);
  300. -o-transform: rotate(0deg);
  301. -webkit-transform: rotate(0deg);
  302. transform: rotate(0deg);
  303. }
  304. 100% {
  305. -moz-transform: rotate(359deg);
  306. -o-transform: rotate(359deg);
  307. -webkit-transform: rotate(359deg);
  308. transform: rotate(359deg);
  309. }
  310. }
  311. @-o-keyframes spin {
  312. 0% {
  313. -moz-transform: rotate(0deg);
  314. -o-transform: rotate(0deg);
  315. -webkit-transform: rotate(0deg);
  316. transform: rotate(0deg);
  317. }
  318. 100% {
  319. -moz-transform: rotate(359deg);
  320. -o-transform: rotate(359deg);
  321. -webkit-transform: rotate(359deg);
  322. transform: rotate(359deg);
  323. }
  324. }
  325. @-ms-keyframes spin {
  326. 0% {
  327. -moz-transform: rotate(0deg);
  328. -o-transform: rotate(0deg);
  329. -webkit-transform: rotate(0deg);
  330. transform: rotate(0deg);
  331. }
  332. 100% {
  333. -moz-transform: rotate(359deg);
  334. -o-transform: rotate(359deg);
  335. -webkit-transform: rotate(359deg);
  336. transform: rotate(359deg);
  337. }
  338. }
  339. @keyframes spin {
  340. 0% {
  341. -moz-transform: rotate(0deg);
  342. -o-transform: rotate(0deg);
  343. -webkit-transform: rotate(0deg);
  344. transform: rotate(0deg);
  345. }
  346. 100% {
  347. -moz-transform: rotate(359deg);
  348. -o-transform: rotate(359deg);
  349. -webkit-transform: rotate(359deg);
  350. transform: rotate(359deg);
  351. }
  352. }