My personal site (brandoncornejo.name) (binaryatrocity.name)
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.

94 lines
2.3 KiB

10 years ago
  1. /*! UIkit 2.3.1 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
  2. /* ========================================================================
  3. Addon: Notify
  4. ========================================================================== */
  5. /*
  6. * Message container for positioning
  7. */
  8. .uk-notify {
  9. position: fixed;
  10. top: 10px;
  11. left: 10px;
  12. z-index: 1030;
  13. -moz-box-sizing: border-box;
  14. box-sizing: border-box;
  15. width: 350px;
  16. }
  17. /* Position modifiers
  18. ========================================================================== */
  19. .uk-notify-top-right,
  20. .uk-notify-bottom-right {
  21. left: auto;
  22. right: 10px;
  23. }
  24. .uk-notify-top-center,
  25. .uk-notify-bottom-center {
  26. left: 50%;
  27. margin-left: -175px;
  28. }
  29. .uk-notify-bottom-left,
  30. .uk-notify-bottom-right,
  31. .uk-notify-bottom-center {
  32. top: auto;
  33. bottom: 10px;
  34. }
  35. /* Responsiveness
  36. ========================================================================== */
  37. /* Only phones portrait */
  38. @media (max-width: 479px) {
  39. /*
  40. * Fit in small screen
  41. */
  42. .uk-notify {
  43. left: 10px;
  44. right: 10px;
  45. width: auto;
  46. margin: 0;
  47. }
  48. }
  49. /* Sub-object: `uk-notify-message`
  50. ========================================================================== */
  51. .uk-notify-message {
  52. position: relative;
  53. margin-bottom: 10px;
  54. padding: 10px;
  55. background: #444444;
  56. color: #ffffff;
  57. font-size: 16px;
  58. line-height: 22px;
  59. cursor: pointer;
  60. }
  61. /* Close in notify
  62. ========================================================================== */
  63. .uk-notify-message > .uk-close {
  64. visibility: hidden;
  65. float: right;
  66. }
  67. .uk-notify-message:hover > .uk-close {
  68. visibility: visible;
  69. }
  70. /* Modifier: `uk-alert-info`
  71. ========================================================================== */
  72. .uk-notify-message-info {
  73. background: #ebf7fd;
  74. color: #2d7091;
  75. }
  76. /* Modifier: `uk-alert-success`
  77. ========================================================================== */
  78. .uk-notify-message-success {
  79. background: #f2fae3;
  80. color: #659f13;
  81. }
  82. /* Modifier: `uk-notify-message-warning`
  83. ========================================================================== */
  84. .uk-notify-message-warning {
  85. background: #fffceb;
  86. color: #e28327;
  87. }
  88. /* Modifier: `uk-notify-message-danger`
  89. ========================================================================== */
  90. .uk-notify-message-danger {
  91. background: #fff1f0;
  92. color: #d85030;
  93. }