A Pen by George Norris on CodePen.
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
// | |
// Responsive Margin & Padding Shortcuts for Twitter Bootstrap 3.0 | |
// --------------------------------------------------------------- | |
// This is an addition to Twitter Bootstrap that allows additional margin and padding shortcuts | |
// for enhanced layout control purposes. It should be included after the bootstrap.less | |
// import statement or precompiled as you see fit. It differs from bootstrap standards in | |
// that for any given screen size it predetermines the margin/padding size. All you have to | |
// do is specify the size you want xs,sm,md,lg, or xl. The exception is for items that you | |
// want to be centered using auto left/right margins. This can be device responsive by | |
// specifying mc-xs, mc-sm, mc-md, or mc-lg depending on when you want that behavior. |
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
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Seti_UI/Scheme/Seti_orig.tmTheme", | |
"detect_indentation": true, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": false, | |
"folder_exclude_patterns": | |
[ | |
".svn", |
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
[ | |
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" }, | |
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar"}, | |
{ "keys": ["shift+ctrl+p"], "command": "expand_selection_to_paragraph"}, | |
{ "keys": ["shift+space"], "command": "move", "args": {"by": "characters", "forward": true} } | |
] |
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
#!/bin/bash | |
file_dir='/Users/geoneo/Sites/orion/app/views' | |
for i in `find ${file_dir} -maxdepth 3 -type f -name "*.haml" ! -empty` | |
do | |
output_dir=`dirname $i` | |
new_file=`basename ${i} | sed 's/\(.*\.\)haml/\1slim/'` |
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
$(document).ready -> | |
$('.signup_sign').css('top', '-200px').animate({"top": "-13px"}, 1500) | |
signup_sign = $('.signup_sign') | |
light = off | |
window.setInterval ( -> | |
if light is off | |
$(signup_sign).css 'background-position', "-141px 0" | |
light = on |
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
.oblong_container | |
%div{:class => "oblong green"} | |
%div{:class => "oblong blue"} | |
%div{:class => "oblong purple"} | |
%div{:class => "oblong pink"} |
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" | |
@import "sassy-buttons" | |
$experimental-support-for-svg: true | |
$total-cols: 15 | |
$col-width: 3.5em | |
$gutter-width: 1em | |
$side-gutter-width: $gutter-width |
OlderNewer