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,21 @@
|
|
1
|
+
@import blueprint/liquid
|
2
|
+
@import compass/typography/lists/horizontal-list
|
3
|
+
@import partials/layout/header
|
4
|
+
@import partials/layout/navigation
|
5
|
+
|
6
|
+
body
|
7
|
+
+blueprint-liquid-grid
|
8
|
+
|
9
|
+
#container
|
10
|
+
+container
|
11
|
+
|
12
|
+
#content-column
|
13
|
+
+column($column_content)
|
14
|
+
+last
|
15
|
+
|
16
|
+
#sidebar-column
|
17
|
+
+column($column_sidebar)
|
18
|
+
|
19
|
+
#sidebar-column,
|
20
|
+
#content-column
|
21
|
+
margin-top: 10px
|
@@ -0,0 +1,41 @@
|
|
1
|
+
// Accounting
|
2
|
+
.currency
|
3
|
+
text-align: right
|
4
|
+
white-space: pre
|
5
|
+
|
6
|
+
// Balance and Profit Sheet
|
7
|
+
#balance-sheet table table, #profit-sheet table table
|
8
|
+
border-spacing: 0px
|
9
|
+
|
10
|
+
#balance-sheet table table td, #profit-sheet table table td
|
11
|
+
padding: 0.4em
|
12
|
+
|
13
|
+
#balance-sheet td, #profit-sheet td
|
14
|
+
vertical-align: top
|
15
|
+
color: black
|
16
|
+
|
17
|
+
#balance-sheet a, #profit-sheet a
|
18
|
+
color: black
|
19
|
+
|
20
|
+
#balance-sheet tr.total
|
21
|
+
td, th
|
22
|
+
color: white
|
23
|
+
background-color: #444444
|
24
|
+
|
25
|
+
#profit-sheet tr.total
|
26
|
+
td, th
|
27
|
+
color: white
|
28
|
+
background-color: #444444
|
29
|
+
|
30
|
+
// Accounting **
|
31
|
+
tr.currency, th.currency
|
32
|
+
text-align: right
|
33
|
+
|
34
|
+
.booking_list tr
|
35
|
+
td
|
36
|
+
background-color: white
|
37
|
+
border-left: 0px none
|
38
|
+
border-right: 0px none
|
39
|
+
border-bottom: 1px solid
|
40
|
+
border-left: 0px none
|
41
|
+
border-right: 0px none
|
@@ -0,0 +1,28 @@
|
|
1
|
+
// Snippet from Redmine.css
|
2
|
+
// Ajax indicator *****
|
3
|
+
#ajax-indicator
|
4
|
+
position: absolute
|
5
|
+
/* fixed not supported by IE
|
6
|
+
background-color: #eeeeee
|
7
|
+
border: 1px solid #bbbbbb
|
8
|
+
top: 35%
|
9
|
+
left: 40%
|
10
|
+
width: 20%
|
11
|
+
font-weight: bold
|
12
|
+
text-align: center
|
13
|
+
padding: 0.6em
|
14
|
+
z-index: 100
|
15
|
+
filter: alpha(opacity = 50)
|
16
|
+
opacity: 0.5
|
17
|
+
|
18
|
+
html>body #ajax-indicator
|
19
|
+
position: fixed
|
20
|
+
|
21
|
+
#ajax-indicator span
|
22
|
+
background-position: 0% 40%
|
23
|
+
background-repeat: no-repeat
|
24
|
+
background-image: image-url("loading.gif")
|
25
|
+
padding-left: 26px
|
26
|
+
vertical-align: bottom
|
27
|
+
|
28
|
+
// End of snippet
|
@@ -0,0 +1,43 @@
|
|
1
|
+
@import partials/content/invoice
|
2
|
+
@import partials/content/accounting
|
3
|
+
|
4
|
+
// Overview
|
5
|
+
// ========
|
6
|
+
ul.overview-list.level-1 >li
|
7
|
+
min-height: 11em
|
8
|
+
|
9
|
+
+overview-icon-48("store")
|
10
|
+
+overview-icon-48("accounting")
|
11
|
+
+overview-icon-48("invoicing")
|
12
|
+
+overview-icon-48("basic_claims_data")
|
13
|
+
+overview-icon-48("settings")
|
14
|
+
+overview-icon-48("nav_users")
|
15
|
+
+overview-icon-48("contacts")
|
16
|
+
|
17
|
+
// Icons
|
18
|
+
// =====
|
19
|
+
// Actions
|
20
|
+
+icon-text("new", "add")
|
21
|
+
+icon-text("copy")
|
22
|
+
+icon-class("new", "add")
|
23
|
+
+icon-class("copy")
|
24
|
+
+icon-class("only_credit_bookings", "filter")
|
25
|
+
+icon-class("only_debit_bookings", "filter")
|
26
|
+
+icon-class("all_bookings", "filter")
|
27
|
+
+icon-class("print")
|
28
|
+
|
29
|
+
// MIME-types
|
30
|
+
+icon-class("pdf", "pdf")
|
31
|
+
|
32
|
+
// tables
|
33
|
+
table.list
|
34
|
+
th, td
|
35
|
+
padding: 1px 4px
|
36
|
+
th
|
37
|
+
font-size: 120%
|
38
|
+
font-weight: bolder
|
39
|
+
|
40
|
+
// Alternating row
|
41
|
+
table.list
|
42
|
+
tr.odd
|
43
|
+
background-color: #ffffee
|
@@ -0,0 +1,200 @@
|
|
1
|
+
// Imports
|
2
|
+
@import compass/css3/box-shadow
|
3
|
+
@import partials/content/formtastic/formtastic
|
4
|
+
@import partials/content/formtastic/formtastic_cyt
|
5
|
+
|
6
|
+
// CyT **
|
7
|
+
body
|
8
|
+
color: #484848
|
9
|
+
background: #f3f3f3
|
10
|
+
+sanserif-font
|
11
|
+
|
12
|
+
#container
|
13
|
+
margin-top: $h2_size
|
14
|
+
width: 95%
|
15
|
+
|
16
|
+
#header
|
17
|
+
background-color: #aeb9cf
|
18
|
+
height: 54px
|
19
|
+
margin: 0
|
20
|
+
color: #f8f8f8
|
21
|
+
padding: 4px 8px 0px 6px
|
22
|
+
position: relative
|
23
|
+
+border-radius($border_radius)
|
24
|
+
border: 1px solid #dddddd
|
25
|
+
a
|
26
|
+
color: #f8f8f8
|
27
|
+
|
28
|
+
// Content
|
29
|
+
#content
|
30
|
+
margin: 0px
|
31
|
+
padding: $content_padding
|
32
|
+
+sanserif-font
|
33
|
+
font-size: $text_size
|
34
|
+
|
35
|
+
#content-column
|
36
|
+
background-color: white
|
37
|
+
border: 1px solid #dddddd
|
38
|
+
margin-left: -2px
|
39
|
+
+border-radius($border_radius)
|
40
|
+
|
41
|
+
* html #content
|
42
|
+
padding-left: 0
|
43
|
+
margin-top: 0px
|
44
|
+
padding: $content_padding
|
45
|
+
|
46
|
+
html>body
|
47
|
+
#content-column,
|
48
|
+
#sidebar-column
|
49
|
+
min-height: 600px
|
50
|
+
|
51
|
+
* html body
|
52
|
+
#content-column,
|
53
|
+
#sidebar-column
|
54
|
+
height: 600px
|
55
|
+
|
56
|
+
// Sidebar
|
57
|
+
.sidebar,
|
58
|
+
#sidebar-column
|
59
|
+
background-color: white
|
60
|
+
+sanserif-font
|
61
|
+
font-size: $text_size
|
62
|
+
+border-radius($border_radius)
|
63
|
+
|
64
|
+
.sidebar
|
65
|
+
margin: 0px
|
66
|
+
padding-left: 10px
|
67
|
+
margin-bottom: 10px
|
68
|
+
ul
|
69
|
+
+no-bullets
|
70
|
+
|
71
|
+
#sidebar-column
|
72
|
+
margin-right: 10px
|
73
|
+
border: 1px solid #dddddd
|
74
|
+
|
75
|
+
// Login form
|
76
|
+
#login-form
|
77
|
+
table
|
78
|
+
margin-top: 5em
|
79
|
+
padding: 1em
|
80
|
+
margin-left: auto
|
81
|
+
margin-right: auto
|
82
|
+
border: 2px solid #fdbf3b
|
83
|
+
background-color: #ffebc1
|
84
|
+
td
|
85
|
+
padding: 6px
|
86
|
+
label
|
87
|
+
font-weight: bold
|
88
|
+
|
89
|
+
table th
|
90
|
+
text-align: left
|
91
|
+
font-size: 90%
|
92
|
+
|
93
|
+
h2, h3, h4
|
94
|
+
border-bottom: 1px solid #bbbbbb
|
95
|
+
|
96
|
+
// Welcome
|
97
|
+
.welcome
|
98
|
+
margin: 2em
|
99
|
+
margin-bottom: 3.5em
|
100
|
+
p
|
101
|
+
width: 100%
|
102
|
+
font-size: 13pt
|
103
|
+
font-variant: italic
|
104
|
+
img
|
105
|
+
margin-right: 0.5em
|
106
|
+
float: left
|
107
|
+
|
108
|
+
// Forms
|
109
|
+
.fieldWithErrors
|
110
|
+
display: inline
|
111
|
+
input
|
112
|
+
border-color: #dd0000
|
113
|
+
|
114
|
+
// Combobox Actions
|
115
|
+
.combobox-action
|
116
|
+
display: inline
|
117
|
+
float: right
|
118
|
+
|
119
|
+
// Icons
|
120
|
+
.destroy
|
121
|
+
float: right
|
122
|
+
|
123
|
+
td.action-links
|
124
|
+
border: none 0px
|
125
|
+
|
126
|
+
th.action-links
|
127
|
+
width: 40px
|
128
|
+
&.count-3
|
129
|
+
width: 48px
|
130
|
+
|
131
|
+
.contextual48
|
132
|
+
float: right
|
133
|
+
white-space: nowrap
|
134
|
+
line-height: 1.4em
|
135
|
+
margin-top: 30px
|
136
|
+
padding-left: 10px
|
137
|
+
font-size: 0.9em
|
138
|
+
|
139
|
+
.icon
|
140
|
+
background-position: 0% 40%
|
141
|
+
background-repeat: no-repeat
|
142
|
+
padding-left: 20px
|
143
|
+
padding-top: 2px
|
144
|
+
padding-bottom: 3px
|
145
|
+
|
146
|
+
.icon22
|
147
|
+
background-position: 0% 40%
|
148
|
+
background-repeat: no-repeat
|
149
|
+
padding-left: 26px
|
150
|
+
line-height: 22px
|
151
|
+
vertical-align: middle
|
152
|
+
|
153
|
+
.icon48
|
154
|
+
background-position: 0% 40%
|
155
|
+
background-repeat: no-repeat
|
156
|
+
padding-left: 60px
|
157
|
+
line-height: 48px
|
158
|
+
vertical-align: middle
|
159
|
+
|
160
|
+
// restful-authentication
|
161
|
+
#right-menu
|
162
|
+
float: right
|
163
|
+
div
|
164
|
+
margin: 0.2em
|
165
|
+
|
166
|
+
#user-bar-greeting, #user-bar-action
|
167
|
+
display: inline
|
168
|
+
|
169
|
+
#user-bar-greeting a, #user-bar-action a
|
170
|
+
font-weight: bold
|
171
|
+
|
172
|
+
// Navigation
|
173
|
+
.navigation_section
|
174
|
+
margin: 2em
|
175
|
+
margin-bottom: 3.5em
|
176
|
+
img
|
177
|
+
margin-right: 1em
|
178
|
+
float: left
|
179
|
+
ul
|
180
|
+
list-style-type: none
|
181
|
+
li
|
182
|
+
text-align: left
|
183
|
+
font-weight: bold
|
184
|
+
font-style: italic
|
185
|
+
|
186
|
+
// Boxes
|
187
|
+
.box
|
188
|
+
+border-radius($border_radius)
|
189
|
+
background-color: #f6f6f6
|
190
|
+
border: 1px solid #e4e4e4
|
191
|
+
color: #505050
|
192
|
+
line-height: 1.5em
|
193
|
+
margin-bottom: 1em
|
194
|
+
padding: 0.8em
|
195
|
+
|
196
|
+
.subbox, form.formtastic fieldset.subbox
|
197
|
+
border: solid 2px white
|
198
|
+
+border-radius($border_radius / 2)
|
199
|
+
padding: 1em
|
200
|
+
width: 97%
|
@@ -0,0 +1,46 @@
|
|
1
|
+
// Snippet from Redmine.css
|
2
|
+
// Flash & error messages ***
|
3
|
+
|
4
|
+
#errorExplanation, div.flash, .nodata, .warning
|
5
|
+
padding: 4px 4px 4px 30px
|
6
|
+
margin-bottom: 12px
|
7
|
+
font-size: 1.1em
|
8
|
+
border: 1px solid
|
9
|
+
+border-radius($border_radius)
|
10
|
+
|
11
|
+
div.flash
|
12
|
+
margin-top: 8px
|
13
|
+
&.error
|
14
|
+
background: image-url("16x16/alert.png") 8px 5px no-repeat
|
15
|
+
background-color: #ffe3e3
|
16
|
+
border-color: #550000
|
17
|
+
color: #550000
|
18
|
+
|
19
|
+
#errorExplanation
|
20
|
+
background: image-url("16x16/alert.png") 8px 5px no-repeat
|
21
|
+
background-color: #ffe3e3
|
22
|
+
border-color: #550000
|
23
|
+
color: #550000
|
24
|
+
|
25
|
+
div.flash.notice
|
26
|
+
background: image-url("16x16/notice.png") 8px 5px no-repeat
|
27
|
+
background-color: #dfffdf
|
28
|
+
border-color: #9fcf9f
|
29
|
+
color: #005f00
|
30
|
+
|
31
|
+
div.flash.alert
|
32
|
+
background: image-url("16x16/alert.png") 8px 5px no-repeat
|
33
|
+
background-color: #ffe3e3
|
34
|
+
border-color: #550000
|
35
|
+
color: #550000
|
36
|
+
|
37
|
+
.nodata, .warning
|
38
|
+
text-align: center
|
39
|
+
background-color: #ffebc1
|
40
|
+
border-color: #fdbf3b
|
41
|
+
color: #a6750c
|
42
|
+
|
43
|
+
#errorExplanation ul
|
44
|
+
font-size: 0.9em
|
45
|
+
|
46
|
+
// End of Snippet
|
@@ -0,0 +1,20 @@
|
|
1
|
+
.form-view
|
2
|
+
form, form.formtastic
|
3
|
+
background-color: transparent
|
4
|
+
padding: 0px
|
5
|
+
|
6
|
+
input, textarea, select
|
7
|
+
border: 1px dashed #DDDDDD
|
8
|
+
border-radius: 3px
|
9
|
+
padding: 3px
|
10
|
+
&.changed, &:focus
|
11
|
+
background-color: #FFFFE0
|
12
|
+
background-image: none // Fix for combobox
|
13
|
+
|
14
|
+
fieldset.buttons
|
15
|
+
display: none
|
16
|
+
|
17
|
+
input::-webkit-outer-spin-button,
|
18
|
+
input::-webkit-inner-spin-button
|
19
|
+
-webkit-appearance: none
|
20
|
+
margin: 0
|
@@ -0,0 +1,35 @@
|
|
1
|
+
@import compass/typography/text/replacement
|
2
|
+
|
3
|
+
=icon-text($ident, $icon: $ident, $size: 16)
|
4
|
+
.icon-#{$ident}-text
|
5
|
+
+replace-text-with-dimensions("#{$size}x#{$size}/#{$icon}.png")
|
6
|
+
display: block
|
7
|
+
float: left
|
8
|
+
|
9
|
+
=icon($ident, $size: 16)
|
10
|
+
background-image: image-url("#{$size}x#{$size}/#{$ident}.png")
|
11
|
+
|
12
|
+
=icon-class($ident, $icon: $ident, $size: 16)
|
13
|
+
.icon-#{$ident}
|
14
|
+
+icon($icon, $size)
|
15
|
+
|
16
|
+
.icon
|
17
|
+
background-repeat: no-repeat
|
18
|
+
padding-left: 20px
|
19
|
+
text-decoration: none
|
20
|
+
font-size: 16px
|
21
|
+
color: $link_color
|
22
|
+
&:hover
|
23
|
+
color: $link_color_hover
|
24
|
+
|
25
|
+
+icon-class("add")
|
26
|
+
+icon-class("delete")
|
27
|
+
+icon-class("edit")
|
28
|
+
+icon-class("index")
|
29
|
+
+icon-class("show")
|
30
|
+
|
31
|
+
+icon-text("add")
|
32
|
+
+icon-text("delete")
|
33
|
+
+icon-text("edit")
|
34
|
+
+icon-text("index")
|
35
|
+
+icon-text("show")
|