blob: 239624f7b25cd34bc8c98b69424799fa18715e70 [file] [log] [blame]
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * 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.
* * Neither the name of Google Inc. 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 THE COPYRIGHT HOLDERS AND 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 THE COPYRIGHT
* OWNER OR 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.
*/
.overrides-view .tabbed-pane {
flex-direction: row;
}
.overrides-view .tabbed-pane-header {
border: none transparent !important;
width: auto;
flex: 0 0 auto;
}
.overrides-view .tabbed-pane-content {
padding-top: 10px;
padding-left: 10px;
overflow: hidden;
}
.overrides-view .tabbed-pane-header-contents {
margin: 0;
}
.overrides-view .tabbed-pane-header-tabs {
display: flex;
flex-direction: column;
padding-top: 5px;
width: 100px;
}
.overrides-view .tabbed-pane-header-tab {
background-color: transparent;
border: none transparent;
font-weight: normal;
text-shadow: none;
color: #999999;
height: 22px;
padding-left: 0;
padding-left: 10px;
border-left: 4px solid transparent;
}
.overrides-view .tabbed-pane-header-tab:not(.selected) {
cursor: pointer !important;
}
.overrides-view .tabbed-pane-header-tab.selected {
color: inherit;
border: none transparent;
border-left: 4px solid #666;
}
.overrides-view fieldset {
border: none;
padding: 0 0 5px 15px;
}
.overrides-user-agent fieldset {
padding-top: 5px;
}
.overrides-device > select {
margin-bottom: 10px;
width: 400px;
max-width: 90%;
}
.overrides-device button {
margin-right: 10px;
}
.overrides-device > label {
display: block;
margin-bottom: 7px;
white-space: nowrap;
}
.overrides-device-value {
padding-left: 10px;
color: gray;
}
.overrides-device-value-label {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-top: 3px;
}
.overrides-viewport input {
text-align: right;
}
button.overrides-swap {
height: 20px;
}
.overrides-viewport label {
display: block;
margin-bottom: 5px;
}
.overrides-viewport table {
margin-bottom: 5px;
}
.overrides-viewport > label {
margin-bottom: 8px;
}
.overrides-user-agent input[type=text] {
width: 400px;
max-width: 90%;
}
.overrides-user-agent select {
margin: 7px 0;
}
.overrides-sensors > label {
display: block;
margin-bottom: 10px;
}
.overrides-sensors input {
text-align: right;
}
.overrides-activate-device #tab-device,
.overrides-activate-viewport #tab-viewport,
.overrides-activate-user-agent #tab-user-agent,
.overrides-activate-sensors #tab-sensors {
color: rgb(66, 129, 235);
}
.overrides-view input[type=text]:enabled:focus,
.overrides-view select:enabled:focus {
-webkit-transition: border-color 200ms;
border-color: rgb(77, 144, 254);
outline: none;
}
.overrides-view input[type=text],
.overrides-view select {
border: 1px solid #bfbfbf;
border-radius: 2px;
box-sizing: border-box;
color: #444;
font: inherit;
border-width: 1px;
}
.overrides-view input[type=text] {
margin: 0;
min-height: 2em;
padding: 3px;
}