Skip to content

Commit 18a3f42

Browse files
committed
minor clean up of stylesheet
1 parent 0fe5225 commit 18a3f42

6 files changed

Lines changed: 103 additions & 156 deletions

File tree

TestStack.BDDfy.Tests/Reporters/HtmlMetro/HtmlMetroReportBuilderTests.ShouldProduceExpectedHtml.approved.txt

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

TestStack.BDDfy/Configuration/BatchProcessors.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
using TestStack.BDDfy.Reporters.Html;
66
using TestStack.BDDfy.Reporters.HtmlMetro;
77
using TestStack.BDDfy.Reporters.MarkDown;
8-
using TestStack.BDDfy.Reporters.Readers;
9-
using TestStack.BDDfy.Reporters.Writers;
108

119
namespace TestStack.BDDfy.Configuration
1210
{

TestStack.BDDfy/Reporters/HtmlMetro/BDDfyMetro.css

Lines changed: 36 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ table {
5353

5454

5555

56-
57-
58-
59-
60-
61-
6256
/* based on metro blue theme from: http://code52.org/metro.css/#colours */
6357
.accent {
6458
color: #1ba1e2;
@@ -160,27 +154,24 @@ table {
160154
background-color: #00aba9;
161155
}
162156

163-
164157
#headingstyles {
165158
font-family: 'Roboto', "Segoe UI Light","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
166159
font-weight: 300;
167160
margin-top: 5px;
168-
margin-bottom: 0px;
169-
161+
margin-bottom: 0;
170162
}
171163

172164
body {
173165
font-family: 'Roboto', "Segoe UI","Segoe WP","Helvetica Neue",sans-serif;
174166
font-size: 14px;
175-
font-weight: 400;
167+
font-weight: 400;
176168
}
177169

178170
h1, h2, h3, h4, h5, h6 {
179171
font-family: 'Roboto',"Segoe UI Light","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
180172
font-weight: 300;
181173
margin-top: 5px;
182174
margin-bottom: 0px;
183-
184175
}
185176

186177
h1 {
@@ -197,7 +188,6 @@ h3 {
197188

198189
h4, h5, h6 {
199190
font-weight: 400;
200-
201191
}
202192

203193
.tile {
@@ -223,6 +213,10 @@ h4, h5, h6 {
223213
margin-left: 0px;
224214
}
225215

216+
.tile h4 {
217+
margin-top: 20px;
218+
}
219+
226220
.tile a:hover {
227221
text-decoration: none;
228222
}
@@ -234,12 +228,10 @@ h4, h5, h6 {
234228
.tile:hover, .tileNoHover {
235229
opacity: 1;
236230
}
237-
238-
.tileNoHover {
239-
opacity: 1;
240-
}
241-
242-
231+
232+
.tileNoHover {
233+
opacity: 1;
234+
}
243235

244236
.tiles {
245237
clear: both;
@@ -257,7 +249,6 @@ h4, h5, h6 {
257249
height: 130px;
258250
}
259251

260-
261252
.two-h {
262253
width: 280px;
263254
height: 130px;
@@ -268,10 +259,6 @@ h4, h5, h6 {
268259
height: 280px;
269260
}
270261

271-
.tile h4 {
272-
margin-top: 20px;
273-
}
274-
275262
.firstcol, .secondcol, .thirdcol, .fourthcol, .fifthcol {
276263
position: absolute;
277264
}
@@ -641,16 +628,6 @@ code {
641628

642629

643630

644-
645-
646-
647-
648-
649-
650-
651-
652-
653-
654631
/* clearfix from: http://css-tricks.com/snippets/css/clear-fix/ */
655632
.group:after {
656633
visibility: hidden;
@@ -670,21 +647,7 @@ code {
670647
/* IE7 */
671648

672649

673-
674-
675-
676-
677-
678-
679-
680-
681-
682-
683-
684-
685650
/* BDDfy Report Css Starts Here */
686-
687-
688651
body {
689652
background-color: #FFFFFF;
690653
color: #000000;
@@ -702,9 +665,9 @@ ul {
702665
padding: 5px;
703666
}
704667

705-
ul.storyNarrative {
706-
padding-left: 35px;
707-
}
668+
ul.storyNarrative {
669+
padding-left: 35px;
670+
}
708671

709672
li {
710673
list-style-type: none;
@@ -715,21 +678,18 @@ li {
715678
width: 100%;
716679
}
717680

718-
.header, .footer {
719-
}
720-
721681
.header {
722682
border-bottom: 2px solid #FFFFFF;
723683
padding: 10px;
724684
vertical-align: middle;
725685
}
726686

727687
#summaryTotals {
728-
margin-top: 30px;
729-
width: 800px;
688+
margin-top: 30px;
689+
width: 800px;
730690
}
731691

732-
#filterOptions{
692+
#filterOptions {
733693
margin-bottom: 20px;
734694
margin-top: 10px;
735695
}
@@ -791,18 +751,17 @@ div#generatedAt {
791751
}
792752

793753

794-
#expandCollapse {
754+
#expandCollapse {
795755
margin: 5px;
796756
}
797757

798-
.expandAll, .collapseAll {
799-
float: left;
800-
margin-top: 30px;
801-
margin-right: 10px;
802-
margin-left: 5px;
758+
.expandAll, .collapseAll {
759+
float: left;
760+
margin-top: 30px;
761+
margin-right: 10px;
762+
margin-left: 5px;
803763
}
804764

805-
806765
#testResults {
807766
width: auto;
808767
}
@@ -813,9 +772,8 @@ margin-left: 5px;
813772
margin-top: 20px;
814773
}
815774

816-
817-
.Passed:before {
818-
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTFH80I3AAABIUlEQVQoU2OAAdEsBmbhfOZEkXzm/UD8AohfAvFhIM6ULGJghSqDAJE8JjGo5H+sOI/5jEg+kwxYMchkoCBOxWEzvP7r1cuD2OeFchnYGaDOwFAIwrp1cv8/fHv//+LjczCxQgYgAXIzikIY3nV16/9/QBgy3QMmdh6kAeTB/w5dRv+LVmbAFecsTfoPAouOzYaLAfEPkIZXIM6hW/vACibu6QS7GeSUx+8e/lcsF0TW8BOkAexhzRqp/+cengZrev/1LbpTYPgySEMmTEC2lPf/lovrwJrQnALDlQygSIGEM0RQvJDtf/PmKnSngOLiunAOAxc4LoRzmWSBgudRFCBjkOI8ZhWwYhgARQpQshCIQRp/APFPIL4MxJVwkxkYGADBUeEvVLvj0QAAAABJRU5ErkJggg==");
775+
.Passed:before {
776+
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABp0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuMTFH80I3AAABIUlEQVQoU2OAAdEsBmbhfOZEkXzm/UD8AohfAvFhIM6ULGJghSqDAJE8JjGo5H+sOI/5jEg+kwxYMchkoCBOxWEzvP7r1cuD2OeFchnYGaDOwFAIwrp1cv8/fHv//+LjczCxQgYgAXIzikIY3nV16/9/QBgy3QMmdh6kAeTB/w5dRv+LVmbAFecsTfoPAouOzYaLAfEPkIZXIM6hW/vACibu6QS7GeSUx+8e/lcsF0TW8BOkAexhzRqp/+cengZrev/1LbpTYPgySEMmTEC2lPf/lovrwJrQnALDlQygSIGEM0RQvJDtf/PmKnSngOLiunAOAxc4LoRzmWSBgudRFCBjkOI8ZhWwYhgARQpQshCIQRp/APFPIL4MxJVwkxkYGADBUeEvVLvj0QAAAABJRU5ErkJggg==");
819777
}
820778

821779
.Failed:before {
@@ -842,24 +800,22 @@ div.FailedException, div.NotImplementedException, div.InconclusiveException {
842800
color: #800000;
843801
}
844802

845-
846-
div.story {
803+
div.story {
847804
border-bottom: 2px solid #B3B8C9;
848805
padding-bottom: 15px;
849-
margin-top: 10px
850-
}
851-
806+
margin-top: 10px;
807+
}
852808

853809
.storyTitle:before {
854810
content: "Story: ";
855811
}
856812

857-
.storyTitle, .namespaceName {
858-
display: inline;
813+
.storyTitle, .namespaceName {
814+
display: inline;
859815
font-size: 18px;
860816
}
861817

862-
h3.storyTitle{
818+
h3.storyTitle {
863819
margin: 0px;
864820
}
865821

@@ -872,9 +828,6 @@ ul.resultSummary li.storySummary {
872828
display: inline-block;
873829
}
874830

875-
.storySummary div.summaryLabel, .scenarioSummary div.summaryLabel, .storyTitle, .namespace div.summaryLabel, .namespaceName {
876-
}
877-
878831
.storyMetaData {
879832
display: inline;
880833
padding: 5px 0;
@@ -891,19 +844,15 @@ ul.resultSummary li.storySummary {
891844

892845
div.scenario:nth-child(2n+1) {
893846
background: #F9F9FF;
894-
}
847+
}
895848

896-
div.scenario:nth-child(2n) {
849+
div.scenario:nth-child(2n) {
897850
background: #F2F2F8;
898-
}
899-
900-
901-
.scenarioTitle {
902851
}
903852

904-
.scenarioTitle:before {
905-
margin-right: 5px;
906-
}
853+
.scenarioTitle:before {
854+
margin-right: 5px;
855+
}
907856

908857
.assembly {
909858
background-color: #101010;
@@ -933,4 +882,4 @@ ul.steps {
933882

934883
code {
935884
font-family: monospace;
936-
}
885+
}

TestStack.BDDfy/Reporters/HtmlMetro/BDDfyMetro.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)