groundworkcss-rails 0.2.9 → 0.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/groundworkcss/rails/version.rb +1 -1
- data/lib/groundworkcss/rails/version.rb~ +1 -1
- data/vendor/assets/javascripts/groundworkcss/components/disabled.js +13 -12
- data/vendor/assets/javascripts/groundworkcss/components/equalizeColumns.js +31 -28
- data/vendor/assets/javascripts/groundworkcss/components/forms.js +21 -20
- data/vendor/assets/javascripts/groundworkcss/components/menus.js +88 -78
- data/vendor/assets/javascripts/groundworkcss/components/modals.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/components/pagination.js +87 -82
- data/vendor/assets/javascripts/groundworkcss/components/responsiveTables.js +22 -18
- data/vendor/assets/javascripts/groundworkcss/components/responsiveText.js +38 -31
- data/vendor/assets/javascripts/groundworkcss/components/tabs.js +19 -17
- data/vendor/assets/javascripts/groundworkcss/components/tiles.js +24 -21
- data/vendor/assets/javascripts/groundworkcss/components/tooltips.js +7 -4
- data/vendor/assets/javascripts/groundworkcss/groundwork.all.js +974 -821
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-modals.js +193 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-popover.js +208 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveTables.js +64 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-responsiveText.js +46 -0
- data/vendor/assets/javascripts/groundworkcss/plugins/jquery-tooltip.js +137 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/_settings.scss +149 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/base/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_animations.scss → base/_animations.scss} +7 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_global.scss → base/_global.scss} +27 -10
- data/vendor/assets/stylesheets/groundworkcss-scss/{_grid.scss → base/_grid.scss} +5 -3
- data/vendor/assets/stylesheets/groundworkcss-scss/{_helpers.scss → base/_helpers.scss} +61 -18
- data/vendor/assets/stylesheets/groundworkcss-scss/{_reset.scss → base/_reset.scss} +36 -31
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_variables.scss → core/_constants.scss} +7 -58
- data/vendor/assets/stylesheets/groundworkcss-scss/core/_defaults.scss +150 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_mixins.scss → core/_mixins.scss} +6 -97
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_all.scss +10 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_forms.scss → form/_forms.scss} +96 -80
- data/vendor/assets/stylesheets/groundworkcss-scss/form/_tiles.scss +100 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork-ie.scss +10 -8
- data/vendor/assets/stylesheets/groundworkcss-scss/groundwork.scss +12 -32
- data/vendor/assets/stylesheets/groundworkcss-scss/{_popovers.scss → misc/_all.scss} +3 -4
- data/vendor/assets/stylesheets/groundworkcss-scss/{_social-icons.scss → misc/_social-icons.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_all.scss +11 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_buttons.scss +328 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_navigation.scss → nav/_navigation.scss} +8 -5
- data/vendor/assets/stylesheets/groundworkcss-scss/nav/_tabs.scss +230 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/no-svg.scss +9 -7
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_all.scss +13 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_desktop.scss +26 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_helpers.scss +16 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_ipad.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_mobile.scss +44 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/responsive/_small-tablet.scss +196 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_all.scss +9 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_font-awesome.scss → type/_font-awesome.scss} +10 -2
- data/vendor/assets/stylesheets/groundworkcss-scss/{_typography.scss → type/_typography.scss} +172 -60
- data/vendor/assets/stylesheets/groundworkcss-scss/type/_webfonts.scss +28 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_ui-elements.scss → ui/_all.scss} +4 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_callouts.scss +117 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_messages.scss +111 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_modals.scss → ui/_modals.scss} +2 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_popovers.scss +81 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/ui/_tables.scss +142 -0
- data/vendor/assets/stylesheets/groundworkcss-scss/{_tooltips.scss → ui/_tooltips.scss} +35 -0
- metadata +56 -40
- data/vendor/assets/stylesheets/groundworkcss-scss/_buttons.scss +0 -231
- data/vendor/assets/stylesheets/groundworkcss-scss/_callouts.scss +0 -74
- data/vendor/assets/stylesheets/groundworkcss-scss/_cycle.scss +0 -20
- data/vendor/assets/stylesheets/groundworkcss-scss/_messages.scss +0 -69
- data/vendor/assets/stylesheets/groundworkcss-scss/_mobile-reset.scss +0 -11
- data/vendor/assets/stylesheets/groundworkcss-scss/_responsive.scss +0 -246
- data/vendor/assets/stylesheets/groundworkcss-scss/_tables.scss +0 -85
- data/vendor/assets/stylesheets/groundworkcss-scss/_tabs.scss +0 -172
- data/vendor/assets/stylesheets/groundworkcss-scss/_tiles.scss +0 -198
- data/vendor/assets/stylesheets/groundworkcss-scss/_webfonts.scss +0 -19
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* jQuery ResponsiveText by Gary Hepting - https://github.com/ghepting/responsiveText
|
|
4
|
+
*
|
|
5
|
+
* Open source under the MIT License.
|
|
6
|
+
*
|
|
7
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
(function() {
|
|
13
|
+
(function($) {
|
|
14
|
+
var elems;
|
|
15
|
+
|
|
16
|
+
elems = [];
|
|
17
|
+
$.fn.responsiveText = function(options) {
|
|
18
|
+
var settings;
|
|
19
|
+
|
|
20
|
+
settings = {
|
|
21
|
+
compressor: options.compressor || 10,
|
|
22
|
+
minSize: options.minSize || Number.NEGATIVE_INFINITY,
|
|
23
|
+
maxSize: options.maxSize || Number.POSITIVE_INFINITY
|
|
24
|
+
};
|
|
25
|
+
return this.each(function() {
|
|
26
|
+
var elem;
|
|
27
|
+
|
|
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
|
+
|
|
40
|
+
elem = $(this);
|
|
41
|
+
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')))));
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
})(jQuery);
|
|
45
|
+
|
|
46
|
+
}).call(this);
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
|
|
4
|
+
*
|
|
5
|
+
* Open source under the MIT License.
|
|
6
|
+
*
|
|
7
|
+
* Copyright © 2013 Gary Hepting. All rights reserved.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
(function() {
|
|
13
|
+
(function($) {
|
|
14
|
+
return $.fn.tooltip = function(options) {
|
|
15
|
+
var closetooltip, defaults, delayShow, getElementPosition, resettooltip, setPosition, showtooltip, tooltip, trigger;
|
|
16
|
+
|
|
17
|
+
defaults = {
|
|
18
|
+
topOffset: 0,
|
|
19
|
+
delay: 100,
|
|
20
|
+
speed: 100
|
|
21
|
+
};
|
|
22
|
+
options = $.extend(defaults, options);
|
|
23
|
+
tooltip = $('#tooltip');
|
|
24
|
+
delayShow = '';
|
|
25
|
+
trigger = '';
|
|
26
|
+
if ($('#tooltip').length !== 1) {
|
|
27
|
+
tooltip = $("<div id=\"tooltip\"></div>");
|
|
28
|
+
tooltip.appendTo("body").hide();
|
|
29
|
+
}
|
|
30
|
+
getElementPosition = function(el) {
|
|
31
|
+
var bottom, left, offset, right, top, win;
|
|
32
|
+
|
|
33
|
+
offset = el.offset();
|
|
34
|
+
win = $(window);
|
|
35
|
+
return {
|
|
36
|
+
top: top = offset.top - win.scrollTop(),
|
|
37
|
+
left: left = offset.left - win.scrollLeft(),
|
|
38
|
+
bottom: bottom = win.height() - top - el.outerHeight(),
|
|
39
|
+
right: right = win.width() - left - el.outerWidth()
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
setPosition = function(trigger) {
|
|
43
|
+
var attrs, coords, height, width;
|
|
44
|
+
|
|
45
|
+
coords = getElementPosition(trigger);
|
|
46
|
+
if (tooltip.outerWidth() > ($(window).width() - 20)) {
|
|
47
|
+
tooltip.css('width', $(window).width() - 20);
|
|
48
|
+
}
|
|
49
|
+
attrs = {};
|
|
50
|
+
tooltip.css('max-width', Math.min($(window).width() - parseInt($('body').css('padding-left')) - parseInt($('body').css('padding-right')), parseInt(tooltip.css('max-width'))));
|
|
51
|
+
width = tooltip.outerWidth();
|
|
52
|
+
height = tooltip.outerHeight();
|
|
53
|
+
if (coords.left <= coords.right) {
|
|
54
|
+
tooltip.addClass('left');
|
|
55
|
+
attrs.left = coords.left;
|
|
56
|
+
} else {
|
|
57
|
+
tooltip.addClass('right');
|
|
58
|
+
attrs.right = coords.right;
|
|
59
|
+
}
|
|
60
|
+
if ((coords.top - options.topOffset) > (height + 20)) {
|
|
61
|
+
tooltip.addClass('top');
|
|
62
|
+
attrs.top = (trigger.offset().top - height) - 20;
|
|
63
|
+
} else {
|
|
64
|
+
tooltip.addClass('bottom');
|
|
65
|
+
attrs.top = trigger.offset().top + trigger.outerHeight() - 4;
|
|
66
|
+
}
|
|
67
|
+
return tooltip.css(attrs);
|
|
68
|
+
};
|
|
69
|
+
resettooltip = function() {
|
|
70
|
+
return tooltip.text('').removeClass().css({
|
|
71
|
+
left: 'auto',
|
|
72
|
+
right: 'auto',
|
|
73
|
+
top: 'auto',
|
|
74
|
+
bottom: 'auto',
|
|
75
|
+
width: 'auto',
|
|
76
|
+
'padding-left': 'auto',
|
|
77
|
+
'padding-right': 'auto'
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
closetooltip = function() {
|
|
81
|
+
tooltip.stop().hide();
|
|
82
|
+
resettooltip();
|
|
83
|
+
return $('[role=tooltip]').removeClass('on');
|
|
84
|
+
};
|
|
85
|
+
showtooltip = function(trigger) {
|
|
86
|
+
clearTimeout(delayShow);
|
|
87
|
+
return delayShow = setTimeout(function() {
|
|
88
|
+
tooltip.css({
|
|
89
|
+
"opacity": 0,
|
|
90
|
+
"display": "block"
|
|
91
|
+
}).text(trigger.attr('data-title'));
|
|
92
|
+
$.each(['disabled', 'info', 'alert', 'warning', 'error', 'success', 'green', 'blue', 'purple', 'yellow', 'orange', 'red', 'asphalt'], function(index, value) {
|
|
93
|
+
if (trigger.hasClass(value)) {
|
|
94
|
+
return tooltip.addClass(value);
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
setPosition(trigger);
|
|
98
|
+
trigger.addClass('on');
|
|
99
|
+
return tooltip.animate({
|
|
100
|
+
top: "+=10",
|
|
101
|
+
opacity: 1
|
|
102
|
+
}, options.speed);
|
|
103
|
+
}, options.delay);
|
|
104
|
+
};
|
|
105
|
+
this.each(function() {
|
|
106
|
+
var $this;
|
|
107
|
+
|
|
108
|
+
$this = $(this);
|
|
109
|
+
$this.attr('role', 'tooltip').attr('data-title', $this.attr('title'));
|
|
110
|
+
return $this.removeAttr("title");
|
|
111
|
+
});
|
|
112
|
+
$('body').on('focus', '[role=tooltip]', function() {
|
|
113
|
+
return showtooltip($(this));
|
|
114
|
+
}).on('blur', '[role=tooltip]', function() {
|
|
115
|
+
clearTimeout(delayShow);
|
|
116
|
+
return closetooltip();
|
|
117
|
+
}).on('mouseenter', '[role=tooltip]:not(input,select,textarea)', function() {
|
|
118
|
+
return showtooltip($(this));
|
|
119
|
+
}).on('mouseleave', '[role=tooltip]:not(input,select,textarea)', function() {
|
|
120
|
+
clearTimeout(delayShow);
|
|
121
|
+
return closetooltip();
|
|
122
|
+
});
|
|
123
|
+
return $(window).on({
|
|
124
|
+
scroll: function() {
|
|
125
|
+
trigger = $('[role=tooltip].on');
|
|
126
|
+
if (trigger.length) {
|
|
127
|
+
setPosition(trigger);
|
|
128
|
+
return $('#tooltip').css({
|
|
129
|
+
top: "+=10"
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
})(jQuery);
|
|
136
|
+
|
|
137
|
+
}).call(this);
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// =============================================
|
|
2
|
+
// Custom Settings
|
|
3
|
+
// Last Updated:2013-4-25
|
|
4
|
+
// =============================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
///////////////////////
|
|
10
|
+
// custom settings //
|
|
11
|
+
///////////////////////
|
|
12
|
+
|
|
13
|
+
// framework options
|
|
14
|
+
// $classes: true; // enable CSS class selectors (WIP)
|
|
15
|
+
// $tags: true; // enable semantic tag selectors (WIP)
|
|
16
|
+
// $tag-elements: html body
|
|
17
|
+
// div span header footer aside nav menu section article details
|
|
18
|
+
// h1 h2 h3 h4 h5 h6 p
|
|
19
|
+
// ol ul li dl dt dd
|
|
20
|
+
// em small big strong b u i
|
|
21
|
+
// blockquote cite pre code time address
|
|
22
|
+
// a img center hr
|
|
23
|
+
// form fieldset legend label input textarea select button
|
|
24
|
+
// table caption tbody thead tfoot tr th td
|
|
25
|
+
// iframe object canvas audio video;
|
|
26
|
+
// $aria: true; // enable Aria role selectors (WIP)
|
|
27
|
+
|
|
28
|
+
// file paths
|
|
29
|
+
// $root_path: '../'; // path to HTML document root (relative from $css_path)
|
|
30
|
+
// $css_path: 'css/'; // path to CSS output (relative from HTML document root)
|
|
31
|
+
// $images_path: 'images/'; // path to images (relative from $root_path)
|
|
32
|
+
// $fonts_path: 'font/'; // path to fonts (relative from $root_path)
|
|
33
|
+
// $boxsizing_path: '/js/libs/boxsizing.htc'; // path to box sizing polyfill (change to absolute path from HTML document root)
|
|
34
|
+
|
|
35
|
+
// layout/grid settings
|
|
36
|
+
// $max-width: 1200px; // max container width (i.e. - 960px)
|
|
37
|
+
// $gutter: 10px; // gutter spacing
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
///////////////////////
|
|
42
|
+
// colors //
|
|
43
|
+
///////////////////////
|
|
44
|
+
|
|
45
|
+
// base styles
|
|
46
|
+
// $background-color: #ffffff;
|
|
47
|
+
// $font-color: #2b2b2d;
|
|
48
|
+
// $font-size: 14px;
|
|
49
|
+
// $font-family: Helvetica, Arial, Geneva, sans-serif;
|
|
50
|
+
|
|
51
|
+
// links
|
|
52
|
+
// $link-color: #489AC1;
|
|
53
|
+
// $link-active: #198D98;
|
|
54
|
+
|
|
55
|
+
// selection
|
|
56
|
+
// $selection-color: $link-color;
|
|
57
|
+
// $selection-text: #ffffff;
|
|
58
|
+
|
|
59
|
+
// borders
|
|
60
|
+
// $border-color: #dddddd;
|
|
61
|
+
|
|
62
|
+
// buttons
|
|
63
|
+
// $button-color: #1DABB8;
|
|
64
|
+
// $button-border-color: darken($button-color,10%);
|
|
65
|
+
// $button-active: #198D98;
|
|
66
|
+
// $button-text: #ffffff;
|
|
67
|
+
// $button-active-text: #ffffff;
|
|
68
|
+
|
|
69
|
+
// disabled
|
|
70
|
+
// $disabled-color: gray;
|
|
71
|
+
|
|
72
|
+
// info
|
|
73
|
+
// $info-color: #3a87ad;
|
|
74
|
+
// $info-background: #d9edf7;
|
|
75
|
+
// $info-border: #bce8f1;
|
|
76
|
+
|
|
77
|
+
// alert
|
|
78
|
+
// $alert-color: #c09853;
|
|
79
|
+
// $alert-background: #fcf8e3;
|
|
80
|
+
// $alert-border: #fbeee0;
|
|
81
|
+
|
|
82
|
+
// error
|
|
83
|
+
// $error-color: #b94a48;
|
|
84
|
+
// $error-background: #f2dede;
|
|
85
|
+
// $error-border: #eed3d7;
|
|
86
|
+
|
|
87
|
+
// warning
|
|
88
|
+
// $warning-color: #FF971E;
|
|
89
|
+
// $warning-background: #FFE5C7;
|
|
90
|
+
// $warning-border: #FFDBB3;
|
|
91
|
+
|
|
92
|
+
// success
|
|
93
|
+
// $success-color: #468847;
|
|
94
|
+
// $success-background: #dff0d8;
|
|
95
|
+
// $success-border: #d6e9c6;
|
|
96
|
+
|
|
97
|
+
// $state-name: disabled info alert warning error success;
|
|
98
|
+
// $state-code: $disabled-color $info-color $alert-color $warning-color $error-color $success-color;
|
|
99
|
+
// $state-text: $white $white $white $white $white $white;
|
|
100
|
+
|
|
101
|
+
// modifier colors
|
|
102
|
+
// $green: #2ecc71 !default;
|
|
103
|
+
// $blue: #3498db !default;
|
|
104
|
+
// $purple: #9b59b6 !default;
|
|
105
|
+
// $yellow: #f1c40f !default;
|
|
106
|
+
// $orange: #e67e22 !default;
|
|
107
|
+
// $red: #e74c3c !default;
|
|
108
|
+
// $pink: #f02475 !default;
|
|
109
|
+
// $turquoise: #1abc9c !default;
|
|
110
|
+
// $asphalt: #34495e !default;
|
|
111
|
+
|
|
112
|
+
// $modifier-name: green blue purple yellow orange red pink turquoise asphalt;
|
|
113
|
+
// $modifier-code: $green $blue $purple $yellow $orange $red $pink $turquoise $asphalt;
|
|
114
|
+
// $modifier-text: $white $white $white $white $white $white $white $white $white;
|
|
115
|
+
|
|
116
|
+
// rounded corners
|
|
117
|
+
// $radius: 4px;
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
///////////////////////
|
|
122
|
+
// reset elements //
|
|
123
|
+
///////////////////////
|
|
124
|
+
|
|
125
|
+
// elements that will be reset (trim this to include only the elements that are used in your markup)
|
|
126
|
+
// $reset: true;
|
|
127
|
+
// $reset-elements: html body
|
|
128
|
+
// div span header footer aside nav menu section article details
|
|
129
|
+
// h1 h2 h3 h4 h5 h6 p
|
|
130
|
+
// ol ul li dl dt dd
|
|
131
|
+
// em small big strong b u i sub sup del strike
|
|
132
|
+
// blockquote cite pre code time address
|
|
133
|
+
// a img center hr
|
|
134
|
+
// form fieldset legend label input textarea select button
|
|
135
|
+
// table caption tbody thead tfoot tr th td
|
|
136
|
+
// iframe object canvas audio video;
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
///////////////////////
|
|
141
|
+
// web fonts //
|
|
142
|
+
///////////////////////
|
|
143
|
+
|
|
144
|
+
// font names
|
|
145
|
+
// $web-font-names: Average Sans,
|
|
146
|
+
// American Typewriter;
|
|
147
|
+
// font files (must all be named the same as listed below and include .eot, .woff and .ttf file types)
|
|
148
|
+
// $web-font-files: average-sans-webfont,
|
|
149
|
+
// americantypewriterstd-bold;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// =============================================
|
|
2
|
+
// GroundworkCSS by Gary Hepting
|
|
3
|
+
// Last Updated:2013-4-24
|
|
4
|
+
// =============================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// reset (box sizing)
|
|
8
|
+
@import "reset";
|
|
9
|
+
@import "global";
|
|
10
|
+
@import "grid";
|
|
11
|
+
@import "helpers";
|
data/vendor/assets/stylesheets/groundworkcss-scss/{_animations.scss → base/_animations.scss}
RENAMED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
// =============================================
|
|
2
|
+
// CSS Keyframe Animations
|
|
3
|
+
// Last Updated:2013-4-24
|
|
4
|
+
// =============================================
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
4
8
|
|
|
5
9
|
// spin (required by helpers)
|
|
6
10
|
@-moz-keyframes spin {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// =============================================
|
|
2
|
-
//
|
|
3
|
-
// Last Updated:2013-
|
|
2
|
+
// Global Styles
|
|
3
|
+
// Last Updated:2013-4-24
|
|
4
4
|
// =============================================
|
|
5
5
|
|
|
6
6
|
|
|
@@ -13,35 +13,52 @@
|
|
|
13
13
|
width:100%;
|
|
14
14
|
height:100%;
|
|
15
15
|
}
|
|
16
|
+
|
|
16
17
|
%document {
|
|
17
18
|
width:100% !important;
|
|
18
19
|
min-height:100%;
|
|
19
20
|
background:$background-color;
|
|
21
|
+
margin:0;
|
|
20
22
|
padding:0;
|
|
21
23
|
}
|
|
24
|
+
|
|
22
25
|
%hr {
|
|
23
26
|
border:0;
|
|
24
27
|
border-bottom:1px solid $border-color;
|
|
25
28
|
margin:$gutter auto;
|
|
26
29
|
clear:both;
|
|
27
30
|
}
|
|
31
|
+
|
|
28
32
|
%img {
|
|
29
33
|
max-width:100%;
|
|
30
34
|
border:none;
|
|
31
35
|
}
|
|
36
|
+
|
|
32
37
|
@if $tags {
|
|
33
|
-
html
|
|
34
|
-
|
|
38
|
+
$elements: html hr img;
|
|
39
|
+
@for $i from 1 through length($elements) {
|
|
40
|
+
@if not index($tag-elements, nth($elements, $i)) == false {
|
|
41
|
+
#{nth($elements, $i)} {
|
|
42
|
+
@extend %#{nth($elements, $i)};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
35
45
|
}
|
|
36
|
-
html,
|
|
37
|
-
body {
|
|
46
|
+
html, body {
|
|
38
47
|
@extend %document;
|
|
39
48
|
}
|
|
40
|
-
hr {
|
|
41
|
-
@extend %hr;
|
|
42
|
-
}
|
|
43
|
-
img,
|
|
44
49
|
a img {
|
|
45
50
|
@extend %img;
|
|
46
51
|
}
|
|
47
52
|
}
|
|
53
|
+
|
|
54
|
+
@if $classes {
|
|
55
|
+
$names: html document hr img;
|
|
56
|
+
@for $i from 1 through length($names) {
|
|
57
|
+
.#{nth($names, $i)} {
|
|
58
|
+
@extend %#{nth($names, $i)};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.html, .body {
|
|
62
|
+
@extend %document;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
// =============================================
|
|
2
2
|
// Fractional grid system by Gary Hepting
|
|
3
|
-
// Last Updated:2013-
|
|
3
|
+
// Last Updated:2013-4-24
|
|
4
4
|
//
|
|
5
5
|
// ***** REQUIRES BORDER BOX SIZING *****
|
|
6
|
-
//
|
|
6
|
+
//
|
|
7
7
|
// =============================================
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
|
|
11
|
+
|
|
10
12
|
///////////////////////////////////////////////
|
|
11
13
|
// grid system - placeholders & classes //
|
|
12
14
|
///////////////////////////////////////////////
|
|
@@ -141,4 +143,4 @@ $fractions-plural: wholes halves thirds fourths fifths sixths sevenths eighths n
|
|
|
141
143
|
&%skip-nine,
|
|
142
144
|
&%skip-ten,
|
|
143
145
|
&%skip-eleven#{if($classes, ", &.skip-one, &.skip-two, &.skip-three, &.skip-four, &.skip-five, &.skip-six, &.skip-seven, &.skip-eight, &.skip-nine, &.skip-ten, &.skip-eleven", "")} { margin-left:0; }
|
|
144
|
-
}
|
|
146
|
+
}
|