groundworkcss-rails 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +38 -0
- data/Rakefile +38 -0
- data/app/helpers/breadcrumbs_helper.rb~ +5 -0
- data/app/helpers/flash_block_helper.rb +17 -0
- data/app/helpers/flash_block_helper.rb~ +18 -0
- data/app/helpers/flash_helper.rb +21 -0
- data/app/helpers/flash_helper.rb~ +21 -0
- data/app/helpers/glyph_helper.rb +12 -0
- data/app/helpers/groundwork_flash_helper.rb~ +21 -0
- data/app/helpers/modal_helper.rb~ +42 -0
- data/app/helpers/social_glyph_helper.rb +13 -0
- data/app/helpers/social_glyph_helper.rb~ +12 -0
- data/lib/generators/groundworkcss/install/install_generator.rb +50 -0
- data/lib/generators/groundworkcss/install/install_generator.rb~ +44 -0
- data/lib/generators/groundworkcss/install/templates/application.css.scss +9 -0
- data/lib/generators/groundworkcss/install/templates/application.css.scss~ +8 -0
- data/lib/generators/groundworkcss/install/templates/application.css~ +7 -0
- data/lib/generators/groundworkcss/install/templates/application.js +10 -0
- data/lib/generators/groundworkcss/install/templates/application.js~ +10 -0
- data/lib/generators/groundworkcss/install/templates/groundwork-and-overrides.scss +12 -0
- data/lib/generators/groundworkcss/install/templates/groundwork-and-overrides.scss~ +10 -0
- data/lib/generators/groundworkcss/install/templates/groundwork-overrides.scss~ +7 -0
- data/lib/generators/groundworkcss/install/templates/groundwork.coffee +1 -0
- data/lib/generators/groundworkcss/install/templates/groundwork.coffee~ +0 -0
- data/lib/generators/groundworkcss/install/templates/groundwork.js +1 -0
- data/lib/generators/groundworkcss/install/templates/groundwork.js~ +1 -0
- data/lib/generators/groundworkcss/layout/layout_generator.rb +21 -0
- data/lib/generators/groundworkcss/layout/layout_generator.rb~ +21 -0
- data/lib/generators/groundworkcss/layout/templates/_header.html.erb +24 -0
- data/lib/generators/groundworkcss/layout/templates/_header.html.erb~ +24 -0
- data/lib/generators/groundworkcss/layout/templates/_sidebar.html.erb +21 -0
- data/lib/generators/groundworkcss/layout/templates/_sidebar.html.erb~ +18 -0
- data/lib/generators/groundworkcss/layout/templates/layout.html.erb +44 -0
- data/lib/generators/groundworkcss/layout/templates/layout.html.erb~ +44 -0
- data/lib/groundworkcss-rails.rb +8 -0
- data/lib/groundworkcss/rails/bootstrap.rb~ +2 -0
- data/lib/groundworkcss/rails/engine.rb +27 -0
- data/lib/groundworkcss/rails/engine.rb~ +30 -0
- data/lib/groundworkcss/rails/groundworkcss.rb +2 -0
- data/lib/groundworkcss/rails/version.rb +5 -0
- data/lib/groundworkcss/rails/version.rb~ +7 -0
- data/lib/twitter-bootstrap-rails.rb~ +10 -0
- data/vendor/assets/fonts/groundworkcss/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.svg +284 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/groundworkcss/fontawesome.otf +0 -0
- data/vendor/assets/images/groundworkcss/black_linen_v2.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/bullets.jpg +0 -0
- data/vendor/assets/images/groundworkcss/orbit/left-arrow.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/loading.gif +0 -0
- data/vendor/assets/images/groundworkcss/orbit/mask-black.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/pause-black.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/right-arrow.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/rotator-black.png +0 -0
- data/vendor/assets/images/groundworkcss/orbit/timer-black.png +0 -0
- data/vendor/assets/images/groundworkcss/pw_maze_white.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/500px-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/500px-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/500px.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/500px.svg +62 -0
- data/vendor/assets/images/groundworkcss/social-icons/aboutme-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/aboutme-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/aboutme.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/aboutme.svg +42 -0
- data/vendor/assets/images/groundworkcss/social-icons/adn-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/adn-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/adn.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/adn.svg +14 -0
- data/vendor/assets/images/groundworkcss/social-icons/android-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/android-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/android.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/android.svg +30 -0
- data/vendor/assets/images/groundworkcss/social-icons/apple-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/apple-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/apple.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/apple.svg +19 -0
- data/vendor/assets/images/groundworkcss/social-icons/behance-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/behance-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/behance.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/behance.svg +48 -0
- data/vendor/assets/images/groundworkcss/social-icons/bitbucket-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/bitbucket-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/bitbucket.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/bitbucket.svg +36 -0
- data/vendor/assets/images/groundworkcss/social-icons/blogger-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/blogger-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/blogger.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/blogger.svg +22 -0
- data/vendor/assets/images/groundworkcss/social-icons/coderwall-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/coderwall-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/coderwall.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/coderwall.svg +21 -0
- data/vendor/assets/images/groundworkcss/social-icons/creativecloud-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/creativecloud-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/creativecloud.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/creativecloud.svg +48 -0
- data/vendor/assets/images/groundworkcss/social-icons/dribbble-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dribbble-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dribbble.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dribbble.svg +28 -0
- data/vendor/assets/images/groundworkcss/social-icons/dropbox-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dropbox-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dropbox.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/dropbox.svg +73 -0
- data/vendor/assets/images/groundworkcss/social-icons/evernote-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/evernote-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/evernote.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/evernote.svg +62 -0
- data/vendor/assets/images/groundworkcss/social-icons/facebook-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/facebook-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/facebook.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/facebook.svg +15 -0
- data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/fairheadcreative.svg +24 -0
- data/vendor/assets/images/groundworkcss/social-icons/flickr-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/flickr-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/flickr.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/flickr.svg +14 -0
- data/vendor/assets/images/groundworkcss/social-icons/foursquare-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/foursquare-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/foursquare.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/foursquare.svg +43 -0
- data/vendor/assets/images/groundworkcss/social-icons/git-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/git-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/git.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/git.svg +22 -0
- data/vendor/assets/images/groundworkcss/social-icons/github-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/github-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/github.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/github.svg +38 -0
- data/vendor/assets/images/groundworkcss/social-icons/goodreads-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/goodreads-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/goodreads.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/goodreads.svg +38 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplay-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplay-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplay.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplay.svg +24 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplus-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplus-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplus.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/googleplus.svg +52 -0
- data/vendor/assets/images/groundworkcss/social-icons/html5-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/html5-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/html5.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/html5.svg +29 -0
- data/vendor/assets/images/groundworkcss/social-icons/icloud-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/icloud-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/icloud.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/icloud.svg +26 -0
- data/vendor/assets/images/groundworkcss/social-icons/instagram-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/instagram-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/instagram.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/instagram.svg +166 -0
- data/vendor/assets/images/groundworkcss/social-icons/lastfm-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/lastfm-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/lastfm.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/lastfm.svg +44 -0
- data/vendor/assets/images/groundworkcss/social-icons/linkedin-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/linkedin-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/linkedin.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/linkedin.svg +28 -0
- data/vendor/assets/images/groundworkcss/social-icons/mail-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mail-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mail.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mail.svg +27 -0
- data/vendor/assets/images/groundworkcss/social-icons/mercurial-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mercurial-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mercurial.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mercurial.svg +22 -0
- data/vendor/assets/images/groundworkcss/social-icons/mixi-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mixi-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mixi.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/mixi.svg +32 -0
- data/vendor/assets/images/groundworkcss/social-icons/msn-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/msn-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/msn.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/msn.svg +44 -0
- data/vendor/assets/images/groundworkcss/social-icons/orkut-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/orkut-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/orkut.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/orkut.svg +23 -0
- data/vendor/assets/images/groundworkcss/social-icons/picasa-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/picasa-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/picasa.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/picasa.svg +48 -0
- data/vendor/assets/images/groundworkcss/social-icons/pinterest-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pinterest-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pinterest.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pinterest.svg +42 -0
- data/vendor/assets/images/groundworkcss/social-icons/pocketapp-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pocketapp-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pocketapp.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/pocketapp.svg +38 -0
- data/vendor/assets/images/groundworkcss/social-icons/quora-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/quora-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/quora.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/quora.svg +20 -0
- data/vendor/assets/images/groundworkcss/social-icons/rdio-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rdio-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rdio.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rdio.svg +18 -0
- data/vendor/assets/images/groundworkcss/social-icons/renren-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/renren-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/renren.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/renren.svg +79 -0
- data/vendor/assets/images/groundworkcss/social-icons/rss-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rss-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rss.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/rss.svg +18 -0
- data/vendor/assets/images/groundworkcss/social-icons/skitch-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skitch-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skitch.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skitch.svg +24 -0
- data/vendor/assets/images/groundworkcss/social-icons/skype-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skype-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skype.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/skype.svg +25 -0
- data/vendor/assets/images/groundworkcss/social-icons/soundcloud-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/soundcloud-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/soundcloud.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/soundcloud.svg +60 -0
- data/vendor/assets/images/groundworkcss/social-icons/spotify-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/spotify-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/spotify.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/spotify.svg +38 -0
- data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stackoverflow-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stackoverflow.svg +32 -0
- data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stumbleupon-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/stumbleupon.svg +22 -0
- data/vendor/assets/images/groundworkcss/social-icons/svn-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/svn-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/svn.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/svn.svg +25 -0
- data/vendor/assets/images/groundworkcss/social-icons/tent-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tent-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tent.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tent.svg +16 -0
- data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tripadvisor-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tripadvisor.svg +30 -0
- data/vendor/assets/images/groundworkcss/social-icons/tumblr-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tumblr-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tumblr.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/tumblr.svg +16 -0
- data/vendor/assets/images/groundworkcss/social-icons/twitter-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/twitter-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/twitter.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/twitter.svg +24 -0
- data/vendor/assets/images/groundworkcss/social-icons/vimeo-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/vimeo-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/vimeo.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/vimeo.svg +20 -0
- data/vendor/assets/images/groundworkcss/social-icons/weibo-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/weibo-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/weibo.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/weibo.svg +54 -0
- data/vendor/assets/images/groundworkcss/social-icons/windows-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/windows-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/windows.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/windows.svg +26 -0
- data/vendor/assets/images/groundworkcss/social-icons/wordpress-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/wordpress-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/wordpress.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/wordpress.svg +50 -0
- data/vendor/assets/images/groundworkcss/social-icons/xing-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/xing-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/xing.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/xing.svg +16 -0
- data/vendor/assets/images/groundworkcss/social-icons/yelp-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/yelp-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/yelp.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/yelp.svg +54 -0
- data/vendor/assets/images/groundworkcss/social-icons/youtube-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youtube-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youtube.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youtube.svg +106 -0
- data/vendor/assets/images/groundworkcss/social-icons/youversion-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youversion-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youversion.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/youversion.svg +54 -0
- data/vendor/assets/images/groundworkcss/social-icons/zerply-m.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/zerply-s.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/zerply.png +0 -0
- data/vendor/assets/images/groundworkcss/social-icons/zerply.svg +20 -0
- data/vendor/assets/javascripts/groundwork.js +3 -0
- data/vendor/assets/javascripts/groundwork.js~ +8 -0
- data/vendor/assets/javascripts/groundworkcss/coffee/groundwork.coffee +207 -0
- data/vendor/assets/javascripts/groundworkcss/groundwork.js +845 -0
- data/vendor/assets/javascripts/groundworkcss/groundwork.js~ +7 -0
- data/vendor/assets/javascripts/groundworkcss/libs/boxsizing.htc +501 -0
- data/vendor/assets/javascripts/groundworkcss/libs/html5shiv.js +299 -0
- data/vendor/assets/javascripts/groundworkcss/libs/html5shiv.min.js +8 -0
- data/vendor/assets/javascripts/groundworkcss/libs/jquery-1.8.2.min.js +2 -0
- data/vendor/assets/javascripts/groundworkcss/libs/modernizr-2.6.2.min.js +4 -0
- data/vendor/assets/javascripts/groundworkcss/libs/placeholder_polyfill.jquery.js +212 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.modals.coffee +161 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.popover.coffee +198 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.popover.js +10 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveTables.coffee +56 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveTables.js +10 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveText.coffee +32 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.responsiveText.js +10 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.tooltip.coffee +121 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/coffee/jquery.tooltip.js +10 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.modals.js +183 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.orbit-1.4.0.js +919 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.popover.js +206 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.responsiveTables.js +63 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.responsiveText.js +45 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery.tooltip.js +118 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_buttons.scss +178 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_callouts.scss +51 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_font-awesome.scss +534 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_font-awesome.scss~ +534 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_forms.scss +161 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_global.scss +31 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_grid.scss +384 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_layout.scss +78 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_messages.scss +59 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_mixins.scss +197 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_mobile-reset.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_modals.scss +101 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_navigation.scss +284 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_orbit.scss +239 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_popovers.scss +10 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_reset.scss +77 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_responsive.scss +293 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_social-icons.scss +92 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_social-icons.scss~ +92 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_tables.scss +80 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_tabs.scss +137 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_tooltips.scss +161 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_typography.scss +255 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_ui-elements.scss +10 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_variables.scss +134 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_webfonts.scss +19 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork-ie.scss +64 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork.scss +37 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/no-svg.scss +69 -0
- metadata +460 -0
@@ -0,0 +1,206 @@
|
|
1
|
+
// Generated by CoffeeScript 1.4.0
|
2
|
+
|
3
|
+
/*
|
4
|
+
*
|
5
|
+
* jQuery Popovers by Gary Hepting - https://github.com/ghepting/jquery-popovers
|
6
|
+
*
|
7
|
+
* Open source under the BSD License.
|
8
|
+
*
|
9
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
(function() {
|
15
|
+
|
16
|
+
(function($) {
|
17
|
+
return $.fn.popover = function(options) {
|
18
|
+
var closePopover, defaults, delayAdjust, delayHide, getElementPosition, popover, resetPopover, setPosition, showPopover, trigger;
|
19
|
+
defaults = {
|
20
|
+
hover: false,
|
21
|
+
click: true,
|
22
|
+
resize: true,
|
23
|
+
scroll: true,
|
24
|
+
topOffset: 0,
|
25
|
+
delay: 500,
|
26
|
+
speed: 100
|
27
|
+
};
|
28
|
+
options = $.extend(defaults, options);
|
29
|
+
popover = $('#popover');
|
30
|
+
delayHide = '';
|
31
|
+
delayAdjust = '';
|
32
|
+
trigger = '';
|
33
|
+
getElementPosition = function(el) {
|
34
|
+
var bottom, left, offset, right, top, win;
|
35
|
+
offset = el.offset();
|
36
|
+
win = $(window);
|
37
|
+
return {
|
38
|
+
top: top = offset.top - win.scrollTop(),
|
39
|
+
left: left = offset.left - win.scrollLeft(),
|
40
|
+
bottom: bottom = win.height() - top - el.outerHeight(),
|
41
|
+
right: right = win.width() - left - el.outerWidth()
|
42
|
+
};
|
43
|
+
};
|
44
|
+
resetPopover = function(resize) {
|
45
|
+
popover.css({
|
46
|
+
top: 'auto',
|
47
|
+
right: 'auto',
|
48
|
+
bottom: 'auto',
|
49
|
+
left: 'auto'
|
50
|
+
});
|
51
|
+
if (resize) {
|
52
|
+
popover.css({
|
53
|
+
width: 'auto'
|
54
|
+
});
|
55
|
+
}
|
56
|
+
popover.removeClass('top');
|
57
|
+
popover.removeClass('right');
|
58
|
+
popover.removeClass('bottom');
|
59
|
+
return popover.removeClass('left');
|
60
|
+
};
|
61
|
+
setPosition = function(trigger, skipAnimation, resize) {
|
62
|
+
var attrs, coords, height, width;
|
63
|
+
if (trigger) {
|
64
|
+
if (resize) {
|
65
|
+
resetPopover(true);
|
66
|
+
} else {
|
67
|
+
resetPopover();
|
68
|
+
}
|
69
|
+
coords = getElementPosition(trigger);
|
70
|
+
if (popover.outerWidth() > ($(window).width() - 20)) {
|
71
|
+
popover.css('width', $(window).width() - 20);
|
72
|
+
}
|
73
|
+
popover.css('max-width', Math.min($(window).width() - parseInt($('body').css('padding-left')) - parseInt($('body').css('padding-right')), parseInt(popover.css('max-width'))));
|
74
|
+
width = popover.outerWidth();
|
75
|
+
height = popover.outerHeight();
|
76
|
+
attrs = {};
|
77
|
+
if (coords.left <= coords.right) {
|
78
|
+
popover.addClass('left');
|
79
|
+
attrs.left = coords.left;
|
80
|
+
} else {
|
81
|
+
popover.addClass('right');
|
82
|
+
attrs.right = coords.right;
|
83
|
+
}
|
84
|
+
if ((coords.top - options.topOffset) > (height + 20)) {
|
85
|
+
popover.addClass('top');
|
86
|
+
attrs.top = trigger.offset().top - height - 20;
|
87
|
+
} else {
|
88
|
+
popover.addClass('bottom');
|
89
|
+
attrs.top = trigger.offset().top + 15;
|
90
|
+
}
|
91
|
+
popover.css(attrs);
|
92
|
+
if (skipAnimation) {
|
93
|
+
return popover.css({
|
94
|
+
top: '+=10'
|
95
|
+
});
|
96
|
+
}
|
97
|
+
}
|
98
|
+
};
|
99
|
+
closePopover = function() {
|
100
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
101
|
+
return popover.removeClass('sticky').remove();
|
102
|
+
};
|
103
|
+
showPopover = function(e) {
|
104
|
+
var tip;
|
105
|
+
trigger = $(e.target);
|
106
|
+
if (!trigger.hasClass('popover-trigger')) {
|
107
|
+
closePopover();
|
108
|
+
trigger.addClass('popover-trigger');
|
109
|
+
}
|
110
|
+
tip = $('#' + trigger.attr('data-content')).html();
|
111
|
+
popover = $("<div id=\"popover\"></div>");
|
112
|
+
if (!tip || tip === "") {
|
113
|
+
return false;
|
114
|
+
}
|
115
|
+
trigger.removeAttr("title");
|
116
|
+
popover.css("opacity", 0).html(tip).appendTo("body");
|
117
|
+
setPosition(trigger);
|
118
|
+
popover.animate({
|
119
|
+
top: "+=10",
|
120
|
+
opacity: 1
|
121
|
+
}, options.speed);
|
122
|
+
popover.bind("click", function(e) {
|
123
|
+
if (e.target.tagName !== 'a') {
|
124
|
+
popover.addClass('sticky');
|
125
|
+
e.stopPropagation();
|
126
|
+
e.preventDefault();
|
127
|
+
return false;
|
128
|
+
}
|
129
|
+
});
|
130
|
+
popover.find('.close').bind("click", function(e) {
|
131
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
132
|
+
popover.removeClass('sticky').remove();
|
133
|
+
e.stopPropagation();
|
134
|
+
e.preventDefault();
|
135
|
+
return false;
|
136
|
+
});
|
137
|
+
return popover.bind({
|
138
|
+
mouseenter: function() {
|
139
|
+
return clearTimeout(delayHide);
|
140
|
+
},
|
141
|
+
mouseleave: function() {
|
142
|
+
if (!popover.hasClass('sticky')) {
|
143
|
+
return delayHide = setTimeout((function() {
|
144
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
145
|
+
return popover.removeClass('sticky').remove();
|
146
|
+
}), 500);
|
147
|
+
}
|
148
|
+
}
|
149
|
+
});
|
150
|
+
};
|
151
|
+
return this.each(function() {
|
152
|
+
var $this;
|
153
|
+
$this = $(this);
|
154
|
+
if (options.hover) {
|
155
|
+
$this.bind({
|
156
|
+
mouseenter: function(e) {
|
157
|
+
trigger = $(e.target);
|
158
|
+
clearTimeout(delayHide);
|
159
|
+
if (!$this.hasClass('popover-trigger') && !popover.hasClass('sticky')) {
|
160
|
+
return showPopover(e);
|
161
|
+
}
|
162
|
+
},
|
163
|
+
mouseleave: function() {
|
164
|
+
if (!popover.hasClass('sticky')) {
|
165
|
+
return delayHide = setTimeout(function() {
|
166
|
+
return closePopover();
|
167
|
+
}, options.delay);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
});
|
171
|
+
}
|
172
|
+
if (options.click) {
|
173
|
+
$this.bind("click", function(e) {
|
174
|
+
trigger = $(e.target);
|
175
|
+
if (!trigger.hasClass('popover-trigger')) {
|
176
|
+
closePopover();
|
177
|
+
showPopover(e);
|
178
|
+
}
|
179
|
+
popover.addClass('sticky');
|
180
|
+
e.preventDefault();
|
181
|
+
e.stopPropagation();
|
182
|
+
return false;
|
183
|
+
});
|
184
|
+
}
|
185
|
+
if (options.resize) {
|
186
|
+
$(window).resize(function() {
|
187
|
+
clearTimeout(delayAdjust);
|
188
|
+
return delayAdjust = setTimeout(function() {
|
189
|
+
return setPosition(trigger, true, true);
|
190
|
+
}, 100);
|
191
|
+
});
|
192
|
+
}
|
193
|
+
if (options.scroll) {
|
194
|
+
$(window).scroll(function() {
|
195
|
+
return setPosition(trigger, true);
|
196
|
+
});
|
197
|
+
}
|
198
|
+
return $('html, body').bind("click", function(e) {
|
199
|
+
$('.popover-trigger').removeClass('popover-trigger');
|
200
|
+
return popover.removeClass('sticky').remove();
|
201
|
+
});
|
202
|
+
});
|
203
|
+
};
|
204
|
+
})(jQuery);
|
205
|
+
|
206
|
+
}).call(this);
|
@@ -0,0 +1,63 @@
|
|
1
|
+
// Generated by CoffeeScript 1.4.0
|
2
|
+
|
3
|
+
/*
|
4
|
+
*
|
5
|
+
* jQuery ResponsiveTables by Gary Hepting - https://github.com/ghepting/responsiveTables
|
6
|
+
*
|
7
|
+
* Open source under the BSD License.
|
8
|
+
*
|
9
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
(function() {
|
15
|
+
|
16
|
+
(function($) {
|
17
|
+
var elems;
|
18
|
+
elems = [];
|
19
|
+
$.fn.responsiveTable = function(options) {
|
20
|
+
var settings;
|
21
|
+
settings = {
|
22
|
+
compressor: options.compressor || 10,
|
23
|
+
minSize: options.minSize || Number.NEGATIVE_INFINITY,
|
24
|
+
maxSize: options.maxSize || Number.POSITIVE_INFINITY,
|
25
|
+
padding: 2,
|
26
|
+
height: "auto",
|
27
|
+
adjust_parents: true
|
28
|
+
};
|
29
|
+
return this.each(function() {
|
30
|
+
var columns, elem, fontSize, rows;
|
31
|
+
elem = $(this);
|
32
|
+
elem.attr('data-compression', settings.compressor);
|
33
|
+
elem.attr('data-min', settings.minSize);
|
34
|
+
elem.attr('data-max', settings.maxSize);
|
35
|
+
elem.attr('data-padding', settings.padding);
|
36
|
+
columns = $("tr", elem).first().children("th, td").length;
|
37
|
+
rows = $("tr", elem).length;
|
38
|
+
if (settings.height !== "auto") {
|
39
|
+
$this.css("height", settings.height);
|
40
|
+
if (settings.adjust_parents) {
|
41
|
+
$this.parents().each(function() {
|
42
|
+
return $(this).css("height", "100%");
|
43
|
+
});
|
44
|
+
}
|
45
|
+
}
|
46
|
+
$("tr th, tr td", elem).css("width", Math.floor(100 / columns) + "%");
|
47
|
+
$("tr th, tr td", elem).css("height", Math.floor(100 / rows) + "%");
|
48
|
+
fontSize = Math.floor(Math.max(Math.min(elem.width() / settings.compressor, parseFloat(settings.maxSize)), parseFloat(settings.minSize)));
|
49
|
+
$("tr th, tr td", elem).css("font-size", fontSize + "px");
|
50
|
+
return elems.push(elem);
|
51
|
+
});
|
52
|
+
};
|
53
|
+
return $(window).on("resize", function() {
|
54
|
+
return $(elems).each(function() {
|
55
|
+
var elem, fontSize;
|
56
|
+
elem = $(this);
|
57
|
+
fontSize = Math.floor(Math.max(Math.min(elem.width() / (elem.attr('data-compression')), parseFloat(elem.attr('data-max'))), parseFloat(elem.attr('data-min'))));
|
58
|
+
return $("tr th, tr td", elem).css("font-size", fontSize + "px");
|
59
|
+
});
|
60
|
+
});
|
61
|
+
})(jQuery);
|
62
|
+
|
63
|
+
}).call(this);
|
@@ -0,0 +1,45 @@
|
|
1
|
+
// Generated by CoffeeScript 1.4.0
|
2
|
+
|
3
|
+
/*
|
4
|
+
*
|
5
|
+
* jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
|
6
|
+
*
|
7
|
+
* Open source under the BSD License.
|
8
|
+
*
|
9
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
(function() {
|
15
|
+
|
16
|
+
(function($) {
|
17
|
+
var elems;
|
18
|
+
elems = [];
|
19
|
+
$.fn.responsiveText = function(options) {
|
20
|
+
var settings;
|
21
|
+
settings = {
|
22
|
+
compressor: options.compressor || 10,
|
23
|
+
minSize: options.minSize || Number.NEGATIVE_INFINITY,
|
24
|
+
maxSize: options.maxSize || Number.POSITIVE_INFINITY
|
25
|
+
};
|
26
|
+
return this.each(function() {
|
27
|
+
var elem;
|
28
|
+
elem = $(this);
|
29
|
+
elem.attr('data-compression', settings.compressor);
|
30
|
+
elem.attr('data-min', settings.minSize);
|
31
|
+
elem.attr('data-max', settings.maxSize);
|
32
|
+
elem.css("font-size", Math.floor(Math.max(Math.min(elem.width() / settings.compressor, parseFloat(settings.maxSize)), parseFloat(settings.minSize))));
|
33
|
+
return elems.push(elem);
|
34
|
+
});
|
35
|
+
};
|
36
|
+
return $(window).on("resize", function() {
|
37
|
+
return $(elems).each(function() {
|
38
|
+
var elem;
|
39
|
+
elem = $(this);
|
40
|
+
return elem.css("font-size", Math.floor(Math.max(Math.min(elem.width() / (elem.attr('data-compression')), parseFloat(elem.attr('data-max'))), parseFloat(elem.attr('data-min')))));
|
41
|
+
});
|
42
|
+
});
|
43
|
+
})(jQuery);
|
44
|
+
|
45
|
+
}).call(this);
|
@@ -0,0 +1,118 @@
|
|
1
|
+
// Generated by CoffeeScript 1.4.0
|
2
|
+
|
3
|
+
/*
|
4
|
+
*
|
5
|
+
* jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
|
6
|
+
*
|
7
|
+
* Open source under the BSD License.
|
8
|
+
*
|
9
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
10
|
+
*
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
(function() {
|
15
|
+
|
16
|
+
(function($) {
|
17
|
+
return $.fn.tooltip = function(options) {
|
18
|
+
var closetooltip, defaults, delayShow, getElementPosition, setPosition, showtooltip, tooltip, trigger;
|
19
|
+
defaults = {
|
20
|
+
topOffset: 0,
|
21
|
+
delay: 100,
|
22
|
+
speed: 100
|
23
|
+
};
|
24
|
+
options = $.extend(defaults, options);
|
25
|
+
tooltip = $('#tooltip');
|
26
|
+
delayShow = '';
|
27
|
+
trigger = '';
|
28
|
+
getElementPosition = function(el) {
|
29
|
+
var bottom, left, offset, right, top, win;
|
30
|
+
offset = el.offset();
|
31
|
+
win = $(window);
|
32
|
+
return {
|
33
|
+
top: top = offset.top - win.scrollTop(),
|
34
|
+
left: left = offset.left - win.scrollLeft(),
|
35
|
+
bottom: bottom = win.height() - top - el.outerHeight(),
|
36
|
+
right: right = win.width() - left - el.outerWidth()
|
37
|
+
};
|
38
|
+
};
|
39
|
+
setPosition = function(trigger) {
|
40
|
+
var attrs, coords, height, width;
|
41
|
+
coords = getElementPosition(trigger);
|
42
|
+
if (tooltip.outerWidth() > ($(window).width() - 20)) {
|
43
|
+
tooltip.css('width', $(window).width() - 20);
|
44
|
+
}
|
45
|
+
attrs = {};
|
46
|
+
tooltip.css('max-width', Math.min($(window).width() - parseInt($('body').css('padding-left')) - parseInt($('body').css('padding-right')), parseInt(tooltip.css('max-width'))));
|
47
|
+
width = tooltip.outerWidth();
|
48
|
+
height = tooltip.outerHeight();
|
49
|
+
if (coords.left <= coords.right) {
|
50
|
+
tooltip.addClass('left');
|
51
|
+
attrs.left = coords.left;
|
52
|
+
} else {
|
53
|
+
tooltip.addClass('right');
|
54
|
+
attrs.right = coords.right;
|
55
|
+
}
|
56
|
+
if ((coords.top - options.topOffset) > (height + 20)) {
|
57
|
+
tooltip.addClass('top');
|
58
|
+
attrs.top = (trigger.offset().top - height) - 20;
|
59
|
+
} else {
|
60
|
+
tooltip.addClass('bottom');
|
61
|
+
attrs.top = trigger.offset().top + trigger.outerHeight() - 4;
|
62
|
+
}
|
63
|
+
return tooltip.css(attrs);
|
64
|
+
};
|
65
|
+
closetooltip = function() {
|
66
|
+
tooltip.stop().remove();
|
67
|
+
return $('[role=tooltip]').removeClass('on');
|
68
|
+
};
|
69
|
+
showtooltip = function(trigger) {
|
70
|
+
closetooltip();
|
71
|
+
clearTimeout(delayShow);
|
72
|
+
return delayShow = setTimeout(function() {
|
73
|
+
if ($('#tooltip').length !== 1) {
|
74
|
+
$('#tooltip').remove();
|
75
|
+
tooltip = $("<div id=\"tooltip\"></div>");
|
76
|
+
tooltip.appendTo("body");
|
77
|
+
}
|
78
|
+
tooltip.css("opacity", 0).text(trigger.attr('data-title'));
|
79
|
+
setPosition(trigger);
|
80
|
+
trigger.addClass('on');
|
81
|
+
return tooltip.animate({
|
82
|
+
top: "+=10",
|
83
|
+
opacity: 1
|
84
|
+
}, options.speed);
|
85
|
+
}, options.delay);
|
86
|
+
};
|
87
|
+
this.each(function() {
|
88
|
+
var $this;
|
89
|
+
$this = $(this);
|
90
|
+
$this.attr('role', 'tooltip').attr('data-title', $this.attr('title'));
|
91
|
+
return $this.removeAttr("title");
|
92
|
+
});
|
93
|
+
$('body').on('focus', '[role=tooltip]', function() {
|
94
|
+
return showtooltip($(this));
|
95
|
+
}).on('blur', '[role=tooltip]', function() {
|
96
|
+
clearTimeout(delayShow);
|
97
|
+
return closetooltip();
|
98
|
+
}).on('mouseenter', '[role=tooltip]:not(input,select,textarea)', function() {
|
99
|
+
return showtooltip($(this));
|
100
|
+
}).on('mouseleave', '[role=tooltip]:not(input,select,textarea)', function() {
|
101
|
+
clearTimeout(delayShow);
|
102
|
+
return closetooltip();
|
103
|
+
});
|
104
|
+
return $(window).on({
|
105
|
+
scroll: function() {
|
106
|
+
trigger = $('[role=tooltip].on');
|
107
|
+
if (trigger.length) {
|
108
|
+
setPosition(trigger);
|
109
|
+
return $('#tooltip').css({
|
110
|
+
top: "+=10"
|
111
|
+
});
|
112
|
+
}
|
113
|
+
}
|
114
|
+
});
|
115
|
+
};
|
116
|
+
})(jQuery);
|
117
|
+
|
118
|
+
}).call(this);
|
@@ -0,0 +1,178 @@
|
|
1
|
+
// ===================================
|
2
|
+
// Groundwork Buttons
|
3
|
+
// ===================================
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
button, .button, a.button, a.button:link, a.button:visited, input[type=submit], input[type=button], input[type=reset] {
|
9
|
+
display:inline-block;
|
10
|
+
word-wrap:break-word;
|
11
|
+
padding:0.25em 1em;
|
12
|
+
background:$button-color;
|
13
|
+
border:1px solid $button-active;
|
14
|
+
color:$button-text;
|
15
|
+
font-weight:bold;
|
16
|
+
font-size:1em;
|
17
|
+
text-decoration:none;
|
18
|
+
cursor:pointer;
|
19
|
+
line-height:1.5;
|
20
|
+
@include transition(background-color 0.25s ease-out);
|
21
|
+
@include rounded($radius);
|
22
|
+
&:hover, &:focus {
|
23
|
+
background:$button-active;
|
24
|
+
text-decoration:none;
|
25
|
+
color:$button-active-text;
|
26
|
+
}
|
27
|
+
&.active, &.active:hover, &.active:focus {
|
28
|
+
background:$button-active;
|
29
|
+
color:$button-active-text;
|
30
|
+
}
|
31
|
+
&.disabled {
|
32
|
+
background:lighten(gray, 15%);
|
33
|
+
border-color:gray;
|
34
|
+
color:lighten(gray, 35%);
|
35
|
+
cursor:not-allowed;
|
36
|
+
text-decoration:none;
|
37
|
+
}
|
38
|
+
&.small {
|
39
|
+
font-size:0.8em;
|
40
|
+
}
|
41
|
+
&.large {
|
42
|
+
font-size:1.5em;
|
43
|
+
}
|
44
|
+
&.error {
|
45
|
+
background:$error-color;
|
46
|
+
border:1px solid darken($error-color, 10%);
|
47
|
+
color:$button-text;
|
48
|
+
&:hover, &:focus {
|
49
|
+
background:darken($error-color, 10%);
|
50
|
+
}
|
51
|
+
}
|
52
|
+
&.warning {
|
53
|
+
background:$warning-color;
|
54
|
+
border:1px solid darken($warning-color, 10%);
|
55
|
+
color:$button-text;
|
56
|
+
&:hover, &:focus {
|
57
|
+
background:darken($warning-color, 10%);
|
58
|
+
}
|
59
|
+
}
|
60
|
+
&.success {
|
61
|
+
background:$success-color;
|
62
|
+
border:1px solid darken($success-color, 10%);
|
63
|
+
color:$button-text;
|
64
|
+
&:hover, &:focus {
|
65
|
+
background:darken($success-color, 10%);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
&.square {
|
69
|
+
@include rounded(0);
|
70
|
+
}
|
71
|
+
&.round {
|
72
|
+
@include rounded(9999px);
|
73
|
+
}
|
74
|
+
&.block {
|
75
|
+
display:block;
|
76
|
+
width:100%;
|
77
|
+
text-align:center;
|
78
|
+
}
|
79
|
+
&.dropdown {
|
80
|
+
position:relative;
|
81
|
+
padding-right:2em;
|
82
|
+
&:after {
|
83
|
+
content:'...';
|
84
|
+
position:absolute;
|
85
|
+
right:1em;
|
86
|
+
bottom:0.25em;
|
87
|
+
}
|
88
|
+
&:hover ul, &:focus ul {
|
89
|
+
display:block;
|
90
|
+
}
|
91
|
+
ul {
|
92
|
+
margin:0.3em 0 0;
|
93
|
+
padding:0;
|
94
|
+
list-style:none;
|
95
|
+
display:none;
|
96
|
+
background:white;
|
97
|
+
border:1px solid $border-color;
|
98
|
+
position:absolute;
|
99
|
+
left:0;
|
100
|
+
width:100%;
|
101
|
+
z-index:10;
|
102
|
+
font-size:0.9em;
|
103
|
+
@include rounded(0 0 $radius $radius);
|
104
|
+
li {
|
105
|
+
display:block;
|
106
|
+
a, a:link, a:visited {
|
107
|
+
display:block;
|
108
|
+
padding:0.5em 1em;
|
109
|
+
border:none;
|
110
|
+
text-shadow:none;
|
111
|
+
text-decoration:none;
|
112
|
+
&:hover, &:focus {
|
113
|
+
background:#efefef;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
&:last-child {
|
117
|
+
@include rounded(0 0 $radius $radius);
|
118
|
+
}
|
119
|
+
}
|
120
|
+
hr {
|
121
|
+
margin:0;
|
122
|
+
border-color:#ececec;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
ul.button-list, ol.button-list {
|
128
|
+
list-style:none;
|
129
|
+
margin:0;
|
130
|
+
padding:0;
|
131
|
+
&:after {
|
132
|
+
content:'';
|
133
|
+
display:block;
|
134
|
+
clear:both;
|
135
|
+
}
|
136
|
+
li {
|
137
|
+
display:block;
|
138
|
+
float:left;
|
139
|
+
margin:0;
|
140
|
+
border-radius:0;
|
141
|
+
&:first-child a {
|
142
|
+
border-radius:$radius 0 0 $radius;
|
143
|
+
}
|
144
|
+
&:last-child a {
|
145
|
+
border-radius:0 $radius $radius 0;
|
146
|
+
}
|
147
|
+
a {
|
148
|
+
display:block;
|
149
|
+
word-wrap:break-word;
|
150
|
+
padding:0.25em 1em;
|
151
|
+
background:$button-color;
|
152
|
+
border:1px solid $button-active;
|
153
|
+
color:$button-text;
|
154
|
+
font-weight:bold;
|
155
|
+
font-size:1em;
|
156
|
+
text-decoration:none;
|
157
|
+
cursor:pointer;
|
158
|
+
line-height:1.5;
|
159
|
+
@include transition(background-color 0.25s ease-out);
|
160
|
+
&:hover, &:focus {
|
161
|
+
background:$button-active;
|
162
|
+
text-decoration:none;
|
163
|
+
color:$button-active-text;
|
164
|
+
border:1px solid $button-active;
|
165
|
+
}
|
166
|
+
&.active, &.active:hover, &.active:focus {
|
167
|
+
background:$button-active;
|
168
|
+
color:$button-active-text;
|
169
|
+
}
|
170
|
+
&.disabled {
|
171
|
+
background:lighten(gray, 15%);
|
172
|
+
border-color:gray;
|
173
|
+
color:lighten(gray, 35%);
|
174
|
+
cursor:not-allowed;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|