2018-04-10 12:23:10 -04:00
|
|
|
/*
|
|
|
|
* Scss to help with bootstrap 3 to 4 migration
|
|
|
|
*/
|
|
|
|
|
2018-04-06 18:23:46 -04:00
|
|
|
$text-color: $gl-text-color;
|
|
|
|
|
|
|
|
$brand-primary: $gl-primary;
|
|
|
|
$brand-success: $gl-success;
|
|
|
|
$brand-info: $gl-info;
|
|
|
|
$brand-warning: $gl-warning;
|
|
|
|
$brand-danger: $gl-danger;
|
|
|
|
|
|
|
|
$border-radius-base: 3px !default;
|
|
|
|
|
|
|
|
$modal-body-bg: $white-light;
|
|
|
|
$input-border: $border-color;
|
|
|
|
$input-border-focus: $focus-border-color;
|
2018-04-09 12:28:30 -04:00
|
|
|
|
|
|
|
$padding-base-vertical: $gl-vert-padding;
|
|
|
|
$padding-base-horizontal: $gl-padding;
|
2018-04-10 12:23:10 -04:00
|
|
|
|
|
|
|
html {
|
|
|
|
// Override default font size used in bs4
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2018-04-16 13:28:52 -04:00
|
|
|
button,
|
|
|
|
html [type="button"],
|
|
|
|
[type="reset"],
|
|
|
|
[type="submit"] {
|
2018-04-12 18:48:24 -04:00
|
|
|
// Override bootstrap reboot
|
|
|
|
-webkit-appearance: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
[role="button"] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-04-13 15:23:37 -04:00
|
|
|
.form-group.row .col-form-label {
|
|
|
|
// Bootstrap 4 aligns labels to the left
|
|
|
|
// for horizontal forms
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2018-04-18 13:17:06 -04:00
|
|
|
table {
|
|
|
|
// Remove any table border lines
|
|
|
|
border-spacing: 0;
|
|
|
|
}
|
|
|
|
|
2018-04-10 12:23:10 -04:00
|
|
|
// Polyfill deprecated selectors
|
|
|
|
|
|
|
|
.hidden {
|
2018-04-10 16:38:14 -04:00
|
|
|
display: none !important;
|
|
|
|
visibility: hidden !important;
|
2018-04-10 12:23:10 -04:00
|
|
|
}
|
2018-04-10 16:10:17 -04:00
|
|
|
|
2018-04-19 20:15:38 -04:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-04-10 16:10:17 -04:00
|
|
|
.dropdown-toggle::after {
|
|
|
|
// Remove bootstrap's dropdown caret
|
|
|
|
display: none;
|
|
|
|
}
|
2018-04-13 15:46:38 -04:00
|
|
|
|
|
|
|
.badge {
|
|
|
|
padding: 4px 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.badge-gray {
|
|
|
|
background-color: $label-gray-bg;
|
|
|
|
color: $gl-text-color;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-inverse {
|
|
|
|
background-color: $label-inverse-bg;
|
|
|
|
}
|
|
|
|
}
|
2018-04-13 16:06:52 -04:00
|
|
|
|
|
|
|
.divider {
|
|
|
|
@extend .dropdown-divider;
|
|
|
|
}
|
2018-04-13 16:51:54 -04:00
|
|
|
|
|
|
|
.info-well {
|
|
|
|
background: $theme-gray-50;
|
|
|
|
color: $gl-text-color;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
.well-segment {
|
|
|
|
padding: 16px;
|
|
|
|
|
|
|
|
&:not(:last-of-type) {
|
|
|
|
border-bottom: 1px solid $well-inner-border;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-04-17 12:13:18 -04:00
|
|
|
|
|
|
|
.card {
|
|
|
|
&.card-without-border {
|
2018-04-17 13:20:11 -04:00
|
|
|
@extend .border-0;
|
2018-04-17 12:13:18 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.card-without-margin {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-04-18 15:55:36 -04:00
|
|
|
|
|
|
|
&.bg-light {
|
|
|
|
@extend .border-0;
|
|
|
|
}
|
2018-04-17 12:13:18 -04:00
|
|
|
}
|