This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
.d dP"Yb 888888 88 88 88 88b 88 dP""b8 .dP"Y8 | |
.d88 dP Yb 88 88 88 88 88Yb88 dP `" `Ybo." | |
88 Yb dP 88 888888 88 88 Y88 Yb "88 o.`Y8b | |
88 YbodP 88 88 88 88 88 Y8 YboodP 8bodP' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import 'compass'; | |
$theme1: red; | |
$theme2: maroon; | |
$button_width: 320px; | |
$button_height: 24px; | |
a { | |
background: #fff magick-sprite('button', magick-phantom($button_width, $button_height, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root input[type="checkbox"] { /* :root here acting as a filter for older browsers */ | |
position: absolute; | |
opacity: 0; | |
} | |
:root input[type="checkbox"].ios-switch + div { | |
display: inline-block; | |
vertical-align: middle; | |
width: 3em; height: 1em; | |
border: 1px solid rgba(0,0,0,.3); |