mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
433 lines
6.6 KiB
CSS
433 lines
6.6 KiB
CSS
|
html, body {
|
||
|
position: relative;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
font-family: "Avenir", "Tahoma", "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #263F6C;
|
||
|
}
|
||
|
|
||
|
a:visited {
|
||
|
color: #112750;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3, h4, h5, h6 {
|
||
|
margin: 35px 0 25px;
|
||
|
color: #444444;
|
||
|
}
|
||
|
|
||
|
h1.type-name {
|
||
|
color: #47266E;
|
||
|
margin: 20px 0 30px;
|
||
|
background-color: #F8F8F8;
|
||
|
padding: 10px 12px;
|
||
|
border: 1px solid #EBEBEB;
|
||
|
border-radius: 2px;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
border-bottom: 1px solid #E6E6E6;
|
||
|
padding-bottom: 5px;
|
||
|
}
|
||
|
|
||
|
#types-list, #main-content {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
overflow: auto;
|
||
|
}
|
||
|
|
||
|
#types-list {
|
||
|
left: 0;
|
||
|
width: 20%;
|
||
|
background-color: #2E1052;
|
||
|
padding: 0 0 30px;
|
||
|
box-shadow: inset -3px 0 4px rgba(0,0,0,.35);
|
||
|
}
|
||
|
|
||
|
#types-list #search-box {
|
||
|
padding: 8px 9px;
|
||
|
}
|
||
|
|
||
|
#types-list input {
|
||
|
display: block;
|
||
|
box-sizing: border-box;
|
||
|
margin: 0;
|
||
|
padding: 5px;
|
||
|
font: inherit;
|
||
|
font-family: inherit;
|
||
|
line-height: 1.2;
|
||
|
width: 100%;
|
||
|
border: 0;
|
||
|
outline: 0;
|
||
|
border-radius: 2px;
|
||
|
box-shadow: 0px 3px 5px rgba(0,0,0,.25);
|
||
|
transition: box-shadow .12s;
|
||
|
}
|
||
|
|
||
|
#types-list input:focus {
|
||
|
box-shadow: 0px 5px 6px rgba(0,0,0,.5);
|
||
|
}
|
||
|
|
||
|
#types-list input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
||
|
color: #C8C8C8;
|
||
|
font-size: 14px;
|
||
|
text-indent: 2px;
|
||
|
}
|
||
|
|
||
|
#types-list input::-moz-placeholder { /* Firefox 19+ */
|
||
|
color: #C8C8C8;
|
||
|
font-size: 14px;
|
||
|
text-indent: 2px;
|
||
|
}
|
||
|
|
||
|
#types-list input:-ms-input-placeholder { /* IE 10+ */
|
||
|
color: #C8C8C8;
|
||
|
font-size: 14px;
|
||
|
text-indent: 2px;
|
||
|
}
|
||
|
|
||
|
#types-list input:-moz-placeholder { /* Firefox 18- */
|
||
|
color: #C8C8C8;
|
||
|
font-size: 14px;
|
||
|
text-indent: 2px;
|
||
|
}
|
||
|
|
||
|
#types-list ul {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
list-style: none outside;
|
||
|
}
|
||
|
|
||
|
#types-list li {
|
||
|
display: block;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
#types-list li.hide {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
#types-list a {
|
||
|
display: block;
|
||
|
padding: 5px 15px 5px 30px;
|
||
|
text-decoration: none;
|
||
|
color: #F8F4FD;
|
||
|
transition: color .14s;
|
||
|
}
|
||
|
|
||
|
#types-list a:focus {
|
||
|
outline: 1px solid #D1B7F1;
|
||
|
}
|
||
|
|
||
|
#types-list .current > a,
|
||
|
#types-list a:hover {
|
||
|
color: #866BA6;
|
||
|
}
|
||
|
|
||
|
#types-list li ul {
|
||
|
overflow: hidden;
|
||
|
height: 0;
|
||
|
max-height: 0;
|
||
|
transition: 1s ease-in-out;
|
||
|
}
|
||
|
|
||
|
|
||
|
#types-list li.parent {
|
||
|
padding-left: 30px;
|
||
|
}
|
||
|
|
||
|
#types-list li.parent::before {
|
||
|
box-sizing: border-box;
|
||
|
content: "▼";
|
||
|
display: block;
|
||
|
width: 30px;
|
||
|
height: 30px;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
text-align: center;
|
||
|
color: white;
|
||
|
font-size: 8px;
|
||
|
line-height: 30px;
|
||
|
transform: rotateZ(-90deg);
|
||
|
cursor: pointer;
|
||
|
transition: .2s linear;
|
||
|
}
|
||
|
|
||
|
|
||
|
#types-list li.parent > a {
|
||
|
padding-left: 0;
|
||
|
}
|
||
|
|
||
|
#types-list li.parent.open::before {
|
||
|
transform: rotateZ(0);
|
||
|
}
|
||
|
|
||
|
#types-list li.open > ul {
|
||
|
height: auto;
|
||
|
max-height: 1000em;
|
||
|
}
|
||
|
|
||
|
#main-content {
|
||
|
padding: 0 30px 30px 30px;
|
||
|
left: 20%;
|
||
|
right: 0;
|
||
|
}
|
||
|
|
||
|
.kind {
|
||
|
font-size: 60%;
|
||
|
color: #866BA6;
|
||
|
}
|
||
|
|
||
|
.superclass-hierarchy {
|
||
|
margin: -15px 0 30px 0;
|
||
|
padding: 0;
|
||
|
list-style: none outside;
|
||
|
font-size: 80%;
|
||
|
}
|
||
|
|
||
|
.superclass-hierarchy .superclass {
|
||
|
display: inline-block;
|
||
|
margin: 0 7px 0 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.superclass-hierarchy .superclass + .superclass::before {
|
||
|
content: "<";
|
||
|
margin-right: 7px;
|
||
|
}
|
||
|
|
||
|
.other-types-list li {
|
||
|
display: inline-block;
|
||
|
}
|
||
|
|
||
|
.other-types-list,
|
||
|
.list-summary {
|
||
|
margin: 0 0 30px 0;
|
||
|
padding: 0;
|
||
|
list-style: none outside;
|
||
|
}
|
||
|
|
||
|
.entry-const {
|
||
|
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
||
|
}
|
||
|
|
||
|
.entry-summary {
|
||
|
padding-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
.superclass-hierarchy .superclass a,
|
||
|
.other-type a,
|
||
|
.entry-summary .signature {
|
||
|
padding: 4px 8px;
|
||
|
margin-bottom: 4px;
|
||
|
display: inline-block;
|
||
|
background-color: #f8f8f8;
|
||
|
color: #47266E;
|
||
|
border: 1px solid #f0f0f0;
|
||
|
text-decoration: none;
|
||
|
border-radius: 3px;
|
||
|
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
||
|
transition: background .15s, border-color .15s;
|
||
|
}
|
||
|
|
||
|
.superclass-hierarchy .superclass a:hover,
|
||
|
.other-type a:hover,
|
||
|
.entry-summary .signature:hover {
|
||
|
background: #D5CAE3;
|
||
|
border-color: #624288;
|
||
|
}
|
||
|
|
||
|
.entry-summary .summary {
|
||
|
padding-left: 32px;
|
||
|
}
|
||
|
|
||
|
.entry-summary .summary p {
|
||
|
margin: 12px 0 16px;
|
||
|
}
|
||
|
|
||
|
.entry-summary a {
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.entry-detail {
|
||
|
padding: 30px 0;
|
||
|
}
|
||
|
|
||
|
.entry-detail .signature {
|
||
|
position: relative;
|
||
|
padding: 5px 15px;
|
||
|
margin-bottom: 10px;
|
||
|
display: block;
|
||
|
border-radius: 5px;
|
||
|
background-color: #f8f8f8;
|
||
|
color: #47266E;
|
||
|
border: 1px solid #f0f0f0;
|
||
|
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
||
|
transition: .2s ease-in-out;
|
||
|
}
|
||
|
|
||
|
.entry-detail:target .signature {
|
||
|
background-color: #D5CAE3;
|
||
|
border: 1px solid #624288;
|
||
|
}
|
||
|
|
||
|
.entry-detail .signature .method-permalink {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: -35px;
|
||
|
padding: 5px 15px;
|
||
|
text-decoration: none;
|
||
|
font-weight: bold;
|
||
|
color: #624288;
|
||
|
opacity: .4;
|
||
|
transition: opacity .2s;
|
||
|
}
|
||
|
|
||
|
.entry-detail .signature .method-permalink:hover {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.entry-detail:target .signature .method-permalink {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.methods-inherited {
|
||
|
padding-right: 10%;
|
||
|
line-height: 1.5em;
|
||
|
}
|
||
|
|
||
|
.methods-inherited h3 {
|
||
|
margin-bottom: 4px;
|
||
|
}
|
||
|
|
||
|
.methods-inherited a {
|
||
|
display: inline-block;
|
||
|
text-decoration: none;
|
||
|
color: #47266E;
|
||
|
}
|
||
|
|
||
|
.methods-inherited a:hover {
|
||
|
text-decoration: underline;
|
||
|
color: #6C518B;
|
||
|
}
|
||
|
|
||
|
.methods-inherited .tooltip>span {
|
||
|
background: #D5CAE3;
|
||
|
padding: 4px 8px;
|
||
|
border-radius: 3px;
|
||
|
margin: -4px -8px;
|
||
|
}
|
||
|
|
||
|
.methods-inherited .tooltip * {
|
||
|
color: #47266E;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
padding: 10px 20px;
|
||
|
margin-top: 4px;
|
||
|
border-radius: 3px;
|
||
|
line-height: 1.45;
|
||
|
overflow: auto;
|
||
|
color: #333;
|
||
|
background: #fdfdfd;
|
||
|
font-size: 14px;
|
||
|
border: 1px solid #eee;
|
||
|
}
|
||
|
|
||
|
code {
|
||
|
font-family: Consolas, 'Courier New', Courier, Monaco, monospace;
|
||
|
}
|
||
|
|
||
|
span.flag {
|
||
|
padding: 2px 4px 1px;
|
||
|
border-radius: 3px;
|
||
|
margin-right: 3px;
|
||
|
font-size: 11px;
|
||
|
border: 1px solid transparent;
|
||
|
}
|
||
|
|
||
|
span.flag.orange {
|
||
|
background-color: #EE8737;
|
||
|
color: #FCEBDD;
|
||
|
border-color: #EB7317;
|
||
|
}
|
||
|
|
||
|
span.flag.yellow {
|
||
|
background-color: #E4B91C;
|
||
|
color: #FCF8E8;
|
||
|
border-color: #B69115;
|
||
|
}
|
||
|
|
||
|
span.flag.green {
|
||
|
background-color: #469C14;
|
||
|
color: #E2F9D3;
|
||
|
border-color: #34700E;
|
||
|
}
|
||
|
|
||
|
span.flag.red {
|
||
|
background-color: #BF1919;
|
||
|
color: #F9ECEC;
|
||
|
border-color: #822C2C;
|
||
|
}
|
||
|
|
||
|
span.flag.purple {
|
||
|
background-color: #2E1052;
|
||
|
color: #ECE1F9;
|
||
|
border-color: #1F0B37;
|
||
|
}
|
||
|
|
||
|
.tooltip>span {
|
||
|
position: absolute;
|
||
|
opacity: 0;
|
||
|
display: none;
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
|
||
|
.tooltip:hover>span {
|
||
|
display: inline-block;
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.c {
|
||
|
color: #969896;
|
||
|
}
|
||
|
|
||
|
.n {
|
||
|
color: #0086b3;
|
||
|
}
|
||
|
|
||
|
.t {
|
||
|
color: #0086b3;
|
||
|
}
|
||
|
|
||
|
.s {
|
||
|
color: #183691;
|
||
|
}
|
||
|
|
||
|
.i {
|
||
|
color: #7f5030;
|
||
|
}
|
||
|
|
||
|
.k {
|
||
|
color: #a71d5d;
|
||
|
}
|
||
|
|
||
|
.o {
|
||
|
color: #a71d5d;
|
||
|
}
|
||
|
|
||
|
.m {
|
||
|
color: #795da3;
|
||
|
}
|