mirror of https://github.com/voidlizard/hbs2
436 lines
8.0 KiB
CSS
436 lines
8.0 KiB
CSS
input, button {
|
|
font-size: var(--form-element-font-size);
|
|
height: 2.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
input[type="search"] {
|
|
font-size: var(--form-element-font-size);
|
|
height: 2.5rem;
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
button.search {
|
|
background: url('/icon/refresh.svg') no-repeat center center;
|
|
background-size: 24px 24px;
|
|
min-width: 32px;
|
|
height: 2.5rem;
|
|
}
|
|
|
|
button.search svg {
|
|
}
|
|
|
|
body, html {
|
|
margin: 0;
|
|
height: 100%;
|
|
font-size: 18px;
|
|
}
|
|
|
|
|
|
header {
|
|
width: 100%;
|
|
|
|
font-size: 20px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
padding: 8px;
|
|
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
/* height: 64px; */
|
|
|
|
header h1 {
|
|
font-size: 20px;
|
|
margin: 0 0 0 2.21rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.header-title {
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
}
|
|
|
|
.header-links {
|
|
display: flex;
|
|
margin-left: 10em;
|
|
gap: 2rem;
|
|
background: white;
|
|
}
|
|
|
|
header a {
|
|
/* display: inline; */
|
|
height: 1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.header-actions {
|
|
margin-left: auto;
|
|
}
|
|
|
|
nav.left {
|
|
flex: 0 0 20rem;
|
|
padding: 4rem 0rem 0 1rem;
|
|
font-size: 20px;
|
|
flex-direction: column;
|
|
justify-content: normal;
|
|
background: #FAFAFA;
|
|
}
|
|
|
|
nav.left .info-block {
|
|
margin-bottom: 4rem;
|
|
padding-left: 1em;
|
|
padding-right: 1.2em;
|
|
}
|
|
|
|
section#repo-data {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
section#repo-data> h1::after,
|
|
section#repo-data> h2::after,
|
|
section#repo-data> h3::after,
|
|
section#repo-data> h4::after
|
|
{
|
|
content: "";
|
|
display: block;
|
|
margin: 8px 0;
|
|
height: 1px;
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* height: calc(100vh - 64px); */
|
|
|
|
section {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
|
|
main {
|
|
flex-grow: 1;
|
|
padding: 2rem 0 0 4rem;
|
|
}
|
|
|
|
|
|
.main {
|
|
display: flex;
|
|
padding: 4px 0 0 0;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
main h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
main h2 {
|
|
font-size: 1.45rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
div .repo-list-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
|
|
|
|
background: #FAFAFA;
|
|
padding: 0.75rem;
|
|
margin-top: 1.75rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #BFC7D9;
|
|
}
|
|
|
|
.channel-list-item {
|
|
display: block;
|
|
|
|
background: #FAFAFA;
|
|
padding: 1.45rem;
|
|
margin-top: 2rem;
|
|
border-radius: 0.25rem;
|
|
border: 1px solid #BFC7D9;
|
|
|
|
}
|
|
|
|
.repo-info, .repo-info-misc {
|
|
flex: 1;
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.repo-info h2 a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.repo-info h2 {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.repo-info h2 a:hover {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
|
|
.repo-info-misc {
|
|
text-align: right;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
|
|
.attr {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 2rem;
|
|
margin-bottom: 0.5em;
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.attrname, {
|
|
flex: 1;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
.attrval {
|
|
flex-basis: 70%;
|
|
text-align: right;
|
|
}
|
|
|
|
.onleft {
|
|
text-align: left;
|
|
}
|
|
|
|
.icon {
|
|
flex-basis: 90%;
|
|
text-align: right;
|
|
}
|
|
|
|
.info-block .attrname {
|
|
font-size: 0.85rem;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
.info-block .attrval {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
|
|
form.search {
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: flex-start;
|
|
gap: 0.5em;
|
|
}
|
|
|
|
form.search input[type="search"] {
|
|
align: center;
|
|
flex-grow: 1;
|
|
margin-right: 0.5em;
|
|
}
|
|
|
|
form.search button {
|
|
align: center;
|
|
min-width: 4rem;
|
|
}
|
|
|
|
.xclip::after {
|
|
display: inline-block;
|
|
content: url('/icon/xclip.svg');
|
|
vertical-align: middle;
|
|
width: 24px;
|
|
height: 24px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
left: 16px;
|
|
position: relative;
|
|
}
|
|
|
|
.xclip:hover::after {
|
|
left: 16px;
|
|
position: relative;
|
|
content: url('/icon/xclip.svg');
|
|
vertical-align: middle;
|
|
height: 24x;
|
|
width: 24x;
|
|
opacity: 1;
|
|
}
|
|
|
|
.xclip {
|
|
/*position: relative;*/
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
.xclip:hover {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
.clicked:hover::after {
|
|
content: url('/icon/xclipdone.svg');
|
|
vertical-align: middle;
|
|
right: 16px;
|
|
height: 24x;
|
|
width: 24x;
|
|
opacity: 1;
|
|
}
|
|
|
|
nav[role="tab-control"] {
|
|
min-height: 24px;
|
|
font-size: 18px;
|
|
/* border: 1px solid black; */
|
|
display: block;
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
nav[role="tab-control"] li {
|
|
display: block;
|
|
padding: 0 0 0 0;
|
|
padding-right: 2rem;
|
|
margin-right: 2rem;
|
|
border-right: 2px solid gray;
|
|
font-weight: bolder;
|
|
}
|
|
|
|
nav[role="tab-control"] li a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
nav[role="tab-control"] li.active {
|
|
display: block;
|
|
color: #0089D1;
|
|
}
|
|
|
|
|
|
nav.secondary[role="tab-control"] li {
|
|
border-right: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
ul.misc-menu {
|
|
margin: 0 0 0 0;
|
|
padding: 0 0 0 0;
|
|
}
|
|
|
|
ul.misc-menu li {
|
|
padding: 0 0 0 0;
|
|
margin-right: 1em;
|
|
display: inline;
|
|
}
|
|
|
|
.mono {
|
|
font-family: 'Courier New', Courier, monospace;
|
|
}
|
|
|
|
.tree {
|
|
font-weight: 600;
|
|
}
|
|
|
|
td.tree-locator {
|
|
border-bottom: none;
|
|
}
|
|
|
|
td.tree-locator span {
|
|
margin-right: .5rem;
|
|
}
|
|
|
|
tr.commit-brief-title td,
|
|
tr.commit-brief-title th {
|
|
border-bottom: none;
|
|
vertical-align: top;
|
|
}
|
|
|
|
tr.commit-brief-details td,
|
|
tr.commit-brief-details th {
|
|
border-top: none;
|
|
}
|
|
|
|
td.commit-brief-title {
|
|
background-color:
|
|
}
|
|
|
|
tr.commit-brief-last td {
|
|
border: none;
|
|
}
|
|
|
|
tr.commit-brief-last th {
|
|
border: none;
|
|
}
|
|
|
|
|
|
pre > code.sourceCode { white-space: pre; position: relative; }
|
|
pre > code.sourceCode > span { line-height: 1.25; }
|
|
pre > code.sourceCode > span:empty { height: 1.2em; }
|
|
.sourceCode { overflow: auto; }
|
|
code.sourceCode > span { color: inherit; text-decoration: inherit; overflow: auto; }
|
|
div.sourceCode { margin: 1em 0; overflow: auto; }
|
|
pre.sourceCode { margin: 0; }
|
|
@media screen {
|
|
div.sourceCode { overflow: auto; max-width: 120rem; }
|
|
}
|
|
@media print {
|
|
pre > code.sourceCode { white-space: pre-wrap; }
|
|
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
|
|
}
|
|
pre.numberSource code
|
|
{ counter-reset: source-line 0; }
|
|
pre.numberSource code > span
|
|
{ position: relative; left: -4em; counter-increment: source-line; }
|
|
pre.numberSource code > span > a:first-child::before
|
|
{ content: counter(source-line);
|
|
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
|
border: none; display: inline-block;
|
|
-webkit-touch-callout: none; -webkit-user-select: none;
|
|
-khtml-user-select: none; -moz-user-select: none;
|
|
-ms-user-select: none; user-select: none;
|
|
padding: 0 4px; width: 4em;
|
|
color: #aaaaaa;
|
|
}
|
|
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
|
|
div.sourceCode
|
|
{ background-color: #f8f8f8; }
|
|
@media screen {
|
|
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
|
}
|
|
code span.al { color: #ef2929; } /* Alert */
|
|
code span.an { color: #8f5902; font-weight: bold; font-style: italic; } /* Annotation */
|
|
code span.at { color: #204a87; } /* Attribute */
|
|
code span.bn { color: #0000cf; } /* BaseN */
|
|
code span.cf { color: #204a87; font-weight: bold; } /* ControlFlow */
|
|
code span.ch { color: #4e9a06; } /* Char */
|
|
code span.cn { color: #8f5902; } /* Constant */
|
|
code span.co { color: #8f5902; font-style: italic; } /* Comment */
|
|
code span.cv { color: #8f5902; font-weight: bold; font-style: italic; } /* CommentVar */
|
|
code span.do { color: #8f5902; font-weight: bold; font-style: italic; } /* Documentation */
|
|
code span.dt { color: #204a87; } /* DataType */
|
|
code span.dv { color: #0000cf; } /* DecVal */
|
|
code span.er { color: #a40000; font-weight: bold; } /* Error */
|
|
code span.ex { } /* Extension */
|
|
code span.fl { color: #0000cf; } /* Float */
|
|
code span.fu { color: #204a87; font-weight: bold; } /* Function */
|
|
code span.im { } /* Import */
|
|
code span.in { color: #8f5902; font-weight: bold; font-style: italic; } /* Information */
|
|
code span.kw { color: #204a87; font-weight: bold; } /* Keyword */
|
|
code span.op { color: #ce5c00; font-weight: bold; } /* Operator */
|
|
code span.ot { color: #8f5902; } /* Other */
|
|
code span.pp { color: #8f5902; font-style: italic; } /* Preprocessor */
|
|
code span.sc { color: #ce5c00; font-weight: bold; } /* SpecialChar */
|
|
code span.ss { color: #4e9a06; } /* SpecialString */
|
|
code span.st { color: #4e9a06; } /* String */
|
|
code span.va { color: #000000; } /* Variable */
|
|
code span.vs { color: #4e9a06; } /* VerbatimString */
|
|
code span.wa { color: #8f5902; font-weight: bold; font-style: italic; } /* Warning */
|
|
|
|
|
|
|
|
|