navigatorView.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /*
  2. * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
  3. * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions
  7. * are met:
  8. *
  9. * 1. Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. * 2. Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the distribution.
  14. * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
  15. * its contributors may be used to endorse or promote products derived
  16. * from this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
  19. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  20. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  21. * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
  22. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  23. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  24. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  25. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  26. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  27. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. */
  29. .navigator-domain-tree-item .icon {
  30. content: url(Images/domain.png);
  31. }
  32. .navigator-folder-tree-item .icon {
  33. opacity: 0.7;
  34. content: url(Images/frame.png);
  35. }
  36. .navigator-script-tree-item .icon {
  37. content: url(Images/resourceJSIcon.png);
  38. }
  39. .navigator-stylesheet-tree-item .icon {
  40. content: url(Images/resourceCSSIcon.png);
  41. }
  42. .navigator-document-tree-item .icon {
  43. content: url(Images/resourceDocumentIcon.png);
  44. }
  45. .navigator-other-tree-item .icon {
  46. content: url(Images/resourcePlainIcon.png);
  47. }
  48. .navigator > ol {
  49. min-height: 100%;
  50. display: inline-block;
  51. }
  52. .navigator li {
  53. height: 18px;
  54. line-height: 17px;
  55. white-space: nowrap;
  56. }
  57. .navigator :focus li.selected {
  58. color: white;
  59. }
  60. .navigator li.selected .selection {
  61. height: 18px;
  62. background-color: rgb(180, 180, 180);
  63. }
  64. .navigator :focus li.selected .selection {
  65. background-color: rgb(111, 140, 210);
  66. }
  67. .navigator .search-match-found li.selected .selection {
  68. background-color: rgb(111, 140, 210);
  69. }
  70. .navigator .search-match-not-found li.selected .selection {
  71. border-color: rgb(111, 140, 210);
  72. background-color: white;
  73. }
  74. .navigator .searching li.selected .selection {
  75. background-color: rgb(111, 140, 210);
  76. }
  77. .navigator .icon {
  78. width: 16px;
  79. height: 16px;
  80. float: left;
  81. }
  82. .navigator .base-navigator-tree-element-title {
  83. display: inline-block;
  84. position: relative;
  85. padding-left: 2px;
  86. }
  87. .navigator .base-navigator-tree-element-title.editing {
  88. margin: auto;
  89. }
  90. .navigator-tree-search-box {
  91. display: none;
  92. position: absolute;
  93. top: 0;
  94. right: 0;
  95. height: 26px;
  96. width: 100px;
  97. z-index: 1;
  98. padding: 1px;
  99. background-color: rgb(111, 140, 210);
  100. border: 2px solid lightgray;
  101. }
  102. .navigator-tree-search-box.visible {
  103. display: block;
  104. }
  105. .navigator-tree-search-box > input {
  106. width: 100%;
  107. height: 100%;
  108. }
  109. .navigator-tabbed-pane .tabbed-pane-content {
  110. overflow: hidden;
  111. }
  112. .navigator-tabbed-pane .navigator-container {
  113. overflow: auto;
  114. }
  115. .navigator-tabbed-pane .navigator {
  116. padding-left: 0;
  117. }
  118. .navigator-tabbed-pane .tabbed-pane-header {
  119. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F5F5F5), to(#E5E5E5));
  120. }
  121. .navigator-tabbed-pane .tabbed-pane-header-contents {
  122. margin-left: 2px;
  123. margin-right: 28px;
  124. }