theme.widget.notification.styl 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. /* -------------------------- NOTIFICATION -------------------------- */
  11. .notification
  12. color: #fff
  13. &:not(.push)
  14. background-color: rgba(0,0,0,0.6)
  15. & .window
  16. border-radius FORM_border_radius
  17. &.growl
  18. background: rgba(0,0,0,0.75)
  19. & strong
  20. opacity: 0.75
  21. font-weight: 400
  22. &:not(.growl)
  23. box-shadow(0 0 8px #444)
  24. & button, .button
  25. background: #fff
  26. color: THEME
  27. &.confirm, &.html
  28. background: #e6e6e6
  29. color: #222
  30. &.error
  31. background: DANGER
  32. &.success
  33. background: SUCCESS
  34. &.error, &.success
  35. color: #fff
  36. & small
  37. opacity: 0.75
  38. font-weight: 100
  39. &.html
  40. & .title
  41. background: THEME
  42. color: #fff
  43. border-radius FORM_border_radius FORM_border_radius 0px 0px
  44. &.push
  45. background: rgba(0,0,0,0.65)
  46. & button, & .button
  47. &:last-child
  48. border-radius 0px 0px FORM_border_radius FORM_border_radius