indexedDBViews.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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 are
  6. * met:
  7. *
  8. * * Redistributions of source code must retain the above copyright
  9. * notice, this list of conditions and the following disclaimer.
  10. * * Redistributions in binary form must reproduce the above
  11. * copyright notice, this list of conditions and the following disclaimer
  12. * in the documentation and/or other materials provided with the
  13. * distribution.
  14. * * Neither the name of Google Inc. nor the names of its
  15. * contributors may be used to endorse or promote products derived from
  16. * this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  19. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  20. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  21. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  22. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  23. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  24. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  25. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  26. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  28. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. */
  30. .indexed-db-database-view {
  31. -webkit-user-select: text;
  32. margin-top: 5px;
  33. }
  34. .indexed-db-database-view .outline-disclosure {
  35. padding-left: 0;
  36. }
  37. .indexed-db-database-view .outline-disclosure li {
  38. white-space: nowrap;
  39. }
  40. .indexed-db-database-view .outline-disclosure .attribute-name {
  41. color: rgb(33%, 33%, 33%);
  42. display: inline-block;
  43. margin-right: 0.5em;
  44. font-weight: bold;
  45. vertical-align: top;
  46. }
  47. .indexed-db-database-view .outline-disclosure .attribute-value {
  48. display: inline;
  49. margin-top: 1px;
  50. }
  51. .indexed-db-data-view .data-view-toolbar {
  52. position: relative;
  53. margin-top: -1px;
  54. height: 24px;
  55. }
  56. .indexed-db-data-view .data-view-toolbar .back-button img {
  57. content: url(Images/back.png);
  58. }
  59. .indexed-db-data-view .data-view-toolbar .forward-button img {
  60. content: url(Images/forward.png);
  61. }
  62. .indexed-db-data-view .data-view-toolbar .key-input {
  63. font-size: 10px;
  64. margin-top: 3px;
  65. margin-left: 3px;
  66. width: 200px;
  67. }
  68. .indexed-db-data-view .data-grid-container {
  69. top: 23px;
  70. }
  71. .indexed-db-data-view .data-grid {
  72. height: 100%;
  73. border: 0;
  74. }
  75. .indexed-db-data-view .data-grid .data-container tr:nth-child(even) {
  76. background-color: white;
  77. }
  78. .indexed-db-data-view .data-grid .data-container tr:nth-child(odd) {
  79. background-color: #EAF3FF;
  80. }
  81. .indexed-db-data-view .data-grid .data-container tr:nth-last-child(1) {
  82. background-color: white;
  83. }
  84. .indexed-db-data-view .data-grid .data-container tr:nth-last-child(1) td {
  85. border: 0;
  86. }
  87. .indexed-db-data-view .data-grid .data-container td {
  88. height: 18px;
  89. }
  90. .indexed-db-data-view .data-grid .data-container td.value-column,
  91. .indexed-db-data-view .data-grid .data-container td.key-column,
  92. .indexed-db-data-view .data-grid .data-container td.primaryKey-column {
  93. padding: 0;
  94. }
  95. .indexed-db-data-view .data-grid .data-container td.value-column div.primitive-value,
  96. .indexed-db-data-view .data-grid .data-container td.key-column div.primitive-value,
  97. .indexed-db-data-view .data-grid .data-container td.primaryKey-column div.primitive-value {
  98. padding-left: 5px;
  99. margin-top: 1px;
  100. }
  101. .indexed-db-data-view .data-grid .data-container td .section .header .title {
  102. white-space: nowrap;
  103. text-overflow: ellipsis;
  104. overflow: hidden;
  105. }