Newer
Older
gitbucket_jkp / src / main / webapp / assets / vendors / jsdifflib / diffview.css
  1. /*
  2. This is part of jsdifflib v1.0. <http://github.com/cemerick/jsdifflib>
  3.  
  4. Copyright 2007 - 2011 Chas Emerick <cemerick@snowtide.com>. All rights reserved.
  5.  
  6. Redistribution and use in source and binary forms, with or without modification, are
  7. permitted provided that the following conditions are met:
  8.  
  9. 1. Redistributions of source code must retain the above copyright notice, this list of
  10. conditions and the following disclaimer.
  11.  
  12. 2. Redistributions in binary form must reproduce the above copyright notice, this list
  13. of conditions and the following disclaimer in the documentation and/or other materials
  14. provided with the distribution.
  15.  
  16. THIS SOFTWARE IS PROVIDED BY Chas Emerick ``AS IS'' AND ANY EXPRESS OR IMPLIED
  17. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  18. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Chas Emerick OR
  19. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  20. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  21. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  22. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  23. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  24. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  25.  
  26. The views and conclusions contained in the software and documentation are those of the
  27. authors and should not be interpreted as representing official policies, either expressed
  28. or implied, of Chas Emerick.
  29. */
  30. table.diff {
  31. border-collapse:collapse;
  32. border:1px solid darkgray;
  33. white-space:pre-wrap
  34. }
  35. table.diff tbody {
  36. font-family:Courier, monospace
  37. }
  38. table.diff tbody tr:hover {
  39. background-color:#F8EEC7;
  40. }
  41.  
  42. table.diff tbody tr:hover th {
  43. background-color:#F6E8B5;
  44. }
  45. table.diff tbody tr:hover td {
  46. background-color:#F6E8B5;
  47. }
  48. table.diff tbody th {
  49. font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
  50. background-color:#FBFBFB;
  51. font-size:11px;
  52. font-weight:normal;
  53. border-top:none; /* for overriding bootstrap */
  54. color: rgba(0,0,0,0.3);;
  55. padding:.3em .5em .1em 2em;
  56. text-align:right;
  57. vertical-align:top
  58. }
  59. table.diff thead {
  60. border-bottom:1px solid #BBC;
  61. background:#EFEFEF;
  62. font-family:Verdana
  63. }
  64. table.diff thead th.texttitle {
  65. text-align:left
  66. }
  67. table.diff tbody td {
  68. padding:0px .4em;
  69. padding-top:.2em;
  70. vertical-align:top;
  71. border-top: none;
  72. }
  73. table.diff .empty {
  74. background-color:#DDD;
  75. }
  76. table.diff .replace {
  77. background-color:#FD8
  78. }
  79. table.diff .delete {
  80. background-color:#ffecec;
  81. }
  82. table.diff .skip {
  83. background-color: #f8fafd;
  84. }
  85. table.diff th.skip {
  86. background-color: #f0f5fa;
  87. }
  88. table.diff .skip:before {
  89. content: " ";
  90. }
  91. table.diff .insert {
  92. background-color:#eaffea
  93. }
  94. table.diff th.insert {
  95. background-color: #c1e9c1;
  96. background-color: #dbffdb;
  97. }
  98. table.diff th.delete {
  99. background-color: #ffdddd;
  100. border-color: #f1c0c0;
  101. }
  102.  
  103. table.diff th.author {
  104. text-align:right;
  105. border-top:1px solid #BBC;
  106. background:#EFEFEF
  107. }
  108.  
  109. table.diff ins{
  110. background-color: #a6f3a6;
  111. text-decoration: none;
  112. }
  113. table.diff .body.delete del{
  114. background-color: #f8cbcb;
  115. text-decoration: none;
  116. }