@charset "utf-8"; /* CSS Document */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; list-style: none; margin: 0; padding: 0; } a,a:link,a:visited,a:hover,a:active{ text-decoration:none; } ol,ul,h1,h2,h3,h4,h5,h6,p,dd,dt,dl{ margin: 0; padding: 0; } :after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body { font: 14px Arial, "Microsoft YaHei", SimHei, SimSun; color: #333; } /*右侧悬浮*/ .suspend_nav { background: #0072d6; width: 52px; position: fixed; bottom:50px; right: 10px; text-align: center; z-index: 5000; border: 1px solid rgba(255, 255, 255, 0.7); } .suspend_nav .list { height: 50px; color: #fff; padding-top: 6px; transition: all .3s; position: relative; overflow: hidden; cursor: pointer; } .suspend_nav .list:last-child { border:none; } .suspend_nav .list:before { content: ""; width: 100%; height: 100%; top: -50px; right: 0; background: #ffc107; position: absolute; transform: rotate(0); transition: all .3s; } .suspend_nav .list i { display: block; transition: all .3s; position: relative; z-index: 2; } .suspend_nav .list p { position: relative; z-index: 2; } .suspend_nav .top { padding: 0; line-height: 50px; height: 0; overflow: hidden; opacity: 0; } .suspend_nav .top:after { content: ""; width: 100%; height: 1px; background: rgba(255, 255, 255, 0.3); position: absolute; bottom: 0; left: 0; } .suspend_nav .top.active { height: 50px; opacity: 1; } .suspend_nav .top i { font-size: 25px; } .suspend_nav .on-off { padding: 0; line-height: 50px; } .suspend_nav .on-off.active i { transform: rotate(135deg); } .suspend_nav .list:hover { color: #000; } .suspend_nav .list:hover:before { top: 0; transform: rotate(90deg); } .suspend_nav ul li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.3); } .suspend_nav ul li .list { border: none; } .suspend_nav ul li .weixin { position: absolute; right: 65px; bottom: 0; border: 1px solid #0072d6; transform: scale(0); transform-origin: 100% 100%; transition: all .3s; padding-bottom: 10px; background: #fff; padding: 5px; } .suspend_nav ul li .weixin:before { content: ""; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 10px solid #0072d6; position: absolute; bottom: 0; left: 100%; transition: all .5s; } .suspend_nav ul li .weixin img { width: 150px; height: 150px; } .suspend_nav ul li:hover .weixin { transform: scale(1); } .suspend_nav ul li:hover .weixin:before { bottom: 18px; } .suspend_nav ul li .popup { position: absolute; min-width: 200px; min-height: 200%; top: 0; right: 100%; border: 1px solid #0072d6; text-align: left; display: flex; justify-content: center; align-items: center; background: #0072d6; color: #fff; visibility: hidden; transition: all .3s; opacity: 0; padding: 0 15px; } .suspend_nav ul li .popup:before { content: ""; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 0 solid #0072d6; position: absolute; top: 0; left: 100%; transition: top .5s; } .suspend_nav ul li .popup p { font-size: 16px; } .suspend_nav ul li .popup h5 { font-size: 20px; margin-top: 5px; } .suspend_nav ul li .popup a { font-size: 20px; color: #fff; display: inline-block; margin-top: 5px; } .suspend_nav ul li:hover .popup { visibility: visible; right: 65px; opacity: 1; } .suspend_nav ul li:hover .popup:before { top: 18px; border-left-width: 10px; }