| Index: third_party/WebKit/Source/devtools/front_end/elements/stylesSidebarPane.css
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css b/third_party/WebKit/Source/devtools/front_end/elements/stylesSidebarPane.css
|
| similarity index 48%
|
| copy from third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
|
| copy to third_party/WebKit/Source/devtools/front_end/elements/stylesSidebarPane.css
|
| index 1c2778ee476f002022c068d26f045e7203803989..ffc732dd334414b94cee5381c34c4b54dbf712b6 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/stylesSidebarPane.css
|
| @@ -1,61 +1,9 @@
|
| -/*
|
| - * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
|
| - * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
|
| - *
|
| - * Redistribution and use in source and binary forms, with or without
|
| - * modification, are permitted provided that the following conditions
|
| - * are met:
|
| - *
|
| - * 1. Redistributions of source code must retain the above copyright
|
| - * notice, this list of conditions and the following disclaimer.
|
| - * 2. Redistributions in binary form must reproduce the above copyright
|
| - * notice, this list of conditions and the following disclaimer in the
|
| - * documentation and/or other materials provided with the distribution.
|
| - * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
|
| - * its contributors may be used to endorse or promote products derived
|
| - * from this software without specific prior written permission.
|
| - *
|
| - * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
|
| - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| - * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
|
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
| - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
| - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| +/**
|
| + * Copyright 2017 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| */
|
|
|
| -#elements-content {
|
| - flex: 1 1;
|
| - overflow: auto;
|
| - padding: 2px 0 0 0;
|
| -}
|
| -
|
| -#elements-content:not(.elements-wrap) > div {
|
| - display: inline-block;
|
| - min-width: 100%;
|
| -}
|
| -
|
| -#elements-content.elements-wrap {
|
| - overflow-x: hidden;
|
| -}
|
| -
|
| -.elements-topbar {
|
| - border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
|
| - flex-shrink: 0;
|
| -}
|
| -
|
| -#elements-crumbs {
|
| - flex: 0 0 19px;
|
| - background-color: white;
|
| - border-top: 1px solid #ccc;
|
| - overflow: hidden;
|
| - height: 19px;
|
| - width: 100%;
|
| -}
|
| -
|
| .styles-section {
|
| min-height: 18px;
|
| white-space: nowrap;
|
| @@ -77,14 +25,6 @@
|
| border-top: 0 none;
|
| }
|
|
|
| -.style-panes-wrapper {
|
| - overflow: auto;
|
| -}
|
| -
|
| -.style-panes-wrapper > div:not(:first-child) {
|
| - border-top: 1px solid #ccc;
|
| -}
|
| -
|
| .styles-section.read-only {
|
| background-color: #eee;
|
| }
|
| @@ -94,8 +34,8 @@
|
| background-color: rgba(255, 255, 0, 0.5);
|
| }
|
|
|
| -.-theme-with-dark-background .styles-filter-engaged,
|
| -.-theme-with-dark-background .styles-section .simple-selector.filter-match {
|
| +:host-context(.-theme-with-dark-background) .styles-filter-engaged,
|
| +:host-context(.-theme-with-dark-background) .styles-section .simple-selector.filter-match {
|
| background-color: hsla(133, 100%, 30%, 0.5);
|
| }
|
|
|
| @@ -198,48 +138,10 @@
|
| flex-shrink: 0;
|
| }
|
|
|
| -.styles-animations-controls-pane > * {
|
| - margin: 6px 4px;
|
| -}
|
| -
|
| -.styles-animations-controls-pane {
|
| - border-bottom: 1px solid rgb(189, 189, 189);
|
| - height: 60px;
|
| - overflow: hidden;
|
| - background-color: #eee;
|
| -}
|
| -
|
| -.animations-controls {
|
| - width: 100%;
|
| - max-width: 200px;
|
| - display: flex;
|
| - align-items: center;
|
| -}
|
| -
|
| -.animations-controls > .toolbar {
|
| - display: inline-block;
|
| -}
|
| -
|
| -.animations-controls > input {
|
| - flex-grow: 1;
|
| - margin-right: 10px;
|
| -}
|
| -
|
| -.animations-controls > .playback-label {
|
| - width: 35px;
|
| -}
|
| -
|
| .styles-selector {
|
| cursor: text;
|
| }
|
|
|
| -.metrics-and-styles,
|
| -.metrics-and-computed {
|
| - display: flex !important;
|
| - flex-direction: column !important;
|
| - position: relative;
|
| -}
|
| -
|
| .styles-sidebar-pane-toolbar-container {
|
| flex-shrink: 0;
|
| overflow: hidden;
|
| @@ -288,52 +190,6 @@
|
| border: 1px solid #C1C1C1;
|
| }
|
|
|
| -.animation-section-body {
|
| - display: none;
|
| -}
|
| -
|
| -.animation-section-body.expanded {
|
| - display: block;
|
| -}
|
| -
|
| -.animation-section-body .section {
|
| - border-bottom: 1px solid rgb(191, 191, 191);
|
| -}
|
| -
|
| -.animationsHeader {
|
| - padding-top: 23px;
|
| -}
|
| -
|
| -.global-animations-toolbar {
|
| - position: absolute;
|
| - top: 0;
|
| - width: 100%;
|
| - background-color: #eee;
|
| - border-bottom: 1px solid rgb(163, 163, 163);
|
| - padding-left: 10px;
|
| -}
|
| -
|
| -.view > .toolbar {
|
| - border-bottom: 1px solid #eee;
|
| -}
|
| -
|
| -.events-pane .section:not(:first-of-type) {
|
| - border-top: 1px solid rgb(231, 231, 231);
|
| -}
|
| -
|
| -.events-pane .section {
|
| - margin: 0;
|
| -}
|
| -
|
| -.events-pane .toolbar {
|
| - border-bottom: 1px solid #eee;
|
| -}
|
| -
|
| -.properties-widget-section {
|
| - padding: 2px 0px 2px 5px;
|
| - flex: none;
|
| -}
|
| -
|
| .sidebar-pane-section-toolbar {
|
| position: absolute;
|
| right: 0;
|
| @@ -345,18 +201,3 @@
|
| .styles-pane:not(.is-editing-style) .styles-section.matched-styles:not(.read-only):hover .sidebar-pane-section-toolbar {
|
| visibility: visible;
|
| }
|
| -
|
| -.elements-tree-header {
|
| - height: 24px;
|
| - border-top: 1px solid #eee;
|
| - border-bottom: 1px solid #eee;
|
| - display: flex;
|
| - flex-direction: row;
|
| - align-items: center;
|
| -}
|
| -
|
| -.elements-tree-header-frame {
|
| - margin-left: 6px;
|
| - margin-right: 6px;
|
| - flex: none;
|
| -}
|
|
|