You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
2.1 KiB
123 lines
2.1 KiB
/*
|
|
* Base bootstrap structure, this should become part of base.css later
|
|
*/
|
|
|
|
/* Move down content because we have a fixed navbar that is 50px tall */
|
|
body {
|
|
padding-top: 57px;
|
|
}
|
|
|
|
|
|
/*
|
|
* Top navigation
|
|
* Hide default border to remove 1px line.
|
|
*/
|
|
.navbar-fixed-top {
|
|
border: 0;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
/* Hide for mobile, show later */
|
|
.sidebar {
|
|
display: none;
|
|
margin-top: -14px;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 51px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: block;
|
|
padding: 20px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
|
|
}
|
|
}
|
|
|
|
/* Sidebar navigation */
|
|
.nav-sidebar {
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
margin-bottom: 10px;
|
|
margin-left: -20px;
|
|
}
|
|
.nav-sidebar > li > a {
|
|
padding-right: 10px;
|
|
padding-left: 16px;
|
|
padding-top: 0px;
|
|
padding-bottom: 0px;
|
|
}
|
|
.nav-sidebar > li {
|
|
padding: 0px;
|
|
margin-left: 6px;
|
|
margin-right: 6px;
|
|
}
|
|
.nav-sidebar > .active > a,
|
|
.nav-sidebar > .active > a:hover,
|
|
.nav-sidebar > .active > a:focus {
|
|
color: #fff;
|
|
background-color: #428bca;
|
|
}
|
|
.nav-sidebar h3 {
|
|
padding-right: 10px;
|
|
padding-left: 16px;
|
|
padding-top: 4px;
|
|
padding-bottom: 1px;
|
|
margin: 0px;
|
|
font-size: 14px;
|
|
}
|
|
.navbar-header a:link, .navbar-collapse a:link {
|
|
text-decoration:none;
|
|
}
|
|
.navbar-right {
|
|
padding-right:20px;
|
|
font-size: 14px;
|
|
}
|
|
legend {
|
|
width: auto;
|
|
margin: 0px;
|
|
line-height: 16px;
|
|
border: 0;
|
|
}
|
|
label {
|
|
font-weight:normal;
|
|
padding-left:6px;
|
|
}
|
|
ul.nav li.dropdown:hover ul.dropdown-menu{
|
|
display: block;
|
|
margin-top:0px
|
|
}
|
|
|
|
/*
|
|
* typeahead
|
|
* sets the following classes:
|
|
* twitter-typeahead, tt-dropdown-menu, tt-dataset-%CLASS%, tt-suggestions, tt-suggestion
|
|
* tt-hint, tt-input, tt-cursor
|
|
*/
|
|
|
|
.tt-dropdown-menu {
|
|
width: 396px;
|
|
margin-top: 4px;
|
|
padding: 4px 0;
|
|
background-color: #f8f8f8;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.tt-suggestion {
|
|
padding: 3px 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.tt-suggestion.tt-cursor {
|
|
color: #fff;
|
|
background-color: #428bca;
|
|
}
|
|
|
|
.tt-suggestion p {
|
|
margin: 0;
|
|
}
|
|
|