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 {
|
|
|
|
border-bottom: 1px solid $gray-darker;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
&.animating {
|
|
|
|
overflow: hidden;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-header {
|
|
|
|
position: relative;
|
|
|
|
padding: 20px 110px 10px 0;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 6px;
|
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-content {
|
|
|
|
max-height: 1px;
|
|
|
|
overflow-y: scroll;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: $screen-sm-max) {
|
|
|
|
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,
|
|
|
|
.checkbox:first-child,
|
|
|
|
.help-block {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-light {
|
|
|
|
margin-bottom: 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;
|
2016-06-02 11:05:42 +05:30
|
|
|
font-size: $settings-icon-size;
|
|
|
|
line-height: 42px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings-message {
|
|
|
|
padding: 5px;
|
|
|
|
line-height: 1.3;
|
|
|
|
color: $warning-message-color;
|
|
|
|
background-color: $warning-message-bg;
|
|
|
|
border: 1px solid $warning-message-border;
|
|
|
|
border-radius: $border-radius-base;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
.warning-title {
|
|
|
|
color: $gl-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.danger-title {
|
|
|
|
color: $gl-danger;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.service-settings .control-label {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.integration-settings-form {
|
|
|
|
.well {
|
|
|
|
padding: $gl-padding / 2;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.svg-container {
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.token-token-container {
|
|
|
|
#impersonation-token-token {
|
|
|
|
width: 80%;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-clipboard {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.visibility-level-setting {
|
|
|
|
.radio {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
i.fa {
|
|
|
|
margin: 2px 0;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-title {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
display: inline-block;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-description,
|
|
|
|
.option-disabled-reason {
|
|
|
|
margin-left: 29px;
|
|
|
|
color: $project-option-descr-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-disabled-reason {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
i.fa {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-description {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.option-disabled-reason {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.prometheus-metrics-monitoring {
|
|
|
|
.panel {
|
|
|
|
.panel-toggle {
|
|
|
|
width: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge {
|
2018-03-27 19:54:05 +05:30
|
|
|
font-size: 12px;
|
|
|
|
line-height: 12px;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.panel-heading .badge-count {
|
|
|
|
color: $white-light;
|
|
|
|
background: $common-gray-dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash-container {
|
|
|
|
margin-bottom: 0;
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
.flash-notice {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-metrics,
|
|
|
|
.empty-metrics {
|
|
|
|
padding: 30px 10px;
|
|
|
|
|
|
|
|
p,
|
|
|
|
.btn {
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-metrics .metrics-load-spinner {
|
|
|
|
color: $loading-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.metrics-list {
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: $gl-padding;
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
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
|
|
|
|
|
|
|
.modal-doorkeepr-auth,
|
|
|
|
.doorkeeper-app-form {
|
|
|
|
.scope-description {
|
|
|
|
color: $theme-gray-700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-doorkeepr-auth {
|
|
|
|
.modal-body {
|
|
|
|
padding: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doorkeeper-app-form {
|
|
|
|
.scope-description {
|
|
|
|
margin: 0 0 5px 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.deprecated-service {
|
|
|
|
cursor: default;
|
|
|
|
}
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
.personal-access-tokens-never-expires-label {
|
|
|
|
color: $note-disabled-comment-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.created-deploy-token-container {
|
|
|
|
.deploy-token-field {
|
|
|
|
width: 90%;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-clipboard {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deploy-token-help-block {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|