2013-09-24 19:47:25 -07:00
|
|
|
// Main CSS configuration file
|
|
|
|
// by Thatcher Peskens, thatcher@dotcloud.com
|
|
|
|
//
|
|
|
|
// Please note variables.less is customized to include custom font, background-color, and link colors.
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-03-25 21:16:33 -07:00
|
|
|
|
2013-03-25 19:52:52 -07:00
|
|
|
@import "variables.less";
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Variables for main.less
|
|
|
|
// -----------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
@box-top-margin: 8px;
|
|
|
|
@box-padding-size: 30px;
|
|
|
|
@docker-background-color: #71AFC0;
|
|
|
|
@very-dark-sea-green: #394D54;
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Custom colors for Docker
|
|
|
|
// --------------------------
|
|
|
|
@gray-super-light: #F2F2F2;
|
|
|
|
@deep-red: #A30000;
|
|
|
|
@deep-blue: #1B2033;
|
|
|
|
@deep-green: #007035;
|
|
|
|
@link-blue: #213B8F;
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.debug {
|
|
|
|
border: 2px dotted red !important;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Other custom colors for Docker
|
|
|
|
// --------------------------
|
|
|
|
|
|
|
|
// ** are defined in sources/less/variables **
|
|
|
|
//@import "bootstrap/variables.less";
|
|
|
|
|
|
|
|
|
|
|
|
// Styles generic for each and every page
|
|
|
|
// ----------------------------------- // -----------------------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// moving body down to make place for fixed navigation
|
|
|
|
body {
|
|
|
|
min-width: 940px;
|
|
|
|
font-family: @font-family-base;
|
|
|
|
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
p a {
|
|
|
|
text-decoration: underline;
|
2013-03-25 21:16:33 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
&.btn {
|
|
|
|
text-decoration: none;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.brand.logo a {
|
|
|
|
text-decoration: none;
|
2013-07-22 20:26:40 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Styles for top navigation
|
|
|
|
// ----------------------------------
|
|
|
|
.navbar .navbar-inner {
|
|
|
|
padding-left: 0px;
|
|
|
|
padding-right: 0px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.navbar .nav {
|
|
|
|
li a {
|
|
|
|
padding: ((@navbar-height - @line-height-base) / 2) 17px ((@navbar-height - @line-height-base) / 2);
|
|
|
|
color: #777777;
|
|
|
|
text-decoration: none;
|
|
|
|
text-shadow: 0 1px 0 #f2f2f2;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
|
|
|
|
.navbar .nav > li {
|
|
|
|
float: left;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.nav-underline {
|
|
|
|
height: 6px;
|
|
|
|
background-color: @docker-background-color;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.nav-login {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
padding: 10px 15px 10px;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.navbar .brand {
|
|
|
|
margin-left: 0px;
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-inner {
|
|
|
|
min-height: 70px;
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
background-color: #ededed;
|
|
|
|
background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));
|
|
|
|
background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);
|
|
|
|
background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);
|
|
|
|
background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
|
2013-03-25 19:52:52 -07:00
|
|
|
background-repeat: repeat-x;
|
2013-09-24 19:47:25 -07:00
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);
|
|
|
|
border: 1px solid #c7c7c7;
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
|
|
|
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
|
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-12-29 19:22:52 -08:00
|
|
|
.brand-logo a {
|
2013-09-24 19:47:25 -07:00
|
|
|
color: white;
|
2013-12-29 19:22:52 -08:00
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.logo {
|
|
|
|
// background-color: #A30000;
|
|
|
|
// color: white;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.inline-icon {
|
|
|
|
margin-bottom: 6px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Bootstrap elements
|
|
|
|
// ----------------------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.row {
|
|
|
|
margin-top: 15px;
|
|
|
|
margin-bottom: 15px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.container {
|
|
|
|
// background-color: green;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Styles on blocks of content
|
|
|
|
// ----------------------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// everything which is a block should have box-sizing: border-box;
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
div[class*='span']
|
|
|
|
{
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Box for making white with a border, and some nice spacings
|
|
|
|
.box {
|
|
|
|
padding: @box-padding-size;
|
|
|
|
background-color: white;
|
|
|
|
margin-top: @box-top-margin;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.paper {
|
|
|
|
background-color: white;
|
|
|
|
padding-top: 30px;
|
|
|
|
padding-bottom: 30px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.copy-headline {
|
|
|
|
margin-top: 0px;
|
|
|
|
// border-bottom: 1.2px solid @veryDarkSeaGreen;
|
|
|
|
}
|
2013-04-08 20:10:47 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.box {
|
|
|
|
h1, h2, h3, h4 {
|
|
|
|
margin-top: -5px;
|
|
|
|
}
|
2013-04-08 20:10:47 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.nested {
|
|
|
|
padding: @box-padding-size;
|
2013-04-08 20:10:47 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.box.div {
|
|
|
|
padding: @box-padding-size;
|
2013-04-08 20:10:47 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
span.read-more {
|
|
|
|
margin-left: 15px;
|
|
|
|
white-space: nowrap;
|
2013-04-08 20:10:47 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
// set a top margin of @box-top-margin + 8 px to make it show a margin
|
|
|
|
//instead of the div being flush against the side. Typically only
|
|
|
|
// required for a stacked div in a column, w.o. using row.
|
|
|
|
.forcetopalign {
|
|
|
|
margin-top: 15px !important;
|
|
|
|
}
|
|
|
|
.forcetopmargin {
|
|
|
|
margin-top: 23px !important;
|
|
|
|
}
|
|
|
|
.forceleftalign {
|
|
|
|
margin-left: 15px !important;
|
|
|
|
}
|
|
|
|
.forceleftmargin {
|
|
|
|
margin-left: 21px !important;
|
2013-04-08 20:10:47 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// simple text aligns
|
|
|
|
.textcenter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.textright {
|
|
|
|
text-align: right;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.textsmaller {
|
|
|
|
font-size: @font-size-small;
|
|
|
|
}
|
2013-06-17 20:16:56 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.modal-backdrop {
|
|
|
|
opacity: 0.4;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* generic page copy styles */
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.copy-headline h1 {
|
|
|
|
font-size: 21px;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* =======================
|
|
|
|
Sticky footer
|
|
|
|
======================= */
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
@sticky-footer-height: 280px;
|
|
|
|
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
/* The html and body elements cannot have any padding or margin. */
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* Wrapper for page content to push down footer */
|
|
|
|
#wrap {
|
|
|
|
min-height: 100%;
|
|
|
|
height: auto !important;
|
|
|
|
height: 100%;
|
|
|
|
/* Negative indent footer by it's height */
|
|
|
|
margin: 0 auto -@sticky-footer-height;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* Set the fixed height of the footer here */
|
|
|
|
#push-the-footer,
|
|
|
|
#footer {
|
|
|
|
height: @sticky-footer-height;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
#footer {
|
|
|
|
// margin-bottom: -60px;
|
|
|
|
// margin-top: 160px;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.main-row {
|
|
|
|
padding-top: @navbar-height;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Styles on the footer
|
|
|
|
// ----------------------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
//
|
|
|
|
#footer .footer {
|
|
|
|
margin-top: 160px;
|
|
|
|
.ligaturesymbols {
|
|
|
|
font-size: 30px;
|
|
|
|
color: black;
|
|
|
|
a {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.footerlist {
|
|
|
|
h3, h4 {
|
|
|
|
/* correct the top alignment */
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.footer-landscape-image {
|
|
|
|
position: absolute:
|
|
|
|
bottom: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
background-image: url('https://www.docker.io/static/img/website-footer_clean.svg');
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
height: @sticky-footer-height;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.main-row {
|
|
|
|
margin-top: 40px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-12-16 14:37:56 -08:00
|
|
|
.sidebar {
|
|
|
|
width: 215px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.main-content {
|
|
|
|
padding: 16px 18px inherit;
|
2013-12-16 14:37:56 -08:00
|
|
|
margin-left: 230px; /* space for sidebar */
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-12-16 14:37:56 -08:00
|
|
|
|
|
|
|
|
2013-03-25 19:52:52 -07:00
|
|
|
/* =======================
|
|
|
|
Social footer
|
|
|
|
======================= */
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.social {
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
2013-12-17 10:39:22 -08:00
|
|
|
.social {
|
|
|
|
.twitter, .github, .googleplus, .facebook, .slideshare, .linkedin, .flickr, .youtube, .reddit {
|
|
|
|
background: url("../img/social/docker_social_logos.png") no-repeat transparent;
|
|
|
|
display: inline-block;
|
|
|
|
height: 32px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-indent: 9999px;
|
|
|
|
width: 32px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.social :hover {
|
|
|
|
-webkit-transform: rotate(-10deg);
|
|
|
|
-moz-transform: rotate(-10deg);
|
|
|
|
-o-transform: rotate(-10deg);
|
|
|
|
-ms-transform: rotate(-10deg);
|
|
|
|
transform: rotate(-10deg);
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-03-25 21:16:33 -07:00
|
|
|
.social .twitter {
|
2013-12-17 10:39:22 -08:00
|
|
|
background-position: -160px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .reddit {
|
|
|
|
background-position: -256px 0px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-03-25 21:16:33 -07:00
|
|
|
.social .github {
|
2013-12-17 10:39:22 -08:00
|
|
|
background-position: -64px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .googleplus {
|
|
|
|
background-position: -96px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .facebook {
|
|
|
|
background-position: -0px 0px;
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-12-17 10:39:22 -08:00
|
|
|
.social .slideshare {
|
|
|
|
background-position: -128px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .youtube {
|
|
|
|
background-position: -192px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .flickr {
|
|
|
|
background-position: -32px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social .linkedin {
|
|
|
|
background-position: -224px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
// Styles on the forms
|
|
|
|
// ----------------------------------
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
form table {
|
|
|
|
th {
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
2013-06-04 11:33:39 -07:00
|
|
|
}
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
form {
|
|
|
|
.labeldd label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.helptext {
|
|
|
|
font-size: @font-size-small;
|
|
|
|
margin-top: -4px;
|
|
|
|
margin-bottom: 10px;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.fielddd input {
|
|
|
|
width: 250px;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.error {
|
|
|
|
color: @deep-red;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
[type=submit] {
|
|
|
|
// margin-top: -8px;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
div.alert.alert-block {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ======================= =======================
|
|
|
|
Documentation
|
|
|
|
========================= ========================= */
|
|
|
|
|
|
|
|
|
|
|
|
/* =======================
|
|
|
|
Styles for the sidebar
|
|
|
|
========================= */
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
@sidebar-navigation-border: 1.5px solid #595959;
|
|
|
|
@sidebar-navigation-width: 225px;
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-03-25 21:16:33 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.page-title {
|
|
|
|
// border-bottom: 1px solid #bbbbbb;
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
h4 {
|
|
|
|
font-size: 20px;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
2013-03-25 21:16:33 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.bs-docs-sidebar {
|
|
|
|
padding-left: 5px;
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
margin-top: 18px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin-left: 0px;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.toctree-l2 > ul {
|
|
|
|
width: 100%;
|
2013-03-25 21:16:33 -07:00
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
ul > li {
|
|
|
|
&.toctree-l1.has-children {
|
|
|
|
background-image: url('../img/menu_arrow_right.gif');
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 13px 13px;
|
|
|
|
list-style-type: none;
|
|
|
|
// margin-left: px;
|
|
|
|
padding: 0px 0px 0px 0px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
background-image: url('../img/menu_arrow_down.gif');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
display:inline-block;
|
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 35px;
|
|
|
|
padding-right: 20px;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
border-bottom: @sidebar-navigation-border;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child.active > a {
|
|
|
|
border-top: @sidebar-navigation-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child > a {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child.active > a {
|
|
|
|
border-bottom: @sidebar-navigation-border;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active > a {
|
|
|
|
border-right: @sidebar-navigation-border;
|
|
|
|
border-left: @sidebar-navigation-border;
|
|
|
|
color: @very-dark-sea-green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #e8e8e8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.toctree-l3 ul {
|
|
|
|
display: inherit;
|
|
|
|
|
|
|
|
margin-left: 15px;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctree-l3 a {
|
|
|
|
border: none;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul > li > ul {
|
2013-06-04 11:33:39 -07:00
|
|
|
display: none;
|
|
|
|
}
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
ul > li.current > ul {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toctree-l2 {
|
|
|
|
&.current > a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
&.current {
|
|
|
|
border: 1.5px solid #595959;
|
|
|
|
color: #394d54;
|
|
|
|
}
|
2013-03-25 19:52:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* =====================================
|
|
|
|
Styles for the floating version widget
|
|
|
|
====================================== */
|
|
|
|
|
|
|
|
.version-flyer {
|
|
|
|
position: fixed;
|
|
|
|
float: right;
|
|
|
|
right: 0;
|
|
|
|
bottom: 40px;
|
|
|
|
background-color: #E0E0E0;
|
|
|
|
border: 1px solid #88BABC;
|
|
|
|
padding: 5px;
|
|
|
|
font-size: larger;
|
2013-12-16 18:36:35 -08:00
|
|
|
max-width: 300px;
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
.content {
|
|
|
|
padding-right: 45px;
|
|
|
|
margin-top: 7px;
|
|
|
|
margin-left: 7px;
|
|
|
|
background-image: url('../img/container3.png');
|
|
|
|
background-position: right center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alternative {
|
2013-06-04 11:33:39 -07:00
|
|
|
}
|
2013-05-08 12:13:31 -07:00
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.active-slug {
|
|
|
|
visibility: visible;
|
|
|
|
display: inline-block;
|
2013-12-16 18:36:35 -08:00
|
|
|
font-weight: bolder;
|
2013-09-24 19:47:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover .alternative {
|
|
|
|
animation-duration: 1s;
|
|
|
|
display: inline-block;
|
2013-12-16 18:36:35 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.version-note {
|
|
|
|
font-size: 16px;
|
2013-12-17 10:39:22 -08:00
|
|
|
color: black;
|
2013-09-24 19:47:25 -07:00
|
|
|
}
|
|
|
|
|
2013-08-13 16:18:32 -07:00
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* =====================================
|
|
|
|
Styles for
|
|
|
|
====================================== */
|
|
|
|
|
2013-08-13 16:18:32 -07:00
|
|
|
h1:hover > a.headerlink,
|
|
|
|
h2:hover > a.headerlink,
|
|
|
|
h3:hover > a.headerlink,
|
|
|
|
h4:hover > a.headerlink,
|
|
|
|
h5:hover > a.headerlink,
|
|
|
|
h6:hover > a.headerlink,
|
|
|
|
dt:hover > a.headerlink {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.headerlink {
|
|
|
|
font-size: smaller;
|
|
|
|
color: #666;
|
|
|
|
font-weight: bold;
|
|
|
|
float: right;
|
|
|
|
visibility: hidden;
|
2013-09-24 19:47:25 -07:00
|
|
|
}
|
|
|
|
|
2014-02-17 12:24:19 +10:00
|
|
|
h2, h3, h4, h5, h6 {
|
|
|
|
margin-top: 0.7em;
|
|
|
|
}
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
/* =====================================
|
|
|
|
Miscellaneous information
|
|
|
|
====================================== */
|
|
|
|
|
|
|
|
.admonition {
|
|
|
|
&.warning, &.note, &.seealso, &.todo {
|
|
|
|
border: 3px solid black;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 5px auto 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.admonition-title {
|
|
|
|
font-size: larger;
|
|
|
|
}
|
|
|
|
|
2013-10-01 16:26:14 -07:00
|
|
|
&.warning, &.danger {
|
2013-09-24 19:47:25 -07:00
|
|
|
border-color: #ac0004;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.note {
|
|
|
|
border-color: #cbc200;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.todo {
|
|
|
|
border-color: orange;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.seealso {
|
|
|
|
border-color: #23cb1f;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-12-16 14:37:56 -08:00
|
|
|
/* Add styles for other types of comments */
|
|
|
|
|
|
|
|
.versionchanged,
|
|
|
|
.versionadded,
|
|
|
|
.versionmodified,
|
|
|
|
.deprecated {
|
|
|
|
font-size: larger;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.versionchanged {
|
|
|
|
color: lightseagreen;
|
|
|
|
}
|
|
|
|
|
|
|
|
.versionadded {
|
|
|
|
color: mediumblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deprecated {
|
|
|
|
color: orangered;
|
|
|
|
}
|