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

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