.sidenav { width: 81px; position: fixed; z-index: 100; bottom: 80px; right: 2px; background: #C4261D; background: rgba(100,100,100,0.6); } .navicon { height: 30px; width: 30px; margin: 0 12px; background-image: url("../images/sidebar-icons.png"); background-size: 300px; background-repeat: no-repeat; display: block; } .onlineicon { background-position: -27px -92px; } .producticon { background-position: -105px -92px; } .contacticon { background-position: -179px -92px; } .publicicon { height: 36px; width: 36px; margin: 0 8px; background-image: url("../images/soonfor-servicewx.jpg"); background-size: 58px; background-repeat: no-repeat; background-position: -11px -11px; display: block; } .serviceweixinicon { height: 36px; width: 36px; margin: 0 8px; background-image: url("../images/soonfor-wx.jpg"); background-size: 58px; background-repeat: no-repeat; background-position: -11px -11px; display: block; } .sidenav a:not(.tel) { padding: 12px 0px 5px 14px; text-decoration: none; font-size: 14px; color: #FCFCFC; display: block; line-height: 30px; } .sidenav a:not(.tel):hover { background-color: #E60000; } @media screen and (max-height: 450px) { .sidenav a { font-size: 12px; } } .wxpublic { height: 160px; /* 闅愬幓瀹藉害 */ width: 0px; position: absolute; bottom: 1px; border-radius: 10px; right: 100px; background-image: url("../images/soonfor-servicewx.jpg"); background-position: 4px 4px; background-size: 128px; background-repeat: no-repeat; background-color: #C4261D; /* 鏀跺洖鐨勬椂鍊欏揩涓€鐐 */ transition: width 300ms; } .wxtext { visibility: visible; position: absolute; width: 0px; text-align: center; font-size: 14px; color: #FCFCFC; right: 100px; margin-top: 55px; transition: width 300ms; } /* 浜ら泦閫夋嫨鍣紝鎵€浠ョ埗瀛愬叧绯荤殑div鐩掑瓙鎵嶅彲浠 */ #weixin:hover .wxpublic { /* 灏唗ransition鍐欏湪;hover涓紝寰堟槸宸у */ /* 浼稿睍鐨勬椂鍊欐參涓€鐐 */ width: 136px; transition: width 300ms; } /* 浜ら泦閫夋嫨鍣紝鎵€浠ョ埗瀛愬叧绯荤殑div鐩掑瓙鎵嶅彲浠 */ #weixin:hover .wxtext { /* 灏唗ransition鍐欏湪;hover涓紝寰堟槸宸у */ /* 浼稿睍鐨勬椂鍊欐參涓€鐐 */ width: 136px; visibility: visible; transition: width 300ms; } .servicewxpublic { height: 160px; /* 闅愬幓瀹藉害 */ width: 0px; position: absolute; bottom: 1px; border-radius: 10px; right: 100px; background-image: url("../images/soonfor-wx.jpg"); background-position: 4px 4px; background-size: 128px; background-repeat: no-repeat; background-color: #C4261D; /* 鏀跺洖鐨勬椂鍊欏揩涓€鐐 */ transition: width 300ms; } .servicewxtext { visibility: hidden; position: absolute; width: 0px; text-align: center; font-size: 14px; color: #FCFCFC; right: 100px; margin-top: -27px; transition: width 300ms; } /* 浜ら泦閫夋嫨鍣紝鎵€浠ョ埗瀛愬叧绯荤殑div鐩掑瓙鎵嶅彲浠 */ #serviceweixin:hover .servicewxpublic { /* 灏唗ransition鍐欏湪;hover涓紝寰堟槸宸у */ /* 浼稿睍鐨勬椂鍊欐參涓€鐐 */ width: 136px; transition: width 300ms; } /* 浜ら泦閫夋嫨鍣紝鎵€浠ョ埗瀛愬叧绯荤殑div鐩掑瓙鎵嶅彲浠 */ #serviceweixin:hover .servicewxtext { /* 灏唗ransition鍐欏湪;hover涓紝寰堟槸宸у */ /* 浼稿睍鐨勬椂鍊欐參涓€鐐 */ width: 136px; visibility: visible; transition: width 300ms; } #contactusx { position: absolute; top: 5px; height: 218px; width: 0px; right: 100px; display: block; transition: all 300ms; } #contactusm:hover #contactusx { width: 385px; transition: all 300ms; } #contactusx, #contactusx * { overflow:hidden; } #contactmain_back { position:absolute; bottom:0; background-color:#da554b; width:100%; height:54px; border-top-left-radius:6px; border-top-right-radius:6px; z-index:0; } .contactmain { height: 75px; background-image: url("../images/sidebar-icons.png"); background-position: -35px -14px; background-size: 400px; background-repeat: no-repeat; /* 鏀跺洖鐨勬椂鍊欏揩涓€鐐 */ text-align:left; position:relative; } .contactmain .contactavator { height: 60px; width: 60px; margin-top: 1px; margin-left: 27px; background-image: url("../images/sidebar-icons.png"); background-position: -312px -110px; background-size: 400px; background-repeat: no-repeat; display: inline-block; position:relative; } .contactmain .contacttitle { clear: both; margin-top: 36px; margin-right: 30px; font-size:16px; color: #FCFCFC; float: right; position:relative; } .contactitem { height: 140px; font-weight:600; background-color: #FFF; border-top: 1px solid #FFF; border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; /* 鏀跺洖鐨勬椂鍊欏揩涓€鐐 */ border: 0.5px solid #da554b; padding-top:8px; } .contactitem .itemtitle { margin-top: 10px; margin-left: 20px; float: left; } .contactitem .itemtel { margin-top: 10px; margin-left: 20px; float: left; text-align:left; } .contactitem p { line-height:15px; } .itemtel a.tel { color: #C4261D; font-weight: 700; } /*#newBridge { display:none; }*/ /*@media screen and (max-width: 640px) { .sidenav { position:fixed; bottom:0; left:0; right:0; width:100%; background: rgba(100,100,100,0.8); } .sidenav > div { display:inline-block; width:24%; text-align:center; } .sidenav > div > a { padding-left:0; } .sidenav .navicon, .sidenav .publicicon { display:none; } .laster { margin-bottom:47px; } .wxpublic, .wxtext { bottom:52px; right:5px; } #contactusx { top:auto; bottom:52px; right:5px; } } @media screen and (max-width: 365px) { #contactusm:hover #contactusx { width:235px; } .contactmain .contacttitle { margin-right: 10px; width: 120px; margin-top: 24px; text-align: right; clear: right; } .contactitem .itemtitle { display:none; } } @media screen and (max-width: 340px) { .sidenav > div { width:23%; } .sidenav > div > a { font-size:12px; } }*/ @media screen and (max-width: 400px) { .sidenav { display:none; } }