| /* |
| * 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 !important; |
| } |
| |
| .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; |
| padding-right: 10px; |
| overflow-x: 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: #777; |
| height: 22px; |
| padding-left: 0; |
| padding-left: 10px; |
| border-left: 8px 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: 8px solid #666; |
| } |
| |
| .overrides-view fieldset { |
| border: none; |
| padding: 0 0 5px 15px; |
| } |
| |
| .overrides-view fieldset p { |
| display: inline-block; |
| padding: 0; |
| margin: 0; |
| border: 0; |
| } |
| |
| .overrides-view fieldset p label { |
| display: inline-block; |
| } |
| |
| .overrides-view .field-error-message { |
| display: none; |
| } |
| |
| .overrides-view input[type='text']:focus::-webkit-input-placeholder { |
| color: transparent !important; |
| } |
| |
| /* Network tab */ |
| |
| .overrides-network fieldset { |
| padding-top: 5px; |
| } |
| |
| .overrides-network fieldset p { |
| width: 100%; |
| margin-left: 2px; |
| } |
| |
| .overrides-network fieldset select { |
| margin-bottom: 5px; |
| } |
| |
| .overrides-network fieldset p label { |
| cursor: default; |
| margin-right: 5px; |
| } |
| |
| .overrides-network fieldset input[type='text'] { |
| width: 100%; |
| max-width: 400px; |
| min-width: 120px; |
| margin-left: 2px; |
| } |
| |
| /* Device tab */ |
| |
| .overrides-device { |
| width: 100%; |
| } |
| |
| .overrides-device > select { |
| margin-bottom: 10px; |
| width: 400px; |
| max-width: 90%; |
| } |
| |
| .overrides-device input { |
| text-align: right; |
| } |
| |
| .overrides-device input[type=range] { |
| width: 100%; |
| } |
| |
| .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; |
| margin-top: 10px; |
| } |
| |
| button.overrides-swap { |
| height: 20px; |
| } |
| |
| .overrides-device label { |
| margin-bottom: 10px; |
| } |
| |
| .overrides-device table { |
| margin-bottom: 5px; |
| } |
| |
| .overrides-device > label { |
| margin-bottom: 4px; |
| } |
| |
| .overrides-device .help-footnote { |
| border-top: 1px solid #EEEEEE; |
| margin: 0; |
| padding: 12px; |
| } |
| |
| .overrides-view label { |
| display: flex; |
| height: auto; |
| } |
| |
| #metrics-override-section > span { |
| padding: 0 10px 0 3px; |
| } |
| |
| #metrics-override-section > select { |
| width: 244px; |
| } |
| |
| /* Media tab */ |
| |
| .overrides-media > label { |
| margin-bottom: 4px; |
| } |
| |
| /* Sensors tab */ |
| |
| .overrides-sensors > label { |
| margin-bottom: 10px; |
| } |
| |
| .overrides-device, .overrides-media, .overrides-network, .overrides-sensors { |
| flex: none !important; |
| } |
| |
| .overrides-sensors input { |
| text-align: right; |
| } |
| |
| .overrides-activate-device #tab-device, |
| .overrides-activate-media #tab-media, |
| .overrides-activate-network #tab-network, |
| .overrides-activate-sensors #tab-sensors { |
| opacity: 0.8; |
| } |
| |
| .overrides-activate-device #tab-device .tabbed-pane-header-tab-title::after, |
| .overrides-activate-media #tab-media .tabbed-pane-header-tab-title::after, |
| .overrides-activate-network #tab-network .tabbed-pane-header-tab-title::after, |
| .overrides-activate-sensors #tab-sensors .tabbed-pane-header-tab-title::after { |
| padding-left: 3px; |
| content: "\2713"; |
| color: rgb(25, 100, 228); |
| } |
| |
| .overrides-activate-device #tab-device.selected, |
| .overrides-activate-media #tab-media.selected, |
| .overrides-activate-network #tab-network.selected, |
| .overrides-activate-sensors #tab-sensors.selected { |
| opacity: 1; |
| } |
| |
| .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; |
| } |
| |
| .overrides-view input[readonly] { |
| background-color: rgb(235, 235, 228); |
| } |
| |
| .overrides-view .overrides-footer { |
| flex: none; |
| padding: 0 0 1px 3px; |
| border-top: 1px solid rgb(203,203,203); |
| background-color: rgb(236,236,236); |
| } |
| |
| .overrides-view .overrides-footer::before { |
| background-image: url(Images/statusbarButtonGlyphs.png); |
| background-size: 320px 144px; |
| width: 10px; |
| height: 10px; |
| content: ""; |
| position: relative; |
| top: 2px; |
| background-position: -202px -107px; |
| float: left; |
| margin-right: 4px; |
| } |
| |
| @media (-webkit-min-device-pixel-ratio: 1.5) { |
| .overrides-view .overrides-footer::before { |
| background-image: url(Images/statusbarButtonGlyphs_2x.png); |
| } |
| } /* media */ |
| |
| .overrides-view .overrides-footer .warning-icon-small { |
| margin-right: 3px; |
| } |
| |
| .overrides-splash-screen { |
| display: block; |
| padding: 10px 10px; |
| } |
| |
| .overrides-splash-screen > button { |
| margin: -4px 0; |
| } |
| |
| .overrides-reset-button { |
| margin: 9px 0 0 17px; |
| } |