Skip to content

Commit c84021a

Browse files
Merge pull request #18 from startingwithseleniumwebdriver/CosmeticIssueFix
Cosmetic issue fix
2 parents 0e6d0ce + 504a5fc commit c84021a

File tree

2 files changed

+29
-16
lines changed

2 files changed

+29
-16
lines changed

RealTimeReport/html-rsc/css/new-style.css

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,18 @@
6565
font-size: 22px;
6666
}
6767
.highlight p.number{
68-
font-size: 42px;
68+
position: relative;
69+
top: -10;
70+
font-size: 65px;
6971
bottom: 0;
7072
float: right;
73+
right: -5px;
74+
}
75+
.font-800 {
76+
font-weight: 800;
77+
}
78+
.font-600 {
79+
font-weight: 600;
7180
}
7281
.blue{
7382
background-color: #3598dc;
@@ -84,6 +93,10 @@
8493
.gap-below {
8594
padding-bottom: 15px;
8695
}
96+
.fix-height {
97+
padding-right: 0px;
98+
height: 135px;
99+
}
87100
.gap-top{
88101
margin-top:100px;
89102
}
@@ -300,8 +313,7 @@ i.fa-filter{
300313
/*==================== index page CSS =============================*/
301314

302315
.body-w-bg{
303-
304-
position: relative;
316+
/* position: relative; */
305317
z-index: 1;
306318
}
307319
.body-w-bg:before{
@@ -310,8 +322,8 @@ i.fa-filter{
310322
content: "";
311323
opacity: 0.4;
312324
z-index: -1;
313-
width: 1280px;
314-
height: 590px;
325+
width: 100%;
326+
height: 100%;
315327
}
316328
.body-w-bg h1{
317329
font-family: 'Myriad Pro', Helvetica, Arial, sans-serif;
@@ -324,11 +336,12 @@ i.fa-filter{
324336
.hazy{
325337
position: relative;
326338
z-index: 1;
339+
margin-top: 15%;
327340
}
328341
.hazy .txt{
329342
position: absolute;
330-
height: 400px;
331-
width: 600px;
343+
height: 100%;
344+
width: 95%;
332345
z-index: -1;
333346
opacity: 0.5;
334347
background: #000;

RealTimeReport/html-rsc/xsl/dashboard.xsl

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
function getHMS(ms,id){
187187
var tms = parseInt(ms);
188188
var tm = moment.duration(tms);
189-
var message = tm.hours()+"h "+tm.minutes()+"m "+tm.seconds()+"s";
189+
var message = tm.hours()+":"+tm.minutes()+":"+tm.seconds();
190190
$('#'+id).html(message);
191191
}
192192
function getPercent(decimal,id){
@@ -313,10 +313,10 @@
313313
}
314314
</script>
315315
<div class="col-md-6">
316-
<div class="col-md-6 gap-below highlight">
316+
<div class="col-md-6 gap-below highlight fix-height">
317317
<div class="r3_counter_box blue">
318318
<p class="title left">Suite</p>
319-
<p class="number right">
319+
<p class="number right font-800">
320320
<xsl:if test="$totalSuite &gt; 0">
321321
<xsl:value-of select="$totalSuite" />
322322
</xsl:if>
@@ -326,22 +326,22 @@
326326
</p>
327327
</div>
328328
</div>
329-
<div class="col-md-6 gap-below highlight">
329+
<div class="col-md-6 gap-below highlight fix-height">
330330
<div class="r3_counter_box green">
331331
<p class="title left">Executable Test Methods</p>
332-
<p class="number right"><xsl:value-of select="$executableMethod" /></p>
332+
<p class="number right font-800"><xsl:value-of select="$executableMethod" /></p>
333333
</div>
334334
</div>
335-
<div class="col-md-6 highlight">
335+
<div class="col-md-6 highlight fix-height">
336336
<div class="r3_counter_box purple">
337337
<p class="title left">Running Parallel</p>
338-
<p class="number right"><xsl:value-of select="$parallel" /></p>
338+
<p class="number right font-600"><xsl:value-of select="$parallel" /></p>
339339
</div>
340340
</div>
341-
<div class="col-md-6 highlight">
341+
<div class="col-md-6 highlight fix-height">
342342
<div class="r3_counter_box red">
343343
<p class="title left">Suite Execution Time</p>
344-
<p class="number right" id="totTm"><script>getHMS('<xsl:value-of select="$executionTime" />','totTm')</script></p>
344+
<p class="number right font-600" id="totTm"><script>getHMS('<xsl:value-of select="$executionTime" />','totTm')</script></p>
345345
</div>
346346
</div>
347347
</div>

0 commit comments

Comments
 (0)