autosave.css 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. This is part of jsdifflib v1.0. <http://github.com/cemerick/jsdifflib>
  3. Copyright 2007 - 2011 Chas Emerick <cemerick@snowtide.com>. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without modification, are
  5. permitted provided that the following conditions are met:
  6. 1. Redistributions of source code must retain the above copyright notice, this list of
  7. conditions and the following disclaimer.
  8. 2. Redistributions in binary form must reproduce the above copyright notice, this list
  9. of conditions and the following disclaimer in the documentation and/or other materials
  10. provided with the distribution.
  11. THIS SOFTWARE IS PROVIDED BY Chas Emerick ``AS IS'' AND ANY EXPRESS OR IMPLIED
  12. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  13. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Chas Emerick OR
  14. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  15. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  16. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  17. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  18. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  19. ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  20. The views and conclusions contained in the software and documentation are those of the
  21. authors and should not be interpreted as representing official policies, either expressed
  22. or implied, of Chas Emerick.
  23. */
  24. .diffContent {
  25. height: 300px;
  26. overflow:auto;
  27. }
  28. .diff * {white-space:pre-wrap!important}
  29. table.diff {
  30. border-collapse:collapse;
  31. border: 1px solid darkgray
  32. }
  33. table.diff tbody {
  34. font-family:Courier, monospace
  35. }
  36. table.diff tbody th {
  37. font-family:verdana,arial,'Bitstream Vera Sans',helvetica,sans-serif;
  38. background:#EED;
  39. font-size:11px;
  40. font-weight:normal;
  41. border:1px solid #BBC;
  42. color:#886;
  43. padding:.3em .5em .1em 2em;
  44. text-align:right;
  45. vertical-align:top
  46. }
  47. table.diff thead {
  48. border-bottom:1px solid #BBC;
  49. background:#EFEFEF;
  50. font-family:Verdana
  51. }
  52. table.diff thead th.texttitle {
  53. text-align:left
  54. }
  55. table.diff tbody td {
  56. padding:0 .4em;
  57. vertical-align:top;
  58. }
  59. table.diff .empty {
  60. background-color:#DDD;
  61. }
  62. table.diff .replace {
  63. background-color:#FFC
  64. }
  65. table.diff .delete {
  66. background-color:#FCC;
  67. width: 380px;
  68. word-break: break-word;
  69. }
  70. table.diff .skip {
  71. background-color:#EFEFEF;
  72. border:1px solid #AAA;
  73. border-right:1px solid #BBC;
  74. }
  75. table.diff .insert {
  76. background-color:#CFC
  77. width: 380px;
  78. word-break: break-word;
  79. }
  80. table.diff th.author {
  81. text-align:right;
  82. border-top:1px solid #BBC;
  83. background:#EFEFEF
  84. }
  85. del{background-color:#EE9999 !important;text-decoration: underline !important}
  86. ins{background-color:#99EE99 !important;text-decoration: underline !important}
  87. a.cke_dialog_autosave_ok span {width:auto!important}