theme.widget.button.styl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * Stylesheet
  3. *
  4. * @namespace Lungo.Theme
  5. * @class Layout
  6. *
  7. * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
  8. */
  9. @import "__init.styl"
  10. header
  11. & .button, button
  12. color: #fff
  13. background-color: THEME_dark
  14. box-shadow 0 1px 0 lighten(THEME, 15%), inset 0 1px 0 darken(THEME, 35%)
  15. border-radius (BORDER_radius * 2)
  16. &:active
  17. background-color: darken(THEME, 40%)
  18. article
  19. & .button, button
  20. color: #fff !important
  21. border-radius (BORDER_radius * 2)
  22. box-shadow inset 0 1px 0 rgba(255,255,255,0.25), 0 1px 1px rgba(0,0,0,0.15)
  23. // border: solid 1px rgba(0,0,0,0.1)
  24. &:active
  25. box-shadow inset 0 0 128px rgba(0,0,0,0.25)
  26. border-color: none
  27. &, abbr
  28. font-weight: 400
  29. & .icon
  30. opacity: 0.65
  31. text-shadow: 0 -1px 0 rgba(0,0,0,0.25)
  32. & button, .button, .tag:not(.icon)
  33. &
  34. background-color: THEME_dark
  35. &.secondary
  36. background-color: COLOR_secondary
  37. &.accept
  38. background-color: COLOR_success
  39. &.cancel
  40. background-color: COLOR_cancel
  41. &[disabled], :disabled, &.disabled
  42. background: FORM_color
  43. color: #999 !important
  44. box-shadow: none !important