foundation-sass 2.1
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/README.mkdn +70 -0
- data/lib/foundation-sass.rb +9 -0
- data/stylesheets/_foundation-sass.sass +1 -0
- data/templates/project/MIT-LICENSE.txt +20 -0
- data/templates/project/config.rb +33 -0
- data/templates/project/humans.txt +8 -0
- data/templates/project/images/misc/button-gloss.png +0 -0
- data/templates/project/images/misc/button-overlay.png +0 -0
- data/templates/project/images/misc/custom-form-sprites.png +0 -0
- data/templates/project/images/misc/input-bg.png +0 -0
- data/templates/project/images/misc/modal-gloss.png +0 -0
- data/templates/project/images/misc/table-sorter.png +0 -0
- data/templates/project/images/orbit/bullets.jpg +0 -0
- data/templates/project/images/orbit/left-arrow.png +0 -0
- data/templates/project/images/orbit/loading.gif +0 -0
- data/templates/project/images/orbit/mask-black.png +0 -0
- data/templates/project/images/orbit/pause-black.png +0 -0
- data/templates/project/images/orbit/right-arrow.png +0 -0
- data/templates/project/images/orbit/rotator-black.png +0 -0
- data/templates/project/images/orbit/timer-black.png +0 -0
- data/templates/project/index.html +151 -0
- data/templates/project/javascripts/app.js +43 -0
- data/templates/project/javascripts/forms.jquery.js +58 -0
- data/templates/project/javascripts/jquery.customforms.js +168 -0
- data/templates/project/javascripts/jquery.min.js +4 -0
- data/templates/project/javascripts/jquery.orbit-1.3.0.js +597 -0
- data/templates/project/javascripts/jquery.placeholder.min.js +2 -0
- data/templates/project/javascripts/jquery.reveal.js +126 -0
- data/templates/project/manifest.rb +75 -0
- data/templates/project/robots.txt +4 -0
- data/templates/project/sass/app.sass +6 -0
- data/templates/project/sass/forms.sass +189 -0
- data/templates/project/sass/globals.sass +128 -0
- data/templates/project/sass/grid.sass +159 -0
- data/templates/project/sass/ie.sass +11 -0
- data/templates/project/sass/includes/_colors.sass +8 -0
- data/templates/project/sass/includes/_mixins.sass +32 -0
- data/templates/project/sass/includes/_settings.sass +5 -0
- data/templates/project/sass/mobile.sass +215 -0
- data/templates/project/sass/orbit.sass +156 -0
- data/templates/project/sass/reveal.sass +86 -0
- data/templates/project/sass/typography.sass +130 -0
- data/templates/project/sass/ui.sass +331 -0
- data/templates/project/stylesheets/app.css +1 -0
- data/templates/project/stylesheets/forms.css +70 -0
- data/templates/project/stylesheets/globals.css +69 -0
- data/templates/project/stylesheets/grid.css +66 -0
- data/templates/project/stylesheets/ie.css +2 -0
- data/templates/project/stylesheets/mobile.css +76 -0
- data/templates/project/stylesheets/orbit.css +45 -0
- data/templates/project/stylesheets/reveal.css +24 -0
- data/templates/project/stylesheets/typography.css +57 -0
- data/templates/project/stylesheets/ui.css +110 -0
- metadata +109 -0
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! http://mths.be/placeholder v1.8.5 by @mathias */
|
2
|
+
(function(g,a,$){var f='placeholder' in a.createElement('input'),b='placeholder' in a.createElement('textarea');if(f&&b){$.fn.placeholder=function(){return this};$.fn.placeholder.input=$.fn.placeholder.textarea=true}else{$.fn.placeholder=function(){return this.filter((f?'textarea':':input')+'[placeholder]').bind('focus.placeholder',c).bind('blur.placeholder',e).trigger('blur.placeholder').end()};$.fn.placeholder.input=f;$.fn.placeholder.textarea=b;$(function(){$('form').bind('submit.placeholder',function(){var h=$('.placeholder',this).each(c);setTimeout(function(){h.each(e)},10)})});$(g).bind('unload.placeholder',function(){$('.placeholder').val('')})}function d(i){var h={},j=/^jQuery\d+$/;$.each(i.attributes,function(l,k){if(k.specified&&!j.test(k.name)){h[k.name]=k.value}});return h}function c(){var h=$(this);if(h.val()===h.attr('placeholder')&&h.hasClass('placeholder')){if(h.data('placeholder-password')){h.hide().next().show().focus().attr('id',h.removeAttr('id').data('placeholder-id'))}else{h.val('').removeClass('placeholder')}}}function e(){var l,k=$(this),h=k,j=this.id;if(k.val()===''){if(k.is(':password')){if(!k.data('placeholder-textinput')){try{l=k.clone().attr({type:'text'})}catch(i){l=$('<input>').attr($.extend(d(this),{type:'text'}))}l.removeAttr('name').data('placeholder-password',true).data('placeholder-id',j).bind('focus.placeholder',c);k.data('placeholder-textinput',l).data('placeholder-id',j).before(l)}k=k.removeAttr('id').hide().prev().attr('id',j).show()}k.addClass('placeholder').val(k.attr('placeholder'))}else{k.removeClass('placeholder')}}}(this,document,jQuery));
|
@@ -0,0 +1,126 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Reveal Plugin 1.0
|
3
|
+
* www.ZURB.com
|
4
|
+
* Copyright 2010, ZURB
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
*/
|
8
|
+
|
9
|
+
|
10
|
+
(function ($) {
|
11
|
+
$('a[data-reveal-id]').live('click', function (event) {
|
12
|
+
event.preventDefault();
|
13
|
+
var modalLocation = $(this).attr('data-reveal-id');
|
14
|
+
$('#' + modalLocation).reveal($(this).data());
|
15
|
+
});
|
16
|
+
|
17
|
+
$.fn.reveal = function (options) {
|
18
|
+
var defaults = {
|
19
|
+
animation: 'fadeAndPop', // fade, fadeAndPop, none
|
20
|
+
animationSpeed: 300, // how fast animtions are
|
21
|
+
closeOnBackgroundClick: true, // if you click background will modal close?
|
22
|
+
dismissModalClass: 'close-reveal-modal' // the class of a button or element that will close an open modal
|
23
|
+
};
|
24
|
+
var options = $.extend({}, defaults, options);
|
25
|
+
|
26
|
+
return this.each(function () {
|
27
|
+
var modal = $(this),
|
28
|
+
topMeasure = parseInt(modal.css('top')),
|
29
|
+
topOffset = modal.height() + topMeasure,
|
30
|
+
locked = false,
|
31
|
+
modalBg = $('.reveal-modal-bg');
|
32
|
+
|
33
|
+
if (modalBg.length == 0) {
|
34
|
+
modalBg = $('<div class="reveal-modal-bg" />').insertAfter(modal);
|
35
|
+
modalBg.fadeTo('fast', 0.8);
|
36
|
+
}
|
37
|
+
|
38
|
+
function openAnimation() {
|
39
|
+
modalBg.unbind('click.modalEvent');
|
40
|
+
$('.' + options.dismissModalClass).unbind('click.modalEvent');
|
41
|
+
if (!locked) {
|
42
|
+
lockModal();
|
43
|
+
if (options.animation == "fadeAndPop") {
|
44
|
+
modal.css({'top': $(document).scrollTop() - topOffset, 'opacity': 0, 'visibility': 'visible'});
|
45
|
+
modalBg.fadeIn(options.animationSpeed / 2);
|
46
|
+
modal.delay(options.animationSpeed / 2).animate({
|
47
|
+
"top": $(document).scrollTop() + topMeasure + 'px',
|
48
|
+
"opacity": 1
|
49
|
+
}, options.animationSpeed, unlockModal);
|
50
|
+
}
|
51
|
+
if (options.animation == "fade") {
|
52
|
+
modal.css({'opacity': 0, 'visibility': 'visible', 'top': $(document).scrollTop() + topMeasure});
|
53
|
+
modalBg.fadeIn(options.animationSpeed / 2);
|
54
|
+
modal.delay(options.animationSpeed / 2).animate({
|
55
|
+
"opacity": 1
|
56
|
+
}, options.animationSpeed, unlockModal);
|
57
|
+
}
|
58
|
+
if (options.animation == "none") {
|
59
|
+
modal.css({'visibility': 'visible', 'top': $(document).scrollTop() + topMeasure});
|
60
|
+
modalBg.css({"display": "block"});
|
61
|
+
unlockModal();
|
62
|
+
}
|
63
|
+
}
|
64
|
+
modal.unbind('reveal:open', openAnimation);
|
65
|
+
}
|
66
|
+
modal.bind('reveal:open', openAnimation);
|
67
|
+
|
68
|
+
function closeAnimation() {
|
69
|
+
if (!locked) {
|
70
|
+
lockModal();
|
71
|
+
if (options.animation == "fadeAndPop") {
|
72
|
+
modalBg.delay(options.animationSpeed).fadeOut(options.animationSpeed);
|
73
|
+
modal.animate({
|
74
|
+
"top": $(document).scrollTop() - topOffset + 'px',
|
75
|
+
"opacity": 0
|
76
|
+
}, options.animationSpeed / 2, function () {
|
77
|
+
modal.css({'top': topMeasure, 'opacity': 1, 'visibility': 'hidden'});
|
78
|
+
unlockModal();
|
79
|
+
});
|
80
|
+
}
|
81
|
+
if (options.animation == "fade") {
|
82
|
+
modalBg.delay(options.animationSpeed).fadeOut(options.animationSpeed);
|
83
|
+
modal.animate({
|
84
|
+
"opacity" : 0
|
85
|
+
}, options.animationSpeed, function () {
|
86
|
+
modal.css({'opacity': 1, 'visibility': 'hidden', 'top': topMeasure});
|
87
|
+
unlockModal();
|
88
|
+
});
|
89
|
+
}
|
90
|
+
if (options.animation == "none") {
|
91
|
+
modal.css({'visibility': 'hidden', 'top': topMeasure});
|
92
|
+
modalBg.css({'display': 'none'});
|
93
|
+
}
|
94
|
+
}
|
95
|
+
modal.unbind('reveal:close', closeAnimation);
|
96
|
+
}
|
97
|
+
modal.bind('reveal:close', closeAnimation);
|
98
|
+
modal.trigger('reveal:open');
|
99
|
+
|
100
|
+
var closeButton = $('.' + options.dismissModalClass).bind('click.modalEvent', function () {
|
101
|
+
modal.trigger('reveal:close');
|
102
|
+
});
|
103
|
+
|
104
|
+
if (options.closeOnBackgroundClick) {
|
105
|
+
modalBg.css({"cursor": "pointer"});
|
106
|
+
modalBg.bind('click.modalEvent', function () {
|
107
|
+
modal.trigger('reveal:close');
|
108
|
+
});
|
109
|
+
}
|
110
|
+
|
111
|
+
$('body').keyup(function (event) {
|
112
|
+
if (event.which === 27) { // 27 is the keycode for the Escape key
|
113
|
+
modal.trigger('reveal:close');
|
114
|
+
}
|
115
|
+
});
|
116
|
+
|
117
|
+
function unlockModal() {
|
118
|
+
locked = false;
|
119
|
+
}
|
120
|
+
|
121
|
+
function lockModal() {
|
122
|
+
locked = true;
|
123
|
+
}
|
124
|
+
});
|
125
|
+
};
|
126
|
+
})(jQuery);
|
@@ -0,0 +1,75 @@
|
|
1
|
+
description "foundation-sass"
|
2
|
+
|
3
|
+
# Make sure you list all the project template files here in the manifest.
|
4
|
+
file "index.html"
|
5
|
+
file "humans.txt"
|
6
|
+
file "robots.txt"
|
7
|
+
file "MIT-LICENSE.txt"
|
8
|
+
|
9
|
+
# Config File needs --force to work when creating a project
|
10
|
+
file "config.rb"
|
11
|
+
|
12
|
+
# CSS Files
|
13
|
+
file "stylesheets/app.css", :media => 'screen'
|
14
|
+
file "stylesheets/forms.css", :media => 'screen'
|
15
|
+
file "stylesheets/globals.css", :media => 'screen'
|
16
|
+
file "stylesheets/ie.css", :media => 'screen'
|
17
|
+
file "stylesheets/orbit.css", :media => 'screen'
|
18
|
+
file "stylesheets/reveal.css", :media => 'screen'
|
19
|
+
file "stylesheets/ui.css", :media => 'screen'
|
20
|
+
file "stylesheets/mobile.css", :media => 'screen'
|
21
|
+
file "stylesheets/grid.css", :media => 'screen'
|
22
|
+
file "stylesheets/typography.css", :media => 'screen'
|
23
|
+
|
24
|
+
# Image Files
|
25
|
+
file "images/misc/button-gloss.png"
|
26
|
+
file "images/misc/button-overlay.png"
|
27
|
+
file "images/misc/custom-form-sprites.png"
|
28
|
+
file "images/misc/input-bg.png"
|
29
|
+
file "images/misc/modal-gloss.png"
|
30
|
+
file "images/misc/table-sorter.png"
|
31
|
+
file "images/orbit/bullets.jpg"
|
32
|
+
file "images/orbit/left-arrow.png"
|
33
|
+
file "images/orbit/loading.gif"
|
34
|
+
file "images/orbit/mask-black.png"
|
35
|
+
file "images/orbit/pause-black.png"
|
36
|
+
file "images/orbit/right-arrow.png"
|
37
|
+
file "images/orbit/rotator-black.png"
|
38
|
+
file "images/orbit/timer-black.png"
|
39
|
+
|
40
|
+
# Javascrips
|
41
|
+
file "javascripts/app.js"
|
42
|
+
file "javascripts/forms.jquery.js"
|
43
|
+
file "javascripts/jquery.customforms.js"
|
44
|
+
file "javascripts/jquery.min.js"
|
45
|
+
file "javascripts/jquery.reveal.js"
|
46
|
+
file "javascripts/jquery.orbit-1.3.0.js"
|
47
|
+
file "javascripts/jquery.placeholder.min.js"
|
48
|
+
|
49
|
+
# Sass Files
|
50
|
+
file "sass/app.sass"
|
51
|
+
file "sass/forms.sass"
|
52
|
+
file "sass/globals.sass"
|
53
|
+
file "sass/ie.sass"
|
54
|
+
file "sass/orbit.sass"
|
55
|
+
file "sass/reveal.sass"
|
56
|
+
file "sass/ui.sass"
|
57
|
+
file "sass/mobile.sass"
|
58
|
+
file "sass/grid.sass"
|
59
|
+
file "sass/typography.sass"
|
60
|
+
# Sass Mixins
|
61
|
+
file "sass/includes/_mixins.sass"
|
62
|
+
file "sass/includes/_settings.sass"
|
63
|
+
file "sass/includes/_colors.sass"
|
64
|
+
|
65
|
+
help %Q{
|
66
|
+
|
67
|
+
If you need help, email us at foundation@zurb.com or visit foundation.zurb.com"
|
68
|
+
|
69
|
+
}
|
70
|
+
|
71
|
+
welcome_message %Q{
|
72
|
+
|
73
|
+
Congratulations! You have installed ZURB Foundation!
|
74
|
+
|
75
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
@import includes/settings
|
2
|
+
@import includes/mixins
|
3
|
+
@import includes/colors
|
4
|
+
/* Artfully masterminded by ZURB :: Make sure to include app.js if using inline label inputs */
|
5
|
+
|
6
|
+
/* Standard Forms */
|
7
|
+
formv
|
8
|
+
margin: 0 0 18px
|
9
|
+
label
|
10
|
+
display: block
|
11
|
+
+font-size(13)
|
12
|
+
line-height: 18px
|
13
|
+
cursor: pointer
|
14
|
+
margin-bottom: 9px
|
15
|
+
|
16
|
+
input.input-text, textarea
|
17
|
+
border-right: 1px solid #bbb
|
18
|
+
border-bottom: 1px solid #bbb
|
19
|
+
input.input-text, textarea, select
|
20
|
+
display: block
|
21
|
+
margin-bottom: 9px
|
22
|
+
label + input.input-text, label + textarea, label + select, label + div.dropdown, select + div.dropdown
|
23
|
+
margin-top: -9px
|
24
|
+
|
25
|
+
/* Text input and textarea font and padding */
|
26
|
+
input.input-text, textarea
|
27
|
+
+font-size(13)
|
28
|
+
padding: 4px 3px 2px
|
29
|
+
outline: none !important
|
30
|
+
background: #fff
|
31
|
+
&.oversize
|
32
|
+
+font-size(18, $important: true)
|
33
|
+
padding: 4px 5px !important
|
34
|
+
&:focus
|
35
|
+
background: #f9f9f9
|
36
|
+
|
37
|
+
/* Inlined Label Style */
|
38
|
+
input, textarea
|
39
|
+
.placeholder
|
40
|
+
color: #888
|
41
|
+
|
42
|
+
/* Text input and textarea sizes */
|
43
|
+
input
|
44
|
+
&.input-text
|
45
|
+
width: 254px
|
46
|
+
textarea
|
47
|
+
width: 254px
|
48
|
+
input, textarea
|
49
|
+
&.small
|
50
|
+
width: 134px
|
51
|
+
&.medium
|
52
|
+
width: 254px
|
53
|
+
&.large
|
54
|
+
width: 434px
|
55
|
+
|
56
|
+
/* Fieldsets */
|
57
|
+
form
|
58
|
+
fieldset
|
59
|
+
padding: 9px 9px 2px 9px
|
60
|
+
border: solid 1px #ddd
|
61
|
+
margin: 18px 0
|
62
|
+
|
63
|
+
/* Errors */
|
64
|
+
input
|
65
|
+
&.input-text
|
66
|
+
&.red
|
67
|
+
border-color: red
|
68
|
+
background-color: rgba(255,0,0,0.15)
|
69
|
+
label.red
|
70
|
+
color: red
|
71
|
+
small.error
|
72
|
+
margin-top: -6px
|
73
|
+
display: block
|
74
|
+
margin-bottom: 9px
|
75
|
+
+font-size(11)
|
76
|
+
color: red
|
77
|
+
width: 260px
|
78
|
+
.small+.error
|
79
|
+
width: 140px
|
80
|
+
.medium+.error
|
81
|
+
width: 260px
|
82
|
+
.large+.error
|
83
|
+
width: 440px
|
84
|
+
|
85
|
+
/* Nicer Forms */
|
86
|
+
form.nice
|
87
|
+
input.input-text, textarea
|
88
|
+
border: solid 1px #bbb
|
89
|
+
+border-radius(2px)
|
90
|
+
+font-size(13)
|
91
|
+
padding: 6px 3px 4px
|
92
|
+
outline: none !important
|
93
|
+
background: image-url('misc/input-bg.png') #fff
|
94
|
+
&:focus
|
95
|
+
background-color: #f9f9f9
|
96
|
+
fieldset
|
97
|
+
+border-radius(3px)
|
98
|
+
small.error
|
99
|
+
padding: 6px 4px
|
100
|
+
border: solid 0px red
|
101
|
+
border-width: 0 1px 1px 1px
|
102
|
+
margin-top: -10px
|
103
|
+
background: red
|
104
|
+
color: #fff
|
105
|
+
+font-size(12)
|
106
|
+
font-weight: bold
|
107
|
+
+border-bottom-left-radius(2px)
|
108
|
+
+border-bottom-right-radius(2px)
|
109
|
+
.small+.error
|
110
|
+
width: 132px
|
111
|
+
.medium+.error
|
112
|
+
width: 252px
|
113
|
+
.large+.error
|
114
|
+
width: 432px
|
115
|
+
|
116
|
+
/* Custom Forms */
|
117
|
+
form.custom
|
118
|
+
span.custom
|
119
|
+
display: inline-block
|
120
|
+
width: 14px
|
121
|
+
height: 14px
|
122
|
+
position: relative
|
123
|
+
top: 2px
|
124
|
+
border: solid 1px #ccc
|
125
|
+
background: image-url('misc/custom-form-sprites.png') 0 0 no-repeat
|
126
|
+
&.radio
|
127
|
+
+border-radius(7px)
|
128
|
+
&.checked
|
129
|
+
background-position: 0 -14px
|
130
|
+
&.checkbox
|
131
|
+
&.checked
|
132
|
+
background-position: 0 -28px
|
133
|
+
div.custom
|
134
|
+
&.dropdown
|
135
|
+
position: relative
|
136
|
+
display: inline-block
|
137
|
+
width: auto
|
138
|
+
height: 28px
|
139
|
+
margin-bottom: 9px
|
140
|
+
a.current
|
141
|
+
display: block
|
142
|
+
width: auto
|
143
|
+
line-height: 26px
|
144
|
+
padding: 0 38px 0 6px
|
145
|
+
border: solid 1px #ddd
|
146
|
+
color: #141414
|
147
|
+
a.selector
|
148
|
+
position: absolute
|
149
|
+
width: 26px
|
150
|
+
height: 26px
|
151
|
+
display: block
|
152
|
+
background: image-url('misc/custom-form-sprites.png') -14px 0 no-repeat
|
153
|
+
right: 0px
|
154
|
+
top: 0px
|
155
|
+
border: solid 1px #ddd
|
156
|
+
ul
|
157
|
+
position: absolute
|
158
|
+
width: auto
|
159
|
+
display: none
|
160
|
+
margin: 0
|
161
|
+
left: 0
|
162
|
+
top: 27px
|
163
|
+
margin: 0
|
164
|
+
padding: 0
|
165
|
+
background: rgba(255,255,255,0.9)
|
166
|
+
border: solid 1px #ddd
|
167
|
+
z-index: 10
|
168
|
+
&.show
|
169
|
+
display: block
|
170
|
+
li
|
171
|
+
cursor: pointer
|
172
|
+
padding: 3px 38px 3px 6px
|
173
|
+
margin: 0
|
174
|
+
&.selected
|
175
|
+
background: image-url('misc/custom-form-sprites.png') right -52px no-repeat
|
176
|
+
&:hover
|
177
|
+
background: image-url('misc/custom-form-sprites.png') $blue right -78px no-repeat
|
178
|
+
&:hover
|
179
|
+
background-color: $blue
|
180
|
+
color: #fff
|
181
|
+
&:hover
|
182
|
+
a.selector
|
183
|
+
background-position: -14px -26px
|
184
|
+
&.open
|
185
|
+
ul
|
186
|
+
display: block
|
187
|
+
a.selector
|
188
|
+
background-position: -14px -26px
|
189
|
+
|
@@ -0,0 +1,128 @@
|
|
1
|
+
@import includes/settings
|
2
|
+
@import includes/mixins
|
3
|
+
@import includes/colors
|
4
|
+
/* Artfully masterminded by ZURB */
|
5
|
+
/* Table of Contents */
|
6
|
+
/* :: Reset & Standards */
|
7
|
+
/* :: Links */
|
8
|
+
/* :: Lists */
|
9
|
+
/* :: Tables */
|
10
|
+
/* :: Misc */
|
11
|
+
|
12
|
+
/* Global Reset & Standards */
|
13
|
+
/* Eric Meyer's CSS Reset :: http://meyerweb.com/eric/tools/css/reset/ :: v2.0 | 20110126 :: License: none (public domain) */
|
14
|
+
|
15
|
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video
|
16
|
+
margin: 0
|
17
|
+
padding: 0
|
18
|
+
border: 0
|
19
|
+
font: inherit
|
20
|
+
vertical-align: baseline
|
21
|
+
html
|
22
|
+
font-size: 62.5%
|
23
|
+
|
24
|
+
/* HTML 5 display-role reset for older browsers */
|
25
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
|
26
|
+
display: block
|
27
|
+
body
|
28
|
+
line-height: 1
|
29
|
+
ol, ul
|
30
|
+
list-style: none
|
31
|
+
blockquote, q
|
32
|
+
quotes: none
|
33
|
+
&:before, &:after
|
34
|
+
content: ""
|
35
|
+
content: none
|
36
|
+
table
|
37
|
+
border-collapse: collapse
|
38
|
+
border-spacing: 0
|
39
|
+
|
40
|
+
body
|
41
|
+
background: #fff
|
42
|
+
+HelveticaFontStack
|
43
|
+
+font-size(13)
|
44
|
+
+font-smoothing(antialiased)
|
45
|
+
line-height: 18px
|
46
|
+
color: #555
|
47
|
+
position: relative
|
48
|
+
|
49
|
+
/* Links */
|
50
|
+
a
|
51
|
+
color: $blue
|
52
|
+
text-decoration: none
|
53
|
+
outline: 0
|
54
|
+
line-height: inherit
|
55
|
+
&:hover
|
56
|
+
color: lighten($blue, 10%)
|
57
|
+
p
|
58
|
+
a, a:visited
|
59
|
+
line-height: inherit
|
60
|
+
|
61
|
+
/* Lists */
|
62
|
+
ul, ol
|
63
|
+
margin-bottom: 18px
|
64
|
+
ul
|
65
|
+
list-style: none outside
|
66
|
+
&.square
|
67
|
+
list-style: square outside
|
68
|
+
&.circle
|
69
|
+
list-style: circle outside
|
70
|
+
&.disc
|
71
|
+
list-style: disc outside
|
72
|
+
ol
|
73
|
+
list-style: decimal
|
74
|
+
ol, ul.square, ul.circle, ul.disc
|
75
|
+
margin-left: 30px
|
76
|
+
ul ul, ol ol
|
77
|
+
margin: 4px 0 5px 30px
|
78
|
+
li
|
79
|
+
margin-bottom: 12px
|
80
|
+
ul.large li
|
81
|
+
line-height: 21px
|
82
|
+
|
83
|
+
/* Tables */
|
84
|
+
table
|
85
|
+
background: $white
|
86
|
+
+border-radius(3px)
|
87
|
+
width: 100%
|
88
|
+
margin: 0 0 18px
|
89
|
+
border: solid 1px #ddd
|
90
|
+
thead
|
91
|
+
background: #f5f5f5
|
92
|
+
tr
|
93
|
+
th
|
94
|
+
+font-size(12)
|
95
|
+
line-height: 18px
|
96
|
+
text-align: left
|
97
|
+
padding: 8px 10px 9px
|
98
|
+
+font-size(14)
|
99
|
+
font-weight: bold
|
100
|
+
color: #222
|
101
|
+
&:first-child
|
102
|
+
border-left: none
|
103
|
+
&:last-child
|
104
|
+
border-right: none
|
105
|
+
tbody
|
106
|
+
tr
|
107
|
+
&.even, &.alt
|
108
|
+
background: #f9f9f9
|
109
|
+
&:nth-child(even)
|
110
|
+
background: #f9f9f9
|
111
|
+
td
|
112
|
+
+font-size(12)
|
113
|
+
line-height: 18px
|
114
|
+
text-align: left
|
115
|
+
color: #333
|
116
|
+
padding: 9px 10px
|
117
|
+
vertical-align: top
|
118
|
+
border: none
|
119
|
+
|
120
|
+
/* Misc */
|
121
|
+
.left
|
122
|
+
float: left
|
123
|
+
.right
|
124
|
+
float: right
|
125
|
+
.hide
|
126
|
+
display: none
|
127
|
+
.highlight
|
128
|
+
background: #ff0
|