echo_base 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -3
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +51 -2
- data/VERSION +1 -0
- data/echo_base.gemspec +165 -15
- data/lib/echo_base.rb +0 -3
- data/lib/generators/echo_base/USAGE +5 -0
- data/lib/generators/echo_base/echo_base_generator.rb +44 -0
- data/lib/generators/echo_base/templates/.infinity_test +25 -0
- data/lib/generators/echo_base/templates/.rspec +1 -0
- data/lib/generators/echo_base/templates/.rvmrc +1 -0
- data/lib/generators/echo_base/templates/Capfile +4 -0
- data/lib/generators/echo_base/templates/Gemfile +37 -0
- data/lib/generators/echo_base/templates/Gemfile.lock +235 -0
- data/lib/generators/echo_base/templates/app/controllers/application_controller.rb +20 -0
- data/lib/generators/echo_base/templates/app/controllers/sessions_controller.rb +15 -0
- data/lib/generators/echo_base/templates/app/controllers/users_controller.rb +83 -0
- data/lib/generators/echo_base/templates/app/helpers/application_helper.rb +2 -0
- data/lib/generators/echo_base/templates/app/helpers/sessions_helper.rb +2 -0
- data/lib/generators/echo_base/templates/app/helpers/users_helper.rb +2 -0
- data/lib/generators/echo_base/templates/app/models/authorization.rb +14 -0
- data/lib/generators/echo_base/templates/app/models/user.rb +11 -0
- data/lib/generators/echo_base/templates/app/views/shared/_js.html.erb +14 -0
- data/lib/generators/echo_base/templates/app/views/users/_form.html.erb +37 -0
- data/lib/generators/echo_base/templates/app/views/users/_sidebar.html.erb +13 -0
- data/lib/generators/echo_base/templates/app/views/users/edit.html.erb +19 -0
- data/lib/generators/echo_base/templates/app/views/users/index.html.erb +48 -0
- data/lib/generators/echo_base/templates/app/views/users/new.html.erb +18 -0
- data/lib/generators/echo_base/templates/app/views/users/show.html.erb +44 -0
- data/lib/generators/echo_base/templates/application.html.erb +48 -0
- data/lib/generators/echo_base/templates/autotest/discover.rb +2 -0
- data/lib/generators/echo_base/templates/config/cucumber.yml +8 -0
- data/lib/generators/echo_base/templates/config/deploy.rb +24 -0
- data/lib/generators/echo_base/templates/config/environments/development.rb +26 -0
- data/lib/generators/echo_base/templates/config/environments/production.rb +50 -0
- data/lib/generators/echo_base/templates/config/environments/test.rb +35 -0
- data/lib/generators/echo_base/templates/config/initializers/hoptoad.rb +4 -0
- data/lib/generators/echo_base/templates/config/initializers/omniauth.rb +10 -0
- data/lib/generators/echo_base/templates/config/newrelic.yml.example +0 -0
- data/lib/generators/echo_base/templates/config/omniauth.yml.example +62 -0
- data/lib/generators/echo_base/templates/config/routes.rb +5 -0
- data/lib/generators/echo_base/templates/db/migrate/20101008210657_create_authorizations.rb +15 -0
- data/lib/generators/echo_base/templates/db/migrate/20101009192412_create_users.rb +17 -0
- data/lib/generators/echo_base/templates/features/manage_authentications.feature +45 -0
- data/lib/generators/echo_base/templates/features/manage_users.feature +45 -0
- data/lib/generators/echo_base/templates/features/step_definitions/authentication_steps.rb +14 -0
- data/lib/generators/echo_base/templates/features/step_definitions/users_steps.rb +14 -0
- data/lib/generators/echo_base/templates/features/step_definitions/web_steps.rb +219 -0
- data/lib/generators/echo_base/templates/features/support/env.rb +57 -0
- data/lib/generators/echo_base/templates/features/support/paths.rb +39 -0
- data/lib/generators/echo_base/templates/public/404.html +26 -0
- data/lib/generators/echo_base/templates/public/422.html +26 -0
- data/lib/generators/echo_base/templates/public/500.html +26 -0
- data/lib/generators/echo_base/templates/public/favicon.ico +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/arrow.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/avatar.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/boxbar-background.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/breadcrumb.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/button-background-active.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/button-background.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/about +12 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/anchor-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/anchor.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/cross-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/cross.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/download-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/download.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/edit-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/edit.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/export-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/export.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/show-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/24/show.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/add.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/application_edit.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/calendar-hover.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/calendar.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/cross.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/delete.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/download.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/edit.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/key.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/pdf.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/search.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/see-less.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/see-more.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/send-mail.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/show.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/source +1 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/tick.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/icons/upload.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/logo.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/menubar-background.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/search-button.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/session/account.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/session/config.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/session/home.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/session/logout.png +0 -0
- data/lib/generators/echo_base/templates/public/images/web-app-theme/tipsy.gif +0 -0
- data/lib/generators/echo_base/templates/public/javascripts/application.js +2 -0
- data/lib/generators/echo_base/templates/public/javascripts/dd_belatedpng.js +328 -0
- data/lib/generators/echo_base/templates/public/javascripts/jquery-1.4.2.min.js +154 -0
- data/lib/generators/echo_base/templates/public/javascripts/modernizr-1.5.min.js +28 -0
- data/lib/generators/echo_base/templates/public/javascripts/rails.js +132 -0
- data/lib/generators/echo_base/templates/public/robots.txt +5 -0
- data/lib/generators/echo_base/templates/public/stylesheets/.gitkeep +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/handheld.css +7 -0
- data/lib/generators/echo_base/templates/public/stylesheets/style.css +571 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/base.css +397 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/override.css +1 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/arrow.png +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/boxbar-background.png +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/button-background-active.png +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/button-background.png +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/images/menubar-background.png +0 -0
- data/lib/generators/echo_base/templates/public/stylesheets/web-app-theme/themes/default/style.css +466 -0
- data/lib/generators/echo_base/templates/spec/controllers/sessions_controller_spec.rb +5 -0
- data/lib/generators/echo_base/templates/spec/controllers/users_controller_spec.rb +125 -0
- data/lib/generators/echo_base/templates/spec/helpers/users_helper_spec.rb +15 -0
- data/lib/generators/echo_base/templates/spec/models/authorization_spec.rb +5 -0
- data/lib/generators/echo_base/templates/spec/models/user_spec.rb +5 -0
- data/lib/generators/echo_base/templates/spec/routing/users_routing_spec.rb +35 -0
- data/lib/generators/echo_base/templates/spec/spec_helper.rb +16 -0
- data/lib/generators/echo_base/templates/spec/views/users/edit.html.erb_spec.rb +27 -0
- data/lib/generators/echo_base/templates/spec/views/users/index.html.erb_spec.rb +36 -0
- data/lib/generators/echo_base/templates/spec/views/users/new.html.erb_spec.rb +27 -0
- data/lib/generators/echo_base/templates/spec/views/users/show.html.erb_spec.rb +27 -0
- data/test/helper.rb +10 -0
- data/test/test_echo_base.rb +7 -0
- metadata +145 -36
- data/Gemfile +0 -4
- data/lib/echo_base/version.rb +0 -3
@@ -0,0 +1,571 @@
|
|
1
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
2
|
+
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
|
3
|
+
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
|
4
|
+
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
|
5
|
+
article, aside, figure, footer, header, hgroup, menu, nav, section, menu,
|
6
|
+
time, mark, audio, video {
|
7
|
+
margin:0;
|
8
|
+
padding:0;
|
9
|
+
border:0;
|
10
|
+
outline:0;
|
11
|
+
font-size:100%;
|
12
|
+
vertical-align:baseline;
|
13
|
+
background:transparent;
|
14
|
+
}
|
15
|
+
article, aside, figure, footer, header, hgroup, nav, section { display:block; }
|
16
|
+
nav ul { list-style:none; }
|
17
|
+
blockquote, q { quotes:none; }
|
18
|
+
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
|
19
|
+
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
|
20
|
+
ins { background-color:#ff9; color:#000; text-decoration:none; }
|
21
|
+
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
|
22
|
+
del { text-decoration: line-through; }
|
23
|
+
abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }
|
24
|
+
table { border-collapse:collapse; border-spacing:0; }
|
25
|
+
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
|
26
|
+
input, select { vertical-align:middle; }
|
27
|
+
|
28
|
+
|
29
|
+
body { font:13px sans-serif; *font-size:small; *font:x-small; line-height:1.22; }
|
30
|
+
table { font-size:inherit; font:100%; }
|
31
|
+
select, input, textarea { font:99% sans-serif; }
|
32
|
+
pre, code, kbd, samp { font-family: monospace, sans-serif; }
|
33
|
+
|
34
|
+
body, select, input, textarea { color:#444; }
|
35
|
+
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }
|
36
|
+
html { -webkit-font-smoothing: antialiased; }
|
37
|
+
a:hover, a:active { outline: none; }
|
38
|
+
a, a:active, a:visited { color:#607890; }
|
39
|
+
a:hover { color:#036; }
|
40
|
+
ul { margin-left:30px; }
|
41
|
+
ol { margin-left:30px; list-style-type: decimal; }
|
42
|
+
small { font-size:85%; }
|
43
|
+
strong, th { font-weight: bold; }
|
44
|
+
td, td img { vertical-align:top; }
|
45
|
+
sub { vertical-align: sub; font-size: smaller; }
|
46
|
+
sup { vertical-align: super; font-size: smaller; }
|
47
|
+
|
48
|
+
pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
|
49
|
+
|
50
|
+
input[type="radio"] { vertical-align: text-bottom; }
|
51
|
+
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
|
52
|
+
.ie6 input { vertical-align: text-bottom; }
|
53
|
+
label, input[type=button], input[type=submit], button { cursor: pointer; }
|
54
|
+
|
55
|
+
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
56
|
+
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
57
|
+
|
58
|
+
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
59
|
+
|
60
|
+
|
61
|
+
html { overflow-y: scroll; }
|
62
|
+
button { width: auto; overflow: visible; }
|
63
|
+
.ie7 img { -ms-interpolation-mode: bicubic; }
|
64
|
+
|
65
|
+
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat: no-repeat; }
|
66
|
+
.hidden { display:none; visibility:hidden; }
|
67
|
+
.visuallyhidden { position:absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }
|
68
|
+
.invisible { visibility: hidden; }
|
69
|
+
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
70
|
+
.clearfix { display: inline-block; }
|
71
|
+
* html .clearfix { height: 1%; }
|
72
|
+
.clearfix { display: block; }
|
73
|
+
|
74
|
+
|
75
|
+
/* Primary Styles
|
76
|
+
/*
|
77
|
+
activo
|
78
|
+
by David Francisco (dmfrancisc[at]gmail.com)
|
79
|
+
|
80
|
+
based on "Drastic Dark" by Juan Maria Martinez Arce (juan[at]insignia4u.com)
|
81
|
+
*/
|
82
|
+
|
83
|
+
.small {
|
84
|
+
font-size: 11px;
|
85
|
+
font-style: normal;
|
86
|
+
font-weight: normal;
|
87
|
+
text-transform: none;
|
88
|
+
letter-spacing: normal;
|
89
|
+
line-height: 1.4em;
|
90
|
+
}
|
91
|
+
|
92
|
+
.gray {
|
93
|
+
color:#999999;
|
94
|
+
font-family: Georgia, serif;
|
95
|
+
font-size: 13px;
|
96
|
+
font-style: italic;
|
97
|
+
font-weight: normal;
|
98
|
+
text-transform: none;
|
99
|
+
letter-spacing: normal;
|
100
|
+
line-height: 1.6em;
|
101
|
+
}
|
102
|
+
|
103
|
+
.hightlight {
|
104
|
+
background-color: #ffff88;
|
105
|
+
font-weight: bold;
|
106
|
+
color: #36393d;
|
107
|
+
}
|
108
|
+
|
109
|
+
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #111; }
|
110
|
+
a { -moz-outline: none; }
|
111
|
+
|
112
|
+
body {
|
113
|
+
color: #111;
|
114
|
+
background: #E5E5E5;
|
115
|
+
font-family: helvetica, arial, sans-serif;
|
116
|
+
}
|
117
|
+
|
118
|
+
hr {
|
119
|
+
background: #e2e2e2;
|
120
|
+
color: #e2e2e2;
|
121
|
+
}
|
122
|
+
|
123
|
+
#header {
|
124
|
+
background: #002134;
|
125
|
+
}
|
126
|
+
|
127
|
+
#header h1 {
|
128
|
+
padding: 15px 0;
|
129
|
+
font-size: 32px;
|
130
|
+
font-style: normal;
|
131
|
+
font-weight: bold;
|
132
|
+
text-transform: none;
|
133
|
+
letter-spacing: -1px;
|
134
|
+
line-height: 1.2em;
|
135
|
+
color: #fff;
|
136
|
+
text-shadow: #000 1px 1px 2px;
|
137
|
+
}
|
138
|
+
|
139
|
+
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
140
|
+
color: #fff;
|
141
|
+
}
|
142
|
+
|
143
|
+
#user-navigation {
|
144
|
+
top: auto;
|
145
|
+
bottom: 5px;
|
146
|
+
right: 25px;
|
147
|
+
}
|
148
|
+
|
149
|
+
#user-navigation a.logout {
|
150
|
+
background: #ccc;
|
151
|
+
padding: 1px 4px;
|
152
|
+
}
|
153
|
+
|
154
|
+
#main {
|
155
|
+
width: 71%;
|
156
|
+
}
|
157
|
+
|
158
|
+
#main .block {
|
159
|
+
padding-top: 0px;
|
160
|
+
background: #fff;
|
161
|
+
|
162
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
163
|
+
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
164
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
165
|
+
}
|
166
|
+
|
167
|
+
#main .block .content {
|
168
|
+
padding-top: 1px;
|
169
|
+
}
|
170
|
+
|
171
|
+
#main .block .content h2 {
|
172
|
+
margin-left: 15px;
|
173
|
+
font-size: 22px;
|
174
|
+
font-style: normal;
|
175
|
+
font-weight: bold;
|
176
|
+
text-transform: none;
|
177
|
+
letter-spacing: -1px;
|
178
|
+
line-height: 1.2em;
|
179
|
+
}
|
180
|
+
|
181
|
+
#main .block .content p {
|
182
|
+
font-size: 13px;
|
183
|
+
font-style: normal;
|
184
|
+
font-weight: normal;
|
185
|
+
text-transform: none;
|
186
|
+
letter-spacing: normal;
|
187
|
+
line-height: 1.45em;
|
188
|
+
}
|
189
|
+
|
190
|
+
#sidebar .block h4 {
|
191
|
+
font-weight: bold;
|
192
|
+
}
|
193
|
+
|
194
|
+
#sidebar .notice {
|
195
|
+
background: #fff;
|
196
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
197
|
+
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
198
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
199
|
+
}
|
200
|
+
|
201
|
+
#sidebar h3 {
|
202
|
+
color: #111;
|
203
|
+
border-bottom: 1px solid #c0c0c0;
|
204
|
+
}
|
205
|
+
|
206
|
+
#main-navigation ul li {
|
207
|
+
padding-left: 15px;
|
208
|
+
}
|
209
|
+
|
210
|
+
#main-navigation ul li a {
|
211
|
+
padding: 8px 0;
|
212
|
+
}
|
213
|
+
|
214
|
+
#main-navigation ul li.active {
|
215
|
+
padding: 0;
|
216
|
+
margin-left: 15px;
|
217
|
+
}
|
218
|
+
|
219
|
+
#main-navigation ul li.active {
|
220
|
+
background: #E5E5E5;
|
221
|
+
margin-left: 15px;
|
222
|
+
}
|
223
|
+
|
224
|
+
#main-navigation ul li.active a {
|
225
|
+
padding: 8px 15px;
|
226
|
+
}
|
227
|
+
|
228
|
+
#sidebar ul li {
|
229
|
+
background-position: 15px 11px;
|
230
|
+
background-repeat: no-repeat;
|
231
|
+
background-image: url("images/arrow.png");
|
232
|
+
border-bottom: 1px solid #e2e2e2;
|
233
|
+
}
|
234
|
+
|
235
|
+
#sidebar ul li a {
|
236
|
+
text-decoration: none;
|
237
|
+
margin-left: 20px;
|
238
|
+
}
|
239
|
+
|
240
|
+
#sidebar ul li a:link, #sidebar ul li a:visited {
|
241
|
+
text-decoration: none;
|
242
|
+
}
|
243
|
+
|
244
|
+
#main-navigation {
|
245
|
+
background-color: #f4f4f4;
|
246
|
+
background-image: url("images/menubar-background.png");
|
247
|
+
background-repeat: repeat-x;
|
248
|
+
}
|
249
|
+
|
250
|
+
#main-navigation ul li {
|
251
|
+
margin-right: 0;
|
252
|
+
padding-left: 15px;
|
253
|
+
padding-right: 5px;
|
254
|
+
}
|
255
|
+
|
256
|
+
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active {
|
257
|
+
text-decoration: none;
|
258
|
+
color: #111;
|
259
|
+
}
|
260
|
+
|
261
|
+
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
262
|
+
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
263
|
+
text-decoration: none;
|
264
|
+
color: #111;
|
265
|
+
}
|
266
|
+
|
267
|
+
.secondary-navigation {
|
268
|
+
background-color: #f2f1ee;
|
269
|
+
border-bottom: none;
|
270
|
+
border-bottom-width: 5px;
|
271
|
+
background-image: url("images/boxbar-background.png");
|
272
|
+
}
|
273
|
+
|
274
|
+
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
|
275
|
+
background-color: #fff;
|
276
|
+
}
|
277
|
+
|
278
|
+
#footer .block {
|
279
|
+
text-align: center;
|
280
|
+
color: #111;
|
281
|
+
background: #fff;
|
282
|
+
|
283
|
+
-webkit-box-shadow: none;
|
284
|
+
-moz-box-shadow: none;
|
285
|
+
box-shadow: none;
|
286
|
+
}
|
287
|
+
|
288
|
+
#footer .block p {
|
289
|
+
margin: 0;
|
290
|
+
padding: 4px;
|
291
|
+
}
|
292
|
+
|
293
|
+
/* pagination */
|
294
|
+
|
295
|
+
.pagination a, .pagination span {
|
296
|
+
background-color: #f4f4f4;
|
297
|
+
background-image: url("images/button-background.png");
|
298
|
+
color: #111;
|
299
|
+
text-align: center;
|
300
|
+
min-width: 15px;
|
301
|
+
margin-right: 5px;
|
302
|
+
padding: 6px;
|
303
|
+
border: 1px solid #c3c4ba;
|
304
|
+
}
|
305
|
+
|
306
|
+
.pagination em {
|
307
|
+
background: #002134;
|
308
|
+
color: #fff;
|
309
|
+
border: 1px solid #002134;
|
310
|
+
}
|
311
|
+
|
312
|
+
.pagination a {
|
313
|
+
color: #1a1a1a;
|
314
|
+
}
|
315
|
+
|
316
|
+
.pagination a:hover {
|
317
|
+
border: 1px solid #818171;
|
318
|
+
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
319
|
+
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
320
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
321
|
+
}
|
322
|
+
|
323
|
+
.pagination a:active {
|
324
|
+
background-image: url("images/button-background-active.png");
|
325
|
+
outline: none;
|
326
|
+
}
|
327
|
+
|
328
|
+
/* tables */
|
329
|
+
|
330
|
+
.table th {
|
331
|
+
background: #eaeaea;
|
332
|
+
color: #222;
|
333
|
+
font-weight: normal;
|
334
|
+
}
|
335
|
+
|
336
|
+
.table td {
|
337
|
+
border-bottom: 1px solid #eaeaea;
|
338
|
+
}
|
339
|
+
|
340
|
+
.table tr.even {
|
341
|
+
background: #f8f8f8;
|
342
|
+
}
|
343
|
+
|
344
|
+
/* forms */
|
345
|
+
|
346
|
+
.form label.label {
|
347
|
+
color: #666666;
|
348
|
+
}
|
349
|
+
|
350
|
+
.form input.text_field, .form textarea.text_area {
|
351
|
+
width: 100%;
|
352
|
+
border: 1px solid #e2e2e2;
|
353
|
+
}
|
354
|
+
|
355
|
+
.form input:hover, .form textarea:hover {
|
356
|
+
-webkit-box-shadow: rgba(0,0,0,0.3) 0 0 3px;
|
357
|
+
-moz-box-shadow: rgba(0,0,0,0.3) 0 0 3px;
|
358
|
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
359
|
+
border: 1px solid #a2a294;
|
360
|
+
}
|
361
|
+
|
362
|
+
.form input:focus, .form textarea:focus {
|
363
|
+
border: 1px solid #a2a294;
|
364
|
+
}
|
365
|
+
|
366
|
+
.form input.button {
|
367
|
+
background: #e2e2e2;
|
368
|
+
border: 1px solid #c1c1c1;
|
369
|
+
padding: 2px 5px;
|
370
|
+
cursor: pointer;
|
371
|
+
color: #111;
|
372
|
+
font-weight: bold;
|
373
|
+
font-size: 11px;
|
374
|
+
}
|
375
|
+
|
376
|
+
.form input.button:hover {
|
377
|
+
border: 1px solid #666;
|
378
|
+
}
|
379
|
+
|
380
|
+
.form .description {
|
381
|
+
font-style: italic;
|
382
|
+
color: #8C8C8C;
|
383
|
+
font-size: .9em;
|
384
|
+
}
|
385
|
+
|
386
|
+
.form .navform a {
|
387
|
+
color: #cc0000;
|
388
|
+
}
|
389
|
+
|
390
|
+
/* buttons */
|
391
|
+
|
392
|
+
a.button, button.button {
|
393
|
+
background-color: #f4f4f4;
|
394
|
+
background-image: url("images/button-background.png");
|
395
|
+
border: 1px solid #c3c4ba;
|
396
|
+
font-family: helvetica, arial, sans-serif;
|
397
|
+
font-weight: normal;
|
398
|
+
}
|
399
|
+
|
400
|
+
a.button:link, a.button:visited, a.button:hover, a.button:active, button.button:link, button.button:visited, button.button:hover, button.button:active {
|
401
|
+
font-weight: normal;
|
402
|
+
background-color: #f4f4f4;
|
403
|
+
}
|
404
|
+
|
405
|
+
a.button:hover, button.button:hover {
|
406
|
+
background-color: #eee;
|
407
|
+
border: 1px solid #818171;
|
408
|
+
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
409
|
+
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
410
|
+
box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
|
411
|
+
}
|
412
|
+
|
413
|
+
a.button:active, button.button:active {
|
414
|
+
outline: none;
|
415
|
+
background-color: #ddd;
|
416
|
+
background-image: url("images/button-background-active.png");
|
417
|
+
}
|
418
|
+
|
419
|
+
/* flash-messages */
|
420
|
+
.flash .message {
|
421
|
+
text-align:center;
|
422
|
+
margin: 0 auto 15px;
|
423
|
+
}
|
424
|
+
|
425
|
+
.flash .message p {
|
426
|
+
margin:8px;
|
427
|
+
}
|
428
|
+
.flash .error {
|
429
|
+
border: 1px solid #ffbbbb;
|
430
|
+
background-color: #ffdddd;
|
431
|
+
}
|
432
|
+
.flash .warning {
|
433
|
+
border: 1px solid #ffff88;
|
434
|
+
background-color: #ffffcc;
|
435
|
+
}
|
436
|
+
.flash .notice {
|
437
|
+
border: 1px solid #1fdf00;
|
438
|
+
background-color: #bbffb6;
|
439
|
+
}
|
440
|
+
|
441
|
+
/* lists */
|
442
|
+
|
443
|
+
ul.list li {
|
444
|
+
border-bottom-color: #e2e2e2;
|
445
|
+
border-bottom-width: 1px;
|
446
|
+
border-bottom-style: solid;
|
447
|
+
}
|
448
|
+
|
449
|
+
ul.list li .item .avatar {
|
450
|
+
border-color: #e2e2e2;
|
451
|
+
border-width: 1px;
|
452
|
+
border-style: solid;
|
453
|
+
padding: 2px;
|
454
|
+
}
|
455
|
+
|
456
|
+
/* box */
|
457
|
+
|
458
|
+
#box .block {
|
459
|
+
background: #fff;
|
460
|
+
|
461
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
462
|
+
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
463
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
|
464
|
+
}
|
465
|
+
|
466
|
+
#box .block h2 {
|
467
|
+
background: #002134;
|
468
|
+
color: #fff;
|
469
|
+
}
|
470
|
+
|
471
|
+
|
472
|
+
/* rounded borders */
|
473
|
+
|
474
|
+
#main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
475
|
+
#footer .block, .form input.button, #box .block, #box .block h2 {
|
476
|
+
-moz-border-radius-topleft: 9px;
|
477
|
+
-webkit-border-top-left-radius: 9px;
|
478
|
+
-moz-border-radius-topright: 9px;
|
479
|
+
-webkit-border-top-right-radius: 9px;
|
480
|
+
}
|
481
|
+
|
482
|
+
.secondary-navigation li.first a, .secondary-navigation ul li.first {
|
483
|
+
-moz-border-radius-topleft: 9px;
|
484
|
+
-webkit-border-top-left-radius: 9px;
|
485
|
+
}
|
486
|
+
|
487
|
+
.secondary-navigation ul li.first {
|
488
|
+
-moz-border-radius-topleft: 9px;
|
489
|
+
-webkit-border-top-left-radius: 9px;
|
490
|
+
}
|
491
|
+
|
492
|
+
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
493
|
+
-moz-border-radius-bottomleft: 9px;
|
494
|
+
-webkit-border-bottom-left-radius: 9px;
|
495
|
+
-moz-border-radius-bottomright: 9px;
|
496
|
+
-webkit-border-bottom-right-radius: 9px;
|
497
|
+
}
|
498
|
+
|
499
|
+
#main .block {
|
500
|
+
-moz-border-radius: 9px;
|
501
|
+
-webkit-border-radius: 9px;
|
502
|
+
border-radius: 9px;
|
503
|
+
}
|
504
|
+
|
505
|
+
#main-navigation, .secondary-navigation {
|
506
|
+
-moz-border-radius-topleft: 9px;
|
507
|
+
-webkit-border-top-left-radius: 9px;
|
508
|
+
border-top-left-radius: 9px;
|
509
|
+
|
510
|
+
-moz-border-radius-topright: 9px;
|
511
|
+
-webkit-border-top-right-radius: 9px;
|
512
|
+
border-top-right-radius: 9px;
|
513
|
+
}
|
514
|
+
|
515
|
+
a.button, button.button, .pagination a, .pagination span {
|
516
|
+
-moz-border-radius: 2px;
|
517
|
+
-webkit-border-radius: 2px;
|
518
|
+
border-radius: 2px;
|
519
|
+
}
|
520
|
+
|
521
|
+
.flash .message {
|
522
|
+
-moz-border-radius: 6px;
|
523
|
+
-webkit-border-radius: 6px;
|
524
|
+
border-radius: 6px;
|
525
|
+
}
|
526
|
+
|
527
|
+
.form input.button {
|
528
|
+
-moz-border-radius: 5px;
|
529
|
+
-webkit-border-radius: 5px;
|
530
|
+
border-radius: 5px;
|
531
|
+
}
|
532
|
+
|
533
|
+
#user-navigation a.logout {
|
534
|
+
-moz-border-radius: 4px;
|
535
|
+
-webkit-border-radius: 4px;
|
536
|
+
border-radius: 4px;
|
537
|
+
}
|
538
|
+
|
539
|
+
|
540
|
+
/*
|
541
|
+
* print styles
|
542
|
+
*/
|
543
|
+
@media print {
|
544
|
+
* { background: transparent !important; color: #444 !important; text-shadow: none; }
|
545
|
+
a, a:visited { color: #444 !important; text-decoration: underline; }
|
546
|
+
a:after { content: " (" attr(href) ")"; }
|
547
|
+
abbr:after { content: " (" attr(title) ")"; }
|
548
|
+
.ir a:after { content: ""; } /* Don't show links for images */
|
549
|
+
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
550
|
+
img { page-break-inside: avoid; }
|
551
|
+
@page { margin: 0.5cm; }
|
552
|
+
p, h2, h3 { orphans: 3; widows: 3; }
|
553
|
+
h2, h3{ page-break-after: avoid; }
|
554
|
+
}
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
@media all and (orientation:portrait) {
|
559
|
+
|
560
|
+
}
|
561
|
+
|
562
|
+
@media all and (orientation:landscape) {
|
563
|
+
|
564
|
+
}
|
565
|
+
|
566
|
+
/* Grade-A Mobile Browsers */
|
567
|
+
@media screen and (max-device-width: 480px) {
|
568
|
+
html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; }
|
569
|
+
|
570
|
+
}
|
571
|
+
|