revisionHistory.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /*
  2. * Copyright (C) 2012 Google Inc. All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions
  6. * are met:
  7. *
  8. * 1. Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * 2. Redistributions in binary form must reproduce the above copyright
  11. * notice, this list of conditions and the following disclaimer in the
  12. * documentation and/or other materials provided with the distribution.
  13. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  14. * its contributors may be used to endorse or promote products derived
  15. * from this software without specific prior written permission.
  16. *
  17. * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  18. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  19. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  20. * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
  21. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  22. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  23. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  24. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  25. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  26. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. */
  28. .outline-disclosure.revision-history-drawer {
  29. -webkit-padding-start: 0;
  30. overflow: auto;
  31. }
  32. .outline-disclosure.revision-history-drawer ol {
  33. margin-top: 2px;
  34. -webkit-padding-start: 0;
  35. padding-left: 0 !important;
  36. }
  37. .outline-disclosure.revision-history-drawer > ol {
  38. padding-left: 0;
  39. }
  40. .outline-disclosure.revision-history-drawer li {
  41. padding-left: 6px;
  42. margin-top: 0;
  43. margin-bottom: 0;
  44. height: 13px;
  45. }
  46. .outline-disclosure.revision-history-drawer li.parent {
  47. margin-left: 4px;
  48. }
  49. .revision-history-link {
  50. text-decoration: underline;
  51. cursor: pointer;
  52. color: #00e;
  53. padding: 0 4px;
  54. }
  55. .revision-history-link-row {
  56. padding-left: 16px;
  57. }
  58. .outline-disclosure.revision-history-drawer .revision-history-line {
  59. padding-left: 0;
  60. -webkit-user-select: text;
  61. }
  62. .revision-history-drawer .webkit-line-number {
  63. border-right: 1px solid #BBB;
  64. background-color: #F0F0F0;
  65. }
  66. .revision-history-drawer li.revision-history-revision {
  67. padding-left: 16px;
  68. }
  69. .revision-history-line-added {
  70. background-color: rgb(153, 238, 153);
  71. }
  72. .revision-history-line-removed {
  73. background-color: rgb(255, 221, 221);
  74. }
  75. .revision-history-line-separator .webkit-line-number {
  76. color: transparent;
  77. }