2014-01-10 07:14:55 -05:00
|
|
|
/*
|
|
|
|
* Twitter bootstrap with GitLab customizations/additions
|
|
|
|
*
|
|
|
|
* Some unused bootstrap compontents like panels are not included.
|
|
|
|
* Other components like tabs are modified to GitLab style.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2014-01-13 16:18:30 -05:00
|
|
|
$font-size-base: 13px !default;
|
2014-05-31 07:48:33 -04:00
|
|
|
$nav-pills-active-link-hover-bg: $bg_primary;
|
|
|
|
$pagination-active-bg: $bg_primary;
|
2014-06-18 17:17:38 -04:00
|
|
|
$list-group-active-bg: $bg_primary;
|
2014-01-10 07:14:55 -05:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
// Core variables and mixins
|
|
|
|
@import "bootstrap/variables";
|
|
|
|
@import "bootstrap/mixins";
|
|
|
|
|
|
|
|
// Reset
|
|
|
|
@import "bootstrap/normalize";
|
|
|
|
@import "bootstrap/print";
|
|
|
|
|
|
|
|
// Core CSS
|
|
|
|
@import "bootstrap/scaffolding";
|
|
|
|
@import "bootstrap/type";
|
|
|
|
@import "bootstrap/code";
|
|
|
|
@import "bootstrap/grid";
|
|
|
|
@import "bootstrap/tables";
|
|
|
|
@import "bootstrap/forms";
|
|
|
|
|
|
|
|
// Components
|
|
|
|
@import "bootstrap/component-animations";
|
|
|
|
@import "bootstrap/dropdowns";
|
|
|
|
@import "bootstrap/button-groups";
|
|
|
|
@import "bootstrap/input-groups";
|
|
|
|
@import "bootstrap/navs";
|
|
|
|
@import "bootstrap/navbar";
|
|
|
|
@import "bootstrap/breadcrumbs";
|
|
|
|
@import "bootstrap/pagination";
|
|
|
|
@import "bootstrap/pager";
|
|
|
|
@import "bootstrap/labels";
|
|
|
|
@import "bootstrap/badges";
|
|
|
|
@import "bootstrap/jumbotron";
|
|
|
|
@import "bootstrap/thumbnails";
|
|
|
|
@import "bootstrap/alerts";
|
|
|
|
@import "bootstrap/progress-bars";
|
|
|
|
@import "bootstrap/list-group";
|
|
|
|
@import "bootstrap/wells";
|
|
|
|
@import "bootstrap/close";
|
2014-04-06 10:10:37 -04:00
|
|
|
@import "bootstrap/panels";
|
2014-01-01 14:42:42 -05:00
|
|
|
|
|
|
|
// Components w/ JavaScript
|
|
|
|
@import "bootstrap/modals";
|
|
|
|
@import "bootstrap/tooltip";
|
|
|
|
@import "bootstrap/popovers";
|
|
|
|
@import "bootstrap/carousel";
|
|
|
|
|
|
|
|
// Utility classes
|
|
|
|
.clearfix {
|
|
|
|
@include clearfix();
|
|
|
|
}
|
|
|
|
.center-block {
|
|
|
|
@include center-block();
|
|
|
|
}
|
|
|
|
.pull-right {
|
|
|
|
float: right !important;
|
|
|
|
}
|
|
|
|
.pull-left {
|
|
|
|
float: left !important;
|
|
|
|
}
|
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.show {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
.text-hide {
|
|
|
|
@include text-hide();
|
|
|
|
}
|
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
|
|
|
.affix {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
|
|
|
@import "bootstrap/responsive-utilities";
|
2014-01-03 16:28:00 -05:00
|
|
|
|
|
|
|
// Labels
|
|
|
|
.label {
|
|
|
|
padding: 2px 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.label-gray {
|
|
|
|
background-color: #eee;
|
|
|
|
color: #999;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.label-inverse {
|
|
|
|
background-color: #333333;
|
|
|
|
}
|
|
|
|
}
|
2014-01-03 16:46:46 -05:00
|
|
|
|
|
|
|
// Nav tabs
|
|
|
|
.nav.nav-tabs {
|
2014-02-15 06:41:48 -05:00
|
|
|
margin-bottom: 15px;
|
|
|
|
|
2014-01-03 16:46:46 -05:00
|
|
|
li {
|
|
|
|
> a {
|
2014-06-06 13:41:42 -04:00
|
|
|
margin-right: 5px;
|
2014-01-03 16:46:46 -05:00
|
|
|
line-height: 20px;
|
|
|
|
border-color: #EEE;
|
|
|
|
color: #888;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
.badge {
|
|
|
|
background-color: #eee;
|
|
|
|
color: #888;
|
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
}
|
|
|
|
i[class^="icon-"] {
|
|
|
|
line-height: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.active {
|
|
|
|
> a {
|
|
|
|
border-color: #CCC;
|
|
|
|
border-bottom: 1px solid #fff;
|
|
|
|
color: #333;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.nav-small-tabs > li > a {
|
|
|
|
padding: 6px 9px;
|
|
|
|
}
|
|
|
|
}
|
2014-01-06 08:05:41 -05:00
|
|
|
|
2014-01-14 06:51:59 -05:00
|
|
|
.nav-tabs > li > a,
|
|
|
|
.nav-pills > li > a {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-small > li > a {
|
|
|
|
padding: 3px 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
|
|
|
|
|
2014-01-06 08:05:41 -05:00
|
|
|
/*
|
|
|
|
* Callouts from Bootstrap3 docs
|
|
|
|
*
|
|
|
|
* Not quite alerts, but custom and helpful notes for folks reading the docs.
|
|
|
|
* Requires a base and modifier class.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Common styles for all types */
|
|
|
|
.bs-callout {
|
|
|
|
margin: 20px 0;
|
|
|
|
padding: 20px;
|
|
|
|
border-left: 3px solid #eee;
|
|
|
|
color: #666;
|
|
|
|
background: #f9f9f9;
|
|
|
|
}
|
|
|
|
.bs-callout h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
.bs-callout p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Variations */
|
|
|
|
.bs-callout-danger {
|
|
|
|
background-color: #fdf7f7;
|
|
|
|
border-color: #eed3d7;
|
|
|
|
color: #b94a48;
|
|
|
|
}
|
|
|
|
.bs-callout-warning {
|
|
|
|
background-color: #faf8f0;
|
|
|
|
border-color: #faebcc;
|
|
|
|
color: #8a6d3b;
|
|
|
|
}
|
|
|
|
.bs-callout-info {
|
|
|
|
background-color: #f4f8fa;
|
|
|
|
border-color: #bce8f1;
|
|
|
|
color: #34789a;
|
|
|
|
}
|
|
|
|
.bs-callout-success {
|
|
|
|
background-color: #dff0d8;
|
|
|
|
border-color: #5cA64d;
|
|
|
|
color: #3c763d;
|
|
|
|
}
|
2014-01-10 07:14:55 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* fix to keep tooltips position in top navigation bar
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.navbar .nav > li {
|
|
|
|
position: relative;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2014-05-29 11:57:27 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Add some extra stuff to panels
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.panel {
|
2014-05-30 16:43:53 -04:00
|
|
|
@include border-radius(0px);
|
|
|
|
|
2014-05-29 12:32:19 -04:00
|
|
|
.panel-heading {
|
2014-05-30 16:43:53 -04:00
|
|
|
@include border-radius(0px);
|
2014-05-29 12:32:19 -04:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
|
|
|
|
.panel-head-actions {
|
|
|
|
position: relative;
|
|
|
|
top: -7px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2014-05-29 14:30:20 -04:00
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
form {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-actions {
|
|
|
|
margin-bottom: 0;
|
|
|
|
background: #FFF;
|
|
|
|
}
|
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
|
2014-06-02 11:58:00 -04:00
|
|
|
.panel-footer {
|
|
|
|
.pagination {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-05-30 16:43:53 -04:00
|
|
|
&.panel-small {
|
|
|
|
.panel-heading {
|
|
|
|
padding: 6px 15px;
|
2014-06-03 03:04:31 -04:00
|
|
|
font-size: 13px;
|
|
|
|
a {
|
|
|
|
color: #777;
|
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
}
|
|
|
|
}
|
2014-05-30 17:13:15 -04:00
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
|
2014-05-30 17:13:15 -04:00
|
|
|
.panel-default {
|
|
|
|
.panel-heading {
|
|
|
|
background-color: #EEE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-danger {
|
|
|
|
border-color: $border_danger;
|
|
|
|
.panel-heading {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: $bg_danger;
|
|
|
|
border-color: $border_danger;
|
2014-05-31 07:00:23 -04:00
|
|
|
a {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-05-30 17:13:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-success {
|
|
|
|
border-color: $border_success;
|
|
|
|
.panel-heading {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: $bg_success;
|
|
|
|
border-color: $border_success;
|
2014-05-31 07:00:23 -04:00
|
|
|
a {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-05-30 17:13:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-primary {
|
|
|
|
border-color: $border_primary;
|
|
|
|
.panel-heading {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: $bg_primary;
|
|
|
|
border-color: $border_primary;
|
2014-05-31 07:00:23 -04:00
|
|
|
a {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-05-30 17:13:15 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-warning {
|
|
|
|
border-color: $border_warning;
|
|
|
|
.panel-heading {
|
|
|
|
color: #ffffff;
|
|
|
|
background-color: $bg_warning;
|
|
|
|
border-color: $border_warning;
|
2014-05-31 07:00:23 -04:00
|
|
|
a {
|
|
|
|
color: #FFF;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
}
|
2014-05-29 11:57:27 -04:00
|
|
|
}
|