_repository.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  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. }
  153. }
  154. .label.list {
  155. list-style: none;
  156. padding-top: 15px;
  157. .item {
  158. padding-top: 10px;
  159. padding-bottom: 10px;
  160. border-bottom: 1px dashed #AAA;
  161. a {
  162. font-size: 15px;
  163. padding-top: 5px;
  164. padding-right: 10px;
  165. color: #666;
  166. &:hover {
  167. color: #000;
  168. }
  169. &.open-issues {
  170. margin-right: 30px;
  171. }
  172. }
  173. }
  174. }
  175. .milestone.list {
  176. list-style: none;
  177. padding-top: 15px;
  178. > .item {
  179. padding-top: 10px;
  180. padding-bottom: 10px;
  181. border-bottom: 1px dashed #AAA;
  182. > a {
  183. padding-top: 5px;
  184. padding-right: 10px;
  185. color: #000;
  186. &:hover {
  187. color: #4078c0;
  188. }
  189. }
  190. .ui.progress {
  191. width: 40%;
  192. padding: 0;
  193. border: 0;
  194. margin: 0;
  195. .bar {
  196. height: 20px;
  197. }
  198. }
  199. .meta {
  200. color: #999;
  201. padding-top: 5px;
  202. .issue-stats .octicon{
  203. padding-left: 5px;
  204. }
  205. .overdue {
  206. color: red;
  207. }
  208. }
  209. .operate {
  210. margin-top: -15px;
  211. > a {
  212. font-size: 15px;
  213. padding-top: 5px;
  214. padding-right: 10px;
  215. color: #666;
  216. &:hover {
  217. color: #000;
  218. }
  219. }
  220. }
  221. .content {
  222. padding-top: 10px;
  223. }
  224. }
  225. }
  226. &.new.milestone {
  227. textarea {
  228. height: 200px;
  229. }
  230. #deadline {
  231. width: 150px;
  232. }
  233. }
  234. &.compare.pull {
  235. .choose.branch {
  236. .octicon {
  237. padding-right: 10px;
  238. }
  239. }
  240. }
  241. .filter.dropdown .menu {
  242. margin-top: 1px!important;
  243. .items {
  244. max-height: 300px;
  245. overflow-y: auto;
  246. .item {
  247. position: relative;
  248. cursor: pointer;
  249. display: block;
  250. border: none;
  251. height: auto;
  252. border-top: none;
  253. line-height: 1em;
  254. color: rgba(0,0,0,.8);
  255. padding: .71428571em 1.14285714em!important;
  256. font-size: 1rem;
  257. text-transform: none;
  258. font-weight: 400;
  259. box-shadow: none;
  260. -webkit-touch-callout: none;
  261. &.active {
  262. font-weight: 700;
  263. }
  264. &:hover {
  265. background: rgba(0,0,0,.05);
  266. color: rgba(0,0,0,.8);
  267. z-index: 13;
  268. }
  269. }
  270. }
  271. }
  272. }
  273. .settings .key.list {
  274. .item:not(:first-child) {
  275. border-top: 1px solid #eaeaea;
  276. }
  277. .ssh-key-state-indicator {
  278. float: left;
  279. color: gray;
  280. padding-left: 10px;
  281. padding-top: 10px;
  282. &.active {
  283. color: #6cc644;
  284. }
  285. }
  286. .meta {
  287. padding-top: 5px;
  288. }
  289. .print {
  290. color: #767676;
  291. }
  292. .activity {
  293. color: #666;
  294. }
  295. }
  296. .ui.vertical.menu {
  297. .header.item {
  298. font-size: 1.1em;
  299. background: #f0f0f0;
  300. }
  301. }
  302. .edit-label.modal,
  303. .new-label.segment {
  304. .form {
  305. .column {
  306. padding-right: 0;
  307. }
  308. .buttons {
  309. margin-left: auto;
  310. padding-top: 15px;
  311. }
  312. .color.picker.column {
  313. width: auto;
  314. .color-picker {
  315. height: 35px;
  316. width: auto;
  317. padding-left: 30px;
  318. }
  319. }
  320. .minicolors-swatch.minicolors-sprite {
  321. top: 10px;
  322. left: 10px;
  323. width: 15px;
  324. height: 15px;
  325. }
  326. .precolors {
  327. padding-left: 0;
  328. padding-right: 0;
  329. margin: 3px 10px auto 10px;
  330. width: 120px;
  331. .color {
  332. float: left;
  333. width: 15px;
  334. height: 15px;
  335. }
  336. }
  337. }
  338. }