top.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .avue-top {
  2. padding: 0 20px;
  3. position: relative;
  4. box-shadow: 0 1px 4px rgba(0,21,41,.08);
  5. color: rgba(0, 0, 0, .65);
  6. font-size: 28px;
  7. height: 64px;
  8. box-sizing: border-box;
  9. white-space: nowrap;
  10. .el-menu-item{
  11. i,span{
  12. font-size: 13px;
  13. }
  14. }
  15. }
  16. .avue-breadcrumb {
  17. height: 100%;
  18. i{
  19. font-size: 30px !important;
  20. }
  21. &--active {
  22. transform:rotate(90deg);
  23. }
  24. }
  25. .top-menu {
  26. box-sizing: border-box;
  27. .el-menu-item {
  28. padding: 0 10px;
  29. border:none !important;
  30. }
  31. }
  32. .top-search {
  33. line-height: 64px;
  34. position: absolute !important;
  35. left: 20px;
  36. top:0;
  37. width: 400px !important;
  38. .el-input__inner {
  39. font-size: 13px;
  40. border: none;
  41. background-color: transparent;
  42. }
  43. }
  44. .top-bar__img {
  45. margin: 0 8px 0 5px;
  46. padding: 2px;
  47. width: 30px;
  48. height: 30px;
  49. border-radius: 100%;
  50. box-sizing: border-box;
  51. border: 1px solid #eee;
  52. vertical-align: middle;
  53. }
  54. .top-bar__left,
  55. .top-bar__right {
  56. height: 64px;
  57. position: absolute;
  58. top: 0;
  59. i{
  60. line-height: 64px;
  61. }
  62. }
  63. .top-bar__left {
  64. left: 20px;
  65. }
  66. .top-bar__right {
  67. right: 20px;
  68. display: flex;
  69. align-items: center;
  70. }
  71. .top-bar__item {
  72. position: relative;
  73. display: inline-block;
  74. height: 64px;
  75. margin:0 10px;
  76. font-size: 16px;
  77. &--show {
  78. display: inline-block !important;
  79. }
  80. .el-badge__content.is-fixed{
  81. top:12px;
  82. right: 5px;
  83. }
  84. }
  85. .top-bar__title {
  86. height: 100%;
  87. padding:0 40px;
  88. box-sizing: border-box;
  89. overflow: hidden;
  90. text-overflow: ellipsis;
  91. white-space: nowrap;
  92. font-size: inherit;
  93. font-weight: 400;
  94. }