2014-01-10 07:14:55 -05:00
|
|
|
/*
|
|
|
|
* Twitter bootstrap with GitLab customizations/additions
|
|
|
|
*
|
|
|
|
*/
|
2015-03-06 05:18:53 -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";
|
2015-03-06 05:18:53 -05:00
|
|
|
@import "bootstrap/buttons";
|
2014-01-01 14:42:42 -05:00
|
|
|
|
|
|
|
// Components
|
2016-12-07 18:05:42 -05:00
|
|
|
@import "bootstrap/component-animations";
|
2016-03-04 07:20:20 -05:00
|
|
|
// @import "bootstrap/dropdowns";
|
2014-01-01 14:42:42 -05:00
|
|
|
@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/alerts";
|
2016-12-21 13:35:16 -05:00
|
|
|
@import "bootstrap/progress-bars";
|
2014-01-01 14:42:42 -05:00
|
|
|
@import "bootstrap/list-group";
|
2016-12-16 13:56:38 -05:00
|
|
|
@import "bootstrap/wells";
|
2016-12-07 18:05:42 -05:00
|
|
|
@import "bootstrap/close";
|
|
|
|
@import "bootstrap/panels";
|
2014-01-01 14:42:42 -05:00
|
|
|
|
|
|
|
// Components w/ JavaScript
|
|
|
|
@import "bootstrap/modals";
|
|
|
|
@import "bootstrap/tooltip";
|
|
|
|
@import "bootstrap/popovers";
|
|
|
|
|
|
|
|
// Utility classes
|
|
|
|
.clearfix {
|
|
|
|
@include clearfix();
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.center-block {
|
|
|
|
@include center-block();
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.pull-right {
|
|
|
|
float: right !important;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.pull-left {
|
|
|
|
float: left !important;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.show {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.invisible {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.text-hide {
|
|
|
|
@include text-hide();
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.hidden {
|
|
|
|
display: none !important;
|
|
|
|
visibility: hidden !important;
|
|
|
|
}
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
.affix {
|
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
|
2016-09-28 07:46:11 -04:00
|
|
|
/*
|
|
|
|
* Fix <summary> elements on firefox
|
|
|
|
* See https://github.com/necolas/normalize.css/issues/640
|
|
|
|
* and https://github.com/twbs/bootstrap/issues/21060
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
summary {
|
|
|
|
display: list-item;
|
|
|
|
}
|
|
|
|
|
2014-01-01 14:42:42 -05:00
|
|
|
@import "bootstrap/responsive-utilities";
|
2014-01-03 16:28:00 -05:00
|
|
|
|
|
|
|
// Labels
|
|
|
|
.label {
|
2016-04-25 16:02:15 -04:00
|
|
|
padding: 4px 5px;
|
2016-12-22 14:22:57 -05:00
|
|
|
font-size: 12px;
|
2014-01-03 16:28:00 -05:00
|
|
|
font-style: normal;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2014-01-03 16:28:00 -05:00
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.label-gray {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $label-gray-bg;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2014-01-03 16:28:00 -05:00
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.label-inverse {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $label-inverse-bg;
|
2014-01-03 16:28:00 -05:00
|
|
|
}
|
|
|
|
}
|
2014-01-03 16:46:46 -05:00
|
|
|
|
2014-01-06 08:05:41 -05:00
|
|
|
|
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
|
|
|
|
*
|
|
|
|
*/
|
2015-09-09 17:38:27 -04:00
|
|
|
|
2014-05-29 11:57:27 -04:00
|
|
|
.panel {
|
2015-09-09 17:29:19 -04:00
|
|
|
box-shadow: none;
|
2015-03-22 23:16:25 -04:00
|
|
|
|
2014-05-29 14:30:20 -04:00
|
|
|
.panel-body {
|
2016-10-24 16:22:06 -04:00
|
|
|
form,
|
|
|
|
pre {
|
2014-05-29 14:30:20 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-actions {
|
2014-10-08 08:47:24 -04:00
|
|
|
margin: -15px;
|
|
|
|
margin-top: 18px;
|
2014-05-29 14:30:20 -04:00
|
|
|
}
|
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
|
2014-06-02 11:58:00 -04:00
|
|
|
.panel-footer {
|
|
|
|
.pagination {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2015-09-09 17:29:19 -04:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
min-width: 124px;
|
|
|
|
}
|
2015-11-22 10:23:56 -05:00
|
|
|
|
|
|
|
.btn-clipboard {
|
2016-03-16 19:29:47 -04:00
|
|
|
min-width: 0;
|
2015-11-22 10:23:56 -05:00
|
|
|
}
|
2014-06-02 11:58:00 -04:00
|
|
|
}
|
|
|
|
|
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;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2016-10-14 16:39:08 -04:00
|
|
|
|
2014-06-03 03:04:31 -04:00
|
|
|
a {
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $panel-heading-link-color;
|
2014-06-03 03:04:31 -04:00
|
|
|
}
|
2014-05-30 16:43:53 -04:00
|
|
|
}
|
|
|
|
}
|
2017-01-26 08:10:04 -05:00
|
|
|
|
|
|
|
&.panel-without-border {
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-03-24 13:00:12 -04:00
|
|
|
|
|
|
|
&.panel-without-margin {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-05-30 17:13:15 -04:00
|
|
|
}
|
2015-03-07 04:06:16 -05:00
|
|
|
|
2015-03-14 04:47:06 -04:00
|
|
|
.panel-succes .panel-heading,
|
|
|
|
.panel-info .panel-heading,
|
|
|
|
.panel-danger .panel-heading,
|
|
|
|
.panel-warning .panel-heading,
|
|
|
|
.panel-primary .panel-heading,
|
2015-03-07 04:06:16 -05:00
|
|
|
.alert {
|
2015-03-17 02:44:30 -04:00
|
|
|
a:not(.btn) {
|
2015-03-07 04:06:16 -05:00
|
|
|
@extend .alert-link;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $white-light;
|
2015-03-07 04:06:16 -05:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2015-03-12 13:04:09 -04:00
|
|
|
|
2016-05-24 19:40:27 -04:00
|
|
|
// Prevent datetimes on tooltips to break into two lines
|
|
|
|
.local-timeago {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|