Commit 705b18cc authored by Kushal Pandya's avatar Kushal Pandya

Update styles for new Geo admin page layout

parent fc7b7d43
...@@ -11,40 +11,16 @@ ...@@ -11,40 +11,16 @@
.page-subtitle { .page-subtitle {
margin-bottom: 24px; margin-bottom: 24px;
} }
.health-message {
padding: 2px 8px;
background-color: $red-100;
color: $red-500;
border-radius: $border-radius-default;
font-weight: normal;
}
}
.well-list.geo-nodes {
li {
position: relative;
&:hover {
background: $white-light;
}
&.node-action-active {
pointer-events: none;
opacity: 0.5;
}
}
} }
.node-badge { .node-badge {
color: $white-light; color: $white-light;
display: inline-block; padding: 1px $gl-padding-8;
margin-left: 5px; font-size: $label-font-size;
padding: 0 5px; border-radius: $label-border-radius;
border-radius: 3px;
&.primary-node { &.primary-node {
background-color: $blue-300; background-color: $blue-600;
} }
&.current-node { &.current-node {
...@@ -72,30 +48,57 @@ ...@@ -72,30 +48,57 @@
color: $gray-darkest; color: $gray-darkest;
} }
.geo-nodes { .geo-node-item {
.node-status-icon-warning { .node-status-icon {
height: 35px;
}
.status-icon-warning {
fill: $gl-warning; fill: $gl-warning;
} }
.node-status-icon-failure { .status-icon-failure {
fill: $gl-danger; fill: $gl-danger;
} }
} }
.node-details-list { .geo-node-item {
.node-detail-item { .panel-body {
margin-top: 14px; padding: 0;
&:first-child { .node-detail-section {
margin-top: 0; padding: $gl-padding 0;
} }
.node-detail-title, .node-detail-section {
.node-detail-value { &.sync-section,
padding-left: $gl-col-padding; &.verification-section,
padding-right: $gl-col-padding; &.other-section {
border-top: 1px solid $border-color;
}
.btn-show-section {
padding: 0;
}
}
.node-health-message-container {
max-height: $dropdown-max-height;
overflow-y: auto;
.node-health-message {
margin-bottom: 0;
padding: 2px $gl-padding-8;
background-color: $red-100;
color: $red-500;
} }
}
}
}
.node-detail-section {
.detail-section-item,
.section-items-container {
.node-detail-title { .node-detail-title {
color: $theme-gray-700; color: $theme-gray-700;
} }
...@@ -111,39 +114,22 @@ ...@@ -111,39 +114,22 @@
.node-detail-value-error { .node-detail-value-error {
color: $gl-danger; color: $gl-danger;
} }
.btn-show-advanced {
padding-left: 0;
border: 0;
}
.node-health-status {
display: inline-flex;
.status-text {
line-height: 18px;
}
} }
.node-sync-settings { .section-items-container {
display: inline-flex; .node-detail-item {
cursor: pointer; &:first-child {
margin-top: 0;
.sync-status-icon {
margin-top: 2px;
fill: $theme-gray-700;
} }
} }
.sync-status-event-info,
.event-status-timestamp {
color: $theme-gray-700;
} }
}
.event-status-timestamp { .node-health-status,
cursor: pointer; .node-sync-settings,
} .node-detail-section .btn-show-section {
} display: flex;
align-items: center;
} }
.geo-node-actions { .geo-node-actions {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment