blob: da3c82c8dba298368eb6d951e519957e6709d90b [file] [log] [blame]
/* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file */
/* for details. All rights reserved. Use of this source code is governed by a */
/* BSD-style license that can be found in the LICENSE file. */
body {
background-color: #12202f;
color: #ccc;
font-family: "Roboto", sans-serif;
font-size: 14px;
display: flex;
flex-direction: column;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: 0;
padding: 0;
overflow: hidden;
}
header {
background-color: #1c2834;
height: 48px;
padding-left: 24px;
align-items: center;
z-index: 4;
}
header h1,
header h2 {
display: inline-block;
font-family: "Google Sans","Roboto",sans-serif;
font-weight: 400;
margin-right: 24px;
}
h1 {
font-size: 1.5em;
}
header h2 {
font-size: 1.2em;
}
footer {
color: #ccc;
background-color: #27323a;
display: flex;
flex-direction: row;
align-items: center;
padding: 8px 24px;
}
footer .wide {
flex: 1;
}
.horizontal {
display: flex;
}
.panels {
background-color: #121a25;
flex: 1;
overflow: hidden;
}
.panel-heading {
font-family: "Roboto Mono", monospace;
font-size: 12px;
color: gray;
margin: 8px;
}
.nav-link,
.region {
cursor: pointer;
}
.nav-panel {
background-color: #282b2e;
flex: 1 200px;
margin: 0;
overflow: scroll;
}
.nav-inner {
padding: 0 0 7px 7px;
}
.fixed {
position: fixed;
top: 0;
}
.root {
margin: 0;
display: none;
}
.nav-tree > ul {
padding-left: 6px;
}
.nav-inner ul {
padding-left: 12px;
margin: 0;
}
.nav-inner li {
list-style-type: none;
}
.nav-inner li:not(.dir) {
margin-left: 20px;
margin-bottom: 3px;
}
.nav-inner li.dir .arrow {
cursor: pointer;
display: inline-block;
font-size: 10px;
margin-right: 4px;
transition: transform 0.5s ease-out;
}
.nav-inner li.dir .arrow.collapsed {
transform: rotate(-90deg);
}
.nav-inner ul {
max-height: 2000px;
transition: max-height 0.5s ease-out;
}
.nav-inner ul.collapsed {
max-height: 0 !important;
overflow: hidden;
}
.nav-inner .selected-file {
color: white;
cursor: inherit;
font-weight: 600;
text-decoration: none;
}
.edit-count {
background-color: #37aedc;
border-radius: 10px;
color: #000000;
display: inline-block;
font-size: 11px;
font-weight: 600;
margin-left: 5px;
min-width: 25px;
padding: 4px 0 2px 0;
text-align: center;
line-height: 1em;
}
.content {
flex: 4 300px;
background: #282b2e;
font-family: monospace;
margin: 0 6px;
position: relative;
white-space: pre;
overflow: scroll;
}
.code {
padding: 0.5em;
position: absolute;
left: 0;
top: 0;
margin-left: 56px;
}
.hljs {
background-color: #282b2e;
display: block;
overflow-x: auto;
padding: 0.5em;
}
.code .welcome {
font-family: 'Open Sans', sans-serif;
font-size: 18px;
margin-right: 62px;
}
.code .nav-link {
color: inherit;
text-decoration-line: none;
}
.code .nav-link:visited {
color: inherit;
text-decoration-line: none;
}
.code .nav-link:hover {
text-decoration-line: underline;
font-weight: 600;
}
.regions {
padding: 0.5em;
position: absolute;
left: 0;
top: 0;
}
.regions table {
border-spacing: 0;
font-size: inherit;
}
.regions td {
border: none;
/* The content of the regions is not visible; the user instead will see the
* highlighted copy of the content. */
color: rgba(255, 255, 255, 0);
padding: 0;
white-space: pre;
}
.regions td:empty:after {
content: "\00a0";
}
.regions tr.highlight td:last-child {
background-color: #444444;
color: white;
}
.regions td.line-no {
border-right: solid #282b2e 2px;
color: #999999;
padding-right: 4px;
text-align: right;
visibility: visible;
width: 50px;
display: inline-block;
}
.regions tr.highlight td.line-no {
border-right: solid #ccc 2px;
}
.region {
display: inline-block;
position: relative;
visibility: visible;
z-index: 200;
}
.region.added-region {
background-color: #ccffcc;
color: #003300;
}
.region.removed-region {
background-color: #ff6666;
color: #001100;
}
.region.unchanged-region {
background-color: rgba(0, 0, 0, 0.3);
border-bottom: solid 2px #ccc;
/* Invisible text; use underlying highlighting. */
color: rgba(0, 0, 0, 0);
/* Reduce line height to make room for border. */
line-height: 1;
}
.target {
background-color: #FFFF99;
color: black;
position: relative;
visibility: visible;
}
.info-panel {
flex: 1 200px;
margin: 0;
height: 100%;
display: flex;
flex-direction: column;
}
.info-panel .edit-panel {
background-color: #282b2e;
overflow: auto;
}
.info-panel .panel-content {
padding: 7px;
}
.info-panel .panel-content> :first-child {
margin-top: 0;
}
.info-panel .nowrap {
white-space: nowrap;
}
.info-panel ul,
.info-panel ol {
padding-left: 20px;
}
.info-panel li {
margin: 0 0 5px 0;
}
.info-panel a {
color: #33ccff;
}
.info-panel .edit-list {
background-color: #282b2e;
overflow: auto;
}
.edit-panel {
margin-top: 6px;
flex: 1 100px;
}
.edit-list {
flex: 2 100px;
}
.edit-list .edit {
margin: 3px 0;
}
.edit-list .edit-link {
cursor: pointer;
}
.elevation-z4 {
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, .12);
}
a {
color: #ccc;
fill: #ccc;
text-decoration: none;
}
a:hover {
color: #fff;
fill: #fff;
}