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,95 +0,0 @@
|
|
1
|
-
*{margin:0;padding:0}
|
2
|
-
.clear{clear:both;height:0;}
|
3
|
-
.wat-cf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
|
4
|
-
.wat-cf{display:inline-block;}
|
5
|
-
/* Hides from IE-mac \*/
|
6
|
-
* html .wat-cf{height:1%;}
|
7
|
-
.wat-cf{display:block;}
|
8
|
-
/* End hide from IE-mac */
|
9
|
-
h1{margin:15px 0;font-size:22px;font-weight:normal;}
|
10
|
-
h2{font-size:22px;margin:15px 0;font-weight:normal;}
|
11
|
-
h3{font-size:18px;margin:10px 0;font-weight:normal;}
|
12
|
-
h4{font-size:16px;margin:10px 0;font-weight:normal;}
|
13
|
-
hr{height:1px;border:0;}
|
14
|
-
p{margin:15px 0;}
|
15
|
-
a img{border:none;}
|
16
|
-
body{font-size:12px;font-family:sans-serif;}
|
17
|
-
#container{min-width:960px;}
|
18
|
-
#header,#wrapper{padding:0 20px;}
|
19
|
-
#header{position:relative;padding-top:1px;}
|
20
|
-
#header h1{margin:0;padding:10px 0;font-size:26px;}
|
21
|
-
#header h1 a:link,#header h1 a:active,#header h1 a:hover,#header h1 a:visited{text-decoration:none;}
|
22
|
-
#main{width:73%;float:left;}
|
23
|
-
.actions-bar{padding:10px 1px;}
|
24
|
-
.actions-bar .actions{float:left;}
|
25
|
-
.actions-bar .pagination{float:right;padding:1px 0;}
|
26
|
-
#sidebar{width:25%;float:right;}
|
27
|
-
#sidebar h3{padding:10px 15px;margin:0;font-size:13px;}
|
28
|
-
#sidebar .block{margin-bottom:20px;padding-bottom:10px;}
|
29
|
-
#sidebar .block .content{padding:0 15px;}
|
30
|
-
#sidebar ul.navigation li a:link,#sidebar ul.navigation li a:visited{display:block;padding:10px 15px;}
|
31
|
-
#sidebar .block .sidebar-block,#sidebar .notice{padding:10px;}
|
32
|
-
.message.notice,.message.warning,.message.error{padding:10px;}
|
33
|
-
#wrapper{padding-top:20px;}
|
34
|
-
#main .block{margin-bottom:20px;padding-top:1px;}
|
35
|
-
#main .block .content .inner{padding:0 15px 15px;}
|
36
|
-
#main .block .content .inner .navform{text-align:right;}
|
37
|
-
#main .main p.first{margin-top:0;}
|
38
|
-
#user-navigation{position:absolute;top:0px;right:20px;}
|
39
|
-
#main-navigation{width:100%;}
|
40
|
-
#user-navigation ul,#main-navigation ul,.secondary-navigation ul,#sidebar ul.navigation{margin:0;padding:0;list-style-type:none;}
|
41
|
-
#user-navigation ul li,#main-navigation ul li,.secondary-navigation ul li{float:left;}
|
42
|
-
#main-navigation ul li{margin-right:5px;}
|
43
|
-
#user-navigation ul li{padding:5px 10px;}
|
44
|
-
#main-navigation ul li a:link,#main-navigation ul li a:visited,#main-navigation ul li a:hover,#main-navigation ul li a:active,
|
45
|
-
.secondary-navigation ul li a:link,.secondary-navigation ul li a:visited,.secondary-navigation ul li a:hover,.secondary-navigation ul li a:active,
|
46
|
-
#user-navigation ul li a:link,#user-navigation ul li a:visited,#user-navigation ul li a:hover,#user-navigation ul li a:active{text-decoration:none;}
|
47
|
-
#main-navigation ul li a{font-size:14px;line-height:14px;display:block;padding:8px 15px;}
|
48
|
-
.secondary-navigation{font-size:13px;border-bottom-width:10px;border-bottom-style:solid;}
|
49
|
-
.secondary-navigation ul li a{display:block;padding:10px 15px;}
|
50
|
-
#footer{padding-bottom:20px;}
|
51
|
-
/* pagination */
|
52
|
-
.pagination a,.pagination span{padding:2px 5px;margin-right:5px;display:block;float:left;border-style:solid;border-width:1px;}
|
53
|
-
.pagination span.current{font-weight:bold;}
|
54
|
-
.pagination a{text-decoration:none;}
|
55
|
-
/* tables */
|
56
|
-
.table{width:100%;border-collapse:collapse;margin-bottom:15px;}
|
57
|
-
.table th{padding:10px;font-weight:bold;text-align:left;}
|
58
|
-
/*.table th.first{width:30px;}*/
|
59
|
-
.table th.last{width:80px;}
|
60
|
-
.table .checkbox{margin-left:10px;}
|
61
|
-
.table td{padding:10px;}
|
62
|
-
.table td.last{text-align:right;}
|
63
|
-
/* forms */
|
64
|
-
input.check_box{margin:0;padding:0;}
|
65
|
-
.form .group{margin-bottom:15px;}
|
66
|
-
.form div.left{width:20%;float:left;}
|
67
|
-
.form div.right{width:75%;float:right;}
|
68
|
-
.form .columns .column{width:48%;}
|
69
|
-
.form .columns .left{float:left;}
|
70
|
-
.form .columns .right{float:right;}
|
71
|
-
.form label,.form input.text_field,.form input.password_field,.form textarea.text_area{font-size:1.0em;padding:2px 0;margin:0;color:#36393D;}
|
72
|
-
.form label.right{text-align:right;}
|
73
|
-
.form input.check_box,.form input.radio{margin-right:5px;}
|
74
|
-
.form label.check_box,.form label.radio{line-height:1.5em;}
|
75
|
-
.form label{padding-bottom:2px;font-weight:bold;}
|
76
|
-
.form .error{color:red;}
|
77
|
-
.form a{color:red;font-size:14px;}
|
78
|
-
.form input.text_field,.form input.password_field,.form textarea.text_area{width:100%;border-width:1px;border-style:solid;}
|
79
|
-
.button_to{display:inline;}
|
80
|
-
.button_to input{background:none;border:none;display:inline;font-size:12px;color:#A72D2E;cursor:pointer;font-family: helvetica, arial, sans-serif;}
|
81
|
-
#user-navigation .button_to input{color:#FFFFFF;}
|
82
|
-
/* lists */
|
83
|
-
ul.list{margin:0;padding:0;list-style-type:none;}
|
84
|
-
ul.list li{clear:left;padding-bottom:5px;}
|
85
|
-
ul.list li .left{float:left;}
|
86
|
-
ul.list li .left .avatar{width:50px;height:50px;}
|
87
|
-
ul.list li .item{margin-left:80px;}
|
88
|
-
ul.list li .item .avatar{float:left;margin:0 5px 5px 0;width:30px;height:30px;}
|
89
|
-
/* box */
|
90
|
-
#box{width:500px;margin:50px auto;}
|
91
|
-
#box .block{margin-bottom:20px;}
|
92
|
-
#box .block h2{padding:10px 15px;margin:0;}
|
93
|
-
#box .block .content{padding:10px 20px;}
|
94
|
-
/* custom */
|
95
|
-
.code{font-family: Courier, 'Courier New', monospace;color:#36393D;}
|
@@ -1,364 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
|
3
|
-
Amro
|
4
|
-
by Sandro Duarte
|
5
|
-
sandro[at]gmail.com
|
6
|
-
|
7
|
-
dark green #008080
|
8
|
-
light yellow #F6F5CD
|
9
|
-
orange #E8C53B
|
10
|
-
light green #76BBA5
|
11
|
-
light #F3F4EC
|
12
|
-
|
13
|
-
*/
|
14
|
-
|
15
|
-
.small {
|
16
|
-
font-size: 11px;
|
17
|
-
font-style: normal;
|
18
|
-
font-weight: normal;
|
19
|
-
text-transform: normal;
|
20
|
-
letter-spacing: normal;
|
21
|
-
line-height: 1.4em;
|
22
|
-
}
|
23
|
-
|
24
|
-
.gray {
|
25
|
-
color:#999999;
|
26
|
-
font-family: Georgia, serif;
|
27
|
-
font-size: 13px;
|
28
|
-
font-style: italic;
|
29
|
-
font-weight: normal;
|
30
|
-
text-transform: normal;
|
31
|
-
letter-spacing: normal;
|
32
|
-
line-height: 1.6em;
|
33
|
-
}
|
34
|
-
|
35
|
-
.hightlight {
|
36
|
-
background-color: #ffff88;
|
37
|
-
font-weight: bold;
|
38
|
-
color: #36393d;
|
39
|
-
}
|
40
|
-
|
41
|
-
a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #008080; }
|
42
|
-
a { -moz-outline: none; }
|
43
|
-
|
44
|
-
body {
|
45
|
-
color: #222;
|
46
|
-
background: #F6F5CD;
|
47
|
-
font-family: helvetica,Arial,sans-serif;
|
48
|
-
}
|
49
|
-
|
50
|
-
hr {
|
51
|
-
background: #f0f0ee;
|
52
|
-
color: #f0f0ee;
|
53
|
-
}
|
54
|
-
|
55
|
-
p {
|
56
|
-
margin: 10px 0;
|
57
|
-
|
58
|
-
}
|
59
|
-
|
60
|
-
#header {
|
61
|
-
background: #008080;
|
62
|
-
}
|
63
|
-
|
64
|
-
#header h1 {
|
65
|
-
padding: 15px 0;
|
66
|
-
font-size: 28px;
|
67
|
-
font-style: normal;
|
68
|
-
font-weight: bold;
|
69
|
-
text-transform: normal;
|
70
|
-
letter-spacing: -1px;
|
71
|
-
line-height: 1.2em;
|
72
|
-
}
|
73
|
-
|
74
|
-
#header h1 a:link, #header h1 a:active, #header h1 a:hover, #header h1 a:visited {
|
75
|
-
color: #FFF;
|
76
|
-
}
|
77
|
-
|
78
|
-
#user-navigation {
|
79
|
-
top: auto;
|
80
|
-
bottom: 5px;
|
81
|
-
right: 25px;
|
82
|
-
}
|
83
|
-
|
84
|
-
#main .block .content {
|
85
|
-
background: #FFF;
|
86
|
-
padding-top: 1px;
|
87
|
-
}
|
88
|
-
|
89
|
-
#main .block .content h2 {
|
90
|
-
margin-left: 15px;
|
91
|
-
}
|
92
|
-
|
93
|
-
#main .block .content p {
|
94
|
-
font-size:13px;
|
95
|
-
line-height:1.45em;
|
96
|
-
}
|
97
|
-
|
98
|
-
#main .block .content h2 {
|
99
|
-
font-size:22px;
|
100
|
-
font-style:normal;
|
101
|
-
font-weight:bold;
|
102
|
-
letter-spacing:-1px;
|
103
|
-
line-height:1.2em;
|
104
|
-
margin-left:15px;
|
105
|
-
}
|
106
|
-
|
107
|
-
#sidebar .block {
|
108
|
-
background: #FFF;
|
109
|
-
}
|
110
|
-
|
111
|
-
#sidebar .notice {
|
112
|
-
background: #76BBA5;
|
113
|
-
color: #fff;
|
114
|
-
}
|
115
|
-
|
116
|
-
#sidebar h3 {
|
117
|
-
background: #008080;
|
118
|
-
color: #FFF;
|
119
|
-
border-bottom: 6px solid #E8C53B;
|
120
|
-
}
|
121
|
-
|
122
|
-
#main-navigation ul li {
|
123
|
-
padding-left: 15px;
|
124
|
-
}
|
125
|
-
|
126
|
-
#main-navigation ul li a {
|
127
|
-
padding: 8px 0;
|
128
|
-
}
|
129
|
-
|
130
|
-
#main-navigation ul li.active {
|
131
|
-
padding: 0;
|
132
|
-
margin-left: 15px;
|
133
|
-
}
|
134
|
-
|
135
|
-
#main-navigation ul li.active {
|
136
|
-
margin-left: 15px;
|
137
|
-
}
|
138
|
-
|
139
|
-
#main-navigation ul li.active a {
|
140
|
-
padding: 8px 15px;
|
141
|
-
}
|
142
|
-
|
143
|
-
#sidebar ul li a:link, #sidebar ul li a:visited {
|
144
|
-
background: #FFF;
|
145
|
-
border-bottom: 1px solid #F0F0EE;
|
146
|
-
text-decoration: none;
|
147
|
-
}
|
148
|
-
|
149
|
-
#sidebar ul li a:hover, #sidebar ul li a:active {
|
150
|
-
background: #76BBA5;
|
151
|
-
color: #FFF;
|
152
|
-
}
|
153
|
-
|
154
|
-
#main-navigation {
|
155
|
-
background: #E8C53B;
|
156
|
-
}
|
157
|
-
|
158
|
-
#main-navigation ul li {
|
159
|
-
background: #E8C53B;
|
160
|
-
margin-right: 0;
|
161
|
-
}
|
162
|
-
|
163
|
-
#main-navigation ul li.active {
|
164
|
-
background: #F6F5CD;
|
165
|
-
}
|
166
|
-
|
167
|
-
#main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
|
168
|
-
#user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
|
169
|
-
text-decoration: none;
|
170
|
-
color: #fff;
|
171
|
-
}
|
172
|
-
|
173
|
-
|
174
|
-
.secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active {
|
175
|
-
text-decoration: none;
|
176
|
-
color: #FFF;
|
177
|
-
}
|
178
|
-
|
179
|
-
#user-navigation a.logout {
|
180
|
-
background: #cc0000;
|
181
|
-
padding: 2px 6px;
|
182
|
-
-moz-border-radius: 4px;
|
183
|
-
-webkit-border-radius: 3px;
|
184
|
-
}
|
185
|
-
|
186
|
-
.secondary-navigation li a:hover {
|
187
|
-
background: #76BBA5;
|
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: #008080;
|
192
|
-
}
|
193
|
-
|
194
|
-
.secondary-navigation {
|
195
|
-
background: #008080;
|
196
|
-
border-bottom: 6px solid #E8C53B;
|
197
|
-
}
|
198
|
-
|
199
|
-
.secondary-navigation ul li.active, .secondary-navigation ul li.active a {
|
200
|
-
background-color: #E8C53B;
|
201
|
-
}
|
202
|
-
|
203
|
-
.secondary-navigation ul li a {
|
204
|
-
padding:8px 12px;
|
205
|
-
}
|
206
|
-
|
207
|
-
#footer .block {
|
208
|
-
color: #FFF;
|
209
|
-
background: #E8C53B;
|
210
|
-
}
|
211
|
-
|
212
|
-
#footer .block p {
|
213
|
-
margin: 0;
|
214
|
-
padding: 10px;
|
215
|
-
}
|
216
|
-
|
217
|
-
/* pagination */
|
218
|
-
|
219
|
-
.pagination span.disabled {
|
220
|
-
color: #bbb;
|
221
|
-
border-color: #bbb;
|
222
|
-
}
|
223
|
-
|
224
|
-
.pagination span.current {
|
225
|
-
background: #008080;
|
226
|
-
color: #FFF;
|
227
|
-
border-color: #008080;
|
228
|
-
}
|
229
|
-
|
230
|
-
.pagination a, .pagination span {
|
231
|
-
color: #008080;
|
232
|
-
border-color: #008080;
|
233
|
-
}
|
234
|
-
|
235
|
-
.pagination a:hover {
|
236
|
-
color: #FFF;
|
237
|
-
background: #008080;
|
238
|
-
}
|
239
|
-
|
240
|
-
/* tables */
|
241
|
-
|
242
|
-
.table th {
|
243
|
-
background: #008080;
|
244
|
-
color: #FFF;
|
245
|
-
}
|
246
|
-
|
247
|
-
.table td {
|
248
|
-
border-bottom:1px solid #F0F0EE;
|
249
|
-
}
|
250
|
-
|
251
|
-
.table tr.even {
|
252
|
-
background: #EFF3E4;
|
253
|
-
}
|
254
|
-
/* forms */
|
255
|
-
|
256
|
-
.form input.text_field, .form input.password_field, .form textarea.text_area {
|
257
|
-
width: 100%;
|
258
|
-
border:1px solid #CFCFCF;
|
259
|
-
}
|
260
|
-
|
261
|
-
.form input.button {
|
262
|
-
padding: 5px 10px 5px 10px;
|
263
|
-
background-color:#008080;
|
264
|
-
text-decoration:none;
|
265
|
-
cursor: pointer;
|
266
|
-
color: #FFF;
|
267
|
-
font-size: 14px;
|
268
|
-
border:0px;
|
269
|
-
margin:0px;
|
270
|
-
}
|
271
|
-
|
272
|
-
.form .button:hover {
|
273
|
-
background: #E8C53B;
|
274
|
-
}
|
275
|
-
|
276
|
-
.form .description {
|
277
|
-
font-style: italic;
|
278
|
-
color: #8C8C8C;
|
279
|
-
font-size: .9em;
|
280
|
-
}
|
281
|
-
|
282
|
-
/* flash-messages */
|
283
|
-
.flash .message {
|
284
|
-
-moz-border-radius: 3px;
|
285
|
-
-webkit-border-radius: 3px;
|
286
|
-
text-align:center;
|
287
|
-
margin: 0 auto 15px;
|
288
|
-
|
289
|
-
}
|
290
|
-
|
291
|
-
.flash .message p {
|
292
|
-
margin:8px;
|
293
|
-
}
|
294
|
-
.flash .error {
|
295
|
-
border: 1px solid #fbb;
|
296
|
-
background-color: #fdd;
|
297
|
-
}
|
298
|
-
.flash .warning {
|
299
|
-
border: 1px solid #fffaaa;
|
300
|
-
background-color: #ffffcc;
|
301
|
-
}
|
302
|
-
.flash .notice {
|
303
|
-
border: 1px solid #1FDF00;
|
304
|
-
background-color: #BBFFB6;
|
305
|
-
}
|
306
|
-
|
307
|
-
/* lists */
|
308
|
-
|
309
|
-
ul.list li {
|
310
|
-
border-bottom-color: #F0F0EE;
|
311
|
-
border-bottom-width: 1px;
|
312
|
-
border-bottom-style: solid;
|
313
|
-
}
|
314
|
-
|
315
|
-
ul.list li .item .avatar {
|
316
|
-
border-color: #F0F0EE;
|
317
|
-
border-width: 1px;
|
318
|
-
border-style: solid;
|
319
|
-
padding: 2px;
|
320
|
-
}
|
321
|
-
|
322
|
-
/* box */
|
323
|
-
|
324
|
-
#box .block {
|
325
|
-
background: #FFF;
|
326
|
-
}
|
327
|
-
|
328
|
-
#box .block h2 {
|
329
|
-
background: #008080;
|
330
|
-
color: #FFF;
|
331
|
-
}
|
332
|
-
|
333
|
-
|
334
|
-
/* rounded borders */
|
335
|
-
|
336
|
-
#main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
|
337
|
-
#footer .block, .form input.button, #box .block, #box .block h2 {
|
338
|
-
-moz-border-radius-topleft: 4px;
|
339
|
-
-webkit-border-top-left-radius: 4px;
|
340
|
-
-moz-border-radius-topright: 4px;
|
341
|
-
-webkit-border-top-right-radius: 4px;
|
342
|
-
}
|
343
|
-
|
344
|
-
.secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
|
345
|
-
-moz-border-radius-topleft: 4px;
|
346
|
-
-webkit-border-top-left-radius: 4px;
|
347
|
-
}
|
348
|
-
|
349
|
-
.table th.last {
|
350
|
-
-moz-border-radius-topright: 4px;
|
351
|
-
-webkit-border-top-right-radius: 4px;
|
352
|
-
}
|
353
|
-
|
354
|
-
.secondary-navigation ul li.first {
|
355
|
-
-moz-border-radius-topleft: 4px;
|
356
|
-
-webkit-border-top-left-radius: 4px;
|
357
|
-
}
|
358
|
-
|
359
|
-
#sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
|
360
|
-
-moz-border-radius-bottomleft: 4px;
|
361
|
-
-webkit-border-bottom-left-radius: 4px;
|
362
|
-
-moz-border-radius-bottomright: 4px;
|
363
|
-
-webkit-border-bottom-right-radius: 4px;
|
364
|
-
}
|