blob: f246cdab30d9e3200d1975e3c31567f837479f46 [file] [log] [blame]
Blink Reformat4c46d092018-04-07 15:32:371/*
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
Blink Reformat4c46d092018-04-07 15:32:3729.shadow-split-widget {
Mathias Bynensb0c1f4b2020-05-15 14:34:4130 display: flex;
31 overflow: hidden;
Blink Reformat4c46d092018-04-07 15:32:3732}
33
34.shadow-split-widget-contents {
Mathias Bynensb0c1f4b2020-05-15 14:34:4135 display: flex;
36 position: relative;
37 flex-direction: column;
38 contain: layout size style;
Blink Reformat4c46d092018-04-07 15:32:3739}
40
41.shadow-split-widget-sidebar {
Mathias Bynensb0c1f4b2020-05-15 14:34:4142 flex: none;
Blink Reformat4c46d092018-04-07 15:32:3743}
44
Mathias Bynensb0c1f4b2020-05-15 14:34:4145.shadow-split-widget-main,
46.shadow-split-widget-sidebar.maximized {
47 flex: auto;
Blink Reformat4c46d092018-04-07 15:32:3748}
49
50.shadow-split-widget.hbox > .shadow-split-widget-resizer {
Mathias Bynensb0c1f4b2020-05-15 14:34:4151 position: absolute;
52 top: 0;
53 bottom: 0;
54 width: 6px;
55 z-index: 500;
Blink Reformat4c46d092018-04-07 15:32:3756}
57
58.shadow-split-widget.vbox > .shadow-split-widget-resizer {
Mathias Bynensb0c1f4b2020-05-15 14:34:4159 position: absolute;
60 left: 0;
61 right: 0;
62 height: 6px;
63 z-index: 500;
Blink Reformat4c46d092018-04-07 15:32:3764}
65
Blink Reformat4c46d092018-04-07 15:32:3766.shadow-split-widget.vbox > .shadow-split-widget-sidebar.no-default-splitter {
Mathias Bynensb0c1f4b2020-05-15 14:34:4167 border: 0 !important;
Blink Reformat4c46d092018-04-07 15:32:3768}
69
70.shadow-split-widget.vbox > .shadow-split-widget-sidebar:not(.maximized) {
Mathias Bynensb0c1f4b2020-05-15 14:34:4171 border: 0;
72 border-top: 1px solid var(--divider-color);
Blink Reformat4c46d092018-04-07 15:32:3773}
74
Blink Reformat4c46d092018-04-07 15:32:3775.shadow-split-widget.hbox > .shadow-split-widget-sidebar:not(.maximized) {
Mathias Bynensb0c1f4b2020-05-15 14:34:4176 border: 0;
77 border-left: 1px solid var(--divider-color);
Blink Reformat4c46d092018-04-07 15:32:3778}
79
Jecelyn Yeen04d6e3d2020-07-03 02:54:2180.shadow-split-widget.vbox > .shadow-split-widget-sidebar:first-child:not(.maximized) {
81 border: 0;
82 border-bottom: 1px solid var(--divider-color);
83}
84
Joel Einbinder27131b22019-03-14 09:29:5485.shadow-split-widget.hbox > .shadow-split-widget-sidebar:first-child:not(.maximized) {
Mathias Bynensb0c1f4b2020-05-15 14:34:4186 border: 0;
87 border-right: 1px solid var(--divider-color);
Blink Reformat4c46d092018-04-07 15:32:3788}
Erik Luo34400ca2019-03-19 18:31:1689
90:host-context(.disable-resizer-for-elements-hack) .shadow-split-widget-resizer {
Mathias Bynensb0c1f4b2020-05-15 14:34:4191 pointer-events: none;
Erik Luo34400ca2019-03-19 18:31:1692}