Skip to content

Commit

Permalink
Initial import from old SVN repo
Browse files Browse the repository at this point in the history
  • Loading branch information
TxHawks committed May 28, 2015
0 parents commit 2fa18e1
Show file tree
Hide file tree
Showing 39 changed files with 9,386 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -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
135 changes: 135 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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

176 changes: 176 additions & 0 deletions base/_b.form.scss
Original file line number Diff line number Diff line change
@@ -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 `<li>` or a <`fieldset>`.
// ---
// Example:
// <form class="form">
// <ul>
// <li class="form-field">
// <label for="input name">
// Labal's text
// </label>
// <input type="text" name:"input-name" class="form__input" />
// <span>Additional accompanying text for the input</span>
// </li>
// </ul>
// </form>
// ---
.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:
// <label for="checkbox">
// <input id="checkbox" name="checkbox" type="checkbox>
// Text of checkbox label
// </label>
input[type="checkbox"],
input[type="radio"] {
vertical-align:middle;
}

// A button that is superimposed over a form input.
// 1. Give positioning context.
// 2. Align to edge of input.
.form__overlay-btn {
@include bidi(left, 0); // [2]
position: absolute; // [1]
top: 0; // [2]
}








// -------------------------------------
// States
// -------------------------------------

.form-is-error{
&,
& .form__note,
.form__input,
textarea,
select {
color: color(negative);
border-color: color(negative);
&::placeholder{
color: color(negative);
}
}
}





// -------------------------------------
// Context
// -------------------------------------

//





Loading

0 comments on commit 2fa18e1

Please sign in to comment.