86 lines
1.5 KiB
CSS
86 lines
1.5 KiB
CSS
html {
|
|
padding-top: var(--cascade-pad, 0px);
|
|
}
|
|
.cascade-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
max-width: none;
|
|
margin: 0;
|
|
padding: 0.2rem 0.5rem 0.25rem;
|
|
background: #10141a;
|
|
border-bottom: 1px solid #243040;
|
|
color: #c8d0d8;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
line-height: 1.25;
|
|
}
|
|
.cascade-tree {
|
|
width: 100%;
|
|
max-width: 45em;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
}
|
|
.cascade-tree-lines {
|
|
white-space: pre;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
a.cascade-tree-row {
|
|
display: block;
|
|
color: #7ec8ff;
|
|
text-decoration: none;
|
|
padding: 0;
|
|
border-radius: 2px;
|
|
}
|
|
a.cascade-tree-row:hover {
|
|
background: #1a2430;
|
|
text-decoration: none;
|
|
}
|
|
a.cascade-tree-row.is-active {
|
|
color: #e8eef4;
|
|
background: #1e2a38;
|
|
box-shadow: inset 3px 0 0 #e8eef4;
|
|
}
|
|
a.cascade-tree-row.is-active:hover {
|
|
text-decoration: none;
|
|
}
|
|
.cascade-bar code {
|
|
color: inherit;
|
|
font-size: inherit;
|
|
}
|
|
.cascade-bar .tip {
|
|
color: #8a96a3;
|
|
white-space: nowrap;
|
|
}
|
|
.cascade-bar .cascade-default {
|
|
color: #6a9080;
|
|
}
|
|
.cascade-timing {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 40em) {
|
|
.cascade-bar {
|
|
padding: 0.15rem 0.35rem 0.2rem;
|
|
font-size: 10px;
|
|
}
|
|
.cascade-tree {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.cascade-bar .diff-plus {
|
|
color: #3fb950;
|
|
font-weight: 600;
|
|
}
|
|
.cascade-bar .diff-minus {
|
|
color: #f85149;
|
|
font-weight: 600;
|
|
}
|