/* tree */
.pith_sidebar {
background: #FFFFFF;
border: 0;
box-sizing: border-box;
color: #111111;
flex-shrink: 0;
height: auto;
margin: 0;
max-height: 400px;
overflow-y: auto;
padding: 12px;
width: 100%;
}
.pith_table ul {
list-style: none;
margin: 0;
padding: 0;
}
.pith_table ul ul {
margin-left: 20px;
}
.pith_table li {
margin: 0;
padding: 0;
position: relative;
}
.pith_table li::after {
background: #DFDFDF;
content: "";
height: 100%;
left: -10px;
position: absolute;
top: 0;
width: 1px;
}
.pith_table li:last-child::after {
height: 15px;
}
.pith_table li::before {
background: #DFDFDF;
content: "";
height: 1px;
left: -10px;
position: absolute;
top: 15px;
width: 12px;
}
.pith_table summary, .file a {
border: 0;
cursor: pointer;
display: block;
font-family:Verdana, "Bitstream Vera Sans", "DejaVu Sans", Geneva, Sans-serif;
font-size: 14px;
outline: none;
padding: 6px 8px;
text-decoration: none;
}
.file a, .file a:visited, .file a:active, .file a:hover {
color: #111111;
}
.file:hover {
background-color:#EFEFEF;
}
.pith_table summary {
color: #444444 !important;
font-style: italic !important;
font-weight: normal;
}
.pith_table summary::before {
background-image: url('../../images/icons/folder.png');
background-position: center;
background-repeat: no-repeat;
background-size: contain;
content: "";
display: inline-block;
height: 16px;
margin-right: 7px;
vertical-align: middle;
width: 16px;
}
.folder {
padding: 0;
}
/* filepath */
.toolbar {
align-items: stretch;
background: #F8F8F8;
border-color: #DFDFDF;
border-style: solid;
border-width: 1px 0 1px 0;
box-sizing: border-box;
color: #444444;
display: flex;
flex-direction: column;
font-family:Verdana, "Bitstream Vera Sans", "DejaVu Sans", Geneva, Sans-serif;
font-size: 12px;
gap: 8px;
height: 80px;
max-height: 80px;
padding: 10px 15px;
}
.file_meta {
align-items: center;
color: #999999;
display: flex;
font-family:Verdana, "Bitstream Vera Sans", "DejaVu Sans", Geneva, Sans-serif;
font-size: 12px;
line-height: 1.4;
margin-right: 8px;
margin: 0;
}
.tool_path {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.file_data {
align-items: flex-end;
display: flex;
justify-content: space-between;
width: 100%;
}
.actions {
display: flex;
gap: 8px;
}
.copy_btn, .download_btn {
background-color: #DFDFDF;
border-radius: 5px;
border: none;
color: #333333;
cursor: pointer;
display: inline-block;
font-family: Verdana, "Bitstream Vera Sans", "DejaVu Sans", Geneva, Sans-serif;
font-size: 12px;
padding: 6px 12px;
text-decoration: none;
transition: background 0.2s;
}
.copy_btn:hover, .download_btn:hover {
font-size: 12px;
background-color: #CFCFCF;
color: #333333;
text-decoration: none;
}
.copy_btn:visited, .download_btn:visited,
.copy_btn:active, .download_btn:active {
font-size: 12px;
background-color: #DFDFDF;
color: #333333;
text-decoration: none;
}
/* file-viewer */
.main_content {
background: #FFFFFF;
border-bottom-left-radius: 0;
border-bottom-right-raidus: 0;
border: 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
flex-grow: 1;
flex: 1;
overflow: hidden;
width: 100%;
}
.pith_viewer {
background: #FFFFFF;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
height: 600px;
overflow-x: auto;
overflow-y: auto;
padding: 0;
}
.pith_viewer_inner {
min-height: 100%;
overflow-x: visible;
display: inline-block;
min-width: 100%;
}
.pith_viewer pre {
background: #FFFFFF;
border-bottom-left-radius: 0;
border-bottom-right-raidus: 0;
border: 0;
box-sizing: border-box;
color: #000000;
display: block;
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
font-size: 13px;
font-style: normal;
height: auto;
letter-spacing: 1px;
line-height: 1.6;
margin: 0;
max-height: none;
overflow: visible;
padding: 16px;
white-space: pre;
word-break: normal;
word-wrap: normal;
}
.pith_viewer pre code.hljs {
display: block;
overflow-x: visible;
padding: 1em;
}
.pith_viewer code {
background: transparent !important;
color: #24292f;
padding: 0 !important;
}
.pith_viewer code.hljs {
padding: 3px 5px;
}
.image_viewport {
align-items: center;
box-sizing: border-box;
display: flex;
height: 100%;
justify-content: center;
padding: 20px;
}
.image_viewport img {
max-height: 100%;
max-width: 100%;
object-fit: contain;
}
.hljs-ln {
border-collapse: collapse;
min-width: 100%;
table-layout: auto;
width: max-content;
}
.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
color: #afb8c1;
padding-right: 10px !important;
text-align: right;
user-select: none;
vertical-align: top;
width: 30px;
}
.hljs-ln-code {
overflow-wrap: normal;
padding-left: 15px !important;
white-space: pre !important;
word-break: normal;
}
.empty_state {
align-items: center;
color: #6e7781;
display: flex;
height: 100%;
justify-content: center;
}
/* maintainer: @Hirse */
.hljs {
color: #24292e;
background: #ffffff;
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
color: #d73a49;
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
color: #6f42c1;
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
color: #005cc5;
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
color: #032f62;
}
.hljs-built_in,
.hljs-symbol {
color: #e36209;
}
.hljs-comment,
.hljs-code,
.hljs-formula {
color: #6a737d;
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
color: #22863a;
}
.hljs-subst {
color: #24292e;
}
.hljs-section {
color: #005cc5;
font-weight: bold;
}
.hljs-bullet {
color: #735c0f;
}
.hljs-emphasis {
color: #24292e;
font-style: italic;
}
.hljs-strong {
color: #24292e;
font-weight: bold;
}
.hljs-addition {
background-color: #f0fff4;
color: #22863a;
}
.hljs-deletion {
background-color: #ffeef0;
color: #b31d28;
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
}