Commit 21b66fc7 authored by Kushal Pandya's avatar Kushal Pandya

Update styles for Geo Nodes app

parent 30d7ea14
...@@ -11,55 +11,44 @@ ...@@ -11,55 +11,44 @@
.page-subtitle { .page-subtitle {
margin-bottom: 24px; margin-bottom: 24px;
} }
}
.geo-node-status {
td {
vertical-align: top;
}
.help-block { .health-message {
width: 135px; padding: 4px 8px 1px;
text-align: right; background-color: $red-100;
} color: $red-500;
border-radius: $border-radius-default;
.node-info {
font-weight: $gl-font-weight-bold;
}
.event-timestamp {
font-weight: normal; font-weight: normal;
color: $theme-gray-800;
} }
}
.sync-status { .well-list.geo-nodes {
font-weight: normal; li {
position: relative;
svg {
vertical-align: middle;
}
.sync-status-icon svg, &:hover {
.sync-status-timestamp { background: $white-light;
fill: $theme-gray-700;
color: $theme-gray-700;
} }
&.sync-status-failure { &.node-disabled,
.sync-status-icon svg, &.node-disabled:hover {
.sync-status-timestamp { background-color: $gray-lightest;
fill: $red-700;
color: $red-700;
}
} }
} }
} }
.advanced-geo-node-status-toggler { .node-badge {
display: block; color: $white-light;
display: inline-block;
margin-left: 5px;
padding: 0 5px;
border-radius: 3px;
.show-advance-chevron { &.primary-node {
margin-top: 2px; background-color: $blue-300;
}
&.current-node {
background-color: $green-400;
} }
} }
...@@ -71,6 +60,10 @@ ...@@ -71,6 +60,10 @@
color: $gl-danger; color: $gl-danger;
} }
.geo-node-offline {
color: $theme-gray-950;
}
.geo-node-disabled { .geo-node-disabled {
color: $gray-darkest; color: $gray-darkest;
} }
...@@ -79,84 +72,102 @@ ...@@ -79,84 +72,102 @@
color: $gray-darkest; color: $gray-darkest;
} }
.well-list.geo-nodes { .geo-nodes {
li { .node-url-warning {
position: relative; fill: $gl-warning;
}
}
&:hover { .node-details-list {
background: $white-light; .node-detail-item {
margin-top: 14px;
&:first-child {
margin-top: 0;
} }
&.node-disabled, .node-detail-title,
&.node-disabled:hover { .node-detail-value {
background-color: $gray-lightest; padding-left: $gl-col-padding;
padding-right: $gl-col-padding;
} }
.node-detail-title {
color: $theme-gray-700;
} }
}
.advanced-geo-node-status-container { .node-detail-value {
.btn-link { margin-top: 4px;
padding-left: 0; }
padding-right: 0;
border-left: 0;
border-right: 0;
.fa { .node-detail-value-bold {
margin-left: 3px; font-weight: $gl-font-weight-bold;
} }
.node-detail-value-error {
color: $gl-danger;
} }
}
.node-info { .btn-show-advanced {
color: $gl-text-color; padding-left: 0;
} border: 0;
}
.geo-health { .node-health-status {
display: inline-block; display: inline-flex;
margin-top: 5px;
white-space: pre-wrap;
}
.geo-nodes { .status-text {
.health-message { line-height: 18px;
padding: 1px 8px; }
background-color: $red-100;
color: $red-500;
border-radius: $border-radius-default;
font-weight: 500;
} }
}
.geo-node-mismatch { .node-sync-settings {
color: $gl-danger; display: inline-flex;
} cursor: pointer;
.node-badge { .sync-status-icon {
color: $white-light; margin-top: 2px;
display: inline-block; fill: $theme-gray-700;
margin-left: 5px; }
padding: 0 5px; }
border-radius: 3px;
&.primary-node { .sync-status-event-info,
background-color: $blue-300; .event-status-timestamp {
color: $theme-gray-700;
} }
&.current-node { .event-status-timestamp {
background-color: $green-400; cursor: pointer;
}
} }
} }
.node-actions { .geo-node-actions {
margin-top: 10px; display: inline-flex;
justify-content: center;
float: right;
.node-action-container {
margin: 0 5px;
&:last-child {
margin-right: $gl-padding;
}
}
@media (max-width: $screen-sm-max) {
display: block;
width: 100%;
@media (min-width: $screen-md-min) { .node-action-container {
position: absolute; width: 100%;
right: 15px; margin: 0;
top: 0; margin-top: 10px;
padding: 0 10px;
} }
.btn:not(:first-of-type) { .btn-node-action {
margin-left: 10px; width: 100%;
}
} }
} }
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