bookyt 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/images/16x16/add.png +0 -0
- data/app/assets/images/16x16/alert.png +0 -0
- data/app/assets/images/16x16/combolink.png +0 -0
- data/app/assets/images/16x16/copy.png +0 -0
- data/app/assets/images/16x16/delete.png +0 -0
- data/app/assets/images/16x16/edit.png +0 -0
- data/app/assets/images/16x16/filter.png +0 -0
- data/app/assets/images/16x16/index.png +0 -0
- data/app/assets/images/16x16/notice.png +0 -0
- data/app/assets/images/16x16/pdf.png +0 -0
- data/app/assets/images/16x16/print.png +0 -0
- data/app/assets/images/16x16/show.png +0 -0
- data/app/assets/images/22x22/arrow-right.png +0 -0
- data/app/assets/images/22x22/edit.png +0 -0
- data/app/assets/images/22x22/insert_booking.png +0 -0
- data/app/assets/images/22x22/remove.png +0 -0
- data/app/assets/images/32x32/edit.png +0 -0
- data/app/assets/images/32x32/remove.png +0 -0
- data/app/assets/images/48x48/accounting.png +0 -0
- data/app/assets/images/48x48/basic_claims_data.png +0 -0
- data/app/assets/images/48x48/contacts.png +0 -0
- data/app/assets/images/48x48/invoicing.png +0 -0
- data/app/assets/images/48x48/nav_users.png +0 -0
- data/app/assets/images/48x48/settings.png +0 -0
- data/app/assets/images/48x48/store.png +0 -0
- data/app/assets/images/button_bg.png +0 -0
- data/app/assets/images/crystal-icons/16x16/filter.png +0 -0
- data/app/assets/images/down.png +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/flavour-extended/48x48/invoice.png +0 -0
- data/app/assets/images/free-business-desktop-icons/48x48/business.png +0 -0
- data/app/assets/images/gnome-web-icons/48x48/Gnome-X-Office-Address-Book-48.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_75_759fcf_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_85_aeb9cf_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_gloss-wave_55_aeb9cf_500x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_inset-hard_100_759fcf_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-bg_inset-hard_100_f6f6f6_1x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_217bc0_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_469bdd_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_6da8d5_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_d8e7f3_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_f9bd01_256x240.png +0 -0
- data/app/assets/images/jquery/tooltip/black_arrow.png +0 -0
- data/app/assets/images/letter-logo.alpha.png +0 -0
- data/app/assets/images/letter-logo.big.png +0 -0
- data/app/assets/images/letter-logo.orig.png +0 -0
- data/app/assets/images/letter-logo.png +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/application-pdf.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/document-preview.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/document-print.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/edit-copy.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/go-next.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/mail-mark-notjunk.png +0 -0
- data/app/assets/images/oxygen-icons/16x16/status_unknown.png +0 -0
- data/app/assets/images/oxygen-icons/48x48/system-users.png +0 -0
- data/app/assets/images/rails.png +0 -0
- data/app/assets/images/up.png +0 -0
- data/app/assets/javascripts/application.js +49 -0
- data/app/assets/javascripts/cyt.js +86 -0
- data/app/assets/javascripts/jquery-ui.js +11437 -0
- data/app/assets/javascripts/jquery.dirtyform.js +242 -0
- data/app/assets/javascripts/jquery.form.js +785 -0
- data/app/assets/javascripts/jquery.js +8936 -0
- data/app/assets/javascripts/jquery.meio.mask.js +683 -0
- data/app/assets/javascripts/jquery.remotipart.js +46 -0
- data/app/assets/javascripts/jquery.ui.combobox.js +77 -0
- data/app/assets/javascripts/jquery_ujs.js +316 -0
- data/app/assets/javascripts/nested_form.js +51 -0
- data/app/assets/javascripts/tooltip.js +343 -0
- data/app/assets/stylesheets/.gitkeep +0 -0
- data/app/assets/stylesheets/ie.scss +16 -0
- data/app/assets/stylesheets/ie6.scss +4 -0
- data/app/assets/stylesheets/partials/_base.sass +39 -0
- data/app/assets/stylesheets/partials/_content.sass +60 -0
- data/app/assets/stylesheets/partials/_jquery.sass +2 -0
- data/app/assets/stylesheets/partials/_layout.sass +21 -0
- data/app/assets/stylesheets/partials/_sidebar.sass +5 -0
- data/app/assets/stylesheets/partials/content/_accounting.sass +41 -0
- data/app/assets/stylesheets/partials/content/_ajax_indicator.sass +28 -0
- data/app/assets/stylesheets/partials/content/_app.sass +43 -0
- data/app/assets/stylesheets/partials/content/_combobox.sass +8 -0
- data/app/assets/stylesheets/partials/content/_cyt.sass +200 -0
- data/app/assets/stylesheets/partials/content/_fancy_buttons.sass +10 -0
- data/app/assets/stylesheets/partials/content/_flash_errors.sass +46 -0
- data/app/assets/stylesheets/partials/content/_form_view.sass +20 -0
- data/app/assets/stylesheets/partials/content/_icons.sass +35 -0
- data/app/assets/stylesheets/partials/content/_invoice.sass +6 -0
- data/app/assets/stylesheets/partials/content/_overview.sass +40 -0
- data/app/assets/stylesheets/partials/content/_pagination.sass +61 -0
- data/app/assets/stylesheets/partials/content/_person.sass +5 -0
- data/app/assets/stylesheets/partials/content/_scaffold.sass +67 -0
- data/app/assets/stylesheets/partials/content/_table_list.sass +26 -0
- data/app/assets/stylesheets/partials/content/formtastic/_formtastic.sass +201 -0
- data/app/assets/stylesheets/partials/content/formtastic/_formtastic_cyt.sass +90 -0
- data/app/assets/stylesheets/partials/formtastic/_custom_fields.sass +2 -0
- data/app/assets/stylesheets/partials/formtastic/_formtastic_base.sass +652 -0
- data/app/assets/stylesheets/partials/jquery/_jquery_ui.sass +1461 -0
- data/app/assets/stylesheets/partials/jquery/_tooltip.sass +21 -0
- data/app/assets/stylesheets/partials/layout/_header.sass +29 -0
- data/app/assets/stylesheets/partials/layout/_navigation.sass +2 -0
- data/app/assets/stylesheets/partials/layout/navigation/_main.sass +34 -0
- data/app/assets/stylesheets/partials/layout/navigation/_sidebar.sass +18 -0
- data/app/assets/stylesheets/partials/print/_app.sass +21 -0
- data/app/assets/stylesheets/partials/print/_layout.sass +24 -0
- data/app/assets/stylesheets/print.scss +5 -0
- data/app/assets/stylesheets/screen.scss +12 -0
- data/app/controllers/account_types_controller.rb +2 -0
- data/app/controllers/accounts_controller.rb +30 -0
- data/app/controllers/application_controller.rb +12 -0
- data/app/controllers/attachments_controller.rb +15 -0
- data/app/controllers/authorized_controller.rb +24 -0
- data/app/controllers/bank_accounts_controller.rb +2 -0
- data/app/controllers/booking_imports_controller.rb +2 -0
- data/app/controllers/booking_templates_controller.rb +8 -0
- data/app/controllers/bookings_controller.rb +64 -0
- data/app/controllers/charge_booking_templates_controller.rb +2 -0
- data/app/controllers/charge_rates_controller.rb +2 -0
- data/app/controllers/companies_controller.rb +8 -0
- data/app/controllers/credit_invoices_controller.rb +29 -0
- data/app/controllers/customers_controller.rb +12 -0
- data/app/controllers/debit_invoices_controller.rb +43 -0
- data/app/controllers/direct_bookings_controller.rb +17 -0
- data/app/controllers/employees_controller.rb +3 -0
- data/app/controllers/employments_controller.rb +2 -0
- data/app/controllers/invoices_controller.rb +21 -0
- data/app/controllers/notes_controller.rb +34 -0
- data/app/controllers/overview_controller.rb +6 -0
- data/app/controllers/people_controller.rb +13 -0
- data/app/controllers/salaries_controller.rb +46 -0
- data/app/controllers/tenants_controller.rb +39 -0
- data/app/controllers/users_controller.rb +26 -0
- data/app/helpers/application_helper.rb +52 -0
- data/app/helpers/booking_helper.rb +10 -0
- data/app/helpers/booking_template_helper.rb +17 -0
- data/app/helpers/charge_rate_helper.rb +5 -0
- data/app/helpers/invoice_helper.rb +9 -0
- data/app/helpers/vat_rate_helper.rb +10 -0
- data/app/inputs/combobox_input.rb +23 -0
- data/app/inputs/date_field_input.rb +5 -0
- data/app/inputs/hour_field_input.rb +5 -0
- data/app/models/ability.rb +34 -0
- data/app/models/attachment.rb +13 -0
- data/app/models/booking_import.rb +8 -0
- data/app/models/booking_import_observer.rb +7 -0
- data/app/models/booking_reference.rb +4 -0
- data/app/models/booking_template.rb +92 -0
- data/app/models/charge_booking_template.rb +57 -0
- data/app/models/charge_rate.rb +30 -0
- data/app/models/civil_status.rb +5 -0
- data/app/models/company.rb +5 -0
- data/app/models/credit_invoice.rb +32 -0
- data/app/models/customer.rb +4 -0
- data/app/models/debit_invoice.rb +24 -0
- data/app/models/employee.rb +6 -0
- data/app/models/employment.rb +28 -0
- data/app/models/invoice.rb +145 -0
- data/app/models/line_item.rb +22 -0
- data/app/models/note.rb +8 -0
- data/app/models/person.rb +65 -0
- data/app/models/product.rb +2 -0
- data/app/models/profit.rb +9 -0
- data/app/models/religion.rb +5 -0
- data/app/models/role.rb +9 -0
- data/app/models/salary.rb +93 -0
- data/app/models/tenant.rb +43 -0
- data/app/models/user.rb +44 -0
- data/app/models/vat_rate.rb +11 -0
- data/app/uploaders/attachment_uploader.rb +12 -0
- data/app/views/account_types/_account_type.html.haml +6 -0
- data/app/views/account_types/_form.html.haml +7 -0
- data/app/views/account_types/_list.html.haml +7 -0
- data/app/views/account_types/index.html.haml +6 -0
- data/app/views/account_types/show.html.haml +6 -0
- data/app/views/accounts/_account.html.haml +12 -0
- data/app/views/accounts/_booking_item.html.haml +15 -0
- data/app/views/accounts/_booking_list.html.haml +19 -0
- data/app/views/accounts/_booking_list_footer.html.haml +2 -0
- data/app/views/accounts/_booking_list_header.html.haml +8 -0
- data/app/views/accounts/_booking_list_paginate.html.haml +5 -0
- data/app/views/accounts/_booking_list_saldo.html.haml +8 -0
- data/app/views/accounts/_booking_list_turnover.html.haml +9 -0
- data/app/views/accounts/_carry_booking.html.haml +9 -0
- data/app/views/accounts/_form.html.haml +10 -0
- data/app/views/accounts/_list_footer.html.haml +2 -0
- data/app/views/accounts/_list_header.html.haml +5 -0
- data/app/views/accounts/index.html.haml +8 -0
- data/app/views/accounts/show.html.haml +10 -0
- data/app/views/application/_form.html.haml +7 -0
- data/app/views/application/_list.html.haml +15 -0
- data/app/views/application/_search_form.html.haml +5 -0
- data/app/views/application/_show.html.haml +2 -0
- data/app/views/application/create.js.erb +3 -0
- data/app/views/application/destroy.js.erb +2 -0
- data/app/views/application/edit.html.haml +5 -0
- data/app/views/application/edit.js.erb +3 -0
- data/app/views/application/index.html.haml +7 -0
- data/app/views/application/new.html.haml +5 -0
- data/app/views/application/new.js.erb +3 -0
- data/app/views/application/show.html.haml +5 -0
- data/app/views/application/update.js.erb +3 -0
- data/app/views/attachments/_attachment.html.haml +5 -0
- data/app/views/attachments/_form.html.haml +15 -0
- data/app/views/attachments/_list.html.haml +6 -0
- data/app/views/bank_accounts/_bank_account.html.haml +1 -0
- data/app/views/booking_imports/_booking_import.html.haml +5 -0
- data/app/views/booking_imports/_form.html.haml +6 -0
- data/app/views/booking_imports/_list.html.haml +7 -0
- data/app/views/booking_imports/create.js.erb +4 -0
- data/app/views/booking_imports/index.html.haml +6 -0
- data/app/views/booking_imports/show.html.haml +6 -0
- data/app/views/booking_templates/_booking_template.html.haml +16 -0
- data/app/views/booking_templates/_form.html.haml +12 -0
- data/app/views/booking_templates/_list.html.haml +10 -0
- data/app/views/booking_templates/index.html.haml +6 -0
- data/app/views/bookings/_booking.html.haml +17 -0
- data/app/views/bookings/_form.html.haml +14 -0
- data/app/views/bookings/_list.html.haml +11 -0
- data/app/views/bookings/_new_form.html.haml +8 -0
- data/app/views/bookings/_sidebar.html.haml +7 -0
- data/app/views/bookings/_simple_form.html.haml +12 -0
- data/app/views/bookings/index.html.haml +9 -0
- data/app/views/bookings/new.html.haml +8 -0
- data/app/views/bookings/select.html.haml +11 -0
- data/app/views/bookings/show.html.haml +27 -0
- data/app/views/bookings/simple_edit.html.haml +4 -0
- data/app/views/charge_booking_templates/_charge_booking_template.html.haml +15 -0
- data/app/views/charge_booking_templates/_form.html.haml +12 -0
- data/app/views/charge_booking_templates/_list.html.haml +10 -0
- data/app/views/charge_rates/_form.html.haml +14 -0
- data/app/views/companies/_company.html.haml +5 -0
- data/app/views/companies/_form.html.haml +8 -0
- data/app/views/companies/_list.html.haml +6 -0
- data/app/views/companies/index.html.haml +6 -0
- data/app/views/companies/show.html.haml +27 -0
- data/app/views/credit_invoices/_credit_invoice.html.haml +9 -0
- data/app/views/credit_invoices/_form.html.haml +41 -0
- data/app/views/credit_invoices/_list.html.haml +20 -0
- data/app/views/credit_invoices/index.html.haml +7 -0
- data/app/views/credit_invoices/show.html.haml +56 -0
- data/app/views/customers/_customer.html.haml +5 -0
- data/app/views/customers/_form.html.haml +8 -0
- data/app/views/customers/_list.html.haml +6 -0
- data/app/views/customers/index.html.haml +6 -0
- data/app/views/customers/show.html.haml +22 -0
- data/app/views/debit_invoices/_debit_invoice.html.haml +9 -0
- data/app/views/debit_invoices/_form.html.haml +38 -0
- data/app/views/debit_invoices/_invoice_body.html.haml +8 -0
- data/app/views/debit_invoices/_invoice_info.html.haml +10 -0
- data/app/views/debit_invoices/_invoice_parties.html.haml +9 -0
- data/app/views/debit_invoices/_list.html.haml +21 -0
- data/app/views/debit_invoices/index.html.haml +7 -0
- data/app/views/debit_invoices/letter.html.haml +9 -0
- data/app/views/debit_invoices/letter.pdf.prawn +57 -0
- data/app/views/debit_invoices/show.html.haml +56 -0
- data/app/views/devise/confirmations/new.html.haml +10 -0
- data/app/views/devise/mailer/confirmation_instructions.html.haml +6 -0
- data/app/views/devise/mailer/reset_password_instructions.html.haml +10 -0
- data/app/views/devise/mailer/unlock_instructions.html.haml +8 -0
- data/app/views/devise/passwords/edit.html.haml +15 -0
- data/app/views/devise/passwords/new.html.haml +11 -0
- data/app/views/devise/sessions/new.html.haml +13 -0
- data/app/views/devise/shared/_links.haml +15 -0
- data/app/views/devise/unlocks/new.html.haml +11 -0
- data/app/views/direct_bookings/_form.html.haml +12 -0
- data/app/views/direct_bookings/_item.html.haml +17 -0
- data/app/views/direct_bookings/_list.html.haml +10 -0
- data/app/views/direct_bookings/_list_footer.html.haml +6 -0
- data/app/views/direct_bookings/_show.html.haml +3 -0
- data/app/views/direct_bookings/_show_all.html.haml +8 -0
- data/app/views/direct_bookings/list.js.erb +2 -0
- data/app/views/direct_bookings/new.js.erb +2 -0
- data/app/views/employees/_employee.html.haml +5 -0
- data/app/views/employees/_form.html.haml +19 -0
- data/app/views/employees/_list.html.haml +6 -0
- data/app/views/employees/index.html.haml +6 -0
- data/app/views/employees/show.html.haml +31 -0
- data/app/views/employments/_employment.html.haml +10 -0
- data/app/views/employments/_form.html.haml +24 -0
- data/app/views/employments/_list.html.haml +11 -0
- data/app/views/employments/_show.html.haml +9 -0
- data/app/views/employments/index.html.haml +5 -0
- data/app/views/invoices/_form.html.haml +13 -0
- data/app/views/invoices/_invoice.html.haml +7 -0
- data/app/views/invoices/_list.html.haml +20 -0
- data/app/views/invoices/_sidebar.html.haml +11 -0
- data/app/views/invoices/index.html.haml +17 -0
- data/app/views/invoices/show.html.haml +56 -0
- data/app/views/layouts/_flash_new.html.haml +1 -0
- data/app/views/layouts/_list_item_actions_for.html.haml +3 -0
- data/app/views/layouts/application.html.haml +46 -0
- data/app/views/line_items/_form.html.haml +6 -0
- data/app/views/line_items/_line_item.html.haml +7 -0
- data/app/views/line_items/_list_footer.html.haml +7 -0
- data/app/views/notes/_form.html.haml +10 -0
- data/app/views/notes/_list.html.haml +15 -0
- data/app/views/notes/index.html.haml +9 -0
- data/app/views/notes/show.html.haml +12 -0
- data/app/views/overview/index.html.haml +14 -0
- data/app/views/people/_form.html.haml +8 -0
- data/app/views/people/_list.html.haml +7 -0
- data/app/views/people/_person.html.haml +6 -0
- data/app/views/people/_show.html.haml +6 -0
- data/app/views/people/show.html.haml +21 -0
- data/app/views/persons/_civil.html.haml +5 -0
- data/app/views/persons/_show.html.haml +6 -0
- data/app/views/salaries/_form.html.haml +14 -0
- data/app/views/salaries/_list.html.haml +12 -0
- data/app/views/salaries/_salary.html.haml +10 -0
- data/app/views/salaries/_salary_certificate.html.haml +25 -0
- data/app/views/salaries/payslip.html.haml +40 -0
- data/app/views/salaries/show.html.haml +30 -0
- data/app/views/salaries/statistics.html.haml +6 -0
- data/app/views/tenants/_account.html.haml +7 -0
- data/app/views/tenants/_account_group_sheet.html.haml +8 -0
- data/app/views/tenants/_form.html.haml +17 -0
- data/app/views/tenants/_list.html.haml +7 -0
- data/app/views/tenants/_tenant.html.haml +7 -0
- data/app/views/tenants/balance_sheet.html.haml +43 -0
- data/app/views/tenants/index.html.haml +6 -0
- data/app/views/tenants/new.js.erb +1 -0
- data/app/views/tenants/profit_sheet.html.haml +26 -0
- data/app/views/tenants/show.html.haml +18 -0
- data/app/views/users/_demo.de-CH.html.haml +7 -0
- data/app/views/users/_demo.de.html.haml +7 -0
- data/app/views/users/_demo.html.haml +7 -0
- data/app/views/users/_form.html.haml +17 -0
- data/app/views/users/_list.html.haml +9 -0
- data/app/views/users/_show.html.haml +13 -0
- data/app/views/users/_user.html.haml +7 -0
- data/app/views/users/index.html.haml +6 -0
- data/app/views/users/new.js.erb +1 -0
- data/app/views/users/show.html.haml +14 -0
- data/lib/acts_as_csv.rb +113 -0
- data/lib/bookyt/engine.rb +18 -0
- data/lib/bookyt/version.rb +3 -0
- data/lib/float.rb +17 -0
- data/lib/pagination_list_link_renderer.rb +63 -0
- data/lib/parse_date.rb +27 -0
- data/lib/prawn/letter_document.rb +136 -0
- data/lib/raiffeisen_importer.rb +15 -0
- data/lib/recipes/bookyt.rb +15 -0
- data/lib/simple_navigation/renderer/list.rb +20 -0
- data/lib/simple_navigation/renderer/overview.rb +46 -0
- data/lib/sqlite3_extensions.rb +45 -0
- data/lib/tasks/.gitkeep +0 -0
- data/lib/tasks/bookyt.rake +15 -0
- data/lib/tasks/cucumber.rake +53 -0
- data/lib/tasks/environment_seeds.rake +7 -0
- data/lib/tasks/users.rake +46 -0
- metadata +423 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
=overview-icon-48($ident, $icon: $ident)
|
2
|
+
ul.overview-list li
|
3
|
+
&#overview-#{$ident}, &.#{$ident}
|
4
|
+
+icon($icon, 48)
|
5
|
+
|
6
|
+
ul.overview-list.level-1
|
7
|
+
+no-bullets
|
8
|
+
+horizontal-list
|
9
|
+
li // All items
|
10
|
+
a
|
11
|
+
border-bottom: 1px solid black
|
12
|
+
display: block
|
13
|
+
&#overview-overview
|
14
|
+
display: none
|
15
|
+
>li
|
16
|
+
// Top level
|
17
|
+
background: no-repeat 0.4em 0.8em
|
18
|
+
// Fix horizontal-list to not drop padding in first and last item
|
19
|
+
&, .first, &:first-child, .last, &:last-child
|
20
|
+
padding-left: 60px
|
21
|
+
padding-right: 40px
|
22
|
+
min-height: 58px
|
23
|
+
+border-radius($border_radius)
|
24
|
+
background-color: #f6f6f6
|
25
|
+
border: 1px solid #e4e4e4
|
26
|
+
color: #505050
|
27
|
+
margin: 1em
|
28
|
+
padding-top: 0.8em
|
29
|
+
padding-bottom: 0.8em
|
30
|
+
width: 20%
|
31
|
+
ul // Level > 1
|
32
|
+
margin-top: 5px
|
33
|
+
li
|
34
|
+
display: block
|
35
|
+
float: none
|
36
|
+
padding-left: 0px
|
37
|
+
width: inherit
|
38
|
+
min-height: 1em
|
39
|
+
a
|
40
|
+
border-bottom: none
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/*
|
2
|
+
*Code based on will_paginate example CSS at http://github.com/mislav/will_paginate/tree/gh-pages
|
3
|
+
**
|
4
|
+
.digg_pagination
|
5
|
+
background: white
|
6
|
+
/* self-clearing method:
|
7
|
+
|
8
|
+
.digg_pagination a, .digg_pagination span, .digg_pagination em
|
9
|
+
+border-radius($border_radius / 1.5)
|
10
|
+
padding: 0.2em 0.5em
|
11
|
+
display: block
|
12
|
+
float: left
|
13
|
+
margin-right: 1px
|
14
|
+
|
15
|
+
.digg_pagination span.disabled
|
16
|
+
color: #999999
|
17
|
+
border: 1px solid #dddddd
|
18
|
+
|
19
|
+
.digg_pagination em
|
20
|
+
font-weight: bold
|
21
|
+
background: #2e6ab1
|
22
|
+
color: white
|
23
|
+
border: 1px solid #2e6ab1
|
24
|
+
|
25
|
+
.digg_pagination a
|
26
|
+
text-decoration: none
|
27
|
+
color: #105cb6
|
28
|
+
border: 1px solid #9aafe5
|
29
|
+
|
30
|
+
.digg_pagination a:hover, .digg_pagination a:focus
|
31
|
+
color: #000033
|
32
|
+
border-color: #000033
|
33
|
+
|
34
|
+
.digg_pagination .page_info
|
35
|
+
background: #2e6ab1
|
36
|
+
color: white
|
37
|
+
padding: 0.4em 0.6em
|
38
|
+
width: 22em
|
39
|
+
margin-bottom: 0.3em
|
40
|
+
text-align: center
|
41
|
+
|
42
|
+
.digg_pagination .page_info b
|
43
|
+
color: #000033
|
44
|
+
background: #6aa6ed
|
45
|
+
padding: 0.1em 0.25em
|
46
|
+
|
47
|
+
.digg_pagination:after
|
48
|
+
content: "."
|
49
|
+
display: block
|
50
|
+
height: 0
|
51
|
+
clear: both
|
52
|
+
visibility: hidden
|
53
|
+
|
54
|
+
* html .digg_pagination
|
55
|
+
height: 1%
|
56
|
+
|
57
|
+
*:first-child+html .digg_pagination
|
58
|
+
overflow: hidden
|
59
|
+
|
60
|
+
.digg_paggination a.per_page
|
61
|
+
border: 0
|
@@ -0,0 +1,67 @@
|
|
1
|
+
body
|
2
|
+
background-color: white
|
3
|
+
color: #333333
|
4
|
+
font-family: verdana, arial, helvetica, sans-serif
|
5
|
+
font-size: 13px
|
6
|
+
line-height: 18px
|
7
|
+
|
8
|
+
p, ol, ul, td
|
9
|
+
font-family: verdana, arial, helvetica, sans-serif
|
10
|
+
font-size: 13px
|
11
|
+
line-height: 18px
|
12
|
+
|
13
|
+
pre
|
14
|
+
background-color: #eeeeee
|
15
|
+
padding: 10px
|
16
|
+
font-size: 11px
|
17
|
+
|
18
|
+
a
|
19
|
+
color: black
|
20
|
+
&:visited
|
21
|
+
color: #666666
|
22
|
+
&:hover
|
23
|
+
color: white
|
24
|
+
background-color: black
|
25
|
+
|
26
|
+
.fieldWithErrors
|
27
|
+
padding: 2px
|
28
|
+
background-color: red
|
29
|
+
display: table
|
30
|
+
|
31
|
+
#errorExplanation
|
32
|
+
width: 400px
|
33
|
+
border: 2px solid red
|
34
|
+
padding: 7px
|
35
|
+
padding-bottom: 12px
|
36
|
+
margin-bottom: 20px
|
37
|
+
background-color: #f0f0f0
|
38
|
+
h2
|
39
|
+
text-align: left
|
40
|
+
font-weight: bold
|
41
|
+
padding: 5px 5px 5px 15px
|
42
|
+
font-size: 12px
|
43
|
+
margin: -7px
|
44
|
+
background-color: #cc0000
|
45
|
+
color: white
|
46
|
+
p
|
47
|
+
color: #333333
|
48
|
+
margin-bottom: 0
|
49
|
+
padding: 5px
|
50
|
+
ul li
|
51
|
+
font-size: 12px
|
52
|
+
list-style: square
|
53
|
+
|
54
|
+
div
|
55
|
+
&.uploadStatus
|
56
|
+
margin: 5px
|
57
|
+
&.progressBar
|
58
|
+
margin: 5px
|
59
|
+
div
|
60
|
+
&.border
|
61
|
+
background-color: white
|
62
|
+
border: 1px solid grey
|
63
|
+
width: 100%
|
64
|
+
&.background
|
65
|
+
background-color: #333333
|
66
|
+
height: 18px
|
67
|
+
width: 0%
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// Based on Redmine from the redmine.css
|
2
|
+
// begin
|
3
|
+
table.list
|
4
|
+
border: 1px solid #e4e4e4
|
5
|
+
border-collapse: collapse
|
6
|
+
width: 100%
|
7
|
+
margin-bottom: 4px
|
8
|
+
th
|
9
|
+
background-color: #eeeeee
|
10
|
+
padding: 4px
|
11
|
+
white-space: nowrap
|
12
|
+
td
|
13
|
+
vertical-align: top
|
14
|
+
&.id
|
15
|
+
width: 2%
|
16
|
+
text-align: center
|
17
|
+
&.checkbox
|
18
|
+
width: 15px
|
19
|
+
padding: 0px
|
20
|
+
|
21
|
+
// end
|
22
|
+
|
23
|
+
table.list
|
24
|
+
th, td
|
25
|
+
&.number
|
26
|
+
text-align: right
|
@@ -0,0 +1,201 @@
|
|
1
|
+
/* -------------------------------------------------------------------------------------------------
|
2
|
+
*
|
3
|
+
*It's *strongly* suggested that you don't modify this file. Instead, load a new stylesheet after
|
4
|
+
*this one in your layouts (eg formtastic_changes.css) and override the styles to suit your needs.
|
5
|
+
*This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
6
|
+
*
|
7
|
+
*This stylesheet forms part of the Formtastic Rails Plugin
|
8
|
+
*(c) 2008 Justin French
|
9
|
+
*
|
10
|
+
*--------------------------------------------------------------------------------------------------
|
11
|
+
|
12
|
+
/* NORMALIZE AND RESET - obviously inspired by Yahoo's reset.css, but scoped to just form.formtastic
|
13
|
+
*--------------------------------------------------------------------------------------------------
|
14
|
+
|
15
|
+
form.formtastic
|
16
|
+
margin: 0
|
17
|
+
padding: 0
|
18
|
+
ul, ol, li, fieldset, legend, input, textarea, select, p
|
19
|
+
margin: 0
|
20
|
+
padding: 0
|
21
|
+
fieldset
|
22
|
+
border: 0
|
23
|
+
em, strong
|
24
|
+
font-style: normal
|
25
|
+
font-weight: normal
|
26
|
+
ol, ul
|
27
|
+
list-style: none
|
28
|
+
abbr, acronym
|
29
|
+
border: 0
|
30
|
+
font-variant: normal
|
31
|
+
input, textarea, select
|
32
|
+
font-family: inherit
|
33
|
+
font-size: inherit
|
34
|
+
font-weight: inherit
|
35
|
+
input, textarea, select
|
36
|
+
font-size: 100%
|
37
|
+
legend
|
38
|
+
white-space: normal
|
39
|
+
color: black
|
40
|
+
ul.errors
|
41
|
+
color: #cc0000
|
42
|
+
margin: 0.5em 0 1.5em 25%
|
43
|
+
list-style: square
|
44
|
+
li
|
45
|
+
padding: 0
|
46
|
+
border: none
|
47
|
+
display: list-item
|
48
|
+
fieldset
|
49
|
+
&.inputs
|
50
|
+
&.buttons
|
51
|
+
padding-left: 25%
|
52
|
+
ol
|
53
|
+
&.buttons li
|
54
|
+
float: left
|
55
|
+
padding-right: 0.5em
|
56
|
+
display: inline-block
|
57
|
+
&:after
|
58
|
+
content: "."
|
59
|
+
display: block
|
60
|
+
height: 0
|
61
|
+
clear: both
|
62
|
+
visibility: hidden
|
63
|
+
|
64
|
+
// SEMANTIC ERRORS
|
65
|
+
// FIELDSETS & LISTS
|
66
|
+
// clearfixing the fieldsets
|
67
|
+
html[xmlns] form.formtastic fieldset
|
68
|
+
display: block
|
69
|
+
|
70
|
+
* html form.formtastic fieldset
|
71
|
+
height: 1%
|
72
|
+
|
73
|
+
// INPUT LIs
|
74
|
+
form.formtastic fieldset > ol > li
|
75
|
+
margin-bottom: 1.5em
|
76
|
+
display: inline-block
|
77
|
+
&:after
|
78
|
+
content: "."
|
79
|
+
display: block
|
80
|
+
height: 0
|
81
|
+
clear: both
|
82
|
+
visibility: hidden
|
83
|
+
|
84
|
+
// clearfixing the li's
|
85
|
+
html[xmlns] form.formtastic fieldset > ol > li
|
86
|
+
display: block
|
87
|
+
|
88
|
+
* html form.formtastic fieldset > ol > li
|
89
|
+
height: 1%
|
90
|
+
|
91
|
+
form.formtastic fieldset
|
92
|
+
> ol > li
|
93
|
+
&.required, &.optional, &.error
|
94
|
+
label
|
95
|
+
display: block
|
96
|
+
width: 25%
|
97
|
+
float: left
|
98
|
+
padding-top: 0.2em
|
99
|
+
> li label
|
100
|
+
line-height: 100%
|
101
|
+
padding-top: 0
|
102
|
+
input
|
103
|
+
line-height: 100%
|
104
|
+
vertical-align: middle
|
105
|
+
margin-top: -0.1em
|
106
|
+
fieldset
|
107
|
+
position: relative
|
108
|
+
legend
|
109
|
+
position: absolute
|
110
|
+
width: 95%
|
111
|
+
padding-top: 0.1em
|
112
|
+
left: 0px
|
113
|
+
span, &.label label
|
114
|
+
position: absolute
|
115
|
+
ol
|
116
|
+
float: left
|
117
|
+
width: 74%
|
118
|
+
margin: 0
|
119
|
+
padding: 0 0 0 25%
|
120
|
+
li
|
121
|
+
padding: 0
|
122
|
+
border: 0
|
123
|
+
p
|
124
|
+
&.inline-hints
|
125
|
+
color: #666666
|
126
|
+
margin: 0.5em 0 0 25%
|
127
|
+
&.inline-errors
|
128
|
+
color: #cc0000
|
129
|
+
margin: 0.5em 0 0 25%
|
130
|
+
ul.errors
|
131
|
+
color: #cc0000
|
132
|
+
margin: 0.5em 0 0 25%
|
133
|
+
list-style: square
|
134
|
+
li
|
135
|
+
padding: 0
|
136
|
+
border: none
|
137
|
+
display: list-item
|
138
|
+
&.string input
|
139
|
+
max-width: 74%
|
140
|
+
&.password input
|
141
|
+
max-width: 13em
|
142
|
+
&.numeric input
|
143
|
+
max-width: 74%
|
144
|
+
&.text textarea
|
145
|
+
width: 74%
|
146
|
+
ol li.hidden
|
147
|
+
display: none
|
148
|
+
|
149
|
+
// LABELS
|
150
|
+
// NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
|
151
|
+
// INLINE HINTS
|
152
|
+
// INLINE ERRORS
|
153
|
+
// STRING & NUMERIC OVERRIDES
|
154
|
+
// TEXTAREA OVERRIDES
|
155
|
+
|
156
|
+
// HIDDEN OVERRIDES
|
157
|
+
// The dual declarations are required because of our clearfix display hack on the LIs, which is more
|
158
|
+
// specific than the more general rule below.
|
159
|
+
// TODO: Revist the clearing hack and this rule.
|
160
|
+
html[xmlns] form.formtastic fieldset ol li.hidden
|
161
|
+
display: none
|
162
|
+
|
163
|
+
// BOOLEAN OVERRIDES
|
164
|
+
form.formtastic fieldset > ol > li
|
165
|
+
&.boolean label
|
166
|
+
padding-left: 25%
|
167
|
+
width: auto
|
168
|
+
input
|
169
|
+
margin: 0 0.5em 0 0.2em
|
170
|
+
&.radio fieldset ol
|
171
|
+
margin-bottom: -0.6em
|
172
|
+
li
|
173
|
+
margin: 0.1em 0 0.5em 0
|
174
|
+
label
|
175
|
+
float: none
|
176
|
+
width: 100%
|
177
|
+
input
|
178
|
+
margin-right: 0.2em
|
179
|
+
&.check_boxes fieldset ol
|
180
|
+
margin-bottom: -0.6em
|
181
|
+
li
|
182
|
+
margin: 0.1em 0 0.5em 0
|
183
|
+
label
|
184
|
+
float: none
|
185
|
+
width: 100%
|
186
|
+
input
|
187
|
+
margin-right: 0.2em
|
188
|
+
&.date fieldset ol li, &.time fieldset ol li, &.datetime fieldset ol li
|
189
|
+
float: left
|
190
|
+
width: auto
|
191
|
+
margin: 0 0.3em 0 0
|
192
|
+
&.date fieldset ol li label, &.time fieldset ol li label, &.datetime fieldset ol li label
|
193
|
+
display: none
|
194
|
+
&.date fieldset ol li label input, &.time fieldset ol li label input, &.datetime fieldset ol li label input
|
195
|
+
display: inline
|
196
|
+
margin: 0
|
197
|
+
padding: 0
|
198
|
+
|
199
|
+
// RADIO OVERRIDES
|
200
|
+
// CHECK BOXES (COLLECTION) OVERRIDES
|
201
|
+
// DATE & TIME OVERRIDES
|
@@ -0,0 +1,90 @@
|
|
1
|
+
// Load this stylesheet after formtastic.css in your layouts to override the CSS to suit your needs.
|
2
|
+
// This will allow you to update formtastic.css with new releases without clobbering your own changes.
|
3
|
+
//
|
4
|
+
// For example, to make the inline hint paragraphs a little darker in color than the standard #666:
|
5
|
+
// form.formtastic fieldset ol li p.inline-hints { color:#333; }
|
6
|
+
|
7
|
+
// FORMS
|
8
|
+
|
9
|
+
form.formtastic
|
10
|
+
+border-radius($border_radius)
|
11
|
+
padding: 6px
|
12
|
+
margin-bottom: 10px
|
13
|
+
background-color: #f6f6f6
|
14
|
+
color: #505050
|
15
|
+
line-height: 1.5em
|
16
|
+
border: 1px solid #e4e4e4
|
17
|
+
fieldset > ol > li.boolean label
|
18
|
+
padding-left: 15%
|
19
|
+
ul.errors
|
20
|
+
color: #cc0000
|
21
|
+
margin: 0.5em 0 1.5em 15%
|
22
|
+
list-style: square
|
23
|
+
li.error
|
24
|
+
input
|
25
|
+
border-color: #cc0000
|
26
|
+
> ol > li
|
27
|
+
p.inline-errors
|
28
|
+
color: #dd0000
|
29
|
+
padding-left: 6px
|
30
|
+
margin: 0 0 0 15%
|
31
|
+
// Date-picker styling
|
32
|
+
input.hasDatepicker
|
33
|
+
width: 85px
|
34
|
+
legend
|
35
|
+
color: #505050
|
36
|
+
font-style: italic
|
37
|
+
padding-left: 1em
|
38
|
+
padding-right: 1em
|
39
|
+
|
40
|
+
// LABELS
|
41
|
+
form.formtastic fieldset.inputs
|
42
|
+
padding: 1em
|
43
|
+
width: 97%
|
44
|
+
border-bottom: 1px solid #e4e4e4
|
45
|
+
margin-bottom: 10px
|
46
|
+
fieldset
|
47
|
+
border-bottom: none
|
48
|
+
margin-bottom: 10px
|
49
|
+
|
50
|
+
form.formtastic fieldset
|
51
|
+
ol li label
|
52
|
+
width: 15%
|
53
|
+
margin-right: 0.5em
|
54
|
+
text-align: right
|
55
|
+
font-weight: normal
|
56
|
+
color: #808080
|
57
|
+
> ol > li
|
58
|
+
label
|
59
|
+
font-weight: normal
|
60
|
+
&.required
|
61
|
+
color: #484848
|
62
|
+
abbr
|
63
|
+
color: #bb0000
|
64
|
+
margin-left: 0.2em
|
65
|
+
fieldset ol
|
66
|
+
float: left
|
67
|
+
width: 74%
|
68
|
+
margin: 0
|
69
|
+
padding: 0 0 0 15%
|
70
|
+
p
|
71
|
+
&.inline-hints
|
72
|
+
margin: 0.5em 0 0 15%
|
73
|
+
&.inline-errors
|
74
|
+
margin: 0.5em 0 0 15%
|
75
|
+
ul.errors
|
76
|
+
margin: 0.5em 0 0 15%
|
77
|
+
ol li
|
78
|
+
margin-bottom: 0.5em
|
79
|
+
&.buttons
|
80
|
+
padding-left: 15%
|
81
|
+
ol
|
82
|
+
margin-left: 0.5em
|
83
|
+
input.icon
|
84
|
+
background-position: 3px 3px
|
85
|
+
padding: 3px
|
86
|
+
padding-left: 20px
|
87
|
+
|
88
|
+
// Fix textareas
|
89
|
+
form.formtastic fieldset > ol > li.text textarea
|
90
|
+
width: 70%
|