2017-09-10 17:25:29 +05:30
|
|
|
@keyframes expandMaxHeight {
|
|
|
|
0% {
|
|
|
|
max-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
99% {
|
|
|
|
max-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes collapseMaxHeight {
|
|
|
|
0% {
|
|
|
|
max-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
max-height: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings {
|
2019-07-07 11:18:12 +05:30
|
|
|
// border-top for each item except the top one
|
2019-12-04 20:38:33 +05:30
|
|
|
border-top: 1px solid $border-color;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 10px;
|
2019-12-04 20:38:33 +05:30
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ div .settings:first-of-type {
|
|
|
|
margin-top: 0;
|
|
|
|
border-top: 1px solid $border-color;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.animating {
|
|
|
|
overflow: hidden;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-header {
|
|
|
|
position: relative;
|
2021-03-08 18:12:59 +05:30
|
|
|
padding: 24px 110px 0 0;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
.settings-title {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 6px;
|
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-content {
|
|
|
|
max-height: 1px;
|
2018-11-08 19:23:39 +05:30
|
|
|
overflow-y: hidden;
|
2017-09-10 17:25:29 +05:30
|
|
|
padding-right: 110px;
|
|
|
|
animation: collapseMaxHeight 300ms ease-out;
|
2018-03-17 18:26:18 +05:30
|
|
|
// Keep the section from expanding when we scroll over it
|
|
|
|
pointer-events: none;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.settings.expanded & {
|
2017-09-10 17:25:29 +05:30
|
|
|
max-height: none;
|
|
|
|
overflow-y: visible;
|
|
|
|
animation: expandMaxHeight 300ms ease-in;
|
2018-03-17 18:26:18 +05:30
|
|
|
// Reset and allow clicks again when expanded
|
|
|
|
pointer-events: auto;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.settings.no-animate & {
|
2017-09-10 17:25:29 +05:30
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@media(max-width: map-get($grid-breakpoints, md)-1) {
|
2017-09-10 17:25:29 +05:30
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: ' ';
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-section {
|
|
|
|
margin-bottom: 32px;
|
|
|
|
padding: 16px;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bs-callout,
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check:first-child,
|
|
|
|
.form-text.text-muted {
|
2017-09-10 17:25:29 +05:30
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.settings-list-icon {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color-secondary;
|
2018-11-20 20:47:30 +05:30
|
|
|
font-size: $default-icon-size;
|
2016-06-02 11:05:42 +05:30
|
|
|
line-height: 42px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-message {
|
|
|
|
padding: 5px;
|
|
|
|
line-height: 1.3;
|
2020-11-24 15:15:51 +05:30
|
|
|
color: $gray-900;
|
|
|
|
background-color: $orange-50;
|
2018-11-20 20:47:30 +05:30
|
|
|
border: 1px solid $orange-200;
|
2016-06-02 11:05:42 +05:30
|
|
|
border-radius: $border-radius-base;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
2020-04-08 14:13:33 +05:30
|
|
|
.empty-variables {
|
|
|
|
padding: 20px 0;
|
|
|
|
}
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.warning-title {
|
2020-11-24 15:15:51 +05:30
|
|
|
color: $gray-900;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.danger-title {
|
2018-11-20 20:47:30 +05:30
|
|
|
color: $red-500;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.integration-settings-form {
|
2018-11-08 19:23:39 +05:30
|
|
|
.card.card-body,
|
|
|
|
.info-well {
|
2018-03-17 18:26:18 +05:30
|
|
|
padding: $gl-padding / 2;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-container {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.visibility-level-setting {
|
2018-11-08 19:23:39 +05:30
|
|
|
.form-check {
|
2018-03-17 18:26:18 +05:30
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.option-title {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
display: inline-block;
|
|
|
|
color: $gl-text-color;
|
2019-03-02 22:35:43 +05:30
|
|
|
vertical-align: top;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.option-description,
|
|
|
|
.option-disabled-reason {
|
2020-10-24 23:57:45 +05:30
|
|
|
margin-left: 20px;
|
2018-03-17 18:26:18 +05:30
|
|
|
color: $project-option-descr-color;
|
2019-03-02 22:35:43 +05:30
|
|
|
margin-top: -5px;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.option-disabled-reason {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2021-02-22 17:27:13 +05:30
|
|
|
svg {
|
2018-03-17 18:26:18 +05:30
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-description {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-disabled-reason {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
.nested-settings {
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-btn-group {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.input-large {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-list > .settings-flex-row {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.float-right {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.prometheus-metrics-monitoring {
|
2018-11-08 19:23:39 +05:30
|
|
|
.card {
|
|
|
|
.card-toggle {
|
2017-09-10 17:25:29 +05:30
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.badge.badge-pill {
|
2018-03-27 19:54:05 +05:30
|
|
|
font-size: 12px;
|
|
|
|
line-height: 12px;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.card-header .label-count {
|
2020-04-22 19:07:51 +05:30
|
|
|
color: $white;
|
2017-09-10 17:25:29 +05:30
|
|
|
background: $common-gray-dark;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.card-body {
|
2017-09-10 17:25:29 +05:30
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash-container {
|
|
|
|
margin-bottom: 0;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
.flash-notice {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
.custom-monitored-metrics {
|
2019-10-12 21:52:04 +05:30
|
|
|
.card-header {
|
2019-07-07 11:18:12 +05:30
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-metric {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-metric-link-bold {
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.loading-metrics .metrics-load-spinner {
|
2020-11-24 15:15:51 +05:30
|
|
|
color: $gray-700;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.metrics-list {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: $gl-padding;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.badge.badge-pill {
|
2017-09-10 17:25:29 +05:30
|
|
|
margin-left: 5px;
|
|
|
|
background: $badge-bg;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/* Ensure we don't add border if there's only single li */
|
|
|
|
+ li {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
.saml-settings.info-well {
|
|
|
|
.form-control[readonly] {
|
2020-04-22 19:07:51 +05:30
|
|
|
background: $white;
|
2019-07-07 11:18:12 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.modal-doorkeepr-auth {
|
|
|
|
.modal-body {
|
|
|
|
padding: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
.created-deploy-token-container {
|
|
|
|
.deploy-token-field {
|
|
|
|
width: 90%;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-clipboard {
|
2020-04-22 19:07:51 +05:30
|
|
|
background-color: $white;
|
2020-07-28 23:09:34 +05:30
|
|
|
border: 1px solid $gray-100;
|
2018-05-09 12:01:36 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.deploy-token-help-block {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2018-11-20 20:47:30 +05:30
|
|
|
|
|
|
|
.mirror-error-badge {
|
|
|
|
background-color: $red-400;
|
|
|
|
border-radius: $border-radius-default;
|
2020-04-22 19:07:51 +05:30
|
|
|
color: $white;
|
2018-11-20 20:47:30 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.push-pull-table {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2020-04-08 14:13:33 +05:30
|
|
|
|
2020-10-24 23:57:45 +05:30
|
|
|
.ci-variable-table,
|
|
|
|
.deploy-freeze-table {
|
2020-04-08 14:13:33 +05:30
|
|
|
table {
|
|
|
|
thead {
|
|
|
|
border-bottom: 1px solid $white-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
background-color: transparent;
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
border: 0;
|
|
|
|
}
|
2020-11-24 15:15:51 +05:30
|
|
|
|
|
|
|
// When tables are "stacked", restore td padding
|
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)) {
|
|
|
|
td {
|
|
|
|
padding-left: $gl-spacing-scale-5;
|
|
|
|
}
|
|
|
|
}
|
2020-04-08 14:13:33 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: map-get($grid-breakpoints, lg)-1) {
|
|
|
|
.truncated-container {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|