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
1.6 KiB

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: 1.2rem;
  28. @headerFontWeight: bold;
  29. @headerBottomMargin: 0.25em;
  30. @headerDisplay: block;
  31. @headerHorizontalDistance: 0em;
  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. @attachedOffset: -1px;
  58. @attachedBoxShadow: 0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset;
  59. @attachedBottomBoxShadow:
  60. @attachedBoxShadow,
  61. @subtleShadow
  62. ;
  63. /* Floating */
  64. @floatingShadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
  65. @floatingBoxShadow:
  66. @floatingShadow,
  67. @borderShadow
  68. ;
  69. /*-------------------
  70. Variations
  71. --------------------*/
  72. @small: 0.875em;
  73. @medium: 1em;
  74. @large: 1.125em;
  75. @huge: 1.5em;
  76. @massive: 2em;