| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (C) 2011 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 * 1. Redistributions of source code must retain the above copyright | |
| 9 * notice, this list of conditions and the following disclaimer. | |
| 10 * | |
| 11 * 2. Redistributions in binary form must reproduce the above | |
| 12 * copyright notice, this list of conditions and the following disclaimer | |
| 13 * in the documentation and/or other materials provided with the | |
| 14 * distribution. | |
| 15 * | |
| 16 * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS | |
| 17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. | |
| 20 * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 27 */ | |
| 28 | |
| 29 .shadow-split-view { | |
| 30 display: flex; | |
| 31 overflow: hidden; | |
| 32 } | |
| 33 | |
| 34 .shadow-split-view-contents { | |
| 35 display: flex; | |
| 36 position: relative; | |
| 37 flex-direction: column; | |
| 38 } | |
| 39 | |
| 40 .shadow-split-view-sidebar { | |
| 41 flex: none; | |
| 42 } | |
| 43 | |
| 44 .shadow-split-view-main, .shadow-split-view-sidebar.maximized { | |
| 45 flex: auto; | |
| 46 } | |
| 47 | |
| 48 .shadow-split-view.hbox > .shadow-split-view-resizer { | |
| 49 position: absolute; | |
| 50 top: 0; | |
| 51 bottom: 0; | |
| 52 width: 6px; | |
| 53 z-index: 500; | |
| 54 } | |
| 55 | |
| 56 .shadow-split-view.vbox > .shadow-split-view-resizer { | |
| 57 position: absolute; | |
| 58 left: 0; | |
| 59 right: 0; | |
| 60 height: 6px; | |
| 61 z-index: 500; | |
| 62 } | |
| 63 | |
| 64 .shadow-split-view.hbox.shadow-split-view-first-is-sidebar { | |
| 65 flex-direction: row-reverse !important; | |
| 66 } | |
| 67 | |
| 68 .shadow-split-view.vbox.shadow-split-view-first-is-sidebar { | |
| 69 flex-direction: column-reverse !important; | |
| 70 } | |
| 71 | |
| 72 .shadow-split-view-resizer-border { | |
| 73 pointer-events: none; | |
| 74 } | |
| 75 | |
| 76 .shadow-split-view.vbox > .shadow-split-view-sidebar:not(.maximized) { | |
| 77 border: 0; | |
| 78 border-top: 1px solid rgb(64%, 64%, 64%); | |
| 79 } | |
| 80 | |
| 81 .shadow-split-view.vbox.shadow-split-view-first-is-sidebar > .shadow-split-view-
sidebar:not(.maximized) { | |
| 82 border: 0; | |
| 83 border-bottom: 1px solid rgb(64%, 64%, 64%); | |
| 84 } | |
| 85 | |
| 86 .shadow-split-view.hbox > .shadow-split-view-sidebar:not(.maximized) { | |
| 87 border: 0; | |
| 88 border-left: 1px solid rgb(64%, 64%, 64%); | |
| 89 } | |
| 90 | |
| 91 .shadow-split-view.hbox.shadow-split-view-first-is-sidebar > .shadow-split-view-
sidebar:not(.maximized) { | |
| 92 border: 0; | |
| 93 border-right: 1px solid rgb(64%, 64%, 64%); | |
| 94 } | |
| 95 | |
| 96 .shadow-split-view button.sidebar-show-hide-button { | |
| 97 position: absolute; | |
| 98 -webkit-mask-image: url(Images/toolbarButtonGlyphs.png); | |
| 99 -webkit-mask-size: 320px 144px; | |
| 100 height: 16px; | |
| 101 width: 16px; | |
| 102 border: none; | |
| 103 z-index: 10; | |
| 104 background-color: rgba(0, 0, 0, 0.6); | |
| 105 } | |
| 106 | |
| 107 .shadow-split-view button.sidebar-show-hide-button:disabled { | |
| 108 background-color: rgba(0, 0, 0, 0.35); | |
| 109 } | |
| 110 | |
| 111 @media (-webkit-min-device-pixel-ratio: 1.5) { | |
| 112 .shadow-split-view button.sidebar-show-hide-button { | |
| 113 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); | |
| 114 } | |
| 115 } /* media */ | |
| 116 | |
| 117 .shadow-split-view button.left-sidebar-show-hide-button, | |
| 118 .shadow-split-view button.top-sidebar-show-hide-button { | |
| 119 top: 3px; | |
| 120 left: 4px; | |
| 121 } | |
| 122 | |
| 123 .material.shadow-split-view button.left-sidebar-show-hide-button, | |
| 124 .material.shadow-split-view button.top-sidebar-show-hide-button { | |
| 125 top: 5px; | |
| 126 } | |
| 127 | |
| 128 .shadow-split-view button.left-sidebar-show-hide-button:active, | |
| 129 .shadow-split-view button.top-sidebar-show-hide-button:active { | |
| 130 top: 4px; | |
| 131 left: 3px; | |
| 132 } | |
| 133 | |
| 134 .shadow-split-view button.right-sidebar-show-hide-button { | |
| 135 top: 3px; | |
| 136 right:2px; | |
| 137 } | |
| 138 | |
| 139 .material.shadow-split-view button.right-sidebar-show-hide-button { | |
| 140 top: 5px; | |
| 141 right: 5px; | |
| 142 } | |
| 143 | |
| 144 .shadow-split-view button.right-sidebar-show-hide-button:active { | |
| 145 top: 4px; | |
| 146 right: 1px; | |
| 147 } | |
| 148 | |
| 149 .shadow-split-view button.bottom-sidebar-show-hide-button { | |
| 150 bottom: 1px; | |
| 151 right: 1px; | |
| 152 } | |
| 153 | |
| 154 .material.shadow-split-view button.bottom-sidebar-show-hide-button { | |
| 155 bottom: 3px; | |
| 156 right: 3px; | |
| 157 } | |
| 158 | |
| 159 .shadow-split-view button.bottom-sidebar-show-hide-button:active { | |
| 160 bottom: 0; | |
| 161 right: 0; | |
| 162 } | |
| 163 | |
| 164 .shadow-split-view button.left-sidebar-show-hide-button.toggled-show { | |
| 165 -webkit-mask-position: -168px -76px; /* |> */ | |
| 166 } | |
| 167 | |
| 168 .shadow-split-view button.left-sidebar-show-hide-button.toggled-hide { | |
| 169 -webkit-mask-position: -199px -76px; /* |< */ | |
| 170 } | |
| 171 | |
| 172 .shadow-split-view button.right-sidebar-show-hide-button.toggled-show { | |
| 173 -webkit-mask-position: -296px -76px; /* <| */ | |
| 174 } | |
| 175 | |
| 176 .shadow-split-view button.right-sidebar-show-hide-button.toggled-hide { | |
| 177 -webkit-mask-position: -264px -76px; /* >| */ | |
| 178 } | |
| 179 | |
| 180 .shadow-split-view button.top-sidebar-show-hide-button.toggled-show { | |
| 181 -webkit-mask-position: -168px -76px; /* |> */ | |
| 182 transform: rotate(90deg); | |
| 183 } | |
| 184 | |
| 185 .shadow-split-view button.top-sidebar-show-hide-button.toggled-hide { | |
| 186 -webkit-mask-position: -199px -76px; /* |< */ | |
| 187 transform: rotate(90deg); | |
| 188 } | |
| 189 | |
| 190 .shadow-split-view button.bottom-sidebar-show-hide-button.toggled-show { | |
| 191 -webkit-mask-position: -296px -76px; /* <| */ | |
| 192 transform: rotate(90deg); | |
| 193 } | |
| 194 | |
| 195 .shadow-split-view button.bottom-sidebar-show-hide-button.toggled-hide { | |
| 196 -webkit-mask-position: -264px -76px; /* >| */ | |
| 197 transform: rotate(90deg); | |
| 198 } | |
| OLD | NEW |