2017-06-07 04:11:44 -04:00
|
|
|
@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 {
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom: 1px solid $gray-darker;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2017-06-21 03:49:38 -04:00
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2017-06-07 04:11:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
margin-right: -20px;
|
|
|
|
padding-right: 130px;
|
|
|
|
animation: collapseMaxHeight 300ms ease-out;
|
|
|
|
|
|
|
|
&.expanded {
|
|
|
|
max-height: none;
|
2017-06-07 07:59:46 -04:00
|
|
|
overflow-y: visible;
|
2017-06-07 04:11:44 -04:00
|
|
|
animation: expandMaxHeight 300ms ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.no-animate {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-25 09:42:17 -04:00
|
|
|
.settings-list-icon {
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2016-04-25 09:42:17 -04:00
|
|
|
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-05-16 11:42:29 -04:00
|
|
|
|
|
|
|
.warning-title {
|
|
|
|
color: $gl-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
.danger-title {
|
|
|
|
color: $gl-danger;
|
|
|
|
}
|
2016-11-21 17:11:21 -05:00
|
|
|
|
|
|
|
.service-settings .control-label {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2017-01-06 11:00:46 -05:00
|
|
|
|
2017-03-01 11:59:03 -05:00
|
|
|
.token-token-container {
|
2017-02-23 12:47:06 -05:00
|
|
|
#impersonation-token-token {
|
2017-01-06 11:00:46 -05:00
|
|
|
width: 80%;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-clipboard {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-26 10:25:37 -04:00
|
|
|
|
|
|
|
.prometheus-metrics-monitoring {
|
|
|
|
.panel {
|
2017-05-31 07:39:42 -04:00
|
|
|
.panel-toggle {
|
2017-06-01 11:54:56 -04:00
|
|
|
width: 14px;
|
|
|
|
}
|
2017-05-31 07:39:42 -04:00
|
|
|
|
2017-06-01 11:54:56 -04:00
|
|
|
.badge {
|
|
|
|
font-size: inherit;
|
2017-05-31 07:39:42 -04:00
|
|
|
}
|
|
|
|
|
2017-05-26 10:25:37 -04:00
|
|
|
.panel-heading .badge-count {
|
|
|
|
color: $white-light;
|
|
|
|
background: $common-gray-dark;
|
2017-05-31 07:39:42 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.panel-body {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-31 09:35:54 -04:00
|
|
|
.flash-container {
|
|
|
|
margin-bottom: 0;
|
2017-06-01 11:54:56 -04:00
|
|
|
cursor: default;
|
2017-05-31 09:35:54 -04:00
|
|
|
|
|
|
|
.flash-notice {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-05-26 10:25:37 -04:00
|
|
|
}
|
|
|
|
|
2017-05-31 07:39:42 -04:00
|
|
|
.loading-metrics,
|
2017-05-26 10:25:37 -04:00
|
|
|
.empty-metrics {
|
2017-06-01 03:55:48 -04:00
|
|
|
padding: 30px 10px;
|
2017-05-26 10:25:37 -04:00
|
|
|
|
|
|
|
p,
|
|
|
|
.btn {
|
|
|
|
margin-top: 10px;
|
2017-06-01 03:55:48 -04:00
|
|
|
margin-bottom: 0;
|
2017-05-26 10:25:37 -04:00
|
|
|
}
|
|
|
|
}
|
2017-05-31 07:39:42 -04:00
|
|
|
|
2017-06-01 11:54:56 -04:00
|
|
|
.loading-metrics .metrics-load-spinner {
|
2017-06-01 03:55:48 -04:00
|
|
|
color: $loading-color;
|
|
|
|
}
|
|
|
|
|
2017-05-31 07:39:42 -04:00
|
|
|
.metrics-list {
|
2017-06-01 11:54:56 -04:00
|
|
|
margin-bottom: 0;
|
2017-05-31 07:39:42 -04:00
|
|
|
|
|
|
|
li {
|
2017-06-01 11:54:56 -04:00
|
|
|
padding: $gl-padding;
|
2017-05-31 07:39:42 -04:00
|
|
|
|
2017-06-01 11:54:56 -04:00
|
|
|
.badge {
|
|
|
|
margin-left: 5px;
|
2017-05-31 07:39:42 -04:00
|
|
|
background: $badge-bg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ensure we don't add border if there's only single li */
|
|
|
|
li + li {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
2017-05-31 10:47:31 -04:00
|
|
|
}
|