_repository.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. padding-bottom: @footer-margin * 3;
  5. .head {
  6. .ui.compact.menu {
  7. margin-left: 1rem;
  8. }
  9. .ui.header {
  10. margin-top: 0;
  11. }
  12. }
  13. .metas {
  14. .menu {
  15. max-height: 300px;
  16. overflow-x: auto;
  17. }
  18. .ui.list {
  19. .ui.avatar.image {
  20. border-radius: 0;
  21. }
  22. .hide {
  23. display: none!important;
  24. }
  25. .label.color {
  26. padding: 0 8px;
  27. margin-right: 5px;
  28. }
  29. a {
  30. padding-top: 5px;
  31. padding-right: 10px;
  32. .text {
  33. color: #444;
  34. &:hover {
  35. color: #000;
  36. }
  37. }
  38. }
  39. }
  40. }
  41. .filter.menu {
  42. .label.color {
  43. margin-left: 15px;
  44. padding: 0 8px;
  45. }
  46. .octicon {
  47. float: left;
  48. margin-left: -5px;
  49. margin-right: -7px;
  50. }
  51. .menu {
  52. max-height: 300px;
  53. overflow-x: auto;
  54. right: 0!important;
  55. left: auto!important;
  56. .clickable .name {
  57. padding-left: 15px!important;
  58. }
  59. }
  60. }
  61. .page.buttons {
  62. padding-top: 15px;
  63. }
  64. .issue.list {
  65. list-style: none;
  66. padding-top: 15px;
  67. >.item {
  68. padding-top: 15px;
  69. padding-bottom: 10px;
  70. border-bottom: 1px dashed #AAA;
  71. .title {
  72. color: #444;
  73. font-size: 15px;
  74. font-weight: bold;
  75. margin: 0 6px;
  76. &:hover {
  77. color: #000;
  78. }
  79. }
  80. .comment {
  81. padding-right: 10px;
  82. color: #666;
  83. }
  84. .desc {
  85. padding-top: 5px;
  86. color: #999;
  87. a.milestone {
  88. padding-left: 5px;
  89. color: #999!important;
  90. &:hover {
  91. color: #000!important;
  92. }
  93. }
  94. .assignee {
  95. margin-top: -10px;
  96. }
  97. }
  98. }
  99. }
  100. &.new.issue {
  101. .comment.form {
  102. .metas {
  103. min-width: 220px;
  104. .filter.menu {
  105. max-height: 300px;
  106. overflow-x: auto;
  107. }
  108. }
  109. }
  110. }
  111. .comment.form {
  112. .ui.comments {
  113. margin-top: -12px;
  114. max-width: 750px!important;
  115. }
  116. .content {
  117. .field:first-child {
  118. clear: none;
  119. }
  120. .tab.segment {
  121. border: none;
  122. padding: 0;
  123. padding-top: 10px;
  124. }
  125. textarea {
  126. height: 200px;
  127. }
  128. }
  129. }
  130. .label.list {
  131. list-style: none;
  132. padding-top: 15px;
  133. .item {
  134. padding-top: 10px;
  135. padding-bottom: 10px;
  136. border-bottom: 1px dashed #AAA;
  137. a {
  138. font-size: 15px;
  139. padding-top: 5px;
  140. padding-right: 10px;
  141. color: #666;
  142. &:hover {
  143. color: #000;
  144. }
  145. &.open-issues {
  146. margin-right: 30px;
  147. }
  148. }
  149. }
  150. }
  151. .milestone.list {
  152. list-style: none;
  153. padding-top: 15px;
  154. > .item {
  155. padding-top: 10px;
  156. padding-bottom: 10px;
  157. border-bottom: 1px dashed #AAA;
  158. > a {
  159. padding-top: 5px;
  160. padding-right: 10px;
  161. color: #000;
  162. &:hover {
  163. color: #4078c0;
  164. }
  165. }
  166. .ui.progress {
  167. width: 40%;
  168. padding: 0;
  169. border: 0;
  170. margin: 0;
  171. .bar {
  172. height: 20px;
  173. }
  174. }
  175. .meta {
  176. color: #999;
  177. padding-top: 5px;
  178. .issue-stats .octicon{
  179. padding-left: 5px;
  180. }
  181. .overdue {
  182. color: red;
  183. }
  184. }
  185. .operate {
  186. margin-top: -15px;
  187. > a {
  188. font-size: 15px;
  189. padding-top: 5px;
  190. padding-right: 10px;
  191. color: #666;
  192. &:hover {
  193. color: #000;
  194. }
  195. }
  196. }
  197. .content {
  198. padding-top: 10px;
  199. }
  200. }
  201. }
  202. &.new.milestone {
  203. textarea {
  204. height: 200px;
  205. }
  206. #deadline {
  207. width: 150px;
  208. }
  209. }
  210. &.compare.pull {
  211. .choose.branch {
  212. .octicon {
  213. padding-right: 10px;
  214. }
  215. }
  216. }
  217. .filter.dropdown .menu {
  218. margin-top: 1px!important;
  219. .items {
  220. max-height: 300px;
  221. overflow-y: auto;
  222. .item {
  223. position: relative;
  224. cursor: pointer;
  225. display: block;
  226. border: none;
  227. height: auto;
  228. border-top: none;
  229. line-height: 1em;
  230. color: rgba(0,0,0,.8);
  231. padding: .71428571em 1.14285714em!important;
  232. font-size: 1rem;
  233. text-transform: none;
  234. font-weight: 400;
  235. box-shadow: none;
  236. -webkit-touch-callout: none;
  237. &.active {
  238. font-weight: 700;
  239. }
  240. &:hover {
  241. background: rgba(0,0,0,.05);
  242. color: rgba(0,0,0,.8);
  243. z-index: 13;
  244. }
  245. }
  246. }
  247. }
  248. }
  249. .settings .key.list {
  250. .item:not(:first-child) {
  251. border-top: 1px solid #eaeaea;
  252. }
  253. .ssh-key-state-indicator {
  254. float: left;
  255. color: gray;
  256. padding-left: 10px;
  257. padding-top: 10px;
  258. &.active {
  259. color: #6cc644;
  260. }
  261. }
  262. .meta {
  263. padding-top: 5px;
  264. }
  265. .print {
  266. color: #767676;
  267. }
  268. .activity {
  269. color: #666;
  270. }
  271. }
  272. .ui.vertical.menu {
  273. .header.item {
  274. font-size: 1.1em;
  275. background: #f0f0f0;
  276. }
  277. }
  278. .edit-label.modal,
  279. .new-label.segment {
  280. .form {
  281. .column {
  282. padding-right: 0;
  283. }
  284. .buttons {
  285. margin-left: auto;
  286. padding-top: 15px;
  287. }
  288. .color.picker.column {
  289. width: auto;
  290. .color-picker {
  291. height: 35px;
  292. width: auto;
  293. padding-left: 30px;
  294. }
  295. }
  296. .minicolors-swatch.minicolors-sprite {
  297. top: 10px;
  298. left: 10px;
  299. width: 15px;
  300. height: 15px;
  301. }
  302. .precolors {
  303. padding-left: 0;
  304. padding-right: 0;
  305. margin: 3px 10px auto 10px;
  306. width: 120px;
  307. .color {
  308. float: left;
  309. width: 15px;
  310. height: 15px;
  311. }
  312. }
  313. }
  314. }