_repository.less 4.9 KB

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