_repository.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. height: 75px;
  7. padding-top: 20px;
  8. background-color: #FCFCFC;
  9. .mega-octicon {
  10. width: @mega-octicon-width;
  11. }
  12. a,
  13. .fork-flag {
  14. font-weight: 300;
  15. }
  16. .ui.label {
  17. margin-top: 5px;
  18. vertical-align: top;
  19. }
  20. .fork-flag {
  21. margin-left: @mega-octicon-width + 8px;
  22. display: block;
  23. font-size: 11px;
  24. line-height: 10px;
  25. white-space: nowrap;
  26. }
  27. .button {
  28. margin-left: 10px;
  29. i {
  30. margin-right: 5px;
  31. }
  32. }
  33. .num {
  34. font-weight: bold;
  35. }
  36. .octicon {
  37. height: 5px;
  38. }
  39. }
  40. .navbar {
  41. height: 60px;
  42. padding-top: 20px;
  43. .ui.secondary.menu .item {
  44. margin-left: -10px;
  45. margin-top: -7px;
  46. &>.input {
  47. .new-label-input,
  48. .color-picker {
  49. background-color: white;
  50. border: 1px solid rgba(0,0,0,.15);
  51. }
  52. }
  53. .new-label-input {
  54. width: 150px;
  55. }
  56. .color-picker {
  57. height: 35px;
  58. width: auto;
  59. padding-left: 30px;
  60. }
  61. .minicolors-swatch.minicolors-sprite {
  62. top: 10px;
  63. left: 10px;
  64. width: 15px;
  65. height: 15px;
  66. }
  67. &.precolors {
  68. padding-left: 0;
  69. padding-right: 0;
  70. margin-right: 10px;
  71. width: 120px;
  72. .color {
  73. float: left;
  74. width: 15px;
  75. height: 15px;
  76. }
  77. }
  78. }
  79. }
  80. .filter.menu .label.color {
  81. padding: 0 8px;
  82. }
  83. .type.item .menu {
  84. right: 0!important;
  85. left: auto!important;
  86. }
  87. .issue.list {
  88. clear: both;
  89. list-style: none;
  90. font-size: 13px;
  91. padding-top: 15px;
  92. .item {
  93. padding-top: 15px;
  94. padding-bottom: 10px;
  95. border-bottom: 1px dashed #AAA;
  96. .title {
  97. color: #444;
  98. font-size: 15px;
  99. font-weight: bold;
  100. margin: 0 6px;
  101. &:hover {
  102. color: #000;
  103. }
  104. }
  105. .comment {
  106. padding-right: 10px;
  107. color: #666;
  108. }
  109. .desc {
  110. padding-top: 5px;
  111. color: #999;
  112. }
  113. }
  114. .page.buttons {
  115. padding-top: 15px;
  116. }
  117. }
  118. .label.list {
  119. clear: both;
  120. padding-top: 15px;
  121. .item {
  122. padding-top: 10px;
  123. padding-bottom: 10px;
  124. border-bottom: 1px dashed #AAA;
  125. a {
  126. font-size: 15px;
  127. padding-top: 5px;
  128. padding-right: 10px;
  129. color: #666;
  130. &:hover {
  131. color: #000;
  132. }
  133. &.open-issues {
  134. margin-right: 30px;
  135. }
  136. }
  137. }
  138. }
  139. }