您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

gitgraph.less 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. #git-graph-container {
  2. overflow-x: auto;
  3. width: 100%;
  4. min-height: 350px;
  5. > .ui.segment.loading {
  6. border: 0;
  7. z-index: 1;
  8. min-height: 246px;
  9. }
  10. h2 {
  11. display: flex;
  12. justify-content: space-between;
  13. align-items: center;
  14. }
  15. .color-buttons {
  16. margin-right: 0;
  17. }
  18. .ui.header.dividing {
  19. padding-bottom: 10px;
  20. }
  21. #flow-select-refs-dropdown {
  22. border-top-right-radius: 0;
  23. border-bottom-right-radius: 0;
  24. min-width: 250px;
  25. border-right: none;
  26. .ui.label {
  27. max-width: 180px;
  28. display: inline-flex !important;
  29. align-items: center;
  30. .truncate {
  31. display: inline-block;
  32. max-width: 140px;
  33. overflow: hidden;
  34. text-overflow: ellipsis;
  35. vertical-align: top;
  36. white-space: nowrap;
  37. }
  38. }
  39. .dropdown.icon {
  40. display: none;
  41. }
  42. .default.text {
  43. padding-top: 4px;
  44. padding-bottom: 4px;
  45. }
  46. input.search {
  47. position: relative;
  48. top: 1px;
  49. }
  50. }
  51. li {
  52. list-style-type: none;
  53. height: 24px;
  54. line-height: 24px;
  55. white-space: nowrap;
  56. display: flex;
  57. align-items: center;
  58. .node-relation {
  59. font-family: var(--fonts-monospace);
  60. }
  61. .author {
  62. color: var(--color-text-light);
  63. }
  64. .time {
  65. color: var(--color-text-light-3);
  66. font-size: 80%;
  67. }
  68. a:not(.ui):hover {
  69. text-decoration: underline;
  70. }
  71. a em {
  72. color: var(--color-red);
  73. border-bottom: 1px dotted var(--color-secondary);
  74. text-decoration: none;
  75. font-style: normal;
  76. }
  77. }
  78. #rel-container {
  79. max-width: 30%;
  80. overflow-x: auto;
  81. float: left;
  82. }
  83. #rev-container {
  84. width: 100%;
  85. }
  86. #rev-list {
  87. margin: 0;
  88. padding: 0;
  89. width: 100%;
  90. li.highlight.hover {
  91. background-color: var(--color-secondary-alpha-30);
  92. }
  93. .tags a.button {
  94. padding: 2px 4px;
  95. }
  96. .sha.label {
  97. padding-top: 5px;
  98. padding-bottom: 3px;
  99. }
  100. .sha.label .shortsha {
  101. padding-top: 0;
  102. }
  103. .sha.label .shortsha-pad {
  104. padding-right: 10px;
  105. }
  106. .sha.label .ui.detail.icon.button {
  107. padding-top: 3px;
  108. margin-top: -5px;
  109. padding-bottom: 1px;
  110. }
  111. .author .ui.avatar.image {
  112. width: auto;
  113. height: 18px;
  114. max-width: none;
  115. }
  116. }
  117. #graph-raw-list {
  118. margin: 0;
  119. }
  120. &.monochrome #rel-container {
  121. .flow-group {
  122. stroke: var(--color-secondary-dark-5);
  123. fill: var(--color-secondary-dark-5);
  124. }
  125. .flow-group.highlight {
  126. stroke: var(--color-secondary-dark-12);
  127. fill: var(--color-secondary-dark-12);
  128. }
  129. }
  130. &:not(.monochrome) #rel-container {
  131. .flow-group {
  132. &.flow-color-16-1 {
  133. stroke: #499a37;
  134. fill: #499a37;
  135. }
  136. &.flow-color-16-2 {
  137. stroke: #ce4751;
  138. fill: #ce4751;
  139. }
  140. &.flow-color-16-3 {
  141. stroke: #8f9121;
  142. fill: #8f9121;
  143. }
  144. &.flow-color-16-4 {
  145. stroke: #ac32a6;
  146. fill: #ac32a6;
  147. }
  148. &.flow-color-16-5 {
  149. stroke: #7445e9;
  150. fill: #7445e9;
  151. }
  152. &.flow-color-16-6 {
  153. stroke: #c67d28;
  154. fill: #c67d28;
  155. }
  156. &.flow-color-16-7 {
  157. stroke: #4db392;
  158. fill: #4db392;
  159. }
  160. &.flow-color-16-8 {
  161. stroke: #aa4d30;
  162. fill: #aa4d30;
  163. }
  164. &.flow-color-16-9 {
  165. stroke: #2a6f84;
  166. fill: #2a6f84;
  167. }
  168. &.flow-color-16-10 {
  169. stroke: #c45327;
  170. fill: #c45327;
  171. }
  172. &.flow-color-16-11 {
  173. stroke: #3d965c;
  174. fill: #3d965c;
  175. }
  176. &.flow-color-16-12 {
  177. stroke: #792a93;
  178. fill: #792a93;
  179. }
  180. &.flow-color-16-13 {
  181. stroke: #439d73;
  182. fill: #439d73;
  183. }
  184. &.flow-color-16-14 {
  185. stroke: #103aad;
  186. fill: #103aad;
  187. }
  188. &.flow-color-16-15 {
  189. stroke: #982e85;
  190. fill: #982e85;
  191. }
  192. &.flow-color-16-0 {
  193. stroke: #7db233;
  194. fill: #7db233;
  195. }
  196. }
  197. .flow-group.highlight {
  198. &.flow-color-16-1 {
  199. stroke: #5ac144;
  200. fill: #5ac144;
  201. }
  202. &.flow-color-16-2 {
  203. stroke: #ed5a8b;
  204. fill: #ed5a8b;
  205. }
  206. &.flow-color-16-3 {
  207. stroke: #ced049;
  208. fill: #ced048;
  209. }
  210. &.flow-color-16-4 {
  211. stroke: #db61d7;
  212. fill: #db62d6;
  213. }
  214. &.flow-color-16-5 {
  215. stroke: #8455f9;
  216. fill: #8455f9;
  217. }
  218. &.flow-color-16-6 {
  219. stroke: #e6a151;
  220. fill: #e6a151;
  221. }
  222. &.flow-color-16-7 {
  223. stroke: #44daaa;
  224. fill: #44daaa;
  225. }
  226. &.flow-color-16-8 {
  227. stroke: #dd7a5c;
  228. fill: #dd7a5c;
  229. }
  230. &.flow-color-16-9 {
  231. stroke: #38859c;
  232. fill: #38859c;
  233. }
  234. &.flow-color-16-10 {
  235. stroke: #d95520;
  236. fill: #d95520;
  237. }
  238. &.flow-color-16-11 {
  239. stroke: #42ae68;
  240. fill: #42ae68;
  241. }
  242. &.flow-color-16-12 {
  243. stroke: #9126b5;
  244. fill: #9126b5;
  245. }
  246. &.flow-color-16-13 {
  247. stroke: #4ab080;
  248. fill: #4ab080;
  249. }
  250. &.flow-color-16-14 {
  251. stroke: #284fb8;
  252. fill: #284fb8;
  253. }
  254. &.flow-color-16-15 {
  255. stroke: #971c80;
  256. fill: #971c80;
  257. }
  258. &.flow-color-16-0 {
  259. stroke: #87ca28;
  260. fill: #87ca28;
  261. }
  262. }
  263. }
  264. }