This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
lnapp/media/theme/bootstrap/css/custom.css

199 lines
3.3 KiB
CSS
Raw Permalink Normal View History

2014-08-22 15:04:40 +00:00
/* To fix out title bar. */
@media (min-width: 980px) {
.navbar.navbar-fixed-top {
position: fixed;
}
.subnavbar {
padding-top: 56px;
}
}
.pull-right > .dropdown-menu {
right: auto;
}
.subnavbar .subnavbar-inner {
height: 50px;
}
.subnavbar .mainnav {
height: 50px;
}
.subnavbar .mainnav > li {
min-width: 50px;
height: 50px;
}
.subnavbar .mainnav > li > a:hover {
background-color: #f90;
color: #fff;
}
.subnavbar .mainnav > li > a {
color: #a7a7a7;
}
.subnavbar .mainnav > li > a > i {
height: 12px;
margin-top: 5px;
margin-bottom: 1px;
font-size: 18px;
}
.scrollable {
max-height: 600px;
overflow: auto;
}
legend+.control-group {
margin-top: 0px;
}
fieldset {
margin-bottom: 10px;
}
dd form {
margin: 0px;
}
table .text-right {
text-align: right;
}
.dl-horizontal > dd:after {
display: table;
content: "";
clear: both;
}
.navbar .navbar-search .left-inner-addon {
position: relative;
}
.navbar .navbar-search .navbar-search-addon input.search-query {
padding-left: 30px;
padding-right: 30px;
width: 150px;
}
.navbar .navbar-search .navbar-search-addon i {
position: absolute;
padding: 8px 10px;
pointer-events: none;
}
.navbar .navbar-search .navbar-search-addon img {
position: absolute;
padding: 6px 10px;
pointer-events: none;
right: 0px;
visibility: hidden;
}
2014-09-29 12:06:38 +00:00
#nav {
margin-bottom: .5em;
}
#nav .container > #main-nav {
padding: 0;
margin: 0;
border-top: 1px solid #DDD;
}
#nav .container > #main-nav > li {
position: relative;
top: -1px;
float: left;
padding: 0 40px 0 0;
margin: 0;
list-style: none;
border-top: 1px solid #DDD;
}
#nav .container > #main-nav > li:last-child {
padding-right: 0;
}
#nav .container > #main-nav > li > a {
position: relative;
top: -1px;
display: block;
padding: 15px 5px 5px;
color: #999;
text-transform: uppercase;
border-top: 1px solid transparent;
}
#nav .container > #main-nav > li > a:hover,
#nav .container > #main-nav > li.dropdown.open > a {
color: #333;
text-decoration: none;
border-top-color: #333;
border-top-width: 1px;
}
#nav .container > #main-nav > li.active a {
padding-top: 12px;
color: #222;
border-top-color: #F90;
border-top-width: 4px;
}
#nav .container > #main-nav > li > a > .caret {
position: relative;
top: -2px;
margin-left: .5em;
}
#nav .dropdown-menu a:hover {
background-color: #F90;
}
#nav .dropdown-menu > li > a {
padding: 6px 12px;
}
#nav .dropdown-menu i {
margin-right: .5em;
font-size: 14px;
}
#nav .dropdown-menu::before {
content: '';
display: inline-block;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #CCC;
border-bottom-color: rgba(0, 0, 0, 0.2);
position: absolute;
top: -7px;
left: 9px;
}
#nav .dropdown-menu::after {
content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
position: absolute;
top: -6px;
left: 10px;
}