2 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
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
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.
33 .shadow-split-widget {
38 .shadow-split-widget-contents {
41 flex-direction: column
;
44 .shadow-split-widget-sidebar {
48 .shadow-split-widget-main, .shadow-split-widget-sidebar.maximized {
52 .shadow-split-widget.hbox > .shadow-split-widget-resizer {
60 .shadow-split-widget.vbox > .shadow-split-widget-resizer {
68 .shadow-split-widget.hbox.shadow-split-widget-first-is-sidebar {
69 flex-direction: row-reverse
!important
;
72 .shadow-split-widget.vbox.shadow-split-widget-first-is-sidebar {
73 flex-direction: column-reverse
!important
;
76 .shadow-split-widget-resizer-border {
80 .shadow-split-widget.vbox > .shadow-split-widget-sidebar:not(.maximized) {
82 border-top: 1px solid rgb
(64%, 64%, 64%);
85 .shadow-split-widget.vbox.shadow-split-widget-first-is-sidebar > .shadow-split-widget-sidebar:not(.maximized) {
87 border-bottom: 1px solid rgb
(64%, 64%, 64%);
90 .shadow-split-widget.hbox > .shadow-split-widget-sidebar:not(.maximized) {
92 border-left: 1px solid rgb
(64%, 64%, 64%);
95 .shadow-split-widget.hbox.shadow-split-widget-first-is-sidebar > .shadow-split-widget-sidebar:not(.maximized) {
97 border-right: 1px solid rgb
(64%, 64%, 64%);
100 .shadow-split-widget button.sidebar-show-hide-button {
102 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
103 -webkit-mask-size: 352px 168px;
108 background-color: #5a5a5a;
111 .shadow-split-widget button.sidebar-show-hide-button:hover {
112 background-color: #333;
115 .shadow-split-widget button.sidebar-show-hide-button:active {
116 background-color: #5a5a5a;
119 .shadow-split-widget button.sidebar-show-hide-button:disabled {
120 background-color: rgba
(0, 0, 0, 0.35);
123 @media (-webkit-min-device-pixel-ratio: 1.5) {
124 .shadow-split-widget button.sidebar-show-hide-button {
125 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
129 .shadow-split-widget button
.left-sidebar-show-hide-button
,
130 .shadow-split-widget button.top-sidebar-show-hide-button {
135 :host-context
(.material
) .shadow-split-widget button
.left-sidebar-show-hide-button
,
136 :host-context
(.material
) .shadow-split-widget button
.top-sidebar-show-hide-button
{
140 .shadow-split-widget button.right-sidebar-show-hide-button {
145 :host-context
(.material
) .shadow-split-widget button
.right-sidebar-show-hide-button
{
150 .shadow-split-widget button.bottom-sidebar-show-hide-button {
155 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-show {
156 -webkit-mask-position: -168px -76px; /* |> */
159 .shadow-split-widget button.left-sidebar-show-hide-button.toggled-hide {
160 -webkit-mask-position: -199px -76px; /* |< */
163 .shadow-split-widget button.right-sidebar-show-hide-button.toggled-show {
164 -webkit-mask-position: -296px -76px; /* <| */
167 .shadow-split-widget button.right-sidebar-show-hide-button.toggled-hide {
168 -webkit-mask-position: -264px -76px; /* >| */
171 .shadow-split-widget button.top-sidebar-show-hide-button.toggled-show {
172 -webkit-mask-position: -168px -76px; /* |> */
173 transform: rotate
(90deg);
176 .shadow-split-widget button.top-sidebar-show-hide-button.toggled-hide {
177 -webkit-mask-position: -199px -76px; /* |< */
178 transform: rotate
(90deg);
181 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-show {
182 -webkit-mask-position: -296px -76px; /* <| */
183 transform: rotate
(90deg);
186 .shadow-split-widget button.bottom-sidebar-show-hide-button.toggled-hide {
187 -webkit-mask-position: -264px -76px; /* >| */
188 transform: rotate
(90deg);