You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.5 KiB

  1. // maunium-stickerpicker - A fast and simple Matrix sticker picker widget.
  2. // Copyright (C) 2020 Tulir Asokan
  3. //
  4. // This program is free software: you can redistribute it and/or modify
  5. // it under the terms of the GNU Affero General Public License as published by
  6. // the Free Software Foundation, either version 3 of the License, or
  7. // (at your option) any later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU Affero General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU Affero General Public License
  15. // along with this program. If not, see <https://www.gnu.org/licenses/>.
  16. @import theme.sass
  17. button.mau-button
  18. cursor: pointer
  19. margin: .5rem 0
  20. border-radius: .25rem
  21. font-size: 1rem
  22. box-sizing: border-box
  23. padding: 0
  24. &:disabled
  25. cursor: default
  26. &.size-thick
  27. height: 3rem
  28. &.size-normal
  29. height: 2.5rem
  30. &.size-thin
  31. height: 2rem
  32. &.variant-filled
  33. background-color: $primary
  34. color: $primaryContrastText
  35. border: none
  36. &:hover
  37. background-color: $primaryDark
  38. &:disabled
  39. background-color: $disabled
  40. color: $text
  41. &.variant-outlined
  42. background-color: $background
  43. border: 2px solid $primary
  44. color: $primary
  45. &:hover
  46. background-color: $primaryLight
  47. &:disabled
  48. background-color: $background
  49. border-color: $disabled