atreides 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/app/assets/javascripts/atreides/admin_base.js.erb +11 -16
- data/app/assets/stylesheets/atreides/admin_base.css.erb +2 -3
- data/app/controllers/atreides/admin_controller.rb +14 -0
- data/app/models/atreides/{preferences.rb → preference.rb} +1 -1
- data/app/views/admin/atreides/common/_sidebar_publish.html.haml +16 -0
- data/app/views/admin/atreides/features/_form.html.haml +11 -18
- data/app/views/admin/atreides/pages/_form.html.haml +1 -4
- data/app/views/admin/atreides/posts/_form_sidebar.html.haml +1 -8
- data/app/views/admin/common/_list_table.html.haml +30 -0
- data/app/views/admin/common/_list_table_row.html.haml +11 -0
- data/app/views/admin/common/_pagination.html.haml +1 -0
- data/app/views/admin/common/_search_form.html.haml +4 -0
- data/lib/assets/flash/atreides/player.swf +0 -0
- data/lib/assets/flash/atreides/slideshowpro.swf +0 -0
- data/lib/assets/flash/atreides/swfupload.swf +0 -0
- data/lib/assets/images/atreides/share/aim_16.png +0 -0
- data/lib/assets/images/atreides/share/apple_16.png +0 -0
- data/lib/assets/images/atreides/share/bebo_16.png +0 -0
- data/lib/assets/images/atreides/share/blogger_16.png +0 -0
- data/lib/assets/images/atreides/share/brightkite_16.png +0 -0
- data/lib/assets/images/atreides/share/cargo_16.png +0 -0
- data/lib/assets/images/atreides/share/delicious_16.png +0 -0
- data/lib/assets/images/atreides/share/designfloat_16.png +0 -0
- data/lib/assets/images/atreides/share/designmoo_16.png +0 -0
- data/lib/assets/images/atreides/share/deviantart_16.png +0 -0
- data/lib/assets/images/atreides/share/digg_16.png +0 -0
- data/lib/assets/images/atreides/share/digg_alt_16.png +0 -0
- data/lib/assets/images/atreides/share/dopplr_16.png +0 -0
- data/lib/assets/images/atreides/share/dribbble_16.png +0 -0
- data/lib/assets/images/atreides/share/email_16.png +0 -0
- data/lib/assets/images/atreides/share/ember_16.png +0 -0
- data/lib/assets/images/atreides/share/evernote_16.png +0 -0
- data/lib/assets/images/atreides/share/facebook_16.png +0 -0
- data/lib/assets/images/atreides/share/flickr_16.png +0 -0
- data/lib/assets/images/atreides/share/friendfeed_16.png +0 -0
- data/lib/assets/images/atreides/share/gamespot_16.png +0 -0
- data/lib/assets/images/atreides/share/google_16.png +0 -0
- data/lib/assets/images/atreides/share/google_voice_16.png +0 -0
- data/lib/assets/images/atreides/share/google_wave_16.png +0 -0
- data/lib/assets/images/atreides/share/googletalk_16.png +0 -0
- data/lib/assets/images/atreides/share/gowalla_16.png +0 -0
- data/lib/assets/images/atreides/share/grooveshark_16.png +0 -0
- data/lib/assets/images/atreides/share/ilike_16.png +0 -0
- data/lib/assets/images/atreides/share/komodomedia_azure_16.png +0 -0
- data/lib/assets/images/atreides/share/komodomedia_wood_16.png +0 -0
- data/lib/assets/images/atreides/share/lastfm_16.png +0 -0
- data/lib/assets/images/atreides/share/license.txt +9 -0
- data/lib/assets/images/atreides/share/linkedin_16.png +0 -0
- data/lib/assets/images/atreides/share/mixx_16.png +0 -0
- data/lib/assets/images/atreides/share/mobileme_16.png +0 -0
- data/lib/assets/images/atreides/share/mynameise_16.png +0 -0
- data/lib/assets/images/atreides/share/myspace_16.png +0 -0
- data/lib/assets/images/atreides/share/netvibes_16.png +0 -0
- data/lib/assets/images/atreides/share/newsvine_16.png +0 -0
- data/lib/assets/images/atreides/share/openid_16.png +0 -0
- data/lib/assets/images/atreides/share/orkut_16.png +0 -0
- data/lib/assets/images/atreides/share/pandora_16.png +0 -0
- data/lib/assets/images/atreides/share/paypal_16.png +0 -0
- data/lib/assets/images/atreides/share/picasa_16.png +0 -0
- data/lib/assets/images/atreides/share/plurk_16.png +0 -0
- data/lib/assets/images/atreides/share/posterous_16.png +0 -0
- data/lib/assets/images/atreides/share/qik_16.png +0 -0
- data/lib/assets/images/atreides/share/readernaut_16.png +0 -0
- data/lib/assets/images/atreides/share/reddit_16.png +0 -0
- data/lib/assets/images/atreides/share/roboto_16.png +0 -0
- data/lib/assets/images/atreides/share/rss_16.png +0 -0
- data/lib/assets/images/atreides/share/sharethis_16.png +0 -0
- data/lib/assets/images/atreides/share/skype_16.png +0 -0
- data/lib/assets/images/atreides/share/stumbleupon_16.png +0 -0
- data/lib/assets/images/atreides/share/technorati_16.png +0 -0
- data/lib/assets/images/atreides/share/tumblr_16.png +0 -0
- data/lib/assets/images/atreides/share/twitter_16.png +0 -0
- data/lib/assets/images/atreides/share/viddler_16.png +0 -0
- data/lib/assets/images/atreides/share/vimeo_16.png +0 -0
- data/lib/assets/images/atreides/share/virb_16.png +0 -0
- data/lib/assets/images/atreides/share/windows_16.png +0 -0
- data/lib/assets/images/atreides/share/wordpress_16.png +0 -0
- data/lib/assets/images/atreides/share/xing_16.png +0 -0
- data/lib/assets/images/atreides/share/yahoo_16.png +0 -0
- data/lib/assets/images/atreides/share/yahoobuzz_16.png +0 -0
- data/lib/assets/images/atreides/share/yelp_16.png +0 -0
- data/lib/assets/images/atreides/share/youtube_16.png +0 -0
- data/lib/assets/javascripts/atreides/facebox.js +309 -0
- data/lib/assets/javascripts/atreides/fileuploader.js +1250 -0
- data/lib/assets/javascripts/atreides/galleria.js +2 -0
- data/lib/assets/javascripts/atreides/galleria/src/galleria.js +3816 -0
- data/lib/assets/javascripts/atreides/galleria/src/plugins/galleria.flickr.js +221 -0
- data/lib/assets/javascripts/atreides/galleria/src/plugins/galleria.history.js +602 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/classic/classic-loader.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/classic/classic-map.png +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/classic/galleria.classic.css +202 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/classic/galleria.classic.js +92 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/b.png +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/down.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/fix.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/fullscreen-demo.html +34 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/galleria.fullscreen.css +46 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/galleria.fullscreen.js +193 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/i.png +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/l.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/l2.png +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/loader.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/n.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/p.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/r.gif +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/r2.png +0 -0
- data/lib/assets/javascripts/atreides/galleria/src/themes/fullscreen/up.gif +0 -0
- data/lib/assets/javascripts/atreides/jquery.autogrow.js +132 -0
- data/lib/assets/javascripts/atreides/jquery.cookie.js +96 -0
- data/lib/assets/javascripts/atreides/jquery.countdown.js +759 -0
- data/lib/assets/javascripts/atreides/jquery.cycle.js +918 -0
- data/lib/assets/javascripts/atreides/jquery.easing.1.3.js +205 -0
- data/lib/assets/javascripts/atreides/jquery.flash.js +288 -0
- data/lib/assets/javascripts/atreides/jquery.iphone-checkboxes.js +214 -0
- data/lib/assets/javascripts/atreides/jquery.jBreadCrumb.1.1.js +240 -0
- data/lib/assets/javascripts/atreides/jquery.multipleselectbox-min.js +15 -0
- data/lib/assets/javascripts/atreides/jquery.multipleselectbox.js +446 -0
- data/lib/assets/javascripts/atreides/jquery.swfupload.js +64 -0
- data/lib/assets/javascripts/atreides/jquery.tipsy.js +104 -0
- data/lib/assets/javascripts/atreides/jquery.uniform.js +461 -0
- data/lib/assets/javascripts/atreides/jtags.js +125 -0
- data/lib/assets/javascripts/atreides/raphael-min.js +7 -0
- data/lib/assets/javascripts/atreides/raphael.analytics.js +205 -0
- data/lib/assets/javascripts/atreides/raphael.path.methods.js +53 -0
- data/lib/assets/javascripts/atreides/raphael.pie.js +44 -0
- data/lib/assets/javascripts/atreides/sifr.js +18 -0
- data/lib/assets/javascripts/atreides/swfobject.js +4 -0
- data/lib/assets/javascripts/atreides/swfupload/handlers.js +290 -0
- data/lib/assets/javascripts/atreides/swfupload/swfupload.cookies.js +53 -0
- data/lib/assets/javascripts/atreides/swfupload/swfupload.js +980 -0
- data/lib/assets/javascripts/atreides/swfupload/swfupload.queue.js +98 -0
- data/lib/assets/javascripts/atreides/swfupload/swfupload.speed.js +342 -0
- data/lib/assets/javascripts/atreides/swfupload/swfupload.swfobject.js +111 -0
- data/lib/assets/javascripts/atreides/underscore-1.1.6.js +807 -0
- data/lib/assets/stylesheets/atreides/admin_grid.css +258 -0
- data/lib/assets/stylesheets/atreides/facebox.css +80 -0
- data/lib/assets/stylesheets/atreides/formtastic.css +144 -0
- data/lib/assets/stylesheets/atreides/galleria.css +24 -0
- data/lib/assets/stylesheets/atreides/ie.css +35 -0
- data/lib/assets/stylesheets/atreides/images/bg_fallback.png +0 -0
- data/lib/assets/stylesheets/atreides/images/icon_sprite.png +0 -0
- data/lib/assets/stylesheets/atreides/images/progress_bar.gif +0 -0
- data/lib/assets/stylesheets/atreides/images/slider_handles.png +0 -0
- data/lib/assets/stylesheets/atreides/images/ui-icons_222222_256x240.png +0 -0
- data/lib/assets/stylesheets/atreides/images/ui-icons_454545_256x240.png +0 -0
- data/lib/assets/stylesheets/atreides/jquery-ui.css +738 -0
- data/lib/assets/stylesheets/atreides/multipleselectbox.css +33 -0
- data/lib/assets/stylesheets/atreides/print.css +29 -0
- data/lib/assets/stylesheets/atreides/public_grid.css +258 -0
- data/lib/assets/stylesheets/atreides/tipsy.css +7 -0
- data/lib/assets/stylesheets/atreides/uniform.default.css +476 -0
- data/lib/atreides.rb +4 -0
- data/lib/atreides/schema.rb +53 -0
- data/lib/atreides/time_zone.rb +6 -0
- data/lib/atreides/version.rb +1 -1
- data/lib/generators/templates/create_pages.rb +1 -2
- data/lib/generators/templates/create_posts.rb +1 -2
- metadata +155 -13
- data/app/views/admin/common/_list_table.html.erb +0 -37
- data/app/views/admin/common/_list_table_row.html.erb +0 -18
- data/app/views/admin/common/_pagination.html.erb +0 -1
- data/app/views/admin/common/_search_form.html.erb +0 -6
@@ -0,0 +1,258 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
|
3
|
+
|
4
|
+
Blueprint CSS Framework 0.9
|
5
|
+
http://blueprintcss.org
|
6
|
+
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
+
* See README for instructions on how to use Blueprint.
|
9
|
+
* For credits and origins, see AUTHORS.
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
+
|
12
|
+
----------------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* reset.css */
|
15
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
|
16
|
+
article, aside, dialog, figure, footer, header, hgroup, nav, section {display:block;}
|
17
|
+
body {line-height:1.5;}
|
18
|
+
table {border-collapse:separate;border-spacing:0;}
|
19
|
+
caption, th, td {text-align:left;font-weight:normal;}
|
20
|
+
table, td, th {vertical-align:middle;}
|
21
|
+
blockquote:before, blockquote:after, q:before, q:after {content:"";}
|
22
|
+
blockquote, q {quotes:"" "";}
|
23
|
+
a img {border:none;}
|
24
|
+
|
25
|
+
/* typography.css */
|
26
|
+
html {font-size:100.01%;}
|
27
|
+
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
28
|
+
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
|
29
|
+
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
|
30
|
+
h2 {font-size:2em;margin-bottom:0.75em;}
|
31
|
+
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
|
32
|
+
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
|
33
|
+
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
|
34
|
+
h6 {font-size:1em;font-weight:bold;}
|
35
|
+
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
|
36
|
+
p {margin:0 0 1.5em;}
|
37
|
+
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
|
38
|
+
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
|
39
|
+
a:focus, a:hover {color:#000;}
|
40
|
+
a {color:#009;text-decoration:underline;}
|
41
|
+
blockquote {margin:1.5em;color:#666;font-style:italic;}
|
42
|
+
strong {font-weight:bold;}
|
43
|
+
em, dfn {font-style:italic;}
|
44
|
+
dfn {font-weight:bold;}
|
45
|
+
sup, sub {line-height:0;}
|
46
|
+
abbr, acronym {border-bottom:1px dotted #666;}
|
47
|
+
address {margin:0 0 1.5em;font-style:italic;}
|
48
|
+
del {color:#666;}
|
49
|
+
pre {margin:1.5em 0;white-space:pre;}
|
50
|
+
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
|
51
|
+
li ul, li ol {margin:0;}
|
52
|
+
ul, ol {margin:0 1.5em 1.5em 0;padding-left:3.333em;}
|
53
|
+
ul {list-style-type:disc;}
|
54
|
+
ol {list-style-type:decimal;}
|
55
|
+
dl {margin:0 0 1.5em 0;}
|
56
|
+
dl dt {font-weight:bold;}
|
57
|
+
dd {margin-left:1.5em;}
|
58
|
+
table {margin-bottom:1.4em;width:100%;}
|
59
|
+
th {font-weight:bold;}
|
60
|
+
thead th {background:#c3d9ff;}
|
61
|
+
th, td, caption {padding:4px 10px 4px 5px;}
|
62
|
+
tr.even td {background:#e5ecf9;}
|
63
|
+
tfoot {font-style:italic;}
|
64
|
+
caption {background:#eee;}
|
65
|
+
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
|
66
|
+
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
|
67
|
+
.hide {display:none;}
|
68
|
+
.quiet {color:#666;}
|
69
|
+
.loud {color:#000;}
|
70
|
+
.highlight {background:#ff0;}
|
71
|
+
.added {background:#060;color:#fff;}
|
72
|
+
.removed {background:#900;color:#fff;}
|
73
|
+
.first {margin-left:0;padding-left:0;}
|
74
|
+
.last {margin-right:0;padding-right:0;}
|
75
|
+
.top {margin-top:0;padding-top:0;}
|
76
|
+
.bottom {margin-bottom:0;padding-bottom:0;}
|
77
|
+
|
78
|
+
/* forms.css */
|
79
|
+
label {font-weight:bold;}
|
80
|
+
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
81
|
+
legend {font-weight:bold;font-size:1.2em;}
|
82
|
+
input[type=text], input[type=password], input[type=email], input.text, input.title, textarea, select {background-color:#fff;border:1px solid #bbb;}
|
83
|
+
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {border-color:#666;}
|
84
|
+
input[type=text], input[type=email], input[type=password], input.text, input.title, textarea, select {margin:0.5em 0;}
|
85
|
+
input.text, input.title {width:300px;padding:5px;}
|
86
|
+
input.title {font-size:1.5em;}
|
87
|
+
textarea {width:390px;height:250px;padding:5px;}
|
88
|
+
input[type=checkbox], input[type=radio], input.checkbox, input.radio {position:relative;top:.25em;}
|
89
|
+
form.inline {line-height:3;}
|
90
|
+
form.inline p {margin-bottom:0;}
|
91
|
+
.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
|
92
|
+
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
|
93
|
+
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
|
94
|
+
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
95
|
+
.error a {color:#8a1f11;}
|
96
|
+
.notice a {color:#514721;}
|
97
|
+
.success a {color:#264409;}
|
98
|
+
|
99
|
+
/* grid.css */
|
100
|
+
.container {width:950px;margin:0 auto;}
|
101
|
+
.showgrid {background:url(src/grid.png);}
|
102
|
+
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {float:left;margin-right:10px;}
|
103
|
+
.last {margin-right:0;}
|
104
|
+
.span-1 {width:30px;}
|
105
|
+
.span-2 {width:70px;}
|
106
|
+
.span-3 {width:110px;}
|
107
|
+
.span-4 {width:150px;}
|
108
|
+
.span-5 {width:190px;}
|
109
|
+
.span-6 {width:230px;}
|
110
|
+
.span-7 {width:270px;}
|
111
|
+
.span-8 {width:310px;}
|
112
|
+
.span-9 {width:350px;}
|
113
|
+
.span-10 {width:390px;}
|
114
|
+
.span-11 {width:430px;}
|
115
|
+
.span-12 {width:470px;}
|
116
|
+
.span-13 {width:510px;}
|
117
|
+
.span-14 {width:550px;}
|
118
|
+
.span-15 {width:590px;}
|
119
|
+
.span-16 {width:630px;}
|
120
|
+
.span-17 {width:670px;}
|
121
|
+
.span-18 {width:710px;}
|
122
|
+
.span-19 {width:750px;}
|
123
|
+
.span-20 {width:790px;}
|
124
|
+
.span-21 {width:830px;}
|
125
|
+
.span-22 {width:870px;}
|
126
|
+
.span-23 {width:910px;}
|
127
|
+
.span-24 {width:950px;margin-right:0;}
|
128
|
+
input.span-1, textarea.span-1, input.span-2, textarea.span-2, input.span-3, textarea.span-3, input.span-4, textarea.span-4, input.span-5, textarea.span-5, input.span-6, textarea.span-6, input.span-7, textarea.span-7, input.span-8, textarea.span-8, input.span-9, textarea.span-9, input.span-10, textarea.span-10, input.span-11, textarea.span-11, input.span-12, textarea.span-12, input.span-13, textarea.span-13, input.span-14, textarea.span-14, input.span-15, textarea.span-15, input.span-16, textarea.span-16, input.span-17, textarea.span-17, input.span-18, textarea.span-18, input.span-19, textarea.span-19, input.span-20, textarea.span-20, input.span-21, textarea.span-21, input.span-22, textarea.span-22, input.span-23, textarea.span-23, input.span-24, textarea.span-24 {border-left-width:1px!important;border-right-width:1px!important;padding-left:5px!important;padding-right:5px!important;}
|
129
|
+
input.span-1, textarea.span-1 {width:18px!important;}
|
130
|
+
input.span-2, textarea.span-2 {width:58px!important;}
|
131
|
+
input.span-3, textarea.span-3 {width:98px!important;}
|
132
|
+
input.span-4, textarea.span-4 {width:138px!important;}
|
133
|
+
input.span-5, textarea.span-5 {width:178px!important;}
|
134
|
+
input.span-6, textarea.span-6 {width:218px!important;}
|
135
|
+
input.span-7, textarea.span-7 {width:258px!important;}
|
136
|
+
input.span-8, textarea.span-8 {width:298px!important;}
|
137
|
+
input.span-9, textarea.span-9 {width:338px!important;}
|
138
|
+
input.span-10, textarea.span-10 {width:378px!important;}
|
139
|
+
input.span-11, textarea.span-11 {width:418px!important;}
|
140
|
+
input.span-12, textarea.span-12 {width:458px!important;}
|
141
|
+
input.span-13, textarea.span-13 {width:498px!important;}
|
142
|
+
input.span-14, textarea.span-14 {width:538px!important;}
|
143
|
+
input.span-15, textarea.span-15 {width:578px!important;}
|
144
|
+
input.span-16, textarea.span-16 {width:618px!important;}
|
145
|
+
input.span-17, textarea.span-17 {width:658px!important;}
|
146
|
+
input.span-18, textarea.span-18 {width:698px!important;}
|
147
|
+
input.span-19, textarea.span-19 {width:738px!important;}
|
148
|
+
input.span-20, textarea.span-20 {width:778px!important;}
|
149
|
+
input.span-21, textarea.span-21 {width:818px!important;}
|
150
|
+
input.span-22, textarea.span-22 {width:858px!important;}
|
151
|
+
input.span-23, textarea.span-23 {width:898px!important;}
|
152
|
+
input.span-24, textarea.span-24 {width:938px!important;}
|
153
|
+
.append-1 {padding-right:40px;}
|
154
|
+
.append-2 {padding-right:80px;}
|
155
|
+
.append-3 {padding-right:120px;}
|
156
|
+
.append-4 {padding-right:160px;}
|
157
|
+
.append-5 {padding-right:200px;}
|
158
|
+
.append-6 {padding-right:240px;}
|
159
|
+
.append-7 {padding-right:280px;}
|
160
|
+
.append-8 {padding-right:320px;}
|
161
|
+
.append-9 {padding-right:360px;}
|
162
|
+
.append-10 {padding-right:400px;}
|
163
|
+
.append-11 {padding-right:440px;}
|
164
|
+
.append-12 {padding-right:480px;}
|
165
|
+
.append-13 {padding-right:520px;}
|
166
|
+
.append-14 {padding-right:560px;}
|
167
|
+
.append-15 {padding-right:600px;}
|
168
|
+
.append-16 {padding-right:640px;}
|
169
|
+
.append-17 {padding-right:680px;}
|
170
|
+
.append-18 {padding-right:720px;}
|
171
|
+
.append-19 {padding-right:760px;}
|
172
|
+
.append-20 {padding-right:800px;}
|
173
|
+
.append-21 {padding-right:840px;}
|
174
|
+
.append-22 {padding-right:880px;}
|
175
|
+
.append-23 {padding-right:920px;}
|
176
|
+
.prepend-1 {padding-left:40px;}
|
177
|
+
.prepend-2 {padding-left:80px;}
|
178
|
+
.prepend-3 {padding-left:120px;}
|
179
|
+
.prepend-4 {padding-left:160px;}
|
180
|
+
.prepend-5 {padding-left:200px;}
|
181
|
+
.prepend-6 {padding-left:240px;}
|
182
|
+
.prepend-7 {padding-left:280px;}
|
183
|
+
.prepend-8 {padding-left:320px;}
|
184
|
+
.prepend-9 {padding-left:360px;}
|
185
|
+
.prepend-10 {padding-left:400px;}
|
186
|
+
.prepend-11 {padding-left:440px;}
|
187
|
+
.prepend-12 {padding-left:480px;}
|
188
|
+
.prepend-13 {padding-left:520px;}
|
189
|
+
.prepend-14 {padding-left:560px;}
|
190
|
+
.prepend-15 {padding-left:600px;}
|
191
|
+
.prepend-16 {padding-left:640px;}
|
192
|
+
.prepend-17 {padding-left:680px;}
|
193
|
+
.prepend-18 {padding-left:720px;}
|
194
|
+
.prepend-19 {padding-left:760px;}
|
195
|
+
.prepend-20 {padding-left:800px;}
|
196
|
+
.prepend-21 {padding-left:840px;}
|
197
|
+
.prepend-22 {padding-left:880px;}
|
198
|
+
.prepend-23 {padding-left:920px;}
|
199
|
+
.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
|
200
|
+
.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #eee;}
|
201
|
+
.pull-1 {margin-left:-40px;}
|
202
|
+
.pull-2 {margin-left:-80px;}
|
203
|
+
.pull-3 {margin-left:-120px;}
|
204
|
+
.pull-4 {margin-left:-160px;}
|
205
|
+
.pull-5 {margin-left:-200px;}
|
206
|
+
.pull-6 {margin-left:-240px;}
|
207
|
+
.pull-7 {margin-left:-280px;}
|
208
|
+
.pull-8 {margin-left:-320px;}
|
209
|
+
.pull-9 {margin-left:-360px;}
|
210
|
+
.pull-10 {margin-left:-400px;}
|
211
|
+
.pull-11 {margin-left:-440px;}
|
212
|
+
.pull-12 {margin-left:-480px;}
|
213
|
+
.pull-13 {margin-left:-520px;}
|
214
|
+
.pull-14 {margin-left:-560px;}
|
215
|
+
.pull-15 {margin-left:-600px;}
|
216
|
+
.pull-16 {margin-left:-640px;}
|
217
|
+
.pull-17 {margin-left:-680px;}
|
218
|
+
.pull-18 {margin-left:-720px;}
|
219
|
+
.pull-19 {margin-left:-760px;}
|
220
|
+
.pull-20 {margin-left:-800px;}
|
221
|
+
.pull-21 {margin-left:-840px;}
|
222
|
+
.pull-22 {margin-left:-880px;}
|
223
|
+
.pull-23 {margin-left:-920px;}
|
224
|
+
.pull-24 {margin-left:-960px;}
|
225
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;}
|
226
|
+
.push-1 {margin:0 -40px 1.5em 40px;}
|
227
|
+
.push-2 {margin:0 -80px 1.5em 80px;}
|
228
|
+
.push-3 {margin:0 -120px 1.5em 120px;}
|
229
|
+
.push-4 {margin:0 -160px 1.5em 160px;}
|
230
|
+
.push-5 {margin:0 -200px 1.5em 200px;}
|
231
|
+
.push-6 {margin:0 -240px 1.5em 240px;}
|
232
|
+
.push-7 {margin:0 -280px 1.5em 280px;}
|
233
|
+
.push-8 {margin:0 -320px 1.5em 320px;}
|
234
|
+
.push-9 {margin:0 -360px 1.5em 360px;}
|
235
|
+
.push-10 {margin:0 -400px 1.5em 400px;}
|
236
|
+
.push-11 {margin:0 -440px 1.5em 440px;}
|
237
|
+
.push-12 {margin:0 -480px 1.5em 480px;}
|
238
|
+
.push-13 {margin:0 -520px 1.5em 520px;}
|
239
|
+
.push-14 {margin:0 -560px 1.5em 560px;}
|
240
|
+
.push-15 {margin:0 -600px 1.5em 600px;}
|
241
|
+
.push-16 {margin:0 -640px 1.5em 640px;}
|
242
|
+
.push-17 {margin:0 -680px 1.5em 680px;}
|
243
|
+
.push-18 {margin:0 -720px 1.5em 720px;}
|
244
|
+
.push-19 {margin:0 -760px 1.5em 760px;}
|
245
|
+
.push-20 {margin:0 -800px 1.5em 800px;}
|
246
|
+
.push-21 {margin:0 -840px 1.5em 840px;}
|
247
|
+
.push-22 {margin:0 -880px 1.5em 880px;}
|
248
|
+
.push-23 {margin:0 -920px 1.5em 920px;}
|
249
|
+
.push-24 {margin:0 -960px 1.5em 960px;}
|
250
|
+
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:right;position:relative;}
|
251
|
+
.prepend-top {margin-top:1.5em;}
|
252
|
+
.append-bottom {margin-bottom:1.5em;}
|
253
|
+
.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
|
254
|
+
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
|
255
|
+
hr.space {background:#fff;color:#fff;visibility:hidden;}
|
256
|
+
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
|
257
|
+
.clearfix, .container {display:block;}
|
258
|
+
.clear {clear:both;}
|
@@ -0,0 +1,80 @@
|
|
1
|
+
#facebox {
|
2
|
+
position: absolute;
|
3
|
+
top: 0;
|
4
|
+
left: 0;
|
5
|
+
z-index: 100;
|
6
|
+
text-align: left;
|
7
|
+
}
|
8
|
+
|
9
|
+
|
10
|
+
#facebox .popup{
|
11
|
+
position:relative;
|
12
|
+
border:3px solid rgba(0,0,0,0);
|
13
|
+
-webkit-border-radius:5px;
|
14
|
+
-moz-border-radius:5px;
|
15
|
+
border-radius:5px;
|
16
|
+
-webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
|
17
|
+
-moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
|
18
|
+
box-shadow:0 0 18px rgba(0,0,0,0.4);
|
19
|
+
}
|
20
|
+
|
21
|
+
#facebox .content {
|
22
|
+
display:table;
|
23
|
+
width: 370px;
|
24
|
+
padding: 10px;
|
25
|
+
background: #fff;
|
26
|
+
-webkit-border-radius:4px;
|
27
|
+
-moz-border-radius:4px;
|
28
|
+
border-radius:4px;
|
29
|
+
}
|
30
|
+
|
31
|
+
#facebox .content > p:first-child{
|
32
|
+
margin-top:0;
|
33
|
+
}
|
34
|
+
#facebox .content > p:last-child{
|
35
|
+
margin-bottom:0;
|
36
|
+
}
|
37
|
+
|
38
|
+
#facebox .close{
|
39
|
+
position:absolute;
|
40
|
+
top:5px;
|
41
|
+
right:5px;
|
42
|
+
padding:2px;
|
43
|
+
background:#fff;
|
44
|
+
}
|
45
|
+
#facebox .close img{
|
46
|
+
opacity:0.3;
|
47
|
+
}
|
48
|
+
#facebox .close:hover img{
|
49
|
+
opacity:1.0;
|
50
|
+
}
|
51
|
+
|
52
|
+
#facebox .loading {
|
53
|
+
text-align: center;
|
54
|
+
}
|
55
|
+
|
56
|
+
#facebox .image {
|
57
|
+
text-align: center;
|
58
|
+
}
|
59
|
+
|
60
|
+
#facebox img {
|
61
|
+
border: 0;
|
62
|
+
margin: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
#facebox_overlay {
|
66
|
+
position: fixed;
|
67
|
+
top: 0px;
|
68
|
+
left: 0px;
|
69
|
+
height:100%;
|
70
|
+
width:100%;
|
71
|
+
}
|
72
|
+
|
73
|
+
.facebox_hide {
|
74
|
+
z-index:-100;
|
75
|
+
}
|
76
|
+
|
77
|
+
.facebox_overlayBG {
|
78
|
+
background-color: #000;
|
79
|
+
z-index: 99;
|
80
|
+
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
/* -------------------------------------------------------------------------------------------------
|
2
|
+
|
3
|
+
It's *strongly* suggested that you don't modify this file. Instead, load a new stylesheet after
|
4
|
+
this one in your layouts (eg formtastic_changes.css) and override the styles to suit your needs.
|
5
|
+
This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
6
|
+
|
7
|
+
This stylesheet forms part of the Formtastic Rails Plugin
|
8
|
+
(c) 2008 Justin French
|
9
|
+
|
10
|
+
--------------------------------------------------------------------------------------------------*/
|
11
|
+
|
12
|
+
|
13
|
+
/* NORMALIZE AND RESET - obviously inspired by Yahoo's reset.css, but scoped to just form.formtastic
|
14
|
+
--------------------------------------------------------------------------------------------------*/
|
15
|
+
form.formtastic, form.formtastic ul, form.formtastic ol, form.formtastic li, form.formtastic fieldset, form.formtastic legend, form.formtastic input, form.formtastic textarea, form.formtastic select, form.formtastic p { margin:0; padding:0; }
|
16
|
+
form.formtastic fieldset { border:0; }
|
17
|
+
form.formtastic em, form.formtastic strong { font-style:normal; font-weight:normal; }
|
18
|
+
form.formtastic ol, form.formtastic ul { list-style:none; }
|
19
|
+
form.formtastic abbr, form.formtastic acronym { border:0; font-variant:normal; }
|
20
|
+
form.formtastic input, form.formtastic textarea, form.formtastic select { font-family:inherit; font-size:inherit; font-weight:inherit; }
|
21
|
+
form.formtastic input, form.formtastic textarea, form.formtastic select { font-size:100%; }
|
22
|
+
form.formtastic legend { color:#000; }
|
23
|
+
|
24
|
+
|
25
|
+
/* SEMANTIC ERRORS
|
26
|
+
--------------------------------------------------------------------------------------------------*/
|
27
|
+
form.formtastic ul.errors { color:#cc0000; margin:0.5em 0 1.5em 25%; list-style:square; }
|
28
|
+
form.formtastic ul.errors li { padding:0; border:none; display:list-item; }
|
29
|
+
|
30
|
+
|
31
|
+
/* FIELDSETS & LISTS
|
32
|
+
--------------------------------------------------------------------------------------------------*/
|
33
|
+
form.formtastic fieldset { }
|
34
|
+
form.formtastic fieldset.inputs { }
|
35
|
+
form.formtastic fieldset.buttons { padding-left:25%; }
|
36
|
+
form.formtastic fieldset ol { }
|
37
|
+
form.formtastic fieldset.buttons li { float:left; padding-right:0.5em; }
|
38
|
+
|
39
|
+
/* clearfixing the fieldsets */
|
40
|
+
form.formtastic fieldset { display: inline-block; }
|
41
|
+
form.formtastic fieldset:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
42
|
+
html[xmlns] form.formtastic fieldset { display: block; }
|
43
|
+
* html form.formtastic fieldset { height: 1%; }
|
44
|
+
|
45
|
+
|
46
|
+
/* INPUT LIs
|
47
|
+
--------------------------------------------------------------------------------------------------*/
|
48
|
+
form.formtastic fieldset ol li { margin-bottom:1.5em; }
|
49
|
+
|
50
|
+
/* clearfixing the li's */
|
51
|
+
form.formtastic fieldset ol li { display: inline-block; }
|
52
|
+
form.formtastic fieldset ol li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
53
|
+
html[xmlns] form.formtastic fieldset ol li { display: block; }
|
54
|
+
* html form.formtastic fieldset ol li { height: 1%; }
|
55
|
+
|
56
|
+
form.formtastic fieldset ol li.required { }
|
57
|
+
form.formtastic fieldset ol li.optional { }
|
58
|
+
form.formtastic fieldset ol li.error { }
|
59
|
+
|
60
|
+
|
61
|
+
/* LABELS
|
62
|
+
--------------------------------------------------------------------------------------------------*/
|
63
|
+
form.formtastic fieldset ol li label { display:block; width:25%; float:left; padding-top:.2em; }
|
64
|
+
form.formtastic fieldset ol li li label { line-height:100%; padding-top:0; }
|
65
|
+
form.formtastic fieldset ol li li label input { line-height:100%; vertical-align:middle; margin-top:-0.1em;}
|
66
|
+
|
67
|
+
|
68
|
+
/* NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
|
69
|
+
--------------------------------------------------------------------------------------------------*/
|
70
|
+
form.formtastic fieldset ol li fieldset { position:relative; }
|
71
|
+
form.formtastic fieldset ol li fieldset legend { position:absolute; width:25%; padding-top:0.1em; }
|
72
|
+
form.formtastic fieldset ol li fieldset legend span { position:absolute; }
|
73
|
+
form.formtastic fieldset ol li fieldset legend.label label { position:absolute; }
|
74
|
+
form.formtastic fieldset ol li fieldset ol { float:left; width:74%; margin:0; padding:0 0 0 25%; }
|
75
|
+
form.formtastic fieldset ol li fieldset ol li { padding:0; border:0; }
|
76
|
+
|
77
|
+
|
78
|
+
/* INLINE HINTS
|
79
|
+
--------------------------------------------------------------------------------------------------*/
|
80
|
+
form.formtastic fieldset ol li p.inline-hints { color:#666; margin:0.5em 0 0 25%; }
|
81
|
+
|
82
|
+
|
83
|
+
/* INLINE ERRORS
|
84
|
+
--------------------------------------------------------------------------------------------------*/
|
85
|
+
form.formtastic fieldset ol li p.inline-errors { color:#cc0000; margin:0.5em 0 0 25%; }
|
86
|
+
form.formtastic fieldset ol li ul.errors { color:#cc0000; margin:0.5em 0 0 25%; list-style:square; }
|
87
|
+
form.formtastic fieldset ol li ul.errors li { padding:0; border:none; display:list-item; }
|
88
|
+
|
89
|
+
|
90
|
+
/* STRING & NUMERIC OVERRIDES
|
91
|
+
--------------------------------------------------------------------------------------------------*/
|
92
|
+
form.formtastic fieldset ol li.string input { width:74%; }
|
93
|
+
form.formtastic fieldset ol li.password input { width:74%; }
|
94
|
+
form.formtastic fieldset ol li.numeric input { width:74%; }
|
95
|
+
|
96
|
+
|
97
|
+
/* TEXTAREA OVERRIDES
|
98
|
+
--------------------------------------------------------------------------------------------------*/
|
99
|
+
form.formtastic fieldset ol li.text textarea { width:74%; }
|
100
|
+
|
101
|
+
|
102
|
+
/* HIDDEN OVERRIDES
|
103
|
+
--------------------------------------------------------------------------------------------------*/
|
104
|
+
form.formtastic fieldset ol li.hidden { display:none; }
|
105
|
+
|
106
|
+
|
107
|
+
/* BOOLEAN OVERRIDES
|
108
|
+
--------------------------------------------------------------------------------------------------*/
|
109
|
+
form.formtastic fieldset ol li.boolean label { padding-left:25%; width:auto; }
|
110
|
+
form.formtastic fieldset ol li.boolean label input { margin:0 0.5em 0 0.2em; }
|
111
|
+
|
112
|
+
|
113
|
+
/* RADIO OVERRIDES
|
114
|
+
--------------------------------------------------------------------------------------------------*/
|
115
|
+
form.formtastic fieldset ol li.radio { }
|
116
|
+
form.formtastic fieldset ol li.radio fieldset ol { margin-bottom:-0.6em; }
|
117
|
+
form.formtastic fieldset ol li.radio fieldset ol li { margin:0.1em 0 0.5em 0; }
|
118
|
+
form.formtastic fieldset ol li.radio fieldset ol li label { float:none; width:100%; }
|
119
|
+
form.formtastic fieldset ol li.radio fieldset ol li label input { margin-right:0.2em; }
|
120
|
+
|
121
|
+
|
122
|
+
/* CHECK BOXES (COLLECTION) OVERRIDES
|
123
|
+
--------------------------------------------------------------------------------------------------*/
|
124
|
+
form.formtastic fieldset ol li.check_boxes { }
|
125
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol { margin-bottom:-0.6em; }
|
126
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li { margin:0.1em 0 0.5em 0; }
|
127
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li label { float:none; width:100%; }
|
128
|
+
form.formtastic fieldset ol li.check_boxes fieldset ol li label input { margin-right:0.2em; }
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
/* DATE & TIME OVERRIDES
|
133
|
+
--------------------------------------------------------------------------------------------------*/
|
134
|
+
form.formtastic fieldset ol li.date fieldset ol li,
|
135
|
+
form.formtastic fieldset ol li.time fieldset ol li,
|
136
|
+
form.formtastic fieldset ol li.datetime fieldset ol li { float:left; width:auto; margin:0 .3em 0 0; }
|
137
|
+
|
138
|
+
form.formtastic fieldset ol li.date fieldset ol li label,
|
139
|
+
form.formtastic fieldset ol li.time fieldset ol li label,
|
140
|
+
form.formtastic fieldset ol li.datetime fieldset ol li label { display:none; }
|
141
|
+
|
142
|
+
form.formtastic fieldset ol li.date fieldset ol li label input,
|
143
|
+
form.formtastic fieldset ol li.time fieldset ol li label input,
|
144
|
+
form.formtastic fieldset ol li.datetime fieldset ol li label input { display:inline; margin:0; padding:0; }
|