_repository.less 5.2 KB

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