MenuButton.less 607 B

12345678910111213141516171819202122232425262728293031323334
  1. /* MenuButton */
  2. .@{prefix}-menubtn button {
  3. color: @btn-text;
  4. //margin-right: 2px;
  5. //line-height: @line-height;
  6. //*line-height: @line-height - 4px;
  7. }
  8. .@{prefix}-menubtn.@{prefix}-btn-small span {
  9. font-size: @font-size - 2px;
  10. }
  11. .@{prefix}-menubtn.@{prefix}-fixed-width span {
  12. display: inline-block;
  13. overflow-x: hidden;
  14. text-overflow: ellipsis;
  15. width: 90px;
  16. }
  17. .@{prefix}-menubtn.@{prefix}-fixed-width.@{prefix}-btn-small span {
  18. width: 70px;
  19. }
  20. .@{prefix}-menubtn .@{prefix}-caret {
  21. *margin-top: 6px;
  22. }
  23. // RTL
  24. .@{prefix}-rtl .@{prefix}-menubtn button {
  25. direction: rtl;
  26. text-align: right;
  27. }