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.

103 lines
2.1 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. /*******************************
  2. Comments
  3. *******************************/
  4. /*-------------------
  5. View
  6. --------------------*/
  7. @maxWidth: 650px;
  8. @margin: 1.5em 0em;
  9. /*-------------------
  10. Elements
  11. --------------------*/
  12. /* Comment */
  13. @commentBackground: none;
  14. @commentMargin: 0.5em 0em 0em;
  15. @commentPadding: 0.5em 0em 0em;
  16. @commentDivider: none;
  17. @commentBorder: none;
  18. @commentLineHeight: 1.2;
  19. @firstCommentMargin: 0em;
  20. @firstCommentPadding: 0em;
  21. /* Nested Comment */
  22. @nestedCommentsMargin: 0em 0em 0.5em 0.5em;
  23. @nestedCommentsPadding: 1em 0em 1em 1em;
  24. @nestedCommentDivider: none;
  25. @nestedCommentBorder: none;
  26. @nestedCommentBackground: none;
  27. /* Avatar */
  28. @avatarDisplay: block;
  29. @avatarFloat: left;
  30. @avatarWidth: 2.5em;
  31. @avatarHeight: auto;
  32. @avatarSpacing: 1em;
  33. @avatarMargin: (@commentLineHeight - 1em) 0em 0em;
  34. @avatarBorderRadius: 0.25rem;
  35. /* Content */
  36. @contentMargin: @avatarWidth + @avatarSpacing;
  37. /* Author */
  38. @authorFontSize: 1em;
  39. @authorColor: @textColor;
  40. @authorHoverColor: @linkHoverColor;
  41. @authorFontWeight: bold;
  42. /* Metadata */
  43. @metadataDisplay: inline-block;
  44. @metadataFontSize: 0.875em;
  45. @metadataSpacing: 0.5em;
  46. @metadataContentSpacing: 0.5em;
  47. @metadataColor: @lightTextColor;
  48. /* Text */
  49. @textFontSize: 1em;
  50. @textMargin: 0.25em 0em 0.5em;
  51. @textWordWrap: break-word;
  52. @textLineHeight: 1.3;
  53. /* Actions */
  54. @actionFontSize: 0.875em;
  55. @actionContentDistance: 0.75em;
  56. @actionLinkColor: @unselectedTextColor;
  57. @actionLinkHoverColor: @hoveredTextColor;
  58. /* Reply */
  59. @replyDistance: 1em;
  60. @replyHeight: 12em;
  61. @replyFontSize: 1em;
  62. @commentReplyDistance: @replyDistance;
  63. /*-------------------
  64. Variations
  65. --------------------*/
  66. /* Threaded */
  67. @threadedCommentMargin: -1.5em 0 -1em (@avatarWidth / 2);
  68. @threadedCommentPadding: 3em 0em 2em 2.25em;
  69. @threadedCommentBoxShadow: -1px 0px 0px @borderColor;
  70. /* Minimal */
  71. @minimalActionPosition: absolute;
  72. @minimalActionTop: 0px;
  73. @minimalActionRight: 0px;
  74. @minimalActionLeft: auto;
  75. @minimalTransitionDelay: 0.1s;
  76. @minimalEasing: @defaultEasing;
  77. @minimalDuration: 0.2s;
  78. @minimalTransition: opacity @minimalDuration @minimalEasing;
  79. /* Sizes */
  80. @small: 0.9em;
  81. @medium: 1em;
  82. @large: 1.1em;
  83. @huge: 1.2em;