topTab.less 2.5 KB

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