This file contains hidden or 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
| /** | |
| * @file | |
| * Custom Sass functions | |
| * | |
| * Define the custom functions for your project here. | |
| * http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#function_directives | |
| */ | |
| // Convert pixel values to em | |
| @function em($px, $base: $base-font-size) { |
This file contains hidden or 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
| /** | |
| * @file | |
| * List mixins. | |
| */ | |
| @mixin no-bullet { | |
| list-style-image: none; | |
| list-style-type: none; | |
| } |
This file contains hidden or 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
| /** | |
| * @file | |
| * Custom Sass variables | |
| * | |
| * Define the custom variables for your project here. | |
| * http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#variables_ | |
| * | |
| * Media queries use: github.com/Team-Sass/breakpoint/wiki/No-Query-Fallbacks | |
| * Grid via: singularity.gs | |
| */ |
This file contains hidden or 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
| /** | |
| * @file | |
| * Misc. design elements | |
| */ | |
| /* background image at the top and bottom of an element */ | |
| %texture-lines-top-bottom { | |
| background-image: url(../images/texture-top.png), url(../images/texture-bottom.png); | |
| background-position: top center, bottom center; | |
| background-origin: border-box, border-box; |
This file contains hidden or 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
| /** | |
| * @file | |
| * Solr styles for facets within Panels panes | |
| */ | |
| /* attribute selector for facet panes with dynamic class names */ | |
| div[class*="pane--facetapi-"] { | |
| .pane__title { | |
| border-bottom: 1px solid $secondary-text-color; | |
| color: $primary-text-color; |
This file contains hidden or 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
| vb.customize ["modifyvm", :id, "--memory", "1024"] | |
| vb.customize ["modifyvm", :id, "--cpus", "1"] | |
| vb.customize ["modifyvm", :id, "--cpuexecutioncap", "65"] |
This file contains hidden or 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
| # To Setup: | |
| # 1) Save the .git-completion.bash file found here: | |
| # https://github.com/git/git/blob/master/contrib/completion/git-completion.bash | |
| # 2) Add the following lines to your .bash_profile, be sure to reload (for example: source ~/.bash_profile) for the changes to take effect: | |
| # Git branch bash completion | |
| if [ -f ~/.git-completion.bash ]; then | |
| . ~/.git-completion.bash | |
| # Add git completion to aliases |
This file contains hidden or 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
| // Find the tallest instance of a given element within a particular container | |
| // and set all of those elements to that height | |
| function equalHeight() { | |
| $('.CONTAINER-NAME-HERE').each(function(){ | |
| var height = 0; | |
| $(this).find('.ELEMENT-NAME-HERE').removeAttr("style").each(function(){ | |
| colheight = $(this).height(); | |
| if (colheight > height) { | |
| height = colheight; |