indexhd.css 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. 
  2. .sp-wrapper-head .sp-wrapper-head-col {
  3. float: left;
  4. height: 80px;
  5. line-height: 80px;
  6. cursor: pointer;
  7. color: #e9f3fd;
  8. padding: 0px 3px;
  9. border:0
  10. }
  11. .sp-wrapper-head .sp-wrapper-head-col:hover {
  12. background-color: rgba(18,113,219,0.8);
  13. }
  14. .sp-wrapper-head {
  15. position: absolute; top: 0; left: 0; right: 0; height: 80px; color: #fff;
  16. background-image: url("img/top_background.png");
  17. background-repeat: no-repeat; background-size: cover; background-position: center center;
  18. }
  19. .sp-wrapper-head .sp-wrapper-head-left {
  20. float: left; width: auto; height: 80px; white-space: nowrap; margin-left: 5px;
  21. }
  22. .sp-wrapper-head .sp-wrapper-head-title {
  23. float: left; width: 420px; height: 80px; line-height: 20px; cursor: pointer; padding-top: 20px; color: #fff;
  24. }
  25. .sp-wrapper-head .sp-wrapper-head-img {
  26. float: left; width: auto; height: 30px; margin: 21px 0 20px 0px;
  27. }
  28. .sp-wrapper-head .sp-wrapper-head-right {
  29. float: right; width: auto; height: 80px; white-space: nowrap;
  30. }
  31. .sp-wrapper-head .sp-wrapper-head-col {
  32. float: left; height: 80px; line-height: 80px; cursor: pointer; color: #e9f3fd; padding: 0px 3px;
  33. }
  34. /**头部头像**/
  35. .sp-wrarrer-photo {
  36. width: 30px;
  37. height: 30px;
  38. border-radius: 15px;
  39. float: left;
  40. margin: 25px 0 20px 8px;
  41. }
  42. .sp-wrapper-head .sp-wrapper-head-title span {
  43. font-size: 25px; width:100%; display:inline-block; text-align:justify; text-align-last:justify
  44. }
  45. /********20230905*******/
  46. .sp-wrapper-head .sp-wrapper-head-search{ width:150px; height:30px; line-height:30px; background-color:transparent; padding:0 5px;
  47. border:1px solid #eee; box-sizing:border-box; color:#fff;border-radius:5px;}
  48. .sp-wrapper-head .sp-wrapper-head-search::placeholder{color:#ededed !important;}
  49. .sp-wrapper-head .sp-wrapper-head-sub-2{position:absolute; background:#fff;width:100%;height:auto;padding:5px; color: rgba(0, 0, 0, 1);z-index:99; border:1px solid #ccc; box-sizing: border-box;}
  50. .sp-wrapper-head .sp-wrapper-head-sub-2 a{
  51. /*color:#666;*/
  52. color:rgba(0,0,0,1);
  53. }
  54. .sp-wrapper-head .sp-wrapper-head-sub-2 a:hover{color:#3a7fcf;}
  55. .sp-lh-26-wrap{ float:left; width:100%;line-height:26px; margin:3px 0;white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
  56. /********20230905*******/
  57. .sp-menu-right {
  58. position: absolute; left: 0; right: 0; top: 80px; bottom: 0;
  59. /*以下是于:20220222增加*/
  60. z-index:1;
  61. }
  62. /*横向菜单:纵向向下展开的二级菜单 horizontal的缩写是:horz vertical缩写:vert*/
  63. .hd-horz-down{position:relative;width:100%;height:31px; background-color:#1e64aa;}
  64. .hd-horz-down ul,li{padding:0; margin:0; list-style:none;}
  65. .hd-horz-down>ul>li{float:left;width:120px;line-height:31px !important;cursor:pointer; background-color:#1e64aa;text-align:center;color:#fff;}
  66. .hd-horz-down>ul>li:hover{background-color:#063e77;}
  67. .hd-horz-down>ul>li{border-right:1px solid #1677a9; box-sizing:border-box;}
  68. .hd-horz-down>ul>li:last-child{border-right:none;}
  69. .hd-horz-down ul li a{text-decoration:none;color:#fff;width:100%;}
  70. .hd-horz-down ul li ul{position:absolute;display:none; width:119px; padding:5px 0; background-color:#063e77;max-height:300px; overflow-y:auto; }
  71. .hd-horz-down .liWidth-small{width:100px;}/*长度大于9,每个宽度设为100px*/
  72. .hd-horz-down .liWidth-large{width:150px;}/*长度小于5,每个宽度设为150px*/
  73. .hd-horz-down ul li:hover ul{display:block !important;}
  74. .hd-horz-down ul li:hover ul li{float:left;width:100%;line-height:31px !important;cursor:pointer;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
  75. .hd-horz-down ul li:hover ul li a{color:#fff;}
  76. .hd-horz-down ul li:hover ul li a:hover{color:#ffae3e;}