save_and_open_page
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
%option Afghanistan | |
%option Albania | |
%option Algeria | |
%option Andorra | |
%option Angola | |
%option Antigua & Deps | |
%option Argentina | |
%option Armenia | |
%option Australia | |
%option Austria |
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
body { | |
position: relative; | |
} |
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
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } |
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
html { | |
font-size: 62.5%; //sets fontsize to 10px | |
} | |
@mixin fontsize($size:1.6, $line: $size * 1.5){ | |
font-size: ($size * 10) + px; | |
line-height: ($line * 10) + px; | |
font-size: $size + rem; | |
line-height: $line + rem; | |
} |
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
$('#select-all').on 'change', @onChangeSelectAll | |
$('input[name="check-me"]').on 'change', @onChangeCheckbox | |
onChangeSelectAll: (e) -> | |
$('input[name="check-me"]').prop 'checked', $(e.target).prop('checked') | |
onChangeCheckbox: (e) -> | |
selected = false | |
number_selected = 0 | |
$('input[name="check-me"]').each -> |
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
%vertical-align { | |
position: relative; | |
top: 50%; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%); | |
/* or with bourbon | |
@include transform(translateY(-50%)); | |
*/ | |
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
// from http://codepen.io/ArtemGordinsky/pen/GnLBq | |
// using http://bourbon.io/docs/#animation | |
@include keyframes(blink) { | |
from, to { | |
color: transparent; | |
} | |
50% { | |
color: black; | |
} |
My defaults for starting a rails app
gem 'formtastic'
OlderNewer