zurb-foundation 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +51 -13
- data/lib/foundation/generators/layout_generator.rb +10 -1
- data/lib/foundation/generators/templates/application.html.erb +1 -1
- data/lib/foundation/generators/templates/application.html.haml +30 -0
- data/lib/foundation/generators/templates/application.html.slim +30 -0
- data/lib/foundation/version.rb +1 -1
- data/{app → vendor}/assets/images/foundation/misc/button-gloss.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/button-overlay.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/custom-form-sprites.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/input-bg.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/modal-gloss.png +0 -0
- data/{app → vendor}/assets/images/foundation/misc/table-sorter.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/bullets.jpg +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/left-arrow.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/loading.gif +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/mask-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/pause-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/right-arrow.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/rotator-black.png +0 -0
- data/{app → vendor}/assets/images/foundation/orbit/timer-black.png +0 -0
- data/{app/assets/javascripts/foundation/jquery.orbit-1.3.0.js → vendor/assets/javascripts/foundation.js} +354 -1
- data/vendor/assets/stylesheets/foundation.scss +1072 -0
- metadata +26 -36
- data/app/assets/javascripts/foundation/app.js +0 -43
- data/app/assets/javascripts/foundation/forms.jquery.js +0 -58
- data/app/assets/javascripts/foundation/index.js +0 -6
- data/app/assets/javascripts/foundation/jquery.customforms.js +0 -162
- data/app/assets/javascripts/foundation/jquery.placeholder.min.js.erb +0 -2
- data/app/assets/javascripts/foundation/jquery.reveal.js +0 -150
- data/app/assets/stylesheets/foundation/forms.css.scss.erb +0 -83
- data/app/assets/stylesheets/foundation/globals.css.scss.erb +0 -301
- data/app/assets/stylesheets/foundation/index.css +0 -8
- data/app/assets/stylesheets/foundation/mobile.css.scss.erb +0 -112
- data/app/assets/stylesheets/foundation/orbit.css.scss.erb +0 -210
- data/app/assets/stylesheets/foundation/reveal.css.scss.erb +0 -91
- data/app/assets/stylesheets/foundation/ui.css.scss.erb +0 -212
@@ -1,210 +0,0 @@
|
|
1
|
-
/* CSS for jQuery Orbit Plugin 1.2.3
|
2
|
-
* www.ZURB.com/playground
|
3
|
-
* Copyright 2010, ZURB
|
4
|
-
* Free to use under the MIT license.
|
5
|
-
* http://www.opensource.org/licenses/mit-license.php
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
|
10
|
-
================================================== */
|
11
|
-
#caseStudies {
|
12
|
-
width: 1000px;
|
13
|
-
height: 210px;
|
14
|
-
background: #fff url(<%= asset_path "foundation/orbit/loading.gif" %>) no-repeat center center;
|
15
|
-
overflow: hidden; }
|
16
|
-
#caseStudies>img,
|
17
|
-
#caseStudies>div,
|
18
|
-
#caseStudies>a { display: none; }
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
/* CONTAINER
|
24
|
-
================================================== */
|
25
|
-
|
26
|
-
div.orbit-wrapper {
|
27
|
-
width: 1px;
|
28
|
-
height: 1px;
|
29
|
-
position: relative; }
|
30
|
-
|
31
|
-
div.orbit {
|
32
|
-
width: 1px;
|
33
|
-
height: 1px;
|
34
|
-
position: relative;
|
35
|
-
overflow: hidden }
|
36
|
-
|
37
|
-
div.orbit>img {
|
38
|
-
position: absolute;
|
39
|
-
top: 0;
|
40
|
-
left: 0;
|
41
|
-
/* display: none; */ }
|
42
|
-
|
43
|
-
div.orbit>a {
|
44
|
-
border: none;
|
45
|
-
position: absolute;
|
46
|
-
top: 0;
|
47
|
-
left: 0;
|
48
|
-
line-height: 0;
|
49
|
-
display: none; }
|
50
|
-
|
51
|
-
.orbit>div {
|
52
|
-
position: absolute;
|
53
|
-
top: 0;
|
54
|
-
left: 0;
|
55
|
-
width: 100%;
|
56
|
-
height: 100%; }
|
57
|
-
|
58
|
-
/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
|
59
|
-
|
60
|
-
|
61
|
-
/* TIMER
|
62
|
-
================================================== */
|
63
|
-
|
64
|
-
div.timer {
|
65
|
-
width: 40px;
|
66
|
-
height: 40px;
|
67
|
-
overflow: hidden;
|
68
|
-
position: absolute;
|
69
|
-
top: 10px;
|
70
|
-
right: 10px;
|
71
|
-
opacity: .6;
|
72
|
-
cursor: pointer;
|
73
|
-
z-index: 1001; }
|
74
|
-
|
75
|
-
span.rotator {
|
76
|
-
display: block;
|
77
|
-
width: 40px;
|
78
|
-
height: 40px;
|
79
|
-
position: absolute;
|
80
|
-
top: 0;
|
81
|
-
left: -20px;
|
82
|
-
background: url(<%= asset_path "foundation/orbit/rotator-black.png" %>) no-repeat;
|
83
|
-
z-index: 3; }
|
84
|
-
|
85
|
-
span.mask {
|
86
|
-
display: block;
|
87
|
-
width: 20px;
|
88
|
-
height: 40px;
|
89
|
-
position: absolute;
|
90
|
-
top: 0;
|
91
|
-
right: 0;
|
92
|
-
z-index: 2;
|
93
|
-
overflow: hidden; }
|
94
|
-
|
95
|
-
span.rotator.move {
|
96
|
-
left: 0 }
|
97
|
-
|
98
|
-
span.mask.move {
|
99
|
-
width: 40px;
|
100
|
-
left: 0;
|
101
|
-
background: url(<%= asset_path "foundation/orbit/timer-black.png" %>) repeat 0 0; }
|
102
|
-
|
103
|
-
span.pause {
|
104
|
-
display: block;
|
105
|
-
width: 40px;
|
106
|
-
height: 40px;
|
107
|
-
position: absolute;
|
108
|
-
top: 0;
|
109
|
-
left: 0;
|
110
|
-
background: url(<%= asset_path "foundation/orbit/pause-black.png" %>) no-repeat;
|
111
|
-
z-index: 4;
|
112
|
-
opacity: 0; }
|
113
|
-
|
114
|
-
span.pause.active {
|
115
|
-
background: url(<%= asset_path "foundation/orbit/pause-black.png" %>) no-repeat 0 -40px }
|
116
|
-
|
117
|
-
div.timer:hover span.pause,
|
118
|
-
span.pause.active {
|
119
|
-
opacity: 1 }
|
120
|
-
|
121
|
-
|
122
|
-
/* CAPTIONS
|
123
|
-
================================================== */
|
124
|
-
|
125
|
-
.orbit-caption {
|
126
|
-
display: none;
|
127
|
-
font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
|
128
|
-
|
129
|
-
.orbit-wrapper .orbit-caption {
|
130
|
-
background: #000;
|
131
|
-
background: rgba(0,0,0,.6);
|
132
|
-
z-index: 1000;
|
133
|
-
color: #fff;
|
134
|
-
text-align: center;
|
135
|
-
padding: 7px 0;
|
136
|
-
font-size: 13px;
|
137
|
-
position: absolute;
|
138
|
-
right: 0;
|
139
|
-
bottom: 0;
|
140
|
-
width: 100%; }
|
141
|
-
|
142
|
-
|
143
|
-
/* DIRECTIONAL NAV
|
144
|
-
================================================== */
|
145
|
-
|
146
|
-
div.slider-nav {
|
147
|
-
display: block }
|
148
|
-
|
149
|
-
div.slider-nav span {
|
150
|
-
width: 78px;
|
151
|
-
height: 100px;
|
152
|
-
text-indent: -9999px;
|
153
|
-
position: absolute;
|
154
|
-
z-index: 1000;
|
155
|
-
top: 50%;
|
156
|
-
margin-top: -50px;
|
157
|
-
cursor: pointer; }
|
158
|
-
|
159
|
-
div.slider-nav span.right {
|
160
|
-
background: url(<%= asset_path "foundation/orbit/right-arrow.png" %>);
|
161
|
-
right: 0; }
|
162
|
-
|
163
|
-
div.slider-nav span.left {
|
164
|
-
background: url(<%= asset_path "foundation/orbit/left-arrow.png" %>);
|
165
|
-
left: 0; }
|
166
|
-
|
167
|
-
/* BULLET NAV
|
168
|
-
================================================== */
|
169
|
-
|
170
|
-
.orbit-bullets {
|
171
|
-
position: absolute;
|
172
|
-
z-index: 1000;
|
173
|
-
list-style: none;
|
174
|
-
bottom: -40px;
|
175
|
-
left: 50%;
|
176
|
-
margin-left: -50px;
|
177
|
-
padding: 0; }
|
178
|
-
|
179
|
-
.orbit-bullets li {
|
180
|
-
float: left;
|
181
|
-
margin-left: 5px;
|
182
|
-
cursor: pointer;
|
183
|
-
color: #999;
|
184
|
-
text-indent: -9999px;
|
185
|
-
background: url(<%= asset_path "foundation/orbit/bullets.jpg" %>) no-repeat 4px 0;
|
186
|
-
width: 13px;
|
187
|
-
height: 12px;
|
188
|
-
overflow: hidden; }
|
189
|
-
|
190
|
-
.orbit-bullets li.active {
|
191
|
-
color: #222;
|
192
|
-
background-position: -8px 0; }
|
193
|
-
|
194
|
-
.orbit-bullets li.has-thumb {
|
195
|
-
background: none;
|
196
|
-
width: 100px;
|
197
|
-
height: 75px; }
|
198
|
-
|
199
|
-
.orbit-bullets li.active.has-thumb {
|
200
|
-
background-position: 0 0;
|
201
|
-
border-top: 2px solid #000; }
|
202
|
-
|
203
|
-
/* FLUID LAYOUT
|
204
|
-
================================================== */
|
205
|
-
.orbit .fluid-placeholder {
|
206
|
-
visibility: hidden;
|
207
|
-
position: static;
|
208
|
-
display: block;
|
209
|
-
width: 100%;
|
210
|
-
}
|
@@ -1,91 +0,0 @@
|
|
1
|
-
/* --------------------------------------------------
|
2
|
-
Reveal Modals
|
3
|
-
-------------------------------------------------- */
|
4
|
-
|
5
|
-
.reveal-modal-bg {
|
6
|
-
position: fixed;
|
7
|
-
height: 100%;
|
8
|
-
width: 100%;
|
9
|
-
background: #000;
|
10
|
-
background: rgba(0,0,0,.8);
|
11
|
-
z-index: 100;
|
12
|
-
display: none;
|
13
|
-
top: 0;
|
14
|
-
left: 0;
|
15
|
-
}
|
16
|
-
|
17
|
-
.reveal-modal {
|
18
|
-
visibility: hidden;
|
19
|
-
top: 100px;
|
20
|
-
left: 50%;
|
21
|
-
margin-left: -300px;
|
22
|
-
width: 520px;
|
23
|
-
background: #eee url(<%= asset_path "foundation/misc/modal-gloss.png" %>) no-repeat -200px -80px;
|
24
|
-
position: absolute;
|
25
|
-
z-index: 101;
|
26
|
-
padding: 30px 40px 34px;
|
27
|
-
-moz-border-radius: 5px;
|
28
|
-
-webkit-border-radius: 5px;
|
29
|
-
border-radius: 5px;
|
30
|
-
-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
|
31
|
-
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
|
32
|
-
box-shadow: 0 0 10px rgba(0,0,0,.4);
|
33
|
-
}
|
34
|
-
|
35
|
-
.reveal-modal.small { width: 200px; margin-left: -140px;}
|
36
|
-
.reveal-modal.medium { width: 400px; margin-left: -240px;}
|
37
|
-
.reveal-modal.large { width: 600px; margin-left: -340px;}
|
38
|
-
.reveal-modal.xlarge { width: 800px; margin-left: -440px;}
|
39
|
-
|
40
|
-
.reveal-modal .close-reveal-modal {
|
41
|
-
font-size: 22px;
|
42
|
-
line-height: .5;
|
43
|
-
position: absolute;
|
44
|
-
top: 8px;
|
45
|
-
right: 11px;
|
46
|
-
color: #aaa;
|
47
|
-
text-shadow: 0 -1px 1px rbga(0,0,0,.6);
|
48
|
-
font-weight: bold;
|
49
|
-
cursor: pointer;
|
50
|
-
}
|
51
|
-
|
52
|
-
|
53
|
-
/* Mobile */
|
54
|
-
|
55
|
-
@media handheld, only screen and (device-width: 768px), (device-width: 800px) {
|
56
|
-
.reveal-modal-bg { position: absolute; }
|
57
|
-
|
58
|
-
.reveal-modal,
|
59
|
-
.reveal-modal.small,
|
60
|
-
.reveal-modal.medium,
|
61
|
-
.reveal-modal.large,
|
62
|
-
.reveal-modal.xlarge { width: 60%; top: 30%; left: 15%; margin-left: 0px; padding: 5%; height: auto; }
|
63
|
-
}
|
64
|
-
|
65
|
-
@media handheld, only screen and (max-width: 767px) {
|
66
|
-
.reveal-modal-bg { position: absolute; }
|
67
|
-
|
68
|
-
.reveal-modal,
|
69
|
-
.reveal-modal.small,
|
70
|
-
.reveal-modal.medium,
|
71
|
-
.reveal-modal.large,
|
72
|
-
.reveal-modal.xlarge { width: 80%; top: 15%; left: 5%; margin-left: 0px; padding: 5%; height: auto; }
|
73
|
-
}
|
74
|
-
|
75
|
-
|
76
|
-
/*
|
77
|
-
|
78
|
-
NOTES
|
79
|
-
|
80
|
-
Close button entity is ×
|
81
|
-
|
82
|
-
Example markup
|
83
|
-
|
84
|
-
<div id="myModal" class="reveal-modal">
|
85
|
-
<h2>Awesome. I have it.</h2>
|
86
|
-
<p class="lead">Your couch. I it's mine.</p>
|
87
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
|
88
|
-
<a class="close-reveal-modal">×</a>
|
89
|
-
</div>
|
90
|
-
|
91
|
-
*/
|
@@ -1,212 +0,0 @@
|
|
1
|
-
/* Artfully masterminded by ZURB */
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
/* --------------------------------------------------
|
6
|
-
Table of Contents
|
7
|
-
-----------------------------------------------------
|
8
|
-
:: Buttons
|
9
|
-
:: Notices/Alerts
|
10
|
-
:: Tabs
|
11
|
-
:: Pagination
|
12
|
-
:: Lists
|
13
|
-
:: Panels
|
14
|
-
*/
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
/* --------------------------------------------------
|
20
|
-
Buttons
|
21
|
-
-------------------------------------------------- */
|
22
|
-
|
23
|
-
.button {
|
24
|
-
background: #00a6fc;
|
25
|
-
display: inline-block;
|
26
|
-
text-align: center;
|
27
|
-
padding: 9px 34px 11px;
|
28
|
-
color: #fff;
|
29
|
-
text-decoration: none;
|
30
|
-
font-weight: bold;
|
31
|
-
line-height: 1;
|
32
|
-
position: relative;
|
33
|
-
cursor: pointer;
|
34
|
-
}
|
35
|
-
|
36
|
-
.button.nice {
|
37
|
-
background: #00a6fc url(<%= asset_path "foundation/misc/button-gloss.png" %>) repeat-x 0 -34px;
|
38
|
-
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
|
39
|
-
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
|
40
|
-
text-shadow: 0 -1px 1px rgba(0,0,0,0.28);
|
41
|
-
background: #00a6fc url(<%= asset_path "foundation/misc/button-gloss.png" %>) repeat-x 0 -34px, -moz-linear-gradient(top, rgba(255,255,255,.4) 0%, transparent 100%);
|
42
|
-
background: #00a6fc url(<%= asset_path "foundation/misc/button-gloss.png" %>) repeat-x 0 -34px, -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.4)), color-stop(100%,transparent));
|
43
|
-
border: 1px solid #0593dc;
|
44
|
-
-webkit-transition: background-color .15s ease-in-out;
|
45
|
-
-moz-transition: background-color .15s ease-in-out;
|
46
|
-
-o-transition: background-color .15s ease-in-out;
|
47
|
-
}
|
48
|
-
|
49
|
-
.button.radius {
|
50
|
-
-moz-border-radius: 3px;
|
51
|
-
-webkit-border-radius: 3px;
|
52
|
-
border-radius: 3px;
|
53
|
-
}
|
54
|
-
.button.round {
|
55
|
-
-moz-border-radius: 1000px;
|
56
|
-
-webkit-border-radius: 1000px;
|
57
|
-
border-radius: 1000px;
|
58
|
-
}
|
59
|
-
|
60
|
-
.button.full-width {
|
61
|
-
width: 100%;
|
62
|
-
padding-left: 0 !important;
|
63
|
-
padding-right: 0 !important;
|
64
|
-
text-align: center;
|
65
|
-
}
|
66
|
-
|
67
|
-
.button.left-align {
|
68
|
-
text-align: left;
|
69
|
-
text-indent: 12px;
|
70
|
-
}
|
71
|
-
|
72
|
-
.button:active {}
|
73
|
-
|
74
|
-
/* Sizes ---------- */
|
75
|
-
.small.button { font-size: 11px; padding: 8px 20px 10px; }
|
76
|
-
.medium.button { font-size: 13px; }
|
77
|
-
.large.button { font-size: 18px; padding: 11px 48px 13px; }
|
78
|
-
|
79
|
-
/* Nice Sizes ---------- */
|
80
|
-
.nice.small.button { background-position: 0 -36px; }
|
81
|
-
.nice.large.button { background-position: 0 -30px; }
|
82
|
-
|
83
|
-
/* Colors ---------- */
|
84
|
-
.blue.button { background-color: #00a6fc; }
|
85
|
-
.red.button { background-color: #e91c21; }
|
86
|
-
.white.button { background-color: #e9e9e9; color: #333; }
|
87
|
-
.charcoal.button { background-color: #141414; }
|
88
|
-
|
89
|
-
/* Nice Colors ---------- */
|
90
|
-
.nice.blue.button { border: 1px solid #0593dc; }
|
91
|
-
.nice.red.button { border: 1px solid #b90b0b; }
|
92
|
-
.nice.white.button { border: 1px solid #cacaca; text-shadow: none !important; }
|
93
|
-
.nice.charcoal.button { border: 1px solid #000; }
|
94
|
-
|
95
|
-
/* Hovers ---------- */
|
96
|
-
.button:hover { background-color: #0192dd; color: #fff; }
|
97
|
-
.blue.button:hover { background-color: #0192dd; }
|
98
|
-
.red.button:hover { background-color: #d01217; }
|
99
|
-
.white.button:hover { background-color: #dadada; color: #333; }
|
100
|
-
.charcoal.button:hover { background-color: #000; }
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
/* --------------------------------------------------
|
105
|
-
Tabs
|
106
|
-
-------------------------------------------------- */
|
107
|
-
dl.tabs { display: block; margin: 0 0 20px 0; padding: 0; height: 30px; border-bottom: solid 1px #ddd; }
|
108
|
-
dl.tabs dt { display: block; width: auto; height: 30px; padding: 0px 9px 0 20px; line-height: 30px; float: left; color: #999; font-size: 11px; text-transform: uppercase; cursor: default; }
|
109
|
-
dl.tabs dt:first-child { padding: 0 9px 0 0px; }
|
110
|
-
dl.tabs dd { display: block; width: auto; height: 30px; padding: 0; float: left; }
|
111
|
-
dl.tabs dd a { display: block; width: auto; height: 29px; padding: 0px 9px; line-height: 30px; border: solid 1px #ddd; margin: 0 -1px 0 0; color: #555; background: #eee; }
|
112
|
-
dl.tabs dd a.active { background: #fff; border-width: 1px 1px 0px 1px; height: 30px; }
|
113
|
-
|
114
|
-
.nice.tabs { border-bottom: solid 1px #eee; margin: 0 0 30px 0; height:43px; }
|
115
|
-
.nice.tabs dd a { padding: 7px 18px 9px; font-size: 15px; font-size: 1.5rem; color: #555555; background: none; border: none; }
|
116
|
-
.nice.tabs dd a.active { font-weight: bold; color: #333; background: #fff; border-left: 1px solid #eee; border-right: 1px solid #eee; border-top: 3px solid #00a6fc; margin: 0 10px; position: relative; top: -5px; }
|
117
|
-
.nice.tabs dd:first-child a.active { margin-left: 0; }
|
118
|
-
|
119
|
-
ul.tabs-content { margin: 0; display: block; }
|
120
|
-
ul.tabs-content > li { display:none; }
|
121
|
-
ul.tabs-content > li.active { display: block; }
|
122
|
-
|
123
|
-
dl.contained, dl.nice.contained { margin-bottom: 0px; }
|
124
|
-
dl.contained.tabs dd a { padding: 0px 14px; }
|
125
|
-
dl.nice.contained.tabs dd a { padding: 7px 18px 9px; }
|
126
|
-
|
127
|
-
ul.contained.tabs-content { padding: 0; }
|
128
|
-
ul.contained.tabs-content li { padding: 20px; border: solid 0px #ddd; border-width: 0px 1px 1px 1px; }
|
129
|
-
ul.nice.contained.tabs-content li { border-color: #eee; }
|
130
|
-
|
131
|
-
/* --------------------------------------------------
|
132
|
-
Pagination
|
133
|
-
-------------------------------------------------- */
|
134
|
-
ul.pagination { display: block; height: 24px; margin-left: -5px; }
|
135
|
-
ul.pagination li { float: left; display: block; height: 24px; color: #999; font-size: 15px; margin-left: 5px; }
|
136
|
-
ul.pagination li a { display: block; padding: 6px 7px 4px; color: #555; }
|
137
|
-
ul.pagination li.current a, ul.pagination li:hover a { border-bottom: solid 2px #00a6fc; color: #141414; }
|
138
|
-
ul.pagination li.unavailable a { cursor: default; color: #999; }
|
139
|
-
ul.pagination li.unavailable:hover a { border-bottom: none; }
|
140
|
-
|
141
|
-
|
142
|
-
/* --------------------------------------------------
|
143
|
-
Lists
|
144
|
-
-------------------------------------------------- */
|
145
|
-
ul.nice, ol.nice { list-style: none; margin: 0; }
|
146
|
-
ul.nice li, ol.nice li { padding-left: 13px; position: relative }
|
147
|
-
ul.nice li span.bullet, ol.nice li span.number { position: absolute; left: 0px; top: 0px; color: #ccc; }
|
148
|
-
|
149
|
-
|
150
|
-
/* --------------------------------------------------
|
151
|
-
Notices/Alerts
|
152
|
-
---------------------------------------------------*/
|
153
|
-
/* Alerts cannot be closed and notices can */
|
154
|
-
|
155
|
-
.notice, .alert {
|
156
|
-
position: relative;
|
157
|
-
background: #222 url(<%= asset_path "foundation/misc/button-overlay.png" %>) repeat-x bottom;
|
158
|
-
width: 100%;
|
159
|
-
margin: 10px 0;
|
160
|
-
-moz-border-radius: 3px;
|
161
|
-
-webkit-border-radius: 3px;
|
162
|
-
border-radius: 3px;
|
163
|
-
color: #fff;
|
164
|
-
text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
|
165
|
-
font-weight: bold;
|
166
|
-
}
|
167
|
-
.notice>span, .alert>span {
|
168
|
-
display: block;
|
169
|
-
padding: 5px 10px 6px;
|
170
|
-
}
|
171
|
-
.notice a.close {
|
172
|
-
font-size: 20px;
|
173
|
-
line-height: .5;
|
174
|
-
color: #fff;
|
175
|
-
text-shadow: 0 -1px 1px rbga(0,0,0,.25);
|
176
|
-
font-weight: bold;
|
177
|
-
cursor: pointer;
|
178
|
-
position: absolute;
|
179
|
-
right: 10px;
|
180
|
-
top: 6px;
|
181
|
-
}
|
182
|
-
|
183
|
-
/* NOTES
|
184
|
-
|
185
|
-
Close button entity is ×
|
186
|
-
Sample Markup:
|
187
|
-
<div class="notice"><span>
|
188
|
-
This is awesome
|
189
|
-
<a class="close" href="#">×</a>
|
190
|
-
</span></div>
|
191
|
-
|
192
|
-
*/
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
/* --------------------------------------------------
|
197
|
-
Panels
|
198
|
-
-------------------------------------------------- */
|
199
|
-
div.panel {
|
200
|
-
padding: 20px 20px 2px 20px;
|
201
|
-
background: #efefef;
|
202
|
-
background: -moz-linear-gradient(top, #FFFFFF 0%, #F4F4F4 100%);
|
203
|
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#F4F4F4));
|
204
|
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#F4F4F4',GradientType=0 );
|
205
|
-
box-shadow: 0px 2px 5px rgba(0,0,0,0.15);
|
206
|
-
-webkit-box-shadow: 0px 2px 5px rgba(0,0,0,0.15);
|
207
|
-
-moz-box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
|
208
|
-
margin: 0 0 20px 0;
|
209
|
-
}
|
210
|
-
|
211
|
-
|
212
|
-
|