lib/cucumber/formatter/cucumber.sass in cucumber-0.3.11 vs lib/cucumber/formatter/cucumber.sass in cucumber-0.3.90
- old
+ new
@@ -1,42 +1,52 @@
# cucumber.css is generated from cucumber.sass
-# Regenerate with the following command:
-#
-# sass -t expanded lib/cucumber/formatter/cucumber.sass > lib/cucumber/formatter/cucumber.css
-#
-.cucumber
- :background black
- :color white
- :padding 1em
+# Regenerate with rake sass
- .passed
- :color green
- .undefined
- :color yellow
- .pending
- :color yellow
- .failed
- :color red
- .skipped
- :color cyan
- .outline
- :color cyan
- .param
- :font-weight bold
+!step_left = 5px solid
+!step_bottom = 1px solid
- a
- :text-decoration none
- :color inherit
+!failed = #FFC0CB
+!failed_dark = #FF0000
+!failed_text = #8B0000
- &:hover
- :text-decoration underline
- &:visited
- :font-weight normal
+!passed = #98FB98
+!passed_dark = #00FF00
+!passed_text = #001111
- ol
- :list-style none
+!skipped = #E0FFFF
+!skipped_dark = #00FFFF
+!skipped_text = #001111
+!pending = #FFFF00
+!pending_dark = #FF8000
+!pending_text = #2A1B0A
+
+!undefined = #FFFF00
+!undefined_dark = #FF8000
+!undefined_text = #2A1B0A
+
+.cucumber
+ :font-family "Lucida Grande", Helvetica, sans-serif
+ :font-size 0.7em
+ :background white
+ :padding 1em
+
+ h1, h2, h3, h4, ol, li, pre, p
+ :font-size 1em
+ :padding 0px
+ :margin 0px
+
+ div.feature
+ :border 1px solid
+ :padding 2px
+ :margin 4px
+
+ div.background, div.scenario, p
+ :padding 0em 0em 0em 1em
+ div.examples
+ :padding 0em 0em 0em 1em
+
.stats
:margin 2em
.summary
ul.features
@@ -45,5 +55,85 @@
.backtrace
:margin-top 0
:margin-bottom 0
:margin-left 1em
+
+ a
+ :text-decoration none
+ :color inherit
+
+ &:hover
+ :text-decoration underline
+ &:visited
+ :font-weight normal
+
+ div.examples
+ :border 1px solid
+ :padding 2px
+ :margin 4px
+
+ table
+ :border-collapse collapse
+
+ td, th
+ :font-size 0.7em
+ :border 1px solid #AAAAAA
+ td.failed
+ :background #FFC0CB
+ :color #8B0000
+ td.passed
+ :background #98FB98
+ :color= !passed_text
+ td.skipped
+ :background= !skipped
+ :color= !skipped_text
+ td.pending
+ :background #FFFFE0
+ :color #111100
+ td.undefined
+ :background #FFFFE0
+ :color #111100
+
+ ol
+ :list-style none
+
+ li
+ :margin 0em 0em 0em 1em
+ :padding 0em 0em 0em 0.2em
+ span.param
+ :font-weight bold
+ li.failed
+ :border-left= !step_left !failed_dark
+ :border-bottom= !step_bottom !failed_dark
+ :background= !failed
+ :color= !failed_text
+ span.param
+ :background !failed_dark
+ li.passed
+ :border-left= !step_left !passed_dark
+ :border-bottom= !step_bottom !passed_dark
+ :background= !passed
+ :color= !passed_text
+ span.param
+ :background= !passed_dark
+ li.skipped
+ :border-left= !step_left !skipped_dark
+ :border-bottom= !step_bottom !skipped_dark
+ :background= !skipped
+ :color= !skipped_text
+ span.param
+ :background= !skipped_dark
+ li.pending
+ :border-left= !step_left !pending_dark
+ :border-bottom= !step_bottom !pending_dark
+ :background= !pending
+ :color= !pending_text
+ span.param
+ :background= !pending_dark
+ li.undefined
+ :border-left= !step_left !undefined_dark
+ :border-bottom= !step_bottom !undefined_dark
+ :background= !undefined
+ :color= !undefined_text
+ span.param
+ :background= !undefined_dark