appyantra_admin 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +24 -0
- data/MIT-LICENSE +20 -0
- data/README.md +101 -0
- data/Rakefile +26 -0
- data/app/assets/images/appyantra_admin/.gitkeep +0 -0
- data/app/assets/images/appyantra_admin/breadcrumb_divider.png +0 -0
- data/app/assets/images/appyantra_admin/btn_submit.png +0 -0
- data/app/assets/images/appyantra_admin/btn_submit_2.png +0 -0
- data/app/assets/images/appyantra_admin/btn_view_site.png +0 -0
- data/app/assets/images/appyantra_admin/header_bg.png +0 -0
- data/app/assets/images/appyantra_admin/header_shadow.png +0 -0
- data/app/assets/images/appyantra_admin/icn_add_user.png +0 -0
- data/app/assets/images/appyantra_admin/icn_alert_error.png +0 -0
- data/app/assets/images/appyantra_admin/icn_alert_info.png +0 -0
- data/app/assets/images/appyantra_admin/icn_alert_success.png +0 -0
- data/app/assets/images/appyantra_admin/icn_alert_warning.png +0 -0
- data/app/assets/images/appyantra_admin/icn_audio.png +0 -0
- data/app/assets/images/appyantra_admin/icn_categories.png +0 -0
- data/app/assets/images/appyantra_admin/icn_edit.png +0 -0
- data/app/assets/images/appyantra_admin/icn_edit_article.png +0 -0
- data/app/assets/images/appyantra_admin/icn_folder.png +0 -0
- data/app/assets/images/appyantra_admin/icn_jump_back.png +0 -0
- data/app/assets/images/appyantra_admin/icn_logout.png +0 -0
- data/app/assets/images/appyantra_admin/icn_new_article.png +0 -0
- data/app/assets/images/appyantra_admin/icn_photo.png +0 -0
- data/app/assets/images/appyantra_admin/icn_profile.png +0 -0
- data/app/assets/images/appyantra_admin/icn_search.png +0 -0
- data/app/assets/images/appyantra_admin/icn_security.png +0 -0
- data/app/assets/images/appyantra_admin/icn_settings.png +0 -0
- data/app/assets/images/appyantra_admin/icn_tags.png +0 -0
- data/app/assets/images/appyantra_admin/icn_trash.png +0 -0
- data/app/assets/images/appyantra_admin/icn_user.png +0 -0
- data/app/assets/images/appyantra_admin/icn_video.png +0 -0
- data/app/assets/images/appyantra_admin/icn_view_users.png +0 -0
- data/app/assets/images/appyantra_admin/module_footer_bg.png +0 -0
- data/app/assets/images/appyantra_admin/post_message.png +0 -0
- data/app/assets/images/appyantra_admin/secondary_bar.png +0 -0
- data/app/assets/images/appyantra_admin/secondary_bar_shadow.png +0 -0
- data/app/assets/images/appyantra_admin/sidebar.png +0 -0
- data/app/assets/images/appyantra_admin/sidebar_divider.png +0 -0
- data/app/assets/images/appyantra_admin/sidebar_shadow.png +0 -0
- data/app/assets/images/appyantra_admin/table_sorter_header.png +0 -0
- data/app/assets/images/appyantra_admin/trash.png +0 -0
- data/app/assets/images/appyantra_admin/view.png +0 -0
- data/app/assets/images/website/600x300.gif +0 -0
- data/app/assets/images/website/alert-overlay.png +0 -0
- data/app/assets/images/website/bg.png +0 -0
- data/app/assets/images/website/link_bg.png +0 -0
- data/app/assets/images/website/link_border.png +0 -0
- data/app/assets/images/website/place_holder_img.png +0 -0
- data/app/assets/images/website/triangle.gif +0 -0
- data/app/assets/javascripts/appyantra_admin/admin_settings.js.coffee +3 -0
- data/app/assets/javascripts/appyantra_admin/admins/profiles.js.coffee +3 -0
- data/app/assets/javascripts/appyantra_admin/application.js +9 -0
- data/app/assets/javascripts/appyantra_admin/hideshow.js +39 -0
- data/app/assets/javascripts/appyantra_admin/home.js.coffee +3 -0
- data/app/assets/javascripts/appyantra_admin/jquery-1.5.2.min.js +16 -0
- data/app/assets/javascripts/appyantra_admin/jquery.equalHeight.js +20 -0
- data/app/assets/javascripts/appyantra_admin/jquery.tablesorter.min.js +4 -0
- data/app/assets/javascripts/appyantra_admin/managed_models.js.coffee +7 -0
- data/app/assets/javascripts/website/application.js +8 -0
- data/app/assets/javascripts/website/ie/DD_belatedPNG_0.0.8a-min.js +13 -0
- data/app/assets/javascripts/website/jquery.easing.1.3.js +205 -0
- data/app/assets/javascripts/website/jquery.roundabout-1.0.min.js +41 -0
- data/app/assets/javascripts/website/jquery.roundabout-shapes-1.1.js +150 -0
- data/app/assets/stylesheets/appyantra_admin/admin_settings.css.scss +3 -0
- data/app/assets/stylesheets/appyantra_admin/admins/profiles.css.scss +3 -0
- data/app/assets/stylesheets/appyantra_admin/application.css +7 -0
- data/app/assets/stylesheets/appyantra_admin/ie/ie.css +43 -0
- data/app/assets/stylesheets/appyantra_admin/main.css +1191 -0
- data/app/assets/stylesheets/appyantra_admin/managed_models.css.scss +3 -0
- data/app/assets/stylesheets/website/application.css +7 -0
- data/app/assets/stylesheets/website/reset.css +53 -0
- data/app/assets/stylesheets/website/styles.css +889 -0
- data/app/controllers/appyantra_admin/admin_settings_controller.rb +101 -0
- data/app/controllers/appyantra_admin/application_controller.rb +30 -0
- data/app/controllers/appyantra_admin/assets_controller.rb +91 -0
- data/app/controllers/appyantra_admin/home_controller.rb +24 -0
- data/app/controllers/appyantra_admin/pages_controller.rb +123 -0
- data/app/controllers/appyantra_admin/passwords_controller.rb +28 -0
- data/app/controllers/appyantra_admin/profiles_controller.rb +94 -0
- data/app/controllers/appyantra_admin/sessions_controller.rb +20 -0
- data/app/controllers/appyantra_admin/users/confirmations_controller.rb +15 -0
- data/app/controllers/appyantra_admin/users/passwords_controller.rb +16 -0
- data/app/controllers/appyantra_admin/users/registrations_controller.rb +16 -0
- data/app/controllers/appyantra_admin/users/sessions_controller.rb +15 -0
- data/app/controllers/appyantra_admin/users/user_paths.rb +33 -0
- data/app/controllers/appyantra_admin/users_controller.rb +92 -0
- data/app/helpers/appyantra_admin/admin_settings_helper.rb +9 -0
- data/app/helpers/appyantra_admin/application_helper.rb +73 -0
- data/app/helpers/appyantra_admin/pages_helper.rb +38 -0
- data/app/models/activity_feed.rb +5 -0
- data/app/models/activity_log_observer.rb +58 -0
- data/app/models/admin.rb +11 -0
- data/app/models/admin_setting.rb +74 -0
- data/app/models/encrypted_text.rb +20 -0
- data/app/models/link.rb +5 -0
- data/app/models/page.rb +24 -0
- data/app/models/page_keyword.rb +4 -0
- data/app/models/person.rb +14 -0
- data/app/models/short_text.rb +23 -0
- data/app/models/text.rb +11 -0
- data/app/models/user.rb +11 -0
- data/app/sweepers/appyantra_admin/pages_sweeper.rb +20 -0
- data/app/views/appyantra_admin/admin_settings/edit.html.haml +7 -0
- data/app/views/appyantra_admin/admin_settings/index.html.haml +56 -0
- data/app/views/appyantra_admin/admin_settings/mail_settings.html.haml +7 -0
- data/app/views/appyantra_admin/admin_settings/new.html.haml +7 -0
- data/app/views/appyantra_admin/assets/display.js.haml +3 -0
- data/app/views/appyantra_admin/assets/edit.html.haml +7 -0
- data/app/views/appyantra_admin/assets/new.html.haml +7 -0
- data/app/views/appyantra_admin/assets/show.html.haml +55 -0
- data/app/views/appyantra_admin/home/index.html.haml +74 -0
- data/app/views/appyantra_admin/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/appyantra_admin/mailer/unlock_instructions.html.haml +6 -0
- data/app/views/appyantra_admin/pages/_form.html.haml +40 -0
- data/app/views/appyantra_admin/pages/_page.html.haml +43 -0
- data/app/views/appyantra_admin/pages/edit.html.haml +19 -0
- data/app/views/appyantra_admin/pages/index.html.haml +46 -0
- data/app/views/appyantra_admin/pages/new.html.haml +7 -0
- data/app/views/appyantra_admin/pages/show.html.haml +1 -0
- data/app/views/appyantra_admin/passwords/edit.html.haml +15 -0
- data/app/views/appyantra_admin/passwords/new.html.haml +11 -0
- data/app/views/appyantra_admin/profiles/_admin_profile_form.html.haml +12 -0
- data/app/views/appyantra_admin/profiles/_admin_user.html.haml +11 -0
- data/app/views/appyantra_admin/profiles/edit.html.haml +18 -0
- data/app/views/appyantra_admin/profiles/index.html.haml +51 -0
- data/app/views/appyantra_admin/profiles/new.html.haml +6 -0
- data/app/views/appyantra_admin/profiles/show.html.haml +10 -0
- data/app/views/appyantra_admin/profiles/show.js.haml +3 -0
- data/app/views/appyantra_admin/sessions/new.html.haml +17 -0
- data/app/views/appyantra_admin/shared/_asset_item.html.haml +15 -0
- data/app/views/appyantra_admin/shared/_assets_list.html.haml +6 -0
- data/app/views/appyantra_admin/shared/_formtastic_semantic_form.html.haml +3 -0
- data/app/views/appyantra_admin/shared/_hash_form.html.haml +7 -0
- data/app/views/appyantra_admin/shared/_links.haml +6 -0
- data/app/views/appyantra_admin/shared/types/_encrypted_text.html.haml +1 -0
- data/app/views/appyantra_admin/shared/types/_link.html.haml +1 -0
- data/app/views/appyantra_admin/shared/types/_short_text.html.haml +1 -0
- data/app/views/appyantra_admin/shared/types/_text.html.haml +1 -0
- data/app/views/appyantra_admin/unlocks/new.html.haml +10 -0
- data/app/views/appyantra_admin/users/_form.html.haml +12 -0
- data/app/views/appyantra_admin/users/_user.html.haml +11 -0
- data/app/views/appyantra_admin/users/edit.html.haml +18 -0
- data/app/views/appyantra_admin/users/index.html.haml +54 -0
- data/app/views/appyantra_admin/users/new.html.haml +6 -0
- data/app/views/appyantra_admin/users/show.html.haml +10 -0
- data/app/views/appyantra_admin/users/show.js.haml +3 -0
- data/app/views/layouts/application.html.haml +98 -0
- data/app/views/layouts/appyantra_admin/application.html.haml +106 -0
- data/app/views/layouts/appyantra_admin/landing_page.html.haml +30 -0
- data/app/views/layouts/appyantra_admin/website.html.haml +96 -0
- data/app/views/pages/_google_analytics.html.haml +11 -0
- data/app/views/pages/_meta_tags.html.haml +2 -0
- data/app/views/pages/page.html.haml +4 -0
- data/app/views/users/confirmations/new.html.haml +26 -0
- data/app/views/users/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/users/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/users/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/users/passwords/edit.html.haml +31 -0
- data/app/views/users/passwords/new.html.haml +22 -0
- data/app/views/users/registrations/edit.html.haml +42 -0
- data/app/views/users/registrations/new.html.haml +35 -0
- data/app/views/users/sessions/new.html.haml +26 -0
- data/app/views/website/index.html.haml +50 -0
- data/appyantra_admin.gemspec +24 -0
- data/config/initializers/devise.rb +209 -0
- data/config/initializers/formtastic.rb +82 -0
- data/config/initializers/mail_settings.rb +11 -0
- data/config/initializers/secret_token.rb +7 -0
- data/config/initializers/session_store.rb +8 -0
- data/config/initializers/wrap_parameters.rb +14 -0
- data/config/routes.rb +71 -0
- data/db/migrate/20120123093508_create_links.rb +15 -0
- data/db/migrate/20120123093916_create_texts.rb +10 -0
- data/db/migrate/20120123094124_create_admin_settings.rb +12 -0
- data/db/migrate/20120124202814_devise_create_admins.rb +25 -0
- data/db/migrate/20120125093505_add_name_to_admins.rb +6 -0
- data/db/migrate/20120217075442_devise_create_users.rb +25 -0
- data/db/migrate/20120217090326_add_name_to_users.rb +6 -0
- data/db/migrate/20120224210009_create_pages.rb +19 -0
- data/db/migrate/20120302084134_add_group_to_admin_settings.rb +5 -0
- data/db/migrate/20120309075847_create_encrypted_texts.rb +10 -0
- data/db/migrate/20120309075904_create_short_texts.rb +10 -0
- data/db/migrate/20120312234850_add_seo_to_pages.rb +5 -0
- data/db/migrate/20120312235235_create_keywords.rb +10 -0
- data/db/migrate/20120314063338_create_activity_feeds.rb +15 -0
- data/lib/appyantra_admin.rb +49 -0
- data/lib/appyantra_admin/crypto.rb +43 -0
- data/lib/appyantra_admin/engine.rb +17 -0
- data/lib/appyantra_admin/utils.rb +27 -0
- data/lib/appyantra_admin/version.rb +3 -0
- data/lib/generators/appyantra_admin/install/USAGE +8 -0
- data/lib/generators/appyantra_admin/install/install_generator.rb +34 -0
- data/lib/generators/appyantra_admin/install/templates/appyantra_admin.rb +28 -0
- data/lib/tasks/appyantra_admin_tasks.rake +47 -0
- data/script/rails +6 -0
- data/test/dummy/.gitignore +36 -0
- data/test/dummy/.rspec +1 -0
- data/test/dummy/Gemfile +43 -0
- data/test/dummy/Guardfile +19 -0
- data/test/dummy/README +261 -0
- data/test/dummy/Rakefile +8 -0
- data/test/dummy/app/assets/javascripts/application.js +9 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/product.rb +2 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +48 -0
- data/test/dummy/config/boot.rb +6 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/migrate/20120213070715_create_products.rb +11 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/doc/README_FOR_APP +2 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/spec/controllers/appyantra_admin/admin_settings_controller_spec.rb +56 -0
- data/test/dummy/spec/controllers/appyantra_admin/assets_controller_spec.rb +64 -0
- data/test/dummy/spec/controllers/appyantra_admin/home_controller_spec.rb +28 -0
- data/test/dummy/spec/controllers/appyantra_admin/passwords_controller_spec.rb +40 -0
- data/test/dummy/spec/controllers/appyantra_admin/profiles_controller_spec.rb +88 -0
- data/test/dummy/spec/controllers/appyantra_admin/sessions_controller_spec.rb +32 -0
- data/test/dummy/spec/factories.rb +55 -0
- data/test/dummy/spec/factories/products.rb +9 -0
- data/test/dummy/spec/helpers/appyantra_admin/application_helper_spec.rb +31 -0
- data/test/dummy/spec/models/admin_setting_spec.rb +22 -0
- data/test/dummy/spec/models/admin_spec.rb +10 -0
- data/test/dummy/spec/models/encrypted_text_spec.rb +13 -0
- data/test/dummy/spec/models/link_spec.rb +5 -0
- data/test/dummy/spec/models/text_spec.rb +5 -0
- data/test/dummy/spec/requests/appyantra_admin/admin_user_auth_spec.rb +54 -0
- data/test/dummy/spec/requests/appyantra_admin/dashboard_spec.rb +34 -0
- data/test/dummy/spec/requests/appyantra_admin/mailer_spec.rb +72 -0
- data/test/dummy/spec/requests/appyantra_admin/manage_pages_spec.rb +209 -0
- data/test/dummy/spec/requests/appyantra_admin/manage_website_users_spec.rb +97 -0
- data/test/dummy/spec/requests/appyantra_admin/website_users_spec.rb +25 -0
- data/test/dummy/spec/routing/sessions_routing_spec.rb +11 -0
- data/test/dummy/spec/spec_helper.rb +51 -0
- data/test/dummy/spec/support/capybara.rb +7 -0
- data/test/dummy/spec/support/controller_macros.rb +8 -0
- data/test/dummy/spec/support/integration_macros.rb +40 -0
- data/test/dummy/spec/support/load_routes.rb +5 -0
- data/test/dummy/spec/support/matchers/user_matcher.rb +13 -0
- metadata +428 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* jQuery Roundabout - v1.0 (minified)
|
3
|
+
* http://fredhq.com/projects/roundabout/
|
4
|
+
*
|
5
|
+
* Moves list-items of enabled ordered and unordered lists long
|
6
|
+
* a chosen path. Includes the default "lazySusan" path, that
|
7
|
+
* moves items long a spinning turntable.
|
8
|
+
*
|
9
|
+
* Terms of Use // jQuery Roundabout
|
10
|
+
*
|
11
|
+
* Open source under the BSD license
|
12
|
+
*
|
13
|
+
* Copyright (c) 2009, Fred LeBlanc
|
14
|
+
* All rights reserved.
|
15
|
+
*
|
16
|
+
* Redistribution and use in source and binary forms, with or without
|
17
|
+
* modification, are permitted provided that the following conditions are met:
|
18
|
+
*
|
19
|
+
* - Redistributions of source code must retain the above copyright
|
20
|
+
* notice, this list of conditions and the following disclaimer.
|
21
|
+
* - Redistributions in binary form must reproduce the above
|
22
|
+
* copyright notice, this list of conditions and the following
|
23
|
+
* disclaimer in the documentation and/or other materials provided
|
24
|
+
* with the distribution.
|
25
|
+
* - Neither the name of the author nor the names of its contributors
|
26
|
+
* may be used to endorse or promote products derived from this
|
27
|
+
* software without specific prior written permission.
|
28
|
+
*
|
29
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
30
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
31
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
32
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
33
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
34
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
35
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
36
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
37
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
38
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
39
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
40
|
+
*/
|
41
|
+
jQuery.extend({roundabout_shape:{def:'lazySusan',lazySusan:function(r,a,t){return{x:Math.sin(r+a),y:(Math.sin(r+3*Math.PI/2+a)/8)*t,z:(Math.cos(r+a)+1)/2,scale:(Math.sin(r+Math.PI/2+a)/2)+0.5}}}});jQuery.fn.roundabout=function(){var options=(typeof arguments[0]!='object')?{}:arguments[0];options={bearing:(typeof options.bearing=='undefined')?0.0:parseFloat(options.bearing%360.0,4),tilt:(typeof options.tilt=='undefined')?0.0:parseFloat(options.tilt,4),minZ:(typeof options.minZ=='undefined')?100:parseInt(options.minZ,10),maxZ:(typeof options.maxZ=='undefined')?400:parseInt(options.maxZ,10),minOpacity:(typeof options.minOpacity=='undefined')?0.40:parseFloat(options.minOpacity,2),maxOpacity:(typeof options.maxOpacity=='undefined')?1.00:parseFloat(options.maxOpacity,2),minScale:(typeof options.minScale=='undefined')?0.40:parseFloat(options.minScale,2),maxScale:(typeof options.maxScale=='undefined')?1.00:parseFloat(options.maxScale,2),duration:(typeof options.duration=='undefined')?600:parseInt(options.duration,10),btnNext:options.btnNext||null,btnPrev:options.btnPrev||null,easing:options.easing||'swing',clickToFocus:(options.clickToFocus!==false),focusBearing:(typeof options.focusBearing=='undefined')?0.0:parseFloat(options.focusBearing%360.0,4),shape:options.shape||'lazySusan',debug:options.debug||false,childSelector:options.childSelector||'li',startingChild:(typeof options.startingChild=='undefined')?null:parseInt(options.startingChild,10)};this.each(function(i){var ref=jQuery(this);var childSelector=options.childSelector;var children=ref.children(childSelector);var period=360.0/children.length;var startingBearing=(options.startingChild===null)?options.bearing:options.startingChild*period;ref.addClass('roundabout-holder').css('padding',0).css('position','relative').css('z-index',options.minZ).attr('bearing',startingBearing).attr('tilt',options.tilt).attr('minZ',options.minZ).attr('maxZ',options.maxZ).attr('minOpacity',options.minOpacity).attr('maxOpacity',options.maxOpacity).attr('minScale',options.minScale).attr('maxScale',options.maxScale).attr('duration',options.duration).attr('easing',options.easing).attr('clickToFocus',options.clickToFocus).attr('focusBearing',options.focusBearing).attr('animating','0').attr('childInFocus',-1).attr('shape',options.shape).attr('period',period).attr('debug',options.debug).attr('childSelector',options.childSelector);children.each(function(i){var degrees=period*i;var startPos;jQuery(this).addClass('roundabout-moveable-item').css('position','absolute').attr('degrees',degrees);startPos=[jQuery(this).width(),jQuery(this).height(),parseInt(jQuery(this).css('font-size'),10)];jQuery(this).attr('startPos',startPos.join(','));if(options.clickToFocus===true){jQuery(this).click(function(e){if(!jQuery.roundabout_isInFocus(ref,degrees)){e.preventDefault();if(ref.attr('animating')=='0'){ref.roundabout_animateAngleToFocus(degrees)}return false}})}});if(options.btnNext){jQuery(options.btnNext).click(function(e){e.preventDefault();if(ref.attr('animating')=='0'){ref.roundabout_animateToNextChild()}return false})}if(options.btnPrev){jQuery(options.btnPrev).click(function(e){e.preventDefault();if(ref.attr('animating')=='0'){ref.roundabout_animateToPreviousChild()}return false})}ref.roundabout_updateChildPositions()});return this};jQuery.fn.roundabout_setTilt=function(newTilt){this.each(function(i){jQuery(this).attr('tilt',newTilt);jQuery(this).roundabout_updateChildPositions()});return this};jQuery.fn.roundabout_setBearing=function(newBearing){this.each(function(i){jQuery(this).attr('bearing',parseFloat(newBearing%360,4));jQuery(this).roundabout_updateChildPositions()});if(typeof arguments[1]==='function'){var callback=arguments[1];setTimeout(function(){callback()},0)}return this};jQuery.fn.roundabout_adjustBearing=function(delta){delta=parseFloat(delta,4);if(delta!==0){this.each(function(i){jQuery(this).attr('bearing',jQuery.roundabout_getBearing(jQuery(this))+delta);jQuery(this).roundabout_updateChildPositions()})}return this};jQuery.fn.roundabout_adjustTilt=function(delta){delta=parseFloat(delta,4);this.each(function(i){jQuery(this).attr('tilt',parseFloat(jQuery(this).attr('tilt'),4)+delta);jQuery(this).roundabout_updateChildPositions()});return this};jQuery.fn.roundabout_animateToBearing=function(bearing){bearing=parseFloat(bearing,4);var currentTime=new Date();var data=(typeof arguments[3]!=='object')?null:arguments[3];var duration=(typeof arguments[1]=='undefined')?null:arguments[1];var easingType=(typeof arguments[2]!='undefined')?arguments[2]:null;this.each(function(i){var ref=jQuery(this),timer,easingFn,newBearing;var thisDuration=(duration===null)?parseInt(ref.attr('duration'),10):duration;var thisEasingType=(easingType!==null)?easingType:ref.attr('easing')||'swing';if(data===null){data={timerStart:currentTime,start:jQuery.roundabout_getBearing(ref),totalTime:thisDuration}}timer=currentTime-data.timerStart;if(timer<thisDuration){ref.attr('animating','1');if(typeof jQuery.easing.def=='string'){easingFn=jQuery.easing[thisEasingType]||jQuery.easing[jQuery.easing.def];newBearing=easingFn(null,timer,data.start,bearing-data.start,data.totalTime)}else{newBearing=jQuery.easing[thisEasingType]((timer/data.totalTime),timer,data.start,bearing-data.start,data.totalTime)}ref.roundabout_setBearing(newBearing,function(){ref.roundabout_animateToBearing(bearing,thisDuration,thisEasingType,data)})}else{bearing=(bearing<0)?bearing+360:bearing%360;ref.attr('animating','0');ref.roundabout_setBearing(bearing)}});return this};jQuery.fn.roundabout_animateToDelta=function(delta){var duration,easing;if(typeof arguments[1]!=='undefined'){duration=arguments[1]}if(typeof arguments[2]!=='undefined'){easing=arguments[2]}this.each(function(i){delta=jQuery.roundabout_getBearing(jQuery(this))+delta;jQuery(this).roundabout_animateToBearing(delta,duration,easing)});return this};jQuery.fn.roundabout_animateToChild=function(childPos){var duration,easing;if(typeof arguments[1]!=='undefined'){duration=arguments[1]}if(typeof arguments[2]!=='undefined'){easing=arguments[2]}this.each(function(i){var ref=jQuery(this);if(parseInt(ref.attr('childInFocus'),10)!==childPos&&ref.attr('animating','0')){var child=jQuery(ref.children(ref.attr('childSelector'))[childPos]);ref.roundabout_animateAngleToFocus(parseFloat(child.attr('degrees'),4),duration,easing)}});return this};jQuery.fn.roundabout_animateToNextChild=function(){var duration,easing;if(typeof arguments[0]!=='undefined'){duration=arguments[0]}if(typeof arguments[1]!=='undefined'){easing=arguments[1]}this.each(function(i){if(jQuery(this).attr('animating','0')){var bearing=360.0-jQuery.roundabout_getBearing(jQuery(this));var period=parseFloat(jQuery(this).attr('period'),4),j=0,range;while(true){range={lower:period*j,upper:period*(j+1)};if(bearing<=range.upper&&bearing>range.lower){jQuery(this).roundabout_animateToDelta(bearing-range.lower,duration,easing);break}j++}}});return this};jQuery.fn.roundabout_animateToPreviousChild=function(){var duration,easing;if(typeof arguments[0]!=='undefined'){duration=arguments[0]}if(typeof arguments[1]!=='undefined'){easing=arguments[1]}this.each(function(i){if(jQuery(this).attr('animating','0')){var bearing=360.0-jQuery.roundabout_getBearing(jQuery(this));var period=parseFloat(jQuery(this).attr('period'),4),j=0,range;while(true){range={lower:period*j,upper:period*(j+1)};if(bearing>=range.lower&&bearing<range.upper){jQuery(this).roundabout_animateToDelta(bearing-range.upper,duration,easing);break}j++}}});return this};jQuery.fn.roundabout_animateAngleToFocus=function(target){var duration,easing;if(typeof arguments[1]!=='undefined'){duration=arguments[1]}if(typeof arguments[2]!=='undefined'){easing=arguments[2]}this.each(function(i){var delta=jQuery.roundabout_getBearing(jQuery(this))-target;delta=(Math.abs(360.0-delta)<Math.abs(0.0-delta))?360.0-delta:0.0-delta;delta=(delta>180)?-(360.0-delta):delta;if(delta!==0){jQuery(this).roundabout_animateToDelta(delta,duration,easing)}});return this};jQuery.fn.roundabout_updateChildPositions=function(){this.each(function(i){var ref=jQuery(this);var inFocus=-1;var data={bearing:jQuery.roundabout_getBearing(ref),tilt:parseFloat(ref.attr('tilt'),4),stage:{width:Math.floor(ref.width()*0.9),height:Math.floor(ref.height()*0.9)},animating:ref.attr('animating'),inFocus:parseInt(ref.attr('childInFocus'),10),focusBearingRad:jQuery.roundabout_degToRad(parseFloat(ref.attr('focusBearing'),4)),shape:jQuery.roundabout_shape[ref.attr('shape')]||jQuery.roundabout_shape[jQuery.roundabout_shape.def]};data.midStage={width:data.stage.width/2,height:data.stage.height/2};data.nudge={width:data.midStage.width+data.stage.width*0.05,height:data.midStage.height+data.stage.height*0.05};data.zValues={min:parseInt(ref.attr('minZ'),10),max:parseInt(ref.attr('maxZ'),10)};data.zValues.diff=data.zValues.max-data.zValues.min;data.opacity={min:parseFloat(ref.attr('minOpacity'),2),max:parseFloat(ref.attr('maxOpacity'),2)};data.opacity.diff=data.opacity.max-data.opacity.min;data.scale={min:parseFloat(ref.attr('minScale'),2),max:parseFloat(ref.attr('maxScale'),2)};data.scale.diff=data.scale.max-data.scale.min;ref.children(ref.attr('childSelector')).each(function(i){if(jQuery.roundabout_updateChildPosition(jQuery(this),ref,data,i)&&data.animating=='0'){inFocus=i;jQuery(this).addClass('roundabout-in-focus')}else{jQuery(this).removeClass('roundabout-in-focus')}});if(inFocus!==data.inFocus){jQuery.roundabout_triggerEvent(ref,data.inFocus,'blur');if(inFocus!==-1){jQuery.roundabout_triggerEvent(ref,inFocus,'focus')}ref.attr('childInFocus',inFocus)}});return this};jQuery.roundabout_getBearing=function(el){return parseFloat(el.attr('bearing'),4)%360};jQuery.roundabout_degToRad=function(degrees){return(degrees%360.0)*Math.PI/180.0};jQuery.roundabout_isInFocus=function(el,target){return(jQuery.roundabout_getBearing(el)%360===(target%360))};jQuery.roundabout_triggerEvent=function(el,child,eventType){return(child<0)?this:jQuery(el.children(el.attr('childSelector'))[child]).trigger(eventType)};jQuery.roundabout_updateChildPosition=function(child,container,data,childPos){var ref=jQuery(child),out=[];var startPos=ref.attr('startPos').split(',');var itemData={startWidth:startPos[0],startHeight:startPos[1],startFontSize:startPos[2],degrees:parseFloat(ref.attr('degrees'),4)};var rad=jQuery.roundabout_degToRad((360.0-itemData.degrees)+data.bearing);while(rad<0){rad=rad+Math.PI*2}while(rad>Math.PI*2){rad=rad-Math.PI*2}var factors=data.shape(rad,data.focusBearingRad,data.tilt);factors.scale=(factors.scale>1)?1:factors.scale;factors.adjustedScale=(data.scale.min+(data.scale.diff*factors.scale)).toFixed(4);factors.width=factors.adjustedScale*itemData.startWidth;factors.height=factors.adjustedScale*itemData.startHeight;ref.css('left',((factors.x*data.midStage.width+data.nudge.width)-factors.width/2.0).toFixed(2)+'px').css('top',((factors.y*data.midStage.height+data.nudge.height)-factors.height/2.0).toFixed(2)+'px').css('width',factors.width.toFixed(2)+'px').css('height',factors.height.toFixed(2)+'px').css('opacity',(data.opacity.min+(data.opacity.diff*factors.scale)).toFixed(2)).css('z-index',parseInt(data.zValues.min+(data.zValues.diff*factors.z),10)).css('font-size',(factors.adjustedScale*itemData.startFontSize).toFixed(2)+'px').attr('current-scale',factors.adjustedScale);if(container.attr('debug')=='true'){out.push('<div style="font-weight: normal; font-size: 10px; padding: 2px; width: '+ref.css('width')+'; background-color: #ffc;">');out.push('<strong style="font-size: 12px; white-space: nowrap;">Child '+childPos+'</strong><br />');out.push('<strong>left:</strong> '+ref.css('left')+'<br /><strong>top:</strong> '+ref.css('top')+'<br />');out.push('<strong>width:</strong> '+ref.css('width')+'<br /><strong>opacity:</strong> '+ref.css('opacity')+'<br />');out.push('<strong>z-index:</strong> '+ref.css('z-index')+'<br /><strong>font-size:</strong> '+ref.css('font-size')+'<br />');out.push('<strong>scale:</strong> '+ref.attr('current-scale'));out.push('</div>');ref.html(out.join(''))}return jQuery.roundabout_isInFocus(container,itemData.degrees)};
|
@@ -0,0 +1,150 @@
|
|
1
|
+
/**
|
2
|
+
* jQuery Roundabout Shapes v1.1
|
3
|
+
* http://fredhq.com/projects/roundabout-shapes/
|
4
|
+
*
|
5
|
+
* Provides additional paths along which items can move for the
|
6
|
+
* jQuery Roundabout plugin (v1.0+).
|
7
|
+
*
|
8
|
+
* Terms of Use // jQuery Roundabout Shapes
|
9
|
+
*
|
10
|
+
* Open source under the BSD license
|
11
|
+
*
|
12
|
+
* Copyright (c) 2009, Fred LeBlanc
|
13
|
+
* All rights reserved.
|
14
|
+
*
|
15
|
+
* Redistribution and use in source and binary forms, with or without
|
16
|
+
* modification, are permitted provided that the following conditions are met:
|
17
|
+
*
|
18
|
+
* - Redistributions of source code must retain the above copyright
|
19
|
+
* notice, this list of conditions and the following disclaimer.
|
20
|
+
* - Redistributions in binary form must reproduce the above
|
21
|
+
* copyright notice, this list of conditions and the following
|
22
|
+
* disclaimer in the documentation and/or other materials provided
|
23
|
+
* with the distribution.
|
24
|
+
* - Neither the name of the author nor the names of its contributors
|
25
|
+
* may be used to endorse or promote products derived from this
|
26
|
+
* software without specific prior written permission.
|
27
|
+
*
|
28
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
29
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
30
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
31
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
32
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
33
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
34
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
35
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
36
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
37
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
38
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
39
|
+
*/
|
40
|
+
jQuery.extend(jQuery.roundabout_shape,
|
41
|
+
{
|
42
|
+
theJuggler: function(r, a, t) {
|
43
|
+
return {
|
44
|
+
x: Math.sin(r + a),
|
45
|
+
y: Math.tan(Math.exp(Math.log(r)) + a) / (t - 1),
|
46
|
+
z: (Math.cos(r + a) + 1) / 2,
|
47
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
48
|
+
};
|
49
|
+
},
|
50
|
+
figure8: function(r, a, t) {
|
51
|
+
return {
|
52
|
+
x: Math.sin(r * 2 + a),
|
53
|
+
y: (Math.sin(r + Math.PI/2 + a) / 8) * t,
|
54
|
+
z: (Math.cos(r + a) + 1) / 2,
|
55
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
56
|
+
};
|
57
|
+
},
|
58
|
+
waterWheel: function(r, a, t) {
|
59
|
+
return {
|
60
|
+
x: (Math.sin(r + Math.PI/2 + a) / 8) * t,
|
61
|
+
y: Math.sin(r + a) / (Math.PI/2),
|
62
|
+
z: (Math.cos(r + a) + 1) / 2,
|
63
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
64
|
+
};
|
65
|
+
},
|
66
|
+
square: function(r, a, t) {
|
67
|
+
var sq_x, sq_y, sq_z;
|
68
|
+
|
69
|
+
if (r <= Math.PI/2) {
|
70
|
+
sq_x = (2/Math.PI) * r;
|
71
|
+
sq_y = -(2/Math.PI) * r + 1;
|
72
|
+
sq_z = -(1/Math.PI) * r + 1;
|
73
|
+
} else if (r > Math.PI/2 && r <= Math.PI) {
|
74
|
+
sq_x = -(2/Math.PI) * r + 2;
|
75
|
+
sq_y = -(2/Math.PI) * r + 1;
|
76
|
+
sq_z = -(1/Math.PI) * r + 1;
|
77
|
+
} else if (r > Math.PI && r <= (3 * Math.PI) / 2) {
|
78
|
+
sq_x = -(2/Math.PI) * r + 2;
|
79
|
+
sq_y = (2/Math.PI) * r - 3;
|
80
|
+
sq_z = (1/Math.PI) * r - 1;
|
81
|
+
} else {
|
82
|
+
sq_x = (2/Math.PI) * r - 4;
|
83
|
+
sq_y = (2/Math.PI) * r - 3;
|
84
|
+
sq_z = (1/Math.PI) * r - 1;
|
85
|
+
}
|
86
|
+
|
87
|
+
return {
|
88
|
+
x: sq_x,
|
89
|
+
y: sq_y * t,
|
90
|
+
z: sq_z,
|
91
|
+
scale: sq_z
|
92
|
+
}
|
93
|
+
},
|
94
|
+
conveyorBeltLeft: function(r, a, t) {
|
95
|
+
return {
|
96
|
+
x: -Math.cos(r + a),
|
97
|
+
y: (Math.cos(r + 3*Math.PI/2 + a) / 8) * t,
|
98
|
+
z: (Math.sin(r + a) + 1) / 2,
|
99
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
100
|
+
};
|
101
|
+
},
|
102
|
+
conveyorBeltRight: function(r, a, t) {
|
103
|
+
return {
|
104
|
+
x: Math.cos(r + a),
|
105
|
+
y: (Math.cos(r + 3*Math.PI/2 + a) / 8) * t,
|
106
|
+
z: (Math.sin(r + a) + 1) / 2,
|
107
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
108
|
+
};
|
109
|
+
},
|
110
|
+
goodbyeCruelWorld: function(r, a, t) {
|
111
|
+
return {
|
112
|
+
x: Math.sin(r + a),
|
113
|
+
y: (Math.tan(r + 3*Math.PI/2 + a) / 8) * (t + 0.5),
|
114
|
+
z: (Math.sin(r + a) + 1) / 2,
|
115
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
116
|
+
};
|
117
|
+
},
|
118
|
+
diagonalRingLeft: function(r, a, t) {
|
119
|
+
return {
|
120
|
+
x: Math.sin(r + a),
|
121
|
+
y: -Math.cos(r + Math.tan(Math.cos(a))) / (t + 1.5),
|
122
|
+
z: (Math.cos(r + a) + 1) / 2,
|
123
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
124
|
+
};
|
125
|
+
},
|
126
|
+
diagonalRingRight: function(r, a, t) {
|
127
|
+
return {
|
128
|
+
x: Math.sin(r + a),
|
129
|
+
y: Math.cos(r + Math.tan(Math.cos(a))) / (t + 1.5),
|
130
|
+
z: (Math.cos(r + a) + 1) / 2,
|
131
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
132
|
+
};
|
133
|
+
},
|
134
|
+
rollerCoaster: function(r, a, t) {
|
135
|
+
return {
|
136
|
+
x: Math.sin(r + a),
|
137
|
+
y: Math.sin((2 + t) * r),
|
138
|
+
z: (Math.cos(r + a) + 1) / 2,
|
139
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
140
|
+
}
|
141
|
+
},
|
142
|
+
tearDrop: function(r, a, t) {
|
143
|
+
return {
|
144
|
+
x: Math.sin(r + a),
|
145
|
+
y: -Math.sin(r/2 + t) + 0.35,
|
146
|
+
z: (Math.cos(r + a) + 1) / 2,
|
147
|
+
scale: (Math.sin(r + Math.PI/2 + a) / 2) + 0.5
|
148
|
+
}
|
149
|
+
}
|
150
|
+
});
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
+
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
+
*= require_self
|
6
|
+
*= require_directory .
|
7
|
+
*/
|
@@ -0,0 +1,43 @@
|
|
1
|
+
.quick_search {
|
2
|
+
text-align: center;
|
3
|
+
padding: 14px 0 0px 0;
|
4
|
+
}
|
5
|
+
|
6
|
+
.quick_search input[type=text] {
|
7
|
+
text-align: left;
|
8
|
+
height: 22px;
|
9
|
+
width: 88%;
|
10
|
+
color: #ccc;
|
11
|
+
padding-left: 2%;
|
12
|
+
padding-top: 5px;
|
13
|
+
background: #fff url(../images/icn_search.png) no-repeat;
|
14
|
+
background-position: 10px 6px;
|
15
|
+
}
|
16
|
+
|
17
|
+
.toggleLink {
|
18
|
+
display: inline;
|
19
|
+
float: none;
|
20
|
+
margin-left: 2%
|
21
|
+
}
|
22
|
+
|
23
|
+
html ul.tabs li.active, html ul.tabs li.active a:hover {
|
24
|
+
background: #ccc;
|
25
|
+
}
|
26
|
+
|
27
|
+
input[type=submit].btn_post_message {
|
28
|
+
background: url(../images/post_message.png) no-repeat;
|
29
|
+
}
|
30
|
+
|
31
|
+
fieldset input[type=text] {
|
32
|
+
margin-left: -10px;
|
33
|
+
}
|
34
|
+
|
35
|
+
|
36
|
+
fieldset select {
|
37
|
+
margin-left: -10px
|
38
|
+
}
|
39
|
+
|
40
|
+
fieldset textarea {
|
41
|
+
margin-left: -10px;
|
42
|
+
}
|
43
|
+
|
@@ -0,0 +1,1191 @@
|
|
1
|
+
|
2
|
+
/* Essentials */
|
3
|
+
html, div, map, dt, isindex, form, header, aside, section, section, article, footer {
|
4
|
+
display: block;
|
5
|
+
}
|
6
|
+
|
7
|
+
html, body {
|
8
|
+
height: 100%;
|
9
|
+
margin: 0;
|
10
|
+
padding: 0;
|
11
|
+
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
|
12
|
+
background: #F8F8F8;
|
13
|
+
font-size: 12px;
|
14
|
+
}
|
15
|
+
|
16
|
+
.clear {
|
17
|
+
clear: both;
|
18
|
+
}
|
19
|
+
|
20
|
+
.spacer {
|
21
|
+
height: 20px;
|
22
|
+
}
|
23
|
+
|
24
|
+
a:link, a:visited {
|
25
|
+
color: #77BACE;
|
26
|
+
text-decoration: none;
|
27
|
+
}
|
28
|
+
|
29
|
+
a:hover {
|
30
|
+
text-decoration: underline;
|
31
|
+
}
|
32
|
+
|
33
|
+
|
34
|
+
/* Header */
|
35
|
+
|
36
|
+
header#header {
|
37
|
+
height: 55px;
|
38
|
+
width: 100%;
|
39
|
+
background: #222222 url(/assets/appyantra_admin/header_bg.png) repeat-x;
|
40
|
+
}
|
41
|
+
|
42
|
+
header#header h1.site_title, header#header h2.section_title {
|
43
|
+
float: left;
|
44
|
+
margin: 0;
|
45
|
+
font-size: 22px;
|
46
|
+
display: block;
|
47
|
+
width: 23%;
|
48
|
+
height: 55px;
|
49
|
+
font-weight: normal;
|
50
|
+
text-align: left;
|
51
|
+
text-indent: 1.8%;
|
52
|
+
line-height: 55px;
|
53
|
+
color: #fff;
|
54
|
+
text-shadow: 0 -1px 0 #000;
|
55
|
+
}
|
56
|
+
|
57
|
+
header#header h1.site_title a {
|
58
|
+
color: #fff;
|
59
|
+
text-decoration: none;
|
60
|
+
}
|
61
|
+
|
62
|
+
header#header h2.section_title {
|
63
|
+
text-align: center;
|
64
|
+
text-indent: 4.5%;
|
65
|
+
width: 68%;
|
66
|
+
background: url(/assets/appyantra_admin/header_shadow.png) no-repeat left top;
|
67
|
+
}
|
68
|
+
|
69
|
+
.btn_view_site {
|
70
|
+
float: left;
|
71
|
+
width: 9%;
|
72
|
+
}
|
73
|
+
|
74
|
+
.btn_view_site a {
|
75
|
+
display: block;
|
76
|
+
margin-top: 12px;
|
77
|
+
width: 91px;
|
78
|
+
height: 27px;
|
79
|
+
background: url(/assets/appyantra_admin/btn_view_site.png) no-repeat;
|
80
|
+
text-align: center;
|
81
|
+
line-height: 29px;
|
82
|
+
color: #fff;
|
83
|
+
text-decoration: none;
|
84
|
+
text-shadow: 0 -1px 0 #000;}
|
85
|
+
|
86
|
+
.btn_view_site a:hover {
|
87
|
+
background-position: 0 -27px;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* Secondary Header Bar */
|
91
|
+
|
92
|
+
section#secondary_bar {
|
93
|
+
height: 38px;
|
94
|
+
width: 100%;
|
95
|
+
background: #F1F1F4 url(/assets/appyantra_admin/secondary_bar.png) repeat-x;
|
96
|
+
}
|
97
|
+
|
98
|
+
section#secondary_bar .user {
|
99
|
+
float: left;
|
100
|
+
width: 23%;
|
101
|
+
height: 38px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.user p {
|
105
|
+
margin: 0;
|
106
|
+
padding: 0;
|
107
|
+
color: #666666;
|
108
|
+
font-weight: bold;
|
109
|
+
display: block;
|
110
|
+
float: left;
|
111
|
+
width: 85%;
|
112
|
+
height: 35px;
|
113
|
+
line-height: 35px;
|
114
|
+
text-indent: 25px;
|
115
|
+
text-shadow: 0 1px 0 #fff;
|
116
|
+
background: url(/assets/appyantra_admin/icn_user.png) no-repeat center left;
|
117
|
+
margin-left: 6%;
|
118
|
+
}
|
119
|
+
|
120
|
+
.user a {
|
121
|
+
text-decoration: none;
|
122
|
+
color: #666666}
|
123
|
+
|
124
|
+
.user a:hover {
|
125
|
+
color: #77BACE;
|
126
|
+
}
|
127
|
+
|
128
|
+
.user a.logout_user {
|
129
|
+
float: left;
|
130
|
+
display: block;
|
131
|
+
width: 16px;
|
132
|
+
height: 35px;
|
133
|
+
text-indent: -5000px;
|
134
|
+
background: url(/assets/appyantra_admin/icn_logout.png) center no-repeat;
|
135
|
+
}
|
136
|
+
|
137
|
+
/* Breadcrumbs */
|
138
|
+
|
139
|
+
section#secondary_bar .breadcrumbs_container {
|
140
|
+
float: left;
|
141
|
+
width: 77%;
|
142
|
+
background: url(/assets/appyantra_admin/secondary_bar_shadow.png) no-repeat left top;
|
143
|
+
height: 38px;
|
144
|
+
}
|
145
|
+
|
146
|
+
article.breadcrumbs {
|
147
|
+
float: left;
|
148
|
+
padding: 0 10px;
|
149
|
+
border: 1px solid #ccc;
|
150
|
+
-webkit-border-radius: 5px;
|
151
|
+
-moz-border-radius: 5px;
|
152
|
+
border-radius: 5px;
|
153
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
154
|
+
-moz-box-shadow: 0 1px 0 #fff;
|
155
|
+
box-shadow: 0 1px 0 #fff;
|
156
|
+
height: 23px;
|
157
|
+
margin: 4px 3%;
|
158
|
+
}
|
159
|
+
|
160
|
+
.breadcrumbs a {
|
161
|
+
display: inline-block;
|
162
|
+
float: left;
|
163
|
+
height: 24px;
|
164
|
+
line-height: 23px;
|
165
|
+
}
|
166
|
+
|
167
|
+
.breadcrumbs a.current, .breadcrumbs a.current:hover {
|
168
|
+
color: #9E9E9E;
|
169
|
+
font-weight: bold;
|
170
|
+
text-shadow: 0 1px 0 #fff;
|
171
|
+
text-decoration: none;
|
172
|
+
}
|
173
|
+
|
174
|
+
.breadcrumbs a:link, .breadcrumbs a:visited {
|
175
|
+
color: #44474F;
|
176
|
+
text-decoration: none;
|
177
|
+
text-shadow: 0 1px 0 #fff;
|
178
|
+
font-weight: bold;}
|
179
|
+
|
180
|
+
.breadcrumbs a:hover {
|
181
|
+
color: #222222;
|
182
|
+
}
|
183
|
+
|
184
|
+
.breadcrumb_divider {
|
185
|
+
display: inline-block;
|
186
|
+
width: 12px;
|
187
|
+
height: 24px;
|
188
|
+
background: url(/assets/appyantra_admin/breadcrumb_divider.png) no-repeat;
|
189
|
+
float: left;
|
190
|
+
margin: 0 5px;
|
191
|
+
}
|
192
|
+
|
193
|
+
/* Sidebar */
|
194
|
+
|
195
|
+
aside#sidebar {
|
196
|
+
width: 23%;
|
197
|
+
background: #E0E0E3 url(/assets/appyantra_admin/sidebar.png) repeat;
|
198
|
+
float: left;
|
199
|
+
min-height: 500px;
|
200
|
+
margin-top: -4px;
|
201
|
+
}
|
202
|
+
|
203
|
+
#sidebar hr {
|
204
|
+
border: none;
|
205
|
+
outline: none;
|
206
|
+
background: url(/assets/appyantra_admin/sidebar_divider.png) repeat-x;
|
207
|
+
display: block;
|
208
|
+
width: 100%;
|
209
|
+
height: 2px;}
|
210
|
+
|
211
|
+
|
212
|
+
/* Search */
|
213
|
+
|
214
|
+
.quick_search {
|
215
|
+
text-align: center;
|
216
|
+
padding: 14px 0 10px 0;
|
217
|
+
}
|
218
|
+
|
219
|
+
.quick_search input[type=text] {
|
220
|
+
-webkit-border-radius: 20px;
|
221
|
+
-moz-border-radius: 20px;
|
222
|
+
border-radius: 20px;
|
223
|
+
border: 1px solid #bbb;
|
224
|
+
height: 20px;
|
225
|
+
width: 90%;
|
226
|
+
color: #ccc;
|
227
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
228
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
229
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
230
|
+
text-indent: 30px;
|
231
|
+
background: #fff url(/assets/appyantra_admin/icn_search.png) no-repeat;
|
232
|
+
background-position: 10px 6px;
|
233
|
+
}
|
234
|
+
|
235
|
+
.quick_search input[type=text]:focus {
|
236
|
+
outline: none;
|
237
|
+
color: #666666;
|
238
|
+
border: 1px solid #77BACE;
|
239
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
240
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
241
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* Sidebar Menu */
|
245
|
+
|
246
|
+
#sidebar h3 {
|
247
|
+
color: #1F1F20;
|
248
|
+
text-transform: uppercase;
|
249
|
+
text-shadow: 0 1px 0 #fff;
|
250
|
+
font-size: 13px;
|
251
|
+
margin: 10px 0 10px 6%;
|
252
|
+
display: block;
|
253
|
+
float: left;
|
254
|
+
width: 90%;
|
255
|
+
}
|
256
|
+
|
257
|
+
.toggleLink {
|
258
|
+
color: #999999;
|
259
|
+
font-size: 10px;
|
260
|
+
text-decoration: none;
|
261
|
+
display: block;
|
262
|
+
float: right;
|
263
|
+
margin-right: 2%
|
264
|
+
}
|
265
|
+
|
266
|
+
#sidebar .toggleLink:hover {
|
267
|
+
color: #77BACE;
|
268
|
+
text-decoration: none;
|
269
|
+
}
|
270
|
+
|
271
|
+
#sidebar ul {
|
272
|
+
clear: both;
|
273
|
+
margin: 0; padding: 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
#sidebar li {
|
277
|
+
list-style: none;
|
278
|
+
margin: 0 0 0 12%; padding: 0;
|
279
|
+
}
|
280
|
+
|
281
|
+
#sidebar li a {
|
282
|
+
color: #666666;
|
283
|
+
padding-left: 25px;
|
284
|
+
text-decoration: none;
|
285
|
+
display: inline-block;
|
286
|
+
height: 17px;
|
287
|
+
line-height: 17px;
|
288
|
+
text-shadow: 0 1px 0 #fff;
|
289
|
+
margin: 2px 0;
|
290
|
+
}
|
291
|
+
|
292
|
+
#sidebar li a:hover {
|
293
|
+
color: #444444;
|
294
|
+
}
|
295
|
+
|
296
|
+
/* Sidebar Icons */
|
297
|
+
|
298
|
+
#sidebar li.icn_pages a {
|
299
|
+
background: url(/assets/appyantra_admin/icn_new_article.png) no-repeat center left;
|
300
|
+
}
|
301
|
+
#sidebar li.icn_edit_article a {
|
302
|
+
background: url(/assets/appyantra_admin/icn_edit_article.png) no-repeat center left;
|
303
|
+
}
|
304
|
+
#sidebar li.icn_categories a {
|
305
|
+
background: url(/assets/appyantra_admin/icn_categories.png) no-repeat center left;
|
306
|
+
}
|
307
|
+
#sidebar li.icn_tags a {
|
308
|
+
background: url(/assets/appyantra_admin/icn_tags.png) no-repeat center left;
|
309
|
+
}
|
310
|
+
#sidebar li.icn_add_user a {
|
311
|
+
background: url(/assets/appyantra_admin/icn_add_user.png) no-repeat center left;
|
312
|
+
}
|
313
|
+
#sidebar li.icn_view_users a {
|
314
|
+
background: url(/assets/appyantra_admin/icn_view_users.png) no-repeat center left;
|
315
|
+
}
|
316
|
+
#sidebar li.icn_view_admins a {
|
317
|
+
background: url(/assets/appyantra_admin/icn_view_users.png) no-repeat center left;
|
318
|
+
}
|
319
|
+
#sidebar li.icn_profile a {
|
320
|
+
background: url(/assets/appyantra_admin/icn_profile.png) no-repeat center left;
|
321
|
+
}
|
322
|
+
#sidebar li.icn_folder a {
|
323
|
+
background: url(/assets/appyantra_admin/icn_folder.png) no-repeat center left;
|
324
|
+
}
|
325
|
+
#sidebar li.icn_photo a {
|
326
|
+
background: url(/assets/appyantra_admin/icn_photo.png) no-repeat center left;
|
327
|
+
}
|
328
|
+
#sidebar li.icn_audio a {
|
329
|
+
background: url(/assets/appyantra_admin/icn_audio.png) no-repeat center left;
|
330
|
+
}
|
331
|
+
#sidebar li.icn_video a {
|
332
|
+
background: url(/assets/appyantra_admin/icn_video.png) no-repeat center left;
|
333
|
+
}
|
334
|
+
#sidebar li.icn_settings a {
|
335
|
+
background: url(/assets/appyantra_admin/icn_settings.png) no-repeat center left;
|
336
|
+
}
|
337
|
+
#sidebar li.icn_security a {
|
338
|
+
background: url(/assets/appyantra_admin/icn_security.png) no-repeat center left;
|
339
|
+
}
|
340
|
+
#sidebar li.icn_jump_back a {
|
341
|
+
background: url(/assets/appyantra_admin/icn_jump_back.png) no-repeat center left;
|
342
|
+
}
|
343
|
+
|
344
|
+
#sidebar p {
|
345
|
+
color: #666666;
|
346
|
+
padding-left: 6%;
|
347
|
+
text-shadow: 0 1px 0 #fff;
|
348
|
+
margin: 10px 0 0 0;}
|
349
|
+
|
350
|
+
#sidebar a {
|
351
|
+
color: #666666;
|
352
|
+
text-decoration: none;
|
353
|
+
}
|
354
|
+
|
355
|
+
#sidebar a:hover {
|
356
|
+
text-decoration: underline;
|
357
|
+
}
|
358
|
+
|
359
|
+
#sidebar footer {
|
360
|
+
margin-top: 20%;
|
361
|
+
}
|
362
|
+
|
363
|
+
|
364
|
+
/* Main Content */
|
365
|
+
|
366
|
+
|
367
|
+
section#main {
|
368
|
+
width: 77%;
|
369
|
+
min-height: 500px;
|
370
|
+
background: url(/assets/appyantra_admin/sidebar_shadow.png) repeat-y left top;
|
371
|
+
float: left;
|
372
|
+
margin-top: -2px;
|
373
|
+
}
|
374
|
+
|
375
|
+
#main h3 {
|
376
|
+
color: #1F1F20;
|
377
|
+
text-transform: uppercase;
|
378
|
+
text-shadow: 0 1px 0 #fff;
|
379
|
+
font-size: 13px;
|
380
|
+
margin: 8px 20px;
|
381
|
+
}
|
382
|
+
|
383
|
+
/* Modules */
|
384
|
+
|
385
|
+
.module {
|
386
|
+
border: 1px solid #9BA0AF;
|
387
|
+
width: 100%;
|
388
|
+
margin: 20px 3% 0 3%;
|
389
|
+
margin-top: 20px;
|
390
|
+
-webkit-border-radius: 5px;
|
391
|
+
-moz-border-radius: 5px;
|
392
|
+
border-radius: 5px;
|
393
|
+
background: #ffffff;
|
394
|
+
}
|
395
|
+
|
396
|
+
#main .module header h3 {
|
397
|
+
display: block;
|
398
|
+
width: 90%;
|
399
|
+
float: left;
|
400
|
+
}
|
401
|
+
|
402
|
+
.module header {
|
403
|
+
height: 38px;
|
404
|
+
width: 100%;
|
405
|
+
background: #F1F1F4 url(/assets/appyantra_admin/secondary_bar.png) repeat-x;
|
406
|
+
-webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
|
407
|
+
-moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
|
408
|
+
border-top-left-radius: 5px; border-top-right-radius: 5px;
|
409
|
+
}
|
410
|
+
|
411
|
+
.form_footer {
|
412
|
+
height: 32px;
|
413
|
+
width: 100%;
|
414
|
+
border-top: 1px solid #9CA1B0;
|
415
|
+
background: #F1F1F4 url(/assets/appyantra_admin/module_footer_bg.png) repeat-x;
|
416
|
+
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
|
417
|
+
-moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
|
418
|
+
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
|
419
|
+
}
|
420
|
+
|
421
|
+
.module_content {
|
422
|
+
margin: 10px 20px;
|
423
|
+
color: #666;}
|
424
|
+
|
425
|
+
.module ul {
|
426
|
+
list-style: none;
|
427
|
+
}
|
428
|
+
|
429
|
+
.module ul li {
|
430
|
+
height: 24px;
|
431
|
+
}
|
432
|
+
|
433
|
+
.module ul li .field_name {
|
434
|
+
font-weight: bold;
|
435
|
+
}
|
436
|
+
|
437
|
+
/* Module Widths */
|
438
|
+
|
439
|
+
.width_full {
|
440
|
+
width: 95%;
|
441
|
+
}
|
442
|
+
|
443
|
+
.width_half {
|
444
|
+
width: 46%;
|
445
|
+
margin-right: 0;
|
446
|
+
float: left;
|
447
|
+
}
|
448
|
+
|
449
|
+
.width_quarter {
|
450
|
+
width: 26%;
|
451
|
+
margin-right: 0;
|
452
|
+
float: left;
|
453
|
+
margin-bottom: 10px;
|
454
|
+
}
|
455
|
+
|
456
|
+
.width_3_quarter {
|
457
|
+
width: 66%;
|
458
|
+
margin-right: 0;
|
459
|
+
float: left;
|
460
|
+
}
|
461
|
+
|
462
|
+
/* Stats Module */
|
463
|
+
|
464
|
+
.stats_graph {
|
465
|
+
width: 64%;
|
466
|
+
float: left;
|
467
|
+
}
|
468
|
+
|
469
|
+
.stats_overview {
|
470
|
+
background: #F6F6F6;
|
471
|
+
border: 1px solid #ccc;
|
472
|
+
float: right;
|
473
|
+
width: 26%;
|
474
|
+
-webkit-border-radius: 5px;
|
475
|
+
-moz-border-radius: 5px;
|
476
|
+
border-radius: 5px;
|
477
|
+
}
|
478
|
+
|
479
|
+
.overview_today, .overview_previous {
|
480
|
+
width: 50%;
|
481
|
+
float: left;}
|
482
|
+
|
483
|
+
.stats_overview p {
|
484
|
+
margin: 0; padding: 0;
|
485
|
+
text-align: center;
|
486
|
+
text-transform: uppercase;
|
487
|
+
text-shadow: 0 1px 0 #fff;
|
488
|
+
}
|
489
|
+
|
490
|
+
.stats_overview p.overview_day {
|
491
|
+
font-size: 12px;
|
492
|
+
font-weight: bold;
|
493
|
+
margin: 6px 0;
|
494
|
+
}
|
495
|
+
|
496
|
+
.stats_overview p.overview_count {
|
497
|
+
font-size: 26px;
|
498
|
+
font-weight: bold;
|
499
|
+
color: #333333;}
|
500
|
+
|
501
|
+
.stats_overview p.overview_type {
|
502
|
+
font-size: 10px;
|
503
|
+
color: #999999;
|
504
|
+
margin-bottom: 8px}
|
505
|
+
|
506
|
+
/* Content Manager */
|
507
|
+
|
508
|
+
.tablesorter {
|
509
|
+
width: 100%;
|
510
|
+
margin: -5px 0 0 0;
|
511
|
+
}
|
512
|
+
|
513
|
+
.tablesorter td{
|
514
|
+
margin: 0;
|
515
|
+
padding: 0;
|
516
|
+
border-bottom: 1px dotted #ccc;
|
517
|
+
}
|
518
|
+
|
519
|
+
.tablesorter thead tr {
|
520
|
+
height: 34px;
|
521
|
+
background: url(/assets/appyantra_admin/table_sorter_header.png) repeat-x;
|
522
|
+
text-align: left;
|
523
|
+
text-indent: 10px;
|
524
|
+
cursor: pointer;
|
525
|
+
}
|
526
|
+
|
527
|
+
.tablesorter td {
|
528
|
+
padding: 15px 10px;
|
529
|
+
}
|
530
|
+
|
531
|
+
.tablesorter input[type=image] {
|
532
|
+
margin-right: 10px;}
|
533
|
+
|
534
|
+
ul.tabs {
|
535
|
+
margin: 3px 10px 0 0;
|
536
|
+
padding: 0;
|
537
|
+
float: right;
|
538
|
+
list-style: none;
|
539
|
+
height: 24px; /*--Set height of tabs--*/
|
540
|
+
-webkit-border-radius: 5px;
|
541
|
+
-moz-border-radius: 5px;
|
542
|
+
border-radius: 5px;
|
543
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
544
|
+
-moz-box-shadow: 0 1px 0 #fff;
|
545
|
+
box-shadow: 0 1px 0 #fff;
|
546
|
+
border: 1px solid #ccc;
|
547
|
+
font-weight: bold;
|
548
|
+
text-shadow: 0 1px 0 #fff;
|
549
|
+
}
|
550
|
+
ul.tabs li {
|
551
|
+
float: left;
|
552
|
+
margin: 0;
|
553
|
+
padding: 0;
|
554
|
+
line-height: 24px;
|
555
|
+
}
|
556
|
+
ul.tabs li a {
|
557
|
+
text-decoration: none;
|
558
|
+
color: #999;
|
559
|
+
display: block;
|
560
|
+
padding: 0 10px;
|
561
|
+
height: 24px;
|
562
|
+
}
|
563
|
+
|
564
|
+
ul.tabs li a:hover {
|
565
|
+
color: #44474F;
|
566
|
+
}
|
567
|
+
|
568
|
+
html ul.tabs li.active a {
|
569
|
+
color: #44474F;
|
570
|
+
}
|
571
|
+
|
572
|
+
html ul.tabs li.active, html ul.tabs li.active a:hover {
|
573
|
+
background: #F1F2F4;
|
574
|
+
-webkit-box-shadow: inset 0 2px 3px #818181;
|
575
|
+
-moz-box-shadow: inset 0 2px 3px #818181;
|
576
|
+
box-shadow: inset 0 2px 3px #818181;
|
577
|
+
}
|
578
|
+
|
579
|
+
html ul.tabs li:first-child, html ul.tabs li:first-child a {
|
580
|
+
-webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
|
581
|
+
-moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px;
|
582
|
+
border-top-left-radius: 5px; border-bottom-left-radius: 5px;
|
583
|
+
}
|
584
|
+
|
585
|
+
html ul.tabs li:last-child, html ul.tabs li:last-child a {
|
586
|
+
-webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
|
587
|
+
-moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px;
|
588
|
+
border-top-right-radius: 5px; border-bottom-right-radius: 5px;
|
589
|
+
}
|
590
|
+
|
591
|
+
#main .module header h3.tabs_involved {
|
592
|
+
display: block;
|
593
|
+
width: 60%;
|
594
|
+
float: left;
|
595
|
+
}
|
596
|
+
|
597
|
+
/* Messages */
|
598
|
+
|
599
|
+
.message {
|
600
|
+
border-bottom: 1px dotted #cccccc;
|
601
|
+
}
|
602
|
+
|
603
|
+
input[type=submit] {
|
604
|
+
background: #D0D1D4 url(/assets/appyantra_admin/btn_submit.png) repeat-x;
|
605
|
+
border: 1px solid #A8A9A8;
|
606
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
607
|
+
-moz-box-shadow: 0 1px 0 #fff;
|
608
|
+
box-shadow: 0 1px 0 #fff;
|
609
|
+
font-weight: bold;
|
610
|
+
height: 22px;
|
611
|
+
-webkit-border-radius: 5px;
|
612
|
+
-moz-border-radius: 5px;
|
613
|
+
border-radius: 5px;
|
614
|
+
padding: 0 10px;
|
615
|
+
color: #666;
|
616
|
+
text-shadow: 0 1px 0 #fff;
|
617
|
+
cursor: pointer;
|
618
|
+
}
|
619
|
+
|
620
|
+
input[type=submit]:hover {
|
621
|
+
color: #333333;
|
622
|
+
}
|
623
|
+
|
624
|
+
input[type=submit].alt_btn {
|
625
|
+
background: #D0D1D4 url(/assets/appyantra_admin/btn_submit_2.png) repeat-x;
|
626
|
+
border: 1px solid#30B0C8;
|
627
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
628
|
+
-moz-box-shadow: 0 1px 0 #fff;
|
629
|
+
box-shadow: 0 1px 0 #fff;
|
630
|
+
font-weight: bold;
|
631
|
+
height: 22px;
|
632
|
+
-webkit-border-radius: 5px;
|
633
|
+
-moz-border-radius: 5px;
|
634
|
+
border-radius: 5px;
|
635
|
+
padding: 0 10px;
|
636
|
+
color: #003E49;
|
637
|
+
text-shadow: 0 1px 0 #6CDCF9;
|
638
|
+
cursor: pointer;
|
639
|
+
}
|
640
|
+
|
641
|
+
input[type=submit].alt_btn:hover {
|
642
|
+
color: #001217;
|
643
|
+
}
|
644
|
+
|
645
|
+
input[type=submit].btn_post_message {
|
646
|
+
background: #D0D1D4 url(/assets/appyantra_admin/post_message.png) no-repeat;
|
647
|
+
display: block;
|
648
|
+
width: 37px;
|
649
|
+
border: none;
|
650
|
+
height: 24px;
|
651
|
+
cursor: pointer;
|
652
|
+
text-indent: -5000px;
|
653
|
+
}
|
654
|
+
|
655
|
+
input[type=submit].btn_post_message:hover {
|
656
|
+
background-position: 0 -24px;
|
657
|
+
}
|
658
|
+
|
659
|
+
.post_message {
|
660
|
+
text-align: left;
|
661
|
+
padding: 5px 0;
|
662
|
+
}
|
663
|
+
|
664
|
+
.post_message input[type=text] {
|
665
|
+
-webkit-border-radius: 5px;
|
666
|
+
-moz-border-radius: 5px;
|
667
|
+
border-radius: 5px;
|
668
|
+
border: 1px solid #bbb;
|
669
|
+
height: 20px;
|
670
|
+
width: 70%;
|
671
|
+
color: #ccc;
|
672
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
673
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
674
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
675
|
+
text-indent: 10px;
|
676
|
+
background-position: 10px 6px;
|
677
|
+
float: left;
|
678
|
+
margin: 0 3.5%;
|
679
|
+
}
|
680
|
+
|
681
|
+
.post_message input[type=text]:focus {
|
682
|
+
outline: none;
|
683
|
+
border: 1px solid #77BACE;
|
684
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
685
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
686
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
687
|
+
color: #666666;
|
688
|
+
}
|
689
|
+
|
690
|
+
.post_message input[type=image] {
|
691
|
+
float: left;
|
692
|
+
}
|
693
|
+
|
694
|
+
.message_list {
|
695
|
+
height: 250px;
|
696
|
+
overflow-x:hidden;
|
697
|
+
overflow-y: scroll;
|
698
|
+
}
|
699
|
+
|
700
|
+
.mini_form_box {
|
701
|
+
padding-bottom: 10px;
|
702
|
+
}
|
703
|
+
|
704
|
+
/* formtastic */
|
705
|
+
|
706
|
+
.formtastic fieldset {
|
707
|
+
border: none;
|
708
|
+
}
|
709
|
+
|
710
|
+
.formtastic fieldset ol {
|
711
|
+
list-style-type: none;
|
712
|
+
display: block;
|
713
|
+
}
|
714
|
+
.formtastic fieldset ol li {
|
715
|
+
-webkit-border-radius: 5px;
|
716
|
+
-moz-border-radius: 5px;
|
717
|
+
border-radius: 5px;
|
718
|
+
background: #F6F6F6;
|
719
|
+
border: 1px solid #ccc;
|
720
|
+
padding: 1% 0%;
|
721
|
+
margin: 10px 0;
|
722
|
+
list-style-type: none !important;
|
723
|
+
display: block;
|
724
|
+
}
|
725
|
+
|
726
|
+
.formtastic fieldset.buttons ol li {
|
727
|
+
-webkit-border-radius: 0px;
|
728
|
+
-moz-border-radius: 0px;
|
729
|
+
border-radius: 0px;
|
730
|
+
background: transparent;
|
731
|
+
border: none;
|
732
|
+
padding: 0;
|
733
|
+
margin: 0;
|
734
|
+
}
|
735
|
+
|
736
|
+
.formtastic fieldset.buttons ol {
|
737
|
+
margin-top: 0;
|
738
|
+
}
|
739
|
+
|
740
|
+
li.string, li.number {
|
741
|
+
height: 50px;
|
742
|
+
}
|
743
|
+
|
744
|
+
li.boolean {
|
745
|
+
height: 20px;
|
746
|
+
}
|
747
|
+
|
748
|
+
li.text {
|
749
|
+
height: 300px;
|
750
|
+
}
|
751
|
+
|
752
|
+
.formtastic fieldset ol li label {
|
753
|
+
display: block;
|
754
|
+
float: left;
|
755
|
+
width: 200px;
|
756
|
+
height: 25px !important;
|
757
|
+
line-height: 25px;
|
758
|
+
text-shadow: 0 1px 0 #fff;
|
759
|
+
font-weight: bold;
|
760
|
+
padding-left: 10px;
|
761
|
+
margin: -5px 0 5px 0;
|
762
|
+
text-transform: uppercase;
|
763
|
+
}
|
764
|
+
|
765
|
+
legend.label {
|
766
|
+
height: 25px;
|
767
|
+
}
|
768
|
+
|
769
|
+
.formtastic fieldset ol li input[type=text], .formtastic fieldset ol li input[type=number] {
|
770
|
+
-webkit-border-radius: 5px;
|
771
|
+
-moz-border-radius: 5px;
|
772
|
+
border-radius: 5px;
|
773
|
+
border: 1px solid #BBBBBB;
|
774
|
+
height: 20px;
|
775
|
+
color: #666666;
|
776
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
777
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
778
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
779
|
+
padding-left: 10px;
|
780
|
+
background-position: 10px 6px;
|
781
|
+
margin: 0;
|
782
|
+
display: block;
|
783
|
+
float: left;
|
784
|
+
width: 96%;
|
785
|
+
margin: 0 10px;
|
786
|
+
}
|
787
|
+
|
788
|
+
.formtastic fieldset ol li input[type=text]:focus {
|
789
|
+
outline: none;
|
790
|
+
border: 1px solid #77BACE;
|
791
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
792
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
793
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
794
|
+
}
|
795
|
+
|
796
|
+
.formtastic fieldset ol li select {
|
797
|
+
width: 96%;
|
798
|
+
margin: 0 10px;
|
799
|
+
border: 1px solid #bbb;
|
800
|
+
height: 20px;
|
801
|
+
color: #666666;
|
802
|
+
}
|
803
|
+
|
804
|
+
.formtastic fieldset ol li textarea {
|
805
|
+
-webkit-border-radius: 5px;
|
806
|
+
-moz-border-radius: 5px;
|
807
|
+
border-radius: 5px;
|
808
|
+
border: 1px solid #BBBBBB;
|
809
|
+
color: #666666;
|
810
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
811
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
812
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
813
|
+
padding-left: 10px;
|
814
|
+
background-position: 10px 6px;
|
815
|
+
margin: 0 0.5%;
|
816
|
+
display: block;
|
817
|
+
float: left;
|
818
|
+
width: 96%;
|
819
|
+
margin: 0 10px;
|
820
|
+
}
|
821
|
+
|
822
|
+
.formtastic fieldset ol li textarea:focus {
|
823
|
+
outline: none;
|
824
|
+
border: 1px solid #77BACE;
|
825
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
826
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
827
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
828
|
+
}
|
829
|
+
|
830
|
+
.submit_link {
|
831
|
+
float: left;
|
832
|
+
padding: 5px 0 0 5px;
|
833
|
+
}
|
834
|
+
|
835
|
+
.submit_link select {
|
836
|
+
width: 150px;
|
837
|
+
border: 1px solid #bbb;
|
838
|
+
height: 20px;
|
839
|
+
color: #666666;
|
840
|
+
}
|
841
|
+
|
842
|
+
#main .module_content h1 {
|
843
|
+
color: #333333;
|
844
|
+
text-transform: none;
|
845
|
+
text-shadow: 0 1px 0 #fff;
|
846
|
+
font-size: 22px;
|
847
|
+
margin: 8px 0px;
|
848
|
+
}
|
849
|
+
|
850
|
+
#main .module_content h2 {
|
851
|
+
color: #444444;
|
852
|
+
text-transform: none;
|
853
|
+
text-shadow: 0 1px 0 #fff;
|
854
|
+
font-size: 18px;
|
855
|
+
margin: 8px 0px;
|
856
|
+
}
|
857
|
+
|
858
|
+
#main .module_content h3 {
|
859
|
+
color: #666666;
|
860
|
+
text-transform: uppercase;
|
861
|
+
text-shadow: 0 1px 0 #fff;
|
862
|
+
font-size: 13px;
|
863
|
+
margin: 8px 0px;
|
864
|
+
}
|
865
|
+
|
866
|
+
#main .module_content h4 {
|
867
|
+
color: #666666;
|
868
|
+
text-transform: none;
|
869
|
+
text-shadow: 0 1px 0 #fff;
|
870
|
+
font-size: 13px;
|
871
|
+
margin: 8px 0px;
|
872
|
+
}
|
873
|
+
|
874
|
+
#main .module_content li {
|
875
|
+
line-height: 150%;
|
876
|
+
}
|
877
|
+
|
878
|
+
/* Alerts */
|
879
|
+
|
880
|
+
#main h4.notice {
|
881
|
+
display: block;
|
882
|
+
position: relative;
|
883
|
+
width: 95%;
|
884
|
+
margin: 20px 3% 0 3%;
|
885
|
+
margin-top: 20px;
|
886
|
+
-webkit-border-radius: 5px;
|
887
|
+
-moz-border-radius: 5px;
|
888
|
+
border-radius: 5px;
|
889
|
+
background: #B5E5EF url(/assets/appyantra_admin/icn_alert_info.png) no-repeat;
|
890
|
+
background-position: 10px 10px;
|
891
|
+
border: 1px solid #77BACE;
|
892
|
+
color: #082B33;
|
893
|
+
padding: 10px 0;
|
894
|
+
text-indent: 40px;
|
895
|
+
font-size: 14px;}
|
896
|
+
|
897
|
+
#main h4.alert_warning {
|
898
|
+
display: block;
|
899
|
+
position: relative;
|
900
|
+
width: 95%;
|
901
|
+
margin: 20px 3% 0 3%;
|
902
|
+
margin-top: 20px;
|
903
|
+
-webkit-border-radius: 5px;
|
904
|
+
-moz-border-radius: 5px;
|
905
|
+
border-radius: 5px;
|
906
|
+
background: #F5F3BA url(/assets/appyantra_admin/icn_alert_warning.png) no-repeat;
|
907
|
+
background-position: 10px 10px;
|
908
|
+
border: 1px solid #C7A20D;
|
909
|
+
color: #796616;
|
910
|
+
padding: 10px 0;
|
911
|
+
text-indent: 40px;
|
912
|
+
font-size: 14px;}
|
913
|
+
|
914
|
+
#main h4.alert {
|
915
|
+
display: block;
|
916
|
+
position: relative;
|
917
|
+
width: 95%;
|
918
|
+
margin: 20px 3% 0 3%;
|
919
|
+
margin-top: 20px;
|
920
|
+
-webkit-border-radius: 5px;
|
921
|
+
-moz-border-radius: 5px;
|
922
|
+
border-radius: 5px;
|
923
|
+
background: #F3D9D9 url(/assets/appyantra_admin/icn_alert_error.png) no-repeat;
|
924
|
+
background-position: 10px 10px;
|
925
|
+
border: 1px solid #D20009;
|
926
|
+
color: #7B040F;
|
927
|
+
padding: 10px 0;
|
928
|
+
text-indent: 40px;
|
929
|
+
font-size: 14px;}
|
930
|
+
|
931
|
+
#main h4.alert_success {
|
932
|
+
display: block;
|
933
|
+
position: relative;
|
934
|
+
width: 95%;
|
935
|
+
margin: 20px 3% 0 3%;
|
936
|
+
margin-top: 20px;
|
937
|
+
-webkit-border-radius: 5px;
|
938
|
+
-moz-border-radius: 5px;
|
939
|
+
border-radius: 5px;
|
940
|
+
background: #E2F6C5 url(/assets//icn_alert_success.png) no-repeat;
|
941
|
+
background-position: 10px 10px;
|
942
|
+
border: 1px solid #79C20D;
|
943
|
+
color: #32510F;
|
944
|
+
padding: 10px 0;
|
945
|
+
text-indent: 40px;
|
946
|
+
font-size: 14px;}
|
947
|
+
|
948
|
+
|
949
|
+
/* Customized */
|
950
|
+
.new_button_frame {
|
951
|
+
margin: 5px 10px 0 0;
|
952
|
+
padding: 0;
|
953
|
+
float: right;
|
954
|
+
}
|
955
|
+
p.field_name {
|
956
|
+
color: #900;
|
957
|
+
}
|
958
|
+
.highlight_item {
|
959
|
+
background-color: #D9F8FA;
|
960
|
+
}
|
961
|
+
|
962
|
+
.new_setting_form {
|
963
|
+
margin: 0;
|
964
|
+
}
|
965
|
+
|
966
|
+
.admin_setting, .show_section {
|
967
|
+
margin: 0 0 10px 20px;
|
968
|
+
}
|
969
|
+
|
970
|
+
/* -------------------- start of forms ----------------------- */
|
971
|
+
|
972
|
+
fieldset {
|
973
|
+
-webkit-border-radius: 5px;
|
974
|
+
-moz-border-radius: 5px;
|
975
|
+
border-radius: 5px;
|
976
|
+
background: #F6F6F6;
|
977
|
+
border: 1px solid #ccc;
|
978
|
+
padding: 1% 0%;
|
979
|
+
margin: 10px 10px 5px 10px;
|
980
|
+
width: 93%;
|
981
|
+
}
|
982
|
+
|
983
|
+
fieldset.inputs, fieldset.buttons {
|
984
|
+
padding-right: 40px;
|
985
|
+
margin: 0px;
|
986
|
+
width: 96%;
|
987
|
+
background: #FFF;
|
988
|
+
}
|
989
|
+
|
990
|
+
fieldset label {
|
991
|
+
display: block;
|
992
|
+
float: left;
|
993
|
+
width: 200px;
|
994
|
+
height: 25px;
|
995
|
+
line-height: 25px;
|
996
|
+
text-shadow: 0 1px 0 #fff;
|
997
|
+
font-weight: bold;
|
998
|
+
padding-left: 10px;
|
999
|
+
margin: -5px 0 0px 0;
|
1000
|
+
text-transform: uppercase;
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
fieldset input[type=text], fieldset input[type=email], fieldset input[type=password], fieldset select {
|
1004
|
+
-webkit-border-radius: 5px;
|
1005
|
+
-moz-border-radius: 5px;
|
1006
|
+
border-radius: 5px;
|
1007
|
+
border: 1px solid #BBBBBB;
|
1008
|
+
height: 20px;
|
1009
|
+
color: #666666;
|
1010
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1011
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1012
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1013
|
+
padding-left: 10px;
|
1014
|
+
background-position: 10px 6px;
|
1015
|
+
margin: 0;
|
1016
|
+
display: block;
|
1017
|
+
float: left;
|
1018
|
+
width: 85%;
|
1019
|
+
margin: 0 10px;
|
1020
|
+
}
|
1021
|
+
|
1022
|
+
fieldset select {
|
1023
|
+
width: auto;
|
1024
|
+
}
|
1025
|
+
|
1026
|
+
.select_input {
|
1027
|
+
margin-top: 5px !important;
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
|
1031
|
+
fieldset input[type=checkbox] {
|
1032
|
+
margin: 5px 0 0 10px;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
fieldset input[type=text]:focus, fieldset input[type=email]:focus, fieldset input[type=password]:focus {
|
1036
|
+
outline: none;
|
1037
|
+
border: 1px solid #77BACE;
|
1038
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1039
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1040
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1041
|
+
}
|
1042
|
+
|
1043
|
+
fieldset select {
|
1044
|
+
margin: 0 10px;
|
1045
|
+
border: 1px solid #bbb;
|
1046
|
+
height: 20px;
|
1047
|
+
color: #666666;
|
1048
|
+
}
|
1049
|
+
|
1050
|
+
fieldset textarea {
|
1051
|
+
-webkit-border-radius: 5px;
|
1052
|
+
-moz-border-radius: 5px;
|
1053
|
+
border-radius: 5px;
|
1054
|
+
border: 1px solid #BBBBBB;
|
1055
|
+
color: #666666;
|
1056
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1057
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1058
|
+
box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
|
1059
|
+
padding-left: 10px;
|
1060
|
+
background-position: 10px 6px;
|
1061
|
+
margin: 0 0.5%;
|
1062
|
+
display: block;
|
1063
|
+
float: left;
|
1064
|
+
width: 90%;
|
1065
|
+
margin: 0 10px;
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
fieldset textarea:focus {
|
1069
|
+
outline: none;
|
1070
|
+
border: 1px solid #77BACE;
|
1071
|
+
-webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1072
|
+
-moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1073
|
+
box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
|
1074
|
+
}
|
1075
|
+
|
1076
|
+
fieldset.string, fieldset.number {
|
1077
|
+
height: 50px;
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
fieldset.select {
|
1081
|
+
height: 70px;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
fieldset.boolean {
|
1085
|
+
height: 20px;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
fieldset.boolean label {
|
1089
|
+
float: none;
|
1090
|
+
display: inline-block;
|
1091
|
+
width: auto;
|
1092
|
+
padding-left: 5px;
|
1093
|
+
}
|
1094
|
+
|
1095
|
+
fieldset.boolean input {
|
1096
|
+
margin-left: 20px;
|
1097
|
+
}
|
1098
|
+
|
1099
|
+
fieldset.text {
|
1100
|
+
height: 300px;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
fieldset.small_text {
|
1104
|
+
height: 110px;
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
fieldset.small_text textarea {
|
1108
|
+
height: 80px;
|
1109
|
+
}
|
1110
|
+
|
1111
|
+
fieldset.rich_text textarea {
|
1112
|
+
height: 500px;
|
1113
|
+
}
|
1114
|
+
|
1115
|
+
form input[type=submit] {
|
1116
|
+
margin-left: 10px;
|
1117
|
+
}
|
1118
|
+
|
1119
|
+
form div.form_message {
|
1120
|
+
margin: 20px 0 0 100px;
|
1121
|
+
}
|
1122
|
+
|
1123
|
+
fieldset em {
|
1124
|
+
margin: 0 0 0 10px;
|
1125
|
+
top: 5px;
|
1126
|
+
position: relative;
|
1127
|
+
}
|
1128
|
+
|
1129
|
+
/* -------------------- end of forms ------------------------ */
|
1130
|
+
|
1131
|
+
/* -------------------- start landing page styles ------------------------ */
|
1132
|
+
|
1133
|
+
.landing_container {
|
1134
|
+
margin-left: 350px;
|
1135
|
+
}
|
1136
|
+
|
1137
|
+
.landing_header {
|
1138
|
+
margin-left: 120px !important;
|
1139
|
+
background: none !important;
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
.landing_alert {
|
1143
|
+
margin-left: 150px;
|
1144
|
+
background: none !important;
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
/* -------------------- end landing page styles ------------------------ */
|
1148
|
+
|
1149
|
+
.setting_entity {
|
1150
|
+
|
1151
|
+
}
|
1152
|
+
|
1153
|
+
.setting_entity a {
|
1154
|
+
margin-left: 5px;
|
1155
|
+
}
|
1156
|
+
|
1157
|
+
.setting_entity h4 {
|
1158
|
+
margin-left: 20px;
|
1159
|
+
}
|
1160
|
+
|
1161
|
+
.close_btn {
|
1162
|
+
float: right;
|
1163
|
+
cursor: pointer;
|
1164
|
+
position: absolute;
|
1165
|
+
top: 0px;
|
1166
|
+
right: 5px;
|
1167
|
+
font-size: 12px;
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
.article_margin {
|
1171
|
+
margin-left: 10px;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
/*
|
1175
|
+
.fancy_button {
|
1176
|
+
background: #D0D1D4 url(/assets/appyantra_admin/btn_submit_2.png) repeat-x;
|
1177
|
+
border: 1px solid#30B0C8;
|
1178
|
+
-webkit-box-shadow: 0 1px 0 #fff;
|
1179
|
+
-moz-box-shadow: 0 1px 0 #fff;
|
1180
|
+
box-shadow: 0 1px 0 #fff;
|
1181
|
+
font-weight: bold;
|
1182
|
+
height: 22px;
|
1183
|
+
-webkit-border-radius: 5px;
|
1184
|
+
-moz-border-radius: 5px;
|
1185
|
+
border-radius: 5px;
|
1186
|
+
padding: 0 10px;
|
1187
|
+
color: #001217 !important;
|
1188
|
+
text-decoration: none !important;
|
1189
|
+
text-shadow: 0 1px 0 #6CDCF9;
|
1190
|
+
cursor: pointer;
|
1191
|
+
}/*
|