Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 137 KiB |
@ -1,10 +0,0 @@
|
|||||||
#= require views/pages/base
|
|
||||||
|
|
||||||
class app.views.CodeceptionPage extends app.views.BasePage
|
|
||||||
LANGUAGE_RGX = /language-(\w+)/
|
|
||||||
|
|
||||||
prepare: ->
|
|
||||||
for el in @findAll('pre > code')
|
|
||||||
if el.className.match(LANGUAGE_RGX)
|
|
||||||
@highlightCode(el, el.className.match(LANGUAGE_RGX)[1])
|
|
||||||
return
|
|
@ -1,29 +1,7 @@
|
|||||||
._codeception {
|
._codeception {
|
||||||
@extend %simple;
|
@extend %simple;
|
||||||
|
|
||||||
.warning, .alert {
|
h4 { @extend %block-label; }
|
||||||
@extend %note;
|
.warning, .alert { @extend %note; }
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
@extend %block-label;
|
|
||||||
}
|
|
||||||
|
|
||||||
.alert-danger { @extend %note-red; }
|
.alert-danger { @extend %note-red; }
|
||||||
|
|
||||||
.language-yaml {
|
|
||||||
@extend .token;
|
|
||||||
|
|
||||||
.c1 {
|
|
||||||
@extend .token.comment;
|
|
||||||
}
|
|
||||||
|
|
||||||
.pi {
|
|
||||||
@extend .token.operator;
|
|
||||||
}
|
|
||||||
|
|
||||||
.s {
|
|
||||||
@extend .token.string;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |