@webarkit/jsfeat-next
Version:
Typescript version of jsfeat for WebARKit
193 lines (174 loc) • 3.65 kB
CSS
html, body {
height: 100%;
background-color: #E3E9ED;
}
body {
font-size: 10pt;
font-family: "PT Sans", Helvetica, Arial, Sans-Serif;
color: #444;
}
a {
color: #4183C4;
}
pre, code {
font-family: "Inconsolata";
font-size: 10pt;
}
.header {
padding: 15px 0;
font-size: 12pt;
}
.header .logo {
display: inline-block;
width: 100px;
border: 0;
}
.header ul {
display: inline;
list-style-type: none;
position: relative;
bottom: 9px;
}
.header li {
display: inline;
margin-right: 10px;
}
.header a {
color: #444;
}
h1, h2, h3, h4 {
font-family: "Droid Sans", Helvetica, Arial, Sans-Serif;
}
div.report {
margin-top: 20px;
word-wrap: break-word;
}
div.report div.alert div.rows {
margin: 0;
}
div.footer {
margin: 0 auto;
padding: 50px 0 25px 0;
text-align: center;
}
/* Sidenav for Docs
-------------------------------------------------- */
.bs-docs-sidenav {
width: 208px;
margin: 15px 0 0;
padding: 0;
background-color: #f5f5f5;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
display: block;
width: 170px \9;
margin: 0 0 -1px;
padding: 8px 14px;
border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
-webkit-border-radius: 6px 6px 0 0;
-moz-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
-webkit-border-radius: 0 0 6px 6px;
-moz-border-radius: 0 0 6px 6px;
border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
position: relative;
z-index: 2;
padding: 9px 15px;
border: 0;
text-shadow: 0 1px 0 rgba(0,0,0,.15);
-webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
-moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
float: right;
margin-top: 2px;
margin-right: -6px;
opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
background-color: #ffffff;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
opacity: .5;
}
.bs-docs-sidenav .active .icon-chevron-right,
.bs-docs-sidenav .active a:hover .icon-chevron-right {
background-image: url(../img/glyphicons-halflings-white.png);
opacity: 1;
}
.bs-docs-sidenav.affix {
top: 40px;
}
.bs-docs-sidenav.affix-bottom {
position: absolute;
top: auto;
bottom: 270px;
}
/* Desktop
------------------------- */
@media (max-width: 980px) {
/* When affixed, space properly */
.bs-docs-sidenav {
top: 0;
margin-top: 30px;
margin-right: 0;
}
}
/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
/* Remove any padding from the body */
body {
padding-top: 0;
}
/* Adjust sidenav width */
.bs-docs-sidenav {
width: 166px;
margin-top: 20px;
}
.bs-docs-sidenav.affix {
top: 0;
}
}
/* Tablet
------------------------- */
@media (max-width: 767px) {
/* Remove any padding from the body */
body {
padding-top: 0;
}
/* Sidenav */
.bs-docs-sidenav {
width: auto;
margin-bottom: 20px;
}
.bs-docs-sidenav.affix {
position: static;
width: auto;
top: 0;
}
/* Unfloat the back to top link in footer */
.footer {
margin-left: -20px;
margin-right: -20px;
padding-left: 20px;
padding-right: 20px;
}
.footer p {
margin-bottom: 9px;
}
}