You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_repository.less 51KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296
  1. .repository {
  2. @mega-octicon-width: 30px;
  3. padding-top: 15px;
  4. .repo-header {
  5. .ui.compact.menu {
  6. margin-left: 1rem;
  7. }
  8. .ui.header {
  9. margin-top: 0;
  10. }
  11. .mega-octicon {
  12. width: @mega-octicon-width;
  13. font-size: 30px;
  14. }
  15. .ui.huge.breadcrumb {
  16. font-weight: 400;
  17. font-size: 1.5rem;
  18. }
  19. .fork-flag {
  20. margin-left: @mega-octicon-width + 6px;
  21. margin-top: 3px;
  22. display: block;
  23. font-size: 12px;
  24. white-space: nowrap;
  25. }
  26. .octicon.octicon-repo-forked {
  27. margin-top: -1px;
  28. font-size: 15px;
  29. }
  30. .button {
  31. margin-top: 2px;
  32. margin-bottom: 2px;
  33. }
  34. }
  35. .tabs {
  36. .navbar {
  37. justify-content: initial;
  38. }
  39. }
  40. .navbar {
  41. display: flex;
  42. justify-content: space-between;
  43. .ui.label {
  44. margin-left: 7px;
  45. padding: 3px 5px;
  46. }
  47. }
  48. .owner.dropdown {
  49. min-width: 40% !important;
  50. }
  51. #file-buttons {
  52. /* The reason for the !important is that Semantic itself has
  53. margin-left: 0 !important on right items on mobile, which is mostly
  54. to make sure elements which on menus would otherwise be on the right
  55. align correctly with other elements when stacked.
  56. Unfortunately, this brings some weird alignment on this particular
  57. element, so we need to override it. */
  58. margin-left: auto !important;
  59. font-weight: normal;
  60. .ui.button {
  61. padding: 8px 10px;
  62. font-weight: normal;
  63. }
  64. }
  65. .metas {
  66. .menu {
  67. max-height: 300px;
  68. overflow-x: auto;
  69. }
  70. .ui.list {
  71. .hide {
  72. display: none !important;
  73. }
  74. .item {
  75. padding: 0;
  76. }
  77. .label.color {
  78. padding: 0 8px;
  79. margin-right: 5px;
  80. }
  81. a {
  82. margin: 2px 0;
  83. .text {
  84. color: #444;
  85. &:hover {
  86. color: #000;
  87. }
  88. }
  89. }
  90. }
  91. #deadlineForm input {
  92. width: 12.8rem;
  93. border-radius: 4px 0 0 4px;
  94. border-right: 0;
  95. white-space: nowrap;
  96. }
  97. }
  98. .header-wrapper {
  99. background-color: #FAFAFA;
  100. margin-top: -15px;
  101. padding-top: 15px;
  102. .ui.tabs.divider {
  103. border-bottom: none;
  104. }
  105. .ui.tabular .octicon {
  106. margin-right: 5px;
  107. }
  108. }
  109. .filter.menu {
  110. .label.color {
  111. border-radius: 3px;
  112. margin-left: 15px;
  113. padding: 0 8px;
  114. }
  115. .octicon {
  116. float: left;
  117. margin: 5px -7px 0 -5px;
  118. width: 16px;
  119. }
  120. &.labels .octicon {
  121. margin: -2px -7px 0 -5px;
  122. }
  123. .text {
  124. margin-left: 0.9em;
  125. }
  126. .menu {
  127. max-height: 300px;
  128. overflow-x: auto;
  129. right: 0 !important;
  130. left: auto !important;
  131. }
  132. .dropdown.item {
  133. margin: 1px;
  134. padding-right: 0;
  135. }
  136. }
  137. .select-label {
  138. .item {
  139. max-width: 250px;
  140. overflow: hidden;
  141. text-overflow: ellipsis;
  142. }
  143. .desc {
  144. padding-left: 16px;
  145. }
  146. }
  147. .ui.tabs {
  148. &.container {
  149. margin-top: 14px;
  150. margin-bottom: 0;
  151. .ui.menu {
  152. border-bottom: none;
  153. }
  154. }
  155. &.divider {
  156. margin-top: 0;
  157. margin-bottom: 20px;
  158. }
  159. }
  160. #clone-panel {
  161. width: 350px;
  162. @media only screen and (max-width: 768px) {
  163. width: 100%;
  164. }
  165. input {
  166. border-radius: 0;
  167. padding: 5px 10px;
  168. width: 50%;
  169. }
  170. .clone.button {
  171. font-size: 13px;
  172. padding: 0 5px;
  173. &:first-child {
  174. border-radius: .28571429rem 0 0 .28571429rem;
  175. }
  176. }
  177. .icon.button {
  178. padding: 0 10px;
  179. }
  180. .dropdown .menu {
  181. right: 0 !important;
  182. left: auto !important;
  183. }
  184. }
  185. &.file.list {
  186. .repo-description {
  187. display: flex;
  188. justify-content: space-between;
  189. align-items: center;
  190. }
  191. #repo-desc {
  192. font-size: 1.2em;
  193. }
  194. .choose.reference {
  195. .header .icon {
  196. font-size: 1.4em;
  197. }
  198. }
  199. .repo-path {
  200. .section,
  201. .divider {
  202. display: inline;
  203. }
  204. }
  205. #file-buttons {
  206. font-weight: normal;
  207. .ui.button {
  208. padding: 8px 10px;
  209. font-weight: normal;
  210. }
  211. .ui.tiny.blue.buttons {
  212. @media only screen and (max-width: 768px) {
  213. width: 100%;
  214. }
  215. }
  216. }
  217. #repo-files-table {
  218. thead {
  219. th {
  220. padding-top: 8px;
  221. padding-bottom: 5px;
  222. font-weight: normal;
  223. }
  224. .ui.avatar {
  225. margin-bottom: 5px;
  226. }
  227. }
  228. tbody {
  229. .octicon {
  230. margin-left: 3px;
  231. margin-right: 5px;
  232. color: #777;
  233. &.octicon-mail-reply {
  234. margin-right: 10px;
  235. }
  236. &.octicon-file-directory,
  237. &.octicon-file-submodule,
  238. &.octicon-file-symlink-directory {
  239. color: #1e70bf;
  240. }
  241. }
  242. }
  243. td {
  244. padding-top: 8px;
  245. padding-bottom: 8px;
  246. overflow: initial;
  247. &.name {
  248. max-width: 150px;
  249. }
  250. &.message {
  251. max-width: 400px;
  252. }
  253. &.age {
  254. width: 120px;
  255. }
  256. .truncate {
  257. display: inline-block;
  258. max-width: 100%;
  259. overflow: hidden;
  260. text-overflow: ellipsis;
  261. vertical-align: top;
  262. white-space: nowrap;
  263. }
  264. }
  265. td.message .isSigned {
  266. cursor: default;
  267. }
  268. tr:hover {
  269. background-color: #ffffEE;
  270. }
  271. .jumpable-path {
  272. color: #888;
  273. }
  274. }
  275. .non-diff-file-content {
  276. .header {
  277. .icon {
  278. font-size: 1em;
  279. }
  280. .file-actions {
  281. margin-top: 0;
  282. margin-bottom: -5px;
  283. padding-left: 20px;
  284. .btn-octicon {
  285. display: inline-block;
  286. padding: 5px;
  287. margin-left: 5px;
  288. line-height: 1;
  289. color: #767676;
  290. vertical-align: middle;
  291. background: transparent;
  292. border: 0;
  293. outline: none;
  294. }
  295. .btn-octicon:hover {
  296. color: #4078c0;
  297. }
  298. .btn-octicon-danger:hover {
  299. color: #bd2c00;
  300. }
  301. .btn-octicon.disabled {
  302. color: #bbb;
  303. cursor: default;
  304. }
  305. #delete-file-form {
  306. display: inline-block;
  307. }
  308. }
  309. }
  310. .view-raw {
  311. padding: 5px;
  312. * {
  313. max-width: 100%;
  314. }
  315. img {
  316. padding: 5px 5px 0 5px;
  317. }
  318. }
  319. .plain-text {
  320. padding: 1em 2em 1em 2em;
  321. }
  322. pre {
  323. overflow: auto;
  324. }
  325. .code-view {
  326. * {
  327. font-size: 12px;
  328. font-family: @monospaced-fonts, monospace;
  329. line-height: 20px;
  330. }
  331. table {
  332. width: 100%;
  333. }
  334. .lines-num {
  335. vertical-align: top;
  336. text-align: right;
  337. color: #999;
  338. background: #f5f5f5;
  339. width: 1%;
  340. user-select: none;
  341. span {
  342. line-height: 20px;
  343. padding: 0 10px;
  344. cursor: pointer;
  345. display: block;
  346. }
  347. }
  348. .lines-num,
  349. .lines-code {
  350. padding: 0;
  351. pre,
  352. ol,
  353. .hljs {
  354. background-color: white;
  355. margin: 0;
  356. padding: 0 !important;
  357. li {
  358. display: block;
  359. width: 100%;
  360. &.active {
  361. background: #ffffdd;
  362. }
  363. &:before {
  364. content: ' ';
  365. }
  366. }
  367. }
  368. }
  369. .lines-commit {
  370. vertical-align: top;
  371. color: #999;
  372. padding: 0;
  373. background: #f5f5f5;
  374. width: 1%;
  375. -moz-user-select: none;
  376. -ms-user-select: none;
  377. -webkit-user-select: none;
  378. user-select: none;
  379. .blame-info {
  380. width: 350px;
  381. max-width: 350px;
  382. display: block;
  383. user-select: none;
  384. padding: 0 0 0 10px;
  385. .blame-data {
  386. display: flex;
  387. font-family: @default-fonts;
  388. .blame-message {
  389. flex-grow: 2;
  390. overflow: hidden;
  391. white-space: nowrap;
  392. text-overflow: ellipsis;
  393. line-height: 20px;
  394. }
  395. .blame-time,
  396. .blame-avatar {
  397. flex-shrink: 0;
  398. }
  399. }
  400. }
  401. .ui.avatar.image {
  402. height: 18px;
  403. width: 18px;
  404. }
  405. }
  406. .lines-num,
  407. .lines-code,
  408. .lines-commit {
  409. .bottom-line {
  410. border-bottom: 1px solid #eaecef;
  411. }
  412. }
  413. .active {
  414. background: #ffffdd;
  415. }
  416. }
  417. }
  418. .sidebar {
  419. padding-left: 0;
  420. .octicon {
  421. width: 16px;
  422. }
  423. }
  424. }
  425. &.file.editor {
  426. .treepath {
  427. width: 100%;
  428. input {
  429. vertical-align: middle;
  430. box-shadow: rgba(0, 0, 0, 0.0745098) 0 1px 2px inset;
  431. width: inherit;
  432. padding: 7px 8px;
  433. margin-right: 5px;
  434. }
  435. }
  436. .tabular.menu {
  437. .octicon {
  438. margin-right: 5px;
  439. }
  440. }
  441. .commit-form-wrapper {
  442. padding-left: 64px;
  443. .commit-avatar {
  444. float: left;
  445. margin-left: -64px;
  446. width: 3em;
  447. height: auto;
  448. }
  449. .commit-form {
  450. position: relative;
  451. padding: 15px;
  452. margin-bottom: 10px;
  453. border: 1px solid #ddd;
  454. border-radius: 3px;
  455. #avatar-arrow;
  456. &:after {
  457. border-right-color: #fff;
  458. }
  459. .quick-pull-choice {
  460. .branch-name {
  461. display: inline-block;
  462. padding: 3px 6px;
  463. font: 12px @monospaced-fonts, monospace;
  464. color: rgba(0, 0, 0, 0.65);
  465. background-color: rgba(209, 227, 237, 0.45);
  466. border-radius: 3px;
  467. }
  468. .new-branch-name-input {
  469. position: relative;
  470. margin-left: 25px;
  471. input {
  472. width: 240px !important;
  473. padding-left: 26px !important;
  474. }
  475. }
  476. .octicon-git-branch {
  477. position: absolute;
  478. top: 9px;
  479. left: 10px;
  480. color: #b0c4ce;
  481. }
  482. }
  483. }
  484. }
  485. }
  486. &.options {
  487. #interval {
  488. width: 100px !important;
  489. min-width: 100px;
  490. }
  491. .danger {
  492. .item {
  493. padding: 20px 15px;
  494. }
  495. .ui.divider {
  496. margin: 0;
  497. }
  498. }
  499. }
  500. @comment-avatar-width: 3em;
  501. &.new.issue {
  502. .comment.form {
  503. .comment {
  504. .avatar {
  505. width: @comment-avatar-width;
  506. }
  507. }
  508. .content {
  509. margin-left: 4em;
  510. #avatar-arrow;
  511. &:after {
  512. border-right-color: #fff;
  513. }
  514. .markdown {
  515. font-size: 14px;
  516. }
  517. }
  518. .metas {
  519. min-width: 220px;
  520. .filter.menu {
  521. max-height: 300px;
  522. overflow-x: auto;
  523. }
  524. }
  525. }
  526. }
  527. &.view.issue {
  528. .title {
  529. padding-bottom: 0 !important;
  530. h1 {
  531. font-weight: 300;
  532. font-size: 2.3rem;
  533. margin-bottom: 5px;
  534. .ui.input {
  535. font-size: 0.5em;
  536. vertical-align: top;
  537. width: 50%;
  538. min-width: 600px;
  539. input {
  540. font-size: 1.5em;
  541. padding: 6px 10px;
  542. }
  543. }
  544. }
  545. .index {
  546. font-weight: 300;
  547. color: #aaa;
  548. letter-spacing: -1px;
  549. }
  550. .label {
  551. margin-right: 10px;
  552. }
  553. .edit-zone {
  554. margin-top: 10px;
  555. }
  556. }
  557. .pull-desc {
  558. code {
  559. color: #0166E6;
  560. }
  561. }
  562. .pull {
  563. &.tabular.menu {
  564. margin-bottom: 10px;
  565. .octicon {
  566. margin-right: 5px;
  567. }
  568. }
  569. &.tab.segment {
  570. border: none;
  571. padding: 10px 0 0;
  572. box-shadow: none;
  573. background-color: inherit;
  574. }
  575. .merge.box {
  576. .avatar {
  577. margin-left: 10px;
  578. margin-top: 10px;
  579. }
  580. }
  581. .review-item {
  582. .avatar,
  583. .type-icon {
  584. float: none;
  585. display: inline-block;
  586. text-align: center;
  587. vertical-align: middle;
  588. .octicon {
  589. width: 23px;
  590. font-size: 23px;
  591. margin-top: 0.45em;
  592. }
  593. }
  594. .text {
  595. margin: .3em 0 .5em .5em
  596. }
  597. .type-icon {
  598. float: right;
  599. margin-right: 1em;
  600. }
  601. .divider {
  602. margin: .5rem 0;
  603. }
  604. .review-content {
  605. padding: 1em 0 1em 3.8em;
  606. }
  607. }
  608. }
  609. .comment-list {
  610. &:before {
  611. display: block;
  612. content: "";
  613. position: absolute;
  614. margin-top: 12px;
  615. margin-bottom: 14px;
  616. top: 0;
  617. bottom: 0;
  618. left: 96px;
  619. width: 2px;
  620. background-color: #f3f3f3;
  621. z-index: -1;
  622. }
  623. .comment {
  624. .avatar {
  625. width: @comment-avatar-width;
  626. }
  627. .tag {
  628. color: #767676;
  629. margin-top: 3px;
  630. padding: 2px 5px;
  631. font-size: 12px;
  632. border: 1px solid rgba(0, 0, 0, 0.1);
  633. border-radius: 3px;
  634. }
  635. .actions {
  636. .item {
  637. float: left;
  638. &.tag {
  639. margin-right: 5px;
  640. }
  641. &.action {
  642. margin-top: 6px;
  643. margin-left: 10px;
  644. }
  645. }
  646. }
  647. .content {
  648. margin-left: 4em;
  649. > .header {
  650. #avatar-arrow;
  651. font-weight: normal;
  652. padding: auto 15px;
  653. position: relative;
  654. color: #767676;
  655. background-color: #f7f7f7;
  656. border-bottom: 1px solid #eee;
  657. border-top-left-radius: 3px;
  658. border-top-right-radius: 3px;
  659. .text {
  660. max-width: 78%;
  661. padding-top: 10px;
  662. padding-bottom: 10px;
  663. }
  664. }
  665. .markdown {
  666. font-size: 14px;
  667. }
  668. .no-content {
  669. color: #767676;
  670. font-style: italic;
  671. }
  672. > .bottom.segment {
  673. background: #f3f4f5;
  674. .ui.images::after {
  675. clear: both;
  676. content: ' ';
  677. display: block;
  678. }
  679. a {
  680. display: block;
  681. float: left;
  682. margin: 5px;
  683. padding: 5px;
  684. height: 150px;
  685. border: solid 1px #eee;
  686. border-radius: 3px;
  687. max-width: 150px;
  688. background-color: #fff;
  689. &:before {
  690. content: ' ';
  691. display: inline-block;
  692. height: 100%;
  693. vertical-align: middle;
  694. }
  695. }
  696. .ui.image {
  697. max-height: 100%;
  698. width: auto;
  699. margin: 0;
  700. vertical-align: middle;
  701. }
  702. span.ui.image {
  703. font-size: 128px;
  704. color: #000000;
  705. }
  706. span.ui.image:hover {
  707. color: #000000;
  708. }
  709. }
  710. }
  711. .ui.form {
  712. .field:first-child {
  713. clear: none;
  714. }
  715. .tab.segment {
  716. border: none;
  717. padding: 10px 0 0;
  718. }
  719. textarea {
  720. height: 200px;
  721. font-family: @monospaced-fonts, monospace;
  722. }
  723. }
  724. .edit.buttons {
  725. margin-top: 10px;
  726. }
  727. }
  728. .event {
  729. position: relative;
  730. margin: 15px 0 15px 79px;
  731. padding-left: 25px;
  732. .octicon {
  733. width: 30px;
  734. float: left;
  735. text-align: center;
  736. &.octicon-circle-slash {
  737. margin-top: 5px;
  738. margin-left: -34.5px;
  739. font-size: 20px;
  740. color: #bd2c00;
  741. }
  742. &.octicon-primitive-dot {
  743. margin-left: -28.5px;
  744. margin-right: -1px;
  745. font-size: 30px;
  746. color: #6cc644;
  747. }
  748. &.octicon-bookmark {
  749. margin-top: 3px;
  750. margin-left: -31px;
  751. margin-right: -1px;
  752. font-size: 25px;
  753. }
  754. &.octicon-comment {
  755. margin-top: 4px;
  756. margin-left: -35px;
  757. font-size: 24px;
  758. }
  759. &.octicon-eye {
  760. margin-top: 3px;
  761. margin-left: -35px;
  762. margin-right: 0;
  763. font-size: 22px;
  764. }
  765. &.octicon-x {
  766. margin-left: -33px;
  767. font-size: 25px;
  768. }
  769. }
  770. .detail {
  771. font-size: 0.9rem;
  772. margin-top: 5px;
  773. margin-left: 35px;
  774. .octicon {
  775. &.octicon-git-commit {
  776. margin-top: 2px;
  777. }
  778. }
  779. }
  780. }
  781. }
  782. .ui.segment.metas {
  783. margin-top: -3px;
  784. }
  785. .ui.participants {
  786. img {
  787. margin-top: 5px;
  788. margin-right: 5px;
  789. }
  790. }
  791. .ui.depending {
  792. .item.is-closed {
  793. .title {
  794. text-decoration: line-through;
  795. }
  796. }
  797. }
  798. }
  799. .comment.form {
  800. .ui.comments {
  801. margin-top: -12px;
  802. max-width: 100%;
  803. }
  804. .content {
  805. .field:first-child {
  806. clear: none;
  807. }
  808. .form {
  809. #avatar-arrow;
  810. &:after {
  811. border-right-color: #fff;
  812. }
  813. }
  814. .tab.segment {
  815. border: none;
  816. padding: 10px 0 0;
  817. }
  818. textarea {
  819. height: 200px;
  820. font-family: @monospaced-fonts, monospace;
  821. }
  822. }
  823. }
  824. .label.list {
  825. list-style: none;
  826. padding-top: 15px;
  827. .item {
  828. padding-top: 10px;
  829. padding-bottom: 10px;
  830. border-bottom: 1px dashed #AAA;
  831. a {
  832. font-size: 15px;
  833. padding-top: 5px;
  834. padding-right: 10px;
  835. color: #666;
  836. &:hover {
  837. color: #000;
  838. }
  839. &.open-issues {
  840. margin-right: 30px;
  841. }
  842. }
  843. .ui.label {
  844. font-size: 1em;
  845. }
  846. }
  847. }
  848. .milestone.list {
  849. list-style: none;
  850. padding-top: 15px;
  851. > .item {
  852. padding-top: 10px;
  853. padding-bottom: 10px;
  854. border-bottom: 1px dashed #AAA;
  855. > a {
  856. padding-top: 5px;
  857. padding-right: 10px;
  858. color: #000;
  859. &:hover {
  860. color: #4078c0;
  861. }
  862. }
  863. .ui.progress {
  864. width: 40%;
  865. padding: 0;
  866. border: 0;
  867. margin: 0;
  868. .bar {
  869. height: 20px;
  870. }
  871. }
  872. .meta {
  873. color: #999;
  874. padding-top: 5px;
  875. .issue-stats .octicon {
  876. padding-left: 5px;
  877. }
  878. .overdue {
  879. color: red;
  880. }
  881. }
  882. .operate {
  883. margin-top: -15px;
  884. > a {
  885. font-size: 15px;
  886. padding-top: 5px;
  887. padding-right: 10px;
  888. color: #666;
  889. &:hover {
  890. color: #000;
  891. }
  892. }
  893. }
  894. .content {
  895. padding-top: 10px;
  896. }
  897. }
  898. }
  899. &.new.milestone {
  900. textarea {
  901. height: 200px;
  902. }
  903. #deadline {
  904. width: 150px;
  905. }
  906. }
  907. &.compare.pull {
  908. .choose.branch {
  909. .octicon {
  910. padding-right: 10px;
  911. }
  912. }
  913. .comment.form {
  914. .content {
  915. #avatar-arrow;
  916. &:after {
  917. border-right-color: #fff;
  918. }
  919. }
  920. }
  921. }
  922. .filter.dropdown .menu {
  923. margin-top: 1px !important;
  924. }
  925. &.branches {
  926. .commit-divergence {
  927. .bar-group {
  928. position: relative;
  929. float: left;
  930. padding-bottom: 6px;
  931. width: 90px;
  932. &:last-child {
  933. border-left: 1px solid #b4b4b4;
  934. }
  935. }
  936. .count {
  937. margin: 0 3px;
  938. &.count-ahead {
  939. text-align: left;
  940. }
  941. &.count-behind {
  942. text-align: right;
  943. }
  944. }
  945. .bar {
  946. height: 4px;
  947. position: absolute;
  948. background-color: #d4d4d5;
  949. &.bar-behind {
  950. right: 0;
  951. }
  952. &.bar-ahead {
  953. left: 0;
  954. }
  955. }
  956. }
  957. }
  958. &.commits {
  959. .header {
  960. .search {
  961. input {
  962. font-weight: normal;
  963. padding: 5px 10px;
  964. }
  965. }
  966. }
  967. }
  968. #commits-table {
  969. thead {
  970. th:first-of-type {
  971. padding-left: 15px;
  972. }
  973. .sha {
  974. &td {
  975. text-align: center;
  976. }
  977. width: 140px;
  978. }
  979. }
  980. td.sha .sha.label {
  981. margin: 0;
  982. }
  983. &.ui.basic.striped.table tbody tr:nth-child(2n) {
  984. background-color: rgba(0, 0, 0, .02) !important;
  985. }
  986. }
  987. #commits-table td.sha .sha.label,
  988. #repo-files-table .sha.label {
  989. &.isSigned {
  990. border: 1px solid #BBB;
  991. .detail.icon {
  992. background: #FAFAFA;
  993. margin: -6px -10px -4px 0px;
  994. padding: 5px 3px 5px 6px;
  995. border-left: 1px solid #BBB;
  996. border-top-left-radius: 0;
  997. border-bottom-left-radius: 0;
  998. }
  999. }
  1000. &.isSigned.isVerified {
  1001. border: 1px solid #21BA45;
  1002. background: fade(#21BA45, 10%);
  1003. .detail.icon {
  1004. border-left: 1px solid fade(#21BA45, 50%);
  1005. }
  1006. }
  1007. }
  1008. .diff-detail-box {
  1009. padding: 7px 0;
  1010. background: #fff;
  1011. line-height: 30px;
  1012. > div:after {
  1013. clear: both;
  1014. content: "";
  1015. display: block;
  1016. }
  1017. ol {
  1018. clear: both;
  1019. padding-left: 0;
  1020. margin-top: 5px;
  1021. margin-bottom: 28px;
  1022. li {
  1023. list-style: none;
  1024. padding-bottom: 4px;
  1025. margin-bottom: 4px;
  1026. border-bottom: 1px dashed #DDD;
  1027. padding-left: 6px;
  1028. }
  1029. }
  1030. span.status {
  1031. display: inline-block;
  1032. width: 12px;
  1033. height: 12px;
  1034. margin-right: 8px;
  1035. vertical-align: middle;
  1036. &.modify {
  1037. background-color: #f0db88;
  1038. }
  1039. &.add {
  1040. background-color: #b4e2b4;
  1041. }
  1042. &.del {
  1043. background-color: #e9aeae;
  1044. }
  1045. &.rename {
  1046. background-color: #dad8ff;
  1047. }
  1048. }
  1049. .detail-files {
  1050. background: #fff;
  1051. margin: 0;
  1052. }
  1053. }
  1054. .diff-box .header {
  1055. display: flex;
  1056. align-items: center;
  1057. .count {
  1058. margin-right: 12px;
  1059. font-size: 13px;
  1060. flex: 0 0 auto;
  1061. .bar {
  1062. background-color: #bd2c00;
  1063. height: 12px;
  1064. width: 40px;
  1065. display: inline-block;
  1066. margin: 2px 4px 0 4px;
  1067. vertical-align: text-top;
  1068. .add {
  1069. background-color: #55a532;
  1070. height: 12px;
  1071. }
  1072. }
  1073. }
  1074. .file {
  1075. flex: 1;
  1076. color: #888;
  1077. word-break: break-all;
  1078. }
  1079. .button {
  1080. margin: -5px 0 -5px 12px;
  1081. padding: 8px 10px;
  1082. flex: 0 0 auto;
  1083. }
  1084. }
  1085. .diff-file-box {
  1086. .header {
  1087. background-color: #f7f7f7;
  1088. }
  1089. .file-body.file-code {
  1090. .lines-num {
  1091. text-align: right;
  1092. color: #A7A7A7;
  1093. background: #fafafa;
  1094. width: 1%;
  1095. user-select: none;
  1096. vertical-align: top;
  1097. span.fold {
  1098. display: block;
  1099. text-align: center;
  1100. }
  1101. }
  1102. .lines-num-old {
  1103. border-right: 1px solid #DDD;
  1104. }
  1105. }
  1106. .code-diff {
  1107. font-size: 12px;
  1108. td {
  1109. padding: 0 0 0 10px;
  1110. border-top: none;
  1111. }
  1112. pre {
  1113. margin: 0;
  1114. }
  1115. .lines-num {
  1116. border-color: #d4d4d5;
  1117. border-right-width: 1px;
  1118. border-right-style: solid;
  1119. padding: 0 5px;
  1120. }
  1121. tbody {
  1122. tr {
  1123. td.halfwidth {
  1124. // halfwidth is used in split view - and in that case, 1% of each
  1125. width: 49%;
  1126. }
  1127. &.tag-code td,
  1128. td.tag-code {
  1129. background-color: #F0F0F0 !important;
  1130. border-color: #D2CECE !important;
  1131. padding-top: 8px;
  1132. padding-bottom: 8px;
  1133. // td.selected-line, td.selected-line pre {
  1134. // background-color: #ffffdd !important;
  1135. // }
  1136. }
  1137. // &.same-code {
  1138. // td.selected-line, td.selected-line pre {
  1139. // background-color: #ffffdd !important;
  1140. // }
  1141. // }
  1142. .removed-code {
  1143. background-color: #ff9999;
  1144. }
  1145. .added-code {
  1146. background-color: #99ff99;
  1147. }
  1148. }
  1149. }
  1150. }
  1151. .code-diff-unified tbody tr {
  1152. &.del-code td {
  1153. background-color: #ffe0e0 !important;
  1154. border-color: #f1c0c0 !important;
  1155. }
  1156. &.add-code td {
  1157. background-color: #d6fcd6 !important;
  1158. border-color: #c1e9c1 !important;
  1159. }
  1160. }
  1161. .code-diff-split {
  1162. table,
  1163. tbody {
  1164. width: 100%;
  1165. }
  1166. tbody tr {
  1167. // light gray for empty lines before / after commit
  1168. &.add-code td:nth-child(1),
  1169. &.add-code td:nth-child(2),
  1170. &.del-code td:nth-child(3),
  1171. &.del-code td:nth-child(4) {
  1172. background-color: #fafafa;
  1173. }
  1174. &.del-code td:nth-child(1),
  1175. &.del-code td:nth-child(2),
  1176. td.del-code {
  1177. background-color: #ffe0e0 !important;
  1178. border-color: #f1c0c0 !important;
  1179. }
  1180. &.add-code td:nth-child(3),
  1181. &.add-code td:nth-child(4),
  1182. td.add-code {
  1183. background-color: #d6fcd6 !important;
  1184. border-color: #c1e9c1 !important;
  1185. }
  1186. td:nth-child(3) {
  1187. border-left-width: 1px;
  1188. border-left-style: solid;
  1189. }
  1190. }
  1191. }
  1192. &.file-content {
  1193. img {
  1194. max-width: 100%;
  1195. padding: 5px 5px 0 5px;
  1196. }
  1197. clear: right;
  1198. }
  1199. }
  1200. .code-view {
  1201. overflow: auto;
  1202. overflow-x: auto;
  1203. overflow-y: hidden;
  1204. }
  1205. .repo-search-result {
  1206. padding-top: 10px;
  1207. padding-bottom: 10px;
  1208. .lines-num a {
  1209. color: inherit;
  1210. }
  1211. }
  1212. &.quickstart {
  1213. .guide {
  1214. .item {
  1215. padding: 1em;
  1216. small {
  1217. font-weight: normal;
  1218. }
  1219. }
  1220. .clone.button:first-child {
  1221. border-radius: .28571429rem 0 0 .28571429rem;
  1222. }
  1223. .ui.action.small.input {
  1224. width: 100%;
  1225. }
  1226. #repo-clone-url {
  1227. border-radius: 0;
  1228. padding: 5px 10px;
  1229. font-size: 1.2em;
  1230. }
  1231. }
  1232. }
  1233. &.release {
  1234. #release-list {
  1235. border-top: 1px solid #DDD;
  1236. margin-top: 20px;
  1237. padding-top: 15px;
  1238. > li {
  1239. list-style: none;
  1240. .meta,
  1241. .detail {
  1242. padding-top: 30px;
  1243. padding-bottom: 40px;
  1244. }
  1245. .meta {
  1246. text-align: right;
  1247. position: relative;
  1248. .tag:not(.icon) {
  1249. display: block;
  1250. margin-top: 15px;
  1251. }
  1252. .commit {
  1253. display: block;
  1254. margin-top: 10px;
  1255. }
  1256. }
  1257. .detail {
  1258. border-left: 1px solid #DDD;
  1259. .author {
  1260. img {
  1261. margin-bottom: -3px;
  1262. }
  1263. }
  1264. .download {
  1265. margin-top: 20px;
  1266. > a {
  1267. .octicon {
  1268. margin-left: 5px;
  1269. margin-right: 5px;
  1270. }
  1271. }
  1272. .list {
  1273. padding-left: 0;
  1274. border-top: 1px solid #eee;
  1275. li {
  1276. list-style: none;
  1277. display: block;
  1278. padding-top: 8px;
  1279. padding-bottom: 8px;
  1280. border-bottom: 1px solid #eee;
  1281. }
  1282. }
  1283. }
  1284. .dot {
  1285. width: 9px;
  1286. height: 9px;
  1287. background-color: #ccc;
  1288. z-index: 999;
  1289. position: absolute;
  1290. display: block;
  1291. left: -5px;
  1292. top: 40px;
  1293. border-radius: 6px;
  1294. border: 1px solid #FFF;
  1295. }
  1296. }
  1297. }
  1298. }
  1299. }
  1300. &.new.release {
  1301. .target {
  1302. min-width: 500px;
  1303. #tag-name {
  1304. margin-top: -4px;
  1305. }
  1306. .at {
  1307. margin-left: -5px;
  1308. margin-right: 5px;
  1309. }
  1310. .dropdown.icon {
  1311. margin: 0;
  1312. padding-top: 3px;
  1313. }
  1314. .selection.dropdown {
  1315. padding-top: 10px;
  1316. padding-bottom: 10px;
  1317. }
  1318. }
  1319. .prerelease.field {
  1320. margin-bottom: 0;
  1321. }
  1322. .field {
  1323. button,
  1324. input {
  1325. @media only screen and (max-width: 438px) {
  1326. width: 100%;
  1327. }
  1328. }
  1329. button {
  1330. @media only screen and (max-width: 768px) {
  1331. margin-bottom: 1em;
  1332. }
  1333. }
  1334. }
  1335. }
  1336. &.forks {
  1337. .list {
  1338. margin-top: 0;
  1339. .item {
  1340. padding-top: 10px;
  1341. padding-bottom: 10px;
  1342. border-bottom: 1px solid #DDD;
  1343. .ui.avatar {
  1344. float: left;
  1345. margin-right: 5px;
  1346. }
  1347. .link {
  1348. padding-top: 5px;
  1349. }
  1350. }
  1351. }
  1352. }
  1353. &.wiki {
  1354. &.start {
  1355. .ui.segment {
  1356. padding-top: 70px;
  1357. padding-bottom: 100px;
  1358. .mega-octicon {
  1359. font-size: 48px;
  1360. }
  1361. }
  1362. }
  1363. &.new {
  1364. .CodeMirror {
  1365. .CodeMirror-code {
  1366. font-family: @monospaced-fonts, monospace;
  1367. .cm-comment {
  1368. background: inherit;
  1369. }
  1370. }
  1371. }
  1372. .editor-preview {
  1373. background-color: white;
  1374. }
  1375. }
  1376. &.view {
  1377. .choose.page {
  1378. margin-top: -5px;
  1379. }
  1380. .ui.sub.header {
  1381. text-transform: none;
  1382. }
  1383. > .markdown {
  1384. padding: 15px 30px;
  1385. h1,
  1386. h2,
  1387. h3,
  1388. h4,
  1389. h5,
  1390. h6 {
  1391. &:first-of-type {
  1392. margin-top: 0;
  1393. }
  1394. }
  1395. }
  1396. }
  1397. @media only screen and (max-width: 767px) {
  1398. .dividing.header .stackable.grid .button {
  1399. margin-top: 2px;
  1400. margin-bottom: 2px;
  1401. }
  1402. }
  1403. }
  1404. &.settings {
  1405. &.collaboration {
  1406. .collaborator.list {
  1407. padding: 0;
  1408. > .item {
  1409. margin: 0;
  1410. line-height: 2em;
  1411. &:not(:last-child) {
  1412. border-bottom: 1px solid #DDD;
  1413. }
  1414. }
  1415. }
  1416. #repo-collab-form {
  1417. #search-user-box {
  1418. .results {
  1419. left: 7px;
  1420. }
  1421. }
  1422. .ui.button {
  1423. margin-left: 5px;
  1424. margin-top: -3px;
  1425. }
  1426. }
  1427. }
  1428. &.branches {
  1429. .protected-branches {
  1430. .selection.dropdown {
  1431. width: 300px;
  1432. }
  1433. .item {
  1434. border: 1px solid #eaeaea;
  1435. padding: 10px 15px;
  1436. &:not(:last-child) {
  1437. border-bottom: 0;
  1438. }
  1439. }
  1440. }
  1441. .branch-protection {
  1442. .help {
  1443. margin-left: 26px;
  1444. padding-top: 0;
  1445. }
  1446. .fields {
  1447. margin-left: 20px;
  1448. display: block;
  1449. }
  1450. .whitelist {
  1451. margin-left: 26px;
  1452. .dropdown img {
  1453. display: inline-block;
  1454. }
  1455. }
  1456. }
  1457. }
  1458. &.webhook {
  1459. .events {
  1460. .column {
  1461. padding-bottom: 0;
  1462. }
  1463. .help {
  1464. font-size: 13px;
  1465. margin-left: 26px;
  1466. padding-top: 0;
  1467. }
  1468. }
  1469. }
  1470. }
  1471. .ui.attached.isSigned.isVerified {
  1472. &:not(.positive) {
  1473. border-left: 1px solid #A3C293;
  1474. border-right: 1px solid #A3C293;
  1475. }
  1476. &.top:not(.positive) {
  1477. border-top: 1px solid #A3C293;
  1478. }
  1479. &:not(.positive):last-child {
  1480. border-bottom: 1px solid #A3C293;
  1481. }
  1482. }
  1483. .ui.segment.sub-menu {
  1484. padding: 7px;
  1485. line-height: 0;
  1486. .list {
  1487. width: 100%;
  1488. display: flex;
  1489. .item {
  1490. width: 100%;
  1491. border-radius: 3px;
  1492. a {
  1493. color: black;
  1494. &:hover {
  1495. color: #666;
  1496. }
  1497. }
  1498. &.active {
  1499. background: rgba(0, 0, 0, .05);
  1500. }
  1501. }
  1502. }
  1503. }
  1504. .segment.reactions,
  1505. .select-reaction {
  1506. &.dropdown .menu {
  1507. right: 0 !important;
  1508. left: auto !important;
  1509. > .header {
  1510. margin: 0.75rem 0 .5rem;
  1511. }
  1512. > .item {
  1513. float: left;
  1514. padding: .5rem .5rem !important;
  1515. img.emoji {
  1516. margin-right: 0;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. .segment.reactions {
  1522. padding: .3em 1em;
  1523. .ui.label {
  1524. padding: .4em;
  1525. &.disabled {
  1526. cursor: default;
  1527. }
  1528. > img {
  1529. height: 1.5em !important;
  1530. }
  1531. }
  1532. .select-reaction {
  1533. float: none;
  1534. &:not(.active) a {
  1535. display: none;
  1536. }
  1537. }
  1538. &:hover .select-reaction a {
  1539. display: block;
  1540. }
  1541. }
  1542. }
  1543. // End of .repository
  1544. &.user-cards {
  1545. .list {
  1546. padding: 0;
  1547. .item {
  1548. list-style: none;
  1549. width: 32%;
  1550. margin: 10px 10px 10px 0;
  1551. padding-bottom: 14px;
  1552. float: left;
  1553. .avatar {
  1554. width: 48px;
  1555. height: 48px;
  1556. float: left;
  1557. display: block;
  1558. margin-right: 10px;
  1559. }
  1560. .name {
  1561. margin-top: 0;
  1562. margin-bottom: 0;
  1563. font-weight: normal;
  1564. }
  1565. .meta {
  1566. margin-top: 5px;
  1567. }
  1568. }
  1569. }
  1570. }
  1571. #search-repo-box,
  1572. #search-user-box {
  1573. .results {
  1574. .result {
  1575. .image {
  1576. float: left;
  1577. margin-right: 8px;
  1578. width: 2em;
  1579. height: 2em;
  1580. }
  1581. .content {
  1582. margin: 6px 0;
  1583. }
  1584. }
  1585. }
  1586. }
  1587. #issue-filters.hide {
  1588. display: none;
  1589. }
  1590. #issue-actions {
  1591. margin-top: -1rem !important; // counteract padding from Semantic
  1592. }
  1593. #issue-actions.hide {
  1594. display: none;
  1595. }
  1596. .ui.checkbox.issue-checkbox {
  1597. vertical-align: middle;
  1598. }
  1599. .issue.list {
  1600. list-style: none;
  1601. > .item {
  1602. padding-top: 15px;
  1603. padding-bottom: 10px;
  1604. border-bottom: 1px dashed #AAA;
  1605. .title {
  1606. color: #444;
  1607. font-size: 15px;
  1608. font-weight: bold;
  1609. margin: 0 6px;
  1610. &:hover {
  1611. color: #000;
  1612. }
  1613. }
  1614. .comment {
  1615. padding-right: 10px;
  1616. color: #666;
  1617. }
  1618. .desc {
  1619. padding-top: 5px;
  1620. color: #999;
  1621. .checklist {
  1622. padding-left: 5px;
  1623. .progress-bar {
  1624. margin-left: 2px;
  1625. width: 80px;
  1626. height: 6px;
  1627. display: inline-block;
  1628. background-color: #eee;
  1629. overflow: hidden;
  1630. border-radius: 3px;
  1631. vertical-align: 2px !important;
  1632. .progress {
  1633. background-color: #ccc;
  1634. display: block;
  1635. height: 100%;
  1636. }
  1637. }
  1638. }
  1639. a.milestone {
  1640. padding-left: 5px;
  1641. color: #999 !important;
  1642. &:hover {
  1643. color: #000 !important;
  1644. }
  1645. }
  1646. .assignee {
  1647. margin-top: -5px;
  1648. margin-right: 5px;
  1649. }
  1650. .overdue {
  1651. color: red;
  1652. }
  1653. }
  1654. }
  1655. }
  1656. .page.buttons {
  1657. padding-top: 15px;
  1658. }
  1659. .ui.form {
  1660. .dropzone {
  1661. width: 100%;
  1662. margin-bottom: 10px;
  1663. border: 2px dashed #0087F7;
  1664. box-shadow: none !important;
  1665. .dz-error-message {
  1666. top: 140px;
  1667. }
  1668. }
  1669. }
  1670. .settings {
  1671. .content {
  1672. margin-top: 2px;
  1673. > .header,
  1674. .segment {
  1675. box-shadow: 0 1px 2px 0 rgba(34, 36, 38, .15);
  1676. }
  1677. }
  1678. .list {
  1679. > .item {
  1680. .green {
  1681. color: #21BA45;
  1682. }
  1683. &:not(:first-child) {
  1684. border-top: 1px solid #eaeaea;
  1685. padding: 1rem;
  1686. margin: 15px -1rem -1rem -1rem;
  1687. }
  1688. > .mega-octicon {
  1689. display: table-cell;
  1690. }
  1691. > .mega-octicon + .content {
  1692. display: table-cell;
  1693. padding: 0 0 0 .5em;
  1694. vertical-align: top;
  1695. }
  1696. .info {
  1697. margin-top: 10px;
  1698. .tab.segment {
  1699. border: none;
  1700. padding: 10px 0 0;
  1701. }
  1702. }
  1703. }
  1704. &.key {
  1705. .meta {
  1706. padding-top: 5px;
  1707. color: #666;
  1708. }
  1709. }
  1710. &.email {
  1711. > .item:not(:first-child) {
  1712. min-height: 60px;
  1713. }
  1714. }
  1715. &.collaborator {
  1716. > .item {
  1717. padding: 0;
  1718. }
  1719. }
  1720. }
  1721. }
  1722. .ui.vertical.menu {
  1723. .header.item {
  1724. font-size: 1.1em;
  1725. background: #f0f0f0;
  1726. }
  1727. }
  1728. .edit-label.modal,
  1729. .new-label.segment {
  1730. .form {
  1731. .column {
  1732. padding-right: 0;
  1733. }
  1734. .buttons {
  1735. margin-left: auto;
  1736. padding-top: 15px;
  1737. }
  1738. .color.picker.column {
  1739. width: auto;
  1740. .color-picker {
  1741. height: 35px;
  1742. width: auto;
  1743. padding-left: 30px;
  1744. }
  1745. }
  1746. .minicolors-swatch.minicolors-sprite {
  1747. top: 10px;
  1748. left: 10px;
  1749. width: 15px;
  1750. height: 15px;
  1751. }
  1752. .precolors {
  1753. padding-left: 0;
  1754. padding-right: 0;
  1755. margin: 3px 10px auto 10px;
  1756. width: 120px;
  1757. .color {
  1758. float: left;
  1759. width: 15px;
  1760. height: 15px;
  1761. }
  1762. }
  1763. }
  1764. }
  1765. #avatar-arrow {
  1766. &:before,
  1767. &:after {
  1768. right: 100%;
  1769. top: 20px;
  1770. border: solid transparent;
  1771. content: " ";
  1772. height: 0;
  1773. width: 0;
  1774. position: absolute;
  1775. pointer-events: none;
  1776. }
  1777. &:before {
  1778. border-right-color: #D4D4D5;
  1779. border-width: 9px;
  1780. margin-top: -9px;
  1781. }
  1782. &:after {
  1783. border-right-color: #f7f7f7;
  1784. border-width: 8px;
  1785. margin-top: -8px;
  1786. }
  1787. }
  1788. #transfer-repo-modal,
  1789. #delete-repo-modal {
  1790. .ui.message {
  1791. width: 100% !important;
  1792. }
  1793. }
  1794. // generate .tab-size-{i} from 1 to 16
  1795. .generate-tab-size(16);
  1796. .generate-tab-size(@n, @i: 1) when (@i =< @n) {
  1797. .tab-size-@{i} {
  1798. tab-size: @i !important;
  1799. }
  1800. .generate-tab-size(@n, (@i + 1));
  1801. }
  1802. .stats-table {
  1803. display: table;
  1804. width: 100%;
  1805. .table-cell {
  1806. display: table-cell;
  1807. &.tiny {
  1808. height: .5em;
  1809. }
  1810. }
  1811. }
  1812. tbody.commit-list {
  1813. vertical-align: baseline;
  1814. }
  1815. .commit-body {
  1816. white-space: pre-wrap;
  1817. }
  1818. @media only screen and (max-width: 767px) {
  1819. .ui.stackable.menu {
  1820. &.mobile--margin-between-items > .item {
  1821. margin-top: 5px;
  1822. margin-bottom: 5px;
  1823. }
  1824. &.mobile--no-negative-margins {
  1825. margin-left: 0;
  1826. margin-right: 0;
  1827. }
  1828. }
  1829. }
  1830. #topic_edit {
  1831. margin-top: 5px;
  1832. }
  1833. #repo-topics {
  1834. margin-top: 5px;
  1835. }
  1836. .repo-topic {
  1837. cursor: pointer;
  1838. }
  1839. #new-dependency-drop-list {
  1840. &.ui.selection.dropdown {
  1841. min-width: 0;
  1842. width: 100%;
  1843. border-radius: 4px 0 0 4px;
  1844. border-right: 0;
  1845. white-space: nowrap;
  1846. }
  1847. .text {
  1848. width: 100%;
  1849. overflow: hidden;
  1850. }
  1851. }
  1852. #manage_topic {
  1853. font-size: 12px;
  1854. }
  1855. .label + #manage_topic {
  1856. margin-left: 5px;
  1857. }
  1858. .repo-header {
  1859. display: flex;
  1860. align-items: center;
  1861. justify-content: space-between;
  1862. flex-wrap: wrap;
  1863. }
  1864. .repo-header .repo-buttons {
  1865. display: flex;
  1866. align-items: center;
  1867. }
  1868. .repo-buttons .disabled-repo-button .label {
  1869. opacity: .5;
  1870. }
  1871. .repo-buttons .disabled-repo-button a.button {
  1872. opacity: .5;
  1873. cursor: not-allowed;
  1874. }
  1875. .repo-buttons .disabled-repo-button a.button:hover {
  1876. background: none !important;
  1877. color: rgba(0, 0, 0, .6) !important;
  1878. box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) inset !important;
  1879. }
  1880. .repo-buttons .ui.labeled.button > .label {
  1881. border-left: none !important;
  1882. margin: 0 !important;
  1883. }