padrino-admin 0.10.7 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +22 -1
- data/lib/padrino-admin.rb +8 -1
- data/lib/padrino-admin/access_control.rb +6 -4
- data/lib/padrino-admin/bootstrap-less/accordion.less +34 -0
- data/lib/padrino-admin/bootstrap-less/alerts.less +98 -0
- data/lib/padrino-admin/bootstrap-less/badges.less +58 -0
- data/lib/padrino-admin/bootstrap-less/bootstrap.less +62 -0
- data/lib/padrino-admin/bootstrap-less/breadcrumbs.less +25 -0
- data/lib/padrino-admin/bootstrap-less/button-groups.less +166 -0
- data/lib/padrino-admin/bootstrap-less/buttons.less +175 -0
- data/lib/padrino-admin/bootstrap-less/carousel.less +192 -0
- data/lib/padrino-admin/bootstrap-less/close.less +32 -0
- data/lib/padrino-admin/bootstrap-less/code.less +61 -0
- data/lib/padrino-admin/bootstrap-less/component-animations.less +32 -0
- data/lib/padrino-admin/bootstrap-less/dropdowns.less +223 -0
- data/lib/padrino-admin/bootstrap-less/font-awesome-ie7.less +350 -0
- data/lib/padrino-admin/bootstrap-less/font-awesome.less +537 -0
- data/lib/padrino-admin/bootstrap-less/forms.less +543 -0
- data/lib/padrino-admin/bootstrap-less/glyphicons.less +200 -0
- data/lib/padrino-admin/bootstrap-less/grid.less +49 -0
- data/lib/padrino-admin/bootstrap-less/jumbotron.less +32 -0
- data/lib/padrino-admin/bootstrap-less/labels.less +46 -0
- data/lib/padrino-admin/bootstrap-less/media.less +54 -0
- data/lib/padrino-admin/bootstrap-less/mixins.less +530 -0
- data/lib/padrino-admin/bootstrap-less/modals.less +136 -0
- data/lib/padrino-admin/bootstrap-less/navbar.less +379 -0
- data/lib/padrino-admin/bootstrap-less/navs.less +277 -0
- data/lib/padrino-admin/bootstrap-less/normalize.less +396 -0
- data/lib/padrino-admin/bootstrap-less/padrino-admin.less +16 -0
- data/lib/padrino-admin/bootstrap-less/pager.less +43 -0
- data/lib/padrino-admin/bootstrap-less/pagination.less +100 -0
- data/lib/padrino-admin/bootstrap-less/popovers.less +133 -0
- data/lib/padrino-admin/bootstrap-less/print.less +74 -0
- data/lib/padrino-admin/bootstrap-less/progress-bars.less +118 -0
- data/lib/padrino-admin/bootstrap-less/responsive-utilities.less +59 -0
- data/lib/padrino-admin/bootstrap-less/scaffolding.less +90 -0
- data/lib/padrino-admin/bootstrap-less/tables.less +231 -0
- data/lib/padrino-admin/bootstrap-less/thumbnails.less +42 -0
- data/lib/padrino-admin/bootstrap-less/tooltip.less +71 -0
- data/lib/padrino-admin/bootstrap-less/type.less +252 -0
- data/lib/padrino-admin/bootstrap-less/utilities.less +42 -0
- data/lib/padrino-admin/bootstrap-less/variables.less +316 -0
- data/lib/padrino-admin/bootstrap-less/wells.less +29 -0
- data/lib/padrino-admin/generators/actions.rb +18 -2
- data/lib/padrino-admin/generators/admin_app.rb +38 -26
- data/lib/padrino-admin/generators/admin_page.rb +8 -1
- data/lib/padrino-admin/generators/orm.rb +58 -11
- data/lib/padrino-admin/generators/templates/account/couchrest.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/account/{mini_record.rb.tt → minirecord.rb.tt} +0 -0
- data/lib/padrino-admin/generators/templates/account/mongoid.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/account/ohm.rb.tt +61 -0
- data/lib/padrino-admin/generators/templates/account/sequel.rb.tt +1 -1
- data/lib/padrino-admin/generators/templates/app.rb.tt +36 -29
- data/lib/padrino-admin/generators/templates/app/controllers/{base.rb → base.rb.tt} +1 -2
- data/lib/padrino-admin/generators/templates/app/controllers/sessions.rb.tt +6 -3
- data/lib/padrino-admin/generators/templates/assets/images/favicon.ico +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/FontAwesome.otf +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.eot +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.svg +284 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.ttf +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/font/fontawesome-webfont.woff +0 -0
- data/lib/padrino-admin/generators/templates/assets/images/logo.png +0 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/application.js +117 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-affix.js +117 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-alert.js +99 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-button.js +105 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-carousel.js +207 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-collapse.js +167 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-dropdown.js +165 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-modal.js +251 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-popover.js +114 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-scrollspy.js +162 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tab.js +144 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-tooltip.js +361 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-transition.js +60 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap-typeahead.js +335 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/bootstrap/bootstrap.min.js +6 -0
- data/lib/padrino-admin/generators/templates/assets/javascripts/jquery-1.9.0.min.js +4 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/application.css +346 -0
- data/lib/padrino-admin/generators/templates/assets/stylesheets/bootstrap.css +952 -0
- data/lib/padrino-admin/generators/templates/erb/app/base/index.erb.tt +13 -15
- data/lib/padrino-admin/generators/templates/erb/app/errors/403.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/errors/404.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/errors/500.erb.tt +3 -0
- data/lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt +59 -39
- data/lib/padrino-admin/generators/templates/erb/app/layouts/error.erb.tt +23 -0
- data/lib/padrino-admin/generators/templates/erb/app/sessions/new.erb.tt +41 -53
- data/lib/padrino-admin/generators/templates/erb/page/_form.erb.tt +16 -9
- data/lib/padrino-admin/generators/templates/erb/page/edit.erb.tt +9 -17
- data/lib/padrino-admin/generators/templates/erb/page/index.erb.tt +73 -31
- data/lib/padrino-admin/generators/templates/erb/page/new.erb.tt +8 -16
- data/lib/padrino-admin/generators/templates/haml/app/base/index.haml.tt +11 -24
- data/lib/padrino-admin/generators/templates/haml/app/errors/403.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/errors/404.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/errors/500.haml.tt +3 -0
- data/lib/padrino-admin/generators/templates/haml/app/layouts/application.haml.tt +47 -29
- data/lib/padrino-admin/generators/templates/haml/app/layouts/error.haml.tt +18 -0
- data/lib/padrino-admin/generators/templates/haml/app/sessions/new.haml.tt +33 -28
- data/lib/padrino-admin/generators/templates/haml/page/_form.haml.tt +13 -9
- data/lib/padrino-admin/generators/templates/haml/page/edit.haml.tt +7 -14
- data/lib/padrino-admin/generators/templates/haml/page/index.haml.tt +56 -27
- data/lib/padrino-admin/generators/templates/haml/page/new.haml.tt +6 -13
- data/lib/padrino-admin/generators/templates/page/controller.rb.tt +57 -12
- data/lib/padrino-admin/generators/templates/slim/app/base/index.slim.tt +11 -24
- data/lib/padrino-admin/generators/templates/slim/app/errors/403.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/errors/404.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/errors/500.slim.tt +3 -0
- data/lib/padrino-admin/generators/templates/slim/app/layouts/application.slim.tt +43 -26
- data/lib/padrino-admin/generators/templates/slim/app/layouts/error.slim.tt +19 -0
- data/lib/padrino-admin/generators/templates/slim/app/sessions/new.slim.tt +31 -27
- data/lib/padrino-admin/generators/templates/slim/page/_form.slim.tt +13 -11
- data/lib/padrino-admin/generators/templates/slim/page/edit.slim.tt +7 -15
- data/lib/padrino-admin/generators/templates/slim/page/index.slim.tt +54 -28
- data/lib/padrino-admin/generators/templates/slim/page/new.slim.tt +6 -14
- data/lib/padrino-admin/helpers/authentication_helpers.rb +6 -4
- data/lib/padrino-admin/helpers/view_helpers.rb +27 -5
- data/lib/padrino-admin/locale/admin/cs.yml +53 -13
- data/lib/padrino-admin/locale/admin/da.yml +53 -13
- data/lib/padrino-admin/locale/admin/de.yml +53 -13
- data/lib/padrino-admin/locale/admin/en.yml +53 -13
- data/lib/padrino-admin/locale/admin/es.yml +53 -13
- data/lib/padrino-admin/locale/admin/fr.yml +53 -13
- data/lib/padrino-admin/locale/admin/hu.yml +53 -13
- data/lib/padrino-admin/locale/admin/it.yml +53 -13
- data/lib/padrino-admin/locale/admin/ja.yml +54 -13
- data/lib/padrino-admin/locale/admin/lv.yml +53 -13
- data/lib/padrino-admin/locale/admin/nl.yml +53 -13
- data/lib/padrino-admin/locale/admin/no.yml +53 -13
- data/lib/padrino-admin/locale/admin/pl.yml +53 -13
- data/lib/padrino-admin/locale/admin/pt_br.yml +53 -13
- data/lib/padrino-admin/locale/admin/ro.yml +53 -13
- data/lib/padrino-admin/locale/admin/ru.yml +54 -13
- data/lib/padrino-admin/locale/admin/sv.yml +53 -13
- data/lib/padrino-admin/locale/admin/tr.yml +53 -13
- data/lib/padrino-admin/locale/admin/uk.yml +53 -13
- data/lib/padrino-admin/locale/admin/zh_cn.yml +53 -13
- data/lib/padrino-admin/locale/admin/zh_tw.yml +53 -13
- data/lib/padrino-admin/locale/orm/fr.yml +8 -8
- data/padrino-admin.gemspec +2 -0
- data/test/fixtures/data_mapper.rb +0 -4
- data/test/generators/test_account_model_generator.rb +88 -18
- data/test/generators/test_admin_app_generator.rb +120 -165
- data/test/generators/test_admin_page_generator.rb +53 -56
- data/test/helper.rb +4 -0
- data/test/test_admin_application.rb +5 -5
- data/test/test_locale.rb +3 -3
- metadata +119 -35
- data/lib/padrino-admin/generators/templates/assets/stylesheets/base.css +0 -95
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/amro/style.css +0 -364
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec-green/style.css +0 -290
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/bec/style.css +0 -301
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/blue/style.css +0 -287
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/default/style.css +0 -373
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/djime-cerulean/style.css +0 -305
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/kathleene/style.css +0 -279
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/olive/style.css +0 -345
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/orange/style.css +0 -269
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/reidb-greenish/style.css +0 -302
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/ruby/style.css +0 -281
- data/lib/padrino-admin/generators/templates/assets/stylesheets/themes/warehouse/style.css +0 -391
- data/lib/padrino-admin/generators/templates/erb/app/base/_sidebar.erb.tt +0 -13
- data/lib/padrino-admin/generators/templates/haml/app/base/_sidebar.haml.tt +0 -11
- data/lib/padrino-admin/generators/templates/slim/app/base/_sidebar.slim.tt +0 -11
@@ -1,287 +0,0 @@
|
|
1
|
-
.small { font-size:12px; }
|
2
|
-
.gray { color:#999999; }
|
3
|
-
.hightlight { background-color:#FFFFCC; }
|
4
|
-
|
5
|
-
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #2F427A; }
|
6
|
-
a { -moz-outline: none; }
|
7
|
-
|
8
|
-
body {
|
9
|
-
color: #222;
|
10
|
-
background: #f0f0ee;
|
11
|
-
font-family: helvetica, arial, sans-serif;
|
12
|
-
font-size: 14px;
|
13
|
-
}
|
14
|
-
|
15
|
-
hr {
|
16
|
-
background: #f0f0ee;
|
17
|
-
color: #f0f0ee;
|
18
|
-
}
|
19
|
-
|
20
|
-
#header {
|
21
|
-
background: #2F427A;
|
22
|
-
}
|
23
|
-
|
24
|
-
#header h1 {
|
25
|
-
padding: 20px 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
29
|
-
color: #FFF;
|
30
|
-
}
|
31
|
-
|
32
|
-
#user-navigation {
|
33
|
-
top: auto;
|
34
|
-
bottom: 5px;
|
35
|
-
right: 25px;
|
36
|
-
}
|
37
|
-
|
38
|
-
#main .block .content {
|
39
|
-
background: #FFF;
|
40
|
-
padding-top: 1px;
|
41
|
-
}
|
42
|
-
|
43
|
-
#main .block .content h2 {
|
44
|
-
margin-left: 15px;
|
45
|
-
}
|
46
|
-
|
47
|
-
#sidebar .block {
|
48
|
-
background: #FFF;
|
49
|
-
}
|
50
|
-
|
51
|
-
#sidebar .notice {
|
52
|
-
background: #FFFFCC;
|
53
|
-
}
|
54
|
-
|
55
|
-
#sidebar h3 {
|
56
|
-
background: #2F427A;
|
57
|
-
color: #FFF;
|
58
|
-
border-bottom: 10px solid #262626;
|
59
|
-
font-size: 15px;
|
60
|
-
}
|
61
|
-
|
62
|
-
#main-navigation ul li {
|
63
|
-
padding-left: 15px;
|
64
|
-
}
|
65
|
-
|
66
|
-
#main-navigation ul li a {
|
67
|
-
padding: 8px 0;
|
68
|
-
}
|
69
|
-
|
70
|
-
#main-navigation ul li.active {
|
71
|
-
padding: 0;
|
72
|
-
margin-left: 15px;
|
73
|
-
}
|
74
|
-
|
75
|
-
#main-navigation ul li.active {
|
76
|
-
margin-left: 15px;
|
77
|
-
}
|
78
|
-
|
79
|
-
#main-navigation ul li.active a {
|
80
|
-
padding: 8px 15px;
|
81
|
-
}
|
82
|
-
|
83
|
-
#sidebar ul li a:link, #sidebar ul li a:visited {
|
84
|
-
background: #FFF;
|
85
|
-
border-bottom: 1px solid #F0F0EE;
|
86
|
-
text-decoration: none;
|
87
|
-
}
|
88
|
-
|
89
|
-
#sidebar ul li a:hover, #sidebar ul li a:active {
|
90
|
-
background: #316291;
|
91
|
-
color: #FFF;
|
92
|
-
}
|
93
|
-
|
94
|
-
#main-navigation {
|
95
|
-
background: #262626;
|
96
|
-
}
|
97
|
-
|
98
|
-
#main-navigation ul li {
|
99
|
-
background: #262626;
|
100
|
-
margin-right: 0;
|
101
|
-
}
|
102
|
-
|
103
|
-
#main-navigation ul li.active {
|
104
|
-
background: #f0f0ee;
|
105
|
-
}
|
106
|
-
|
107
|
-
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
108
|
-
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
109
|
-
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
110
|
-
text-decoration: none;
|
111
|
-
color: #FFF;
|
112
|
-
}
|
113
|
-
|
114
|
-
.secondary-navigation li a:hover {
|
115
|
-
background: #5C637A;
|
116
|
-
}
|
117
|
-
|
118
|
-
#main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
|
119
|
-
color: #262626;
|
120
|
-
}
|
121
|
-
|
122
|
-
.secondary-navigation {
|
123
|
-
background: #2F427A;
|
124
|
-
border-bottom-color: #262626;
|
125
|
-
font-size: 15px;
|
126
|
-
}
|
127
|
-
|
128
|
-
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
|
129
|
-
background-color: #262626;
|
130
|
-
}
|
131
|
-
|
132
|
-
#footer .block {
|
133
|
-
color: #FFF;
|
134
|
-
background: #262626;
|
135
|
-
}
|
136
|
-
|
137
|
-
#footer .block p {
|
138
|
-
margin: 0;
|
139
|
-
padding: 10px;
|
140
|
-
}
|
141
|
-
|
142
|
-
/* pagination */
|
143
|
-
|
144
|
-
.pagination span, .pagination a {
|
145
|
-
-moz-border-radius: 3px;
|
146
|
-
-webkit-border-radius: 3px;
|
147
|
-
padding-top: 4px;
|
148
|
-
}
|
149
|
-
|
150
|
-
.pagination span.current {
|
151
|
-
background: #262626;
|
152
|
-
color: #FFF;
|
153
|
-
border-color: #262626;
|
154
|
-
}
|
155
|
-
|
156
|
-
.pagination a {
|
157
|
-
color: #262626;
|
158
|
-
border-color: #262626;
|
159
|
-
}
|
160
|
-
|
161
|
-
.pagination a:hover {
|
162
|
-
color: #FFF;
|
163
|
-
background: #262626;
|
164
|
-
}
|
165
|
-
|
166
|
-
/* tables */
|
167
|
-
|
168
|
-
.table th {
|
169
|
-
background: #262626;
|
170
|
-
color: #FFF;
|
171
|
-
}
|
172
|
-
|
173
|
-
.table td {
|
174
|
-
border-bottom:1px solid #F0F0EE;
|
175
|
-
}
|
176
|
-
|
177
|
-
/* forms */
|
178
|
-
|
179
|
-
.form input.text_field, .form input.password_field, .form textarea.text_area {
|
180
|
-
width: 100%;
|
181
|
-
border: 1px solid #262626;
|
182
|
-
}
|
183
|
-
|
184
|
-
.form input.button {
|
185
|
-
padding: 5px 10px 5px 10px;
|
186
|
-
background-color:#2F427A;
|
187
|
-
text-decoration:none;
|
188
|
-
cursor: pointer;
|
189
|
-
color: #FFF;
|
190
|
-
font-size: 14px;
|
191
|
-
border:0px;
|
192
|
-
margin:0px;
|
193
|
-
}
|
194
|
-
|
195
|
-
.form .button:hover {
|
196
|
-
background: #262626;
|
197
|
-
}
|
198
|
-
|
199
|
-
.form .description {
|
200
|
-
font-style: italic;
|
201
|
-
color: #8C8C8C;
|
202
|
-
font-size: .9em;
|
203
|
-
}
|
204
|
-
|
205
|
-
/* flash-messages */
|
206
|
-
.flash .message {
|
207
|
-
-moz-border-radius: 3px;
|
208
|
-
-webkit-border-radius: 3px;
|
209
|
-
text-align:center;
|
210
|
-
margin: 0 auto 15px;
|
211
|
-
|
212
|
-
}
|
213
|
-
|
214
|
-
.flash .message p {
|
215
|
-
margin:8px;
|
216
|
-
}
|
217
|
-
.flash .error {
|
218
|
-
border: 1px solid #fbb;
|
219
|
-
background-color: #fdd;
|
220
|
-
}
|
221
|
-
.flash .warning {
|
222
|
-
border: 1px solid #fffaaa;
|
223
|
-
background-color: #ffffcc;
|
224
|
-
}
|
225
|
-
.flash .notice {
|
226
|
-
border: 1px solid #1FDF00;
|
227
|
-
background-color: #BBFFB6;
|
228
|
-
}
|
229
|
-
|
230
|
-
/* lists */
|
231
|
-
|
232
|
-
ul.list li {
|
233
|
-
border-bottom-color: #F0F0EE;
|
234
|
-
border-bottom-width: 1px;
|
235
|
-
border-bottom-style: solid;
|
236
|
-
}
|
237
|
-
|
238
|
-
ul.list li .item .avatar {
|
239
|
-
border-color: #F0F0EE;
|
240
|
-
border-width: 1px;
|
241
|
-
border-style: solid;
|
242
|
-
padding: 2px;
|
243
|
-
}
|
244
|
-
|
245
|
-
/* box */
|
246
|
-
|
247
|
-
#box .block {
|
248
|
-
background: #FFF;
|
249
|
-
}
|
250
|
-
|
251
|
-
#box .block h2 {
|
252
|
-
background: #2F427A;
|
253
|
-
color: #FFF;
|
254
|
-
}
|
255
|
-
|
256
|
-
|
257
|
-
/* rounded borders */
|
258
|
-
|
259
|
-
#main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
260
|
-
#footer .block, .form input.button, #box .block, #box .block h2 {
|
261
|
-
-moz-border-radius-topleft: 4px;
|
262
|
-
-webkit-border-top-left-radius: 4px;
|
263
|
-
-moz-border-radius-topright: 4px;
|
264
|
-
-webkit-border-top-right-radius: 4px;
|
265
|
-
}
|
266
|
-
|
267
|
-
.secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
|
268
|
-
-moz-border-radius-topleft: 4px;
|
269
|
-
-webkit-border-top-left-radius: 4px;
|
270
|
-
}
|
271
|
-
|
272
|
-
.table th.last {
|
273
|
-
-moz-border-radius-topright: 4px;
|
274
|
-
-webkit-border-top-right-radius: 4px;
|
275
|
-
}
|
276
|
-
|
277
|
-
.secondary-navigation ul li.first {
|
278
|
-
-moz-border-radius-topleft: 4px;
|
279
|
-
-webkit-border-top-left-radius: 4px;
|
280
|
-
}
|
281
|
-
|
282
|
-
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
283
|
-
-moz-border-radius-bottomleft: 4px;
|
284
|
-
-webkit-border-bottom-left-radius: 4px;
|
285
|
-
-moz-border-radius-bottomright: 4px;
|
286
|
-
-webkit-border-bottom-right-radius: 4px;
|
287
|
-
}
|
@@ -1,373 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
Drastic Dark
|
4
|
-
by Juan Maria Martinez Arce
|
5
|
-
juan[at]insignia4u.com
|
6
|
-
|
7
|
-
light grey: #cfcfcf
|
8
|
-
medium grey: #36393d
|
9
|
-
dark grey: #1a1a1a
|
10
|
-
interactive action yellow #ffff88
|
11
|
-
red #cc0000
|
12
|
-
light blue #E6EEFC
|
13
|
-
dark blue #0B43A8
|
14
|
-
|
15
|
-
*/
|
16
|
-
|
17
|
-
.small {
|
18
|
-
font-size: 11px;
|
19
|
-
font-style: normal;
|
20
|
-
font-weight: normal;
|
21
|
-
text-transform: normal;
|
22
|
-
letter-spacing: normal;
|
23
|
-
line-height: 1.4em;
|
24
|
-
}
|
25
|
-
|
26
|
-
.gray {
|
27
|
-
color:#999999;
|
28
|
-
font-family: Georgia, serif;
|
29
|
-
font-size: 13px;
|
30
|
-
font-style: italic;
|
31
|
-
font-weight: normal;
|
32
|
-
text-transform: normal;
|
33
|
-
letter-spacing: normal;
|
34
|
-
line-height: 1.6em;
|
35
|
-
}
|
36
|
-
|
37
|
-
.hightlight {
|
38
|
-
background-color: #ffff88;
|
39
|
-
font-weight: bold;
|
40
|
-
color: #36393d;
|
41
|
-
}
|
42
|
-
|
43
|
-
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #36393d; }
|
44
|
-
a { -moz-outline: none; }
|
45
|
-
|
46
|
-
body {
|
47
|
-
color: #222;
|
48
|
-
background: #cfcfcf;
|
49
|
-
font-family: helvetica, arial, sans-serif;
|
50
|
-
}
|
51
|
-
|
52
|
-
hr {
|
53
|
-
background: #f0f0ee;
|
54
|
-
color: #f0f0ee;
|
55
|
-
}
|
56
|
-
|
57
|
-
#header {
|
58
|
-
background: #36393d;
|
59
|
-
}
|
60
|
-
|
61
|
-
#header h1 {
|
62
|
-
padding: 15px 0;
|
63
|
-
font-size: 28px;
|
64
|
-
font-style: normal;
|
65
|
-
font-weight: bold;
|
66
|
-
text-transform: normal;
|
67
|
-
letter-spacing: -1px;
|
68
|
-
line-height: 1.2em;
|
69
|
-
}
|
70
|
-
|
71
|
-
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
72
|
-
color: #FFF;
|
73
|
-
}
|
74
|
-
|
75
|
-
#user-navigation {
|
76
|
-
top: auto;
|
77
|
-
bottom: 5px;
|
78
|
-
right: 25px;
|
79
|
-
}
|
80
|
-
|
81
|
-
#user-navigation a.logout {
|
82
|
-
background: #cc0000;
|
83
|
-
padding: 1px 4px;
|
84
|
-
-moz-border-radius: 4px;
|
85
|
-
-webkit-border-radius: 3px;
|
86
|
-
}
|
87
|
-
|
88
|
-
#main .block .content {
|
89
|
-
background: #FFF;
|
90
|
-
padding-top: 1px;
|
91
|
-
}
|
92
|
-
|
93
|
-
#main .block .content h2 {
|
94
|
-
margin-left: 15px;
|
95
|
-
font-size: 22px;
|
96
|
-
font-style: normal;
|
97
|
-
font-weight: bold;
|
98
|
-
text-transform: normal;
|
99
|
-
letter-spacing: -1px;
|
100
|
-
line-height: 1.2em;
|
101
|
-
}
|
102
|
-
|
103
|
-
#main .block .content p {
|
104
|
-
font-size: 13px;
|
105
|
-
font-style: normal;
|
106
|
-
font-weight: normal;
|
107
|
-
text-transform: normal;
|
108
|
-
letter-spacing: normal;
|
109
|
-
line-height: 1.45em;
|
110
|
-
}
|
111
|
-
|
112
|
-
#sidebar .block {
|
113
|
-
background: #FFF;
|
114
|
-
}
|
115
|
-
|
116
|
-
#sidebar .block h4 {
|
117
|
-
font-weight: bold;
|
118
|
-
}
|
119
|
-
|
120
|
-
#sidebar .notice {
|
121
|
-
background: #E6EEFC;
|
122
|
-
}
|
123
|
-
|
124
|
-
#sidebar .notice h4 {
|
125
|
-
color: #0B43A8;
|
126
|
-
}
|
127
|
-
|
128
|
-
#sidebar h3 {
|
129
|
-
background: #36393d;
|
130
|
-
color: #FFF;
|
131
|
-
border-bottom: 5px solid #1a1a1a;
|
132
|
-
}
|
133
|
-
|
134
|
-
#main-navigation ul li {
|
135
|
-
padding-left: 15px;
|
136
|
-
}
|
137
|
-
|
138
|
-
#main-navigation ul li a {
|
139
|
-
padding: 8px 0;
|
140
|
-
}
|
141
|
-
|
142
|
-
#main-navigation ul li.active {
|
143
|
-
padding: 0;
|
144
|
-
margin-left: 15px;
|
145
|
-
}
|
146
|
-
|
147
|
-
#main-navigation ul li.active {
|
148
|
-
margin-left: 15px;
|
149
|
-
}
|
150
|
-
|
151
|
-
#main-navigation ul li.active a {
|
152
|
-
padding: 8px 15px;
|
153
|
-
}
|
154
|
-
|
155
|
-
#sidebar ul li a:link, #sidebar ul li a:visited {
|
156
|
-
background: #FFF;
|
157
|
-
border-bottom: 1px solid #F0F0EE;
|
158
|
-
text-decoration: none;
|
159
|
-
}
|
160
|
-
|
161
|
-
#sidebar ul li a:hover, #sidebar ul li a:active {
|
162
|
-
background: #666666;
|
163
|
-
color: #ffffff;;
|
164
|
-
}
|
165
|
-
|
166
|
-
#main-navigation {
|
167
|
-
background: #1a1a1a;
|
168
|
-
}
|
169
|
-
|
170
|
-
#main-navigation ul li {
|
171
|
-
background: #1a1a1a;
|
172
|
-
margin-right: 0;
|
173
|
-
}
|
174
|
-
|
175
|
-
#main-navigation ul li.active {
|
176
|
-
background: #f0f0ee;
|
177
|
-
}
|
178
|
-
|
179
|
-
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
180
|
-
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
|
181
|
-
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
182
|
-
text-decoration: none;
|
183
|
-
color: #FFF;
|
184
|
-
}
|
185
|
-
|
186
|
-
.secondary-navigation li a:hover {
|
187
|
-
background: #666666;
|
188
|
-
}
|
189
|
-
|
190
|
-
#main-navigation ul li.active a:link, #main-navigation ul li.active a:visited, #main-navigation ul li.active a:hover, #main-navigation ul li.active a:active {
|
191
|
-
color: #1a1a1a;
|
192
|
-
}
|
193
|
-
|
194
|
-
.secondary-navigation {
|
195
|
-
background: #36393d;
|
196
|
-
border-bottom-color: #1a1a1a;
|
197
|
-
}
|
198
|
-
|
199
|
-
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
|
200
|
-
background-color: #1a1a1a;
|
201
|
-
}
|
202
|
-
|
203
|
-
#footer .block {
|
204
|
-
color: #FFF;
|
205
|
-
background: #1a1a1a;
|
206
|
-
}
|
207
|
-
|
208
|
-
#footer a {
|
209
|
-
color: #FFF;
|
210
|
-
}
|
211
|
-
|
212
|
-
#footer .block p {
|
213
|
-
margin: 0;
|
214
|
-
padding: 10px;
|
215
|
-
}
|
216
|
-
|
217
|
-
/* pagination */
|
218
|
-
|
219
|
-
.pagination a, .pagination span {
|
220
|
-
background: #cfcfcf;
|
221
|
-
-moz-border-radius: 3px;
|
222
|
-
border: 1px solid #c1c1c1;
|
223
|
-
}
|
224
|
-
|
225
|
-
.pagination span.current {
|
226
|
-
background: #36393d;
|
227
|
-
color: #FFF;
|
228
|
-
border: 1px solid #36393d;
|
229
|
-
}
|
230
|
-
|
231
|
-
.pagination a {
|
232
|
-
color: #1a1a1a;
|
233
|
-
}
|
234
|
-
|
235
|
-
.pagination a:hover {
|
236
|
-
border: 1px solid #666;
|
237
|
-
}
|
238
|
-
|
239
|
-
/* tables */
|
240
|
-
|
241
|
-
.table th {
|
242
|
-
background: #36393d;
|
243
|
-
color: #FFF;
|
244
|
-
}
|
245
|
-
|
246
|
-
.table td {
|
247
|
-
border-bottom:1px solid #F0F0EE;
|
248
|
-
}
|
249
|
-
|
250
|
-
.table tr.even {
|
251
|
-
background: #ebebeb;
|
252
|
-
}
|
253
|
-
|
254
|
-
/* forms */
|
255
|
-
|
256
|
-
.form label.label {
|
257
|
-
color: #666666;
|
258
|
-
}
|
259
|
-
|
260
|
-
.form input.text_field, .form input.password_field, .form textarea.text_area {
|
261
|
-
width: 100%;
|
262
|
-
border: 1px solid #cfcfcf;
|
263
|
-
}
|
264
|
-
|
265
|
-
.form input.button {
|
266
|
-
padding: 5px 10px 5px 10px;
|
267
|
-
background-color:#36393D;
|
268
|
-
text-decoration:none;
|
269
|
-
cursor: pointer;
|
270
|
-
color: #FFF;
|
271
|
-
font-size: 14px;
|
272
|
-
border:0px;
|
273
|
-
margin:0px;
|
274
|
-
}
|
275
|
-
|
276
|
-
.form .button:hover {
|
277
|
-
background: #1A1A1A;
|
278
|
-
}
|
279
|
-
|
280
|
-
.form .description {
|
281
|
-
font-style: italic;
|
282
|
-
color: #8C8C8C;
|
283
|
-
font-size: .9em;
|
284
|
-
}
|
285
|
-
|
286
|
-
/* flash-messages */
|
287
|
-
.flash .message {
|
288
|
-
-moz-border-radius: 3px;
|
289
|
-
-webkit-border-radius: 3px;
|
290
|
-
text-align:center;
|
291
|
-
margin: 0 auto 15px;
|
292
|
-
|
293
|
-
}
|
294
|
-
|
295
|
-
.flash .message p {
|
296
|
-
margin:8px;
|
297
|
-
}
|
298
|
-
.flash .error {
|
299
|
-
border: 1px solid #fbb;
|
300
|
-
background-color: #fdd;
|
301
|
-
}
|
302
|
-
.flash .warning {
|
303
|
-
border: 1px solid #fffaaa;
|
304
|
-
background-color: #ffffcc;
|
305
|
-
}
|
306
|
-
.flash .notice {
|
307
|
-
border: 1px solid #1FDF00;
|
308
|
-
background-color: #BBFFB6;
|
309
|
-
}
|
310
|
-
|
311
|
-
/* lists */
|
312
|
-
|
313
|
-
ul.list li {
|
314
|
-
border-bottom-color: #F0F0EE;
|
315
|
-
border-bottom-width: 1px;
|
316
|
-
border-bottom-style: solid;
|
317
|
-
}
|
318
|
-
|
319
|
-
ul.list li .item .avatar {
|
320
|
-
border-color: #F0F0EE;
|
321
|
-
border-width: 1px;
|
322
|
-
border-style: solid;
|
323
|
-
padding: 2px;
|
324
|
-
}
|
325
|
-
|
326
|
-
/* box */
|
327
|
-
|
328
|
-
#box .block {
|
329
|
-
background: #FFF;
|
330
|
-
}
|
331
|
-
|
332
|
-
#box .block h2 {
|
333
|
-
background: #36393d;
|
334
|
-
color: #FFF;
|
335
|
-
}
|
336
|
-
|
337
|
-
|
338
|
-
/* rounded borders */
|
339
|
-
|
340
|
-
#main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
341
|
-
#footer .block, .form input.button, #box .block, #box .block h2 {
|
342
|
-
-moz-border-radius-topleft: 4px;
|
343
|
-
-webkit-border-top-left-radius: 4px;
|
344
|
-
-moz-border-radius-topright: 4px;
|
345
|
-
-webkit-border-top-right-radius: 4px;
|
346
|
-
}
|
347
|
-
|
348
|
-
.secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
|
349
|
-
-moz-border-radius-topleft: 4px;
|
350
|
-
-webkit-border-top-left-radius: 4px;
|
351
|
-
}
|
352
|
-
|
353
|
-
.table th.last {
|
354
|
-
-moz-border-radius-topright: 4px;
|
355
|
-
-webkit-border-top-right-radius: 4px;
|
356
|
-
}
|
357
|
-
|
358
|
-
.secondary-navigation ul li.first {
|
359
|
-
-moz-border-radius-topleft: 4px;
|
360
|
-
-webkit-border-top-left-radius: 4px;
|
361
|
-
}
|
362
|
-
|
363
|
-
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
364
|
-
-moz-border-radius-bottomleft: 4px;
|
365
|
-
-webkit-border-bottom-left-radius: 4px;
|
366
|
-
-moz-border-radius-bottomright: 4px;
|
367
|
-
-webkit-border-bottom-right-radius: 4px;
|
368
|
-
}
|
369
|
-
|
370
|
-
.secondary-navigation {
|
371
|
-
border-bottom-width: 5px;
|
372
|
-
}
|
373
|
-
|