navigatorView.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. }
  63. .navigator > ol.being-edited li.selected .selection {
  64. background-color: rgb(56, 121, 217);
  65. }
  66. .navigator .icon {
  67. width: 16px;
  68. height: 16px;
  69. float: left;
  70. }
  71. .navigator .base-navigator-tree-element-title {
  72. display: inline-block;
  73. position: relative;
  74. padding-left: 2px;
  75. }
  76. .navigator .base-navigator-tree-element-title.editing {
  77. margin: auto;
  78. }
  79. .navigator-tabbed-pane .tabbed-pane-content {
  80. overflow: hidden;
  81. }
  82. .navigator-tabbed-pane .navigator-container {
  83. overflow: auto;
  84. }
  85. .navigator-tabbed-pane .navigator {
  86. padding-left: 0;
  87. }
  88. .navigator-tabbed-pane .tabbed-pane-header {
  89. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F5F5F5), to(#E5E5E5));
  90. }
  91. .navigator-tabbed-pane .tabbed-pane-header-contents {
  92. margin-left: 2px;
  93. margin-right: 28px;
  94. }