gitea源码

gitgraph.css 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. #git-graph-container {
  2. overflow-x: auto;
  3. width: 100%;
  4. min-height: 350px;
  5. }
  6. #git-graph-container h2 {
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. }
  11. #git-graph-container #flow-select-refs-dropdown {
  12. border-top-right-radius: 0;
  13. border-bottom-right-radius: 0;
  14. min-width: 250px;
  15. border-right: none;
  16. }
  17. #git-graph-container #flow-select-refs-dropdown .ui.label {
  18. max-width: 180px;
  19. display: inline-flex !important;
  20. align-items: center;
  21. }
  22. #git-graph-container li {
  23. list-style-type: none;
  24. height: 24px;
  25. line-height: 24px;
  26. white-space: nowrap;
  27. display: flex;
  28. align-items: center;
  29. gap: 0.5em;
  30. }
  31. #git-graph-container li > span {
  32. flex-shrink: 0;
  33. }
  34. #git-graph-container li > span.message {
  35. flex-shrink: 1;
  36. }
  37. #git-graph-container li .ui.label.commit-id-short {
  38. padding: 2px 4px;
  39. height: 20px;
  40. }
  41. #git-graph-container li .author {
  42. color: var(--color-text-light);
  43. }
  44. #git-graph-container li .time {
  45. color: var(--color-text-light-3);
  46. font-size: 80%;
  47. }
  48. #git-graph-container #rel-container {
  49. max-width: 30%;
  50. overflow-x: auto;
  51. float: left;
  52. }
  53. #git-graph-container #rev-container {
  54. width: 100%;
  55. }
  56. #git-graph-container #rev-list {
  57. margin: 0;
  58. padding: 0;
  59. width: 100%;
  60. }
  61. #git-graph-container li .commit-refs .ui.button,
  62. #git-graph-container li .commit-refs .ui.label.tag-label {
  63. padding: 2px 4px;
  64. margin-right: 0.25em;
  65. display: inline-block;
  66. max-width: 200px;
  67. overflow: hidden;
  68. text-overflow: ellipsis;
  69. line-height: var(--line-height-default);
  70. min-height: 0;
  71. }
  72. #git-graph-container.monochrome #rel-container .flow-group {
  73. stroke: var(--color-secondary-dark-5);
  74. fill: var(--color-secondary-dark-5);
  75. }
  76. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-1 {
  77. stroke: #499a37;
  78. fill: #499a37;
  79. }
  80. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-2 {
  81. stroke: #ce4751;
  82. fill: #ce4751;
  83. }
  84. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-3 {
  85. stroke: #8f9121;
  86. fill: #8f9121;
  87. }
  88. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-4 {
  89. stroke: #ac32a6;
  90. fill: #ac32a6;
  91. }
  92. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-5 {
  93. stroke: #7445e9;
  94. fill: #7445e9;
  95. }
  96. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-6 {
  97. stroke: #c67d28;
  98. fill: #c67d28;
  99. }
  100. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-7 {
  101. stroke: #4db392;
  102. fill: #4db392;
  103. }
  104. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-8 {
  105. stroke: #aa4d30;
  106. fill: #aa4d30;
  107. }
  108. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-9 {
  109. stroke: #2a6f84;
  110. fill: #2a6f84;
  111. }
  112. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-10 {
  113. stroke: #c45327;
  114. fill: #c45327;
  115. }
  116. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-11 {
  117. stroke: #3d965c;
  118. fill: #3d965c;
  119. }
  120. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-12 {
  121. stroke: #792a93;
  122. fill: #792a93;
  123. }
  124. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-13 {
  125. stroke: #439d73;
  126. fill: #439d73;
  127. }
  128. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-14 {
  129. stroke: #103aad;
  130. fill: #103aad;
  131. }
  132. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-15 {
  133. stroke: #982e85;
  134. fill: #982e85;
  135. }
  136. #git-graph-container:not(.monochrome) #rel-container .flow-group.flow-color-16-0 {
  137. stroke: #7db233;
  138. fill: #7db233;
  139. }
  140. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-1 {
  141. stroke: #5ac144;
  142. fill: #5ac144;
  143. }
  144. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-2 {
  145. stroke: #ed5a8b;
  146. fill: #ed5a8b;
  147. }
  148. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-3 {
  149. stroke: #ced049;
  150. fill: #ced048;
  151. }
  152. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-4 {
  153. stroke: #db61d7;
  154. fill: #db62d6;
  155. }
  156. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-5 {
  157. stroke: #8455f9;
  158. fill: #8455f9;
  159. }
  160. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-6 {
  161. stroke: #e6a151;
  162. fill: #e6a151;
  163. }
  164. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-7 {
  165. stroke: #44daaa;
  166. fill: #44daaa;
  167. }
  168. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-8 {
  169. stroke: #dd7a5c;
  170. fill: #dd7a5c;
  171. }
  172. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-9 {
  173. stroke: #38859c;
  174. fill: #38859c;
  175. }
  176. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-10 {
  177. stroke: #d95520;
  178. fill: #d95520;
  179. }
  180. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-11 {
  181. stroke: #42ae68;
  182. fill: #42ae68;
  183. }
  184. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-12 {
  185. stroke: #9126b5;
  186. fill: #9126b5;
  187. }
  188. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-13 {
  189. stroke: #4ab080;
  190. fill: #4ab080;
  191. }
  192. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-14 {
  193. stroke: #284fb8;
  194. fill: #284fb8;
  195. }
  196. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-15 {
  197. stroke: #971c80;
  198. fill: #971c80;
  199. }
  200. #git-graph-container:not(.monochrome) #rel-container .flow-group.highlight.flow-color-16-0 {
  201. stroke: #87ca28;
  202. fill: #87ca28;
  203. }