web_admin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.ruby-version +1 -0
- data/Gemfile +32 -0
- data/Gemfile.lock +335 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +22 -0
- data/app/assets/images/web_admin/.keep +0 -0
- data/app/assets/images/web_admin/avatar.jpg +0 -0
- data/app/assets/images/web_admin/first_icon.png +0 -0
- data/app/assets/images/web_admin/render-1-thumb.jpg +0 -0
- data/app/assets/images/web_admin/render-1.jpg +0 -0
- data/app/assets/images/web_admin/render-2-thumb.jpg +0 -0
- data/app/assets/images/web_admin/render-2.jpg +0 -0
- data/app/assets/images/web_admin/render-3-thumb.jpg +0 -0
- data/app/assets/images/web_admin/render-3.jpg +0 -0
- data/app/assets/images/web_admin/render-4-thumb.jpg +0 -0
- data/app/assets/images/web_admin/render-4.jpg +0 -0
- data/app/assets/images/web_admin/responsive.png +0 -0
- data/app/assets/javascripts/web_admin/app.data.js +336 -0
- data/app/assets/javascripts/web_admin/app.js +172 -0
- data/app/assets/javascripts/web_admin/app.plugin.js +220 -0
- data/app/assets/javascripts/web_admin/application.js +20 -0
- data/app/assets/javascripts/web_admin/bootstrap-filestyle.min.js +1 -0
- data/app/assets/javascripts/web_admin/bootstrap.js +1951 -0
- data/app/assets/javascripts/web_admin/charts/easypiechart/jquery.easy-pie-chart.js +184 -0
- data/app/assets/javascripts/web_admin/charts/sparkline/jquery.sparkline.min.js +5 -0
- data/app/assets/javascripts/web_admin/combodate/combodate.js +453 -0
- data/app/assets/javascripts/web_admin/combodate/moment.min.js +6 -0
- data/app/assets/javascripts/web_admin/data/datagrid.json +1900 -0
- data/app/assets/javascripts/web_admin/data/datatable.json +401 -0
- data/app/assets/javascripts/web_admin/datatables/jquery.dataTables.min.js +155 -0
- data/app/assets/javascripts/web_admin/datepicker/bootstrap-datepicker.js +474 -0
- data/app/assets/javascripts/web_admin/datepicker.js +3 -0
- data/app/assets/javascripts/web_admin/fuelux/fuelux.js +1645 -0
- data/app/assets/javascripts/web_admin/fullcalendar/fullcalendar.min.js +7 -0
- data/app/assets/javascripts/web_admin/grid/gallery.js +14 -0
- data/app/assets/javascripts/web_admin/grid/jquery.grid-a-licious.min.js +15 -0
- data/app/assets/javascripts/web_admin/grid/masonry.pkgd.min.js +9 -0
- data/app/assets/javascripts/web_admin/ie/excanvas.js +924 -0
- data/app/assets/javascripts/web_admin/ie/html5.js +9 -0
- data/app/assets/javascripts/web_admin/ie/respond.min.js +6 -0
- data/app/assets/javascripts/web_admin/jquery-ui-1.10.3.custom.min.js +6 -0
- data/app/assets/javascripts/web_admin/jquery.datetimepicker.js +1851 -0
- data/app/assets/javascripts/web_admin/jquery.ui.touch-punch.min.js +11 -0
- data/app/assets/javascripts/web_admin/parsley/parsley.min.js +35 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/default_thumb.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/loader.gif +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/sprite.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/sprite_next.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/sprite_prev.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/sprite_x.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/default/sprite_y.png +0 -0
- data/app/assets/javascripts/web_admin/prettyphoto/jquery.prettyPhoto.js +7 -0
- data/app/assets/javascripts/web_admin/prettyphoto/prettyPhoto.css +170 -0
- data/app/assets/javascripts/web_admin/select2/select2.css +652 -0
- data/app/assets/javascripts/web_admin/select2/select2.min.js +22 -0
- data/app/assets/javascripts/web_admin/slider/bootstrap-slider.js +388 -0
- data/app/assets/javascripts/web_admin/underscore-min.js +7 -0
- data/app/assets/javascripts/web_admin/underscore-min.map +1 -0
- data/app/assets/javascripts/web_admin/upload_image.js +39 -0
- data/app/assets/stylesheets/web_admin/application.css +15 -0
- data/app/assets/stylesheets/web_admin/bootstrap.css +5784 -0
- data/app/assets/stylesheets/web_admin/font-awesome.min.css +4 -0
- data/app/assets/stylesheets/web_admin/font.css +18 -0
- data/app/assets/stylesheets/web_admin/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/web_admin/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/web_admin/fonts/fontawesome-webfont.svg +414 -0
- data/app/assets/stylesheets/web_admin/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/web_admin/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/web_admin/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/web_admin/fonts/glyphicons-halflings-regular.svg +229 -0
- data/app/assets/stylesheets/web_admin/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/web_admin/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/web_admin/fonts/opensans/opensans-bold-webfont.woff +0 -0
- data/app/assets/stylesheets/web_admin/fonts/opensans/opensans-light-webfont.woff +0 -0
- data/app/assets/stylesheets/web_admin/fonts/opensans/opensans-webfont.woff +0 -0
- data/app/assets/stylesheets/web_admin/landing.css +272 -0
- data/app/assets/stylesheets/web_admin/plugin.css +1132 -0
- data/app/assets/stylesheets/web_admin/style.css +613 -0
- data/app/assets/stylesheets/web_admin/style2.css +21 -0
- data/app/controllers/web_admin/albums_controller.rb +8 -0
- data/app/controllers/web_admin/application_controller.rb +10 -0
- data/app/controllers/web_admin/crud_controller.rb +61 -0
- data/app/controllers/web_admin/events_controller.rb +9 -0
- data/app/controllers/web_admin/images_controller.rb +8 -0
- data/app/controllers/web_admin/institutionals_controller.rb +8 -0
- data/app/controllers/web_admin/main_controller.rb +7 -0
- data/app/controllers/web_admin/posts_controller.rb +19 -0
- data/app/controllers/web_admin/users_controller.rb +15 -0
- data/app/controllers/web_admin/videos_controller.rb +8 -0
- data/app/enumerations/web_admin/permission_type.rb +5 -0
- data/app/enumerations/web_admin/user_type.rb +6 -0
- data/app/helpers/web_admin/application_helper.rb +20 -0
- data/app/models/ability.rb +14 -0
- data/app/models/ckeditor/asset.rb +7 -0
- data/app/models/ckeditor/attachment_file.rb +7 -0
- data/app/models/ckeditor/picture.rb +7 -0
- data/app/models/web_admin/album.rb +13 -0
- data/app/models/web_admin/event.rb +20 -0
- data/app/models/web_admin/image.rb +10 -0
- data/app/models/web_admin/institutional.rb +11 -0
- data/app/models/web_admin/permission.rb +9 -0
- data/app/models/web_admin/post.rb +14 -0
- data/app/models/web_admin/user.rb +25 -0
- data/app/models/web_admin/video.rb +17 -0
- data/app/uploaders/ckeditor_attachment_file_uploader.rb +36 -0
- data/app/uploaders/ckeditor_picture_uploader.rb +47 -0
- data/app/uploaders/web_admin/image_post_uploader.rb +55 -0
- data/app/uploaders/web_admin/image_uploader.rb +52 -0
- data/app/views/devise/confirmations/new.html.erb +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +16 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +29 -0
- data/app/views/devise/registrations/new.html.erb +18 -0
- data/app/views/devise/sessions/new.html.erb +16 -0
- data/app/views/devise/shared/_links.html.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +12 -0
- data/app/views/layouts/web_admin/devise.html.erb +42 -0
- data/app/views/shared/403.html +57 -0
- data/app/views/shared/_header.html.erb +16 -0
- data/app/views/shared/_navbar.html.erb +23 -0
- data/app/views/shared/_notice.html.erb +12 -0
- data/app/views/web_admin/albums/_form.html.erb +23 -0
- data/app/views/web_admin/albums/edit.html.erb +4 -0
- data/app/views/web_admin/albums/index.html.erb +39 -0
- data/app/views/web_admin/albums/new.html.erb +4 -0
- data/app/views/web_admin/albums/show.html.erb +4 -0
- data/app/views/web_admin/events/_form.html.erb +37 -0
- data/app/views/web_admin/events/edit.html.erb +4 -0
- data/app/views/web_admin/events/index.html.erb +39 -0
- data/app/views/web_admin/events/new.html.erb +4 -0
- data/app/views/web_admin/images/_form.html.erb +23 -0
- data/app/views/web_admin/images/_images.html.erb +10 -0
- data/app/views/web_admin/images/create.js.erb +2 -0
- data/app/views/web_admin/images/update.js.erb +2 -0
- data/app/views/web_admin/institutionals/_form.html.erb +22 -0
- data/app/views/web_admin/institutionals/edit.html.erb +4 -0
- data/app/views/web_admin/institutionals/index.html.erb +35 -0
- data/app/views/web_admin/institutionals/new.html.erb +4 -0
- data/app/views/web_admin/layouts/application.html.erb +77 -0
- data/app/views/web_admin/main/index.html.erb +1 -0
- data/app/views/web_admin/posts/_form.html.erb +27 -0
- data/app/views/web_admin/posts/edit.html.erb +4 -0
- data/app/views/web_admin/posts/index.html.erb +37 -0
- data/app/views/web_admin/posts/new.html.erb +4 -0
- data/app/views/web_admin/users/_form.html.erb +49 -0
- data/app/views/web_admin/users/edit.html.erb +4 -0
- data/app/views/web_admin/users/index.html.erb +35 -0
- data/app/views/web_admin/users/new.html.erb +4 -0
- data/app/views/web_admin/videos/_form.html.erb +22 -0
- data/app/views/web_admin/videos/edit.html.erb +4 -0
- data/app/views/web_admin/videos/index.html.erb +37 -0
- data/app/views/web_admin/videos/new.html.erb +4 -0
- data/bin/rails +12 -0
- data/config/initializers/ckeditor.rb +39 -0
- data/config/initializers/devise.rb +261 -0
- data/config/initializers/enumerate_it.rb +1 -0
- data/config/initializers/simple_form.rb +145 -0
- data/config/initializers/simple_form_bootstrap.rb +46 -0
- data/config/locales/buttons.yml +3 -0
- data/config/locales/controllers.yml +9 -0
- data/config/locales/devise.en.yml +62 -0
- data/config/locales/devise.pt.yml +62 -0
- data/config/locales/models.yml +54 -0
- data/config/locales/rails.yml +219 -0
- data/config/locales/responders.yml +10 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +13 -0
- data/db/migrate/20141023223026_devise_create_admin_web_users.rb +42 -0
- data/db/migrate/20141023223656_create_admin_web_posts.rb +15 -0
- data/db/migrate/20141026181117_create_ckeditor_assets.rb +26 -0
- data/db/migrate/20141028020102_create_admin_web_institutionals.rb +10 -0
- data/db/migrate/20141028135201_create_admin_web_videos.rb +10 -0
- data/db/migrate/20141114020551_create_admin_web_albums.rb +12 -0
- data/db/migrate/20141117183405_create_admin_web_images.rb +11 -0
- data/db/migrate/20141130203155_add_user_type_to_users.rb +5 -0
- data/db/migrate/20141224221959_create_admin_web_events.rb +18 -0
- data/db/migrate/20150130140502_create_admin_web_permissions.rb +13 -0
- data/db/migrate/20150510191213_rename_tables.rb +12 -0
- data/lib/application_responder.rb +12 -0
- data/lib/tasks/web_admin_tasks.rake +4 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/lib/web_admin/engine.rb +15 -0
- data/lib/web_admin/version.rb +3 -0
- data/lib/web_admin.rb +18 -0
- data/spec/factories/admin_web_users.rb +24 -0
- data/spec/features/admin_web/albums_spec.rb +74 -0
- data/spec/features/admin_web/event_spec.rb +85 -0
- data/spec/features/admin_web/institutionals_spec.rb +47 -0
- data/spec/features/admin_web/login_spec.rb +18 -0
- data/spec/features/admin_web/permissions_spec.rb +40 -0
- data/spec/features/admin_web/posts_spec.rb +55 -0
- data/spec/features/admin_web/users_spec.rb +73 -0
- data/spec/features/admin_web/videos_spec.rb +51 -0
- data/spec/fixtures/p3-single.jpg +0 -0
- data/spec/models/admin_web/album_spec.rb +20 -0
- data/spec/models/admin_web/event_spec.rb +42 -0
- data/spec/models/admin_web/image_spec.rb +14 -0
- data/spec/models/admin_web/institutional_spec.rb +19 -0
- data/spec/models/admin_web/permission_spec.rb +14 -0
- data/spec/models/admin_web/post_spec.rb +25 -0
- data/spec/models/admin_web/user_spec.rb +18 -0
- data/spec/models/admin_web/video_spec.rb +26 -0
- data/spec/rails_helper.rb +52 -0
- data/spec/spec_helper.rb +85 -0
- data/spec/support/capybara.rb +53 -0
- data/spec/support/database_cleaner.rb +25 -0
- data/spec/support/devise.rb +5 -0
- data/spec/support/factory_girl.rb +4 -0
- data/spec/support/helpers.rb +82 -0
- data/spec/support/shared_connection.rb +10 -0
- data/spec/test_app/README.rdoc +28 -0
- data/spec/test_app/Rakefile +6 -0
- data/spec/test_app/app/assets/images/.keep +0 -0
- data/spec/test_app/app/assets/javascripts/application.js +13 -0
- data/spec/test_app/app/assets/stylesheets/application.css +15 -0
- data/spec/test_app/app/controllers/application_controller.rb +5 -0
- data/spec/test_app/app/controllers/concerns/.keep +0 -0
- data/spec/test_app/app/helpers/application_helper.rb +2 -0
- data/spec/test_app/app/mailers/.keep +0 -0
- data/spec/test_app/app/models/.keep +0 -0
- data/spec/test_app/app/models/concerns/.keep +0 -0
- data/spec/test_app/app/views/layouts/application.html.erb +14 -0
- data/spec/test_app/bin/bundle +3 -0
- data/spec/test_app/bin/rails +4 -0
- data/spec/test_app/bin/rake +4 -0
- data/spec/test_app/config/application.rb +29 -0
- data/spec/test_app/config/boot.rb +5 -0
- data/spec/test_app/config/database.yml +85 -0
- data/spec/test_app/config/environment.rb +5 -0
- data/spec/test_app/config/environments/development.rb +37 -0
- data/spec/test_app/config/environments/production.rb +78 -0
- data/spec/test_app/config/environments/test.rb +39 -0
- data/spec/test_app/config/initializers/assets.rb +8 -0
- data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/test_app/config/initializers/cookies_serializer.rb +3 -0
- data/spec/test_app/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/test_app/config/initializers/inflections.rb +16 -0
- data/spec/test_app/config/initializers/mime_types.rb +4 -0
- data/spec/test_app/config/initializers/session_store.rb +3 -0
- data/spec/test_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/test_app/config/locales/en.yml +23 -0
- data/spec/test_app/config/routes.rb +4 -0
- data/spec/test_app/config/secrets.yml +22 -0
- data/spec/test_app/config.ru +4 -0
- data/spec/test_app/db/schema.rb +121 -0
- data/spec/test_app/lib/assets/.keep +0 -0
- data/spec/test_app/log/.keep +0 -0
- data/spec/test_app/public/404.html +67 -0
- data/spec/test_app/public/422.html +67 -0
- data/spec/test_app/public/500.html +66 -0
- data/spec/test_app/public/favicon.ico +0 -0
- data/spec/test_app/spec/factories/admin_web_albums.rb +7 -0
- data/spec/test_app/spec/factories/admin_web_users.rb +24 -0
- data/spec/test_app/spec/factories/permissions.rb +36 -0
- data/web_admin.gemspec +38 -0
- data/wercker.yml +16 -0
- metadata +530 -0
@@ -0,0 +1,613 @@
|
|
1
|
+
html{background-color: #f5f6f7;position: relative;min-height: 100%;overflow-x:hidden;}
|
2
|
+
body{background-color: transparent;color:#656565;font-size:13px;overflow-x: hidden;}
|
3
|
+
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
4
|
+
font-family:'Open Sans',"HelveticaNeue", "Helvetica Neue", Helvetica, Arial,sans-serif;
|
5
|
+
}
|
6
|
+
a{color:#3a5a7a}
|
7
|
+
a:hover, a:focus{text-decoration:none;}
|
8
|
+
|
9
|
+
.form-control:focus {
|
10
|
+
border-color: #13c4a5;
|
11
|
+
-webkit-box-shadow: none;
|
12
|
+
box-shadow: none;
|
13
|
+
}
|
14
|
+
img{max-width: 100%}
|
15
|
+
/*primary nav*/
|
16
|
+
.nav-primary:before, .nav-primary:after {display: table;content: " ";}
|
17
|
+
.nav-primary:after {clear: both;}
|
18
|
+
.nav-primary{background-color: #233445}
|
19
|
+
.nav-primary li{line-height: 1.5}
|
20
|
+
.nav-primary li li a{padding:5px 15px;}
|
21
|
+
.nav-primary li a i{margin-right: 0.5em}
|
22
|
+
.nav-primary > ul > li > a{color: #8e9eae;border-bottom: 1px solid #2a3b4c;padding:10px 10px;position: relative;font-weight: 600}
|
23
|
+
.nav-primary > ul > li > .dropdown-menu{margin-left: 0;border-radius: 0}
|
24
|
+
.nav-primary > ul > .dropdown-submenu:hover > a,
|
25
|
+
.nav-primary > ul > .dropdown-submenu:focus > a,
|
26
|
+
.nav-primary > ul > li > a:hover,
|
27
|
+
.nav-primary > ul > li > a:focus,
|
28
|
+
.nav-primary > ul > li > a:active,
|
29
|
+
.nav-primary > ul > li.active > a{color: #e1e5e9;background-color: transparent;transition:color .3s ease-in-out 0s;}
|
30
|
+
.nav-primary > ul > li.active > a{border-left: 1px solid #13c4a5;padding-left: 9px;}
|
31
|
+
.nav-primary > ul > .dropdown-submenu > a:after{display: none}
|
32
|
+
|
33
|
+
.nav-primary.bg-light > ul > li > a{border-bottom-color:#d0d4d8;color:#6e7e8e;}
|
34
|
+
.nav-primary.bg-light > ul > .dropdown-submenu:hover > a,
|
35
|
+
.nav-primary.bg-light > ul > .dropdown-submenu:focus > a,
|
36
|
+
.nav-primary.bg-light > ul > li > a:hover,
|
37
|
+
.nav-primary.bg-light > ul > li > a:focus,
|
38
|
+
.nav-primary.bg-light > ul > li > a:active,
|
39
|
+
.nav-primary.bg-light > ul > li.active > a{color: #3d4d5d}
|
40
|
+
/*overrid the bootstrap colors*/
|
41
|
+
.panel{border-color: #e3e8ed}
|
42
|
+
.panel-heading, .panel-footer{border-color: #e3e8ed;background: #f7f8f9;}
|
43
|
+
.panel-heading:before, .panel-heading:after {display: table;content: " ";}
|
44
|
+
.panel-heading:after {clear: both;}
|
45
|
+
.panel-heading .nav{font-size: 12px;margin: -10px -15px;}
|
46
|
+
.panel-heading .nav > li > a{border-radius: 0;margin:0;border-width: 0 1px;line-height: 19px;}
|
47
|
+
.panel-heading .nav > li > a:hover{border-width: 0 1px;}
|
48
|
+
.panel-heading .nav-tabs{margin: -10px -16px -11px -16px;}
|
49
|
+
.panel-heading .nav-tabs > li > a{line-height: 20px}
|
50
|
+
.panel-heading .nav-tabs.nav-justified{width: auto;}
|
51
|
+
.panel-heading .nav-tabs.pull-left > li:first-child > a, .panel-heading .nav-tabs.nav-justified > li:first-child > a{border-radius: 4px 0 0}
|
52
|
+
.panel-heading .nav-tabs.pull-right > li:last-child > a, .panel-heading .nav-tabs.nav-justified > li:last-child > a{border-radius: 0 4px 0 0}
|
53
|
+
.panel-heading .nav-tabs > li > a:hover, .panel-heading .nav-tabs > li > a:focus{border-width: 0 1px;background: transparent;border-color: transparent;}
|
54
|
+
.panel-heading .nav-tabs > li.active > a, .panel-heading .nav-tabs > li.active > a:hover, .panel-heading .nav-tabs > li.active > a:focus{background:#fff;border-width: 0 1px;border-color:#ddd;}
|
55
|
+
.panel-heading .label-large{vertical-align: 10%}
|
56
|
+
.panel-heading.bg{margin:-1px -1px 0 -1px;border: none;}
|
57
|
+
.panel-collapse{padding-bottom:3px;}
|
58
|
+
.panel-collapse .panel-heading{margin-bottom: 0}
|
59
|
+
.panel.bg{border: none}
|
60
|
+
.panel.bg .list-group-item{border-color:transparent;}
|
61
|
+
.panel.bg .list-group-item a{color: #fff}
|
62
|
+
.panel .list-group{background: transparent;}
|
63
|
+
.panel .list-group.m-t-n .list-group-item:first-child{border-top:0 }
|
64
|
+
.panel .table td, .panel .table th{padding:6px 15px;border-top: 1px solid #eaedef;}
|
65
|
+
.panel .table-striped > tbody > tr:nth-child(odd) > td, .panel .table-striped > tbody > tr:nth-child(odd) > th {background-color: #fcfdfe;}
|
66
|
+
.panel .table-striped > thead > tr > th{background: #fafbfc;border-right: 1px solid #e0e4e8;border-bottom:1px solid #e0e4e8;}
|
67
|
+
.panel .table-striped > thead > tr > th:last-child{border-right: none}
|
68
|
+
.panel-large{min-width: 300px;}
|
69
|
+
.nav-tabs.no-radius > li > a{border-radius: 0}
|
70
|
+
.tab-content .list-group-item:first-child{border-top: none}
|
71
|
+
.dropdown-menu{font-size: 13px}
|
72
|
+
|
73
|
+
.th-sortable{cursor: pointer;}
|
74
|
+
.th-sortable .th-sort{float: right;position: relative;}
|
75
|
+
.th-sort i{position:relative;z-index: 1}
|
76
|
+
.th-sort .fa-sort{position: absolute;left: 0;top: 3px;color: #bac3cc;z-index: 0}
|
77
|
+
.list-group{border-radius: 4px}
|
78
|
+
.list-group-item{border-color:#e4e9ed;}
|
79
|
+
.list-group-item .fa-chevron-right{float: right;margin-top: 4px;margin-right: -5px}
|
80
|
+
.list-group-item > .fa-chevron-right + .badge {margin-right: 5px;}
|
81
|
+
a.list-group-item:hover, a.list-group-item:focus, a.list-group-item:active {background-color: #f1f5f9;}
|
82
|
+
a.list-group-item.active{background-color: #e1e5e9;border-color:#e1e5e9;color: #3a5a7a}
|
83
|
+
a.list-group-item.active > .badge, .nav-pills > .active > a > .badge{color: #3a5a7a}
|
84
|
+
.list-group-item.active a, .list-group-item.active .text-muted{color: #fff}
|
85
|
+
.list-group-item.active{background-color: #5191d1;border-color:#5191d1;}
|
86
|
+
.list-group-item.media{margin-top: 0}
|
87
|
+
.progress-mini{height: 6px}
|
88
|
+
.progress-small{height: 10px}
|
89
|
+
.progress-small .progress-bar{font-size: 10px;line-height: 1em}
|
90
|
+
.navbar{background-color: #fff}
|
91
|
+
.navbar .nav .open > a, .navbar .nav .open > a:hover, .navbar .nav .open > a:focus{background: transparent;}
|
92
|
+
.list-normal{background: transparent;}
|
93
|
+
.list-normal > .list-group-item{border-radius: 0;border-width: 1px 0;background: transparent}
|
94
|
+
.list-normal > .list-group-item .badge{margin-right: -5px}
|
95
|
+
.input-group{position: relative;}
|
96
|
+
.tooltip-inner{background-color:#233445;background-color: rgba(35, 52, 69, 0.9);}
|
97
|
+
.tooltip.top .tooltip-arrow {border-top-color: #233445;border-top-color: rgba(35, 52, 69, 0.9);}
|
98
|
+
.tooltip.right .tooltip-arrow {border-right-color: #233445;border-right-color: rgba(35, 52, 69, 0.9);}
|
99
|
+
.tooltip.left .tooltip-arrow {border-left-color: #233445;border-left-color: rgba(35, 52, 69, 0.9);}
|
100
|
+
.tooltip.bottom .tooltip-arrow {border-bottom-color: #233445;border-bottom-color: rgba(35, 52, 69, 0.9);}
|
101
|
+
.popover-content{font-size: 12px;line-height: 1.5}
|
102
|
+
/*override bootstrap dropdown-menu*/
|
103
|
+
.open{z-index: 1050}
|
104
|
+
.dropdown-menu > .panel{
|
105
|
+
border: none;
|
106
|
+
margin: -5px 0;
|
107
|
+
}
|
108
|
+
.dropdown-menu > li > a:hover,
|
109
|
+
.dropdown-menu > li > a:focus,
|
110
|
+
.dropdown-submenu:hover > a,
|
111
|
+
.dropdown-submenu:focus > a,
|
112
|
+
.dropdown-menu > .active > a,
|
113
|
+
.dropdown-menu > .active > a:hover,
|
114
|
+
.dropdown-menu > .active > a:focus{
|
115
|
+
background-image: none;filter:none;background-color: #13c4a5;color: #fff;
|
116
|
+
}
|
117
|
+
.dropdown-menu > li > a:hover i{color: #fff}
|
118
|
+
.dropdown-submenu{position: relative;}
|
119
|
+
.dropdown-submenu:hover > .dropdown-menu {display: block;}
|
120
|
+
.dropdown-submenu > .dropdown-menu{left:100%;top:0;margin-top:0;margin-left: -1px}
|
121
|
+
.dropup .dropdown-submenu > .dropdown-menu{top: auto;bottom: 0;}
|
122
|
+
.dropdown-submenu.pull-left {float: none;}
|
123
|
+
.dropdown-menu.pull-left{left:100%;}
|
124
|
+
.dropdown-submenu.pull-left>.dropdown-menu{left: -100%;margin-left: 20px}
|
125
|
+
/*make a inverse one*/
|
126
|
+
.dropdown-menu.bg-inverse > .divider{height:1px;background-color: #2a3b4c;border: none}
|
127
|
+
.dropdown-menu.bg-inverse > li > a{color: #8e9eae}
|
128
|
+
.dropdown-menu.bg-inverse > li > a:hover,
|
129
|
+
.dropdown-menu.bg-inverse > li > a:focus,
|
130
|
+
.dropdown-menu.bg-inverse > li > a:active,
|
131
|
+
.dropdown-menu.bg-inverse > li.active > a,
|
132
|
+
.dropdown-menu.bg-inverse > .dropdown-submenu:hover > a{color: #fff}
|
133
|
+
.dropdown-menu .badge{margin-top: 1px}
|
134
|
+
.dropdown-select > li > a input{position: absolute;left: -9999em;}
|
135
|
+
/*breadcrumb*/
|
136
|
+
.breadcrumb{background-color: #fafbfc;border:1px solid #e0e4e8;padding-left: 10px;font-size: 12px}
|
137
|
+
|
138
|
+
|
139
|
+
/*accordion*/
|
140
|
+
.accordion-group,.accordion-inner{border-color: #e0e4e8}
|
141
|
+
.accordion-inner{background: #fff;border-radius: 0 0 4px 4px}
|
142
|
+
|
143
|
+
.alert{font-size: 75%;border-color: rgba(10,20,20,.1);text-shadow: 0 1px 0 #fff;box-shadow: inset 0 1px 0 rgba(255,255,255,0.4)}
|
144
|
+
.close i{font-size: 12px;font-weight: normal;display: block;line-height: 1.5;}
|
145
|
+
|
146
|
+
.modal-backdrop{background: #fff}
|
147
|
+
.modal-backdrop.fade.in{opacity: 0.8;filter: alpha(opacity=80);}
|
148
|
+
.modal-header{border-radius: 6px 6px 0 0;background-color: #f7f8f9}
|
149
|
+
.modal-header .close{margin-top: 3px}
|
150
|
+
.modal-footer{padding: 14px 20px 15px;margin-top: 0;border-radius: 0 0 6px 6px;background-color: #f7f8f9}
|
151
|
+
|
152
|
+
.bg{background-color: #f7f8f9}
|
153
|
+
.label{font-weight: 700;}
|
154
|
+
.badge{background: #b1b5b9}
|
155
|
+
.badge.bg-white{color: #919599}
|
156
|
+
.text-white{color: #fff}
|
157
|
+
.text-muted{color: #919599}
|
158
|
+
.text-light{color: #919599}
|
159
|
+
.text-default{color: #a5b6c7;}
|
160
|
+
.text-warning{color: #f4c414;}
|
161
|
+
.text-danger{color: #ff5f5f}
|
162
|
+
.text-success{color: #3fcf7f}
|
163
|
+
.text-primary{color: #13c4a5}
|
164
|
+
.font-thin{font-weight: 300;}
|
165
|
+
|
166
|
+
.btn{
|
167
|
+
color: #fff;
|
168
|
+
background: #a7b2be;
|
169
|
+
position: relative;
|
170
|
+
border-width: 0;
|
171
|
+
box-shadow:inset 0 -2px 0 rgba(0,0,0,0.15);
|
172
|
+
font-weight: 600;
|
173
|
+
padding: 7px 12px;
|
174
|
+
transition:background .3s ease-in-out 0s;
|
175
|
+
}
|
176
|
+
.btn:hover, .btn:focus, .btn:active, .btn.active {background: #bac3cc;}
|
177
|
+
|
178
|
+
.btn.disabled,
|
179
|
+
.btn.disabled:hover,
|
180
|
+
.btn[disabled]:hover,
|
181
|
+
fieldset[disabled] .btn:hover,
|
182
|
+
.btn.disabled:focus,
|
183
|
+
.btn[disabled]:focus,
|
184
|
+
fieldset[disabled] .btn:focus,
|
185
|
+
.btn.disabled:active,
|
186
|
+
.btn[disabled]:active,
|
187
|
+
fieldset[disabled] .btn:active,
|
188
|
+
.btn.disabled.active,
|
189
|
+
.btn[disabled].active,
|
190
|
+
fieldset[disabled] .btn.active {
|
191
|
+
background-color: #c4c9cf;
|
192
|
+
color: #fff;
|
193
|
+
}
|
194
|
+
|
195
|
+
.btn-white{padding:6px 12px;box-shadow:inset 0 -2px 0 rgba(0,0,0,0.05);border-width:1px;border-color:#c3c6c9;color:#657483;background-color:#fff}
|
196
|
+
.btn-white:hover, .btn-white:focus, .btn-white:active, .btn-white.active{border-color:#c3c6c9;color:#657483;background-color:#f7f8f9;}
|
197
|
+
|
198
|
+
.btn-default{padding:6px 12px;box-shadow:inset 0 -2px 0 rgba(0,0,0,0.05);border-width:1px;border-color:#c3c6c9;color:#657483;background-color:#f5f6f7}
|
199
|
+
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active{border-color:#c3c6c9;color:#657483;background-color:#fafbfc;}
|
200
|
+
|
201
|
+
.btn-primary, .bg-primary, .btn-primary.btn-circle > i{color:#fff;background-color:#13c4a5}
|
202
|
+
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.btn-circle:hover > i, .btn.btn-circle:hover > i{color:#fff; background-color:#23d4b5;}
|
203
|
+
|
204
|
+
.btn-success, .bg-success, .btn-success.btn-circle > i{color:#fff;background-color:#3fcf7f}
|
205
|
+
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.btn-circle:hover > i{color:#fff;background-color:#4fdf8f;}
|
206
|
+
|
207
|
+
.btn-info, .bg-info, .btn-info.btn-circle > i{color:#fff;background-color:#5191d1}
|
208
|
+
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.btn-circle:hover > i{color:#fff;background-color:#61a1e1;}
|
209
|
+
|
210
|
+
.btn-inverse, .bg-inverse, .btn-inverse.btn-circle > i{color:#fff;background-color:#233445}
|
211
|
+
.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse.btn-circle:hover > i{color:#fff;background-color:#314355;}
|
212
|
+
|
213
|
+
.btn-warning, .bg-warning, .btn-warning.btn-circle > i{color:#fff;background-color:#f4c414}
|
214
|
+
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning.btn-circle:hover > i{color:#fff;background-color:#f6d616;}
|
215
|
+
|
216
|
+
.btn-danger, .bg-danger, .btn-danger.btn-circle > i{color:#fff;background-color:#ff5f5f}
|
217
|
+
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.btn-circle:hover > i{color:#fff;background-color:#ff8585;}
|
218
|
+
|
219
|
+
.btn-twitter, .btn-twitter.btn-circle > i{color:#fff;background-color:#00c7f7}
|
220
|
+
.btn-twitter:hover, .btn-twitter:focus, .btn-twitter:active, .btn-twitter.active, .btn-twitter.btn-circle:hover > i{color:#fff; background-color:#2fcff6; }
|
221
|
+
|
222
|
+
.btn-facebook, .btn-facebook.btn-circle > i{color:#fff;background-color:#335397}
|
223
|
+
.btn-facebook:hover, .btn-facebook:focus, .btn-facebook:active, .btn-facebook.active, .btn-facebook.btn-circle:hover > i{color:#fff; background-color:#4264ab; }
|
224
|
+
|
225
|
+
.btn-gplus, .btn-gplus.btn-circle > i{color:#fff;background-color:#dd4a38}
|
226
|
+
.btn-gplus:hover, .btn-gplus:focus, .btn-gplus:active, .btn-gplus.active, .btn-gplus.btn-circle:hover > i{color:#fff; background-color:#ea5e4d; }
|
227
|
+
|
228
|
+
.btn-on.active{color:#fff;border: 1px solid #767676;background: #8e9eae}
|
229
|
+
|
230
|
+
.btn-xs {padding: 4px 5px;}
|
231
|
+
.btn-sm {padding: 6px 10px}
|
232
|
+
.btn-lg {padding: 11px 16px}
|
233
|
+
.btn-white.btn-xs, .btn-default.btn-xs{padding: 3px 6px;}
|
234
|
+
.btn-white.btn-sm, .btn-default.btn-sm{padding: 5px 10px;}
|
235
|
+
.btn-white.btn-lg, .btn-default.btn-lg{padding: 10px 16px;}
|
236
|
+
.btn-white .caret, .btn-default .caret{border-top-color: #656565}
|
237
|
+
.dropup .btn-white .caret, .dropup .btn-default .caret{border-bottom-color: #656565}
|
238
|
+
|
239
|
+
.btn > i{line-height: 1.428571429;}
|
240
|
+
.btn-xs i{font-size: 9px}
|
241
|
+
.btn.btn-circle, .btn.btn-circle.disabled{padding:2px 5px;box-shadow: none;border:none;background: transparent;color: #3a5a7a;font-weight: 300;transition:none;}
|
242
|
+
.btn.btn-circle:hover, .btn.btn-circle:active, .btn.btn-circle.active{box-shadow: none;background: transparent;}
|
243
|
+
.btn-circle > i{color: #a5b6c7;background:#e5e9ed;width: 60px;height: 60px;padding:18px 0;font-size:24px;border-radius: 50%;display: block;margin:0 auto;margin-bottom:6px;line-height:normal;transition:all .3s ease-in-out 0s;}
|
244
|
+
.btn-circle.btn-lg > i{width: 80px;height: 80px;padding:22px 0;font-size:36px;}
|
245
|
+
.btn-circle.btn-sm > i{width: 40px;height: 40px;padding:10px 0;font-size:20px;}
|
246
|
+
.btn-circle.btn-xs > i{width: 30px;height: 30px;padding:8px 0;font-size:14px;}
|
247
|
+
.btn-circle b.badge{position: absolute;right: 5px;top: 2px;}
|
248
|
+
.btn-circle .badge i{margin: 0 -2px}
|
249
|
+
.btn-white.btn-circle > i{color: #a5b6c7;background: #fff}
|
250
|
+
.btn.btn-circle.disabled > i{background:#c4c9cf;}
|
251
|
+
|
252
|
+
.btn-block{padding-left: 12px;padding-right: 12px}
|
253
|
+
.text-active, .active .text{display: none !important;}
|
254
|
+
.active .text-active{display: inline-block !important;}
|
255
|
+
.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active, .btn-link.active{border:none;background-color: transparent;background-image: none;-webkit-box-shadow: none;box-shadow: none;text-decoration: none;color: #3a5a7a}
|
256
|
+
form, .carousel, .form-horizontal .control-group, .nav-tabs, .alert, .panel, .progress, .breadcrumb, .accordion{margin-bottom: 15px}
|
257
|
+
.media, .media .media{margin-top: 10px;}
|
258
|
+
.pagination{margin:5px 0;}
|
259
|
+
.pagination-large > li > a, .pagination-large > li > span{padding: 10px 14px}
|
260
|
+
/*common css*/
|
261
|
+
.bg-white{background: #fff;}
|
262
|
+
.bg-black{background: #1d2d3d;}
|
263
|
+
.bg-light{background: #e1e5e9;color: #414549}
|
264
|
+
.bg-lighter{background:#f1f5f9}
|
265
|
+
.bg-default{background: #bac3cc}
|
266
|
+
.bg-white-desktop{background-color: #fff}
|
267
|
+
.bg-focus{background: #ffffee !important;}
|
268
|
+
|
269
|
+
.pos-rlt{position: relative;}
|
270
|
+
.pos-stc{position: static;}
|
271
|
+
.pos-abt{position: absolute;}
|
272
|
+
.content-box, .jqstooltip{-webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;}
|
273
|
+
.line {*width: 100%;height: 2px;margin: 10px 0;font-size:0;overflow: hidden;background-color: #fff;border-width:0;border-top: 1px solid #e0e4e8;}
|
274
|
+
.line-mini{margin: 0}
|
275
|
+
.line-dashed{border-style: dashed;background: transparent;}
|
276
|
+
.line-large{margin-top:15px;margin-bottom: 15px}
|
277
|
+
.headline{border-bottom: 5px solid #000;margin-top: 0;line-height: 45px;}
|
278
|
+
.no-line{border-width: 0}
|
279
|
+
.no-border{border-color:transparent !important;}
|
280
|
+
.no-radius{border-radius: 0}
|
281
|
+
.block{display:block;margin-bottom: 10px}
|
282
|
+
.block.hide{display: none}
|
283
|
+
.inline, .inline-desktop{display:inline-block}
|
284
|
+
.pull-right-desktop{float: right;}
|
285
|
+
.pull-none{float: none}
|
286
|
+
.clear{clear:both}
|
287
|
+
.line-v{border-left:1px solid #dddddd;padding-left:20px}
|
288
|
+
.line-v-right{border-right:1px solid #dddddd;padding-right:20px;}
|
289
|
+
.wrapper{padding: 2px;background-color:#fff;border: 1px solid #ddd}
|
290
|
+
.w-link{position: absolute;width: 100%;height: 100%;z-index: 1;top: 0}
|
291
|
+
.btn-s-mini{min-width: 90px}
|
292
|
+
.btn-s-small{min-width: 100px}
|
293
|
+
.btn-s-medium{min-width: 120px}
|
294
|
+
.btn-s-large{min-width: 150px}
|
295
|
+
.btn-s-xlarge{min-width: 200px}
|
296
|
+
.btn-s-xxlarge{min-width: 300px}
|
297
|
+
.btn-padder{padding-left:40px;padding-right:40px}
|
298
|
+
.l-h-2x{line-height: 2em;}
|
299
|
+
.text-small{font-size: 12px;}
|
300
|
+
.text-mini{font-size: 10px;}
|
301
|
+
.padder{padding:0 15px;}
|
302
|
+
.padder-v{padding-top: 15px;padding-bottom: 15px;}
|
303
|
+
.no-padder{padding: 0 !important;}
|
304
|
+
.pull-in{margin-left: -15px;margin-right: -15px;}
|
305
|
+
.pull-out{margin:-15px;}
|
306
|
+
.b-t{border-top: 1px solid #e0e4e8}
|
307
|
+
|
308
|
+
.m-l{margin-left: 15px}
|
309
|
+
.m-l-none{margin-left: 0}
|
310
|
+
.m-l-mini{margin-left: 5px;}
|
311
|
+
.m-l-small{margin-left: 10px;}
|
312
|
+
.m-l-large{margin-left: 20px;}
|
313
|
+
.m-l-n{margin-left: -15px}
|
314
|
+
.m-l-n-mini{margin-left: -5px}
|
315
|
+
.m-l-n-small{margin-left: -10px}
|
316
|
+
.m-l-n-large{margin-left: -20px}
|
317
|
+
|
318
|
+
.m-t{margin-top: 15px}
|
319
|
+
.m-t-none{margin-top:0}
|
320
|
+
.m-t-mini{margin-top: 5px;}
|
321
|
+
.m-t-small{margin-top: 10px;}
|
322
|
+
.m-t-large{margin-top: 20px;}
|
323
|
+
.m-t-n{margin-top: -15px}
|
324
|
+
.m-t-n-xmini{margin-top: -1px}
|
325
|
+
.m-t-n-mini{margin-top: -5px}
|
326
|
+
.m-t-n-small{margin-top: -10px}
|
327
|
+
.m-t-n-large{margin-top: -20px}
|
328
|
+
|
329
|
+
.m-r{margin-right: 15px}
|
330
|
+
.m-r-none{margin-right: 0}
|
331
|
+
.m-r-mini{margin-right: 5px}
|
332
|
+
.m-r-small{margin-right: 10px}
|
333
|
+
.m-r-large{margin-right: 20px}
|
334
|
+
.m-r-n{margin-right: -15px}
|
335
|
+
.m-r-n-mini{margin-right: -5px}
|
336
|
+
.m-r-n-small{margin-right: -10px}
|
337
|
+
.m-r-n-large{margin-right: -20px}
|
338
|
+
|
339
|
+
.m-b{margin-bottom: 15px;}
|
340
|
+
.m-b-none{margin-bottom: 0}
|
341
|
+
.m-b-mini{margin-bottom: 5px;}
|
342
|
+
.m-b-small{margin-bottom: 10px;}
|
343
|
+
.m-b-large{margin-bottom: 20px;}
|
344
|
+
.m-b-n{margin-bottom: -15px}
|
345
|
+
.m-b-n-mini{margin-bottom: -5px}
|
346
|
+
.m-b-n-small{margin-bottom: -10px}
|
347
|
+
.m-b-n-large{margin-bottom: -20px}
|
348
|
+
|
349
|
+
.header-bar{border-bottom: 1px solid #e0e4e8}
|
350
|
+
.media-mini{min-width: 50px}
|
351
|
+
.media-small{min-width: 80px}
|
352
|
+
.media-large{min-width: 90px}
|
353
|
+
.avatar{border-radius: 500px;background-color: #fff;padding: 2px}
|
354
|
+
.thumb-mini{width: 24px;display: inline-block}
|
355
|
+
.thumb-small{width: 36px;display: inline-block;text-align: center;}
|
356
|
+
.thumb{display: inline-block}
|
357
|
+
.thumb-large{width: 90px;display: inline-block}
|
358
|
+
.thumb img, .thumb-mini img, .thumb-small img, .thumb-large img{height: auto;max-width: 100%;vertical-align: middle;}
|
359
|
+
/**/
|
360
|
+
.scroll-x, .scroll-y{overflow:hidden;-webkit-overflow-scrolling:touch;}
|
361
|
+
.scroll-y{overflow-y:auto;}
|
362
|
+
.scroll-x{overflow-x:auto;}
|
363
|
+
.no-touch .scroll-x, .no-touch .scroll-y{overflow: hidden;}
|
364
|
+
.no-touch .scroll-x:hover, .no-touch .scroll-x:focus, .no-touch .scroll-x:active{overflow-x: auto;}
|
365
|
+
.no-touch .scroll-y:hover, .no-touch .scroll-y:focus, .no-touch .scroll-y:active{overflow-y: auto;}
|
366
|
+
.no-touch .scroll-y:hover > *{margin-right: -10px;padding-right: 15px}
|
367
|
+
|
368
|
+
.no-touch .hover-action{display: none}
|
369
|
+
.no-touch .hover:hover .hover-action{display: inherit;}
|
370
|
+
|
371
|
+
/*cols*/
|
372
|
+
.col-lg-2-4 {padding-left: 15px;padding-right: 15px}
|
373
|
+
.col-newline{clear:left;}
|
374
|
+
input[type="text"], select, textarea{min-width: 40px;height: auto;}
|
375
|
+
|
376
|
+
/* Site CSS */
|
377
|
+
/* Header */
|
378
|
+
.navbar{border:none;border-bottom: 1px solid #d1d4d7;box-shadow:0 0 5px rgba(0,0,0,.1);z-index: 1010;border-radius: 0;padding:0;margin-bottom: 0}
|
379
|
+
.navbar.bg{border-bottom: 1px solid #162636;}
|
380
|
+
.navbar-brand{font-size: 28px;min-width:90px;font-family: "Times New Roman", Georgia, serif;font-style: italic;font-weight: 700;padding: 12px 0 18px 0;text-align: center;}
|
381
|
+
.navbar-brand img{max-height: 50px}
|
382
|
+
.navbar-brand, .navbar-brand:hover, .navbar-brand:focus{color: #22baa0;}
|
383
|
+
.navbar-form{position: relative;margin: 10px;padding: 0}
|
384
|
+
.navbar-form input[type="text"]{border-radius: 17px;font-weight: 700;text-indent: 1.5em;}
|
385
|
+
.navbar-form i{position: absolute;z-index: 1;left:8px;top: 50%;margin-top: -7px;color: #bbb}
|
386
|
+
.navbar-nav{margin: 0}
|
387
|
+
.navbar .nav > li > div{padding-left: 10px;padding-right: 10px}
|
388
|
+
.navbar-avatar .thumb-small{margin:0 4px;vertical-align: baseline;width: 40px;}
|
389
|
+
.nav.navbar-avatar > li > a{padding: 5px 10px}
|
390
|
+
.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle{background:#e1e5e9;box-shadow:inset 0 1px 0 #13c4a5}
|
391
|
+
.bg .nav li.dropdown > a:hover .caret{border-top-color:#fff;border-bottom-color:#fff;}
|
392
|
+
.bg .nav > li > a{color: #a5b6c7}
|
393
|
+
.bg .nav > li > a:hover,.bg .nav > li > a:focus{
|
394
|
+
background-color: transparent;
|
395
|
+
color: #fff;
|
396
|
+
}
|
397
|
+
.bg .nav li.dropdown.open > .dropdown-toggle,
|
398
|
+
.bg .nav li.dropdown.active > .dropdown-toggle,
|
399
|
+
.bg .nav li.dropdown.open.active > .dropdown-toggle {
|
400
|
+
background-color: #000;color: #fff;
|
401
|
+
}
|
402
|
+
.navbar .badge-notes{float:right;margin-left:-15px;margin-top:-6px;position: relative;font-size: 11px}
|
403
|
+
.navbar-fixed .navbar{position: fixed;top:0;left: 0;right: 0;z-index: 1030;}
|
404
|
+
.navbar-fixed{padding-top: 51px}
|
405
|
+
.navbar-nav.pull-right{width: auto;}
|
406
|
+
/*content*/
|
407
|
+
#content{position: relative;}
|
408
|
+
.page-title{background: #eaedef;border-bottom: 1px solid #d3d6d9;padding: 10px 15px}
|
409
|
+
|
410
|
+
/* Footer*/
|
411
|
+
|
412
|
+
/*comments*/
|
413
|
+
.arrow:before, .arrow:after{position: absolute;display: inline-block;border-color: transparent;border-style: solid;content:"";}
|
414
|
+
.arrow-left:before{margin-left:-7px;top: 6px;left: 0px;border-right-color: #d1d4d7;border-width:7px 7px 7px 0;-moz-border-right-colors: #fff;}
|
415
|
+
.arrow-left:after{margin-left:-6px;top: 7px;left: 0px;border-right-color: #fff;border-width:6px 6px 6px 0;}
|
416
|
+
|
417
|
+
.arrow-right:before{margin-right:-7px;top: 6px;right: 0px;border-left-color: #d1d4d7;border-width:7px 0 7px 7px;;-moz-border-left-colors: #fff;}
|
418
|
+
.arrow-right:after{margin-right:-6px;top: 7px;right: 0px;border-left-color: #fff;border-width:6px 0 6px 6px;;}
|
419
|
+
|
420
|
+
.arrow-top:before{margin-top:-7px;top: 0;left: 6px;border-bottom-color: #d1d4d7;border-width:0 7px 7px 7px;;-moz-border-top-colors: #fff;}
|
421
|
+
.arrow-top:after{margin-top:-6px;top: 0;left: 7px;border-bottom-color: #fff;border-width:0 6px 6px 6px;;}
|
422
|
+
|
423
|
+
.chat-item{position: relative;}
|
424
|
+
.chat-item.arrow-left:before{top:11px;left:47px;}
|
425
|
+
.chat-item.arrow-left:after{top:12px;left:47px;border-right-color: #f1f5f9;}
|
426
|
+
.chat-item.arrow-right:before{top:11px;left:auto;right:47px;}
|
427
|
+
.chat-item.arrow-right:after{top:12px;left:auto;right:47px;}
|
428
|
+
|
429
|
+
.comment-list, .comment-item{position: relative;}
|
430
|
+
.comment-item .panel-body{padding: 10px 15px}
|
431
|
+
.comment-reply{margin-left: 40px}
|
432
|
+
.comment-item:before{top:10px;left:47px;}
|
433
|
+
.comment-item:after{top:11px;left:47px;border-right-color: #f5f5f5;}
|
434
|
+
.comment-list:before{position: absolute;top: 0;bottom: 35px;left: 16px;width: 1px;background: #e0e4e8;content: '';z-index: -1;}
|
435
|
+
.comment-item > .thumb-small{width: 36px;}
|
436
|
+
|
437
|
+
/*Carousel*/
|
438
|
+
.carousel-padder{padding-left: 40px;padding-right: 40px;}
|
439
|
+
.carousel-control{width: 40px;color: #999;text-shadow:none;}
|
440
|
+
.carousel-control i {position: absolute;top: 50%;left: 50%;z-index: 5;display: inline-block;width: 20px;height: 20px;margin-top: -10px;margin-left: -10px;}
|
441
|
+
.carousel-control:hover,
|
442
|
+
.carousel-control:focus {color: #ccc;text-decoration: none;opacity: 0.9;filter: alpha(opacity=90);}
|
443
|
+
.carousel-indicators.out{bottom: -15px}
|
444
|
+
.carousel-indicators li{background: #ddd;background-color: rgba(0,0,0,0.2);border: none;margin: 0}
|
445
|
+
.carousel-indicators .active{background: #13c4a5;width: 10px;height: 10px;}
|
446
|
+
.carousel-control.left, .carousel-control.right{background-image:none;filter:none;}
|
447
|
+
.carousel.carousel-fade .item {-webkit-transition: opacity 2s ease-in-out;-moz-transition: opacity 2s ease-in-out;-ms-transition: opacity 2s ease-in-out;-o-transition: opacity 2s ease-in-out;transition: opacity 2s ease-in-out;}
|
448
|
+
.carousel.carousel-fade .active.left,
|
449
|
+
.carousel.carousel-fade .active.right {left: 0;z-index: 2;opacity: 0;filter: alpha(opacity=0);}
|
450
|
+
.carousel.carousel-fade .next,
|
451
|
+
.carousel.carousel-fade .prev {left: 0;z-index: 1;}
|
452
|
+
.carousel.carousel-fade .carousel-control {z-index: 3;}
|
453
|
+
.carousel ul.item, .carousel ul.item > li{list-style: none;margin: 0;padding: 0}
|
454
|
+
|
455
|
+
.dropfile{border:2px dashed #e0e4e8;text-align: center;min-height: 20px}
|
456
|
+
.dropfile.hover{border-color: #aac3cc}
|
457
|
+
.dropfile small{margin: 50px 0;display: block}
|
458
|
+
|
459
|
+
/*Charts*/
|
460
|
+
.axis{margin:6px 0 0}
|
461
|
+
.axis li{vertical-align:top;font-size: 9px;margin-right:2px;padding: 0;width: 10px;-webkit-text-size-adjust: none;text-align: center;line-height: 1em;word-wrap:nowrap;}
|
462
|
+
.axis li:last-child{margin-right:0 !important;}
|
463
|
+
.axis-full{display: table;}
|
464
|
+
.axis-full li{display: table-cell;padding: 0;width: 1%;}
|
465
|
+
.easypiechart {position: relative;text-align: center;}
|
466
|
+
.easypiechart canvas {position: absolute;top: 0;left: 0;}
|
467
|
+
.easypiechart .easypie-text{position: absolute;z-index:1;line-height: 1;font-size: 75%;width: 100%;top: 60%}
|
468
|
+
|
469
|
+
.combodate select{display: inline-block;}
|
470
|
+
.doc-buttons .btn{margin-bottom: 5px}
|
471
|
+
.the-icons{list-style: none;margin: 0}
|
472
|
+
.the-icons i{font-size: 14px;width:40px;margin:0;display: inline-block;text-align: center;}
|
473
|
+
.the-icons a{line-height: 32px;display: block;white-space: nowrap;height: 30px;overflow: hidden;}
|
474
|
+
.the-icons a:hover i{font-size:28px;vertical-align:middle}
|
475
|
+
|
476
|
+
.h{font-size: 180px;font-weight: 700;text-shadow: 0 1px 0 #d9d9d9, 0 2px 0 #d0d0d0, 0 5px 10px rgba(0,0,0,.125), 0 10px 20px rgba(0,0,0,.2);}
|
477
|
+
.portlet{min-height: 30px;}
|
478
|
+
|
479
|
+
/*desktop*/
|
480
|
+
@media (min-width: 992px) {
|
481
|
+
.col-lg-2-4{width: 20%;float: left}
|
482
|
+
}
|
483
|
+
@media (max-width: 991px) {
|
484
|
+
.page-title{padding: 10px}
|
485
|
+
a:hover{text-decoration: none}
|
486
|
+
.inline-desktop{display: inherit;}
|
487
|
+
.pull-right-desktop{float: none}
|
488
|
+
.hidden-sm.show, .visible-lg.show{display: inherit !important;}
|
489
|
+
.bg-white-desktop{background-color: transparent;}
|
490
|
+
.navbar > .btn{padding:10px;}
|
491
|
+
}
|
492
|
+
|
493
|
+
@media (min-width: 768px){
|
494
|
+
.row{margin-left: -15px;margin-right: -15px}
|
495
|
+
#footer{margin-top: 20px}
|
496
|
+
::-webkit-scrollbar {width:8px;height:.25em;position:absolute}
|
497
|
+
::-webkit-scrollbar-thumb {background-color:rgba(0,0,0,0.25)}
|
498
|
+
::-webkit-scrollbar-track {background-color:rgba(0,0,0,0.0)}
|
499
|
+
textarea::-webkit-scrollbar {width:1em;}
|
500
|
+
.navbar-brand{margin-left: auto;margin-right: auto;border-right: 1px solid #e3e9ed;}
|
501
|
+
.bg .navbar-brand{border-right-color: transparent;}
|
502
|
+
.navbar-form input{transition:width .3s ease-in-out 0s;}
|
503
|
+
.navbar-form input:focus{width:200px}
|
504
|
+
.bg-black .navbar-form input{background-color: #102030;border-color:#314355;color:#8e9eae;}
|
505
|
+
.bg-black .navbar-form input:focus{background-color: #fff;color:#222;}
|
506
|
+
|
507
|
+
.nav-primary > ul > li > .dropdown-menu{margin-top: -1px;margin-left: 0}
|
508
|
+
.nav-vertical > ul > li > a > i{display: block;font-size: 2em;margin:6px auto}
|
509
|
+
.nav-vertical > ul > li > a{text-align: center;border-bottom: none;font-size: 11.5px}
|
510
|
+
.nav-vertical.nav-icon > ul > li > a span{display: none}
|
511
|
+
.nav-vertical.nav-icon > ul > li > a i{margin: 8px auto;}
|
512
|
+
.nav-primary.nav-vertical > ul > li > a > .badge{position: absolute;top: 4px;right: 15px;font-size: 11px;padding:3px 6px}
|
513
|
+
|
514
|
+
#nav{position: relative;width: 150px;position: absolute;z-index:1000;left:0;top:50px;bottom: 0;border-right:1px solid #162636}
|
515
|
+
#nav.bg-light{border-color:#bfc7d0}
|
516
|
+
#nav.nav-vertical {width: 90px}
|
517
|
+
#nav + #content{padding-left: 150px;}
|
518
|
+
#nav.nav-vertical + #content {padding-left: 90px;}
|
519
|
+
.nav-primary.nav-doc > ul > li > a{border-bottom: none;padding: 3px 20px;text-shadow:none;}
|
520
|
+
.nav-primary .affix{top: 0;min-width: 149px}
|
521
|
+
.nav-primary.nav-vertical .affix{top: 0;min-width: 89px}
|
522
|
+
.navbar-fixed .nav-primary .nav{top: 50px}
|
523
|
+
.content-sidebar{border-bottom:1px solid #d1d4d7;display: table;width:100%;border-spacing:0;table-layout:fixed;}
|
524
|
+
.content-sidebar .sidebar{border:0 solid #d1d4d7;border-right-width: 1px;}
|
525
|
+
.sidebar{width: 200px;display: table-cell;vertical-align: top}
|
526
|
+
.sidebar-small{width: 160px}
|
527
|
+
.sidebar-large{width: 300px}
|
528
|
+
.main + .sidebar{border-right-width: 0;border-left-width: 1px}
|
529
|
+
.modal{overflow-y: auto;}
|
530
|
+
.modal-content{
|
531
|
+
-webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
532
|
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
|
533
|
+
}
|
534
|
+
}
|
535
|
+
|
536
|
+
/*phone*/
|
537
|
+
@media (max-width: 767px) {
|
538
|
+
/* .slide-nav from left or right*/
|
539
|
+
body{overflow-x: hidden;}
|
540
|
+
body.slide-nav{overflow: hidden;}
|
541
|
+
#header, #content{
|
542
|
+
-webkit-transition: -webkit-transform 0.2s ease;
|
543
|
+
-webkit-transition-delay: 0s;
|
544
|
+
-moz-transition: -moz-transform 0.2s ease 0s;
|
545
|
+
transition: transform 0.2s ease 0s;
|
546
|
+
-webkit-transform: translate3d(0px, 0px, 0px);
|
547
|
+
-moz-transform: translate3d(0px, 0px, 0px);
|
548
|
+
transform: translate3d(0px, 0px, 0px);
|
549
|
+
-webkit-backface-visibility: hidden;
|
550
|
+
}
|
551
|
+
.slide-nav #nav{position: absolute;left: 0;top: 0;bottom:0;width: 75%;display: block !important;z-index: 2000}
|
552
|
+
.slide-nav .slide-nav-block{display:block !important;position: absolute;left: 0;right:0;top: 0;bottom: 0;z-index: 1950}
|
553
|
+
.slide-nav > #content{background-color: #f5f6f7;}
|
554
|
+
.slide-nav > #header, .slide-nav > #content{
|
555
|
+
-webkit-transform: translate3d(75%, 0px, 0px);
|
556
|
+
-moz-transform: translate3d(75%, 0px, 0px);
|
557
|
+
transform: translate3d(75%, 0px, 0px);
|
558
|
+
overflow: hidden;
|
559
|
+
}
|
560
|
+
.slide-nav.slide-nav-right #nav{left: auto;right: 0}
|
561
|
+
.slide-nav.slide-nav-right > #header, .slide-nav.slide-nav-right > #content{
|
562
|
+
-webkit-transform: translate3d(-75%, 0px, 0px);
|
563
|
+
-moz-transform: translate3d(-75%, 0px, 0px);
|
564
|
+
transform: translate3d(-75%, 0px, 0px);
|
565
|
+
}
|
566
|
+
.nav-primary .dropdown-menu{position: relative;left: 0;float: none;display: block;border: none;background: transparent;padding-bottom: 0;-webkit-box-shadow: none;box-shadow: none;z-index: 0}
|
567
|
+
.nav-primary > ul > li > a{font-weight: bold;}
|
568
|
+
.nav-primary .dropdown-menu a{color: #8e9eae;border-bottom: 1px solid #2a3b4c;}
|
569
|
+
.nav-primary.bg-light .dropdown-menu a{color: #3e4e5e;border-bottom-color:#d1d4d7;}
|
570
|
+
.nav-primary.bg-light .dropdown-menu a:hover{color: #fff}
|
571
|
+
.nav-primary .nav{position: static;}
|
572
|
+
/* /.slide-nav */
|
573
|
+
.main.padder{padding: 0 10px}
|
574
|
+
.row, .row .row{margin-left: -10px;margin-right: -10px;}
|
575
|
+
.row [class*="col-"]{padding-left: 10px;padding-right: 10px;}
|
576
|
+
.shift{display: none !important;}
|
577
|
+
.shift.in{display: block !important;}
|
578
|
+
.row-2-phone [class*="col-"]{width: 50%;float: left}
|
579
|
+
.row-2-phone .col-newline{clear: none}
|
580
|
+
.row-2-phone li:nth-child(odd) { clear: left;margin-left: 0}
|
581
|
+
.visible-xs-inline{display: inline-block !important;}
|
582
|
+
.hidden-xs-only{display: none !important;}
|
583
|
+
.text-center-sm{text-align: center;}
|
584
|
+
.navbar{padding:0}
|
585
|
+
.navbar-brand{
|
586
|
+
float: none;
|
587
|
+
display: block;
|
588
|
+
margin: 0;
|
589
|
+
padding-left:48px;
|
590
|
+
}
|
591
|
+
.navbar-avatar .thumb-small{margin: 0}
|
592
|
+
.navbar-nav .open .dropdown-menu{
|
593
|
+
position: absolute;
|
594
|
+
background-color: #ffffff;
|
595
|
+
border: 1px solid #cccccc;
|
596
|
+
border: 1px solid rgba(0, 0, 0, 0.15);
|
597
|
+
border-radius: 4px;
|
598
|
+
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
599
|
+
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
600
|
+
background-clip: padding-box;
|
601
|
+
}
|
602
|
+
.navbar > .btn{padding:11px;}
|
603
|
+
.navbar-avatar > li > a{padding: 5px}
|
604
|
+
.navbar-form{float: none;border: none}
|
605
|
+
.nav-toggle{position: absolute;left: 0;top: 0}
|
606
|
+
.padder-sm{padding-left: 15px; padding-right:15px;}
|
607
|
+
.h{font-size: 150px}
|
608
|
+
}
|
609
|
+
|
610
|
+
@media (max-width: 440px) {
|
611
|
+
.toolbar a{width:25%;float: left;margin-bottom: 10px}
|
612
|
+
.toolbar a:nth-child(4n+1){clear: left}
|
613
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.help-inline{
|
2
|
+
color: red;
|
3
|
+
}
|
4
|
+
|
5
|
+
.upload-drop-zone {
|
6
|
+
height: 200px;
|
7
|
+
border-width: 2px;
|
8
|
+
margin-bottom: 20px;
|
9
|
+
}
|
10
|
+
|
11
|
+
.upload-drop-zone {
|
12
|
+
color: #ccc;
|
13
|
+
border-style: dashed;
|
14
|
+
border-color: #ccc;
|
15
|
+
line-height: 200px;
|
16
|
+
text-align: center
|
17
|
+
}
|
18
|
+
.upload-drop-zone.drop {
|
19
|
+
color: #222;
|
20
|
+
border-color: #222;
|
21
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module WebAdmin
|
2
|
+
class ApplicationController < ActionController::Base
|
3
|
+
layout 'web_admin/layouts/application'
|
4
|
+
respond_to :html
|
5
|
+
|
6
|
+
rescue_from CanCan::AccessDenied do |exception|
|
7
|
+
render :file => "shared/403.html", :status => 403, :layout => false
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|