yacy_search_server/htroot/env/bootstrap-base.css
Michael Peter Christen 1b9ec9a1c5 - added popover to p2p/stealth mode button to explain the peer mode and
privacy issues.
- added popover to first-time use case to explain that specific servlets
are only visible after customization and/or crawl starts
2014-04-02 13:33:43 +02:00

126 lines
2.1 KiB
CSS

/*
* 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;
}
.popover {
z-index: 1600;
}