redmenu.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .menubody {
  2. background-size: 100% auto;
  3. background-color: rgba(202, 79, 69, 1);
  4. border-radius: 5px 5px 0px 0px;
  5. display: flex;
  6. flex-flow: row;
  7. }
  8. .menupanel {
  9. border: 1px solid #EDEDED;
  10. border-radius: 0px 0px 5px 5px;
  11. margin-top: 0px;
  12. }
  13. /* .sidebar-collapsed .menubody {
  14. width: calc(100vw - 250px);
  15. }
  16. .sidebar-collapsed-back .menubody {
  17. width: calc(100vw - 463px);
  18. }*/
  19. .redmenu {
  20. height: 45px;
  21. padding: 10px 20px 0px 20px;
  22. flex: 1;
  23. overflow: hidden;
  24. overflow-x: scroll;
  25. scrollbar-width: none;
  26. width: 0;
  27. }
  28. .redmenu::-webkit-scrollbar {
  29. display: none;
  30. }
  31. .redmenu-items {
  32. display: flex;
  33. flex-flow: row nowrap;
  34. width: 96%;
  35. }
  36. .redmenu-items a {
  37. white-space: nowrap;
  38. }
  39. .redmenu-btn {
  40. width: 75px;
  41. margin-top: 10px;
  42. }
  43. .redmenu-btn i {
  44. float: left;
  45. cursor: pointer;
  46. }
  47. .redmenu-btn .material-icons:hover {
  48. background-color: #ddd;
  49. }
  50. .nav-item {
  51. color: #ffffff;
  52. padding: 5px 15px 10px 15px;
  53. text-decoration: none;
  54. transition: .3s;
  55. margin: 0px 6px;
  56. z-index: 1;
  57. font-family: 'DM Sans', sans-serif;
  58. font-weight: 500;
  59. border-radius: 10px 10px 0px 0px;
  60. }
  61. .nav-item:before {
  62. content: "";
  63. bottom: -6px;
  64. left: 0;
  65. width: 100%;
  66. height: 5px;
  67. background-color: #dfe2ea;
  68. border-radius: 8px 8px 0 0;
  69. opacity: 0;
  70. transition: .3s;
  71. }
  72. .nav-item:not(.is-active):hover:before {
  73. opacity: 1;
  74. bottom: 0;
  75. }
  76. .nav-item:visited, .nav-item:active, .nav-item:link, .nav-item:hover {
  77. text-decoration: none;
  78. }
  79. .btnLeft {
  80. width: 36px;
  81. height: 26px;
  82. background: rgba(255, 255, 255, 1);
  83. border-radius: 100px 0px 0px 100px;
  84. opacity: 0.29;
  85. }
  86. .btnRight {
  87. width: 36px;
  88. height: 26px;
  89. background: rgba(255, 255, 255, 1);
  90. border-radius: 0px 100px 100px 0px;
  91. opacity: 0.29;
  92. }
  93. .is-active {
  94. background-color: #ffffff;
  95. color: rgba(202, 79, 69, 1);
  96. }