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.

_review.less 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .ui.button.add-code-comment {
  2. font-size: 14px;
  3. height: 16px;
  4. padding: 2px 0 0;
  5. position: relative;
  6. width: 16px;
  7. z-index: 5;
  8. float: left;
  9. margin: -2px -10px -2px -20px;
  10. opacity: 0;
  11. transition: transform 0.1s ease-in-out;
  12. transform: scale(1, 1);
  13. &:hover {
  14. transform: scale(1.2, 1.2);
  15. }
  16. }
  17. .focus-lines-new .ui.button.add-code-comment.add-code-comment-right,
  18. .focus-lines-old .ui.button.add-code-comment.add-code-comment-left {
  19. opacity: 1;
  20. }
  21. .comment-code-cloud {
  22. padding: 4px;
  23. position: relative;
  24. border: 1px solid #f1f1f1;
  25. margin: 13px 10px 5px auto;
  26. &:before {
  27. content: " ";
  28. width: 0;
  29. height: 0;
  30. border-left: 13px solid transparent;
  31. border-right: 13px solid transparent;
  32. border-bottom: 13px solid #f1f1f1;
  33. left: 20px;
  34. position: absolute;
  35. top: -13px;
  36. }
  37. .attached {
  38. &.tab {
  39. border: 0;
  40. padding: 0;
  41. margin: 0;
  42. &.markdown {
  43. padding: 1em;
  44. min-height: 168px;
  45. }
  46. }
  47. &.header {
  48. padding: 0.1rem 1rem;
  49. }
  50. }
  51. .right.menu.options .item {
  52. padding: 0.85714286em 0.442857em;
  53. cursor: pointer;
  54. }
  55. .ui.form textarea {
  56. border: 0;
  57. }
  58. .ui.attached.tabular.menu {
  59. background: #f7f7f7;
  60. border: 1px solid #d4d4d5;
  61. padding-top: 5px;
  62. padding-left: 5px;
  63. margin-top: 0;
  64. }
  65. .footer {
  66. border-top: 1px solid #f1f1f1;
  67. margin-top: 10px;
  68. .markdown-info {
  69. display: inline-block;
  70. margin: 5px 0;
  71. font-size: 12px;
  72. color: rgba(0, 0, 0, 0.6);
  73. }
  74. .ui.right.floated {
  75. padding-top: 6px;
  76. }
  77. &:after {
  78. clear: both;
  79. content: "";
  80. display: block;
  81. }
  82. }
  83. button.comment-form-reply {
  84. margin: 0.5em 0.5em 0.5em 4.5em;
  85. }
  86. form.comment-form-reply {
  87. margin: 0 0 0 4em;
  88. }
  89. }
  90. .file-comment {
  91. font: 12px @monospaced-fonts, monospace;
  92. color: rgba(0, 0, 0, 0.87);
  93. }