blob: cf72748f6607549eca8f64f46b304b84ab2ded23 [file] [log] [blame]
/* Copyright (c) 2012 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. */
* {
box-sizing: border-box;
}
body {
color: rgb(48, 57, 66);
font-size: 13px;
margin: 0;
min-width: 47em;
}
.hidden {
display: none !important;
}
img {
flex-shrink: 0;
height: 16px;
padding-left: 2px;
padding-right: 5px;
vertical-align: top;
width: 23px;
}
#container {
-webkit-flex-direction: row;
display: -webkit-flex;
}
#navigation {
padding-top: 20px;
width: 150px;
}
#content {
-webkit-flex: 1;
}
#caption {
color: rgb(92, 97, 102);
font-size: 150%;
padding-bottom: 10px;
padding-left: 20px;
}
#serviceworker-internals {
visibility: hidden;
}
.tab-header {
-webkit-border-start: 6px solid transparent;
padding-left: 15px;
}
.tab-header.selected {
-webkit-border-start-color: rgb(78, 87, 100);
}
.tab-header > button {
background-color: white;
border: 0;
cursor: pointer;
font: inherit;
line-height: 17px;
margin: 6px 0;
padding: 0 2px;
}
.tab-header:not(.selected) > button {
color: #999;
}
#content > div {
padding: 0 20px 65px 0;
}
#content > div:not(.selected) {
display: none;
}
.content-header {
background: linear-gradient(white, white 40%, rgba(255, 255, 255, 0.92));
border-bottom: 1px solid #eee;
font-size: 150%;
padding: 20px 0 10px 0;
z-index: 1;
}
#devices-help {
margin-top: 10px;
}
.device-header {
-webkit-box-align: baseline;
-webkit-box-orient: horizontal;
display: -webkit-box;
margin: 10px 0 0;
padding: 2px 0;
}
.device-name {
font-size: 150%;
}
.device-serial {
color: #999;
font-size: 80%;
margin-left: 6px;
}
.device-ports {
-webkit-box-orient: horizontal;
display: -webkit-box;
margin-left: 8px;
}
.port-icon {
background-color: rgb(64, 192, 64);
border: 0 solid transparent;
border-radius: 6px;
height: 12px;
margin: 2px;
width: 12px;
}
.port-icon.error {
background-color: rgb(224, 32, 32);
}
.port-icon.transient {
-webkit-transform: scale(1.2);
background-color: orange;
}
.port-number {
height: 16px;
margin-right: 5px;
}
.browser-header {
align-items: center;
display: flex;
flex-flow: row wrap;
min-height: 33px;
padding-top: 10px;
}
.browser-header > .browser-name {
font-size: 110%;
font-weight: bold;
}
.browser-header > .browser-user {
color: #999;
margin-left: 6px;
}
.used-for-port-forwarding {
background-image: -webkit-image-set(url(chrome://theme/IDR_INFO) 1x,
url(chrome://theme/IDR_INFO@2x) 2x);
height: 15px;
margin-left: 20px;
width: 15px;
}
.row {
padding: 6px 0;
position: relative;
}
.properties-box {
display: flex;
}
.subrow-box {
display: inline-block;
vertical-align: top;
}
.subrow {
display: flex;
flex-flow: row wrap;
}
.subrow > div {
margin-right: 0.5em;
}
.webview-thumbnail {
display: inline-block;
flex-shrink: 0;
margin-right: 5px;
overflow: hidden;
position: relative;
vertical-align: top;
}
.screen-rect {
background-color: #eee;
position: absolute;
}
.view-rect {
background-color: #ccc;
min-height: 1px;
min-width: 1px;
position: absolute;
}
.view-rect.hidden {
background-color: #ddd;
}
.guest {
padding-left: 20px;
}
.invisible-view {
color: rgb(151, 156, 160);
}
.url {
color: #999;
}
.list {
margin-top: 5px;
}
.action {
color: rgb(17, 85, 204);
cursor: pointer;
margin-right: 15px;
}
.action:hover {
text-decoration: underline;
}
.browser-header .action {
margin-left: 10px;
}
.list:not(.pages) .subrow {
min-height: 19px;
}
.action.disabled {
opacity: 0.5;
pointer-events: none;
}
.open > input {
border: 1px solid #aaa;
height: 17px;
line-height: 17px;
margin-left: 20px;
padding: 0 2px;
}
.open > input:focus {
-webkit-transition: border-color 200ms;
border-color: rgb(77, 144, 254);
outline: none;
}
.open > button {
line-height: 13px;
}
#device-settings {
align-items: center;
border-bottom: 1px solid #eee;
display: flex;
padding: 5px 0;
}
#device-settings button {
margin-left: 15px;
}
#port-forwarding-config::backdrop {
background-color: rgba(255, 255, 255, 0.75);
}
#port-forwarding-config {
background: white;
border: 0;
border-radius: 3px;
box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15);
color: #333;
padding: 17px 17px 12px;
position: relative;
}
#port-forwarding-enable {
vertical-align: middle;
}
.close-button {
background-image: url(chrome://theme/IDR_CLOSE_DIALOG);
height: 14px;
width: 14px;
}
.close-button:active {
background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
}
.close-button:hover {
background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
}
#port-forwarding-config > .close-button {
position: absolute;
right: 7px;
top: 7px;
}
#port-forwarding-config-title {
font-size: 130%;
}
#port-forwarding-config-list {
border: 1px solid #eee;
height: 180px;
margin-bottom: 10px;
margin-top: 10px;
overflow-x: hidden;
}
.port-forwarding-pair {
-webkit-flex-direction: row;
display: -webkit-flex;
}
.port-forwarding-pair:hover {
background-color: #eee;
}
.port-forwarding-pair.selected,
.port-forwarding-pair.selected:hover {
background-color: #ccc;
}
.port-forwarding-pair input {
border: 1px solid transparent;
line-height: 20px;
margin: 4px;
min-width: 0;
padding: 0 3px;
}
.port-forwarding-pair.fresh:not(.selected) input {
border-color: #eee;
}
.port-forwarding-pair input.port {
width: 4em;
}
.port-forwarding-pair input.location {
-webkit-flex: 1;
}
.port-forwarding-pair:not(.empty) input.invalid {
background-color: rgb(255, 200, 200);
}
.port-forwarding-pair .close-button {
margin: 8px 8px;
}
.port-forwarding-pair.fresh .close-button,
.port-forwarding-pair:not(.selected):not(:hover) .close-button:not(:hover) {
background-image: none;
pointer-events: none;
}
.port-forwarding-pair:not(.selected) .close-button:not(:hover) {
opacity: 0.5;
}
#port-forwarding-message {
margin-bottom: 12px;
width: 20em;
}
#port-forwarding-config-buttons {
align-items: center;
display: flex;
}
#port-forwarding-config-buttons > label {
flex-grow: 1
}
@media (max-width: 47em) {
#navigation,
#content {
overflow: visible;
}
}
@media (min-width: 47em) {
#container {
height: 100vh;
}
#navigation,
#content {
height: 100vh;
overflow: auto;
}
}