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 54KB

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