lib/cucumber/formatter/cucumber.sass in cucumber-0.10.0 vs lib/cucumber/formatter/cucumber.sass in cucumber-0.10.1
- old
+ new
@@ -1,271 +1,247 @@
/* cucumber.css is generated from cucumber.sass */
/* Regenerate with rake sass */
-!step_left = 5px "solid"
-!step_bottom = 1px "solid"
+$step_left: 5px solid
+$step_bottom: 1px solid
-!failed = #FFFBD3
-!failed_border = #C20000
-!failed_text = #C20000
+$failed: #fffbd3
+$failed_border: #c20000
+$failed_text: #c20000
-!passed = #DBFFB4
-!passed_border = #65C400
-!passed_text = #3D7700
+$passed: #dbffb4
+$passed_border: #65c400
+$passed_text: #3d7700
-!skipped = #E0FFFF
-!skipped_border = #00FFFF
-!skipped_text = #001111
+$skipped: #e0ffff
+$skipped_border: aqua
+$skipped_text: #001111
-!pending = #FCFB98
-!pending_border = #FAF834
-!pending_text = #131313
+$pending: #fcfb98
+$pending_border: #faf834
+$pending_text: #131313
-!undefined = #FCFB98
-!undefined_border = #FAF834
-!undefined_text = #131313
+$undefined: #fcfb98
+$undefined_border: #faf834
+$undefined_text: #131313
-!announcement = #E0FFFF
-!announcement_border = #00FFFF
-!announcement_text = #001111
+$announcement: #e0ffff
+$announcement_border: aqua
+$announcement_text: #001111
body
- :font-size 0px
- :color #FFFFFF
- :margin 0px
- :padding 0px
+ font-size: 0px
+ color: white
+ margin: 0px
+ padding: 0px
.cucumber,td,th
- :font normal 11px "Lucida Grande", Helvetica, sans-serif
- :background white
- :color #000000
-
+ font: normal 11px "Lucida Grande", Helvetica, sans-serif
+ background: white
+ color: black
#cucumber-header
- :background #65C400
- :color #FFFFFF
- :height 6em
-
+ background: #65c400
+ color: white
+ height: 6em
#expand-collapse
p
- :float right
- :margin 0 0 0 10px
-
+ float: right
+ margin: 0 0 0 10px
.scenario
h3
- :font-size 11px
- :padding 3px
- :margin 0
- :background #65C400
- :color #FFFFFF
- :font-weight bold
-
+ font-size: 11px
+ padding: 3px
+ margin: 0
+ background: #65c400
+ color: white
+ font-weight: bold
h1
- :margin 0px 10px 0px 10px
- :padding 10px
- :font-family "Lucida Grande", Helvetica, sans-serif
- :font-size 2em
- :position absolute
-
+ margin: 0px 10px 0px 10px
+ padding: 10px
+ font-family: "Lucida Grande", Helvetica, sans-serif
+ font-size: 2em
+ position: absolute
h4
- :margin-bottom 2px
-
+ margin-bottom: 2px
div.feature
- :padding 2px
- :margin 0px 10px 5px 10px
-
+ padding: 2px
+ margin: 0px 10px 5px 10px
div.examples
- :padding 0em 0em 0em 1em
-
+ padding: 0em 0em 0em 1em
.stats
- :margin 2em
-
+ margin: 2em
.summary
ul.features
li
- :display inline
-
+ display: inline
.step_name
- :float left
-
+ float: left
.step_file
- :text-align right
- :color #999999
+ text-align: right
+ color: #999999
a
- :color #999999
-
-
+ color: #999999
+ .scenario_file
+ float: right
+ color: #999999
.tag
- :font-weight bold
- :color #246AC1
-
+ font-weight: bold
+ color: #246ac1
.backtrace
- :margin-top 0
- :margin-bottom 0
- :margin-left 1em
- :color #000000
-
+ margin-top: 0
+ margin-bottom: 0
+ margin-left: 1em
+ color: black
a
- :text-decoration none
- :color #BE5C00
-
+ text-decoration: none
+ color: #be5c00
&:hover
- :text-decoration underline
+ text-decoration: underline
&:visited
- :font-weight normal
-
+ font-weight: normal
div.examples
- :margin 5px 0px 5px 15px
- :color #000000
-
+ margin: 5px 0px 5px 15px
+ color: black
.outline
table
- :margin 0px 0px 5px 10px
-
+ margin: 0px 0px 5px 10px
table
- :border-collapse collapse
+ border-collapse: collapse
td
- :padding 3px 3px 3px 5px
+ padding: 3px 3px 3px 5px
td.failed, td.passed, td.skipped, td.pending, td.undefined
- :padding-left 18px
- :padding-right 10px
+ padding-left: 18px
+ padding-right: 10px
td.failed
- :border-left= !step_left !failed_border
- :border-bottom= !step_bottom !failed_border
- :background= !failed
- :color= !failed_text
+ border-left: $step_left $failed_border
+ border-bottom: $step_bottom $failed_border
+ background: $failed
+ color: $failed_text
td.passed
- :border-left= !step_left !passed_border
- :border-bottom= !step_bottom !passed_border
- :background= !passed
- :color= !passed_text
+ border-left: $step_left $passed_border
+ border-bottom: $step_bottom $passed_border
+ background: $passed
+ color: $passed_text
td.skipped
- :border-left= !step_left !skipped_border
- :border-bottom= !step_bottom !skipped_border
- :background= !skipped
- :color= !skipped_text
+ border-left: $step_left $skipped_border
+ border-bottom: $step_bottom $skipped_border
+ background: $skipped
+ color: $skipped_text
td.pending
- :border-left= !step_left !pending_border
- :border-bottom= !step_bottom !pending_border
- :background= !pending
- :color= !pending_text
+ border-left: $step_left $pending_border
+ border-bottom: $step_bottom $pending_border
+ background: $pending
+ color: $pending_text
td.undefined
- :border-left= !step_left !undefined_border
- :border-bottom= !step_bottom !undefined_border
- :background= !undefined
- :color= !undefined_text
+ border-left: $step_left $undefined_border
+ border-bottom: $step_bottom $undefined_border
+ background: $undefined
+ color: $undefined_text
td.announcement
- :border-left= !step_left !announcement_border
- :border-bottom= !step_bottom !announcement_border
- :background= !announcement
- :color= !announcement_text
-
+ border-left: $step_left $announcement_border
+ border-bottom: $step_bottom $announcement_border
+ background: $announcement
+ color: $announcement_text
ol
- :list-style none
- :margin 0px
- :padding 0px
-
+ list-style: none
+ margin: 0px
+ padding: 0px
li.step
- :padding 3px 3px 3px 18px
- :margin 5px 0px 5px 5px
+ padding: 3px 3px 3px 18px
+ margin: 5px 0px 5px 5px
li
- :margin 0em 0em 0em 1em
- :padding 0em 0em 0em 0.2em
+ margin: 0em 0em 0em 1em
+ padding: 0em 0em 0em 0.2em
span.param
- :font-weight bold
+ font-weight: bold
li.failed
- :border-left= !step_left !failed_border
- :border-bottom= !step_bottom !failed_border
- :background= !failed
- :color= !failed_text
+ border-left: $step_left $failed_border
+ border-bottom: $step_bottom $failed_border
+ background: $failed
+ color: $failed_text
li.passed
- :border-left= !step_left !passed_border
- :border-bottom= !step_bottom !passed_border
- :background= !passed
- :color= !passed_text
+ border-left: $step_left $passed_border
+ border-bottom: $step_bottom $passed_border
+ background: $passed
+ color: $passed_text
li.skipped
- :border-left= !step_left !skipped_border
- :border-bottom= !step_bottom !skipped_border
- :background= !skipped
- :color= !skipped_text
+ border-left: $step_left $skipped_border
+ border-bottom: $step_bottom $skipped_border
+ background: $skipped
+ color: $skipped_text
li.pending
- :border-left= !step_left !pending_border
- :border-bottom= !step_bottom !pending_border
- :background= !pending
- :color= !pending_text
+ border-left: $step_left $pending_border
+ border-bottom: $step_bottom $pending_border
+ background: $pending
+ color: $pending_text
li.undefined
- :border-left= !step_left !undefined_border
- :border-bottom= !step_bottom !undefined_border
- :background= !undefined
- :color= !undefined_text
+ border-left: $step_left $undefined_border
+ border-bottom: $step_bottom $undefined_border
+ background: $undefined
+ color: $undefined_text
li.announcement
- :border-left= !step_left !announcement_border
- :border-bottom= !step_bottom !announcement_border
- :background= !announcement
- :color= !announcement_text
- :margin-left= 10px
-
+ border-left: $step_left $announcement_border
+ border-bottom: $step_bottom $announcement_border
+ background: $announcement
+ color: $announcement_text
+ margin-left: 10px
#summary
- :margin 0px
- :padding 5px 10px
- :text-align right
- :top 0px
- :right 0px
- :float right
-
+ margin: 0px
+ padding: 5px 10px
+ text-align: right
+ top: 0px
+ right: 0px
+ float: right
p
- :margin 0 0 0 2px
-
+ margin: 0 0 0 2px
#totals
- :font-size 1.2em
-
-.ruby
- :font-size 12px
- :font-family monospace
- :color white
- :background black
- :padding 0.1em 0 0.2em 0
+ font-size: 1.2em
- .keyword
- :color #FF6600
+.ruby
+ font-size: 12px
+ font-family: monospace
+ color: white
+ background: black
+ padding: 0.1em 0 0.2em 0
+ .keyword
+ color: #ff6600
.constant
- :color #339999
+ color: #339999
.attribute
- :color white
+ color: white
.global
- :color white
+ color: white
.module
- :color white
+ color: white
.class
- :color white
+ color: white
.string
- :color #66FF00
+ color: #66ff00
.ident
- :color white
+ color: white
.method
- :color #FFCC00
+ color: #ffcc00
.number
- :color white
+ color: white
.char
- :color white
+ color: white
.comment
- :color #9933CC
+ color: #9933cc
.symbol
- :color white
+ color: white
.regex
- :color #44B4CC
+ color: #44b4cc
.punct
- :color white
+ color: white
.escape
- :color white
- .interp
- :color white
- .expr
- :color white
-
+ color: white
+ .interp
+ color: white
+ .expr
+ color: white
.offending
- :background #333333
+ background: #333333
.linenum
- :width 75px
- :padding 0.1em 1em 0.2em 0
- :color #000000
- :background #FFFBD3
-
+ width: 75px
+ padding: 0.1em 1em 0.2em 0
+ color: black
+ background: #fffbd3