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.

95 lines
1.6 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*******************************
  2. Message
  3. *******************************/
  4. // @textColor
  5. /*-------------------
  6. Elements
  7. --------------------*/
  8. @verticalMargin: 1em;
  9. @verticalPadding: 1em;
  10. @horizontalPadding: 1.5em;
  11. @background: #EFEFEF;
  12. @lineHeight: 1.3;
  13. @borderRadius: 0.25em;
  14. @borderWidth: 1px;
  15. @borderShadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.15) inset;
  16. @boxShadow:
  17. @borderShadow,
  18. @subtleShadow
  19. ;
  20. @transition:
  21. opacity 0.2s ease,
  22. color 0.2s ease,
  23. background 0.2s ease,
  24. box-shadow 0.2s ease
  25. ;
  26. /* Header */
  27. @headerFontSize: 1rem;
  28. @headerFontWeight: bold;
  29. @headerDisplay: block;
  30. @headerDistance: 0rem;
  31. @headerParagraphDistance: 0.25em;
  32. /* Paragraph */
  33. @messageTextOpacity: 0.85;
  34. @messageParagraphMargin: 0.75em;
  35. /* List */
  36. @listOpacity: 0.85;
  37. @listStylePosition: inside;
  38. @listMargin: 0.5em;
  39. @listItemIndent: 1em;
  40. @listItemMargin: 0.3em;
  41. /* Icon */
  42. @iconDistance: 0.6em;
  43. /* Close Icon */
  44. @closeTopDistance: 1em;
  45. @closeRightDistance: 0.5em;
  46. @closeOpacity: 0.7;
  47. /*-------------------
  48. Types
  49. --------------------*/
  50. /* Icon Message */
  51. @iconSize: 3em;
  52. @iconOpacity: 0.8;
  53. @iconContentDistance: 1.5rem;
  54. @iconVerticalAlign: middle;
  55. @circularIconContentDistance: 2em;
  56. /* Attached */
  57. @attachedXOffset: -1px;
  58. @attachedYOffset: 0px;
  59. @attachedBoxShadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset;
  60. @attachedBottomBoxShadow:
  61. @attachedBoxShadow,
  62. @subtleShadow
  63. ;
  64. /* Floating */
  65. @floatingShadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
  66. @floatingBoxShadow:
  67. @floatingShadow,
  68. @borderShadow
  69. ;
  70. /*-------------------
  71. Variations
  72. --------------------*/
  73. @small: 0.875em;
  74. @medium: 1em;
  75. @large: 1.125em;
  76. @huge: 1.5em;
  77. @massive: 2em;