Skip to content

Commit f427c3d

Browse files
author
Kristan Kenney
committed
Update design of statistics page
1 parent 552c12d commit f427c3d

File tree

6 files changed

+511
-482
lines changed

6 files changed

+511
-482
lines changed

web/css/src/themes/dark.css

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ a {
227227
.l-stat__col {
228228
}
229229

230+
.l-stat__col li {
231+
color: #b7b7b7 !important;
232+
}
233+
230234
.l-stat__col a {
231235
border-bottom: 4px solid #282828;
232236
background-color: #282828;
@@ -1480,6 +1484,35 @@ form#vstobjects.suspended {
14801484
border-right: 1px solid transparent !important;
14811485
}
14821486

1487+
.l-percent {
1488+
border-bottom: 2px solid #585858 !important;
1489+
}
1490+
1491+
.body-stats .l-unit__name {
1492+
color: #eee !important;
1493+
}
1494+
1495+
.statistics-count {
1496+
border-bottom: 1px dotted #707070;
1497+
border-right: 1px dotted #707070;
1498+
}
1499+
1500+
.body-stats .units .l-unit {
1501+
background-color: #282828 !important;
1502+
border-bottom: 1px solid #404040 !important;
1503+
border-left: 1px solid #282828 !important;
1504+
border-right: 1px solid #282828 !important;
1505+
}
1506+
1507+
.body-stats .units:hover .l-unit:hover {
1508+
background-color: #303030 !important;
1509+
color: #fff !important;
1510+
}
1511+
1512+
.body-stats .units:hover .l-unit:hover b,.body-stats .units:hover .l-unit:hover strong {
1513+
color: #fff !important;
1514+
}
1515+
14831516
@media screen and (max-width: 950px) {
14841517
.helper-container {
14851518
display: none;

web/css/src/themes/default.css

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,10 @@ a {
621621
font-size: 0.85em;
622622
}
623623

624+
.text-italic {
625+
font-style: italic;
626+
}
627+
624628
.check-label {
625629
display: inline-block;
626630
cursor: pointer;
@@ -1911,6 +1915,12 @@ div.l-content > div.l-separator:nth-of-type(4) {
19111915
padding-bottom: 15px;
19121916
}
19131917

1918+
.body-stats .l-unit__name {
1919+
margin-left: -42px;
1920+
margin-top: 12px;
1921+
color: #606060;
1922+
}
1923+
19141924
.l-unit__name.small {
19151925
font-size: 16px;
19161926
}
@@ -1956,7 +1966,13 @@ div.l-content > div.l-separator:nth-of-type(4) {
19561966

19571967
.l-unit__stats {
19581968
margin-bottom: 10px;
1959-
margin-left: 12%;
1969+
margin-left: 15%;
1970+
border-left: 1px solid transparent !important;
1971+
border-right: 1px solid transparent !important;
1972+
}
1973+
1974+
.lang-ar .l-unit__stats {
1975+
margin-left: 20%;
19601976
}
19611977

19621978
.l-unit__stats:hover {
@@ -1969,12 +1985,25 @@ div.l-content > div.l-separator:nth-of-type(4) {
19691985
.l-unit__stats table {
19701986
width: 100%;
19711987
table-layout: fixed;
1988+
margin-top: -54px;
1989+
margin-left: -20px;
19721990
}
19731991

19741992
.l-unit__stats td {
1975-
height: 22px;
1976-
padding-bottom: 3px;
1977-
vertical-align: top;
1993+
height: 32px;
1994+
padding-bottom: 4px;
1995+
vertical-align: middle;
1996+
}
1997+
.body-stats .l-unit__stat-col--left {
1998+
width: 130px;
1999+
}
2000+
2001+
.l-unit__stat-col.l-unit__stat-col--left.text-right.icon-pad-right.text-italic {
2002+
width: 180px;
2003+
}
2004+
2005+
.body-stats .l-unit__stat-col--right {
2006+
float: right;
19782007
}
19792008

19802009
.l-unit__stat-col--left a, .l-unit__stat-col--left a:visited {
@@ -2300,25 +2329,33 @@ body.mobile .l-icon-shortcuts {
23002329
}
23012330

23022331
.l-unit__stat-cols.graph {
2303-
width: 200px;
2332+
width: 242px;
23042333
}
23052334

23062335
.l-unit__stat-cols.tiny {
2307-
font-size:11px;
2308-
line-height: 19px;
2336+
font-size: 12px;
2337+
line-height: 18px;
23092338
}
23102339

23112340
.l-percent {
2312-
border-bottom: 1px dotted #ccc;
2313-
margin-top: 1px;
2314-
width: 200px;
2341+
border-bottom: 3px solid #e6e6e6;
2342+
margin-top: 2px;
2343+
width: 242px;
23152344
}
23162345

23172346
.l-percent__fill {
2318-
background-color: #aacc0d;
2347+
background-color: #54e000;
23192348
height: 3px;
23202349
position: relative;
2321-
bottom: -1px;
2350+
bottom: -3px;
2351+
}
2352+
2353+
.statistics-count {
2354+
min-width: 24px;
2355+
text-align: right;
2356+
border-bottom: 1px dotted #ddd;
2357+
border-right: 1px dotted #ddd;
2358+
padding-right: 4px;
23222359
}
23232360

23242361
.to-top {

0 commit comments

Comments
 (0)