_repository.less 5.1 KB

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