topTab.less 2.9 KB

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