123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. /**
  2. * GitStats - default style
  3. */
  4. body {
  5. color: black;
  6. background-color: #dfd;
  7. }
  8. dt {
  9. font-weight: bold;
  10. float: left;
  11. margin-right: 1em;
  12. }
  13. dt:after {
  14. content: ': ';
  15. }
  16. dd {
  17. display: block;
  18. clear: left;
  19. }
  20. table {
  21. border: 1px solid black;
  22. border-collapse: collapse;
  23. font-size: 80%;
  24. margin-bottom: 1em;
  25. }
  26. table.noborders {
  27. border: none;
  28. }
  29. table.noborders td {
  30. border: none;
  31. }
  32. .vtable {
  33. float: right;
  34. clear: both;
  35. }
  36. table.tags td {
  37. vertical-align: top;
  38. }
  39. td {
  40. background-color: white;
  41. }
  42. th {
  43. background-color: #ddf;
  44. }
  45. th a {
  46. text-decoration: none;
  47. }
  48. tr:hover {
  49. background-color: #ddf;
  50. }
  51. td {
  52. border: 1px solid black;
  53. padding: 0.2em;
  54. padding-left: 0.3em;
  55. padding-right: 0.2em;
  56. }
  57. /* Navigation bar; tabbed style */
  58. .nav {
  59. border-bottom: 1px solid black;
  60. padding: 0.3em;
  61. }
  62. .nav ul {
  63. list-style-type: none;
  64. display: inline;
  65. margin: 0;
  66. padding: 0;
  67. }
  68. .nav li {
  69. display: inline;
  70. }
  71. .nav li a {
  72. padding: 0.3em;
  73. text-decoration: none;
  74. color: black;
  75. border: 1px solid black;
  76. margin: 0.5em;
  77. background-color: #ddf;
  78. }
  79. .nav li a:hover {
  80. background-color: #ddd;
  81. border-bottom: 1px solid #ddf;
  82. }
  83. img {
  84. border: 1px solid black;
  85. padding: 0.5em;
  86. background-color: white;
  87. }
  88. th img {
  89. border: 0px;
  90. padding: 0px;
  91. background-color: #ddf;
  92. }
  93. h1 a, h2 a {
  94. color: black;
  95. text-decoration: none;
  96. }
  97. h1:hover a:after,
  98. h2:hover a:after {
  99. content: '¶';
  100. color: #555;
  101. }
  102. h1 {
  103. font-size: x-large;
  104. }
  105. h2 {
  106. background-color: #564;
  107. border: 1px solid black;
  108. padding-left: 0.5em;
  109. padding-right: 0.5em;
  110. color: white;
  111. font-size: large;
  112. clear: both;
  113. }
  114. h2 a {
  115. color: white;
  116. }
  117. .moreauthors {
  118. font-size: 80%;
  119. }
  120. /* Branch-specific styles */
  121. .branches tr.unmerged {
  122. background-color: #ffd0d0 !important;
  123. }
  124. .branches tr.unmerged:hover {
  125. background-color: #ffb0b0 !important;
  126. }
  127. .unmerged-branches {
  128. border: 2px solid #ff6666;
  129. }
  130. .unmerged-branches th {
  131. background-color: #ffcccc;
  132. }
  133. .branch-authors td {
  134. text-align: center;
  135. }
  136. .branch-authors td:first-child {
  137. text-align: left;
  138. font-weight: bold;
  139. }
  140. /* Team Analysis specific styles */
  141. .rankings {
  142. display: grid;
  143. grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  144. gap: 1em;
  145. margin: 1em 0;
  146. }
  147. .ranking-section {
  148. border: 1px solid #ccc;
  149. padding: 1em;
  150. background-color: #f9f9f9;
  151. }
  152. .ranking-section h3 {
  153. margin-top: 0;
  154. color: #564;
  155. border-bottom: 1px solid #564;
  156. padding-bottom: 0.5em;
  157. }
  158. .ranking-section ol {
  159. margin: 0;
  160. padding-left: 1.5em;
  161. }
  162. .ranking-section li {
  163. margin: 0.5em 0;
  164. }
  165. /* Team performance table */
  166. .team-performance th {
  167. background-color: #564;
  168. color: white;
  169. text-align: center;
  170. }
  171. .team-performance td {
  172. text-align: center;
  173. }
  174. .team-performance td:first-child {
  175. text-align: left;
  176. font-weight: bold;
  177. }
  178. .team-performance td:last-child {
  179. text-align: left;
  180. font-size: 85%;
  181. }
  182. /* Working patterns table */
  183. .working-patterns th {
  184. background-color: #446;
  185. color: white;
  186. text-align: center;
  187. font-size: 85%;
  188. }
  189. .working-patterns td {
  190. text-align: center;
  191. }
  192. .working-patterns td:first-child {
  193. text-align: left;
  194. font-weight: bold;
  195. }
  196. /* Impact analysis table */
  197. .impact-analysis th {
  198. background-color: #644;
  199. color: white;
  200. text-align: center;
  201. }
  202. .impact-analysis td {
  203. text-align: center;
  204. }
  205. .impact-analysis td:first-child,
  206. .impact-analysis td:last-child {
  207. text-align: left;
  208. }
  209. /* Collaboration table */
  210. .collaboration th {
  211. background-color: #464;
  212. color: white;
  213. text-align: center;
  214. }
  215. .collaboration td {
  216. text-align: center;
  217. }
  218. .collaboration td:first-child,
  219. .collaboration td:last-child {
  220. text-align: left;
  221. }
  222. /* Highlight high performers */
  223. tr.high-performer {
  224. background-color: #e6ffe6 !important;
  225. }
  226. tr.high-performer:hover {
  227. background-color: #ccffcc !important;
  228. }
  229. /* Highlight concerning patterns */
  230. tr.concern {
  231. background-color: #ffe6e6 !important;
  232. }
  233. tr.concern:hover {
  234. background-color: #ffcccc !important;
  235. }