Project

General

Profile

Download (4.42 KB) Statistics
| Branch: | Tag: | Revision:
@import "mixin";
@import "colors";

$navbar-default-bg: $primary_color;

@import "twitter/bootstrap";

.dropdown-menu {
@include border_radius(0, 0, 6px, 6px);
}

// Necessary because bootstrap3 nav dropdown does not have top arrow
.nav li .dropdown-menu:after {
content: '';
display: inline-block;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #ffffff;
position: absolute;
top: -6px;
left: 10px;
}

.navbar .navbar-right > li > .dropdown-menu:after,
.navbar .nav > li > .dropdown-menu.pull-right:after {
left: auto;
right: 13px;
}

// Necessary because bootstrap3 does not support dropdown sub menus.
.dropdown-submenu {
position:relative;
}

.dropdown-submenu > .dropdown-menu {
top:0;
left:100%;
margin-top:-6px;
margin-left:-1px;
}

.dropdown-submenu:hover > .dropdown-menu {
display:block;
}

.dropdown-submenu > a:after {
display:block;content:" ";
float:right;
width:0;
height:0;
border-color:transparent;
border-style:solid;
border-width:5px 0 5px 5px;
border-left-color:#cccccc;
margin-top:5px;
margin-right:-10px;
}

.dropdown-submenu:hover > a:after {
border-left-color:#ffffff;
}

.dropdown-submenu.pull-left {
float:none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
left:-100%;
margin-left:10px;
}

// Bootstrap 3 no longer has icon-color classes
.icon-white {
color: white;
}

.badge.badge-inverse {
background-color: black;
}

span.input-group-btn .hidden-xs {display:inline !important;}
@media (max-width: 768px) {
span.input-group-btn .hidden-xs {display:none !important;}
}

span.btn a{ text-decoration: none; color: #333333}

// help-inline is not defined in Bootstrap3
.help-inline{
vertical-align: middle;
line-height: 2.428571;
}

.well {
padding: 19px 19px 19px 36px;
background-color: white;
}

.label-default {
background-color: #cccccc;
}

.form-actions {
padding: 19px 20px 20px;
margin-top: 20px;
margin-bottom: 20px;
}

.navbar.navbar-form{
background-color: #f8f8f8;
padding: 10px;
border: 1px solid #e7e7e7;
border-radius: 4px;
}

.nav.nav-tabs{
margin-bottom: 20px;
}

.tab-content{
min-height: 420px;
}

/* custom inclusion of right, left and below tabs */
.tabs-below > .nav-tabs,
.tabs-right > .nav-tabs,
.tabs-left > .nav-tabs {
border-bottom: 0;
}

.tab-content > .tab-pane,
.pill-content > .pill-pane {
display: none;
}

.tab-content > .active,
.pill-content > .active {
display: block;
}

.tabs-below > .nav-tabs {
border-top: 1px solid #ddd;
}

.tabs-below > .nav-tabs > li {
margin-top: -1px;
margin-bottom: 0;
}

.tabs-below > .nav-tabs > li > a {
-webkit-border-radius: 0 0 4px 4px;
-moz-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}

.tabs-below > .nav-tabs > li > a:hover,
.tabs-below > .nav-tabs > li > a:focus {
border-top-color: #ddd;
border-bottom-color: transparent;
}

.tabs-below > .nav-tabs > .active > a,
.tabs-below > .nav-tabs > .active > a:hover,
.tabs-below > .nav-tabs > .active > a:focus {
border-color: transparent #ddd #ddd #ddd;
}

.tabs-left > .nav-tabs > li,
.tabs-right > .nav-tabs > li {
float: none;
}

.tabs-left > .nav-tabs > li > a,
.tabs-right > .nav-tabs > li > a {
min-width: 74px;
margin-right: 0;
margin-bottom: 3px;
}

.tabs-left > .nav-tabs {
float: left;
margin-right: 19px;
padding-right: 0;
border-right: 1px solid #ddd;
}

.tabs-left > .nav-tabs > li > a {
margin-right: -1px;
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}

.tabs-left > .nav-tabs > li > a:hover,
.tabs-left > .nav-tabs > li > a:focus {
border-color: #eeeeee #dddddd #eeeeee #eeeeee;
}

.tabs-left > .nav-tabs .active > a,
.tabs-left > .nav-tabs .active > a:hover,
.tabs-left > .nav-tabs .active > a:focus {
border-color: #ddd transparent #ddd #ddd;
*border-right-color: #ffffff;
}

.tabs-right > .nav-tabs {
float: right;
margin-left: 19px;
border-left: 1px solid #ddd;
}

.tabs-right > .nav-tabs > li > a {
margin-left: -1px;
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}

.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
border-color: #eeeeee #eeeeee #eeeeee #dddddd;
}

.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
border-color: #ddd #ddd #ddd transparent;
*border-left-color: #ffffff;
}

(2-2/11)