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 {
width: 135px;
text-align: right;
}
.node-info {
font-weight: $gl-font-weight-bold;
}
.event-timestamp { .health-message {
padding: 4px 8px 1px;
background-color: $red-100;
color: $red-500;
border-radius: $border-radius-default;
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;
} }
}
}
.advanced-geo-node-status-container { .node-detail-title {
.btn-link { color: $theme-gray-700;
padding-left: 0; }
padding-right: 0;
border-left: 0;
border-right: 0;
.fa { .node-detail-value {
margin-left: 3px; margin-top: 4px;
} }
}
}
.node-info { .node-detail-value-bold {
color: $gl-text-color; font-weight: $gl-font-weight-bold;
} }
.geo-health { .node-detail-value-error {
display: inline-block; color: $gl-danger;
margin-top: 5px; }
white-space: pre-wrap;
}
.geo-nodes { .btn-show-advanced {
.health-message { padding-left: 0;
padding: 1px 8px; border: 0;
background-color: $red-100; }
color: $red-500;
border-radius: $border-radius-default;
font-weight: 500;
}
}
.geo-node-mismatch { .node-health-status {
color: $gl-danger; display: inline-flex;
}
.node-badge { .status-text {
color: $white-light; line-height: 18px;
display: inline-block; }
margin-left: 5px; }
padding: 0 5px;
border-radius: 3px;
&.primary-node { .node-sync-settings {
background-color: $blue-300; display: inline-flex;
} cursor: pointer;
&.current-node { .sync-status-icon {
background-color: $green-400; margin-top: 2px;
fill: $theme-gray-700;
}
}
.sync-status-event-info,
.event-status-timestamp {
color: $theme-gray-700;
}
.event-status-timestamp {
cursor: pointer;
}
} }
} }
.node-actions { .geo-node-actions {
margin-top: 10px; display: inline-flex;
justify-content: center;
float: right;
@media (min-width: $screen-md-min) { .node-action-container {
position: absolute; margin: 0 5px;
right: 15px;
top: 0; &:last-child {
margin-right: $gl-padding;
}
} }
.btn:not(:first-of-type) { @media (max-width: $screen-sm-max) {
margin-left: 10px; display: block;
width: 100%;
.node-action-container {
width: 100%;
margin: 0;
margin-top: 10px;
padding: 0 10px;
}
.btn-node-action {
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