Skip to content

Commit 96a11df

Browse files
sergiocWojcikMike
authored andcommitted
Align monitoring screen styles (#559)
* small metrics graphs styling * small graph tweaks * finishing touches * message type rendering fixes * message formatting tweaks * more message type fixes * yet another message type dipslay fix (it's final I promise :P) * removing illegal comments from css
1 parent e0d148b commit 96a11df

File tree

5 files changed

+294
-181
lines changed

5 files changed

+294
-181
lines changed

src/ServicePulse.Host/app/css/particular.css

Lines changed: 114 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,10 @@ footer a:hover { font-weight: normal; }
128128
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
129129
-webkit-transition: box-shadow 0.25s ease 0s;
130130
background-color: #fff;
131-
border-color: #eee;
132-
/*border-left-color: #666666;*/
133-
border-radius: 2px;
134-
border-style: solid;
135-
border-width: 1px 1px 1px 1px;
136-
box-shadow: 0 2px 5px 0 #000000, 0 2px 10px 0 #000000;
137-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
131+
border-top: 1px solid #eee;
132+
border-right: 1px solid #fff;
133+
border-bottom: 1px solid #eee;
134+
border-left: 1px solid #fff;
138135
margin: 0.5rem 0 1rem;
139136
margin-bottom: 5px;
140137
padding: 20px;
@@ -442,7 +439,7 @@ h6 a:hover {
442439
}
443440

444441
.tabs {
445-
border-bottom: 1px solid #ced6d3;
442+
border-bottom: 1px solid #E6E6E6;
446443
padding: 0;
447444
}
448445

@@ -462,11 +459,14 @@ h6 a:hover {
462459
.tabs h5.active a { color: #181919; }
463460

464461
.tabs a {
465-
color: #929e9e;
462+
color: #00a3c4;
466463
cursor: pointer;
464+
font-size: 16px;
467465
}
468466

469-
.tabs a:hover { color: #00a3c4; }
467+
.tabs a:hover {
468+
color: #00729c;
469+
}
470470

471471
.tabs h5.active > a:hover {
472472
color: #181919;
@@ -568,6 +568,7 @@ div.btn-toolbar, div.form-inline { margin-bottom: 12px; }
568568
.control-label {
569569
float: left;
570570
padding-top: 6px;
571+
margin-right: 6px;
571572
}
572573

573574
.row.filter-toolbar, .row.action-toolbar {
@@ -585,12 +586,6 @@ div.btn-toolbar, div.form-inline { margin-bottom: 12px; }
585586
display: inline-block;
586587
}
587588

588-
589-
.control-label {
590-
font-weight: normal;
591-
margin-right: 6px;
592-
}
593-
594589
.sp-btn-menu {
595590
background: none;
596591
border: none;
@@ -1472,6 +1467,10 @@ span.metadata.danger, i.fa.fa-trash-o.danger, sp-moment.danger {
14721467
width: 30% !important;
14731468
}
14741469

1470+
.table-head-row .col-xl-8, .endpoint-row .col-xl-8 {
1471+
width: 44% !important;
1472+
}
1473+
14751474
.table-head-row .col-xl-1, .endpoint-row .col-xl-1 {
14761475
width: 14% !important;
14771476
}
@@ -1484,7 +1483,7 @@ hr.top-separator {
14841483
.large-graphs {
14851484
width: 100%;
14861485
background-color: white;
1487-
margin-bottom: 30px;
1486+
margin-bottom: 34px;
14881487
padding: 30px 0;
14891488
}
14901489

@@ -1501,15 +1500,101 @@ hr.top-separator {
15011500

15021501
.graph svg {
15031502
position: relative;
1504-
left: -10px;
1503+
}
1504+
1505+
.graph * .graph-data-line {
1506+
stroke-width: 1.75px;
1507+
fill: none;
1508+
}
1509+
1510+
.graph * .graph-data-fill {
1511+
opacity: 0.8;
1512+
}
1513+
1514+
.graph * .graph-avg-line {
1515+
stroke-width: 1px;
1516+
opacity: 0.5;
1517+
stroke-dasharray: 5,5;
1518+
}
1519+
1520+
.graph.queue-length * .graph-data-line {
1521+
stroke: #EA7E00;
1522+
}
1523+
1524+
.graph.queue-length * .graph-data-fill {
1525+
fill: #EADDCE;
1526+
stroke: #EADDCE;
1527+
}
1528+
1529+
.graph.queue-length * .graph-avg-line {
1530+
stroke: #EA7E00;
1531+
}
1532+
1533+
.graph.throughput * .graph-data-line {
1534+
stroke: #CC1252;
1535+
}
1536+
1537+
.graph.throughput * .graph-data-fill {
1538+
fill: #E9C4D1;
1539+
stroke: #E9C4D1;
1540+
}
1541+
1542+
.graph.throughput * .graph-avg-line {
1543+
stroke: #CC1252;
1544+
}
1545+
1546+
.graph.retries * .graph-data-line {
1547+
stroke: #176397;
1548+
}
1549+
1550+
.graph.retries * .graph-data-fill {
1551+
fill: #CADCE8;
1552+
stroke: #CADCE8;
1553+
}
1554+
1555+
.graph.retries * .graph-avg-line {
1556+
stroke: #176397;
1557+
}
1558+
1559+
.graph.processing-time * .graph-data-line {
1560+
stroke: #258135;
1561+
}
1562+
1563+
.graph.processing-time * .graph-data-fill {
1564+
fill: #BEE6C5;
1565+
stroke: #BEE6C5;
1566+
}
1567+
1568+
.graph.processing-time * .graph-avg-line {
1569+
stroke: #258135;
1570+
}
1571+
1572+
.graph.critical-time * .graph-data-line {
1573+
stroke: #2700CB;
1574+
}
1575+
1576+
.graph.critical-time * .graph-data-fill {
1577+
fill: #C4BCE5;
1578+
stroke: #C4BCE5;
1579+
}
1580+
1581+
.graph.critical-time * .graph-avg-line {
1582+
stroke: #2700CB;
15051583
}
15061584

15071585
.sparkline-value {
1508-
top: 10px;
1586+
top: 16px;
1587+
left: 6px;
15091588
position: relative;
15101589
font-weight: normal;
15111590
}
15121591

1592+
.sparkline-value span {
1593+
color: #777f7f;
1594+
text-transform: uppercase;
1595+
font-size: 11px;
1596+
}
1597+
15131598
.graph-area {
15141599
width: 33%;
15151600
box-sizing: border-box;
@@ -1538,7 +1623,7 @@ hr.top-separator {
15381623
.endpoint-row {
15391624
height: 60px;
15401625
position: relative;
1541-
padding: 8px 0 4px;
1626+
padding: 2px 0 4px;
15421627
}
15431628

15441629
.endpoint-row .graphicon {
@@ -1592,7 +1677,7 @@ hr.top-separator {
15921677
}
15931678

15941679
.table-head-row p {
1595-
font-size: 11.5px;
1680+
font-size: 12px;
15961681
text-transform: uppercase;
15971682
color: #181919;
15981683
}
@@ -1606,7 +1691,7 @@ p.col-sort-active {
16061691
}
16071692

16081693
.endpoint-name {
1609-
margin-top: 9px;
1694+
margin-top: 15px;
16101695
}
16111696

16121697
.endpoint-name a:hover {
@@ -1683,27 +1768,23 @@ p.col-sort-active {
16831768
.metric-digest-value {
16841769
font-weight: bold;
16851770
font-size: 22px;
1686-
// width: 180px;
1687-
// text-align: right;
16881771
}
16891772

16901773
.metric-digest-value-suffix {
16911774
font-weight: normal;
16921775
font-size: 14px;
16931776
display: inline-block;
16941777
text-transform: uppercase;
1695-
// text-align: left;
1696-
// width: 90px;
1697-
font-size: 1.3em;
16981778
}
16991779

1700-
.message-type {
1701-
font-size: 1.3em;
1702-
font-weight: bold;
1780+
.message-type-label {
1781+
margin-top: -8px;
17031782
}
17041783

17051784
.message-type-part {
1706-
margin-right: 20px;
1785+
margin-right: 24px;
1786+
color: #8C8C8C;
1787+
font-weight: normal;
1788+
font-size: 14px;
17071789
float: left;
1708-
color: gray;
1709-
}
1790+
}

0 commit comments

Comments
 (0)