changelog.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. // Post Changelog
  2. // -------------------------
  3. .post-changelog {
  4. table {
  5. td {
  6. vertical-align: middle;
  7. .change-added, .change-removed, .change-none {
  8. display: block;
  9. font-size: @baseFontSize * 2;
  10. font-weight: bold;
  11. text-align: right;
  12. &.change-small {
  13. font-size: @baseFontSize;
  14. }
  15. }
  16. .change-neutral {
  17. color: @gray;
  18. }
  19. .change-added {
  20. color: @green;
  21. }
  22. .change-removed {
  23. color: @red;
  24. }
  25. .change-reason {
  26. a:link, a:active, a:visited, a:hover {
  27. color: @textColor;
  28. font-weight: bold;
  29. }
  30. }
  31. .change-no {
  32. &:link, &:active, &:visited, &:hover {
  33. float: right;
  34. color: @gray;
  35. font-weight: bold;
  36. }
  37. }
  38. .change-description {
  39. float: left;
  40. font-size: @fontSizeSmall;
  41. a:link, a:active, a:visited, a:hover {
  42. color: @textColor;
  43. }
  44. .change-details {
  45. color: @grayLight;
  46. a:link, a:visited {
  47. color: @gray;
  48. }
  49. }
  50. }
  51. }
  52. }
  53. }
  54. .post-diff {
  55. .diff-extra {
  56. overflow: auto;
  57. }
  58. .post-diff-details {
  59. background-color: @white;
  60. border: 1px solid @categoryBorder;
  61. border-radius: @borderRadiusSmall;
  62. .box-shadow(0px 0px 0px 3px @categoryShadow);
  63. margin-bottom: @baseLineHeight;
  64. table {
  65. margin: 0px;
  66. width: 100%;
  67. td {
  68. padding: 1px 4px;
  69. &.line {
  70. background-color: @categoryShadow;
  71. border-right: 1px solid @categoryBorder;
  72. padding-left: @baseFontSize;
  73. width: 1%;
  74. text-align: right;
  75. a:link, a:active, a:visited, a:hover {
  76. color: @grayLight;
  77. }
  78. }
  79. &.even {
  80. background-color: darken(@white, 3%);
  81. }
  82. &.added {
  83. background-color: lighten(@green, 45%);
  84. color: darken(@green, 20%);
  85. font-weight: bold;
  86. &.even {
  87. background-color: lighten(@green, 40%);
  88. }
  89. }
  90. &.removed {
  91. background-color: lighten(@red, 45%);
  92. color: darken(@red, 20%);
  93. font-weight: bold;
  94. &.even {
  95. background-color: lighten(@red, 40%);
  96. }
  97. }
  98. &.stag {
  99. color: @gray;
  100. }
  101. }
  102. }
  103. }
  104. }