style.less 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // 设置顶部导航栏
  2. .top-bar{
  3. // 设置外部容器样式
  4. width: 100%;
  5. height: 35px;
  6. background-color: #f5f5f5;
  7. font: 12px/1.5 tahoma, arial, 'Hiragino Sans GB', '\5b8b\4f53', sans-serif;
  8. // 设置内部容器的样式
  9. .top-bar-wrapper{
  10. width: 1190px;
  11. height: 35px;
  12. margin: 0 auto;
  13. // background-color: yellow;
  14. display: flex;
  15. justify-content: space-between;
  16. .top-bar-left,
  17. .top-bar-right{
  18. display: flex;
  19. line-height: 35px;
  20. a{
  21. text-decoration: none;
  22. color: #6C6C6C;
  23. }
  24. li{
  25. padding: 0 6px;
  26. }
  27. }
  28. .top-bar-left{
  29. .font_hightlight{
  30. color: #f22e00;
  31. }
  32. ._arrow{
  33. width: 12px;
  34. height: 6px;
  35. }
  36. .region-item-list{
  37. display: none;
  38. width: 300px;
  39. height: 300px;
  40. }
  41. .region-list{
  42. .region-ch:hover{
  43. display: block;
  44. }
  45. }
  46. }
  47. .top-bar-right{
  48. .icon_hightlight{
  49. color: #f40;
  50. }
  51. .ver{
  52. padding: 0 5px;
  53. color: #ddd;
  54. }
  55. ._arrow{
  56. font-size: 12px;
  57. }
  58. }
  59. }
  60. }
  61. .region-list:hover .region-item-list{
  62. display: block;
  63. }