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.

scm.css 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /**
  2. * Redmine - project management software
  3. * Copyright (C) 2006- Jean-Philippe Lang
  4. * This code is released under the GNU General Public License.
  5. */
  6. table.entries a {
  7. padding-top: 2px;
  8. padding-bottom: 2px;
  9. }
  10. table.revision-info td {
  11. margin: 0px;
  12. padding: 0px;
  13. }
  14. div.revision-graph { position: absolute; min-width: 1px; }
  15. div.changeset-changes ul { margin: 0; padding: 0; }
  16. div.changeset-changes ul > ul { margin-left: 18px; padding: 0; }
  17. li.change {
  18. list-style-type:none;
  19. background-image: url(/bullet_black.png);
  20. background-position: 1px 1px;
  21. background-repeat: no-repeat;
  22. padding-top: 1px;
  23. padding-bottom: 1px;
  24. padding-left: 20px;
  25. margin: 0;
  26. }
  27. li.change.folder { background-image: url(/folder_open.png); }
  28. li.change.folder.change-A { background-image: url(/folder_open_add.png); }
  29. li.change.folder.change-M { background-image: url(/folder_open_orange.png); }
  30. li.change.change-A { background-image: url(/bullet_add.png); }
  31. li.change.change-M { background-image: url(/bullet_orange.png); }
  32. li.change.change-C { background-image: url(/bullet_blue.png); }
  33. li.change.change-R { background-image: url(/bullet_purple.png); }
  34. li.change.change-D { background-image: url(/bullet_delete.png); }
  35. li.change .copied-from { font-style: italic; color: #999; font-size: 0.9em; }
  36. li.change .copied-from:before { content: " - "}
  37. #changes-legend { float: right; font-size: 0.8em; margin: 0; }
  38. #changes-legend li { float: left; background-position: 5px 0; }
  39. table.filecontent { border: 1px solid #e2e2e2; border-collapse: collapse; width:98%; background-color: #fafafa; }
  40. table.filecontent tbody {font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:12px;}
  41. table.filecontent th { border: 1px solid #e2e2e2; background-color: #eee; }
  42. table.filecontent th.filename { background-color: #e4e4d4; text-align: left; padding:5px;}
  43. table.filecontent tr.spacing th { text-align:center; }
  44. table.filecontent tr.spacing td { height: 0.4em; background: #EAF2F5;}
  45. table.filecontent th.line-num {
  46. border: 1px solid #e2e2e2;
  47. text-align: right;
  48. width: 2%;
  49. padding: 0 3px 0 0;
  50. color: #999;
  51. user-select: none;
  52. -moz-user-select: none;
  53. -o-user-select: none;
  54. -ms-user-select: none;
  55. -webkit-user-select: none;
  56. font-weight:normal;
  57. }
  58. table.filecontent th.line-num a {
  59. text-decoration: none;
  60. color: inherit;
  61. }
  62. table.filecontent th.line-num a:after {
  63. content: attr(data-txt);
  64. }
  65. table.diffcontent th.line-num:after {
  66. content: attr(data-txt);
  67. }
  68. table.filecontent td.line-code {padding: 0 0 0 4px;}
  69. table.filecontent td.line-code pre, table.filecontent td.line-code div {
  70. margin: 0px;
  71. white-space: pre-wrap;
  72. font-family:Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size:12px;
  73. }
  74. table.filecontent tr:target th.line-num { background-color:#E0E0E0; color: #777; }
  75. table.filecontent tr:target td.line-code { background-color:#DDEEFF; }
  76. img.filecontent, video.filecontent { max-width: 100%; }
  77. .previous-filename {
  78. font-weight: normal;
  79. }
  80. /* 12 different colors for the annonate view */
  81. table.annotate tr.bloc-0 td.line-code {border-left-color: #FFFFBF;}
  82. table.annotate tr.bloc-1 td.line-code {border-left-color: #EABFFF;}
  83. table.annotate tr.bloc-2 td.line-code {border-left-color: #BFFFFF;}
  84. table.annotate tr.bloc-3 td.line-code {border-left-color: #FFD9BF;}
  85. table.annotate tr.bloc-4 td.line-code {border-left-color: #E6FFBF;}
  86. table.annotate tr.bloc-5 td.line-code {border-left-color: #BFCFFF;}
  87. table.annotate tr.bloc-6 td.line-code {border-left-color: #FFBFEF;}
  88. table.annotate tr.bloc-7 td.line-code {border-left-color: #FFE6BF;}
  89. table.annotate tr.bloc-8 td.line-code {border-left-color: #FFE680;}
  90. table.annotate tr.bloc-9 td.line-code {border-left-color: #AA80FF;}
  91. table.annotate tr.bloc-10 td.line-code {border-left-color: #FFBFDC;}
  92. table.annotate tr.bloc-11 td.line-code {border-left-color: #BFE4FF;}
  93. table.annotate tr.bloc-change {border-top:1px solid #e5e5e5;}
  94. table.annotate td.revision {
  95. padding:0;
  96. text-align: center;
  97. width: 2%;
  98. padding-left: 1em;
  99. background: inherit;
  100. }
  101. table.annotate td.author {
  102. padding:0;
  103. text-align: center;
  104. white-space: nowrap;
  105. padding-left: 1em;
  106. padding-right: 1em;
  107. width: 3%;
  108. background: inherit;
  109. }
  110. table.annotate td.previous {
  111. padding: 0;
  112. text-align: center;
  113. width: 1%;
  114. background: inherit;
  115. }
  116. table.annotate td.line-code {
  117. background-color: #fafafa;
  118. border-left: 6px solid #d7d7d7;
  119. }
  120. div.action_M { background: #fd8 }
  121. div.action_D { background: #f88 }
  122. div.action_A { background: #bfb }
  123. .breadcrumbs>.separator::before, .breadcrumbs>.separator::after {
  124. content: " ";
  125. }