sb-styleguide 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +21 -16
- data/.rvmrc +1 -0
- data/Gemfile +45 -3
- data/Gemfile.lock +195 -0
- data/Guardfile +9 -0
- data/LICENSE +2 -2
- data/README.md +53 -3
- data/Rakefile +30 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/javascripts/application.js +17 -0
- data/app/assets/javascripts/lib/modernizr.js +4 -0
- data/app/assets/stylesheets/application.css.scss +72 -0
- data/app/assets/stylesheets/coderay_githubish.css.scss +131 -0
- data/app/controllers/application_controller.rb +3 -0
- data/app/controllers/javascripts_controller.rb +4 -0
- data/app/controllers/ui_controller.rb +2 -0
- data/app/helpers/application_helper.rb +13 -0
- data/app/helpers/javascripts_helper.rb +2 -0
- data/app/helpers/ui_helper.rb +2 -0
- data/app/mailers/.gitkeep +0 -0
- data/app/models/.gitkeep +0 -0
- data/app/views/javascripts/_js_nav.html.haml +5 -0
- data/app/views/javascripts/index.html.haml +45 -0
- data/app/views/layouts/_main_nav.html.haml +15 -0
- data/app/views/layouts/application.html.haml +41 -0
- data/app/views/shared/_placeholder_text.html.haml +1 -0
- data/app/views/type/_headings.haml +6 -0
- data/app/views/type/_paragraphs.haml +4 -0
- data/app/views/ui/_ui_nav.html.haml +13 -0
- data/app/views/ui/alert.html.haml +35 -0
- data/app/views/ui/buttons.html.haml +116 -0
- data/app/views/ui/footer.html.haml +69 -0
- data/app/views/ui/forms.html.haml +59 -0
- data/app/views/ui/forms/_vertical_form.haml +7 -0
- data/app/views/ui/grids.html.haml +18 -0
- data/app/views/ui/index.html.haml +5 -0
- data/app/views/ui/labels.html.haml +15 -0
- data/app/views/ui/modules/panel.html.haml +3 -0
- data/app/views/ui/nav.html.haml +48 -0
- data/app/views/ui/tabs.html.haml +171 -0
- data/app/views/ui/typography.html.haml +128 -0
- data/db/development.sqlite3 +0 -0
- data/db/seeds.rb +7 -0
- data/doc/README_FOR_APP +2 -0
- data/lib/assets/.gitkeep +0 -0
- data/lib/sb-styleguide.rb +5 -1
- data/lib/sb-styleguide/version.rb +1 -1
- data/lib/tasks/.gitkeep +0 -0
- data/log/.gitkeep +0 -0
- data/public/404.html +26 -0
- data/public/422.html +26 -0
- data/public/500.html +25 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +5 -0
- data/sb-styleguide.gemspec +15 -2
- data/script/rails +6 -0
- data/spec/javascripts/fixtures/plugins/tbg-close_fixture.html.haml +4 -0
- data/spec/javascripts/fixtures/plugins/tbg-forms_fixture.html.haml +12 -0
- data/spec/javascripts/fixtures/plugins/tbg-switch_fixture.html.haml +11 -0
- data/spec/javascripts/plugins/tbg-close_spec.js.coffee +54 -0
- data/spec/javascripts/plugins/tbg-forms_spec.js.coffee +61 -0
- data/spec/javascripts/plugins/tbg-switch_spec.js.coffee +96 -0
- data/spec/javascripts/spec.js.coffee +2 -0
- data/vendor/assets/fonts/ss-social-circle.eot +0 -0
- data/vendor/assets/fonts/ss-social-circle.svg +139 -0
- data/vendor/assets/fonts/ss-social-circle.ttf +0 -0
- data/vendor/assets/fonts/ss-social-circle.woff +0 -0
- data/vendor/assets/fonts/ss-social-regular.eot +0 -0
- data/vendor/assets/fonts/ss-social-regular.svg +133 -0
- data/vendor/assets/fonts/ss-social-regular.ttf +0 -0
- data/vendor/assets/fonts/ss-social-regular.woff +0 -0
- data/vendor/assets/fonts/ss-social.js +75 -0
- data/vendor/assets/fonts/ss-standard.eot +0 -0
- data/vendor/assets/fonts/ss-standard.js +75 -0
- data/vendor/assets/fonts/ss-standard.svg +316 -0
- data/vendor/assets/fonts/ss-standard.ttf +0 -0
- data/vendor/assets/fonts/ss-standard.woff +0 -0
- data/vendor/assets/images/background.png +0 -0
- data/vendor/assets/images/logos/sb-logo-white.png +0 -0
- data/vendor/assets/images/logos/sb-logo-white.svg +5 -0
- data/vendor/assets/images/middleman.png +0 -0
- data/vendor/assets/index.html.haml +8 -0
- data/vendor/assets/javascripts/.gitkeep +0 -0
- data/vendor/assets/javascripts/styleguide/plugins/tbg-close.js.coffee +73 -0
- data/vendor/assets/javascripts/styleguide/plugins/tbg-forms.js.coffee +96 -0
- data/vendor/assets/javascripts/styleguide/plugins/tbg-switch.js.coffee +85 -0
- data/vendor/assets/stylesheets/.gitkeep +0 -0
- data/vendor/assets/stylesheets/_functions.scss +28 -0
- data/vendor/assets/stylesheets/_mixins.css.scss +163 -0
- data/vendor/assets/stylesheets/_settings.css.scss +116 -0
- data/vendor/assets/stylesheets/styleguide.css.scss +15 -0
- data/vendor/assets/stylesheets/styleguide/base/_all.css.scss +7 -0
- data/vendor/assets/stylesheets/styleguide/base/_buttons.css.scss +166 -0
- data/vendor/assets/stylesheets/styleguide/base/_form.css.scss +152 -0
- data/vendor/assets/stylesheets/styleguide/base/_labels.css.scss +42 -0
- data/vendor/assets/stylesheets/styleguide/base/_lists.css.scss +52 -0
- data/vendor/assets/stylesheets/styleguide/base/_reset.css.scss +258 -0
- data/vendor/assets/stylesheets/styleguide/base/_type.css.scss +306 -0
- data/vendor/assets/stylesheets/styleguide/base/webfonts/_all.css.scss +2 -0
- data/vendor/assets/stylesheets/styleguide/base/webfonts/ss-social.scss.css +56 -0
- data/vendor/assets/stylesheets/styleguide/base/webfonts/ss-standard.css.scss +47 -0
- data/vendor/assets/stylesheets/styleguide/grid/_grid.css.scss +106 -0
- data/vendor/assets/stylesheets/styleguide/layout/_all.css.scss +5 -0
- data/vendor/assets/stylesheets/styleguide/modules/_alert.css.scss +71 -0
- data/vendor/assets/stylesheets/styleguide/modules/_all-grid.css.scss +1 -0
- data/vendor/assets/stylesheets/styleguide/modules/_all-no-grid.css.scss +4 -0
- data/vendor/assets/stylesheets/styleguide/modules/_footer.css.scss +93 -0
- data/vendor/assets/stylesheets/styleguide/modules/_nav.css.scss +106 -0
- data/vendor/assets/stylesheets/styleguide/modules/_panel.css.scss +28 -0
- data/vendor/assets/stylesheets/styleguide/modules/_switch.css.scss +72 -0
- data/vendor/assets/views/buttons/_buttons.haml +9 -0
- data/vendor/assets/views/forms/_vertical_form.haml +7 -0
- data/vendor/assets/views/type/_headings.haml +6 -0
- data/vendor/assets/views/type/_paragraphs.haml +4 -0
- data/vendor/plugins/.gitkeep +0 -0
- metadata +280 -5
@@ -0,0 +1,56 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
|
3
|
+
/*
|
4
|
+
* Symbolset
|
5
|
+
* www.symbolset.com
|
6
|
+
* Copyright © 2012 Oak Studios LLC
|
7
|
+
*
|
8
|
+
* Upload this file to your web server
|
9
|
+
* and place this within your <head> tags.
|
10
|
+
* <link href="webfonts/ss-social.css" rel="stylesheet" />
|
11
|
+
*/
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font: {
|
15
|
+
family: 'SSSocial';
|
16
|
+
weight: 'normal';
|
17
|
+
style: 'normal';
|
18
|
+
}
|
19
|
+
src: asset-url('ss-social-circle.eot', font);
|
20
|
+
src: asset-url('ss-social-circle.eot?#iefix', font) format('embedded-opentype'),
|
21
|
+
asset-url('ss-social-circle.woff', font) format('woff'),
|
22
|
+
asset-url('ss-social-circle.ttf', font) format('truetype'),
|
23
|
+
asset-url('ss-social-circle.svg#SSSocialCircle', font) format('svg');
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
.ss-icon, .ss-icon.ss-social, .ss-icon.ss-social-no-circle,
|
28
|
+
[class^="ss-"]:before, [class*=" ss-"]:before,
|
29
|
+
[class^="ss-"][class*=" ss-social"]:before, [class*=" ss-"][class*=" ss-social"]:before,
|
30
|
+
[class^="ss-"].right:after, [class*=" ss-"].right:after,
|
31
|
+
[class^="ss-"][class*=" ss-social"].right:after, [class*=" ss-"][class*=" ss-social"].right:after{
|
32
|
+
font-family: "SSSocial";
|
33
|
+
font-style: normal;
|
34
|
+
font-weight: normal;
|
35
|
+
text-decoration: none;
|
36
|
+
border: none;
|
37
|
+
text-rendering: optimizeLegibility;
|
38
|
+
white-space: nowrap;
|
39
|
+
-webkit-font-feature-settings: "liga";
|
40
|
+
-moz-font-feature-settings: "liga=1";
|
41
|
+
-moz-font-feature-settings: "liga";
|
42
|
+
-ms-font-feature-settings: "liga" 1;
|
43
|
+
-o-font-feature-settings: "liga";
|
44
|
+
font-feature-settings: "liga";
|
45
|
+
-webkit-font-smoothing: antialiased;
|
46
|
+
}
|
47
|
+
|
48
|
+
.ss-icon.ss-social-no-circle,
|
49
|
+
[class^="ss-"].ss-social-no-circle:before, [class*=" ss-"].ss-social-no-circle:before,
|
50
|
+
[class^="ss-"].ss-social-no-circle.right:after, [class*=" ss-"].ss-social-no-circle.right:after{
|
51
|
+
font-weight: bold;
|
52
|
+
}
|
53
|
+
|
54
|
+
[class^="ss-"].right:before, [class^="ss-"][class*=" ss-social"].right:before{display:none;content:'';}
|
55
|
+
|
56
|
+
.ss-facebook:before,.ss-facebook.right:after{content:''}.ss-twitter:before,.ss-twitter.right:after{content:''}.ss-linkedin:before,.ss-linkedin.right:after{content:''}.ss-googleplus:before,.ss-googleplus.right:after{content:''}.ss-tumblr:before,.ss-tumblr.right:after{content:''}.ss-wordpress:before,.ss-wordpress.right:after{content:''}.ss-blogger:before,.ss-blogger.right:after{content:''}.ss-posterous:before,.ss-posterous.right:after{content:''}.ss-youtube:before,.ss-youtube.right:after{content:''}.ss-vimeo:before,.ss-vimeo.right:after{content:''}.ss-flickr:before,.ss-flickr.right:after{content:''}.ss-instagram:before,.ss-instagram.right:after{content:''}.ss-pinterest:before,.ss-pinterest.right:after{content:''}.ss-dribbble:before,.ss-dribbble.right:after{content:''}.ss-behance:before,.ss-behance.right:after{content:''}.ss-github:before,.ss-github.right:after{content:''}.ss-octocat:before,.ss-octocat.right:after{content:''}.ss-paypal:before,.ss-paypal.right:after{content:''}.ss-foursquare:before,.ss-foursquare.right:after{content:''}.ss-skype:before,.ss-skype.right:after{content:''}.ss-rdio:before,.ss-rdio.right:after{content:''}.ss-spotify:before,.ss-spotify.right:after{content:''}.ss-lastfm:before,.ss-lastfm.right:after{content:''}.ss-mail:before,.ss-mail.right:after{content:'✉'}.ss-like:before,.ss-like.right:after{content:'👍'}.ss-rss:before,.ss-rss.right:after{content:''}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/*
|
2
|
+
* Symbolset
|
3
|
+
* www.symbolset.com
|
4
|
+
* Copyright © 2012 Oak Studios LLC
|
5
|
+
*
|
6
|
+
* Upload this file to your web server
|
7
|
+
* and place this within your <head> tags.
|
8
|
+
* <link href="webfonts/ss-standard.css" rel="stylesheet" />
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
@font-face {
|
13
|
+
font: {
|
14
|
+
family: 'SSStandard';
|
15
|
+
weight: 'normal';
|
16
|
+
style: 'normal';
|
17
|
+
}
|
18
|
+
src: asset-url('ss-standard.eot', font);
|
19
|
+
src: asset-url('ss-standard.eot?#iefix', font) format('embedded-opentype'),
|
20
|
+
asset-url('ss-standard.woff', font) format('woff'),
|
21
|
+
asset-url('ss-standard.ttf', font) format('truetype'),
|
22
|
+
asset-url('ss-standard.svg#SSStandard', font) format('svg');
|
23
|
+
}
|
24
|
+
|
25
|
+
.ss-icon, .ss-icon.ss-standard,
|
26
|
+
[class^="ss-"]:before, [class*=" ss-"]:before,
|
27
|
+
[class^="ss-"].ss-standard:before, [class*=" ss-"].ss-standard:before,
|
28
|
+
[class^="ss-"].right:after, [class*=" ss-"].right:after,
|
29
|
+
[class^="ss-"].ss-standard.right:after, [class*=" ss-"].ss-standard.right:after {
|
30
|
+
font-family: "SSStandard";
|
31
|
+
font-style: normal;
|
32
|
+
font-weight: normal;
|
33
|
+
text-decoration: none;
|
34
|
+
text-rendering: optimizeLegibility;
|
35
|
+
white-space: nowrap;
|
36
|
+
-webkit-font-feature-settings: "liga";
|
37
|
+
-moz-font-feature-settings: "liga=1";
|
38
|
+
-moz-font-feature-settings: "liga";
|
39
|
+
-ms-font-feature-settings: "liga" 1;
|
40
|
+
-o-font-feature-settings: "liga";
|
41
|
+
font-feature-settings: "liga";
|
42
|
+
-webkit-font-smoothing: antialiased;
|
43
|
+
}
|
44
|
+
|
45
|
+
[class^="ss-"].right:before, [class*=" ss-"].ss-standard.right:before{display:none;content:'';}
|
46
|
+
|
47
|
+
.ss-cursor:before,.ss-cursor.right:after{content:''}.ss-crosshair:before,.ss-crosshair.right:after{content:'⌖'}.ss-search:before,.ss-search.right:after{content:'🔎'}.ss-zoomin:before,.ss-zoomin.right:after{content:''}.ss-zoomout:before,.ss-zoomout.right:after{content:''}.ss-view:before,.ss-view.right:after{content:'👀'}.ss-attach:before,.ss-attach.right:after{content:'📎'}.ss-link:before,.ss-link.right:after{content:'🔗'}.ss-move:before,.ss-move.right:after{content:''}.ss-write:before,.ss-write.right:after{content:'✎'}.ss-writingdisabled:before,.ss-writingdisabled.right:after{content:''}.ss-erase:before,.ss-erase.right:after{content:'✐'}.ss-compose:before,.ss-compose.right:after{content:'📝'}.ss-lock:before,.ss-lock.right:after{content:'🔒'}.ss-unlock:before,.ss-unlock.right:after{content:'🔓'}.ss-key:before,.ss-key.right:after{content:'🔑'}.ss-backspace:before,.ss-backspace.right:after{content:'⌫'}.ss-ban:before,.ss-ban.right:after{content:'🚫'}.ss-trash:before,.ss-trash.right:after{content:''}.ss-target:before,.ss-target.right:after{content:'◎'}.ss-tag:before,.ss-tag.right:after{content:''}.ss-bookmark:before,.ss-bookmark.right:after{content:'🔖'}.ss-flag:before,.ss-flag.right:after{content:'⚑'}.ss-like:before,.ss-like.right:after{content:'👍'}.ss-dislike:before,.ss-dislike.right:after{content:'👎'}.ss-heart:before,.ss-heart.right:after{content:'♥'}.ss-halfheart:before,.ss-halfheart.right:after{content:''}.ss-star:before,.ss-star.right:after{content:'⋆'}.ss-halfstar:before,.ss-halfstar.right:after{content:''}.ss-sample:before,.ss-sample.right:after{content:''}.ss-crop:before,.ss-crop.right:after{content:''}.ss-layers:before,.ss-layers.right:after{content:''}.ss-phone:before,.ss-phone.right:after{content:'📞'}.ss-phonedisabled:before,.ss-phonedisabled.right:after{content:''}.ss-rss:before,.ss-rss.right:after{content:''}.ss-facetime:before,.ss-facetime.right:after{content:''}.ss-reply:before,.ss-reply.right:after{content:'↩'}.ss-send:before,.ss-send.right:after{content:''}.ss-mail:before,.ss-mail.right:after{content:'✉'}.ss-inbox:before,.ss-inbox.right:after{content:'📥'}.ss-chat:before,.ss-chat.right:after{content:'💬'}.ss-user:before,.ss-user.right:after{content:'👤'}.ss-femaleuser:before,.ss-femaleuser.right:after{content:'👧'}.ss-users:before,.ss-users.right:after{content:'👥'}.ss-cart:before,.ss-cart.right:after{content:''}.ss-creditcard:before,.ss-creditcard.right:after{content:'💳'}.ss-dollarsign:before,.ss-dollarsign.right:after{content:'💲'}.ss-barchart:before,.ss-barchart.right:after{content:'📊'}.ss-piechart:before,.ss-piechart.right:after{content:''}.ss-box:before,.ss-box.right:after{content:'📦'}.ss-home:before,.ss-home.right:after{content:'⌂'}.ss-globe:before,.ss-globe.right:after{content:'🌎'}.ss-navigate:before,.ss-navigate.right:after{content:''}.ss-compass:before,.ss-compass.right:after{content:''}.ss-signpost:before,.ss-signpost.right:after{content:''}.ss-map:before,.ss-map.right:after{content:''}.ss-location:before,.ss-location.right:after{content:''}.ss-pin:before,.ss-pin.right:after{content:'📍'}.ss-database:before,.ss-database.right:after{content:''}.ss-hdd:before,.ss-hdd.right:after{content:''}.ss-music:before,.ss-music.right:after{content:'♫'}.ss-mic:before,.ss-mic.right:after{content:'🎤'}.ss-volume:before,.ss-volume.right:after{content:'🔈'}.ss-volumelow:before,.ss-volumelow.right:after{content:'🔉'}.ss-volumehigh:before,.ss-volumehigh.right:after{content:'🔊'}.ss-airplay:before,.ss-airplay.right:after{content:''}.ss-camera:before,.ss-camera.right:after{content:'📷'}.ss-picture:before,.ss-picture.right:after{content:'🌄'}.ss-video:before,.ss-video.right:after{content:'📹'}.ss-play:before,.ss-play.right:after{content:'▶'}.ss-pause:before,.ss-pause.right:after{content:''}.ss-stop:before,.ss-stop.right:after{content:'■'}.ss-record:before,.ss-record.right:after{content:'●'}.ss-rewind:before,.ss-rewind.right:after{content:'⏪'}.ss-fastforward:before,.ss-fastforward.right:after{content:'⏩'}.ss-skipback:before,.ss-skipback.right:after{content:'⏮'}.ss-skipforward:before,.ss-skipforward.right:after{content:'⏭'}.ss-eject:before,.ss-eject.right:after{content:'⏏'}.ss-repeat:before,.ss-repeat.right:after{content:'🔁'}.ss-replay:before,.ss-replay.right:after{content:'↺'}.ss-shuffle:before,.ss-shuffle.right:after{content:'🔀'}.ss-book:before,.ss-book.right:after{content:'📕'}.ss-openbook:before,.ss-openbook.right:after{content:'📖'}.ss-notebook:before,.ss-notebook.right:after{content:'📓'}.ss-grid:before,.ss-grid.right:after{content:''}.ss-rows:before,.ss-rows.right:after{content:''}.ss-columns:before,.ss-columns.right:after{content:''}.ss-thumbnails:before,.ss-thumbnails.right:after{content:''}.ss-desktop:before,.ss-desktop.right:after{content:'💻'}.ss-laptop:before,.ss-laptop.right:after{content:''}.ss-tablet:before,.ss-tablet.right:after{content:''}.ss-cell:before,.ss-cell.right:after{content:'📱'}.ss-battery:before,.ss-battery.right:after{content:'🔋'}.ss-batteryhigh:before,.ss-batteryhigh.right:after{content:''}.ss-batterymedium:before,.ss-batterymedium.right:after{content:''}.ss-batterylow:before,.ss-batterylow.right:after{content:''}.ss-batteryempty:before,.ss-batteryempty.right:after{content:''}.ss-clouddownload:before,.ss-clouddownload.right:after{content:''}.ss-download:before,.ss-download.right:after{content:''}.ss-cloudupload:before,.ss-cloudupload.right:after{content:''}.ss-upload:before,.ss-upload.right:after{content:''}.ss-fork:before,.ss-fork.right:after{content:''}.ss-merge:before,.ss-merge.right:after{content:''}.ss-refresh:before,.ss-refresh.right:after{content:'↻'}.ss-sync:before,.ss-sync.right:after{content:''}.ss-loading:before,.ss-loading.right:after{content:''}.ss-wifi:before,.ss-wifi.right:after{content:''}.ss-connection:before,.ss-connection.right:after{content:''}.ss-file:before,.ss-file.right:after{content:'📄'}.ss-folder:before,.ss-folder.right:after{content:'📁'}.ss-quote:before,.ss-quote.right:after{content:'“'}.ss-text:before,.ss-text.right:after{content:''}.ss-font:before,.ss-font.right:after{content:''}.ss-print:before,.ss-print.right:after{content:'⎙'}.ss-fax:before,.ss-fax.right:after{content:'📠'}.ss-list:before,.ss-list.right:after{content:''}.ss-layout:before,.ss-layout.right:after{content:''}.ss-action:before,.ss-action.right:after{content:''}.ss-redirect:before,.ss-redirect.right:after{content:'↪'}.ss-expand:before,.ss-expand.right:after{content:'⤢'}.ss-contract:before,.ss-contract.right:after{content:''}.ss-help:before,.ss-help.right:after{content:'❓'}.ss-info:before,.ss-info.right:after{content:'ℹ'}.ss-alert:before,.ss-alert.right:after{content:'⚠'}.ss-caution:before,.ss-caution.right:after{content:'⛔'}.ss-logout:before,.ss-logout.right:after{content:''}.ss-plus:before,.ss-plus.right:after{content:'+'}.ss-hyphen:before,.ss-hyphen.right:after{content:'-'}.ss-check:before,.ss-check.right:after{content:'✓'}.ss-delete:before,.ss-delete.right:after{content:'␡'}.ss-settings:before,.ss-settings.right:after{content:'⚙'}.ss-dashboard:before,.ss-dashboard.right:after{content:''}.ss-notifications:before,.ss-notifications.right:after{content:'🔔'}.ss-notificationsdisabled:before,.ss-notificationsdisabled.right:after{content:'🔕'}.ss-clock:before,.ss-clock.right:after{content:'⏲'}.ss-stopwatch:before,.ss-stopwatch.right:after{content:'⏱'}.ss-calendar:before,.ss-calendar.right:after{content:'📅'}.ss-calendaradd:before,.ss-calendaradd.right:after{content:''}.ss-calendarremove:before,.ss-calendarremove.right:after{content:''}.ss-calendarcheck:before,.ss-calendarcheck.right:after{content:''}.ss-calendardelete:before,.ss-calendardelete.right:after{content:''}.ss-briefcase:before,.ss-briefcase.right:after{content:'💼'}.ss-cloud:before,.ss-cloud.right:after{content:'☁'}.ss-droplet:before,.ss-droplet.right:after{content:'💧'}.ss-up:before,.ss-up.right:after{content:'⬆'}.ss-upright:before,.ss-upright.right:after{content:'⬈'}.ss-right:before,.ss-right.right:after{content:'➡'}.ss-downright:before,.ss-downright.right:after{content:'⬊'}.ss-down:before,.ss-down.right:after{content:'⬇'}.ss-downleft:before,.ss-downleft.right:after{content:'⬋'}.ss-left:before,.ss-left.right:after{content:'⬅'}.ss-upleft:before,.ss-upleft.right:after{content:'⬉'}.ss-navigateup:before,.ss-navigateup.right:after{content:''}.ss-navigateright:before,.ss-navigateright.right:after{content:'▻'}.ss-navigatedown:before,.ss-navigatedown.right:after{content:''}.ss-navigateleft:before,.ss-navigateleft.right:after{content:'◅'}.ss-directup:before,.ss-directup.right:after{content:'▴'}.ss-directright:before,.ss-directright.right:after{content:'▹'}.ss-dropdown:before,.ss-dropdown.right:after{content:'▾'}.ss-directleft:before,.ss-directleft.right:after{content:'◃'}.ss-retweet:before,.ss-retweet.right:after{content:''}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
//
|
2
|
+
// Grids - based on Foundation
|
3
|
+
// $author Ad Taylor
|
4
|
+
//
|
5
|
+
@import "compass/css3";
|
6
|
+
|
7
|
+
|
8
|
+
// ==========================================================================
|
9
|
+
// Container
|
10
|
+
// ==========================================================================
|
11
|
+
|
12
|
+
.container {
|
13
|
+
width: $container-width;
|
14
|
+
max-width: $container-max-width;
|
15
|
+
min-width: $container-min-width;
|
16
|
+
margin: 0 auto;
|
17
|
+
|
18
|
+
@include clearfix;
|
19
|
+
|
20
|
+
&.full {
|
21
|
+
width: auto;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
// ==========================================================================
|
26
|
+
// Rows
|
27
|
+
// ==========================================================================
|
28
|
+
|
29
|
+
.row {
|
30
|
+
@include clearfix;
|
31
|
+
|
32
|
+
$padding-pos: 3;
|
33
|
+
$query-pos: 4;
|
34
|
+
@each $grid in $grids {
|
35
|
+
@if(length($grid) == $query-pos ) {
|
36
|
+
@include media-query( nth($grid,$query-pos), nth($grid,1) ) {
|
37
|
+
.row {
|
38
|
+
margin: 0 0px-(0.5*nth($grid,$padding-pos));
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
@else {
|
43
|
+
.row {
|
44
|
+
margin: 0 0-(0.5*nth($grid,$padding-pos));
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&.collapse {
|
50
|
+
& > .column {
|
51
|
+
padding-left: 0;
|
52
|
+
padding: 0;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// ==========================================================================
|
58
|
+
// Columns
|
59
|
+
// ==========================================================================
|
60
|
+
|
61
|
+
.column {
|
62
|
+
position: relative;
|
63
|
+
float: left;
|
64
|
+
// padding: 0 ($column-gutter/2);
|
65
|
+
|
66
|
+
& + &:last-child {
|
67
|
+
float: right;
|
68
|
+
}
|
69
|
+
|
70
|
+
&.center {
|
71
|
+
float: none;
|
72
|
+
margin: 0 auto;
|
73
|
+
}
|
74
|
+
|
75
|
+
& > .suffix,
|
76
|
+
& > .prefix {
|
77
|
+
width: 100%;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
// ==========================================================================
|
83
|
+
// Image Blocks
|
84
|
+
// ==========================================================================
|
85
|
+
|
86
|
+
.img-block {
|
87
|
+
.img {
|
88
|
+
float:left;
|
89
|
+
margin:0 $column-gutter*2 0 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
.img-medium {
|
93
|
+
margin-right: $column-gutter*4;
|
94
|
+
}
|
95
|
+
|
96
|
+
.img img {
|
97
|
+
display:block;
|
98
|
+
}
|
99
|
+
|
100
|
+
.content {
|
101
|
+
display:table-cell;
|
102
|
+
width:10000px;
|
103
|
+
*width:auto;
|
104
|
+
*zoom:1;
|
105
|
+
}
|
106
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
//
|
2
|
+
// Alert Module
|
3
|
+
// $author Ad Taylor
|
4
|
+
|
5
|
+
@import "compass/css3";
|
6
|
+
|
7
|
+
// ==========================================================================
|
8
|
+
// Default alert
|
9
|
+
// ==========================================================================
|
10
|
+
|
11
|
+
.alert {
|
12
|
+
padding: ms(0) ms(0)/2 ms(0);
|
13
|
+
border-bottom: 2px solid blue(2);
|
14
|
+
background-color: blue(3);
|
15
|
+
color: blue(1);
|
16
|
+
font-weight: bold;
|
17
|
+
|
18
|
+
p {
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
.close {
|
23
|
+
float: right;
|
24
|
+
opacity: 0.8;
|
25
|
+
|
26
|
+
color: blue(2);
|
27
|
+
|
28
|
+
&:hover, &:active {
|
29
|
+
color: blue(1);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// ==========================================================================
|
35
|
+
// Error alert
|
36
|
+
// ==========================================================================
|
37
|
+
|
38
|
+
.alert.error {
|
39
|
+
border-bottom-color: darken($alert-color, 10%);
|
40
|
+
background-color: $alert-color;
|
41
|
+
color: $white;
|
42
|
+
|
43
|
+
.close {
|
44
|
+
color: darken($alert-color, 20%);
|
45
|
+
|
46
|
+
&:hover, &:active {
|
47
|
+
color: darken($alert-color, 30%);
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
// ==========================================================================
|
55
|
+
// Success alert
|
56
|
+
// ==========================================================================
|
57
|
+
|
58
|
+
.alert.success {
|
59
|
+
border-bottom-color: green(2);
|
60
|
+
background-color: $success-color;
|
61
|
+
color: $white;
|
62
|
+
|
63
|
+
.close {
|
64
|
+
color: darken(green(2), 10%);
|
65
|
+
|
66
|
+
&:hover, &:active {
|
67
|
+
color: darken(green(2), 20%);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "styleguide/modules/switch";
|
@@ -0,0 +1,93 @@
|
|
1
|
+
//
|
2
|
+
// Footer Module
|
3
|
+
// $author Ad Taylor
|
4
|
+
|
5
|
+
@import "compass/css3";
|
6
|
+
|
7
|
+
// ==========================================================================
|
8
|
+
// Default Footer styles
|
9
|
+
// ==========================================================================
|
10
|
+
|
11
|
+
.footer {
|
12
|
+
position: fixed;
|
13
|
+
bottom: 0;
|
14
|
+
left: 0;
|
15
|
+
width: 100%;
|
16
|
+
|
17
|
+
background-color: $main-color;
|
18
|
+
color: $white;
|
19
|
+
|
20
|
+
$tab-size: 20px;
|
21
|
+
|
22
|
+
.footer-tab {
|
23
|
+
position: relative;
|
24
|
+
display: block;
|
25
|
+
top: 0 - $tab-size;
|
26
|
+
width: $tab-size*1.25;
|
27
|
+
height: $tab-size;
|
28
|
+
padding-top: $tab-size*0.25;
|
29
|
+
background-color: $main-color;
|
30
|
+
text-align: center;
|
31
|
+
@include border-radius(5px 5px 0px 0px);
|
32
|
+
|
33
|
+
display: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
.footer-up {
|
37
|
+
display: block;
|
38
|
+
}
|
39
|
+
.is-active {
|
40
|
+
.footer-up {
|
41
|
+
display: none;
|
42
|
+
}
|
43
|
+
.footer-down {
|
44
|
+
display: block;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
#footer-content {
|
49
|
+
display: none;
|
50
|
+
|
51
|
+
&.is-active {
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
a {
|
56
|
+
color: $white;
|
57
|
+
border-style: none;
|
58
|
+
}
|
59
|
+
|
60
|
+
ul {
|
61
|
+
padding-left: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
li {
|
65
|
+
list-style: none;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
// ==========================================================================
|
71
|
+
// Responsive Logo
|
72
|
+
// ==========================================================================
|
73
|
+
|
74
|
+
.footer-logo {
|
75
|
+
background: url('logos/sb-logo-white.png') no-repeat center center;
|
76
|
+
@include ol-padded-box(83,51);
|
77
|
+
}
|
78
|
+
|
79
|
+
.svg .footer-logo {
|
80
|
+
background-image: url('logos/sb-logo-white.svg')
|
81
|
+
}
|
82
|
+
|
83
|
+
.footer .footer-logo-container {
|
84
|
+
margin-bottom: ms(0)/2;
|
85
|
+
& > a {
|
86
|
+
display: block;
|
87
|
+
border-style: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
@include smallest-query {
|
91
|
+
width: 100px;
|
92
|
+
}
|
93
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
//
|
2
|
+
// Nav Module
|
3
|
+
// $author Ad Taylor
|
4
|
+
|
5
|
+
@import "compass/css3";
|
6
|
+
|
7
|
+
// ==========================================================================
|
8
|
+
// Global Nav
|
9
|
+
// ==========================================================================
|
10
|
+
|
11
|
+
$nav-color: $main-color !default;
|
12
|
+
$nav-color-hover: $main-color-hover !default;
|
13
|
+
$nav-align: right !default;
|
14
|
+
|
15
|
+
.nav-global {
|
16
|
+
@include clearfix();
|
17
|
+
|
18
|
+
background-color: $nav-color;
|
19
|
+
text-align: $nav-align;
|
20
|
+
|
21
|
+
.nav-items {
|
22
|
+
@extend .action-list;
|
23
|
+
@extend .support;
|
24
|
+
|
25
|
+
margin-bottom: 0;
|
26
|
+
|
27
|
+
text-transform: uppercase;
|
28
|
+
|
29
|
+
& > li {
|
30
|
+
margin: 0;
|
31
|
+
border-left: 1px solid $nav-color-hover;
|
32
|
+
|
33
|
+
a {
|
34
|
+
padding: ms(0)/2 ms(0);
|
35
|
+
display: block;
|
36
|
+
}
|
37
|
+
|
38
|
+
&:hover, &:focus, &.is-active {
|
39
|
+
background-color: $nav-color-hover;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
a {
|
45
|
+
color: $white;
|
46
|
+
border: none;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// ==========================================================================
|
52
|
+
// Global Nav Mobile button
|
53
|
+
// ==========================================================================
|
54
|
+
|
55
|
+
$nav-switch-color: mono(1);
|
56
|
+
$nav-width: 22px;
|
57
|
+
$nav-height: $nav-width;
|
58
|
+
$nav-line-height: 0px + ($nav-width * 0.1);
|
59
|
+
$nav-spacing: 0.22;
|
60
|
+
|
61
|
+
.nav-mobile-switch {
|
62
|
+
position: relative;
|
63
|
+
float: right;
|
64
|
+
margin: ms(0)/2;
|
65
|
+
|
66
|
+
@include transition-property(transform);
|
67
|
+
@include transition-duration(0.5s);
|
68
|
+
@include transition-timing-function(ease-out);
|
69
|
+
|
70
|
+
&.is-active {
|
71
|
+
@include rotate(-90deg);
|
72
|
+
}
|
73
|
+
|
74
|
+
a {
|
75
|
+
position: relative;
|
76
|
+
display: block;
|
77
|
+
width: $nav-width;
|
78
|
+
height: $nav-height;
|
79
|
+
overflow: hidden;
|
80
|
+
z-index: 2;
|
81
|
+
|
82
|
+
border: $nav-line-height solid $nav-switch-color;
|
83
|
+
|
84
|
+
text-indent: 9999em;
|
85
|
+
}
|
86
|
+
|
87
|
+
$nav-line-top-offset:0;
|
88
|
+
i {
|
89
|
+
position: absolute;
|
90
|
+
display: block;
|
91
|
+
width: $nav-width * 0.8 - $nav-line-height;
|
92
|
+
height: $nav-line-height;
|
93
|
+
left: ($nav-width * 0.1) + $nav-line-height/2;
|
94
|
+
top: $nav-height * $nav-spacing - $nav-line-top-offset;
|
95
|
+
z-index: 1;
|
96
|
+
background-color: $nav-switch-color;
|
97
|
+
}
|
98
|
+
|
99
|
+
i + i {
|
100
|
+
top: $nav-height * ($nav-spacing * 2) - $nav-line-top-offset;
|
101
|
+
}
|
102
|
+
|
103
|
+
i + i + i {
|
104
|
+
top: $nav-height * ($nav-spacing * 3) - $nav-line-top-offset;
|
105
|
+
}
|
106
|
+
}
|