buttons.less 826 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @import '../cfg.less';
  2. #sh-buttons {
  3. @bg_left: #373d47;
  4. position: absolute;
  5. bottom: 0;
  6. width: 240px;
  7. height: 30px;
  8. line-height: 30px;
  9. background: @bg_left;
  10. .left {
  11. float: left;
  12. padding-left: 10px;
  13. .btn-add {
  14. display: inline-block;
  15. text-align: center;
  16. width: 20px;
  17. color: @font_color_left;
  18. text-decoration: none;
  19. &:hover {
  20. background: rgba(255, 255, 255, 0.1);
  21. }
  22. }
  23. }
  24. .right {
  25. float: right;
  26. padding-right: 17px;
  27. height: 30px;
  28. i {
  29. display: inline-block;
  30. margin-left: 10px;
  31. cursor: pointer;
  32. &.icon-switchoff {
  33. position: relative;
  34. top: -1px;
  35. }
  36. &.icon-search {
  37. padding: 0 8px;
  38. &.on {
  39. background: @bg_left_search;
  40. }
  41. }
  42. }
  43. }
  44. }