diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..2619521 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,35 @@ +[core] + ## Only show messages in a pager if longer than one screen + pager = less -+F -+X +[branch] + ## Default all new branches to fetch and rebase - not merge + autosetuprebase = always +[merge] + ## Use a three-way diff to handle merge conflicts + conflictstyle = diff3 + ## Make all merges no-ff + # ff = false +[pull] + ## Default pulls to fetch and rebase - not merge + rebase = true +[push] + ## Limit pushes to your current branch + default = tracking +[rerere] + ## Record any merge conflict resolutions and reuse them automatically + # enabled = true +[alias] + ## Delete all already-merged branches + delete-merged-branches = "!f() { git checkout --quiet master && git branch --merged | grep --invert-match '\\*' | xargs -n 1 git branch --delete; git checkout --quiet @{-1}; }; f" + ## Pus submodules together with main repo + pushall = push --recurse-submodules=on-demand + ## Concise status + s = status -s + ## Succinct log with graph + lg = log --oneline --decorate --all --graph + ## Merge without fast-forward, for merging branches. + mb = merge --no-ff + co = checkout + br = branch +[credential] + helper = cache diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77a71f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,135 @@ +### Temp files ### +*/tmp/ +*/.tmp/ + +### vim ### +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist +*~ + +### CTags ### +tags + + +### Sass ### +.sass-cache + + +### WebStorm ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm + +## Directory-based project format +.idea/ +# if you remove the above rule, at least ignore user-specific stuff: +# .idea/workspace.xml +# .idea/tasks.xml +# and these sensitive or high-churn files: +# .idea/dataSources.ids +# .idea/dataSources.xml +# .idea/sqlDataSources.xml +# .idea/dynamic.xml + +## File-based project format +*.ipr +*.iws +*.iml + +## Additional for IntelliJ +out/ + +# generated by mpeltonen/sbt-idea plugin +.idea_modules/ + +# generated by JIRA plugin +atlassian-ide-plugin.xml + +# generated by Crashlytics plugin (for Android Studio and Intellij) +com_crashlytics_export_strings.xml + + +### Linux ### +*~ + +# KDE directory preferences +.directory + + +### Windows ### +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + + +### OSX ### +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear on external disk +.Spotlight-V100 +.Trashes + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### Node ### +# Logs +logs +*.log + +# Runtime data +pids +*.pid +*.seed + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directory +# Commenting this out is preferred by some people, see +# https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git +node_modules + +# Users Environment Variables +.lock-wscript + + +### Bower ### +bower_components + diff --git a/base/_b.form.scss b/base/_b.form.scss new file mode 100644 index 0000000..50dd717 --- /dev/null +++ b/base/_b.form.scss @@ -0,0 +1,176 @@ +// ************************************* +// +// #FORM +// -> Basic styles for forms +// +// ************************************* + +// ------------------------------------- +// HACKS +// ------------------------------------- + +// Fix chrome bug that prevents rendering of webfonts in select elements +@media screen and (-webkit-min-device-pixel-ratio: 0) { + select { + font-family: setting(select-font-stack); + } +} + + + + + +// ------------------------------------- +// BASE +// ------------------------------------- + +.form { + @include form-base; +} + + + + + + + + +// ------------------------------------- +// Modifiers +// ------------------------------------- + +@if setting(form-tight) { + .form--tight { + @include form-base; + } +} + +@if setting(form-flush) { + .form--flush { + @include form-base; + margin-bottom: 0; + } +} + + + + + + +// ------------------------------------- +// Items +// ------------------------------------- + +fieldset { + border: 0 +} + +// Wraps all elements of an individual form field, +// Should usually be placed on an `
  • ` or a <`fieldset>`. +// --- +// Example: +//
    +// +//
    +// --- +.form__field { + @include bl-style-adjust { + @include mb(setting(form-field-space, base)); + } +} + +@if form-field-loose { + .form-field--loose { + @include bl-style-adjust { + @include mb(setting(form-field-space, loose)); + } + } +} + +@if form-field-flush { + .form-field--flush { + margin-bottom: 0; + } +} + + + +// Textual form inputs +textarea, +.form__input { + @include form-input; + width: 100%; +} + +select { + @include form-input; +} + +// Nesting checkboxes and radio-buttons inside their +// labels allows nicer vertical alignments. +// Example: +//