topTab.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .account-top {
  2. width: 100%;
  3. border-bottom: 1px solid #eee;
  4. background: #fff;
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. z-index: 1;
  9. .acc-top-user {
  10. margin-bottom: 2px;
  11. overflow: hidden;
  12. height: 50px;
  13. line-height: 50px;
  14. background: #404040;
  15. color:#ffffff;
  16. .acc-top-user-name {
  17. margin-left: 10px;
  18. a:hover{
  19. color:red;
  20. }
  21. }
  22. .acc-top-user-toindex {
  23. float: right;
  24. margin-right: 10px;
  25. }
  26. }
  27. .acc-index {
  28. height: 90px;
  29. width: 16%;
  30. position: absolute;
  31. top: 34px;
  32. left: 0;
  33. color: #fff;
  34. background: #4665bf;
  35. padding:27px 10px;
  36. .acc-index-imgbox{
  37. width: 36px;
  38. height: 36px;
  39. padding-top: 36px;
  40. position: relative;
  41. overflow: hidden;
  42. float: left;
  43. img {
  44. position: absolute;
  45. top: 0;
  46. left: 0;
  47. height: 36px;
  48. width: auto;
  49. }
  50. }
  51. span {
  52. margin-left: 10px;
  53. font-size: 20px;
  54. line-height: 36px;
  55. a {
  56. color:#fff;
  57. }
  58. }
  59. }
  60. .acc-top-tab {
  61. margin-left: 16%;
  62. height: 50px;
  63. line-height: 50px;
  64. font-size: 16px;
  65. text-align: center;
  66. background: #4665bf;
  67. color: #fff;
  68. border-left: 1px solid #344c8f;
  69. .ant-row {
  70. padding-left: 20px;
  71. border-left: 1px solid #6b84cc;
  72. div {
  73. margin:0 10px;
  74. a {
  75. color:#fff;
  76. }
  77. }
  78. .active {
  79. font-size: 18px;
  80. &:after {
  81. content: '';
  82. position: absolute;
  83. left: 0;
  84. bottom: 0;
  85. display: block;
  86. width: 100%;
  87. height: 3px;
  88. background: #58a3ff;
  89. }
  90. }
  91. }
  92. }
  93. }
  94. .ant-layout-header{
  95. height: 50px;
  96. .account-top{
  97. height: 50px
  98. }
  99. }