Version Description
- Introduction of New Version 2.0
- Introduction of Pagination for Images
- Bulk Delete of Images in Album
- General Settings for all Albums
- Individual Settings for Album
- New Design & Style
Download this release
Release Info
Developer | Gallery-Bank |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 2.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.8.7 to 2.0.0
- .project +1 -6
- album-cover.png +0 -0
- assets/css/bootstrap.css +1713 -0
- assets/css/elfinder.css +385 -0
- assets/css/fancybox.css +80 -0
- assets/css/font.css +286 -0
- assets/css/font/fontawesome-webfont.eot +0 -0
- assets/css/font/fontawesome-webfont.svg +255 -0
- assets/css/font/fontawesome-webfont.ttf +0 -0
- assets/css/font/fontawesome-webfont.woff +0 -0
- assets/css/ie.css +20 -0
- assets/css/jquery.titanlighbox.css +367 -0
- assets/css/main.css +1242 -0
- {css → assets/css}/plugins.css +247 -491
- {css → assets/css}/system-message.css +2 -2
- assets/css/ui_custom.css +202 -0
- {images → assets/images}/backgrounds/bg.png +0 -0
- assets/images/backgrounds/bg2.png +0 -0
- assets/images/backgrounds/body_bg.png +0 -0
- assets/images/backgrounds/default.jpg +0 -0
- assets/images/backgrounds/opacity.png +0 -0
- assets/images/backgrounds/opacity2.png +0 -0
- assets/images/blank.gif +0 -0
- assets/images/elements/checkboxes/handle.png +0 -0
- assets/images/elements/checkboxes/handle2.png +0 -0
- assets/images/elements/checkboxes/ibutton-slider-default.png +0 -0
- assets/images/elements/checkboxes/no.png +0 -0
- assets/images/elements/checkboxes/off.png +0 -0
- assets/images/elements/checkboxes/off2.png +0 -0
- assets/images/elements/checkboxes/on.png +0 -0
- assets/images/elements/checkboxes/on2.png +0 -0
- assets/images/elements/checkboxes/yes.png +0 -0
- assets/images/elements/forms/add_files.png +0 -0
- assets/images/elements/forms/checkboxes.png +0 -0
- assets/images/elements/forms/closeSelection.png +0 -0
- assets/images/elements/forms/dropdown-search.png +0 -0
- assets/images/elements/forms/main-search.png +0 -0
- assets/images/elements/forms/radios.png +0 -0
- assets/images/elements/forms/select-arrow.png +0 -0
- assets/images/elements/forms/sidebar_checkboxes.png +0 -0
- assets/images/elements/forms/sidebar_dropdown_arrows.png +0 -0
- assets/images/elements/forms/sidebar_dropdown_usual.png +0 -0
- assets/images/elements/forms/sidebar_radios.png +0 -0
- assets/images/elements/forms/smallClose.png +0 -0
- assets/images/elements/forms/spinner-bottom.png +0 -0
- assets/images/elements/forms/spinner-top.png +0 -0
- assets/images/elements/loaders/1.gif +0 -0
- assets/images/elements/loaders/10.gif +0 -0
- assets/images/elements/loaders/10s.gif +0 -0
- assets/images/elements/loaders/1s.gif +0 -0
- assets/images/elements/loaders/2.gif +0 -0
- assets/images/elements/loaders/2s.gif +0 -0
- assets/images/elements/loaders/3.gif +0 -0
- assets/images/elements/loaders/3s.gif +0 -0
- assets/images/elements/loaders/4.gif +0 -0
- assets/images/elements/loaders/4s.gif +0 -0
- assets/images/elements/loaders/5.gif +0 -0
- assets/images/elements/loaders/5s.gif +0 -0
- assets/images/elements/loaders/6.gif +0 -0
- assets/images/elements/loaders/6s.gif +0 -0
- assets/images/elements/loaders/7.gif +0 -0
- assets/images/elements/loaders/7s.gif +0 -0
- assets/images/elements/loaders/8.gif +0 -0
- assets/images/elements/loaders/8s.gif +0 -0
- assets/images/elements/loaders/9.gif +0 -0
- assets/images/elements/loaders/9s.gif +0 -0
- assets/images/elements/other/contact_status.png +0 -0
- assets/images/elements/other/done.png +0 -0
- assets/images/elements/other/dropped.png +0 -0
- assets/images/elements/other/grown.png +0 -0
- assets/images/elements/other/link.png +0 -0
- assets/images/elements/other/list_arrow.png +0 -0
- assets/images/elements/other/messageArrow_left.png +0 -0
- assets/images/elements/other/messageArrow_right.png +0 -0
- assets/images/elements/other/photo.png +0 -0
- {images → assets/images/elements/ui}/dateArrows.png +0 -0
- {images → assets/images}/elements/ui/handle.png +0 -0
- {images → assets/images}/elements/ui/progressOverlay.png +0 -0
- {images → assets/images}/elements/ui/progress_overlay.png +0 -0
- assets/images/elfinder/arrows-active.png +0 -0
- assets/images/elfinder/arrows-normal.png +0 -0
- assets/images/elfinder/crop.gif +0 -0
- assets/images/elfinder/dialogs.png +0 -0
- assets/images/elfinder/icons-big.png +0 -0
- assets/images/elfinder/icons-small.png +0 -0
- assets/images/elfinder/progress.gif +0 -0
- assets/images/elfinder/ql.png +0 -0
- assets/images/elfinder/quicklook-bg.png +0 -0
- assets/images/elfinder/quicklook-icons.png +0 -0
- assets/images/elfinder/resize.png +0 -0
- assets/images/elfinder/spinner-mini.gif +0 -0
- assets/images/elfinder/spinner.gif +0 -0
- assets/images/elfinder/toolbar.png +0 -0
- assets/images/icons/active_state.png +0 -0
- assets/images/icons/calendar.png +0 -0
- assets/images/icons/color-16/Thumbs.db +0 -0
- assets/images/icons/color-16/address-book-open.png +0 -0
- assets/images/icons/color-16/address-book.png +0 -0
- assets/images/icons/color-16/android.png +0 -0
- assets/images/icons/color-16/application-plus-black.png +0 -0
- assets/images/icons/color-16/application-plus.png +0 -0
- assets/images/icons/color-16/application-split-tile.png +0 -0
- assets/images/icons/color-16/application.png +0 -0
- assets/images/icons/color-16/arrow-circle-double.png +0 -0
- assets/images/icons/color-16/arrow-circle.png +0 -0
- assets/images/icons/color-16/arrow-curve-090.png +0 -0
- assets/images/icons/color-16/arrow-curve-180.png +0 -0
- assets/images/icons/color-16/arrow-curve-270.png +0 -0
- assets/images/icons/color-16/arrow-curve.png +0 -0
- assets/images/icons/color-16/arrow-in-out.png +0 -0
- assets/images/icons/color-16/arrow-in.png +0 -0
- assets/images/icons/color-16/arrow-resize-045.png +0 -0
- assets/images/icons/color-16/auction-hammer.png +0 -0
- assets/images/icons/color-16/baggage-cart-box.png +0 -0
- assets/images/icons/color-16/balloon-ellipsis.png +0 -0
- assets/images/icons/color-16/bank.png +0 -0
- assets/images/icons/color-16/barcode-2d.png +0 -0
- assets/images/icons/color-16/battery-full.png +0 -0
- assets/images/icons/color-16/bell.png +0 -0
- assets/images/icons/color-16/binocular.png +0 -0
- assets/images/icons/color-16/block.png +0 -0
- assets/images/icons/color-16/blog.png +0 -0
- assets/images/icons/color-16/blue-document-access.png +0 -0
- assets/images/icons/color-16/blue-document-excel.png +0 -0
- assets/images/icons/color-16/blue-document-flash-movie.png +0 -0
- assets/images/icons/color-16/blue-document-illustrator.png +0 -0
- assets/images/icons/color-16/blue-document-number.png +0 -0
- assets/images/icons/color-16/blue-document-pdf-text.png +0 -0
- assets/images/icons/color-16/blue-document-photoshop-image.png +0 -0
- assets/images/icons/color-16/blue-document-powerpoint.png +0 -0
- assets/images/icons/color-16/book-brown.png +0 -0
- assets/images/icons/color-16/book-open.png +0 -0
- assets/images/icons/color-16/box-document.png +0 -0
- assets/images/icons/color-16/briefcase.png +0 -0
- assets/images/icons/color-16/calendar-day.png +0 -0
- assets/images/icons/color-16/calendar-list.png +0 -0
- assets/images/icons/color-16/calendar-month.png +0 -0
- assets/images/icons/color-16/calendar-task.png +0 -0
- assets/images/icons/color-16/cards-address.png +0 -0
- assets/images/icons/color-16/category.png +0 -0
- assets/images/icons/color-16/chain.png +0 -0
- assets/images/icons/color-16/chart-pie-separate.png +0 -0
- assets/images/icons/color-16/chart.png +0 -0
- assets/images/icons/color-16/chevron-expand.png +0 -0
- assets/images/icons/color-16/chevron.png +0 -0
- assets/images/icons/color-16/color-swatches.png +0 -0
- assets/images/icons/color-16/contrast.png +0 -0
- assets/images/icons/color-16/cross.png +0 -0
- assets/images/icons/color-16/currency.png +0 -0
- assets/images/icons/color-16/cursor.png +0 -0
- assets/images/icons/color-16/database.png +0 -0
- assets/images/icons/color-16/databases.png +0 -0
- assets/images/icons/color-16/disc.png +0 -0
- assets/images/icons/color-16/disk-return-black.png +0 -0
- assets/images/icons/color-16/document-access.png +0 -0
- assets/images/icons/color-16/document-excel.png +0 -0
- assets/images/icons/color-16/document-flash-movie.png +0 -0
- assets/images/icons/color-16/document-pdf-text.png +0 -0
- assets/images/icons/color-16/document-task.png +0 -0
- assets/images/icons/color-16/document-tree.png +0 -0
- assets/images/icons/color-16/document-word-text.png +0 -0
- assets/images/icons/color-16/document-zipper.png +0 -0
- assets/images/icons/color-16/drive-disc.png +0 -0
- assets/images/icons/color-16/edit-column.png +0 -0
- assets/images/icons/color-16/exclamation.png +0 -0
- assets/images/icons/color-16/external.png +0 -0
- assets/images/icons/color-16/feed.png +0 -0
- assets/images/icons/color-16/film.png +0 -0
- assets/images/icons/color-16/flask.png +0 -0
- assets/images/icons/color-16/game.png +0 -0
- assets/images/icons/color-16/grid.png +0 -0
- assets/images/icons/color-16/guide.png +0 -0
- assets/images/icons/color-16/hammer.png +0 -0
- assets/images/icons/color-16/hand-point-090.png +0 -0
- assets/images/icons/color-16/hand-point.png +0 -0
- assets/images/icons/color-16/home.png +0 -0
- assets/images/icons/color-16/hourglass.png +0 -0
- assets/images/icons/color-16/image-crop.png +0 -0
- assets/images/icons/color-16/image-resize-actual.png +0 -0
- assets/images/icons/color-16/image-resize.png +0 -0
- assets/images/icons/color-16/information.png +0 -0
- assets/images/icons/color-16/layer-resize.png +0 -0
- assets/images/icons/color-16/layer-vector.png +0 -0
- assets/images/icons/color-16/layers-ungroup.png +0 -0
- assets/images/icons/color-16/layout-3-mix.png +0 -0
- assets/images/icons/color-16/layout-6.png +0 -0
- assets/images/icons/color-16/lifebuoy.png +0 -0
- assets/images/icons/color-16/mail.png +0 -0
- assets/images/icons/color-16/minus-circle.png +0 -0
- assets/images/icons/color-16/money.png +0 -0
- assets/images/icons/color-16/monitor-window.png +0 -0
- assets/images/icons/color-16/monitor.png +0 -0
- assets/images/icons/color-16/music-beam.png +0 -0
- assets/images/icons/color-16/node-select.png +0 -0
- assets/images/icons/color-16/notebook.png +0 -0
- assets/images/icons/color-16/paint-brush.png +0 -0
- assets/images/icons/color-16/paint-can.png +0 -0
- assets/images/icons/color-16/palette.png +0 -0
- assets/images/icons/color-16/paper-clip.png +0 -0
- assets/images/icons/color-16/pencil.png +0 -0
- assets/images/icons/color-16/pin.png +0 -0
- assets/images/icons/color-16/plus.png +0 -0
- assets/images/icons/color-16/present.png +0 -0
- assets/images/icons/color-16/projection-screen.png +0 -0
- assets/images/icons/color-16/question.png +0 -0
- assets/images/icons/color-16/report-paper.png +0 -0
- assets/images/icons/color-16/ruler.png +0 -0
- assets/images/icons/color-16/scissors.png +0 -0
- assets/images/icons/color-16/selection-input.png +0 -0
- assets/images/icons/color-16/shopping-basket.png +0 -0
- assets/images/icons/color-16/sitemap.png +0 -0
- assets/images/icons/color-16/speaker-volume.png +0 -0
- assets/images/icons/color-16/spectrum.png +0 -0
- assets/images/icons/color-16/star.png +0 -0
- assets/images/icons/color-16/store.png +0 -0
- assets/images/icons/color-16/switch.png +0 -0
- assets/images/icons/color-16/television.png +0 -0
- assets/images/icons/color-16/thumb-up.png +0 -0
- assets/images/icons/color-16/thumb.png +0 -0
- assets/images/icons/color-16/tick.png +0 -0
- assets/images/icons/color-16/toolbox.png +0 -0
- assets/images/icons/color-16/trophy.png +0 -0
- assets/images/icons/color-16/ui-color-picker-transparent.png +0 -0
- assets/images/icons/color-16/ui-slider-vertical-050.png +0 -0
- assets/images/icons/color-16/ui-slider.png +0 -0
- assets/images/icons/color-16/user-black-female.png +0 -0
- assets/images/icons/color-16/user-black.png +0 -0
- assets/images/icons/color-16/user-silhouette-question.png +0 -0
- assets/images/icons/color-16/users.png +0 -0
- assets/images/icons/color-16/wand.png +0 -0
- assets/images/icons/color-16/wrench-screwdriver.png +0 -0
- assets/images/icons/color/address.png +0 -0
- assets/images/icons/color/administrative-docs.png +0 -0
- assets/images/icons/color/advertising.png +0 -0
- assets/images/icons/color/archives.png +0 -0
- assets/images/icons/color/attibutes.png +0 -0
- assets/images/icons/color/bank.png +0 -0
- assets/images/icons/color/basket.png +0 -0
- assets/images/icons/color/bestseller.png +0 -0
- assets/images/icons/color/billing.png +0 -0
- assets/images/icons/color/bookmark.png +0 -0
- assets/images/icons/color/brainstorming.png +0 -0
- assets/images/icons/color/business-contact.png +0 -0
- assets/images/icons/color/busy.png +0 -0
- assets/images/icons/color/calendar.png +0 -0
- assets/images/icons/color/category.png +0 -0
- assets/images/icons/color/check.png +0 -0
- assets/images/icons/color/collaboration.png +0 -0
- assets/images/icons/color/comment.png +0 -0
- assets/images/icons/color/communication.png +0 -0
- assets/images/icons/color/config.png +0 -0
- assets/images/icons/color/consulting.png +0 -0
- assets/images/icons/color/contact.png +0 -0
- assets/images/icons/color/cost.png +0 -0
- assets/images/icons/color/credit-card.png +0 -0
- assets/images/icons/color/credit.png +0 -0
- assets/images/icons/color/current-work.png +0 -0
- assets/images/icons/color/customers.png +0 -0
- assets/images/icons/color/cv.png +0 -0
- assets/images/icons/color/database.png +0 -0
- assets/images/icons/color/date.png +0 -0
- assets/images/icons/color/delicious.png +0 -0
- assets/images/icons/color/document-library.png +0 -0
- assets/images/icons/color/donate.png +0 -0
- assets/images/icons/color/drawings.png +0 -0
- assets/images/icons/color/edit.png +0 -0
- assets/images/icons/color/email.png +0 -0
- assets/images/icons/color/facebook.png +0 -0
- assets/images/icons/color/featured.png +0 -0
- assets/images/icons/color/feed.png +0 -0
- assets/images/icons/color/finished-work.png +0 -0
- assets/images/icons/color/flag.png +0 -0
- assets/images/icons/color/folder.png +0 -0
- assets/images/icons/color/free-for-job.png +0 -0
- assets/images/icons/color/freelance.png +0 -0
- assets/images/icons/color/full-time.png +0 -0
- assets/images/icons/color/future-projects.png +0 -0
- assets/images/icons/color/graphic-design.png +0 -0
- assets/images/icons/color/heart.png +0 -0
- assets/images/icons/color/hire-me.png +0 -0
- assets/images/icons/color/home.png +0 -0
- assets/images/icons/color/illustration.png +0 -0
- assets/images/icons/color/invoice.png +0 -0
- assets/images/icons/color/issue.png +0 -0
- assets/images/icons/color/library.png +0 -0
- assets/images/icons/color/lightbulb.png +0 -0
- assets/images/icons/color/limited-edition.png +0 -0
- assets/images/icons/color/link.png +0 -0
- assets/images/icons/color/lock.png +0 -0
- assets/images/icons/color/login.png +0 -0
- assets/images/icons/color/logout.png +0 -0
- assets/images/icons/color/milestone.png +0 -0
- assets/images/icons/color/my-account.png +0 -0
- assets/images/icons/color/networking.png +0 -0
- assets/images/icons/color/old-versions.png +0 -0
- assets/images/icons/color/order-149.png +0 -0
- assets/images/icons/color/order.png +0 -0
- assets/images/icons/color/payment-card.png +0 -0
- assets/images/icons/color/paypal.png +0 -0
- assets/images/icons/color/pc.png +0 -0
- assets/images/icons/color/pen.png +0 -0
- assets/images/icons/color/pencil.png +0 -0
- assets/images/icons/color/phone.png +0 -0
- assets/images/icons/color/photography.png +0 -0
- assets/images/icons/color/plus.png +0 -0
- assets/images/icons/color/premium.png +0 -0
- assets/images/icons/color/print.png +0 -0
- assets/images/icons/color/process.png +0 -0
- assets/images/icons/color/product-163.png +0 -0
- assets/images/icons/color/product-design.png +0 -0
- assets/images/icons/color/product.png +0 -0
- assets/images/icons/color/project.png +0 -0
- assets/images/icons/color/publish.png +0 -0
- assets/images/icons/color/refresh.png +0 -0
- assets/images/icons/color/search.png +0 -0
- assets/images/icons/color/settings.png +0 -0
- assets/images/icons/color/shipping.png +0 -0
- assets/images/icons/color/showreel.png +0 -0
- assets/images/icons/color/sign-in.png +0 -0
- assets/images/icons/color/sign-out.png +0 -0
- assets/images/icons/color/sign-up.png +0 -0
- assets/images/icons/color/sitemap.png +0 -0
- assets/images/icons/color/special-offer.png +0 -0
- assets/images/icons/color/star.png +0 -0
- assets/images/icons/color/statistics.png +0 -0
- assets/images/icons/color/suppliers.png +0 -0
- assets/images/icons/color/tag.png +0 -0
- assets/images/icons/color/ticket.png +0 -0
- assets/images/icons/color/twitter.png +0 -0
- assets/images/icons/color/upcoming-work.png +0 -0
- assets/images/icons/color/user.png +0 -0
- assets/images/icons/color/world.png +0 -0
- assets/images/icons/color/zoom.png +0 -0
- assets/images/icons/icon-search.png +0 -0
- {gfx → assets/images/icons}/icon-succes.png +0 -0
- assets/images/icons/login-password.png +0 -0
- assets/images/icons/login-username.png +0 -0
- images/progress_overlay.png → assets/images/icons/plus.png +0 -0
- assets/images/lightbox_loading.gif +0 -0
- assets/images/lightbox_overlay.png +0 -0
- assets/images/overlay.png +0 -0
- assets/images/settings.png +0 -0
- assets/images/skin-alt/button_next.png +0 -0
- assets/images/skin-alt/button_pause.png +0 -0
- assets/images/skin-alt/button_play.png +0 -0
- assets/images/skin-alt/button_prev.png +0 -0
- assets/images/skin-alt/lightbox_close.png +0 -0
- assets/images/skin-alt/lightbox_left.png +0 -0
- assets/images/skin-alt/lightbox_right.png +0 -0
- assets/images/skin-default/button_next.png +0 -0
- assets/images/skin-default/button_next_hover.png +0 -0
- assets/images/skin-default/button_pause.png +0 -0
- assets/images/skin-default/button_pause_hover.png +0 -0
- assets/images/skin-default/button_play.png +0 -0
- assets/images/skin-default/button_play_hover.png +0 -0
- assets/images/skin-default/button_prev.png +0 -0
- assets/images/skin-default/button_prev_hover.png +0 -0
- assets/images/skin-default/lightbox_close.png +0 -0
- assets/images/skin-default/lightbox_left.png +0 -0
- assets/images/skin-default/lightbox_right.png +0 -0
- {images → assets/images}/sprites/glyphicons-halflings-white.png +0 -0
- {gfx → assets/images/sprites}/glyphicons-halflings.png +0 -0
- assets/images/tables/searchSmall.png +0 -0
- assets/images/tables/sort.png +0 -0
- assets/images/tables/sortDown.png +0 -0
- assets/images/tables/sortUp.png +0 -0
- assets/images/tables/sort_asc.png +0 -0
- assets/images/tables/sort_both.png +0 -0
- assets/images/tables/sort_desc.png +0 -0
- assets/images/tables/sort_desc_disabled.png +0 -0
- assets/js/colorpicker/images/color.png +0 -0
- assets/js/colorpicker/images/grid.gif +0 -0
- assets/js/colorpicker/images/meta100.png +0 -0
- assets/js/colorpicker/images/picker.png +0 -0
- assets/js/colorpicker/js/mColorPicker_small.js +628 -0
- assets/js/customcodes.js +24 -0
- assets/js/globalize/globalize.culture.de-DE.js +81 -0
- assets/js/globalize/globalize.culture.ja-JP.js +100 -0
- assets/js/globalize/globalize.js +1573 -0
- assets/js/icon.png +0 -0
- assets/js/jquery.titanlighbox.js +1964 -0
- assets/js/jquery_ui_custom.js +6378 -0
- {js → assets/js/plugins/bootstrap}/bootstrap-bootbox.min.js +0 -0
- assets/js/plugins/bootstrap/bootstrap-colorpicker.js +541 -0
- assets/js/plugins/bootstrap/bootstrap-progressbar.js +185 -0
- {js → assets/js/plugins/bootstrap}/bootstrap.min.js +0 -0
- assets/js/plugins/forms/jquery.ibutton.js +379 -0
- assets/js/plugins/forms/jquery.maskedinput.min.js +258 -0
- assets/js/plugins/forms/jquery.select2.min.js +79 -0
- assets/js/plugins/forms/jquery.uniform.min.js +535 -0
- {js → assets/js/plugins/forms}/jquery.validate.min.js +0 -0
- assets/js/plugins/tables/jquery.dataTables.min.js +283 -0
.project
CHANGED
@@ -1,15 +1,10 @@
|
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<projectDescription>
|
3 |
-
<name>
|
4 |
<comment></comment>
|
5 |
<projects>
|
6 |
</projects>
|
7 |
<buildSpec>
|
8 |
-
<buildCommand>
|
9 |
-
<name>com.aptana.ide.core.unifiedBuilder</name>
|
10 |
-
<arguments>
|
11 |
-
</arguments>
|
12 |
-
</buildCommand>
|
13 |
</buildSpec>
|
14 |
<natures>
|
15 |
<nature>com.aptana.projects.webnature</nature>
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<projectDescription>
|
3 |
+
<name>Gallery Bank Pro Version 2.0</name>
|
4 |
<comment></comment>
|
5 |
<projects>
|
6 |
</projects>
|
7 |
<buildSpec>
|
|
|
|
|
|
|
|
|
|
|
8 |
</buildSpec>
|
9 |
<natures>
|
10 |
<nature>com.aptana.projects.webnature</nature>
|
album-cover.png
ADDED
Binary file
|
assets/css/bootstrap.css
ADDED
@@ -0,0 +1,1713 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: bootstrap.css;
|
8 |
+
* Description: General template styles, including bootstrap components
|
9 |
+
* Version: 1.0
|
10 |
+
*
|
11 |
+
* ======================================================== */
|
12 |
+
|
13 |
+
|
14 |
+
.semi-block { margin-top: 30px; }
|
15 |
+
.progress-statistics .semi-block { margin-top: 16px; }
|
16 |
+
.row-fluid [class*="span"] > .semi-block:first-child { margin-top: 7px; }
|
17 |
+
.row-fluid [class*="span"] > .semi-block:first-child { margin-top: 10px; }
|
18 |
+
|
19 |
+
|
20 |
+
.clearfix { *zoom: 1; }
|
21 |
+
.clearfix:before, .clearfix:after { display: table; content: ""; line-height: 0; }
|
22 |
+
.clearfix:after { clear: both; }
|
23 |
+
.hide-text { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; }
|
24 |
+
.input-block-level { display: block; width: 100%; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
/*===== Page header =====*/
|
29 |
+
|
30 |
+
.page-header h5 > i { float: left; display: block; margin-top: 3px; margin-right: 12px; color: #606060; font-size: 16px; line-height: 1; }
|
31 |
+
.page-header h5 { font-size: 16px; color: #4c4c4c; float: left; font-weight: bold; padding: 0 0 20px 0; margin: 0; }
|
32 |
+
.page-header:after { content: ""; display: block; height: 0; clear: both; }
|
33 |
+
.page-header h5 > span { float: left; display: block; margin-top: 0px; margin-right: 12px; color: #606060; font-size: 16px; }
|
34 |
+
.icons { float: right; }
|
35 |
+
.icons > li { display: block; float: left; margin-left: 12px; color: #ddd; font-size: 14px; position: relative; }
|
36 |
+
.icons > li > a { display: block; color: #5f5f5f; font-size: 12px; font-weight: bold; white-space: nowrap; }
|
37 |
+
.icons > li > a > span { display: block; float: left; }
|
38 |
+
.icons > li > a:hover { color: #327394; }
|
39 |
+
.icons > li.open > a, .icons > li.open > a > i { color: #999; }
|
40 |
+
.icons > li.open > a > span > b { border-top-color: #999; }
|
41 |
+
.icons > li > a > i { font-size: 16px; width: 16px; margin-right: 6px; margin-top: 3px; display: block; float: left; font-weight: normal; }
|
42 |
+
.icons > li > a:after { content: ""; display: block; clear: both; }
|
43 |
+
.icons .caret { margin-top: 9px; margin-left: 6px; }
|
44 |
+
.navbar .icons > li { margin-left: 0; }
|
45 |
+
.navbar .icons > li > a { margin: 10px 1px 0px 1px; display: inline-block; }
|
46 |
+
.navbar .icons > li > a > i { text-align: left; }
|
47 |
+
|
48 |
+
|
49 |
+
/*===== Fluid grid =====*/
|
50 |
+
|
51 |
+
.row-fluid { width: 100%; *zoom: 1; }
|
52 |
+
.row-fluid:before, .row-fluid:after { display: table; content: ""; line-height: 0; }
|
53 |
+
.row-fluid:after { clear: both; }
|
54 |
+
.row-fluid [class*="span"] { display: block; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; float: left; margin-left: 2.127659574468085%; *margin-left: 2.074468085106383%; }
|
55 |
+
.row-fluid [class*="span"]:first-child { margin-left: 0; }
|
56 |
+
.row-fluid .span12 { width: 100%; *width: 99.94680851063829%; }
|
57 |
+
.row-fluid .span11 { width: 91.48936170212765%; *width: 91.43617021276594%; }
|
58 |
+
.row-fluid .span10 { width: 82.97872340425532%; *width: 82.92553191489361%; }
|
59 |
+
.row-fluid .span9 { width: 74.46808510638297%; *width: 74.41489361702126%; }
|
60 |
+
.row-fluid .span8 { width: 65.95744680851064%; *width: 65.90425531914893%; }
|
61 |
+
.row-fluid .span7 { width: 57.44680851063829%; *width: 57.39361702127659%; }
|
62 |
+
.row-fluid .span6 { width: 48.93617021276595%; *width: 48.88297872340425%; }
|
63 |
+
.row-fluid .span5 { width: 40.42553191489362%; *width: 40.37234042553192%; }
|
64 |
+
.row-fluid .span4 { width: 31.914893617021278%; *width: 31.861702127659576%; }
|
65 |
+
.row-fluid .span3 { width: 23.404255319148934%; *width: 23.351063829787233%; }
|
66 |
+
.row-fluid .span2 { width: 14.893617021276595%; *width: 14.840425531914894%; }
|
67 |
+
.row-fluid .span1 { width: 6.382978723404255%; *width: 6.329787234042553%; }
|
68 |
+
.row-fluid .offset12 { margin-left: 104.25531914893617%; *margin-left: 104.14893617021275%; }
|
69 |
+
.row-fluid .offset12:first-child { margin-left: 102.12765957446808%; *margin-left: 102.02127659574467%; }
|
70 |
+
.row-fluid .offset11 { margin-left: 95.74468085106382%; *margin-left: 95.6382978723404%; }
|
71 |
+
.row-fluid .offset11:first-child { margin-left: 93.61702127659574%; *margin-left: 93.51063829787232%; }
|
72 |
+
.row-fluid .offset10 { margin-left: 87.23404255319149%; *margin-left: 87.12765957446807%; }
|
73 |
+
.row-fluid .offset10:first-child { margin-left: 85.1063829787234%; *margin-left: 84.99999999999999%; }
|
74 |
+
.row-fluid .offset9 { margin-left: 78.72340425531914%; *margin-left: 78.61702127659572%; }
|
75 |
+
.row-fluid .offset9:first-child { margin-left: 76.59574468085106%; *margin-left: 76.48936170212764%; }
|
76 |
+
.row-fluid .offset8 { margin-left: 70.2127659574468%; *margin-left: 70.10638297872339%; }
|
77 |
+
.row-fluid .offset8:first-child { margin-left: 68.08510638297872%; *margin-left: 67.9787234042553%; }
|
78 |
+
.row-fluid .offset7 { margin-left: 61.70212765957446%; *margin-left: 61.59574468085106%; }
|
79 |
+
.row-fluid .offset7:first-child { margin-left: 59.574468085106375%; *margin-left: 59.46808510638297%; }
|
80 |
+
.row-fluid .offset6 { margin-left: 53.191489361702125%; *margin-left: 53.085106382978715%; }
|
81 |
+
.row-fluid .offset6:first-child { margin-left: 51.063829787234035%; *margin-left: 50.95744680851063%; }
|
82 |
+
.row-fluid .offset5 { margin-left: 44.68085106382979%; *margin-left: 44.57446808510638%; }
|
83 |
+
.row-fluid .offset5:first-child { margin-left: 42.5531914893617%; *margin-left: 42.4468085106383%; }
|
84 |
+
.row-fluid .offset4 { margin-left: 36.170212765957444%; *margin-left: 36.06382978723405%; }
|
85 |
+
.row-fluid .offset4:first-child { margin-left: 34.04255319148936%; *margin-left: 33.93617021276596%; }
|
86 |
+
.row-fluid .offset3 { margin-left: 27.659574468085104%; *margin-left: 27.5531914893617%; }
|
87 |
+
.row-fluid .offset3:first-child { margin-left: 25.53191489361702%; *margin-left: 25.425531914893618%; }
|
88 |
+
.row-fluid .offset2 { margin-left: 19.148936170212764%; *margin-left: 19.04255319148936%; }
|
89 |
+
.row-fluid .offset2:first-child { margin-left: 17.02127659574468%; *margin-left: 16.914893617021278%; }
|
90 |
+
.row-fluid .offset1 { margin-left: 10.638297872340425%; *margin-left: 10.53191489361702%; }
|
91 |
+
.row-fluid .offset1:first-child { margin-left: 8.51063829787234%; *margin-left: 8.404255319148938%; }
|
92 |
+
.row-fluid [class*="span"].pull-right { float: right; }
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
/* # Typography
|
97 |
+
================================================== */
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
/*===== Lists =====*/
|
102 |
+
|
103 |
+
ul ul, ul ol, ol ol, ol ul { margin-bottom: 0; }
|
104 |
+
.list ul, .list ol { padding: 0; }
|
105 |
+
.list ul { margin: 0 0 0 15px; list-style-type: disc; }
|
106 |
+
.list ol { margin: 0 0 0 15px; list-style-type: decimal; }
|
107 |
+
.list ul ul, .list ol ul { list-style-type: circle; }
|
108 |
+
.minus-list li:before { content: '-'; display: inline-block; padding: 0 8px 0 0; color: #999; }
|
109 |
+
.arrow-list li { background: url(../images/elements/other/list_arrow.png) no-repeat 0 8px; padding: 0 0 0 12px; }
|
110 |
+
.check-list li { background: url(../images/elements/other/done.png) no-repeat 0 6px; padding: 0 0 0 20px; }
|
111 |
+
.plus-list li:before { content: '+'; display: inline-block; padding: 0 8px 0 0; color: #999; }
|
112 |
+
.minus-list ul, .plus-list ul { margin-left: 12px; }
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
/*===== Labels, badges =====*/
|
117 |
+
|
118 |
+
.body .badge, .label-important,.label-info { color: #ffffff; display: inline-block; font-weight: bold; white-space: nowrap; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); background-color: #5f5f5f; box-shadow: inset 0 0 3px rgba(0,0,0,0.2); -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.2); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.2); border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; font-size: 11px; font-weight: bold; padding: 5px 7px 4px 7px; line-height: 13px; }
|
119 |
+
label.valid { display: none !important;color: #518A38 !important; }
|
120 |
+
label.errors {font-size: 11px; display: inline-block; white-space: nowrap; color: #dc5c5c; }
|
121 |
+
a.label:hover, a.badge:hover { color: #ffffff; text-decoration: none; cursor: pointer; }
|
122 |
+
.label-important, .badge-important { background-color: #c95454; }
|
123 |
+
.label-important[href], .badge-important[href] { background-color: #953b39; }
|
124 |
+
.label-warning, .badge-warning { background-color: #d17d10; }
|
125 |
+
.label-warning[href], .badge-warning[href] { background-color: #c67605; }
|
126 |
+
.label-success, .badge-success { background-color: #7aa745; }
|
127 |
+
.label-success[href], .badge-success[href] { background-color: #356635;}
|
128 |
+
.label-info, .badge-info { background-color: #589fc4; }
|
129 |
+
.label-info[href], .badge-info[href] { background-color: #2d6987; }
|
130 |
+
.label-inverse, .badge-inverse { background-color: #333333; }
|
131 |
+
.label-inverse[href], .badge-inverse[href] { background-color: #1a1a1a; }
|
132 |
+
.btn .label, .btn .badge { position: relative; top: -1px;}
|
133 |
+
.btn-mini .label, .btn-mini .badge { top: 0; }
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
/*===== Tables styles =====*/
|
138 |
+
|
139 |
+
table { max-width: 100%; background-color: transparent; border-collapse: collapse; border-spacing: 0; }
|
140 |
+
.table { width: 100%; }
|
141 |
+
.table th, .table td { padding: 8px 12px; line-height: 20px; vertical-align: middle; border-top: 1px solid #e2e2e2; }
|
142 |
+
.table th { font-weight: bold; text-align: left; }
|
143 |
+
.table thead th { background-color: #f8f8f8; }
|
144 |
+
|
145 |
+
.table .checker { margin: 0; }
|
146 |
+
.table-checks tr td:first-child { width: 40px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
147 |
+
.table-checks .row-checked td { background: #fffff7; }
|
148 |
+
|
149 |
+
.table-controls { margin: 0 -1px; }
|
150 |
+
.table-controls > li { display: inline-block; margin: 0 1px; }
|
151 |
+
.table-controls > li > .btn { padding: 4px; }
|
152 |
+
.table-controls > li > .btn > i { margin-left: 0; margin-right: 0; }
|
153 |
+
.table-controls > li > a > i { margin-right: 0; font-size: 14px; color: #555; }
|
154 |
+
.table-controls > li > a.btn > b, .table-controls > li > a > b { margin: 1px 0 -1px 0; font-size: 14px; color: #555; width: 1.1em; float: none; }
|
155 |
+
|
156 |
+
.table-footer {
|
157 |
+
border-top: 1px solid #dddddd; padding: 8px 12px;
|
158 |
+
background: #f5f5f5;
|
159 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
160 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f8f8f8));
|
161 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
162 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
163 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
164 |
+
background: linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
165 |
+
}
|
166 |
+
.table-footer:after { content: ""; display: block; height: 0; clear: both; }
|
167 |
+
.table-footer .pagination { display: inline-block; float: right; margin: 6px 0; }
|
168 |
+
.table-footer .table-actions { display:block; margin: 6px 0; float: left; }
|
169 |
+
.table-footer .table-actions label { margin: 2px 12px 0 0; }
|
170 |
+
|
171 |
+
.table caption + thead tr:first-child th, .table caption + thead tr:first-child td, .table colgroup + thead tr:first-child th, .table colgroup + thead tr:first-child td, .table thead:first-child tr:first-child th, .table thead:first-child tr:first-child td { border-top: 0; }
|
172 |
+
.table tbody + tbody { border-top: 2px solid #dddddd; }
|
173 |
+
.table-condensed th, .table-condensed td { padding: 4px 12px; }
|
174 |
+
|
175 |
+
.table-gradient tbody td { background: none; }
|
176 |
+
.table-gradient tbody tr {
|
177 |
+
background: #ffffff;
|
178 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
179 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f8f8f8));
|
180 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
181 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
182 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
183 |
+
background: linear-gradient(top, #ffffff 0%,#f8f8f8 100%);
|
184 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f8f8f8',GradientType=0 );
|
185 |
+
}
|
186 |
+
|
187 |
+
.table-transparent, .table-transparent tbody td, .table-transparent thead th { background: none; border: none; }
|
188 |
+
|
189 |
+
.table-bordered { border: 1px solid #e2e2e2; border-collapse: separate; *border-collapse: collapse; border-left: 0; }
|
190 |
+
.table-bordered th, .table-bordered td { border-left: 1px solid #dddddd; }
|
191 |
+
.table .rowspan { border-left: 1px solid #e2e2e2!important; }
|
192 |
+
|
193 |
+
.table-block { border: none; }
|
194 |
+
.table-block tr:first-child th:first-child, .table-block tr td:first-child { border-left: none; }
|
195 |
+
|
196 |
+
.table-bordered caption + thead tr:first-child th, .table-bordered caption + tbody tr:first-child th, .table-bordered caption + tbody tr:first-child td, .table-bordered colgroup + thead tr:first-child th, .table-bordered colgroup + tbody tr:first-child th, .table-bordered colgroup + tbody tr:first-child td, .table-bordered thead:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child th, .table-bordered tbody:first-child tr:first-child td { border-top: 0; }
|
197 |
+
.table-striped tbody tr:nth-child(odd) td, .table-striped tbody tr:nth-child(odd) th { background-color: #fcfcfc; }
|
198 |
+
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th { background-color: #fafafa; }
|
199 |
+
|
200 |
+
.row-fluid table [class*=span] { display: table-cell; float: none; margin-left: 0; }
|
201 |
+
|
202 |
+
/* Color highlighting */
|
203 |
+
|
204 |
+
.table tbody tr.success td { background-color: #f0faec; }
|
205 |
+
.table tbody tr.error td { background-color: #fdf3f3; }
|
206 |
+
.table tbody tr.warning td { background-color: #FFFFF7; }
|
207 |
+
.table tbody tr.info td { background-color: #eef7fb; }
|
208 |
+
.table-hover tbody tr.success:hover td { background-color: #eaf9e4; }
|
209 |
+
.table-hover tbody tr.error:hover td { background-color: #fdefef; }
|
210 |
+
.table-hover tbody tr.warning:hover td { background-color: #fefeea; }
|
211 |
+
.table-hover tbody tr.info:hover td { background-color: #e8f5fb; }
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
/* # Form stylings
|
216 |
+
================================================== */
|
217 |
+
|
218 |
+
|
219 |
+
|
220 |
+
/*===== Placeholder color =====*/
|
221 |
+
|
222 |
+
input:-moz-placeholder, textarea:-moz-placeholder { color: #999999; }
|
223 |
+
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #999999; }
|
224 |
+
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #999999; }
|
225 |
+
|
226 |
+
|
227 |
+
/*===== Radios, checkboxes =====*/
|
228 |
+
|
229 |
+
.radio, .checkbox { min-height: 18px; display: block; }
|
230 |
+
.radio input[type="radio"], .checkbox input[type="checkbox"] { float: left; margin-top: 4px; margin-right: 6px; }
|
231 |
+
.controls > .radio:first-child, .controls > .checkbox:first-child { padding-top: 3px; }
|
232 |
+
.radio.inline, .checkbox.inline { display: inline-block; padding-top: 3px; margin-bottom: 0; vertical-align: middle; }
|
233 |
+
.checkbox.inline > .checker { float: none; margin: 0 8px 0 0; display: inline-block; vertical-align: text-bottom; }
|
234 |
+
.radio.inline > .choice { float: none; margin: 0 8px 0 0; display: inline-block; vertical-align: text-bottom; }
|
235 |
+
.radio.inline > .choice > span { margin-top: 1px; }
|
236 |
+
.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline { margin-left: 10px; }
|
237 |
+
|
238 |
+
|
239 |
+
/*===== Input sizes =====*/
|
240 |
+
|
241 |
+
.input-mini { width: 10%; }
|
242 |
+
.input-small { width: 15%; }
|
243 |
+
.input-medium { width: 20%; }
|
244 |
+
.input-large { width: 25%; }
|
245 |
+
.input-xlarge { width: 30%; }
|
246 |
+
.input-xxlarge { width: 35%; }
|
247 |
+
|
248 |
+
|
249 |
+
/*===== Controls =====*/
|
250 |
+
|
251 |
+
.control-group { border-bottom: 1px solid #eaeaea; border-top: 1px solid #fff; padding:7px 10px; }
|
252 |
+
.control-group:first-child { border-top: none; }
|
253 |
+
.control-group:last-child { border-bottom: none; }
|
254 |
+
legend + .control-group { margin-top: 20px; -webkit-margin-top-collapse: separate; }
|
255 |
+
.no-well .control-group { padding: 20px 0; border-bottom-color: #dadada; }
|
256 |
+
|
257 |
+
.control-group.warning label, .control-group.warning .help-block, .control-group.warning .help-inline { color: #b46920; }
|
258 |
+
.control-group.warning input, .control-group.warning select, .control-group.warning textarea { border-color: #d3c8b4; }
|
259 |
+
.control-group.warning .input-append .add-on { color: #c09853; background-color: #fcf8e3; border-color: #c09853; }
|
260 |
+
|
261 |
+
|
262 |
+
.control-group.errors input, .control-group.errors select, .control-group.errors textarea {background-repeat:no-repeat;
|
263 |
+
background-position: right center;
|
264 |
+
box-shadow:0px 0px 3px 0px #dc5c5c;
|
265 |
+
-webkit-box-shadow:0px 0px 3px 0px #dc5c5c; border-color: #dc5c5c;}
|
266 |
+
.control-group.errors .input-prepend .add-on, .control-group.errors .input-append .add-on { color: #b94a48; background-color: #f2dede; border-color: #b94a48; }
|
267 |
+
|
268 |
+
|
269 |
+
.control-group.success input, .control-group.success select, .control-group.success textarea {
|
270 |
+
background-repeat:no-repeat;
|
271 |
+
background-position: right center;
|
272 |
+
box-shadow:0px 0px 3px 0px #a6e259;
|
273 |
+
-webkit-box-shadow:0px 0px 3px 0px #a6e259;
|
274 |
+
border-color:#a6e259; }
|
275 |
+
.control-group.success .input-prepend .add-on, .control-group.success .input-append .add-on { color: #468847; background-color: #dff0d8; border-color: #468847; }
|
276 |
+
|
277 |
+
.control-group.info label, .control-group.info .help-block, .control-group.info .help-inline { color: #437e9f; }
|
278 |
+
.control-group.info input, .control-group.info select, .control-group.info textarea { border-color: #bdd4e0; }
|
279 |
+
.control-group.info .input-prepend .add-on, .control-group.info .input-append .add-on { color: #468847; background-color: #dff0d8; border-color: #bdd4e0; }
|
280 |
+
|
281 |
+
|
282 |
+
/*===== Form actions =====*/
|
283 |
+
|
284 |
+
.form-actions { padding: 16px; *zoom: 1; }
|
285 |
+
.form-actions:before, .form-actions:after { display: table; content: ""; line-height: 0; }
|
286 |
+
.form-actions:after { clear: both; }
|
287 |
+
.form-actions .btn { margin-top: 0; margin-bottom: 0; }
|
288 |
+
.no-well .form-actions { padding: 20px 0 0 0; border-top: 1px solid #ffffff; }
|
289 |
+
|
290 |
+
|
291 |
+
/*===== Helps =====*/
|
292 |
+
|
293 |
+
.help-block, .help-inline { color: #a5a5a5; font-size: 11px; }
|
294 |
+
.help-block { display: block; margin-bottom: 10px; }
|
295 |
+
.help-inline { display: inline-block; *display: inline; *zoom: 1; vertical-align: middle; padding-left: 5px; padding-right: 5px; }
|
296 |
+
|
297 |
+
|
298 |
+
/*===== Appended, prepended elements =====*/
|
299 |
+
|
300 |
+
.input-append, .input-prepend { margin-bottom: 5px; font-size: 0; white-space: nowrap; }
|
301 |
+
.input-append input, .input-prepend input, .input-append select, .input-prepend select, .input-append .uneditable-input, .input-prepend .uneditable-input { position: relative; margin-bottom: 0; *margin-left: 0; vertical-align: top; }
|
302 |
+
.input-append input:focus, .input-prepend input:focus, .input-append select:focus, .input-prepend select:focus, .input-append .uneditable-input:focus, .input-prepend .uneditable-input:focus { z-index: 2; }
|
303 |
+
.input-append .add-on, .input-prepend .add-on { display: inline-block; width: auto; min-width: 16px; padding: 3px 6px; font-weight: normal; text-align: center; text-shadow: 0 1px 0 #ffffff; color: #999; font-size: 12px; border: 1px solid #DADADA;
|
304 |
+
background: #ffffff;
|
305 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
306 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
307 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
308 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
309 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
310 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
311 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 );
|
312 |
+
}
|
313 |
+
.input-append .add-on, .input-prepend .add-on, .input-append .btn, .input-prepend .btn { vertical-align: top; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
|
314 |
+
.input-append .btn, .input-prepend .btn { padding: 8px 12px 7px 12px; font-weight: normal; margin: 0; }
|
315 |
+
.input-prepend.input-append .btn-group:first-child { margin-left: 0; }
|
316 |
+
.input-append.input-prepend .btn-group .dropdown-menu, .input-append .btn-group .dropdown-menu, .input-prepend .btn-group .dropdown-menu { margin-top: 0; }
|
317 |
+
.input-append .active, .input-prepend .active { background-color: #a9dba9; border-color: #46a546; }
|
318 |
+
.input-prepend .add-on, .input-prepend .btn { margin-right: -1px; }
|
319 |
+
.input-prepend .add-on:first-child, .input-prepend .btn:first-child { -webkit-border-radius: 2px 0 0 2px; -moz-border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px; }
|
320 |
+
.input-append .add-on, .input-append .btn, .input-append .btn-group { margin-left: -1px; }
|
321 |
+
.input-append .add-on > i, .input-prepend .add-on > i { vertical-align: middle; color: #5f5f5f; font-size: 16px; line-height: 1; }
|
322 |
+
.input-append input + .btn-group .btn, .input-append select + .btn-group .btn, .input-append .uneditable-input + .btn-group .btn { -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; }
|
323 |
+
.input-prepend.input-append input + .btn-group .btn, .input-prepend.input-append select + .btn-group .btn, .input-prepend.input-append .uneditable-input + .btn-group .btn { -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; }
|
324 |
+
.input-append .add-on:last-child, .input-append .btn:last-child { -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; }
|
325 |
+
.input-prepend.input-append input, .input-prepend.input-append select, .input-prepend.input-append .uneditable-input { -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
|
326 |
+
.input-prepend.input-append .add-on:first-child, .input-prepend.input-append .add-on:first-child, .input-prepend.input-append .btn:first-child { margin-right: -1px; -webkit-border-radius: 2px 0 0 2px; -moz-border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px; }
|
327 |
+
.input-prepend.input-append .add-on:last-child, .input-prepend.input-append .btn:last-child { margin-left: -1px; -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; }
|
328 |
+
|
329 |
+
|
330 |
+
/*===== Form classes =====*/
|
331 |
+
|
332 |
+
.form-inline input,
|
333 |
+
.form-horizontal input,
|
334 |
+
.form-inline textarea,
|
335 |
+
.form-horizontal textarea,
|
336 |
+
.form-inline select,
|
337 |
+
.form-horizontal select,
|
338 |
+
.form-inline .help-inline,
|
339 |
+
.form-horizontal .help-inline,
|
340 |
+
.form-inline .uneditable-input,
|
341 |
+
.form-horizontal .uneditable-input { display: inline-block; *zoom: 1; margin-bottom: 0; vertical-align: middle; }
|
342 |
+
|
343 |
+
.form-inline .hide, .form-horizontal .hide { display: none; }
|
344 |
+
.form-inline .btn { vertical-align: middle; margin-right: 6px; }
|
345 |
+
.form-inline .selector { margin-right: 6px; }
|
346 |
+
.form-inline input { margin-right: 6px; }
|
347 |
+
.form-inline label, .form-inline .btn-group { display: inline-block; }
|
348 |
+
.form-inline .input-append, .form-inline .input-prepend { margin-bottom: 0; }
|
349 |
+
.form-inline .radio, .form-inline .checkbox { padding-right: 6px; padding-left: 0; margin-bottom: 0; vertical-align: middle; margin-top: 2px; }
|
350 |
+
.form-inline .radio input[type="radio"], .form-inline .checkbox input[type="checkbox"] { float: left; margin-right: 3px; margin-left: 0; }
|
351 |
+
|
352 |
+
.form-horizontal .control-group { *zoom: 1; }
|
353 |
+
.form-horizontal .control-group:before, .form-horizontal .control-group:after { display: table; content: ""; line-height: 0; }
|
354 |
+
.form-horizontal .control-group:after { clear: both; }
|
355 |
+
.form-horizontal label.control-label { float: left; width:35%; padding-top: 7px; }
|
356 |
+
.form-horizontal label.control-label > i { margin-right: 6px; }
|
357 |
+
.form-horizontal span.control-label { width: 22%; float: left; padding-top: 0; }
|
358 |
+
.form-horizontal .controls { *display: inline-block; *padding-left: 20%; margin-left: 35%; *margin-left: 0; position: relative; }
|
359 |
+
.form-horizontal .help-block { margin-bottom: 0; }
|
360 |
+
.form-horizontal input + .help-block, .form-horizontal select + .help-block, .form-horizontal textarea + .help-block { margin-top: 4px; }
|
361 |
+
|
362 |
+
.form-horizontal1 .control-group { *zoom: 1; }
|
363 |
+
.form-horizontal1 .control-group:before, .form-horizontal1 .control-group:after { display: table; content: ""; line-height: 0; }
|
364 |
+
.form-horizontal1 .control-group:after { clear: both; }
|
365 |
+
.form-horizontal1 label.control-label { float: left; width:15%; padding-top: 7px; }
|
366 |
+
.form-horizontal1 label.control-label > i { margin-right: 6px; }
|
367 |
+
.form-horizontal1 span.control-label { width: 22%; float: left; padding-top: 0; }
|
368 |
+
.form-horizontal1 .controls { *display: inline-block; *padding-left: 20%; margin-left: 15%; *margin-left: 0; position: relative; }
|
369 |
+
.form-horizontal1 .help-block { margin-bottom: 0; }
|
370 |
+
.form-horizontal1 input + .help-block, .form-horizontal1 select + .help-block, .form-horizontal1 textarea + .help-block { margin-top: 4px; }
|
371 |
+
|
372 |
+
/*===== Breadcrumbs =====*/
|
373 |
+
|
374 |
+
.breadcrumb { padding: 8px; margin: 0 0 20px; list-style: none; background-color: #fcfcfc; border: 1px solid #ddd; }
|
375 |
+
.breadcrumb li { display: inline-block; *display: inline; *zoom: 1; text-shadow: 0 1px 0 #ffffff; }
|
376 |
+
.breadcrumb li a { color: #327394; }
|
377 |
+
.breadcrumb .divider { padding: 0 5px; border: none; color: #ccc; }
|
378 |
+
.breadcrumb .active { color: #999999; }
|
379 |
+
|
380 |
+
|
381 |
+
|
382 |
+
|
383 |
+
|
384 |
+
/* # Buttons
|
385 |
+
================================================== */
|
386 |
+
|
387 |
+
.btn { font-size: 11px; color: #686868; font-weight: bold; display: inline-block; margin: 2px 0; line-height: 13px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; padding: 8px 13px 7px 13px; border: 1px solid #d5d5d5; box-shadow: inset 0 1px 1px rgba(255,255,255,0.2); -webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.2); -moz-box-shadow: inset 0 1px 1px rgba(255,255,255,0.2);
|
388 |
+
background: #fafafa;
|
389 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
390 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
391 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
392 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
393 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
394 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
395 |
+
text-decoration: none !important;
|
396 |
+
}
|
397 |
+
.btn-group .dropdown-menu { margin-top: -1px; }
|
398 |
+
.btn-group.dropup .dropdown-menu { margin-bottom: -1px; }
|
399 |
+
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] { outline: none; }
|
400 |
+
button, html input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
|
401 |
+
.btn:first-child { *margin-left: 0; }
|
402 |
+
.btn:hover { opacity: 0.95; filter: alpha(opacity=95); -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
|
403 |
+
.btn-warning:hover, .btn-success:hover, .btn-primary:hover, .btn-info:hover, .btn-danger:hover, .btn-inverse:hover { color: #fff; }
|
404 |
+
.btn.active, .btn:active, .btn-group.open .btn.dropdown-toggle { background: #6a6a6a; color: white; border: 1px solid #555; box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset; -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1) inset; }
|
405 |
+
.btn.active > .caret, .btn:active > .caret, .btn-group.open .btn.dropdown-toggle > .caret { border-top-color: #fff; border-bottom-color: #fff; }
|
406 |
+
.btn.disabled, .btn[disabled] { cursor: default; opacity: 0.65; filter: alpha(opacity=65); -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
|
407 |
+
|
408 |
+
button.btn, input[type="submit"].btn { *padding-top: 3px; *padding-bottom: 3px; }
|
409 |
+
button.btn::-moz-focus-inner, input[type="submit"].btn::-moz-focus-inner { padding: 0; border: 0; }
|
410 |
+
button.btn.btn-large, input[type="submit"].btn.btn-large { *padding-top: 7px; *padding-bottom: 7px; }
|
411 |
+
button.btn.btn-small, input[type="submit"].btn.btn-small { *padding-top: 3px; *padding-bottom: 3px; }
|
412 |
+
button.btn.btn-mini, input[type="submit"].btn.btn-mini { *padding-top: 1px; *padding-bottom: 1px; }
|
413 |
+
|
414 |
+
.btn-group.open .btn-link.dropdown-toggle > .caret, .btn-link:active > .caret, .btn-link > .caret { border-top-color: #327394; border-bottom-color: #327394; }
|
415 |
+
.dd-caret { margin-left: 5px; margin-right: -2px; } /* Correction margin for button dropdown */
|
416 |
+
|
417 |
+
|
418 |
+
/*===== Button sizes =====*/
|
419 |
+
|
420 |
+
.btn-large { padding: 8px 14px; font-size: 14px; line-height: normal; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
421 |
+
.btn-large [class^="icon-"] { margin-top: 1px; }
|
422 |
+
.btn-small { padding: 7px 12px 6px 12px; line-height: 13px;}
|
423 |
+
.btn-small [class^="icon-"] { margin-top: -1px; }
|
424 |
+
.btn-mini { padding: 6px 10px 5px 10px; font-size: 11px; line-height: 13px; border-radius: 0; -moz-border-radius: 0; }
|
425 |
+
.btn-block { display: block; width: 100%; text-align: center; padding-left: 0; padding-right: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
426 |
+
.btn-block + .btn-block { margin-top: 5px; }
|
427 |
+
input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; }
|
428 |
+
.btn-primary.active, .btn-warning.active, .btn-danger.active, .btn-success.active, .btn-info.active, .btn-inverse.active { box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; -webkit-box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; -moz-box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; }
|
429 |
+
|
430 |
+
|
431 |
+
/*===== General button classes =====*/
|
432 |
+
|
433 |
+
.btn-primary { color: #fff; border: 1px solid #3e76af;
|
434 |
+
background: #4786b8;
|
435 |
+
background: -moz-linear-gradient(top, #5ba5cb 0%, #3a70ab 100%);
|
436 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5ba5cb), color-stop(100%,#3a70ab));
|
437 |
+
background: -webkit-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%);
|
438 |
+
background: -o-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%);
|
439 |
+
background: -ms-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%);
|
440 |
+
background: linear-gradient(top, #5ba5cb 0%,#3a70ab 100%);
|
441 |
+
}
|
442 |
+
.btn-primary:hover { opacity: 0.95; filter: alpha(opacity=95); -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
|
443 |
+
.btn-primary:active, .btn-primary.active, .btn-group.open .btn-primary.dropdown-toggle { background: #4786b8; border-color: #3e76af; }
|
444 |
+
|
445 |
+
|
446 |
+
.btn-warning { color: #fff; border: 1px solid #c4853e;
|
447 |
+
background: #ca8e40;
|
448 |
+
background: -moz-linear-gradient(top, #d5a44c 0%, #c07833 100%);
|
449 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d5a44c), color-stop(100%,#c07833));
|
450 |
+
background: -webkit-linear-gradient(top, #d5a44c 0%,#c07833 100%);
|
451 |
+
background: -o-linear-gradient(top, #d5a44c 0%,#c07833 100%);
|
452 |
+
background: -ms-linear-gradient(top, #d5a44c 0%,#c07833 100%);
|
453 |
+
background: linear-gradient(top, #d5a44c 0%,#c07833 100%);
|
454 |
+
}
|
455 |
+
.btn-warning:active, .btn-warning.active, .btn-group.open .btn-warning.dropdown-toggle { background: #ca8e40; border-color: #c4853e; }
|
456 |
+
|
457 |
+
|
458 |
+
.btn-danger { color: #fff; border: 1px solid #a95151;
|
459 |
+
background: #b15e5e;
|
460 |
+
background: -moz-linear-gradient(top, #c57979 0%, #a34c4c 100%);
|
461 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c57979), color-stop(100%,#a34c4c));
|
462 |
+
background: -webkit-linear-gradient(top, #c57979 0%,#a34c4c 100%);
|
463 |
+
background: -o-linear-gradient(top, #c57979 0%,#a34c4c 100%);
|
464 |
+
background: -ms-linear-gradient(top, #c57979 0%,#a34c4c 100%);
|
465 |
+
background: linear-gradient(top, #c57979 0%,#a34c4c 100%);
|
466 |
+
}
|
467 |
+
.btn-danger:active, .btn-danger.active, .btn-group.open .btn-danger.dropdown-toggle { background: #b15e5e; border-color: #a95151; }
|
468 |
+
|
469 |
+
|
470 |
+
.btn-success { color: #fff; border: 1px solid #68a341;
|
471 |
+
background: #74aa49;
|
472 |
+
background: -moz-linear-gradient(top, #96c161 0%, #609c3d 100%);
|
473 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#96c161), color-stop(100%,#609c3d));
|
474 |
+
background: -webkit-linear-gradient(top, #96c161 0%,#609c3d 100%);
|
475 |
+
background: -o-linear-gradient(top, #96c161 0%,#609c3d 100%);
|
476 |
+
background: -ms-linear-gradient(top, #96c161 0%,#609c3d 100%);
|
477 |
+
background: linear-gradient(top, #96c161 0%,#609c3d 100%);
|
478 |
+
}
|
479 |
+
.btn-success:active, .btn-success.active, .btn-group.open .btn-success.dropdown-toggle { background: #74aa49; border-color: #68a341; }
|
480 |
+
|
481 |
+
|
482 |
+
.btn-info { color: #fff !important; border: 1px solid #5897c3 !important;
|
483 |
+
background: #559cc7 !important;
|
484 |
+
background: -moz-linear-gradient(top, #6db5d5 0%, #4a91c0 100%);
|
485 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6db5d5), color-stop(100%,#4a91c0));
|
486 |
+
background: -webkit-linear-gradient(top, #6db5d5 0%,#4a91c0 100%);
|
487 |
+
background: -o-linear-gradient(top, #6db5d5 0%,#4a91c0 100%);
|
488 |
+
background: -ms-linear-gradient(top, #6db5d5 0%,#4a91c0 100%);
|
489 |
+
background: linear-gradient(top, #6db5d5 0%,#4a91c0 100%);
|
490 |
+
}
|
491 |
+
.btn-info:active, .btn-info.active, .btn-group.open .btn-info.dropdown-toggle { background: #559cc7 !important; border-color: #5897c3 !important; }
|
492 |
+
|
493 |
+
|
494 |
+
.btn-inverse { color: #ffffff !important; border: 1px solid #4e4e4e !important;
|
495 |
+
background: #484848 !important;
|
496 |
+
background: -moz-linear-gradient(top, #555555, #444444) !important;
|
497 |
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#444444)) !important;
|
498 |
+
background: -webkit-linear-gradient(top, #555555, #444444) !important;
|
499 |
+
background: -o-linear-gradient(top, #555555, #444444) !important;
|
500 |
+
background: linear-gradient(to bottom, #555555, #444444) !important;
|
501 |
+
}
|
502 |
+
.btn-inverse:active, .btn-inverse.active, .btn-group.open .btn-inverse.dropdown-toggle { background: #484848; }
|
503 |
+
|
504 |
+
|
505 |
+
.btn-link, .btn-link:active, .btn-link[disabled], .btn-group.open .btn-link.dropdown-toggle { background-color: transparent; background-image: none; -webkit-box-shadow: none; -moz-box-shadow: none; border: none; box-shadow: none; color: #327394; }
|
506 |
+
.btn-link { border: none; cursor: pointer; color: #327394; }
|
507 |
+
.btn-link:hover { color: #327394; text-decoration: underline; background-color: transparent; }
|
508 |
+
.btn-link[disabled]:hover { color: #333333; text-decoration: none; }
|
509 |
+
.btn-link:active { border: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; }
|
510 |
+
|
511 |
+
|
512 |
+
/*===== Button group =====*/
|
513 |
+
|
514 |
+
.btn-group { position: relative; font-size: 0; vertical-align: middle; white-space: nowrap; *margin-left: .3em; display: inline-block; }
|
515 |
+
.btn-group:first-child { *margin-left: 0; }
|
516 |
+
.btn-group + .btn-group { margin-left: 5px; }
|
517 |
+
.btn-toolbar { font-size: 0; }
|
518 |
+
.btn-toolbar .btn-group { display: inline-block; *display: inline; *zoom: 1; }
|
519 |
+
.btn-toolbar .btn + .btn, .btn-toolbar .btn-group + .btn, .btn-toolbar .btn + .btn-group { margin-left: 5px; }
|
520 |
+
.btn-group > .btn { position: relative; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; }
|
521 |
+
.btn-group > .btn + .btn { margin-left: -1px; }
|
522 |
+
.btn-group > .btn,
|
523 |
+
.btn-group > .dropdown-menu { font-size: 11px; }
|
524 |
+
.btn-group > .btn-mini { font-size: 11px; }
|
525 |
+
.btn-group > .btn-small { font-size: 12px; }
|
526 |
+
.btn-group > .btn-large { font-size: 14px; }
|
527 |
+
.btn-group > .btn:first-child { margin-left: 0; -webkit-border-top-left-radius: 2px; -moz-border-radius-topleft: 2px; border-top-left-radius: 2px; -webkit-border-bottom-left-radius: 2px; -moz-border-radius-bottomleft: 2px; border-bottom-left-radius: 2px; }
|
528 |
+
.btn-group > .btn:last-child, .btn-group > .dropdown-toggle { -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomright: 2px; border-bottom-right-radius: 2px; }
|
529 |
+
.btn-group > .btn.large:first-child { margin-left: 0; -webkit-border-top-left-radius: 2px; -moz-border-radius-topleft: 2px; border-top-left-radius: 2px; -webkit-border-bottom-left-radius: 2px; -moz-border-radius-bottomleft: 2px; border-bottom-left-radius: 2px; }
|
530 |
+
.btn-group > .btn.large:last-child, .btn-group > .large.dropdown-toggle { -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomright: 2px; border-bottom-right-radius: 2px; }
|
531 |
+
.btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active { z-index: 2; }
|
532 |
+
.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; }
|
533 |
+
.btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; *padding-top: 5px; *padding-bottom: 5px; }
|
534 |
+
.btn-group > .btn-mini + .dropdown-toggle { padding-left: 5px; padding-right: 5px; *padding-top: 2px; *padding-bottom: 2px; }
|
535 |
+
.btn-group > .btn-small + .dropdown-toggle { *padding-top: 5px; *padding-bottom: 4px; }
|
536 |
+
.btn-group > .btn-large + .dropdown-toggle { padding-left: 12px; padding-right: 12px; *padding-top: 7px; *padding-bottom: 7px; }
|
537 |
+
|
538 |
+
.btn-group-vertical { display: inline-block; *display: inline; *zoom: 1; }
|
539 |
+
.btn-group-vertical .btn { display: block; float: none; width: 100%; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; margin-top: 0; margin-bottom: 0; }
|
540 |
+
.btn-group-vertical .btn + .btn { margin-left: 0; margin-top: -1px; }
|
541 |
+
.btn-group-vertical .btn:first-child { -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; }
|
542 |
+
.btn-group-vertical .btn:last-child { -webkit-border-radius: 0 0 2px 2px; -moz-border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px; }
|
543 |
+
.btn-group-vertical .btn-large:first-child { -webkit-border-radius: 2px 2px 0 0; -moz-border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0; }
|
544 |
+
.btn-group-vertical .btn-large:last-child { -webkit-border-radius: 0 0 2px 2px; -moz-border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px; }
|
545 |
+
|
546 |
+
|
547 |
+
/*===== Button caret =====*/
|
548 |
+
|
549 |
+
.btn .caret { margin-top: 5px; }
|
550 |
+
.btn-mini .caret, .btn-small .caret, .btn-large .caret { margin-top: 6px; }
|
551 |
+
.btn-large .caret { border-left-width: 5px; border-right-width: 5px; border-top-width: 5px; }
|
552 |
+
.dropup .btn-large .caret { border-bottom: 5px solid #000000; border-top: 0; }
|
553 |
+
.btn-primary .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret, .btn-success .caret, .btn-inverse .caret { border-top-color: #ffffff; border-bottom-color: #ffffff; }
|
554 |
+
.dropup .btn-primary .caret, .dropup .btn-warning .caret, .dropup .btn-danger .caret, .dropup .btn-info .caret, .dropup .btn-success .caret, .dropup .btn-inverse .caret { border-top-color: #ffffff; border-bottom-color: #ffffff; }
|
555 |
+
|
556 |
+
|
557 |
+
|
558 |
+
|
559 |
+
/* # Icons (Glyphicons)
|
560 |
+
================================================== */
|
561 |
+
|
562 |
+
[class^="icon-"], [class*=" icon-"] { display: inline-block; width: 14px; height: 14px; *margin-right: .3em; line-height: 14px; vertical-align: -2px; background-image: url("../images/sprites/glyphicons-halflings.png"); background-position: 14px 14px; background-repeat: no-repeat; }
|
563 |
+
.btn b { float: left; display: block; margin-top: -1px; margin-right: 5px; }
|
564 |
+
|
565 |
+
/* White icons with optional class, or on hover/active states of certain elements */
|
566 |
+
.icon-white,
|
567 |
+
.nav-tabs > .active > a > [class^="icon-"],
|
568 |
+
.nav-tabs > .active > a > [class*=" icon-"],
|
569 |
+
.navigation > li.active > a > b,
|
570 |
+
.btn-primary > [class^="icon-"],
|
571 |
+
.btn-primary > [class*=" icon-"],
|
572 |
+
.btn-info > [class^="icon-"],
|
573 |
+
.btn-info > [class*=" icon-"],
|
574 |
+
.btn-success > [class^="icon-"],
|
575 |
+
.btn-success > [class*=" icon-"],
|
576 |
+
.btn-danger > [class^="icon-"],
|
577 |
+
.btn-danger > [class*=" icon-"],
|
578 |
+
.btn-warning > [class^="icon-"],
|
579 |
+
.btn-warning > [class*=" icon-"],
|
580 |
+
.btn-inverse > [class^="icon-"],
|
581 |
+
.btn-inverse > [class*=" icon-"],
|
582 |
+
.btn:active > [class^="icon-"],
|
583 |
+
.btn:active > [class*=" icon-"],
|
584 |
+
.nav-pills > .active > a > [class^="icon-"],
|
585 |
+
.nav-pills > .active > a > [class*=" icon-"],
|
586 |
+
.nav-list > .active > a > [class^="icon-"],
|
587 |
+
.nav-list > .active > a > [class*=" icon-"],
|
588 |
+
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
589 |
+
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
590 |
+
.dropdown-menu > li > a:hover > [class^="icon-"],
|
591 |
+
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
592 |
+
.dropdown-menu > .active > a > [class^="icon-"],
|
593 |
+
.dropdown-menu > .active > a > [class*=" icon-"]
|
594 |
+
{ background-image: url("../images/sprites/glyphicons-halflings-white.png"); }
|
595 |
+
|
596 |
+
.icon-glass { background-position: 0 0; }
|
597 |
+
.icon-music { background-position: -24px 0; }
|
598 |
+
.icon-search { background-position: -48px 0; }
|
599 |
+
.icon-envelope { background-position: -72px 0; }
|
600 |
+
.icon-heart { background-position: -96px 0; }
|
601 |
+
.icon-star { background-position: -120px 0; }
|
602 |
+
.icon-star-empty { background-position: -144px 0; }
|
603 |
+
.icon-user { background-position: -168px 0; }
|
604 |
+
.icon-film { background-position: -192px 0; }
|
605 |
+
.icon-th-large { background-position: -216px 0; }
|
606 |
+
.icon-th { background-position: -240px 0; }
|
607 |
+
.icon-th-list { background-position: -264px 0; }
|
608 |
+
.icon-ok { background-position: -288px 0; }
|
609 |
+
.icon-remove { background-position: -312px 0; }
|
610 |
+
.icon-zoom-in { background-position: -336px 0; }
|
611 |
+
.icon-zoom-out { background-position: -360px 0; }
|
612 |
+
.icon-off { background-position: -384px 0; }
|
613 |
+
.icon-signal { background-position: -408px 0; }
|
614 |
+
.icon-cog { background-position: -432px 0; }
|
615 |
+
.icon-trash { background-position: -456px 0; }
|
616 |
+
.icon-home { background-position: 0 -24px; }
|
617 |
+
.icon-file { background-position: -24px -24px; }
|
618 |
+
.icon-time { background-position: -48px -24px; }
|
619 |
+
.icon-road { background-position: -72px -24px; }
|
620 |
+
.icon-download-alt { background-position: -96px -24px; }
|
621 |
+
.icon-download { background-position: -120px -24px; }
|
622 |
+
.icon-upload { background-position: -144px -24px; }
|
623 |
+
.icon-inbox { background-position: -168px -24px; }
|
624 |
+
.icon-play-circle { background-position: -192px -24px; }
|
625 |
+
.icon-repeat { background-position: -216px -24px; }
|
626 |
+
.icon-refresh { background-position: -240px -24px; }
|
627 |
+
.icon-list-alt { background-position: -264px -24px; }
|
628 |
+
.icon-lock { background-position: -287px -24px; }
|
629 |
+
.icon-flag { background-position: -312px -24px; }
|
630 |
+
.icon-headphones { background-position: -336px -24px; }
|
631 |
+
.icon-volume-off { background-position: -360px -24px; }
|
632 |
+
.icon-volume-down { background-position: -384px -24px; }
|
633 |
+
.icon-volume-up { background-position: -408px -24px; }
|
634 |
+
.icon-qrcode { background-position: -432px -24px; }
|
635 |
+
.icon-barcode { background-position: -456px -24px; }
|
636 |
+
.icon-tag { background-position: 0 -48px; }
|
637 |
+
.icon-tags { background-position: -25px -48px; }
|
638 |
+
.icon-book { background-position: -48px -48px; }
|
639 |
+
.icon-bookmark { background-position: -72px -48px; }
|
640 |
+
.icon-print { background-position: -96px -48px; }
|
641 |
+
.icon-camera { background-position: -120px -48px; }
|
642 |
+
.icon-font { background-position: -144px -48px; }
|
643 |
+
.icon-bold { background-position: -167px -48px; }
|
644 |
+
.icon-italic { background-position: -192px -48px; }
|
645 |
+
.icon-text-height { background-position: -216px -48px; }
|
646 |
+
.icon-text-width { background-position: -240px -48px; }
|
647 |
+
.icon-align-left { background-position: -264px -48px; }
|
648 |
+
.icon-align-center { background-position: -288px -48px; }
|
649 |
+
.icon-align-right { background-position: -312px -48px; }
|
650 |
+
.icon-align-justify { background-position: -336px -48px; }
|
651 |
+
.icon-list { background-position: -360px -48px; }
|
652 |
+
.icon-indent-left { background-position: -384px -48px; }
|
653 |
+
.icon-indent-right { background-position: -408px -48px; }
|
654 |
+
.icon-facetime-video { background-position: -432px -48px; }
|
655 |
+
.icon-picture { background-position: -456px -48px; }
|
656 |
+
.icon-pencil { background-position: 0 -72px; }
|
657 |
+
.icon-map-marker { background-position: -24px -72px; }
|
658 |
+
.icon-adjust { background-position: -48px -72px; }
|
659 |
+
.icon-tint { background-position: -72px -72px; }
|
660 |
+
.icon-edit { background-position: -96px -72px; }
|
661 |
+
.icon-share { background-position: -120px -72px; }
|
662 |
+
.icon-check { background-position: -144px -72px; }
|
663 |
+
.icon-move { background-position: -168px -72px; }
|
664 |
+
.icon-step-backward { background-position: -192px -72px; }
|
665 |
+
.icon-fast-backward { background-position: -216px -72px; }
|
666 |
+
.icon-backward { background-position: -240px -72px; }
|
667 |
+
.icon-play { background-position: -264px -72px; }
|
668 |
+
.icon-pause { background-position: -288px -72px; }
|
669 |
+
.icon-stop { background-position: -312px -72px; }
|
670 |
+
.icon-forward { background-position: -336px -72px; }
|
671 |
+
.icon-fast-forward { background-position: -360px -72px; }
|
672 |
+
.icon-step-forward { background-position: -384px -72px; }
|
673 |
+
.icon-eject { background-position: -408px -72px; }
|
674 |
+
.icon-chevron-left { background-position: -432px -72px; }
|
675 |
+
.icon-chevron-right { background-position: -456px -72px; }
|
676 |
+
.icon-plus-sign { background-position: 0 -96px; }
|
677 |
+
.icon-minus-sign { background-position: -24px -96px; }
|
678 |
+
.icon-remove-sign { background-position: -48px -96px; }
|
679 |
+
.icon-ok-sign { background-position: -72px -96px; }
|
680 |
+
.icon-question-sign { background-position: -96px -96px; }
|
681 |
+
.icon-info-sign { background-position: -120px -96px; }
|
682 |
+
.icon-screenshot { background-position: -144px -96px; }
|
683 |
+
.icon-remove-circle { background-position: -168px -96px; }
|
684 |
+
.icon-ok-circle { background-position: -192px -96px; }
|
685 |
+
.icon-ban-circle { background-position: -216px -96px; }
|
686 |
+
.icon-arrow-left { background-position: -240px -96px; }
|
687 |
+
.icon-arrow-right { background-position: -264px -96px; }
|
688 |
+
.icon-arrow-up { background-position: -289px -96px; }
|
689 |
+
.icon-arrow-down { background-position: -312px -96px; }
|
690 |
+
.icon-share-alt { background-position: -336px -96px; }
|
691 |
+
.icon-resize-full { background-position: -360px -96px; }
|
692 |
+
.icon-resize-small { background-position: -384px -96px; }
|
693 |
+
.icon-plus { background-position: -408px -96px; }
|
694 |
+
.icon-minus { background-position: -433px -96px; }
|
695 |
+
.icon-asterisk { background-position: -456px -96px; }
|
696 |
+
.icon-exclamation-sign { background-position: 0 -120px; }
|
697 |
+
.icon-gift { background-position: -24px -120px; }
|
698 |
+
.icon-leaf { background-position: -48px -120px; }
|
699 |
+
.icon-fire { background-position: -72px -120px; }
|
700 |
+
.icon-eye-open { background-position: -96px -120px; }
|
701 |
+
.icon-eye-close { background-position: -120px -120px; }
|
702 |
+
.icon-warning-sign { background-position: -144px -120px; }
|
703 |
+
.icon-plane { background-position: -168px -120px; }
|
704 |
+
.icon-calendar { background-position: -192px -120px; }
|
705 |
+
.icon-random { background-position: -216px -120px; width: 16px; }
|
706 |
+
.icon-comment { background-position: -240px -120px; }
|
707 |
+
.icon-magnet { background-position: -264px -120px; }
|
708 |
+
.icon-chevron-up { background-position: -288px -120px; }
|
709 |
+
.icon-chevron-down { background-position: -313px -119px; }
|
710 |
+
.icon-retweet { background-position: -336px -120px; }
|
711 |
+
.icon-shopping-cart { background-position: -360px -120px; }
|
712 |
+
.icon-folder-close { background-position: -384px -120px; }
|
713 |
+
.icon-folder-open { background-position: -408px -120px; width: 16px; }
|
714 |
+
.icon-resize-vertical { background-position: -432px -119px; }
|
715 |
+
.icon-resize-horizontal { background-position: -456px -118px; }
|
716 |
+
.icon-hdd { background-position: 0 -144px; }
|
717 |
+
.icon-bullhorn { background-position: -24px -144px; }
|
718 |
+
.icon-bell { background-position: -48px -144px; }
|
719 |
+
.icon-certificate { background-position: -72px -144px; }
|
720 |
+
.icon-thumbs-up { background-position: -96px -144px; }
|
721 |
+
.icon-thumbs-down { background-position: -120px -144px; }
|
722 |
+
.icon-hand-right { background-position: -144px -144px; }
|
723 |
+
.icon-hand-left { background-position: -168px -144px; }
|
724 |
+
.icon-hand-up { background-position: -192px -144px; }
|
725 |
+
.icon-hand-down { background-position: -216px -144px; }
|
726 |
+
.icon-circle-arrow-right { background-position: -240px -144px; }
|
727 |
+
.icon-circle-arrow-left { background-position: -264px -144px; }
|
728 |
+
.icon-circle-arrow-up { background-position: -288px -144px; }
|
729 |
+
.icon-circle-arrow-down { background-position: -312px -144px; }
|
730 |
+
.icon-globe { background-position: -336px -144px; }
|
731 |
+
.icon-wrench { background-position: -360px -144px; }
|
732 |
+
.icon-tasks { background-position: -384px -144px; }
|
733 |
+
.icon-filter { background-position: -408px -144px; }
|
734 |
+
.icon-briefcase { background-position: -432px -144px; }
|
735 |
+
.icon-fullscreen { background-position: -456px -144px; }
|
736 |
+
|
737 |
+
|
738 |
+
|
739 |
+
|
740 |
+
/* # Navbar
|
741 |
+
================================================== */
|
742 |
+
|
743 |
+
|
744 |
+
.navbar { overflow: visible; color: #777777; *position: relative; *z-index: 2; }
|
745 |
+
.navbar-inner { border: 1px solid #d4d4d4; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; box-shadow: 0 1px 0 #fff; *zoom: 1;
|
746 |
+
background-color: white;
|
747 |
+
background-image: -moz-linear-gradient(top, white, #F2F2F2);
|
748 |
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#F2F2F2));
|
749 |
+
background-image: -webkit-linear-gradient(top, white, #F2F2F2);
|
750 |
+
background-image: -o-linear-gradient(top, white, #F2F2F2);
|
751 |
+
background-image: linear-gradient(to bottom, white, #F2F2F2);
|
752 |
+
background-repeat: repeat-x;
|
753 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2', GradientType=0);
|
754 |
+
}
|
755 |
+
.navbar-inner:before, .navbar-inner:after { display: table; content: ""; line-height: 0; }
|
756 |
+
.navbar-inner:after { clear: both; }
|
757 |
+
|
758 |
+
.navbar .brand, .navbar h5, .navbar h6 { float: left; display: block; padding: 9px 14px; font-size: 14px; font-weight: bold; color: #5f5f5f; text-shadow: 0 1px 0 #ffffff; margin: 0; }
|
759 |
+
.navbar-inner > h5 > i, .navbar-inner > h6 > i { font-size: 14px; float: left; display: inline-block; line-height: 1; margin: 4px 10px 0 0; }
|
760 |
+
.navbar h6 { font-size: 12px; }
|
761 |
+
.navbar .brand:hover { text-decoration: none; }
|
762 |
+
|
763 |
+
|
764 |
+
/*===== Navbar elements =====*/
|
765 |
+
|
766 |
+
.navbar .progress { width: 40%; float: right; margin: 9px; }
|
767 |
+
.navbar .navbar-input { padding: 6px 7px; margin: 7px; width: 40%; height: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
768 |
+
.navbar .label, .navbar .badge { margin:0px 10px; }
|
769 |
+
.navbar .pick-a-date { margin: 7px; }
|
770 |
+
.navbar .pick-a-date > i { font-size: 16px; margin-right: 10px; float: left; margin-top: 3px; }
|
771 |
+
.navbar .pick-a-date input { padding: 6px 7px; margin-top: 0; height: auto; width: 100px; }
|
772 |
+
.navbar .pick-a-date .ui-datepicker-append { display: none; }
|
773 |
+
.navbar .checkbox, .navber .radio { margin: 9px 2px 0 2px; }
|
774 |
+
.navbar .checkbox .toggle-label, .navbar .radio .toggle-label { vertical-align: 7px; margin-right: 10px; margin-bottom: 0; }
|
775 |
+
.navbar .loading { margin: 9px 10px; }
|
776 |
+
.navbar .loading > span { float: left; display: block; margin-right: 10px; font-size: 11px; font-style: italic; color: #999; }
|
777 |
+
.navbar .loading > img { float: right; margin-top: 3px; }
|
778 |
+
.navbar .btn-group { margin: 6px; }
|
779 |
+
.navbar .btn { margin: 5px 5px 5px -4px; }
|
780 |
+
.navbar .btn-small { margin: 6px 5px 6px -4px; }
|
781 |
+
.navbar .btn:first-child { margin-left: 7px; }
|
782 |
+
.navbar .btn-group .btn, .navbar .input-prepend .btn, .navbar .input-append .btn { margin-top: 0; }
|
783 |
+
.nav-collapse.collapse { height: auto; }
|
784 |
+
|
785 |
+
|
786 |
+
/*===== Navbar form =====*/
|
787 |
+
|
788 |
+
.navbar-form { margin-bottom: 0; *zoom: 1; padding-top: 7px; padding-right: 7px; }
|
789 |
+
.navbar-form:before, .navbar-form:after { display: table; content: ""; line-height: 0; }
|
790 |
+
.navbar-form:after { clear: both; }
|
791 |
+
.navbar-form input[type=text], .navbar-form input[type=password] { height: 26px; padding: 7px; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
792 |
+
.navbar-form .btn { padding: 6px 13px 5px 13px; margin: 0 0 0 -4px; height: 26px; }
|
793 |
+
.navbar-form input, .navbar-form select, .navbar-form .btn { display: inline-block; }
|
794 |
+
.navbar-form input[type="image"], .navbar-form input[type="checkbox"], .navbar-form input[type="radio"] { margin-top: 3px; }
|
795 |
+
.navbar-form .input-append, .navbar-form .input-prepend { margin-top: 6px; white-space: nowrap; }
|
796 |
+
.navbar-form .input-append input, .navbar-form .input-prepend input { margin-top: 0; }
|
797 |
+
.navbar-form .btn { border-radius: 0 2px 2px 0; -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; }
|
798 |
+
|
799 |
+
|
800 |
+
/*===== Navbar navigation =====*/
|
801 |
+
.navbar li {margin-bottom:0px !important}
|
802 |
+
.navbar .nav { position: relative; left: 0; display: block; float: left; margin: 0 10px 0 0; }
|
803 |
+
.navbar .nav > li > a > i { margin-right: 0; }
|
804 |
+
.navbar .nav > li > a > i[class*="font-"] { font-size: 14px; vertical-align: -1px; }
|
805 |
+
.navbar .nav > li > a.just-icon { padding-left: 12px; padding-right: 12px; }
|
806 |
+
.navbar .nav > a.just-caret { padding: 9px 12px 9px 12px; border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; -moz-border-radius: 0 3px 0 0; }
|
807 |
+
.navbar .nav > a.just-caret > .caret { border-top-width: 5px; border-right-width: 5px; border-left-width: 5px; margin-top: 9px; }
|
808 |
+
.navbar .nav > li > a.just-caret { padding: 9px 12px 9px 12px; border-radius: 0; -moz-border-radius: 0; }
|
809 |
+
.navbar .nav > li > a.just-caret > .caret { border-top-width: 5px; border-right-width: 5px; border-left-width: 5px; margin-top: 9px; margin-left: 0; }
|
810 |
+
.navbar .nav > a { display: block; padding: 10px 12px 7px 12px; cursor: pointer; }
|
811 |
+
.navbar .nav > a > .caret { border-top-color: #777; border-bottom-color: #777; border-top-width: 4px; border-right-width: 4px; border-left-width: 4px; }
|
812 |
+
.navbar .nav.open > a, .navbar .nav.open > a:hover { color: #999; }
|
813 |
+
.navbar .nav.open > a > .caret { border-top-color: #999; border-bottom-color: #999; }
|
814 |
+
.navbar .nav.pull-right { float: right; margin-right: 0; }
|
815 |
+
.navbar .nav > li { float: left; }
|
816 |
+
.navbar .nav > li > a { float: none; padding: 9px 12px; color: #5f5f5f; text-decoration: none; text-shadow: 0 1px 0 #ffffff; border-left: 1px solid #E2E2E2; }
|
817 |
+
.navbar .nav > li:last-child > a { border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; -moz-border-radius: 0 3px 0 0; }
|
818 |
+
.navbar .nav.left-nav > li:last-child > a { border-radius: 0; -moz-border-radius: 0; border-right: 1px solid #E2E2E2; }
|
819 |
+
.navbar .nav .dropdown-toggle .caret { margin-top: 10px; }
|
820 |
+
.navbar .nav > li > a:focus, .navbar .nav > li > a:hover { background-color: transparent; color: #327394; text-decoration: none; }
|
821 |
+
.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus { color: #999999; text-decoration: none; background-color: #fafafa; }
|
822 |
+
|
823 |
+
[class^="well"] .navbar .nav > .active > a,
|
824 |
+
[class*=" well"] .navbar .nav > .active > a,
|
825 |
+
[class^="well"] .navbar .nav > .active > a:hover,
|
826 |
+
[class*=" well"] .navbar .nav > .active > a:hover
|
827 |
+
[class^="well"] .navbar .nav > .active > a:focus,
|
828 |
+
[class*=" well"] .navbar .nav > .active > a:focus
|
829 |
+
{ -webkit-box-shadow: 0 1px 0 #f1f1f1; -moz-box-shadow: 0 1px 0 #f1f1f1; box-shadow: 0 1px 0 #f1f1f1;}
|
830 |
+
|
831 |
+
[class^="well"] .navbar-inverse .nav > .active > a,
|
832 |
+
[class^="well"] .navbar-inverse .nav > .active > a:hover,
|
833 |
+
[class^="well"] .navbar-inverse .nav > .active > a:focus
|
834 |
+
{ box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; background: #3f3f3f; color: #a5a5a5; }
|
835 |
+
|
836 |
+
.left-nav .active
|
837 |
+
{
|
838 |
+
background-color: rgb(174, 199, 30) !important;
|
839 |
+
border-left: solid 1px rgb(174, 199, 30) !important;
|
840 |
+
font-weight: bold !important;
|
841 |
+
color: #fff !important;
|
842 |
+
text-shadow: none;
|
843 |
+
border-left: 1px solid rgb(174, 199, 30) !important;
|
844 |
+
box-shadow: 1px 0 0 rgb(174, 199, 30) inset, -1px 0 0 rgb(174, 199, 30) inset !important;
|
845 |
+
-webkit-box-shadow: 1px 0 0 rgb(174, 199, 30) inset, -1px 0 0 rgb(174, 199, 30) inset !important;
|
846 |
+
-moz-box-shadow: 1px 0 0 rgb(174, 199, 30) inset, -1px 0 0 rgb(174, 199, 30) inset !important;
|
847 |
+
}
|
848 |
+
/*===== Navbar dropdowns =====*/
|
849 |
+
|
850 |
+
.navbar .nav .dropdown-menu.pull-right:before, .navbar .nav .dropdown-menu:before { content: ''; display: inline-block; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 5px solid #ccc; border-bottom-color: rgba(0, 0, 0, 0.25); position: absolute; top: -5px; }
|
851 |
+
.navbar .nav .dropdown-menu.pull-right:after, .navbar .nav .dropdown-menu:after { content: ''; display: inline-block; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid #ffffff; position: absolute; top: -4px; }
|
852 |
+
.navbar .nav .dropdown-menu.pull-right:before { right: 13px; left: auto; }
|
853 |
+
.navbar .nav .dropdown-menu.pull-right:after { right: 14px; left: auto; }
|
854 |
+
.navbar .nav .dropdown-menu:before { right: auto; left: 13px; }
|
855 |
+
.navbar .nav .dropdown-menu:after { right: auto; left: 14px; }
|
856 |
+
|
857 |
+
.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle { background-color: #fafafa; color: #999999; }
|
858 |
+
.navbar .nav li.dropdown > .dropdown-toggle .caret { border-top-color: #777777; border-bottom-color: #777777; }
|
859 |
+
.navbar .nav li.dropdown.open > .dropdown-toggle .caret, .navbar .nav li.dropdown.active > .dropdown-toggle .caret, .navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { border-top-color: #999; border-bottom-color: #999; }
|
860 |
+
.navbar .nav > li > .dropdown-menu.pull-right { left: auto; right: -1px; }
|
861 |
+
.navbar .pull-right > li > .dropdown-menu .dropdown-menu, .navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { left: auto; right: 100%; margin-left: 0; margin-right: -1px; }
|
862 |
+
|
863 |
+
|
864 |
+
/*===== Navbar inverse =====*/
|
865 |
+
|
866 |
+
.navbar-inverse { color: #999999; }
|
867 |
+
.navbar-inverse .navbar-inner { border-color: #252525; border-bottom: none;
|
868 |
+
|
869 |
+
background: url(../images/backgrounds/default.jpg);
|
870 |
+
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
871 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.3))), url(../images/backgrounds/default.jpg);
|
872 |
+
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
873 |
+
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
874 |
+
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
875 |
+
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
876 |
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
877 |
+
|
878 |
+
}
|
879 |
+
.navbar-inverse .nav > li > a { color: #ddd; text-shadow: none; border-left: 1px solid #222; box-shadow: 1px 0 0 #444 inset, -1px 0 0 #444 inset; -webkit-box-shadow: 1px 0 0 #444 inset, -1px 0 0 #444 inset; -moz-box-shadow: 1px 0 0 #444 inset, -1px 0 0 #444 inset; border-right: none; }
|
880 |
+
.navbar-inverse .nav.left-nav > li:last-child > a { border-radius: 0; -moz-border-radius: 0; border-right: 1px solid #222; }
|
881 |
+
.navbar-inverse .nav > li:last-child > a { box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; -moz-border-radius: 0 3px 0 0; }
|
882 |
+
.navbar-inverse .brand { text-shadow: none; color: #ccc !important;font-size:12px }
|
883 |
+
.navbar-inverse .nav > li:first-child a { border-left: 1px solid #222; }
|
884 |
+
.navbar-inverse .brand:hover, .navbar-inverse .nav > li > a:hover { color: #ffffff; }
|
885 |
+
.navbar-inverse .nav > li > a:focus, .navbar-inverse .nav > li > a:hover { background: #444; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: #ffffff; }
|
886 |
+
.navbar-inverse .nav .active > a, .navbar-inverse .nav .active > a:hover, .navbar-inverse .nav .active > a:focus { color: #ffffff; background-color: #3f3f3f; }
|
887 |
+
.navbar-inverse .navbar-link { color: #999999; }
|
888 |
+
.navbar-inverse .navbar-link:hover { color: #ffffff; }
|
889 |
+
.navbar-inverse .divider-vertical { border-left-color: #111111; border-right-color: #222222; }
|
890 |
+
.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { background-color: #3f3f3f; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: #a5a5a5; }
|
891 |
+
.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { border-top-color: #a5a5a5; border-bottom-color: #a5a5a5; }
|
892 |
+
.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, .navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, .navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { border-top-color: #a5a5a5; border-bottom-color: #a5a5a5; }
|
893 |
+
|
894 |
+
|
895 |
+
|
896 |
+
|
897 |
+
/* # Nav, tabs, pills
|
898 |
+
================================================== */
|
899 |
+
|
900 |
+
.nav { margin-left: 0; list-style: none; }
|
901 |
+
.nav .divider { margin-top: 0; }
|
902 |
+
.nav > .disabled > a { color: #999999; }
|
903 |
+
.nav > .disabled > a:hover { text-decoration: none; background-color: transparent; cursor: default; }
|
904 |
+
.nav > li > a { display: block; }
|
905 |
+
.nav > li > a:hover { background: #fbfbfb; color: #555; }
|
906 |
+
.nav > .pull-right { float: right; }
|
907 |
+
.nav-header { display: block; padding: 6px 15px 5px 15px; font-size: 11px; font-weight: bold; line-height: 20px; color: #777; text-transform: uppercase; background: #FAFAFA; border-bottom: 1px solid #e5e5e5; }
|
908 |
+
.nav-header:first-child { border-radius: 3px 3px 0 0; -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; }
|
909 |
+
.nav li + .nav-header { border-top: 1px solid #e5e5e5; }
|
910 |
+
.nav-list { padding-left: 15px; padding-right: 15px; margin-bottom: 0; }
|
911 |
+
.nav-list > li > a, .nav-list .nav-header { margin-left: -15px; margin-right: -15px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
|
912 |
+
.nav-list > li > a { padding: 6px 15px; }
|
913 |
+
.nav-list > .active > a, .nav-list > .active > a:hover { color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); background-color: #0088cc; }
|
914 |
+
.nav-list [class^="icon-"] { margin-right: 2px; }
|
915 |
+
.nav-list .divider { *width: 100%; height: 0; margin: 0 -15px; *margin: -5px 0 5px; overflow: hidden; border-top: 0; border-bottom: 1px solid #e5e5e5; }
|
916 |
+
|
917 |
+
|
918 |
+
/*===== Pills =====*/
|
919 |
+
|
920 |
+
.nav-pills > li > a { padding: 4px 11px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
921 |
+
.nav-pills > li > a:hover { color: #444; }
|
922 |
+
.nav-pills.nav-stacked > li > a { padding-top: 8px; padding-bottom: 7px; border-radius: 0; -moz-border-radius: 0; }
|
923 |
+
.nav-pills > .active > a, .nav-pills > .active > a:hover { color: #ffffff; background-color: #0088cc; box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; -webkit-box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; -moz-box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; }
|
924 |
+
.nav-pills.nav-stacked > .active > a, .nav-pills.nav-stacked > .active > a:hover { color: #fff; background-color: #0088cc; }
|
925 |
+
.nav-stacked > li > a { margin-right: 0; }
|
926 |
+
.nav-tabs.nav-stacked > li > a { border-bottom: 1px solid #ddd; border-right: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
927 |
+
.nav-tabs.nav-stacked > li:last-child > a { border-bottom: none; }
|
928 |
+
.nav-tabs.nav-stacked > li > a:hover { z-index: 2; }
|
929 |
+
.nav .dropdown-toggle .caret { border-top-color: #0088cc; border-bottom-color: #0088cc; }
|
930 |
+
.nav .dropdown-toggle:hover .caret { border-top-color: #005580; border-bottom-color: #005580; }
|
931 |
+
|
932 |
+
.nav-tabs .dropdown-toggle .caret { margin-top: 8px; }
|
933 |
+
.nav .active .dropdown-toggle .caret { border-top-color: #fff; border-bottom-color: #fff; }
|
934 |
+
.nav-tabs .active .dropdown-toggle .caret { border-top-color: #555555; border-bottom-color: #555555; }
|
935 |
+
.nav > .dropdown.active > a:hover { cursor: pointer; }
|
936 |
+
.nav-tabs .open .dropdown-toggle, .nav-pills .open .dropdown-toggle, .nav > li.dropdown.open > a:hover { color: #ffffff; background: #999999; }
|
937 |
+
.nav li.dropdown.open .caret, .nav li.dropdown.open.active .caret, .nav li.dropdown.open a:hover .caret { border-top-color: #ffffff; border-bottom-color: #ffffff; opacity: 1; filter: alpha(opacity=100); }
|
938 |
+
|
939 |
+
|
940 |
+
/*===== Tabs =====*/
|
941 |
+
|
942 |
+
.nav-tabs, .nav-pills { *zoom: 1; }
|
943 |
+
.nav-tabs { border: 1px solid #dadada; *zoom: 1; border-bottom: none;
|
944 |
+
background: #fafafa;
|
945 |
+
background: -moz-linear-gradient(top, #ffffff, #f2f2f2);
|
946 |
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
|
947 |
+
background: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
|
948 |
+
background: -o-linear-gradient(top, #ffffff, #f2f2f2);
|
949 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
950 |
+
background: linear-gradient(to bottom, #ffffff, #f2f2f2);
|
951 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
|
952 |
+
}
|
953 |
+
.nav-tabs:before, .nav-pills:before, .nav-tabs:after, .nav-pills:after { display: table; content: ""; line-height: 0; }
|
954 |
+
.nav-tabs:after, .nav-pills:after { clear: both; }
|
955 |
+
.nav-tabs > li, .nav-pills > li { float: left; }
|
956 |
+
.nav-tabs.nav-stacked > li, .nav-pills.nav-stacked > li { float: none; }
|
957 |
+
.nav-tabs > li > a { padding-right: 12px; padding-left: 12px; border-right: 1px solid #E1E1E1; line-height: 14px; }
|
958 |
+
.nav-tabs > li > a { padding: 8px 14px; line-height: 22px; }
|
959 |
+
.nav-tabs > .active > a, .nav-tabs > .active > a:hover { color: #999999; background: #fcfcfc; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: default; -webkit-box-shadow: 0 1px 0 #F1F1F1; -moz-box-shadow: 0 1px 0 #f1f1f1; box-shadow: 0 1px 0 #F1F1F1; }
|
960 |
+
.nav-tabs > li > a:hover, .tabs-left .nav-tabs > li > a:hover, .tabs-right .nav-tabs > li > a:hover {
|
961 |
+
background: #fcfcfc;
|
962 |
+
background: -moz-linear-gradient(top, #fcfcfc, #f5f5f5);
|
963 |
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#fcfcfc), to(#f5f5f5));
|
964 |
+
background: -webkit-linear-gradient(top, #fcfcfc, #f5f5f5);
|
965 |
+
background: -o-linear-gradient(top, #fcfcfc, #f5f5f5);
|
966 |
+
background: linear-gradient(to bottom, #fcfcfc, #f5f5f5);
|
967 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
968 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#f5f5f5',GradientType=0 );
|
969 |
+
}
|
970 |
+
.nav-stacked.nav-tabs > li > a:hover { background: #fbfbfb; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: #555; }
|
971 |
+
|
972 |
+
.tabs-stacked .open > a:hover { border-color: #999999; }
|
973 |
+
.tabbable { *zoom: 1; }
|
974 |
+
.tabbable:before, .tabbable:after { display: table; content: ""; line-height: 0; }
|
975 |
+
.tabbable:after { clear: both; }
|
976 |
+
.tab-content { overflow: auto; background: #fcfcfc; border: 1px solid #dadada; padding: 12px; }
|
977 |
+
.table-tabs .tab-content { padding: 1px 0 0 0; }
|
978 |
+
.navbar-tabs .tab-content { background: none; border: none; }
|
979 |
+
.navbar-tabs .nav-tabs { border: none; }
|
980 |
+
.navbar-tabs .navbar .nav > li > a { border-right: 0; border-left: 1px solid #e2e2e2; }
|
981 |
+
.toolbar-tabs .nav-tabs { border: none; }
|
982 |
+
.toolbar-tabs .tab-content { border: none; border-top: 1px solid #e1e1e1; }
|
983 |
+
|
984 |
+
/* Page header tabs */
|
985 |
+
|
986 |
+
.page-tabs .tab-content { box-shadow: 0 1px 0 white inset; -webkit-box-shadow: 0 1px 0 white inset; -moz-box-shadow: 0 1px 0 white inset; border-top: 1px solid #d5d5d5; padding: 0; }
|
987 |
+
.page-tabs .midnav { border-top: 0; padding-top: 4px; padding-bottom: 0; }
|
988 |
+
.page-tabs { border: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
|
989 |
+
.page-tabs .nav-tabs > li > a { padding: 10px 14px; font-size: 14px; color: #4c4c4c; text-shadow: 0 1px 0 white; font-weight: bold; }
|
990 |
+
.page-tabs .nav-tabs > li > a > i { font-size: 16px; vertical-align: middle; }
|
991 |
+
.page-tabs .nav-tabs > li.active > a > i { color: #999; }
|
992 |
+
.page-tabs .nav-tabs > .active > a, .page-tabs .nav-tabs > .active > a:hover { color: #999; box-shadow: 0 1px 0 #eee; -webkit-box-shadow: 0 1px 0 #eee; -moz-box-shadow: 0 1px 0 #eee; }
|
993 |
+
|
994 |
+
/* Tabs below */
|
995 |
+
|
996 |
+
.tabs-right .tab-content, .tabs-left .tab-content { background: none; border: none; }
|
997 |
+
.tabs-below > .nav-tabs { border-top: 0; border-bottom: 1px solid #dadada; }
|
998 |
+
.tabs-below .nav-tabs > .active > a, .tabs-below .nav-tabs > .active > a:hover { -webkit-box-shadow: 0 -1px 0 #F1F1F1; -moz-box-shadow: 0 -1px 0 #f1f1f1; box-shadow: 0 -1px 0 #F1F1F1; }
|
999 |
+
|
1000 |
+
|
1001 |
+
.tab-content > .tab-pane, .pill-content > .pill-pane { display: none; }
|
1002 |
+
.tab-content > .active, .pill-content > .active { display: block; }
|
1003 |
+
|
1004 |
+
/* Tabs left, tabs right */
|
1005 |
+
|
1006 |
+
.tabs-right, .tabs-left { background: #fcfcfc; border: 1px solid #dddddd; }
|
1007 |
+
.tabs-left > .nav-tabs { border-bottom: 1px solid #dadada; border-right: none; }
|
1008 |
+
.tabs-left .nav-tabs > li > a, .tabs-right .nav-tabs > li > a {
|
1009 |
+
background: #fcfcfc;
|
1010 |
+
background: -moz-linear-gradient(top, #ffffff, #f2f2f2);
|
1011 |
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
|
1012 |
+
background: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
|
1013 |
+
background: -o-linear-gradient(top, #ffffff, #f2f2f2);
|
1014 |
+
background: linear-gradient(to bottom, #ffffff, #f2f2f2);
|
1015 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
|
1016 |
+
}
|
1017 |
+
.tabs-left .nav-tabs > li:last-child > a, .tabs-right .nav-tabs > li:last-child > a { margin-bottom: -1px; }
|
1018 |
+
.tabs-left .nav-tabs > li:first-child > a, .tabs-right .nav-tabs > li:first-child > a { border-top: none; }
|
1019 |
+
.tabs-left > .nav-tabs > li, .tabs-right > .nav-tabs > li { float: none; }
|
1020 |
+
.tabs-left > .nav-tabs > li > a, .tabs-right > .nav-tabs > li > a { min-width: 74px; margin-right: 0; border-right: none; border-bottom: 1px solid #dddddd; }
|
1021 |
+
.tabs-left > .nav-tabs { float: left; border: none; border-right: 1px solid #dddddd; }
|
1022 |
+
.tabs-left .nav-tabs > .active > a, .tabs-left .nav-tabs > .active > a:hover { -webkit-box-shadow: 1px 0 0 #F1F1F1; -moz-box-shadow:1px 0 0 #F1F1F1; box-shadow: 1px 0 0 #F1F1F1; background: #fcfcfc; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
1023 |
+
|
1024 |
+
.tabs-right > .nav-tabs { float: right; border: none; border-left: 1px solid #dddddd; }
|
1025 |
+
.tabs-right .nav-tabs > .active > a, .tabs-right .nav-tabs > .active > a:hover { -webkit-box-shadow: -1px 0 0 #F1F1F1; -moz-box-shadow: -1px 0 0 #F1F1F1; box-shadow: -1px 0 0 #F1F1F1; background: #fcfcfc; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
1026 |
+
|
1027 |
+
|
1028 |
+
|
1029 |
+
|
1030 |
+
|
1031 |
+
/* # Pagination & pager
|
1032 |
+
================================================== */
|
1033 |
+
|
1034 |
+
.pagination ul { display: inline-block; *display: inline; *zoom: 1; margin-left: 0; margin-bottom: 0; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: 0 1px 1px #eee; -moz-box-shadow: 0 1px 1px #eee; box-shadow: 0 1px 1px #eee; margin-bottom: -7px; }
|
1035 |
+
.pagination ul > li { display: inline; }
|
1036 |
+
.pagination ul > li.active > a {}
|
1037 |
+
.pagination ul > li > a, .pagination ul > li > span { float: left; padding: 8px 11px 7px 11px; line-height: 13px; text-decoration: none; border: 1px solid #dadada; border-left-width: 0; font-size: 11px; color: #5f5f5f;
|
1038 |
+
|
1039 |
+
background: #ffffff;
|
1040 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
1041 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
1042 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1043 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1044 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1045 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1046 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 );
|
1047 |
+
|
1048 |
+
}
|
1049 |
+
.pagination ul > li > a:hover { background: #fafafa; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: #327394; }
|
1050 |
+
.pagination ul > li > a:active { background: #f5f5f5; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
1051 |
+
.pagination ul > .active > a, .pagination ul > .active > a:hover, .pagination ul > .active > span { background: #f5f5f5; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: #327394; box-shadow: 0 1px 3px #efefef inset; -webkit-box-shadow: 0 1px 3px #efefef inset; -moz-box-shadow: 0 1px 3px #efefef inset; }
|
1052 |
+
.pagination ul > .disabled > span, .pagination ul > .disabled > a, .pagination ul > .disabled > a:hover { color: #bbb; background: #f9f9f9; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: default; }
|
1053 |
+
.pagination ul > li:first-child > a, .pagination ul > li:first-child > span { border-left-width: 1px; -webkit-border-radius: 2px 0 0 2px; -moz-border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px; }
|
1054 |
+
.pagination ul > li:last-child > a, .pagination ul > li:last-child > span { -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; }
|
1055 |
+
.pagination-centered { text-align: center; }
|
1056 |
+
.pagination-right { text-align: right; }
|
1057 |
+
|
1058 |
+
.pagination-large ul > li > a, .pagination-large ul > li > span { padding: 11px 17px 11px 17px; font-size: 14px; }
|
1059 |
+
.pagination-large ul > li:first-child > a, .pagination-large ul > li:first-child > span { -webkit-border-top-left-radius: 3px; -moz-border-radius-topleft: 3px; border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-radius-bottomleft: 3px; border-bottom-left-radius: 3px; }
|
1060 |
+
.pagination-large ul > li:last-child > a, .pagination-large ul > li:last-child > span { -webkit-border-top-right-radius: 3px; -moz-border-radius-topright: 3px; border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; -moz-border-radius-bottomright: 3px; border-bottom-right-radius: 3px; }
|
1061 |
+
|
1062 |
+
.pagination-mini ul > li:first-child > a,
|
1063 |
+
.pagination-small ul > li:first-child > a,
|
1064 |
+
.pagination-mini ul > li:first-child > span,
|
1065 |
+
.pagination-small ul > li:first-child > span
|
1066 |
+
{ -webkit-border-top-left-radius: 2px; -moz-border-radius-topleft: 2px; border-top-left-radius: 2px; -webkit-border-bottom-left-radius: 2px; -moz-border-radius-bottomleft: 2px; border-bottom-left-radius: 2px; }
|
1067 |
+
|
1068 |
+
.pagination-mini ul > li:last-child > a,
|
1069 |
+
.pagination-small ul > li:last-child > a,
|
1070 |
+
.pagination-mini ul > li:last-child > span,
|
1071 |
+
.pagination-small ul > li:last-child > span
|
1072 |
+
{ -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px; -webkit-border-bottom-right-radius: 2px; -moz-border-radius-bottomright: 2px; border-bottom-right-radius: 2px; }
|
1073 |
+
|
1074 |
+
.pagination-small ul > li > a, .pagination-small ul > li > span { padding: 6px 10px 5px 10px; font-size: 11px; }
|
1075 |
+
.pagination-mini ul > li > a, .pagination-mini ul > li > span { padding: 5px 8px 4px 8px; font-size: 11px; }
|
1076 |
+
.navbar .pagination { margin: 7px; }
|
1077 |
+
.navbar .pagination ul li a { border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
|
1078 |
+
|
1079 |
+
|
1080 |
+
/*===== Pager =====*/
|
1081 |
+
|
1082 |
+
.pager { text-align: center; *zoom: 1; }
|
1083 |
+
.pager:before, .pager:after { display: table; content: ""; line-height: 0; }
|
1084 |
+
.pager:after { clear: both; }
|
1085 |
+
.pager li { display: inline; }
|
1086 |
+
.pager a, .pager span { display: inline-block; padding: 8px 11px 7px 11px; line-height: 13px; color: #5f5f5f; border: 1px solid #dadada; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; font-size: 11px; -webkit-box-shadow: 0 1px 1px #eee; -moz-box-shadow: 0 1px 1px #eee; box-shadow: 0 1px 1px #eee;
|
1087 |
+
background: #ffffff;
|
1088 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
1089 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
1090 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1091 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1092 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1093 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
1094 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 );
|
1095 |
+
}
|
1096 |
+
.pager a:hover { border-color: #dfdfdf; color: #327394;
|
1097 |
+
background: #fcfcfc;
|
1098 |
+
background: -moz-linear-gradient(top, #fcfcfc 0%, #f5f5f5 100%);
|
1099 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f5f5f5));
|
1100 |
+
background: -webkit-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
1101 |
+
background: -o-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
1102 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
1103 |
+
background: linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
1104 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#f5f5f5',GradientType=0 );
|
1105 |
+
}
|
1106 |
+
.pager a:active { background: #6F6F6F; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); color: white; border-color: #646464; box-shadow: 0 1px 2px #545454 inset, 0 1px 0 white; -webkit-box-shadow: 0 1px 2px #545454 inset, 0 1px 0 white; -moz-box-shadow: 0 1px 2px #545454 inset, 0 1px 0 #fff; }
|
1107 |
+
.pager .next a, .pager .next span { float: right; }
|
1108 |
+
.pager .previous a { float: left; }
|
1109 |
+
.pager .disabled a, .pager .disabled a:hover, .pager .disabled a:active, .pager .disabled span { color: #bbb; background: #f5f5f5; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: default; border-color: #e5e5e5; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
1110 |
+
.navbar .pager { margin: 7px; }
|
1111 |
+
.navbar .pager a, .navbar .pager span { padding: 6px 10px 5px 10px; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
|
1112 |
+
|
1113 |
+
|
1114 |
+
|
1115 |
+
|
1116 |
+
|
1117 |
+
|
1118 |
+
/* # Thumbnails & media
|
1119 |
+
================================================== */
|
1120 |
+
|
1121 |
+
.thumbnails { text-align: center; *zoom: 1; }
|
1122 |
+
.thumbnails:before, .thumbnails:after { display: table; content: ""; line-height: 0; }
|
1123 |
+
.thumbnails:after { clear: both; }
|
1124 |
+
.thumbnails > li { display: inline-block; margin-bottom: 20px; }
|
1125 |
+
.thumbnails.gallery { margin-bottom: -6px; }
|
1126 |
+
.thumbnails.gallery > li { margin: 5px; }
|
1127 |
+
.thumbnails.gallery > li > a > img { width: 210px; height: 140px; }
|
1128 |
+
.thumbnail { width: 100%; display: block; line-height: 20px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; text-align: left; }
|
1129 |
+
a.thumbnail:hover { border-color: #0088cc; -webkit-box-shadow: 0 1px 3px #dddddd; -moz-box-shadow: 0 1px 3px #dddddd; box-shadow: 0 1px 3px #dddddd; }
|
1130 |
+
.thumbnail > img { display: block; max-width: 100%; margin-left: auto; margin-right: auto; background: #FAFAFA; padding: 4px; border: 1px solid #DDD; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1131 |
+
.thumbnail .caption { padding: 9px 4px 0 4px; color: #555555; }
|
1132 |
+
.thumbnail .caption p { margin-top: 14px; }
|
1133 |
+
[class^="well"].thumbnail, [class*=" well"].thumbnail { padding: 9px; }
|
1134 |
+
|
1135 |
+
|
1136 |
+
/*===== Media =====*/
|
1137 |
+
|
1138 |
+
.media, .media-body { overflow: hidden; *overflow: visible; zoom: 1; }
|
1139 |
+
.media, .media .media { margin-top: 15px; }
|
1140 |
+
.media:first-child { margin-top: 0; }
|
1141 |
+
.media-object { display: block; }
|
1142 |
+
.media-heading { margin: 0 0 5px; }
|
1143 |
+
.media .pull-left { margin-right: 10px; }
|
1144 |
+
.media .pull-right { margin-left: 10px; }
|
1145 |
+
.media-list { margin-left: 0; list-style: none; }
|
1146 |
+
|
1147 |
+
|
1148 |
+
|
1149 |
+
|
1150 |
+
/* # Alerts
|
1151 |
+
================================================== */
|
1152 |
+
|
1153 |
+
.alert { padding: 8px 35px 8px 14px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; color: #c09853; border: 1px solid #f2d083; color: #826200; box-shadow: 0 1px 0px rgba(255,255,255,0.2) inset, 0 1px 1px #dfdfdf; -webkit-box-shadow: 0 1px 0px rgba(255,255,255,0.2) inset, 0 1px 1px #dfdfdf; -moz-box-shadow: 0 1px 0px rgba(255,255,255,0.2) inset, 0 1px 1px #dfdfdf;
|
1154 |
+
background: #ffedbc;
|
1155 |
+
background: -moz-linear-gradient(top, #ffedbc 0%, #fbe5a8 100%);
|
1156 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffedbc), color-stop(100%,#fbe5a8));
|
1157 |
+
background: -webkit-linear-gradient(top, #ffedbc 0%,#fbe5a8 100%);
|
1158 |
+
background: -o-linear-gradient(top, #ffedbc 0%,#fbe5a8 100%);
|
1159 |
+
background: -ms-linear-gradient(top, #ffedbc 0%,#fbe5a8 100%);
|
1160 |
+
background: linear-gradient(top, #ffedbc 0%,#fbe5a8 100%);
|
1161 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffedbc', endColorstr='#fbe5a8',GradientType=0 );
|
1162 |
+
}
|
1163 |
+
.alert h4 { margin: 0; }
|
1164 |
+
.alert .close { position: relative; top: 2px; right: -21px; line-height: 20px; }
|
1165 |
+
.alert-success { border: 1px solid #c1d779; color: #4f7307;
|
1166 |
+
background: #d6efa1;
|
1167 |
+
background: -moz-linear-gradient(top, #d6efa1 0%, #d0e69d 100%);
|
1168 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d6efa1), color-stop(100%,#d0e69d));
|
1169 |
+
background: -webkit-linear-gradient(top, #d6efa1 0%,#d0e69d 100%);
|
1170 |
+
background: -o-linear-gradient(top, #d6efa1 0%,#d0e69d 100%);
|
1171 |
+
background: -ms-linear-gradient(top, #d6efa1 0%,#d0e69d 100%);
|
1172 |
+
background: linear-gradient(top, #d6efa1 0%,#d0e69d 100%);
|
1173 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6efa1', endColorstr='#d0e69d',GradientType=0 );
|
1174 |
+
}
|
1175 |
+
.alert-danger, .alert-error { border: 1px solid #dfa59b; color: #4f2a24;
|
1176 |
+
background: #f0b5a1;
|
1177 |
+
background: -moz-linear-gradient(top, #f0b5a1 0%, #de9d8a 100%);
|
1178 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f0b5a1), color-stop(100%,#de9d8a));
|
1179 |
+
background: -webkit-linear-gradient(top, #f0b5a1 0%,#de9d8a 100%);
|
1180 |
+
background: -o-linear-gradient(top, #f0b5a1 0%,#de9d8a 100%);
|
1181 |
+
background: -ms-linear-gradient(top, #f0b5a1 0%,#de9d8a 100%);
|
1182 |
+
background: linear-gradient(top, #f0b5a1 0%,#de9d8a 100%);
|
1183 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0b5a1', endColorstr='#de9d8a',GradientType=0 );
|
1184 |
+
}
|
1185 |
+
.alert-info { border: 1px solid #bcd9f3; color: #4579aa;
|
1186 |
+
background: #deedf9;
|
1187 |
+
background: -moz-linear-gradient(top, #deedf9 0%, #cde5f7 100%);
|
1188 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#deedf9), color-stop(100%,#cde5f7));
|
1189 |
+
background: -webkit-linear-gradient(top, #deedf9 0%,#cde5f7 100%);
|
1190 |
+
background: -o-linear-gradient(top, #deedf9 0%,#cde5f7 100%);
|
1191 |
+
background: -ms-linear-gradient(top, #deedf9 0%,#cde5f7 100%);
|
1192 |
+
background: linear-gradient(top, #deedf9 0%,#cde5f7 100%);
|
1193 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#deedf9', endColorstr='#cde5f7',GradientType=0 );
|
1194 |
+
}
|
1195 |
+
.alert-block { padding-top: 12px; padding-bottom: 8px; }
|
1196 |
+
.alert-block > p, .alert-block > ul { margin-bottom: 0; }
|
1197 |
+
.alert-block p + p { margin-top: 5px; }
|
1198 |
+
|
1199 |
+
|
1200 |
+
|
1201 |
+
|
1202 |
+
/* # Progress bars
|
1203 |
+
================================================== */
|
1204 |
+
|
1205 |
+
.progress { overflow: hidden; height: 22px; background: #efefef; box-shadow: 0 1px 0 #fff, 0 0 0 1px #dfdfdf inset; -webkit-box-shadow: 0 1px 0 #fff, 0 0 0 1px #dfdfdf inset; -moz-box-shadow: 0 1px 0 #fff, 0 0 0 1px #dfdfdf inset; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
1206 |
+
.progress.slim { height: 6px; }
|
1207 |
+
.controls .progress.slim { margin-top: 8px; }
|
1208 |
+
.progress.slim > .bar { padding: 0; }
|
1209 |
+
.line .slim { margin-top: 7px; }
|
1210 |
+
.sidebar .progress { background: #eee; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }
|
1211 |
+
.sidebar .progress .bar { border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
1212 |
+
.progress .bar { width: 0%; height: 100%; color: #ffffff; float: left; font-size: 11px; text-align: center; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
1213 |
+
|
1214 |
+
background-color: #0e90d2;
|
1215 |
+
background-image: -moz-linear-gradient(top, #149bdf, #0480be);
|
1216 |
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
|
1217 |
+
background-image: -webkit-linear-gradient(top, #149bdf, #0480be);
|
1218 |
+
background-image: -o-linear-gradient(top, #149bdf, #0480be);
|
1219 |
+
background-image: linear-gradient(to bottom, #149bdf, #0480be);
|
1220 |
+
background-repeat: repeat-x;
|
1221 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
|
1222 |
+
|
1223 |
+
-webkit-box-sizing: border-box;
|
1224 |
+
-moz-box-sizing: border-box;
|
1225 |
+
box-sizing: border-box;
|
1226 |
+
-ms-box-sizing: border-box;
|
1227 |
+
|
1228 |
+
-webkit-transition: width 0.6s ease;
|
1229 |
+
-moz-transition: width 0.6s ease;
|
1230 |
+
-o-transition: width 0.6s ease;
|
1231 |
+
transition: width 0.6s ease;
|
1232 |
+
}
|
1233 |
+
.progress .bar + .bar { -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); -moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.15), inset 0 -1px 0 rgba(0, 0, 0, 0.15); }
|
1234 |
+
.progress-danger .bar, .progress .bar-danger {
|
1235 |
+
background: #ec795d;
|
1236 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #ec795d, #d1573a);
|
1237 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#ec795d), to(#d1573a));
|
1238 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #ec795d, #d1573a);
|
1239 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #ec795d, #d1573a);
|
1240 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #ec795d, #d1573a);
|
1241 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ec795d', endColorstr='#d1573a', GradientType=0);
|
1242 |
+
}
|
1243 |
+
.progress-success .bar, .progress .bar-success {
|
1244 |
+
background: #7fd658;
|
1245 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #7fd658, #6ab84e);
|
1246 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#7fd658), to(#6ab84e));
|
1247 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #7fd658, #6ab84e);
|
1248 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #7fd658, #6ab84e);
|
1249 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #7fd658, #6ab84e);
|
1250 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7fd658', endColorstr='#6ab84e', GradientType=0);
|
1251 |
+
}
|
1252 |
+
.progress-info .bar, .progress .bar-info {
|
1253 |
+
background: #57c2f3;
|
1254 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #57c2f3, #31a7dd);
|
1255 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#57c2f3), to(#31a7dd));
|
1256 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #57c2f3, #31a7dd);
|
1257 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #57c2f3, #31a7dd);
|
1258 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #57c2f3, #31a7dd);
|
1259 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#57c2f3', endColorstr='#31a7dd', GradientType=0);
|
1260 |
+
}
|
1261 |
+
.progress-warning .bar, .progress .bar-warning {
|
1262 |
+
background: #eca558;
|
1263 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #eca558, #e28131);
|
1264 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#eca558), to(#e28131));
|
1265 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #eca558, #e28131);
|
1266 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #eca558, #e28131);
|
1267 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #eca558, #e28131);
|
1268 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eca558', endColorstr='#e28131', GradientType=0);
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
|
1272 |
+
|
1273 |
+
|
1274 |
+
/* # Tooltips & popovers
|
1275 |
+
================================================== */
|
1276 |
+
|
1277 |
+
.tooltip { position: absolute; z-index: 10300; display: block; visibility: visible; padding: 5px; font-size: 11px; opacity: 0; filter: alpha(opacity=0); }
|
1278 |
+
.tooltip.in { opacity: 0.8; filter: alpha(opacity=80); }
|
1279 |
+
.tooltip.top { margin-top: -3px; }
|
1280 |
+
.tooltip.right { margin-left: 3px; }
|
1281 |
+
.tooltip.bottom { margin-top: 3px; }
|
1282 |
+
.tooltip.left { margin-left: -3px; }
|
1283 |
+
.tooltip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; text-decoration: none; background-color: #202020; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
1284 |
+
.tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; }
|
1285 |
+
.tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #000000; }
|
1286 |
+
.tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #000000; }
|
1287 |
+
.tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #000000; }
|
1288 |
+
.tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #000000; }
|
1289 |
+
|
1290 |
+
|
1291 |
+
/*===== Popover =====*/
|
1292 |
+
|
1293 |
+
.popover { position: absolute; top: 0; left: 0; z-index: 1010; display: none; background-color: #ffffff; border: 1px solid #d5d5d5;
|
1294 |
+
|
1295 |
+
-webkit-background-clip: padding-box;
|
1296 |
+
-moz-background-clip: padding;
|
1297 |
+
background-clip: padding-box;
|
1298 |
+
|
1299 |
+
-webkit-border-radius: 3px;
|
1300 |
+
-moz-border-radius: 3px;
|
1301 |
+
border-radius: 3px;
|
1302 |
+
|
1303 |
+
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1304 |
+
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1305 |
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1306 |
+
|
1307 |
+
}
|
1308 |
+
.popover.top { margin-bottom: 10px; }
|
1309 |
+
.popover.right { margin-left: 10px; }
|
1310 |
+
.popover.bottom { margin-top: 10px; }
|
1311 |
+
.popover.left { margin-left: -10px; }
|
1312 |
+
.popover-title { border-bottom: 1px solid #d5d5d5; margin: 0; padding: 9px 14px 8px 14px; font-size: 12px; font-weight: bold; line-height: 18px;
|
1313 |
+
|
1314 |
+
-webkit-border-radius: 3px 3px 0 0;
|
1315 |
+
-moz-border-radius: 3px 3px 0 0;
|
1316 |
+
border-radius: 3px 3px 0 0;
|
1317 |
+
|
1318 |
+
background: #f7f7f7;
|
1319 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
|
1320 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2));
|
1321 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
1322 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
1323 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
1324 |
+
background: linear-gradient(to bottom, #ffffff 0%,#f2f2f2 100%);
|
1325 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
|
1326 |
+
|
1327 |
+
box-shadow: 0 1px 0 #fff;
|
1328 |
+
-webkit-box-shadow: 0 1px 0 #fff;
|
1329 |
+
-moz-box-shadow: 0 1px 0 #fff;
|
1330 |
+
|
1331 |
+
}
|
1332 |
+
.popover-content { padding: 9px 14px; }
|
1333 |
+
.popover-content p, .popover-content ul, .popover-content ol { margin-bottom: 0; }
|
1334 |
+
.popover .arrow, .popover .arrow:after { position: absolute; display: inline-block; width: 0; height: 0; border-color: transparent; border-style: solid; }
|
1335 |
+
.popover .arrow:after { content: ""; z-index: -1; }
|
1336 |
+
.popover.top .arrow { bottom: -7px; left: 50%; margin-left: -7px; border-width: 7px 7px 0; border-top-color: #ffffff; }
|
1337 |
+
.popover.top .arrow:after { border-width: 8px 8px 0; border-top-color: rgba(0, 0, 0, 0.25); bottom: -1px; left: -8px; }
|
1338 |
+
.popover.right .arrow { top: 50%; left: -7px; margin-top: -7px; border-width: 7px 7px 7px 0; border-right-color: #ffffff; }
|
1339 |
+
.popover.right .arrow:after { border-width: 8px 8px 8px 0; border-right-color: rgba(0, 0, 0, 0.25); bottom: -8px; left: -1px; }
|
1340 |
+
.popover.bottom .arrow { top: -7px; left: 50%; margin-left: -7px; border-width: 0 7px 7px; border-bottom-color: #ffffff; }
|
1341 |
+
.popover.bottom .arrow:after { border-width: 0 8px 8px; border-bottom-color: rgba(0, 0, 0, 0.25); top: -1px; left: -8px; }
|
1342 |
+
.popover.left .arrow { top: 50%; right: -7px; margin-top: -7px; border-width: 7px 0 7px 7px; border-left-color: #ffffff; }
|
1343 |
+
.popover.left .arrow:after { border-width: 8px 0 8px 8px; border-left-color: rgba(0, 0, 0, 0.25); bottom: -8px; right: -1px; }
|
1344 |
+
|
1345 |
+
|
1346 |
+
|
1347 |
+
|
1348 |
+
/* # Modal
|
1349 |
+
================================================== */
|
1350 |
+
|
1351 |
+
.modal-open .modal .dropdown-menu { z-index: 2050; }
|
1352 |
+
.modal-open .modal .dropdown.open { *z-index: 2050; }
|
1353 |
+
.modal-open .modal .popover { z-index: 2060; }
|
1354 |
+
.modal-open .modal .tooltip { z-index: 2080; }
|
1355 |
+
.modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000000; }
|
1356 |
+
.modal-backdrop.fade { opacity: 0; }
|
1357 |
+
.modal-backdrop, .modal-backdrop.fade.in { opacity: 0.3; filter: alpha(opacity=30); }
|
1358 |
+
.modal { position: fixed; top: 50%; left: 50%; z-index: 1050; overflow: auto; width: 560px; margin: -250px 0 0 -280px; background: url(../images/backgrounds/bg.png); border: 1px solid #c5c5c5;
|
1359 |
+
|
1360 |
+
-webkit-border-radius: 3px;
|
1361 |
+
-moz-border-radius: 3px;
|
1362 |
+
border-radius: 3px;
|
1363 |
+
|
1364 |
+
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1365 |
+
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1366 |
+
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
1367 |
+
|
1368 |
+
-webkit-background-clip: padding-box;
|
1369 |
+
-moz-background-clip: padding-box;
|
1370 |
+
background-clip: padding-box;
|
1371 |
+
|
1372 |
+
}
|
1373 |
+
.modal.fade {top: -25%;
|
1374 |
+
-webkit-transition: opacity .3s linear, top .3s ease-out;
|
1375 |
+
-moz-transition: opacity .3s linear, top .3s ease-out;
|
1376 |
+
-o-transition: opacity .3s linear, top .3s ease-out;
|
1377 |
+
transition: opacity .3s linear, top .3s ease-out;
|
1378 |
+
}
|
1379 |
+
.modal.fade.in { top: 50%;z-index:10000; -webkit-border-radius: 5px;
|
1380 |
+
-moz-border-radius: 5px;
|
1381 |
+
border-radius: 5px;
|
1382 |
+
-moz-box-shadow: 0px 0px 5px #444444;
|
1383 |
+
-webkit-box-shadow: 0px 0px 5px #444;
|
1384 |
+
box-shadow: 0px 0px 5px #444;
|
1385 |
+
border: 10px solid rgba(52, 52, 52, .5);}
|
1386 |
+
.modal-header { padding: 7px 15px; -webkit-border-top-right-radius: 3px; -webkit-border-top-left-radius: 3px; border-bottom: 1px solid #c1c1c1; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff;
|
1387 |
+
|
1388 |
+
background: #fcfcfc;
|
1389 |
+
background: -moz-linear-gradient(top, #fcfcfc 0%, #ececec 100%);
|
1390 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#ececec));
|
1391 |
+
background: -webkit-linear-gradient(top, #fcfcfc 0%,#ececec 100%);
|
1392 |
+
background: -o-linear-gradient(top, #fcfcfc 0%,#ececec 100%);
|
1393 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#ececec 100%);
|
1394 |
+
background: linear-gradient(to bottom, #fcfcfc 0%,#ececec 100%);
|
1395 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ececec',GradientType=0 );
|
1396 |
+
|
1397 |
+
}
|
1398 |
+
.modal-header .close { margin-top: 6px; }
|
1399 |
+
.modal-header h5 { margin: 0; padding: 3px 0 3px 0; }
|
1400 |
+
.modal-body { overflow-y: auto; padding: 15px; }
|
1401 |
+
.modal-body .selector, .modal-body .select { max-width: 100%; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; height: 30px; }
|
1402 |
+
.modal-body .control-group { padding: 15px 0; }
|
1403 |
+
.modal-body .control-group:first-child { padding-top: 0; }
|
1404 |
+
.modal-body .control-group:last-child { padding-bottom: 0; }
|
1405 |
+
|
1406 |
+
.modal-form { margin-bottom: 0; }
|
1407 |
+
.modal-footer .btn { margin-top: 0; margin-bottom: 0; }
|
1408 |
+
.modal-footer { padding: 15px; margin-bottom: 0; text-align: right; background-color: #f5f5f5; border-top: 1px solid #ddd; *zoom: 1;
|
1409 |
+
|
1410 |
+
-webkit-border-radius: 0 0 3px 3px;
|
1411 |
+
-moz-border-radius: 0 0 3px 3px;
|
1412 |
+
border-radius: 0 0 3px 3px;
|
1413 |
+
|
1414 |
+
-webkit-box-shadow: inset 0 1px 0 #ffffff;
|
1415 |
+
-moz-box-shadow: inset 0 1px 0 #ffffff;
|
1416 |
+
box-shadow: inset 0 1px 0 #ffffff;
|
1417 |
+
|
1418 |
+
}
|
1419 |
+
.modal-footer:before, .modal-footer:after { display: table; content: ""; line-height: 0; }
|
1420 |
+
.modal-footer:after { clear: both; }
|
1421 |
+
.modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; }
|
1422 |
+
.modal-footer .btn-group .btn + .btn { margin-left: -1px; }
|
1423 |
+
.dropup, .dropdown { position: relative; }
|
1424 |
+
.dropdown-toggle { *margin-bottom: -3px; }
|
1425 |
+
.dropdown-toggle:active, .open .dropdown-toggle { outline: 0; }
|
1426 |
+
|
1427 |
+
|
1428 |
+
|
1429 |
+
|
1430 |
+
/* # Dropdown menu
|
1431 |
+
================================================== */
|
1432 |
+
|
1433 |
+
.caret { display: inline-block; width: 0; height: 0; vertical-align: top; border-top: 3px solid #000000; border-right: 3px solid transparent; border-left: 3px solid transparent; content: ""; }
|
1434 |
+
.dropdown .caret { margin-top: 10px; margin-left: 6px; }
|
1435 |
+
.dropdown-menu { position: absolute; text-align: left; top: 100%; left: 0; z-index: 10000; display: none; float: left;margin: 0px 0 0; list-style: none; background-color: #ffffff; border: 1px solid #dadada; font-size: 11px;
|
1436 |
+
|
1437 |
+
-webkit-box-shadow: 0 2px 2px -2px #ccc;
|
1438 |
+
-moz-box-shadow: 0 2px 2px -2px #ccc;
|
1439 |
+
box-shadow: 0 2px 2px -2px #ccc;
|
1440 |
+
|
1441 |
+
-webkit-background-clip: padding-box;
|
1442 |
+
-moz-background-clip: padding;
|
1443 |
+
background-clip: padding-box;
|
1444 |
+
|
1445 |
+
}
|
1446 |
+
.dropdown-menu.pull-right { right: -1px; left: auto; }
|
1447 |
+
.dropdown-menu .divider { *width: 100%; height: 1px; margin: 9px 1px; *margin: -5px 0 5px; overflow: hidden; background-color: #e5e5e5; border-bottom: 1px solid #ffffff; }
|
1448 |
+
.dropdown-menu a { display: block; padding: 5px 10px; clear: both; font-weight: normal; color: #6A6A6A; white-space: nowrap; font-size: 12px; }
|
1449 |
+
.dropdown-menu li { border-top: 1px solid #e4e4e4;
|
1450 |
+
|
1451 |
+
background: #fefefe;
|
1452 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 100%);
|
1453 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fafafa));
|
1454 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
1455 |
+
background: -o-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
1456 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
1457 |
+
background: linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
1458 |
+
|
1459 |
+
}
|
1460 |
+
.dropdown-menu li:first-child { border-top: none; }
|
1461 |
+
.dropdown-menu li > a:hover, .dropdown-submenu:hover > a { background: #fcfcfc; color: #327394; }
|
1462 |
+
.dropdown-menu > li > label { margin: 0; }
|
1463 |
+
.dropdown-menu .active > a, .dropdown-menu .active > a:hover { color: #327394; background: #fafafa; }
|
1464 |
+
.dropdown-menu .disabled > a, .dropdown-menu .disabled > a:hover { color: #999999; }
|
1465 |
+
.dropdown-menu .on_off { padding: 10px; }
|
1466 |
+
.dropdown-menu .on_off .ibutton-container { display: inline-block; float: right; margin: 1px 0 0 0; }
|
1467 |
+
.dropdown-menu > li.form { display: block; padding: 7px 10px; clear: both; font-weight: normal; color: #6A6A6A; white-space: nowrap; font-size: 12px; border-top: 1px solid #e4e4e4; }
|
1468 |
+
.dropdown-menu > li.form:after { content: ""; display: block; clear: both; }
|
1469 |
+
.dropdown-menu > li.form:first-child { border-top: none; }
|
1470 |
+
.dropdown-menu > li input[type=text], .dropdown-menu li input[type=password], .dropdown-menu li textarea { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; display: block; }
|
1471 |
+
.dropdown-menu > li.has-element { padding: 10px; }
|
1472 |
+
.dropdown-menu > li.has-element > .btn { margin-top: 0; margin-bottom: 0; }
|
1473 |
+
.dropdown-menu > li > .label { float: right; }
|
1474 |
+
.dropdown-menu .disabled > a:hover { text-decoration: none; background-color: transparent; cursor: default; }
|
1475 |
+
.open { *z-index: 1000; }
|
1476 |
+
.open > .dropdown-menu { display: block; }
|
1477 |
+
.pull-right.dropdown-menu { right: -1px; left: auto; }
|
1478 |
+
.dropup .caret{ border-top: 0; border-bottom: 3px solid #000000; content: ""; }
|
1479 |
+
.dropup .dropdown-menu { top: auto; bottom: 100%; margin-bottom: 1px; }
|
1480 |
+
.dropdown-submenu { position: relative; }
|
1481 |
+
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -1px; }
|
1482 |
+
.dropdown-submenu:hover > .dropdown-menu { display: block; }
|
1483 |
+
.dropdown-submenu > a:after { display: block; content: " "; position: absolute; top: 8px; right: 10px; width: 0; height: 0; border-color: transparent; border-style: solid; border-width: 4px 0 4px 4px; border-left-color: #CCC; margin-top: 7px; }
|
1484 |
+
.dropdown-submenu:hover > a:after { border-left-color: #ccc; }
|
1485 |
+
.dropdown .dropdown-menu .nav-header { padding-left: 20px; padding-right: 20px; }
|
1486 |
+
.pull-right.dropdown-menu li { margin-bottom:0px !important}
|
1487 |
+
|
1488 |
+
|
1489 |
+
|
1490 |
+
|
1491 |
+
/* # Accordion, toggle
|
1492 |
+
================================================== */
|
1493 |
+
|
1494 |
+
.accordion-group { margin-bottom: -1px; }
|
1495 |
+
.accordion-heading a { border: 1px solid #d4d4d4; border-bottom: none;
|
1496 |
+
background: #fafafa;
|
1497 |
+
background: -moz-linear-gradient(top, #ffffff, #f2f2f2);
|
1498 |
+
background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
|
1499 |
+
background: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
|
1500 |
+
background: -o-linear-gradient(top, #ffffff, #f2f2f2);
|
1501 |
+
background: linear-gradient(to bottom, #ffffff, #f2f2f2);
|
1502 |
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
|
1503 |
+
}
|
1504 |
+
.accordion-body { background: #FAFAFA; border: 1px solid #dadada; position: relative; }
|
1505 |
+
.accordion-heading .accordion-toggle { display: block; padding: 8px 15px; }
|
1506 |
+
.accordion-toggle { cursor: pointer; }
|
1507 |
+
.accordion-inner { padding: 9px 15px; }
|
1508 |
+
|
1509 |
+
|
1510 |
+
|
1511 |
+
|
1512 |
+
|
1513 |
+
/* # Wells
|
1514 |
+
================================================== */
|
1515 |
+
|
1516 |
+
[class^="well"], [class*=" well"] { background: #fdfdfd; border: 1px solid #ddd; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1517 |
+
[class^="well"] blockquote, [class*=" well"] blockquote { border-color: rgba(0, 0, 0, 0.15); }
|
1518 |
+
[class^="well"] .navbar .navbar-inner, [class*=" well"] .navbar .navbar-inner { border: none; border-bottom: 1px solid #ddd; }
|
1519 |
+
[class^="well"] .navbar-inverse .navbar-inner, [class*=" well"] .navbar-inverse .navbar-inner { margin: -1px -1px 0 -1px; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
1520 |
+
.well-white { background: #fff; border: 1px solid #ddd; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1521 |
+
.well-smoke { background: #f8f8f8; border: 1px solid #e2e2e2; }
|
1522 |
+
.well-large > .body, .well-large.body { padding: 24px; }
|
1523 |
+
.well-small > .body, .well-small.body { padding: 9px; }
|
1524 |
+
|
1525 |
+
|
1526 |
+
|
1527 |
+
|
1528 |
+
|
1529 |
+
/* # Other classes
|
1530 |
+
================================================== */
|
1531 |
+
|
1532 |
+
.close { float: right; font-size: 16px; line-height: 16px; color: #000000; opacity: 0.2; filter: alpha(opacity=20); }
|
1533 |
+
.close:hover { color: #000000; text-decoration: none; cursor: pointer; opacity: 0.4; filter: alpha(opacity=40); }
|
1534 |
+
button.close { padding: 0; cursor: pointer; background: transparent; border: 0; }
|
1535 |
+
|
1536 |
+
.pull-right { float: right; }
|
1537 |
+
.pull-left { float: left; }
|
1538 |
+
.hide { display: none; }
|
1539 |
+
.show { display: block; }
|
1540 |
+
.invisible { visibility: hidden; }
|
1541 |
+
.typeahead { margin-top: -1px; }
|
1542 |
+
.fade { opacity: 0; -webkit-transition: opacity 0.15s linear; -moz-transition: opacity 0.15s linear; -o-transition: opacity 0.15s linear; transition: opacity 0.15s linear; }
|
1543 |
+
.fade.in { opacity: 1; }
|
1544 |
+
.collapse { position: relative; height: 0; overflow: hidden; -webkit-transition: height 0.35s ease; -moz-transition: height 0.35s ease; -o-transition: height 0.35s ease; transition: height 0.35s ease; }
|
1545 |
+
.collapse.in { height: auto; }
|
1546 |
+
.hidden { display: none; }
|
1547 |
+
|
1548 |
+
|
1549 |
+
|
1550 |
+
|
1551 |
+
/* # Media queries
|
1552 |
+
================================================== */
|
1553 |
+
|
1554 |
+
@media (max-width: 1024px) {
|
1555 |
+
|
1556 |
+
[class*="span"], .row-fluid [class*="span"] { float: none; display: block; width: 100%; margin-left: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1557 |
+
|
1558 |
+
textarea,
|
1559 |
+
input[type="text"],
|
1560 |
+
input[type="password"],
|
1561 |
+
input[type="datetime"],
|
1562 |
+
input[type="datetime-local"],
|
1563 |
+
input[type="date"],
|
1564 |
+
input[type="month"],
|
1565 |
+
input[type="time"],
|
1566 |
+
input[type="week"],
|
1567 |
+
input[type="number"],
|
1568 |
+
input[type="email"],
|
1569 |
+
input[type="url"],
|
1570 |
+
input[type="search"],
|
1571 |
+
input[type="tel"],
|
1572 |
+
input[type="color"],
|
1573 |
+
.uneditable-input { -webkit-appearance: none !important; -webkit-border-radius: 0 !important; border-radius: 0 !important; -moz-border-radius: 0 !important; }
|
1574 |
+
|
1575 |
+
.row-fluid [class*="span"]:first-child > .semi-block:first-child { margin-top: 10px; }
|
1576 |
+
.row-fluid [class*="span"] > .semi-block:first-child { margin-top: 30px; }
|
1577 |
+
.row-fluid.nested [class*="span"] { margin-top: 20px; }
|
1578 |
+
.row-fluid.nested [class*="span"]:first-child { margin-top: 0; }
|
1579 |
+
.row-fluid .offset12,
|
1580 |
+
.row-fluid .offset12:first-child,
|
1581 |
+
.row-fluid .offset11,
|
1582 |
+
.row-fluid .offset11:first-child,
|
1583 |
+
.row-fluid .offset10,
|
1584 |
+
.row-fluid .offset10:first-child,
|
1585 |
+
.row-fluid .offset9,
|
1586 |
+
.row-fluid .offset9:first-child,
|
1587 |
+
.row-fluid .offset8,
|
1588 |
+
.row-fluid .offset8:first-child,
|
1589 |
+
.row-fluid .offset7,
|
1590 |
+
.row-fluid .offset7:first-child,
|
1591 |
+
.row-fluid .offset6,
|
1592 |
+
.row-fluid .offset6:first-child,
|
1593 |
+
.row-fluid .offset5,
|
1594 |
+
.row-fluid .offset5:first-child,
|
1595 |
+
.row-fluid .offset4,
|
1596 |
+
.row-fluid .offset4:first-child,
|
1597 |
+
.row-fluid .offset3,
|
1598 |
+
.row-fluid .offset3:first-child,
|
1599 |
+
.row-fluid .offset2,
|
1600 |
+
.row-fluid .offset2:first-child,
|
1601 |
+
.row-fluid .offset1
|
1602 |
+
.row-fluid .offset1:first-child { margin-left: 0; }
|
1603 |
+
|
1604 |
+
.control-group [class*="span"] { margin-top: 10px; }
|
1605 |
+
.control-group [class*="span"]:first-child { margin-top: 0; }
|
1606 |
+
|
1607 |
+
}
|
1608 |
+
|
1609 |
+
@media (min-width: 480px) {
|
1610 |
+
|
1611 |
+
.input-append, .input-prepend { max-width: 50%; }
|
1612 |
+
|
1613 |
+
}
|
1614 |
+
|
1615 |
+
@media (max-width: 480px) {
|
1616 |
+
|
1617 |
+
.input-mini { width: 30%; }
|
1618 |
+
.input-small { width: 40%; }
|
1619 |
+
.input-medium { width: 50%; }
|
1620 |
+
.input-large { width: 60%; }
|
1621 |
+
.input-xlarge { width: 70%; }
|
1622 |
+
.input-xxlarge { width: 80%; }
|
1623 |
+
|
1624 |
+
.input-append, .input-prepend { max-width: 100%; white-space: normal; }
|
1625 |
+
.input-append input[type=text], .input-prepend input[type=text] { width: auto; }
|
1626 |
+
|
1627 |
+
.radio.inline, .checkbox.inline { display: block; }
|
1628 |
+
.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline { margin-left: 0; }
|
1629 |
+
|
1630 |
+
.form-inline input, .form-inline textarea, .form-inline select, .form-inline button, .form-inline .radio, .form-inline .checkbox, .form-inline .selector, .form-inline .select2-container { margin-top: 2px; margin-bottom: 2px; }
|
1631 |
+
.form-transparent { padding: 0 10px; }
|
1632 |
+
.form-actions { padding: 15px; }
|
1633 |
+
.form-horizontal span.control-label { width: auto; float: none; }
|
1634 |
+
.form-horizontal label.control-label { float: none; width: auto; padding-top: 0;color:#5F5F5F !important; }
|
1635 |
+
.form-horizontal .controls { margin-left: 0; }
|
1636 |
+
.control-group { padding: 14px 14px 16px 14px; }
|
1637 |
+
|
1638 |
+
.ui-slider-vertical { margin-top: 8px; }
|
1639 |
+
|
1640 |
+
.table tbody td, .table thead th { white-space: nowrap; }
|
1641 |
+
.table-overflow { overflow-x: auto; }
|
1642 |
+
.table-footer { text-align: center; }
|
1643 |
+
.table-footer .pagination, .table-footer .table-actions { float: none; }
|
1644 |
+
|
1645 |
+
.navbar .nav-tabs > li, .tabbable.block > .nav-tabs > li { margin-bottom: -1px; }
|
1646 |
+
.navbar .nav-tabs > li > a, .tabbable.block > .nav-tabs > li > a { border-bottom: 1px solid #e2e2e2; }
|
1647 |
+
.navbar .nav-tabs > li.active > a, .tabbable.block > .nav-tabs > li.active > a { border-bottom: none; }
|
1648 |
+
.navbar .nav.pull-right { position: absolute; right: 12px; display: block; width: auto; left: auto; float: none; background: -webkit-linear-gradient(top, white, #F2F2F2); border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; }
|
1649 |
+
.well .navbar .nav.pull-right { right: 0; border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; -moz-border-radius: 0 3px 0 0; }
|
1650 |
+
.navbar-inverse .nav.pull-right, .well .navbar-inverse .nav.pull-right {
|
1651 |
+
background: url(../images/backgrounds/default.jpg);
|
1652 |
+
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
1653 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.3))), url(../images/backgrounds/default.jpg);
|
1654 |
+
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
1655 |
+
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
1656 |
+
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
1657 |
+
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 99%), url(../images/backgrounds/default.jpg);
|
1658 |
+
|
1659 |
+
}
|
1660 |
+
.navbar .pagination, .navbar-form { float: none; position: absolute; right: 0; }
|
1661 |
+
|
1662 |
+
.modal.fade.in { top: 20px; }
|
1663 |
+
|
1664 |
+
.dl-horizontal dt { float: none; text-align: left; width: auto; }
|
1665 |
+
.dl-horizontal dd { margin-left: 10px; }
|
1666 |
+
|
1667 |
+
}
|
1668 |
+
|
1669 |
+
@media (min-width: 321px) and (max-width: 480px) {
|
1670 |
+
|
1671 |
+
.modal { max-height: 225px; overflow: auto; width: 440px; margin: 0 0 0 -220px; }
|
1672 |
+
|
1673 |
+
|
1674 |
+
}
|
1675 |
+
|
1676 |
+
@media (max-width: 320px) {
|
1677 |
+
|
1678 |
+
.modal { max-height: 380px; overflow: auto; width: 280px; margin: 0 0 0 -140px; }
|
1679 |
+
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
.controls label.error
|
1683 |
+
{
|
1684 |
+
position: static;
|
1685 |
+
display: inline-block;
|
1686 |
+
top: auto;
|
1687 |
+
background: rgb(248, 233, 233);
|
1688 |
+
border: 1px solid rgb(228, 187, 188);
|
1689 |
+
margin: 5px 0 0;
|
1690 |
+
padding: 6px 5px;
|
1691 |
+
color: rgb(184, 0, 0);
|
1692 |
+
line-height: 1.3em;
|
1693 |
+
width: 100%;
|
1694 |
+
-moz-box-shadow: 1px 1px 0 #e6e6e6;
|
1695 |
+
-webkit-box-shadow: 1px 1px 0 rgb(230, 230, 230);
|
1696 |
+
box-shadow: 1px 1px 0 rgb(230, 230, 230);
|
1697 |
+
}
|
1698 |
+
.cntrl label.error
|
1699 |
+
{
|
1700 |
+
position: static;
|
1701 |
+
display: inline-block;
|
1702 |
+
top: auto;
|
1703 |
+
background: rgb(248, 233, 233);
|
1704 |
+
border: 1px solid rgb(228, 187, 188);
|
1705 |
+
margin: 5px 0 0;
|
1706 |
+
padding: 6px 5px;
|
1707 |
+
color: rgb(184, 0, 0);
|
1708 |
+
line-height: 1.3em;
|
1709 |
+
width: 100%;
|
1710 |
+
-moz-box-shadow: 1px 1px 0 #e6e6e6;
|
1711 |
+
-webkit-box-shadow: 1px 1px 0 rgb(230, 230, 230);
|
1712 |
+
box-shadow: 1px 1px 0 rgb(230, 230, 230);
|
1713 |
+
}
|
assets/css/elfinder.css
ADDED
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: elfinder.css;
|
8 |
+
* Description: Elfinder - styles for file manager
|
9 |
+
* Version: 1.0
|
10 |
+
* Plugin version: Version 2.0 rc1 (2012-04-10)
|
11 |
+
*
|
12 |
+
* ======================================================== */
|
13 |
+
|
14 |
+
|
15 |
+
.elfinder-dialog-resize{margin-top:.3em}
|
16 |
+
.elfinder-resize-type{float:left;margin-bottom:.4em}
|
17 |
+
.elfinder-resize-control{padding-top:3em}
|
18 |
+
.elfinder-resize-control input[type=text]{border:1px solid #aaa;text-align:right}
|
19 |
+
.elfinder-resize-preview{width:400px;height:400px;padding:10px;background:#fff;border:1px solid #aaa;float:right;position:relative;overflow:auto}
|
20 |
+
.elfinder-resize-handle{position:relative}
|
21 |
+
.elfinder-resize-handle-hline,.elfinder-resize-handle-vline{position:absolute;background-image:url("../images/elfinder/crop.gif")}
|
22 |
+
.elfinder-resize-handle-hline{width:100%;height:1px!important;background-repeat:repeat-x}
|
23 |
+
.elfinder-resize-handle-vline{width:1px!important;height:100%;background-repeat:repeat-y}
|
24 |
+
.elfinder-resize-handle-hline-top{top:0;left:0}
|
25 |
+
.elfinder-resize-handle-hline-bottom{bottom:0;left:0}
|
26 |
+
.elfinder-resize-handle-vline-left{top:0;left:0}
|
27 |
+
.elfinder-resize-handle-vline-right{top:0;right:0}
|
28 |
+
.elfinder-resize-handle-point{position:absolute;width:8px;height:8px;border:1px solid #777;background:0 0}
|
29 |
+
.elfinder-resize-handle-point-n{top:0;left:50%;margin-top:-5px;margin-left:-5px}
|
30 |
+
.elfinder-resize-handle-point-ne{top:0;right:0;margin-top:-5px;margin-right:-5px}
|
31 |
+
.elfinder-resize-handle-point-e{top:50%;right:0;margin-top:-5px;margin-right:-5px}
|
32 |
+
.elfinder-resize-handle-point-se{bottom:0;right:0;margin-bottom:-5px;margin-right:-5px}
|
33 |
+
.elfinder-resize-handle-point-s{bottom:0;left:50%;margin-bottom:-5px;margin-left:-5px}
|
34 |
+
.elfinder-resize-handle-point-sw{bottom:0;left:0;margin-bottom:-5px;margin-left:-5px}
|
35 |
+
.elfinder-resize-handle-point-w{top:50%;left:0;margin-top:-5px;margin-left:-5px}
|
36 |
+
.elfinder-resize-handle-point-nw{top:0;left:0;margin-top:-5px;margin-left:-5px}
|
37 |
+
.elfinder-resize-spinner{position:absolute;width:200px;height:30px;top:50%;margin-top:-25px;left:50%;margin-left:-100px;text-align:center;background:url(../images/elfinder/progress.gif) center bottom repeat-x}
|
38 |
+
.elfinder-resize-row{margin-bottom:7px;position:relative}
|
39 |
+
.elfinder-resize-label{float:left;width:80px;padding-top:3px}
|
40 |
+
.elfinder-resize-reset{width:16px;height:16px;position:absolute;margin-top:-8px}
|
41 |
+
.elfinder-dialog .elfinder-dialog-resize .ui-resizable-e{height:100%;width:10px}
|
42 |
+
.elfinder-dialog .elfinder-dialog-resize .ui-resizable-s{width:100%;height:10px}
|
43 |
+
.elfinder-dialog .elfinder-dialog-resize .ui-resizable-se{background:0 0;bottom:0;right:0;margin-right:-7px;margin-bottom:-7px}
|
44 |
+
.elfinder-dialog-resize .ui-icon-grip-solid-vertical{position:absolute;top:50%;right:0;margin-top:-8px;margin-right:-11px}
|
45 |
+
.elfinder-dialog-resize .ui-icon-grip-solid-horizontal{position:absolute;left:50%;bottom:0;margin-left:-8px;margin-bottom:-11px}
|
46 |
+
.elfinder-resize-row .elfinder-buttonset{float:right}
|
47 |
+
.elfinder-resize-rotate-slider{float:left;width:195px;margin:7px 7px 0}
|
48 |
+
.elfinder-file-edit{width:99%;height:99%;margin:0;padding:2px;border:1px solid #ccc}
|
49 |
+
.elfinder-help{margin-bottom:.5em}
|
50 |
+
.elfinder-help .ui-tabs-panel{padding:.5em}
|
51 |
+
.elfinder-dialog .ui-tabs .ui-tabs-nav li a{padding:.2em 1em}
|
52 |
+
.elfinder-help-shortcuts{height:300px;padding:1em;margin:.5em 0;overflow:auto}
|
53 |
+
.elfinder-help-shortcut{white-space:nowrap;clear:both}
|
54 |
+
.elfinder-help-shortcut-pattern{float:left;width:160px}
|
55 |
+
.elfinder-help-logo{width:100px;height:96px;float:left;margin-right:1em;background:url('../images/elfinder/logo.png') center center no-repeat}
|
56 |
+
.elfinder-help h3{font-size:1.5em;margin:.2em 0 .3em}
|
57 |
+
.elfinder-help-separator{clear:both;padding:.5em}
|
58 |
+
.elfinder-help-link{padding:2px}
|
59 |
+
.elfinder-help .ui-priority-secondary{font-size:.9em}
|
60 |
+
.elfinder-help .ui-priority-primary{margin-bottom:7px}
|
61 |
+
.elfinder-help-team{clear:both;text-align:right;border-bottom:1px solid #ccc;margin:.5em 0;font-size:.9em}
|
62 |
+
.elfinder-help-team div{float:left}
|
63 |
+
.elfinder-help-license{font-size:.9em}
|
64 |
+
.elfinder-help-disabled{font-weight:700;text-align:center;margin:90px 0}
|
65 |
+
.elfinder-help .elfinder-dont-panic{display:block;border:1px solid transparent;width:200px;height:200px;margin:30px auto;text-decoration:none;text-align:center;position:relative;background:#d90004;-moz-box-shadow:5px 5px 9px #111;-webkit-box-shadow:5px 5px 9px #111;box-shadow:5px 5px 9px #111;background:-moz-radial-gradient(80px 80px,circle farthest-corner,#d90004 35%,#960004 100%);background:-webkit-gradient(radial,80 80,60,80 80,120,from(#d90004),to(#960004));-moz-border-radius:100px;-webkit-border-radius:100px;border-radius:100px;outline:none}
|
66 |
+
.elfinder-help .elfinder-dont-panic span{font-size:3em;font-weight:700;text-align:center;color:#fff;position:absolute;left:0;top:45px}
|
67 |
+
|
68 |
+
.elfinder{padding:0;position:relative;display:block}
|
69 |
+
.elfinder-rtl{text-align:right;direction:rtl}
|
70 |
+
.elfinder-workzone{padding:0;position:relative;overflow:hidden; border-top: 1px solid #d5d5d5;}
|
71 |
+
.elfinder-perms,.elfinder-symlink{position:absolute;width:16px;height:16px;background-image:url(../img/toolbar.png);background-repeat:no-repeat;background-position:0 -528px}
|
72 |
+
.elfinder-na .elfinder-perms{background-position:0 -96px}
|
73 |
+
.elfinder-ro .elfinder-perms{background-position:0 -64px}
|
74 |
+
.elfinder-wo .elfinder-perms{background-position:0 -80px}
|
75 |
+
.elfinder-drag-helper{width:60px;height:50px;padding:0 0 0 25px;z-index:100000}
|
76 |
+
.elfinder-drag-helper-icon-plus{position:absolute;width:16px;height:16px;left:43px;top:55px;background:url('../images/elfinder/toolbar.png') 0 -544px no-repeat;display:none}
|
77 |
+
.elfinder-drag-helper-plus .elfinder-drag-helper-icon-plus{display:block}
|
78 |
+
.elfinder-drag-num{position:absolute;top:0;left:0;width:16px;height:14px;text-align:center;padding-top:2px;font-size:12px;font-weight:700;color:#fff;background-color:red;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}
|
79 |
+
.elfinder-drag-helper .elfinder-cwd-icon{margin:0 0 0 -24px;float:left}
|
80 |
+
.elfinder-overlay{opacity:0;filter:Alpha(Opacity=0)}
|
81 |
+
.elfinder .elfinder-panel{position:relative;background-image:none;padding:7px 12px}
|
82 |
+
.elfinder-contextmenu,.elfinder-contextmenu-sub{display:none;position:absolute;border:1px solid #aaa;background:#fff;color:#555;padding:4px 0}
|
83 |
+
.elfinder-contextmenu-sub{top:5px}
|
84 |
+
.elfinder-contextmenu-ltr .elfinder-contextmenu-sub{margin-left:-5px}
|
85 |
+
.elfinder-contextmenu-rtl .elfinder-contextmenu-sub{margin-right:-5px}
|
86 |
+
.elfinder-contextmenu-item{position:relative;display:block;padding:4px 30px;text-decoration:none;white-space:nowrap;cursor:default}
|
87 |
+
.elfinder-contextmenu .elfinder-contextmenu-item span{font-size:.76em;display:block}
|
88 |
+
.elfinder-contextmenu-ltr .elfinder-contextmenu-item{text-align:left}
|
89 |
+
.elfinder-contextmenu-rtl .elfinder-contextmenu-item{text-align:right}
|
90 |
+
.elfinder-contextmenu-ltr .elfinder-contextmenu-sub .elfinder-contextmenu-item{padding-left:12px}
|
91 |
+
.elfinder-contextmenu-rtl .elfinder-contextmenu-sub .elfinder-contextmenu-item{padding-right:12px}
|
92 |
+
.elfinder-contextmenu-arrow,.elfinder-contextmenu-icon{position:absolute;top:50%;margin-top:-8px}
|
93 |
+
.elfinder-contextmenu-ltr .elfinder-contextmenu-icon{left:8px}
|
94 |
+
.elfinder-contextmenu-rtl .elfinder-contextmenu-icon{right:8px}
|
95 |
+
.elfinder-contextmenu-arrow{width:16px;height:16px;background:url('../images/elfinder/arrows-normal.png') 5px 4px no-repeat}
|
96 |
+
.elfinder-contextmenu-ltr .elfinder-contextmenu-arrow{right:5px}
|
97 |
+
.elfinder-contextmenu-rtl .elfinder-contextmenu-arrow{left:5px;background-position:0 -10px}
|
98 |
+
.elfinder-contextmenu .ui-state-hover{border:0 solid;background-image:none}
|
99 |
+
.elfinder-contextmenu-separator{height:0;border-top:1px solid #ccc;margin:0 1px}
|
100 |
+
.elfinder-cwd-wrapper{overflow:auto;position:relative;padding:5px 2px;margin:0; background: #FEFEFE;border-left: 1px solid #D5D5D5;}
|
101 |
+
.elfinder-cwd-wrapper-list{padding:0}
|
102 |
+
.elfinder-cwd{position:relative;font-size: 11px;;cursor:default;padding:0;margin:0;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;user-select:none}
|
103 |
+
.elfinder .elfinder-cwd-wrapper.elfinder-droppable-active{padding:0;border:2px solid #8cafed}
|
104 |
+
.elfinder-cwd-view-icons .elfinder-cwd-file{width:116px;height:80px;padding-bottom:2px;cursor:default;overflow:hidden}
|
105 |
+
.elfinder-ltr .elfinder-cwd-view-icons .elfinder-cwd-file{float:left;margin:0 3px 12px 0}
|
106 |
+
.elfinder-rtl .elfinder-cwd-view-icons .elfinder-cwd-file{float:right;margin:0 0 5px 3px}
|
107 |
+
.elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover{border:0 solid}
|
108 |
+
.elfinder-cwd-view-icons .elfinder-cwd-file-wrapper{width:52px;height:52px;margin:1px auto;padding:2px;position:relative}
|
109 |
+
.elfinder-cwd-view-icons .elfinder-cwd-filename{text-align:center;white-space:pre;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;margin:3px 1px 0;padding:5px; line-height: 12px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}
|
110 |
+
.elfinder-cwd-view-icons .elfinder-perms{bottom:4px;right:2px}
|
111 |
+
.elfinder-cwd-view-icons .elfinder-symlink{bottom:6px;left:0}
|
112 |
+
.elfinder-cwd-icon{display:block;width:48px;height:48px;margin:2px auto;background:url('../images/elfinder/icons-big.png') 0 0 no-repeat;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}
|
113 |
+
.elfinder-cwd .elfinder-droppable-active .elfinder-cwd-icon{background-position:0 -100px}
|
114 |
+
.elfinder-cwd-icon-directory{background-position:0 -50px}
|
115 |
+
.elfinder-cwd-icon-application{background-position:0 -150px}
|
116 |
+
.elfinder-cwd-icon-x-empty,.elfinder-cwd-icon-text{background-position:0 -200px}
|
117 |
+
.elfinder-cwd-icon-image,.elfinder-cwd-icon-vnd-adobe-photoshop,.elfinder-cwd-icon-postscript{background-position:0 -250px}
|
118 |
+
.elfinder-cwd-icon-audio{background-position:0 -300px}
|
119 |
+
.elfinder-cwd-icon-video,.elfinder-cwd-icon-flash-video{background-position:0 -350px}
|
120 |
+
.elfinder-cwd-icon-rtf,.elfinder-cwd-icon-rtfd{background-position:0 -401px}
|
121 |
+
.elfinder-cwd-icon-pdf{background-position:0 -450px}
|
122 |
+
.elfinder-cwd-icon-vnd-ms-office,.elfinder-cwd-icon-msword,.elfinder-cwd-icon-vnd-ms-word,.elfinder-cwd-icon-vnd-oasis-opendocument-text,.elfinder-cwd-icon-ms-excel,.elfinder-cwd-icon-vnd-ms-excel,.elfinder-cwd-icon-vnd-oasis-opendocument-spreadsheet,.elfinder-cwd-icon-vnd-ms-powerpoint,.elfinder-cwd-icon-vnd-oasis-opendocument-presentation{background-position:0 -500px}
|
123 |
+
.elfinder-cwd-icon-html{background-position:0 -550px}
|
124 |
+
.elfinder-cwd-icon-css{background-position:0 -600px}
|
125 |
+
.elfinder-cwd-icon-javascript,.elfinder-cwd-icon-x-javascript{background-position:0 -650px}
|
126 |
+
.elfinder-cwd-icon-x-perl{background-position:0 -700px}
|
127 |
+
.elfinder-cwd-icon-x-python{background-position:0 -750px}
|
128 |
+
.elfinder-cwd-icon-x-ruby{background-position:0 -800px}
|
129 |
+
.elfinder-cwd-icon-x-sh,.elfinder-cwd-icon-x-shellscript{background-position:0 -850px}
|
130 |
+
.elfinder-cwd-icon-x-c,.elfinder-cwd-icon-x-csrc,.elfinder-cwd-icon-x-chdr,.elfinder-cwd-icon-x-c--,.elfinder-cwd-icon-x-c--src,.elfinder-cwd-icon-x-c--hdr,.elfinder-cwd-icon-x-java,.elfinder-cwd-icon-x-java-source{background-position:0 -900px}
|
131 |
+
.elfinder-cwd-icon-x-php{background-position:0 -950px}
|
132 |
+
.elfinder-cwd-icon-xml{background-position:0 -1000px}
|
133 |
+
.elfinder-cwd-icon-zip,.elfinder-cwd-icon-x-zip,.elfinder-cwd-icon-x-7z-compressed{background-position:0 -1050px}
|
134 |
+
.elfinder-cwd-icon-x-gzip,.elfinder-cwd-icon-x-tar{background-position:0 -1100px}
|
135 |
+
.elfinder-cwd-icon-x-bzip,.elfinder-cwd-icon-x-bzip2{background-position:0 -1150px}
|
136 |
+
.elfinder-cwd-icon-x-rar,.elfinder-cwd-icon-x-rar-compressed{background-position:0 -1200px}
|
137 |
+
.elfinder-cwd-icon-x-shockwave-flash{background-position:0 -1250px}
|
138 |
+
.elfinder-cwd-icon-group{background-position:0 -1300px}
|
139 |
+
.elfinder-cwd input{width:100%;border:0 solid;margin:0;padding:0}
|
140 |
+
.elfinder-cwd-view-icons input,.elfinder-cwd-view-icons{text-align:center}
|
141 |
+
.elfinder-cwd table{width:100%;border-collapse:collapse;border:0 solid;margin:0 0 10px}
|
142 |
+
.elfinder .elfinder-cwd table thead tr{border-left:0 solid;border-top:0 solid;border-right:0 solid}
|
143 |
+
.elfinder .elfinder-cwd table thead td{font-size:.9em}
|
144 |
+
.elfinder .elfinder-cwd table td{padding:3px 12px;white-space:pre;overflow:hidden;text-align:right;cursor:default;border:0 solid}
|
145 |
+
.elfinder-ltr .elfinder-cwd table td{text-align:right}
|
146 |
+
.elfinder-ltr .elfinder-cwd table td:first-child{text-align:left}
|
147 |
+
.elfinder-rtl .elfinder-cwd table td{text-align:left}
|
148 |
+
.elfinder-rtl .elfinder-cwd table td:first-child{text-align:right}
|
149 |
+
.elfinder-odd-row{background:#eee}
|
150 |
+
.elfinder-cwd-view-list .elfinder-cwd-file-wrapper{width:97%;position:relative}
|
151 |
+
.elfinder-ltr .elfinder-cwd-view-list .elfinder-cwd-file-wrapper{padding-left:23px}
|
152 |
+
.elfinder-rtl .elfinder-cwd-view-list .elfinder-cwd-file-wrapper{padding-right:23px}
|
153 |
+
.elfinder-cwd-view-list .elfinder-perms,.elfinder-cwd-view-list .elfinder-symlink{top:50%;margin-top:-6px}
|
154 |
+
.elfinder-ltr .elfinder-cwd-view-list .elfinder-perms{left:7px}
|
155 |
+
.elfinder-ltr .elfinder-cwd-view-list .elfinder-symlink{left:-7px}
|
156 |
+
.elfinder-cwd-view-list td .elfinder-cwd-icon{width:16px;height:16px;position:absolute;top:50%;margin-top:-8px;background-image:url(../img/icons-small.png)}
|
157 |
+
.elfinder-ltr .elfinder-cwd-view-list .elfinder-cwd-icon{left:0}
|
158 |
+
.elfinder-rtl .elfinder-cwd-view-list .elfinder-cwd-icon{right:0}
|
159 |
+
|
160 |
+
/*.std42-dialog{padding:0}*/
|
161 |
+
.std42-dialog .ui-dialog-titlebar{ height: 40px; padding: 0 14px; line-height: 40px;}
|
162 |
+
.std42-dialog .ui-dialog-titlebar-close,.std42-dialog .ui-dialog-titlebar-close:hover{padding:1px}
|
163 |
+
.elfinder-rtl .elfinder-dialog .ui-dialog-titlebar{text-align:right}
|
164 |
+
.elfinder-rtl .elfinder-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close{right:auto;left:.3em}
|
165 |
+
.std42-dialog .ui-dialog-content{ padding-top: 16px; }
|
166 |
+
.elfinder-dialog .ui-resizable-e,.elfinder-dialog .ui-resizable-s{width:0;height:0}
|
167 |
+
.std42-dialog .ui-button input{cursor:pointer}
|
168 |
+
.elfinder-dialog-icon{display: none;}
|
169 |
+
.elfinder-rtl .elfinder-dialog-icon{left:auto;right:12px}
|
170 |
+
.elfinder-dialog-error .ui-dialog-content,.elfinder-dialog-confirm .ui-dialog-content{padding-left:65px;}
|
171 |
+
.elfinder-rtl .elfinder-dialog-error .ui-dialog-content,.elfinder-rtl .elfinder-dialog-confirm .ui-dialog-content{padding-left:0;padding-right:56px}
|
172 |
+
.elfinder-dialog-notify .ui-dialog-titlebar-close{display:none}
|
173 |
+
.elfinder-dialog-notify .ui-dialog-content{padding:0}
|
174 |
+
.elfinder-notify{border-bottom:1px solid #ccc;position:relative;padding:.5em;text-align:center;overflow:hidden}
|
175 |
+
.elfinder-ltr .elfinder-notify{padding-left:30px}
|
176 |
+
.elfinder-rtl .elfinder-notify{padding-right:30px}
|
177 |
+
.elfinder-notify:last-child{border:0 solid}
|
178 |
+
.elfinder-notify-progressbar{width:180px;height:8px;border:1px solid #aaa;background:#f5f5f5;margin:5px auto;overflow:hidden}
|
179 |
+
.elfinder-notify-progress{width:100%;height:8px;background:url(../img/progress.gif) center center repeat-x}
|
180 |
+
.elfinder-notify-progressbar,.elfinder-notify-progress{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}
|
181 |
+
.elfinder-dialog-icon-open,.elfinder-dialog-icon-file,.elfinder-dialog-icon-reload{background-position:0 -225px}
|
182 |
+
.elfinder-dialog-icon-mkdir{background-position:0 -64px}
|
183 |
+
.elfinder-dialog-icon-mkfile{background-position:0 -96px}
|
184 |
+
.elfinder-dialog-icon-copy,.elfinder-dialog-icon-prepare,.elfinder-dialog-icon-move{background-position:0 -128px}
|
185 |
+
.elfinder-dialog-icon-upload{background-position:0 -160px}
|
186 |
+
.elfinder-dialog-icon-rm{background-position:0 -192px}
|
187 |
+
.elfinder-dialog-icon-download{background-position:0 -260px}
|
188 |
+
.elfinder-dialog-icon-save{background-position:0 -295px}
|
189 |
+
.elfinder-dialog-icon-rename{background-position:0 -330px}
|
190 |
+
.elfinder-dialog-icon-archive,.elfinder-dialog-icon-extract{background-position:0 -365px}
|
191 |
+
.elfinder-dialog-icon-search{background-position:0 -402px}
|
192 |
+
.elfinder-dialog-confirm-applyall{padding-top:3px}
|
193 |
+
.elfinder-dialog-confirm .elfinder-dialog-icon{background-position:0 -32px}
|
194 |
+
.elfinder-info-title .elfinder-cwd-icon{float:left;width:48px;height:48px;margin-right:1em}
|
195 |
+
.elfinder-info-title strong{display:block;padding:.3em 0 .5em}
|
196 |
+
.elfinder-info-tb{min-width:200px;border:0 solid;margin:1em .2em;font-size:.9em}
|
197 |
+
.elfinder-info-tb td{white-space:nowrap;padding:2px}
|
198 |
+
.elfinder-info-tb tr td:first-child{text-align:right}
|
199 |
+
.elfinder-info-tb span{float:left}
|
200 |
+
.elfinder-info-tb a{outline:none;text-decoration:underline}
|
201 |
+
.elfinder-info-tb a:hover{text-decoration:none}
|
202 |
+
.elfinder-info-spinner{width:14px;height:14px;float:left;background:url("../images/elfinder/spinner-mini.gif") center center no-repeat;margin:0 5px}
|
203 |
+
.elfinder-upload-dropbox{font-size:1.2em;text-align:center;padding:2em 0;border:3px dashed #aaa}
|
204 |
+
.elfinder-upload-dropbox.ui-state-hover{background:#dfdfdf;border:3px dashed #555}
|
205 |
+
.elfinder-upload-dialog-or{font-size:1.2em;margin:.3em 0;text-align:center}
|
206 |
+
.elfinder-upload-dialog-wrapper{text-align:center}
|
207 |
+
.elfinder-upload-dialog-wrapper .ui-button{position:relative;overflow:hidden}
|
208 |
+
.elfinder-upload-dialog-wrapper .ui-button form{position:absolute;right:0;top:0;opacity:0;filter:Alpha(Opacity=0)}
|
209 |
+
.elfinder-upload-dialog-wrapper .ui-button form input{padding:0 20px;font-size:3em}
|
210 |
+
.dialogelfinder .dialogelfinder-drag{border-left:0 solid;border-top:0 solid;border-right:0 solid;font-weight:400;font-size:.9em;padding:2px 12px;cursor:move;position:relative;text-align:left}
|
211 |
+
.elfinder-rtl .dialogelfinder-drag{text-align:right}
|
212 |
+
.dialogelfinder-drag-close{position:absolute;top:50%;margin-top:-8px}
|
213 |
+
.elfinder-ltr .dialogelfinder-drag-close{right:12px}
|
214 |
+
.elfinder-rtl .dialogelfinder-drag-close{left:12px}
|
215 |
+
.elfinder .elfinder-navbar{width:230px;padding:5px;font-size: 11px;background-image:none;border-top:0 solid;border-bottom:0 solid;overflow:auto;display:none;position:relative;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;user-select:none}
|
216 |
+
.elfinder-ltr .elfinder-navbar{float:left;border-left:0 solid}
|
217 |
+
.elfinder-rtl .elfinder-navbar{float:right;border-right:0 solid}
|
218 |
+
.elfinder-ltr .ui-resizable-e{margin-left:10px}
|
219 |
+
.elfinder-tree{display:table;width:100%;margin:0 0 .5em}
|
220 |
+
.elfinder-navbar-dir{position:relative;display:block;white-space:nowrap;padding:3px 12px;margin:0;outline:0 solid;border:1px solid transparent;cursor:default}
|
221 |
+
.elfinder-ltr .elfinder-navbar-dir{padding-left:35px}
|
222 |
+
.elfinder-rtl .elfinder-navbar-dir{padding-right:35px}
|
223 |
+
.elfinder-navbar-arrow{width:12px;height:14px;position:absolute;display:none;top:50%;margin-top:-8px;background-image:url("../images/elfinder/arrows-normal.png");background-repeat:no-repeat}
|
224 |
+
.ui-state-active .elfinder-navbar-arrow{background-image:url("../images/elfinder/arrows-active.png")}
|
225 |
+
.elfinder-navbar-collapsed .elfinder-navbar-arrow{display:block}
|
226 |
+
.elfinder-ltr .elfinder-navbar-collapsed .elfinder-navbar-arrow{background-position:0 5px;left:0}
|
227 |
+
.elfinder-rtl .elfinder-navbar-collapsed .elfinder-navbar-arrow{background-position:0 -10px;right:0}
|
228 |
+
.elfinder-ltr .elfinder-navbar-expanded .elfinder-navbar-arrow,.elfinder-rtl .elfinder-navbar-expanded .elfinder-navbar-arrow{background-position:0 -21px}
|
229 |
+
.elfinder-navbar-icon{width:16px;height:16px;position:absolute;top:50%;margin-top:-8px;background-image:url("../images/elfinder/toolbar.png");background-repeat:no-repeat;background-position:0 -16px}
|
230 |
+
.elfinder-ltr .elfinder-navbar-icon{left:14px}
|
231 |
+
.elfinder-rtl .elfinder-navbar-icon{right:14px}
|
232 |
+
.elfinder-tree .elfinder-navbar-root .elfinder-navbar-icon{background-position:0 0}
|
233 |
+
.elfinder-places .elfinder-navbar-root .elfinder-navbar-icon{background-position:0 -48px}
|
234 |
+
.ui-state-active .elfinder-navbar-icon,.elfinder-droppable-active .elfinder-navbar-icon,.ui-state-hover .elfinder-navbar-icon{background-position:0 -32px}
|
235 |
+
.elfinder-navbar-subtree{display:none}
|
236 |
+
.elfinder-ltr .elfinder-navbar-subtree{margin-left:12px}
|
237 |
+
.elfinder-rtl .elfinder-navbar-subtree{margin-right:12px}
|
238 |
+
.elfinder-navbar-spinner{width:14px;height:14px;position:absolute;display:block;top:50%;margin-top:-7px;background:url("../images/elfinder/spinner-mini.gif") center center no-repeat}
|
239 |
+
.elfinder-ltr .elfinder-navbar-spinner{left:0;margin-left:-2px}
|
240 |
+
.elfinder-rtl .elfinder-navbar-spinner{right:0;margin-right:-2px}
|
241 |
+
.elfinder-navbar .elfinder-perms{top:50%;margin-top:-8px}
|
242 |
+
.elfinder-ltr .elfinder-navbar .elfinder-perms{left:18px}
|
243 |
+
.elfinder-rtl .elfinder-navbar .elfinder-perms{right:18px}
|
244 |
+
.elfinder-ltr .elfinder-navbar .elfinder-symlink{left:8px}
|
245 |
+
.elfinder-rtl .elfinder-navbar .elfinder-symlink{right:8px}
|
246 |
+
.elfinder-navbar .ui-resizable-handle{width:12px;background:url('../images/elfinder/resize.png') center center no-repeat;left:0}
|
247 |
+
.elfinder-nav-handle-icon{position:absolute;top:50%;margin:-8px 2px 0;opacity:.5;filter:Alpha(Opacity=50)}
|
248 |
+
.elfinder-places{border:1px solid transparent}
|
249 |
+
.elfinder-places.elfinder-droppable-active{border:1px solid #8cafed}
|
250 |
+
.elfinder-place-drag .elfinder-navbar-dir{font-size:.9em}
|
251 |
+
.elfinder-quicklook{position:absolute;background:url("../images/elfinder/quicklook-bg.png");display:none;overflow:hidden;border-radius:7px;-moz-border-radius:7px;-webkit-border-radius:7px;padding:20px 0 40px}
|
252 |
+
.elfinder-quicklook .ui-resizable-se{width:14px;height:14px;right:5px;bottom:3px;background:url("../images/elfinder/toolbar.png") 0 -496px no-repeat}
|
253 |
+
.elfinder-quicklook-fullscreen{border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-webkit-background-clip:padding-box;padding:0;background:#000;z-index:90000;display:block}
|
254 |
+
.elfinder-quicklook-fullscreen .elfinder-quicklook-titlebar{display:none}
|
255 |
+
.elfinder-quicklook-fullscreen .elfinder-quicklook-preview{border:0 solid}
|
256 |
+
.elfinder-quicklook-titlebar{text-align:center;background:#777;position:absolute;left:0;top:0;width:100%;height:20px;-moz-border-radius-topleft:7px;-webkit-border-top-left-radius:7px;border-top-left-radius:7px;-moz-border-radius-topright:7px;-webkit-border-top-right-radius:7px;border-top-right-radius:7px;cursor:move}
|
257 |
+
.elfinder-quicklook-title{font-size:.7em;color:#fff;white-space:nowrap;overflow:hidden;padding:2px 0}
|
258 |
+
.elfinder-quicklook-titlebar .ui-icon{position:absolute;left:4px;top:50%;margin-top:-8px;width:16px;height:16px;cursor:default}
|
259 |
+
.elfinder-quicklook-preview{overflow:hidden;position:relative;border:0 solid;border-left:1px solid transparent;border-right:1px solid transparent;height:100%}
|
260 |
+
.elfinder-quicklook-info-wrapper{position:absolute;width:100%;left:0;top:50%;margin-top:-50px}
|
261 |
+
.elfinder-quicklook-info{padding:0 12px 0 112px}
|
262 |
+
.elfinder-quicklook-info .elfinder-quicklook-info-data:first-child{color:#fff;font-weight:700;padding-bottom:.5em}
|
263 |
+
.elfinder-quicklook-info-data{font-size:.72em;padding-bottom:.2em;color:#fff}
|
264 |
+
.elfinder-quicklook .elfinder-cwd-icon{position:absolute;left:32px;top:50%;margin-top:-20px}
|
265 |
+
.elfinder-quicklook-preview img{display:block;margin:0 auto}
|
266 |
+
.elfinder-quicklook-navbar{position:absolute;left:50%;bottom:4px;width:140px;height:32px;padding:0;margin-left:-70px;border:1px solid transparent;border-radius:19px;-moz-border-radius:19px;-webkit-border-radius:19px}
|
267 |
+
.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar{width:188px;margin-left:-94px;padding:5px;border:1px solid #eee;background:#000}
|
268 |
+
.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar-icon-close,.elfinder-quicklook-fullscreen .elfinder-quicklook-navbar-separator{display:inline}
|
269 |
+
.elfinder-quicklook-navbar-icon{width:32px;height:32px;margin:0 7px;float:left;background:url("../images/elfinder/quicklook-icons.png") 0 0 no-repeat}
|
270 |
+
.elfinder-quicklook-navbar-icon-fullscreen{background-position:0 -64px}
|
271 |
+
.elfinder-quicklook-navbar-icon-fullscreen-off{background-position:0 -96px}
|
272 |
+
.elfinder-quicklook-navbar-icon-prev{background-position:0 0}
|
273 |
+
.elfinder-quicklook-navbar-icon-next{background-position:0 -32px}
|
274 |
+
.elfinder-quicklook-navbar-icon-close{background-position:0 -128px;display:none}
|
275 |
+
.elfinder-quicklook-navbar-separator{width:1px;height:32px;float:left;border-left:1px solid #fff;display:none}
|
276 |
+
.elfinder-quicklook-preview-text-wrapper{width:100%;height:100%;background:#fff;color:#222;font-size:.9em;overflow:auto}
|
277 |
+
pre.elfinder-quicklook-preview-text{margin:0;padding:3px 9px}
|
278 |
+
.elfinder-quicklook-preview-html,.elfinder-quicklook-preview-pdf{width:100%;height:100%;background:#fff;border:0 solid;margin:0}
|
279 |
+
.elfinder-quicklook-preview-flash{width:100%;height:100%}
|
280 |
+
.elfinder-quicklook-preview-audio{width:100%;position:absolute;bottom:0;left:0}
|
281 |
+
embed.elfinder-quicklook-preview-audio{height:30px;background:0 0}
|
282 |
+
.elfinder-quicklook-preview-video{width:100%;height:100%}
|
283 |
+
.elfinder-statusbar{ text-align: center; font-weight: 400; padding: 0 12px; height: 28px; border-right: 0 solid transparent; border-bottom: 0 solid transparent; border-left: 0 solid transparent; border-top: 1px solid #D5D5D5; line-height: 28px; }
|
284 |
+
.elfinder-statusbar a{text-decoration:none}
|
285 |
+
.elfinder-statusbar div{font-size: 11px;}
|
286 |
+
.elfinder-path{max-width:30%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}
|
287 |
+
.elfinder-ltr .elfinder-path{float:left}
|
288 |
+
.elfinder-rtl .elfinder-path{float:right}
|
289 |
+
.elfinder-stat-size{white-space:nowrap}
|
290 |
+
.elfinder-ltr .elfinder-stat-size{float:right}
|
291 |
+
.elfinder-rtl .elfinder-stat-size{float:left}
|
292 |
+
.elfinder-stat-selected{white-space:nowrap;overflow:hidden}
|
293 |
+
.elfinder-toolbar{ padding: 4px 7px; margin: 0; list-style: none; background: #f8f8f8; display: inline-block; width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
|
294 |
+
.elfinder-toolbar .ui-widget-content { box-shadow: none; }
|
295 |
+
.elfinder-buttonset{margin:1px 4px;float:left;background:0 0;padding:0;}
|
296 |
+
.elfinder .elfinder-button{width:16px;height:16px;margin:0;padding:4px;float:left;overflow:hidden;position:relative;border:0 solid}
|
297 |
+
.elfinder .ui-icon-search{cursor:pointer}
|
298 |
+
.elfinder-toolbar-button-separator{float:left;padding:0;height:24px;border-top:0 solid;border-right:0 solid;border-bottom:0 solid;width:0}
|
299 |
+
.elfinder .elfinder-button.ui-state-disabled{opacity:1;filter:Alpha(Opacity=100)}
|
300 |
+
.elfinder .elfinder-button.ui-state-disabled .elfinder-button-icon{opacity:.4;filter:Alpha(Opacity=40)}
|
301 |
+
.elfinder-rtl .elfinder-buttonset{float:right}
|
302 |
+
.elfinder-button-icon{width:16px;height:16px;display:block;background:url('../images/elfinder/toolbar.png') no-repeat}
|
303 |
+
.elfinder-button-icon-home{background-position:0 0}
|
304 |
+
.elfinder-button-icon-back{background-position:0 -112px}
|
305 |
+
.elfinder-button-icon-forward{background-position:0 -128px}
|
306 |
+
.elfinder-button-icon-up{background-position:0 -144px}
|
307 |
+
.elfinder-button-icon-reload{background-position:0 -160px}
|
308 |
+
.elfinder-button-icon-open{background-position:0 -176px}
|
309 |
+
.elfinder-button-icon-mkdir{background-position:0 -192px}
|
310 |
+
.elfinder-button-icon-mkfile{background-position:0 -208px}
|
311 |
+
.elfinder-button-icon-rm{background-position:0 -224px}
|
312 |
+
.elfinder-button-icon-copy{background-position:0 -240px}
|
313 |
+
.elfinder-button-icon-cut{background-position:0 -256px}
|
314 |
+
.elfinder-button-icon-paste{background-position:0 -272px}
|
315 |
+
.elfinder-button-icon-getfile{background-position:0 -288px}
|
316 |
+
.elfinder-button-icon-duplicate{background-position:0 -304px}
|
317 |
+
.elfinder-button-icon-rename{background-position:0 -320px}
|
318 |
+
.elfinder-button-icon-edit{background-position:0 -336px}
|
319 |
+
.elfinder-button-icon-quicklook{background-position:0 -352px}
|
320 |
+
.elfinder-button-icon-upload{background-position:0 -368px}
|
321 |
+
.elfinder-button-icon-download{background-position:0 -384px}
|
322 |
+
.elfinder-button-icon-info{background-position:0 -400px}
|
323 |
+
.elfinder-button-icon-extract{background-position:0 -416px}
|
324 |
+
.elfinder-button-icon-archive{background-position:0 -432px}
|
325 |
+
.elfinder-button-icon-view{background-position:0 -448px}
|
326 |
+
.elfinder-button-icon-view-list{background-position:0 -464px}
|
327 |
+
.elfinder-button-icon-help{background-position:0 -480px}
|
328 |
+
.elfinder-button-icon-resize{background-position:0 -512px}
|
329 |
+
.elfinder-button-icon-search{background-position:0 -561px}
|
330 |
+
.elfinder-button-icon-sort{background-position:0 -577px}
|
331 |
+
.elfinder-button-icon-rotate-r{background-position:0 -625px}
|
332 |
+
.elfinder-button-icon-rotate-l{background-position:0 -641px}
|
333 |
+
.elfinder .elfinder-menubutton{overflow:visible}
|
334 |
+
.elfinder-button-menu{position:absolute;left:0;top:29px;padding:3px 0; background: #FAFAFA; border: 1px solid #DDD;}
|
335 |
+
.elfinder-button-menu-item{white-space:nowrap;font-size:.72em;cursor:default;padding:5px 19px;position:relative}
|
336 |
+
.elfinder-button-menu .ui-state-hover{border:0 solid}
|
337 |
+
.elfinder-menu-item-sort-dir{width:16px;height:16px;position:absolute;left:2px;top:50%;margin-top:-8px;background:url("../images/elfinder/toolbar.png") 0 -594px no-repeat;display:none}
|
338 |
+
.elfinder-button-menu-item-selected .elfinder-menu-item-sort-dir{display:block}
|
339 |
+
.elfinder-menu-item-sort-desc .elfinder-menu-item-sort-dir{background-position:0 -608px}
|
340 |
+
.elfinder-button form{position:absolute;top:0;right:0;opacity:0;filter:Alpha(Opacity=0);cursor:pointer}
|
341 |
+
.elfinder .elfinder-button form input{background:0 0;cursor:default}
|
342 |
+
.elfinder .elfinder-button-search{border:0 solid;background:0 0;padding:0;margin:1px 4px;height:auto;min-height:26px;float:right;width:162px}
|
343 |
+
.elfinder-ltr .elfinder-button-search{float: none; margin-right: 10px; position: absolute; right: -4px; top: -35px;}
|
344 |
+
.elfinder-rtl .elfinder-button-search{float:left;margin-left:10px}
|
345 |
+
.elfinder-button-search input{ width:160px; height: 26px; padding: 5px 8px;font-size: 11px; border:1px solid #d5d5d5;outline:0 solid; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
|
346 |
+
.elfinder-rtl .elfinder-button-search input{direction:rtl}
|
347 |
+
.elfinder-button-search .ui-icon{position:absolute;height:18px;top:50%;margin:-9px 4px 0;opacity:.3;filter:Alpha(Opacity=30)}
|
348 |
+
.elfinder-ltr .elfinder-button-search .ui-icon-search{left:0}
|
349 |
+
.elfinder-rtl .elfinder-button-search .ui-icon-search,.elfinder-ltr .elfinder-button-search .ui-icon-close{right:0}
|
350 |
+
.elfinder-rtl .elfinder-button-search .ui-icon-close{left:0}
|
351 |
+
|
352 |
+
|
353 |
+
/* navbar */
|
354 |
+
.elfinder .elfinder-navbar { background:#fcfcfc; }
|
355 |
+
.elfinder-navbar .ui-state-hover { background:transparent; border-color:transparent; }
|
356 |
+
.elfinder-navbar .ui-state-active { background: #3875d7; border-color:#3875d7; color:#fff; }
|
357 |
+
/* disabled elfinder */
|
358 |
+
.elfinder-disabled .elfinder-navbar .ui-state-active { background: #dadada; border-color:#ccc; color:#fff; }
|
359 |
+
|
360 |
+
|
361 |
+
/* current directory */
|
362 |
+
/* selected file in "icons" view */
|
363 |
+
.elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover { background:#ccc; }
|
364 |
+
/* list view*/
|
365 |
+
.elfinder-cwd table tr:nth-child(odd) { background-color:#edf3fe; }
|
366 |
+
.elfinder-cwd table tr { border-top:1px solid #fff; }
|
367 |
+
|
368 |
+
/* common selected background/color */
|
369 |
+
.elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
|
370 |
+
.elfinder-cwd table td.ui-state-hover,
|
371 |
+
.elfinder-button-menu .ui-state-hover { background: #3875d7; color:#fff;}
|
372 |
+
|
373 |
+
/* disabled elfinder */
|
374 |
+
.elfinder-disabled .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
|
375 |
+
.elfinder-disabled .elfinder-cwd table td.ui-state-hover { background:#dadada;}
|
376 |
+
|
377 |
+
/* statusbar */
|
378 |
+
.elfinder .elfinder-statusbar { color:#555; }
|
379 |
+
.elfinder .elfinder-statusbar a { text-decoration:none; color:#555;}
|
380 |
+
.std42-dialog .elfinder-help, .std42-dialog .elfinder-help .ui-widget-content { background:#fff;}
|
381 |
+
|
382 |
+
/* contextmenu */
|
383 |
+
.elfinder-contextmenu .ui-state-hover { background: #3875d7; color:#fff; }
|
384 |
+
.elfinder-contextmenu .ui-state-hover .elfinder-contextmenu-arrow { background-image:url('../images/elfinder/arrows-active.png'); }
|
385 |
+
|
assets/css/fancybox.css
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: fancybox.css;
|
8 |
+
* Description: Fancybox jquery plugin styles
|
9 |
+
* Plugin version: 1.3.4 (11/11/2010)
|
10 |
+
* Version: 1.0
|
11 |
+
*
|
12 |
+
* ======================================================== */
|
13 |
+
|
14 |
+
|
15 |
+
#fancybox-loading { position: fixed; top: 50%; left: 50%; width: 40px; height: 40px; margin-top: -20px; margin-left: -20px; cursor: pointer; overflow: hidden; z-index: 1104; display: none; }
|
16 |
+
#fancybox-loading div { position: absolute; top: 0; left: 0; width: 40px; height: 480px; background-image: url('../images/elements/lightbox/fancybox.png'); }
|
17 |
+
#fancybox-overlay { position: absolute; top: 0; left: 0; width: 100%; z-index: 1100; display: none; }
|
18 |
+
#fancybox-tmp { padding: 0; margin: 0; border: 0; overflow: auto; display: none; }
|
19 |
+
#fancybox-wrap { position: absolute; top: 0; left: 0; padding: 20px; z-index: 1101; outline: none; display: none; }
|
20 |
+
#fancybox-outer { position: relative; width: 100%; height: 100%; background: #fff; }
|
21 |
+
#fancybox-content { width: 0; height: 0; padding: 0; outline: none; position: relative; overflow: hidden; z-index: 1102; border: 0px solid #fff; }
|
22 |
+
#fancybox-hide-sel-frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: transparent; z-index: 1101; }
|
23 |
+
#fancybox-close { position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: transparent url('../images/elements/lightbox/fancybox.png') -48px -2px; cursor: pointer; z-index: 1103; display: none; }
|
24 |
+
#fancybox-error { color: #444; font: normal 12px/20px Arial; padding: 14px; margin: 0; }
|
25 |
+
#fancybox-img { width: 100%; height: 100%; padding: 0; margin: 0; border: none; outline: none; line-height: 0; vertical-align: top; }
|
26 |
+
#fancybox-frame { width: 100%; height: 100%; border: none; display: block; }
|
27 |
+
#fancybox-left, #fancybox-right { position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer; outline: none; background: transparent url('../images/elements/lightbox/blank.gif'); z-index: 1102; display: none; }
|
28 |
+
#fancybox-left { left: 0px; }
|
29 |
+
#fancybox-right { right: 0px; }
|
30 |
+
#fancybox-left-ico, #fancybox-right-ico { position: absolute; top: 50%; left: -9999px; width: 15px; height: 17px; margin-top: -9px; cursor: pointer; z-index: 1102; display: block; }
|
31 |
+
#fancybox-left-ico { background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -48px -35px; margin-left: -19px; }
|
32 |
+
#fancybox-right-ico { background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -48px -17px; margin-right: -19px; }
|
33 |
+
#fancybox-left:hover, #fancybox-right:hover { visibility: visible; /* IE6 */ }
|
34 |
+
#fancybox-left:hover span { left: 20px; }
|
35 |
+
#fancybox-right:hover span { left: auto; right: 20px; }
|
36 |
+
.fancybox-bg { position: absolute; padding: 0; margin: 0; border: 0; width: 20px; height: 20px; z-index: 1001; }
|
37 |
+
#fancybox-bg-n { top: -20px; left: 0; width: 100%; background-image: url('../images/elements/lightbox/fancybox-x.png'); }
|
38 |
+
#fancybox-bg-ne { top: -20px; right: -20px; background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -40px -162px; }
|
39 |
+
#fancybox-bg-e { top: 0; right: -20px; height: 100%; background-image: url('../images/elements/lightbox/fancybox-y.png'); background-position: -20px 0px; }
|
40 |
+
#fancybox-bg-se { bottom: -20px; right: -20px; background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -40px -182px; }
|
41 |
+
#fancybox-bg-s { bottom: -20px; left: 0; width: 100%; background-image: url('../images/elements/lightbox/fancybox-x.png'); background-position: 0px -20px; }
|
42 |
+
#fancybox-bg-sw { bottom: -20px; left: -20px; background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -40px -142px; }
|
43 |
+
#fancybox-bg-w { top: 0; left: -20px; height: 100%; background-image: url('../images/elements/lightbox/fancybox-y.png'); }
|
44 |
+
#fancybox-bg-nw { top: -20px; left: -20px; background-image: url('../images/elements/lightbox/fancybox.png'); background-position: -40px -122px; }
|
45 |
+
#fancybox-title { font-family: Helvetica; font-size: 12px; z-index: 1102; }
|
46 |
+
.fancybox-title-inside { padding-bottom: 10px; text-align: center; color: #333; background: #fff; position: relative; }
|
47 |
+
.fancybox-title-outside { padding-top: 10px; color: #fff; }
|
48 |
+
.fancybox-title-over { position: absolute; bottom: 0; left: 0; color: #FFF; text-align: left; }
|
49 |
+
#fancybox-title-over { padding: 10px; background-image: url('../images/elements/lightbox/fancy_title_over.png'); display: block; }
|
50 |
+
.fancybox-title-float { position: absolute; left: 0; bottom: -20px; height: 32px; }
|
51 |
+
#fancybox-title-float-wrap { border: none; border-collapse: collapse; width: auto; }
|
52 |
+
#fancybox-title-float-wrap td { border: none; white-space: nowrap; }
|
53 |
+
#fancybox-title-float-left { padding: 0 0 0 15px; background: url('../images/elements/lightbox/fancybox.png') -40px -90px no-repeat; }
|
54 |
+
#fancybox-title-float-main { color: #FFF; line-height: 29px; font-weight: bold; padding: 0 0 3px 0; background: url('../images/elements/lightbox/fancybox-x.png') 0px -40px; }
|
55 |
+
#fancybox-title-float-right { padding: 0 0 0 15px; background: url('../images/elements/lightbox/fancybox.png') -55px -90px no-repeat; }
|
56 |
+
|
57 |
+
/* IE6 */
|
58 |
+
|
59 |
+
.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_close.png', sizingMethod='scale'); }
|
60 |
+
.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_nav_left.png', sizingMethod='scale'); }
|
61 |
+
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_nav_right.png', sizingMethod='scale'); }
|
62 |
+
.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
|
63 |
+
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_title_left.png', sizingMethod='scale'); }
|
64 |
+
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_title_main.png', sizingMethod='scale'); }
|
65 |
+
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_title_right.png', sizingMethod='scale'); }
|
66 |
+
.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame { height: expression(this.parentNode.clientHeight + "px"); }
|
67 |
+
#fancybox-loading.fancybox-ie6 { position: absolute; margin-top: 0; top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'); }
|
68 |
+
#fancybox-loading.fancybox-ie6 div { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_loading.png', sizingMethod='scale'); }
|
69 |
+
|
70 |
+
/* IE6, IE7, IE8 */
|
71 |
+
|
72 |
+
.fancybox-ie .fancybox-bg { background: transparent !important; }
|
73 |
+
.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
|
74 |
+
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
|
75 |
+
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
|
76 |
+
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
|
77 |
+
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
|
78 |
+
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
|
79 |
+
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
|
80 |
+
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/elements/lightbox/fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }
|
assets/css/font.css
ADDED
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: font.css;
|
8 |
+
* Description: Font Awesome - the iconic font designed for use with Twitter Bootstrap
|
9 |
+
* Version: 1.0
|
10 |
+
* Source: http://fortawesome.github.com/Font-Awesome/
|
11 |
+
* License
|
12 |
+
-------------------------------------------------------
|
13 |
+
The Font Awesome webfont, CSS, and LESS files are licensed under CC BY 3.0:
|
14 |
+
http://creativecommons.org/licenses/by/3.0/ A mention of
|
15 |
+
'Font Awesome - http://fortawesome.github.com/Font-Awesome' in human-readable
|
16 |
+
source code is considered acceptable attribution (most common on the web).
|
17 |
+
If human readable source code is not available to the end user, a mention in
|
18 |
+
an 'About' or 'Credits' screen is considered acceptable (most common in desktop
|
19 |
+
or mobile software).
|
20 |
+
*
|
21 |
+
* ======================================================== */
|
22 |
+
|
23 |
+
@font-face {
|
24 |
+
font-family: "FontAwesome";
|
25 |
+
src: url('font/fontawesome-webfont.eot');
|
26 |
+
src: url('font/fontawesome-webfont.eot?#iefix') format('eot'),url('font/fontawesome-webfont.ttf') format('truetype'), url('font/fontawesome-webfont.svg#FontAwesome') format('svg');
|
27 |
+
font-weight: normal;
|
28 |
+
font-style: normal;
|
29 |
+
}
|
30 |
+
|
31 |
+
/* Font Awesome styles
|
32 |
+
------------------------------------------------------- */
|
33 |
+
[class^="font-"]:before, [class*=" font-"]:before {
|
34 |
+
font-family: FontAwesome;
|
35 |
+
font-weight: normal;
|
36 |
+
font-style: normal;
|
37 |
+
display: inline-block;
|
38 |
+
text-decoration: inherit;
|
39 |
+
}
|
40 |
+
a [class^="font-"], a [class*=" font-"] { display: inline-block; text-decoration: inherit; }
|
41 |
+
.btn [class^="font-"], .btn [class*=" font-"] { margin-right: 7px; margin-left: -2px; }
|
42 |
+
.btn:active [class^="font-"], .btn:active [class*=" font-"] { color: #fff; }
|
43 |
+
.nav > a > [class^="font-"], .nav > a > [class*=" font-"] { font-size: 16px; color: #5f5f5f; }
|
44 |
+
.nav.open > a > [class^="font-"], .nav.open > a > [class*=" font-"] { color: #999999; }
|
45 |
+
.navi [class^="font-"], .navi [class*=" font-"], .navi-two [class^="font-"], .navi-two [class*=" font-"] { color: #EEE; font-size: 16px; font-weight: normal; margin-right: 12px; }
|
46 |
+
|
47 |
+
/* makes the font 33% larger relative to the icon container */
|
48 |
+
|
49 |
+
.font-large:before { vertical-align: top; font-size: 1.3333333333333333em; }
|
50 |
+
.btn [class^="font-"], .btn [class*=" font-"] { line-height: 1em /*.9em*/; }
|
51 |
+
li [class^="font-"], li [class*=" font-"] { line-height: 1; display: inline-block; margin-right: 8px; color: #5f5f5f; font-size: 12px; width: 1.25em; text-align: center; }
|
52 |
+
li [class^="icon-"], li [class*=" icon-"] { margin-right: 8px; }
|
53 |
+
ul.list-font li i { float: none; font-size: 12px; display: inline-block; line-height: 1; width: 12px; text-align: center; }
|
54 |
+
li .font-large[class^="font-"], li .font-large[class*=" font-"] { width: 1.875em; }
|
55 |
+
li[class^="font-"], li[class*=" font-"] { margin-left: 0; list-style-type: none; }
|
56 |
+
li[class^="font-"]:before, li[class*=" font-"]:before { text-indent: -2em; text-align: center; }
|
57 |
+
li[class^="font-"].font-large:before, li[class*=" font-"].font-large:before { text-indent: -1.3333333333333333em; }
|
58 |
+
|
59 |
+
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen readers do not read off random characters that represent icons */
|
60 |
+
|
61 |
+
.font-glass:before { content: "\f000"; }
|
62 |
+
.font-music:before { content: "\f001"; }
|
63 |
+
.font-search:before { content: "\f002"; }
|
64 |
+
.font-envelope:before { content: "\f003"; }
|
65 |
+
.font-heart:before { content: "\f004"; }
|
66 |
+
.font-star:before { content: "\f005"; }
|
67 |
+
.font-star-empty:before { content: "\f006"; }
|
68 |
+
.font-user:before { content: "\f007"; }
|
69 |
+
.font-film:before { content: "\f008"; }
|
70 |
+
.font-th-large:before { content: "\f009"; }
|
71 |
+
.font-th:before { content: "\f00a"; }
|
72 |
+
.font-th-list:before { content: "\f00b"; }
|
73 |
+
.font-ok:before { content: "\f00c"; }
|
74 |
+
.font-remove:before { content: "\f00d"; }
|
75 |
+
.font-zoom-in:before { content: "\f00e"; }
|
76 |
+
|
77 |
+
.font-zoom-out:before { content: "\f010"; }
|
78 |
+
.font-off:before { content: "\f011"; }
|
79 |
+
.font-signal:before { content: "\f012"; }
|
80 |
+
.font-cog:before { content: "\f013"; }
|
81 |
+
.font-trash:before { content: "\f014"; }
|
82 |
+
.font-home:before { content: "\f015"; }
|
83 |
+
.font-file:before { content: "\f016"; }
|
84 |
+
.font-time:before { content: "\f017"; }
|
85 |
+
.font-road:before { content: "\f018"; }
|
86 |
+
.font-download-alt:before { content: "\f019"; }
|
87 |
+
.font-download:before { content: "\f01a"; }
|
88 |
+
.font-upload:before { content: "\f01b"; }
|
89 |
+
.font-inbox:before { content: "\f01c"; }
|
90 |
+
.font-play-circle:before { content: "\f01d"; }
|
91 |
+
.font-repeat:before { content: "\f01e"; }
|
92 |
+
|
93 |
+
/* \f020 doesn't work in Safari. all shifted one down */
|
94 |
+
.font-refresh:before { content: "\f021"; }
|
95 |
+
.font-list-alt:before { content: "\f022"; }
|
96 |
+
.font-lock:before { content: "\f023"; }
|
97 |
+
.font-flag:before { content: "\f024"; }
|
98 |
+
.font-headphones:before { content: "\f025"; }
|
99 |
+
.font-volume-off:before { content: "\f026"; }
|
100 |
+
.font-volume-down:before { content: "\f027"; }
|
101 |
+
.font-volume-up:before { content: "\f028"; }
|
102 |
+
.font-qrcode:before { content: "\f029"; }
|
103 |
+
.font-barcode:before { content: "\f02a"; }
|
104 |
+
.font-tag:before { content: "\f02b"; }
|
105 |
+
.font-tags:before { content: "\f02c"; }
|
106 |
+
.font-book:before { content: "\f02d"; }
|
107 |
+
.font-bookmark:before { content: "\f02e"; }
|
108 |
+
.font-print:before { content: "\f02f"; }
|
109 |
+
|
110 |
+
.font-camera:before { content: "\f030"; }
|
111 |
+
.font-font:before { content: "\f031"; }
|
112 |
+
.font-bold:before { content: "\f032"; }
|
113 |
+
.font-italic:before { content: "\f033"; }
|
114 |
+
.font-text-height:before { content: "\f034"; }
|
115 |
+
.font-text-width:before { content: "\f035"; }
|
116 |
+
.font-align-left:before { content: "\f036"; }
|
117 |
+
.font-align-center:before { content: "\f037"; }
|
118 |
+
.font-align-right:before { content: "\f038"; }
|
119 |
+
.font-align-justify:before { content: "\f039"; }
|
120 |
+
.font-list:before { content: "\f03a"; }
|
121 |
+
.font-indent-left:before { content: "\f03b"; }
|
122 |
+
.font-indent-right:before { content: "\f03c"; }
|
123 |
+
.font-facetime-video:before { content: "\f03d"; }
|
124 |
+
.font-picture:before { content: "\f03e"; }
|
125 |
+
|
126 |
+
.font-pencil:before { content: "\f040"; }
|
127 |
+
.font-map-marker:before { content: "\f041"; }
|
128 |
+
.font-adjust:before { content: "\f042"; }
|
129 |
+
.font-tint:before { content: "\f043"; }
|
130 |
+
.font-edit:before { content: "\f044"; }
|
131 |
+
.font-share:before { content: "\f045"; }
|
132 |
+
.font-check:before { content: "\f046"; }
|
133 |
+
.font-move:before { content: "\f047"; }
|
134 |
+
.font-step-backward:before { content: "\f048"; }
|
135 |
+
.font-fast-backward:before { content: "\f049"; }
|
136 |
+
.font-backward:before { content: "\f04a"; }
|
137 |
+
.font-play:before { content: "\f04b"; }
|
138 |
+
.font-pause:before { content: "\f04c"; }
|
139 |
+
.font-stop:before { content: "\f04d"; }
|
140 |
+
.font-forward:before { content: "\f04e"; }
|
141 |
+
|
142 |
+
.font-fast-forward:before { content: "\f050"; }
|
143 |
+
.font-step-forward:before { content: "\f051"; }
|
144 |
+
.font-eject:before { content: "\f052"; }
|
145 |
+
.font-chevron-left:before { content: "\f053"; }
|
146 |
+
.font-chevron-right:before { content: "\f054"; }
|
147 |
+
.font-plus-sign:before { content: "\f055"; }
|
148 |
+
.font-minus-sign:before { content: "\f056"; }
|
149 |
+
.font-remove-sign:before { content: "\f057"; }
|
150 |
+
.font-ok-sign:before { content: "\f058"; }
|
151 |
+
.font-question-sign:before { content: "\f059"; }
|
152 |
+
.font-info-sign:before { content: "\f05a"; }
|
153 |
+
.font-screenshot:before { content: "\f05b"; }
|
154 |
+
.font-remove-circle:before { content: "\f05c"; }
|
155 |
+
.font-ok-circle:before { content: "\f05d"; }
|
156 |
+
.font-ban-circle:before { content: "\f05e"; }
|
157 |
+
|
158 |
+
.font-arrow-left:before { content: "\f060"; }
|
159 |
+
.font-arrow-right:before { content: "\f061"; }
|
160 |
+
.font-arrow-up:before { content: "\f062"; }
|
161 |
+
.font-arrow-down:before { content: "\f063"; }
|
162 |
+
.font-share-alt:before { content: "\f064"; }
|
163 |
+
.font-resize-full:before { content: "\f065"; }
|
164 |
+
.font-resize-small:before { content: "\f066"; }
|
165 |
+
.font-plus:before { content: "\f067"; }
|
166 |
+
.font-minus:before { content: "\f068"; }
|
167 |
+
.font-asterisk:before { content: "\f069"; }
|
168 |
+
.font-exclamation-sign:before { content: "\f06a"; }
|
169 |
+
.font-gift:before { content: "\f06b"; }
|
170 |
+
.font-leaf:before { content: "\f06c"; }
|
171 |
+
.font-fire:before { content: "\f06d"; }
|
172 |
+
.font-eye-open:before { content: "\f06e"; }
|
173 |
+
|
174 |
+
.font-eye-close:before { content: "\f070"; }
|
175 |
+
.font-warning-sign:before { content: "\f071"; }
|
176 |
+
.font-plane:before { content: "\f072"; }
|
177 |
+
.font-calendar:before { content: "\f073"; }
|
178 |
+
.font-random:before { content: "\f074"; }
|
179 |
+
.font-comment:before { content: "\f075"; }
|
180 |
+
.font-magnet:before { content: "\f076"; }
|
181 |
+
.font-chevron-up:before { content: "\f077"; }
|
182 |
+
.font-chevron-down:before { content: "\f078"; }
|
183 |
+
.font-retweet:before { content: "\f079"; }
|
184 |
+
.font-shopping-cart:before { content: "\f07a"; }
|
185 |
+
.font-folder-close:before { content: "\f07b"; }
|
186 |
+
.font-folder-open:before { content: "\f07c"; }
|
187 |
+
.font-resize-vertical:before { content: "\f07d"; }
|
188 |
+
.font-resize-horizontal:before { content: "\f07e"; }
|
189 |
+
|
190 |
+
.font-bar-chart:before { content: "\f080"; }
|
191 |
+
.font-twitter-sign:before { content: "\f081"; }
|
192 |
+
.font-facebook-sign:before { content: "\f082"; }
|
193 |
+
.font-camera-retro:before { content: "\f083"; }
|
194 |
+
.font-key:before { content: "\f084"; }
|
195 |
+
.font-cogs:before { content: "\f085"; }
|
196 |
+
.font-comments:before { content: "\f086"; }
|
197 |
+
.font-thumbs-up:before { content: "\f087"; }
|
198 |
+
.font-thumbs-down:before { content: "\f088"; }
|
199 |
+
.font-star-half:before { content: "\f089"; }
|
200 |
+
.font-heart-empty:before { content: "\f08a"; }
|
201 |
+
.font-signout:before { content: "\f08b"; }
|
202 |
+
.font-linkedin-sign:before { content: "\f08c"; }
|
203 |
+
.font-pushpin:before { content: "\f08d"; }
|
204 |
+
.font-external-link:before { content: "\f08e"; }
|
205 |
+
|
206 |
+
.font-signin:before { content: "\f090"; }
|
207 |
+
.font-trophy:before { content: "\f091"; }
|
208 |
+
.font-github-sign:before { content: "\f092"; }
|
209 |
+
.font-upload-alt:before { content: "\f093"; }
|
210 |
+
.font-lemon:before { content: "\f094"; }
|
211 |
+
.font-phone:before { content: "\f095"; }
|
212 |
+
.font-check-empty:before { content: "\f096"; }
|
213 |
+
.font-bookmark-empty:before { content: "\f097"; }
|
214 |
+
.font-phone-sign:before { content: "\f098"; }
|
215 |
+
.font-twitter:before { content: "\f099"; }
|
216 |
+
.font-facebook:before { content: "\f09a"; }
|
217 |
+
.font-github:before { content: "\f09b"; }
|
218 |
+
.font-unlock:before { content: "\f09c"; }
|
219 |
+
.font-credit-card:before { content: "\f09d"; }
|
220 |
+
.font-rss:before { content: "\f09e"; }
|
221 |
+
|
222 |
+
.font-hdd:before { content: "\f0a0"; }
|
223 |
+
.font-bullhorn:before { content: "\f0a1"; }
|
224 |
+
.font-bell:before { content: "\f0a2"; }
|
225 |
+
.font-certificate:before { content: "\f0a3"; }
|
226 |
+
.font-hand-right:before { content: "\f0a4"; }
|
227 |
+
.font-hand-left:before { content: "\f0a5"; }
|
228 |
+
.font-hand-up:before { content: "\f0a6"; }
|
229 |
+
.font-hand-down:before { content: "\f0a7"; }
|
230 |
+
.font-circle-arrow-left:before { content: "\f0a8"; }
|
231 |
+
.font-circle-arrow-right:before { content: "\f0a9"; }
|
232 |
+
.font-circle-arrow-up:before { content: "\f0aa"; }
|
233 |
+
.font-circle-arrow-down:before { content: "\f0ab"; }
|
234 |
+
.font-globe:before { content: "\f0ac"; }
|
235 |
+
.font-wrench:before { content: "\f0ad"; }
|
236 |
+
.font-tasks:before { content: "\f0ae"; }
|
237 |
+
|
238 |
+
.font-filter:before { content: "\f0b0"; }
|
239 |
+
.font-briefcase:before { content: "\f0b1"; }
|
240 |
+
.font-fullscreen:before { content: "\f0b2"; }
|
241 |
+
|
242 |
+
.font-group:before { content: "\f0c0"; }
|
243 |
+
.font-link:before { content: "\f0c1"; }
|
244 |
+
.font-cloud:before { content: "\f0c2"; }
|
245 |
+
.font-beaker:before { content: "\f0c3"; }
|
246 |
+
.font-cut:before { content: "\f0c4"; }
|
247 |
+
.font-copy:before { content: "\f0c5"; }
|
248 |
+
.font-paper-clip:before { content: "\f0c6"; }
|
249 |
+
.font-save:before { content: "\f0c7"; }
|
250 |
+
.font-sign-blank:before { content: "\f0c8"; }
|
251 |
+
.font-reorder:before { content: "\f0c9"; }
|
252 |
+
.font-list-ul:before { content: "\f0ca"; }
|
253 |
+
.font-list-ol:before { content: "\f0cb"; }
|
254 |
+
.font-strikethrough:before { content: "\f0cc"; }
|
255 |
+
.font-underline:before { content: "\f0cd"; }
|
256 |
+
.font-table:before { content: "\f0ce"; }
|
257 |
+
|
258 |
+
.font-magic:before { content: "\f0d0"; }
|
259 |
+
.font-truck:before { content: "\f0d1"; }
|
260 |
+
.font-pinterest:before { content: "\f0d2"; }
|
261 |
+
.font-pinterest-sign:before { content: "\f0d3"; }
|
262 |
+
.font-google-plus-sign:before { content: "\f0d4"; }
|
263 |
+
.font-google-plus:before { content: "\f0d5"; }
|
264 |
+
.font-money:before { content: "\f0d6"; }
|
265 |
+
.font-caret-down:before { content: "\f0d7"; }
|
266 |
+
.font-caret-up:before { content: "\f0d8"; }
|
267 |
+
.font-caret-left:before { content: "\f0d9"; }
|
268 |
+
.font-caret-right:before { content: "\f0da"; }
|
269 |
+
.font-columns:before { content: "\f0db"; }
|
270 |
+
.font-sort:before { content: "\f0dc"; }
|
271 |
+
.font-sort-down:before { content: "\f0dd"; }
|
272 |
+
.font-sort-up:before { content: "\f0de"; }
|
273 |
+
|
274 |
+
.font-envelope-alt:before { content: "\f0e0"; }
|
275 |
+
.font-linkedin:before { content: "\f0e1"; }
|
276 |
+
.font-undo:before { content: "\f0e2"; }
|
277 |
+
.font-legal:before { content: "\f0e3"; }
|
278 |
+
.font-dashboard:before { content: "\f0e4"; }
|
279 |
+
.font-comment-alt:before { content: "\f0e5"; }
|
280 |
+
.font-comments-alt:before { content: "\f0e6"; }
|
281 |
+
.font-bolt:before { content: "\f0e7"; }
|
282 |
+
.font-sitemap:before { content: "\f0e8"; }
|
283 |
+
.font-umbrella:before { content: "\f0e9"; }
|
284 |
+
.font-paste:before { content: "\f0ea"; }
|
285 |
+
|
286 |
+
.font-user-md:before { content: "\f200"; }
|
assets/css/font/fontawesome-webfont.eot
ADDED
Binary file
|
assets/css/font/fontawesome-webfont.svg
ADDED
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?>
|
2 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata></metadata>
|
5 |
+
<defs>
|
6 |
+
<font id="FontAwesomeRegular" horiz-adv-x="1843" >
|
7 |
+
<font-face units-per-em="2048" ascent="1536" descent="-512" />
|
8 |
+
<missing-glyph horiz-adv-x="512" />
|
9 |
+
<glyph horiz-adv-x="0" />
|
10 |
+
<glyph horiz-adv-x="0" />
|
11 |
+
<glyph unicode="
" horiz-adv-x="512" />
|
12 |
+
<glyph unicode=" " horiz-adv-x="512" />
|
13 |
+
<glyph unicode="	" horiz-adv-x="512" />
|
14 |
+
<glyph unicode=" " horiz-adv-x="512" />
|
15 |
+
<glyph unicode="o" horiz-adv-x="1591" />
|
16 |
+
<glyph unicode="¨" horiz-adv-x="2048" />
|
17 |
+
<glyph unicode="©" horiz-adv-x="2048" />
|
18 |
+
<glyph unicode="®" horiz-adv-x="2048" />
|
19 |
+
<glyph unicode="´" horiz-adv-x="2048" />
|
20 |
+
<glyph unicode="Æ" horiz-adv-x="2048" />
|
21 |
+
<glyph unicode="Í" horiz-adv-x="2048" />
|
22 |
+
<glyph unicode=" " horiz-adv-x="784" />
|
23 |
+
<glyph unicode=" " horiz-adv-x="1569" />
|
24 |
+
<glyph unicode=" " horiz-adv-x="784" />
|
25 |
+
<glyph unicode=" " horiz-adv-x="1569" />
|
26 |
+
<glyph unicode=" " horiz-adv-x="523" />
|
27 |
+
<glyph unicode=" " horiz-adv-x="392" />
|
28 |
+
<glyph unicode=" " horiz-adv-x="261" />
|
29 |
+
<glyph unicode=" " horiz-adv-x="261" />
|
30 |
+
<glyph unicode=" " horiz-adv-x="196" />
|
31 |
+
<glyph unicode=" " horiz-adv-x="313" />
|
32 |
+
<glyph unicode=" " horiz-adv-x="87" />
|
33 |
+
<glyph unicode=" " horiz-adv-x="313" />
|
34 |
+
<glyph unicode="›" horiz-adv-x="2048" />
|
35 |
+
<glyph unicode=" " horiz-adv-x="392" />
|
36 |
+
<glyph unicode="™" horiz-adv-x="2048" />
|
37 |
+
<glyph unicode="∞" horiz-adv-x="2048" />
|
38 |
+
<glyph unicode="" horiz-adv-x="1024" d="M0 0z" />
|
39 |
+
<glyph unicode="" horiz-adv-x="1536" d="M6 1489q20 47 70 47h1382q51 0 72 -47q20 -47 -17 -84l-610 -610v-641h248q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5q0 31 22.5 53.5t53.5 22.5h250v641l-610 610q-37 37 -17 84z" />
|
40 |
+
<glyph unicode="" horiz-adv-x="1488" d="M0 213q0 57 27.5 103t72.5 77t98.5 47.5t106.5 16.5q25 0 50.5 -4t50.5 -11v779q0 27 16 48t43 29q23 6 99.5 29t178 52.5t215 62.5t211 60.5t164 46t74.5 18.5q35 0 58.5 -23.5t23.5 -58.5v-1028q0 -59 -27.5 -104.5t-73 -76t-99.5 -47t-105 -16.5t-105.5 16.5t-98.5 47 t-71.5 75.5t-27.5 105q0 57 27.5 103t71.5 77t98.5 47t105.5 16q27 0 52.5 -4t49.5 -10v537l-678 -195v-815q0 -59 -27.5 -104.5t-71.5 -76t-98.5 -47t-105.5 -16.5q-53 0 -106.5 16.5t-98.5 47t-72.5 76t-27.5 104.5z" />
|
41 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 257.5 -52.5t212 -143.5t143.5 -212t52 -258q0 -98 -28.5 -191.5t-81.5 -174.5l358 -359q18 -18 18 -47q0 -16 -18 -43t-45 -53.5t-53.5 -45t-42.5 -18.5q-29 0 -47 19l-359 358q-82 -53 -175 -81.5t-191 -28.5 q-137 0 -258 52t-212.5 143t-143.5 212t-52 258zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t154.5 31.5t126.5 85t86 126t32 156.5q0 82 -32 154.5t-86 127t-126.5 86t-154.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM414 901q0 51 19.5 97t54 81t80 54.5 t98.5 19.5q20 0 34.5 -14.5t14.5 -36.5q0 -20 -14.5 -34.5t-34.5 -14.5q-63 0 -107.5 -44t-44.5 -108q0 -20 -14.5 -34.5t-34.5 -14.5q-23 0 -37 14.5t-14 34.5z" />
|
42 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v852q-31 -31 -58 -50q-106 -80 -212.5 -159.5t-211.5 -163.5q-61 -49 -131.5 -94t-156.5 -45q-82 0 -153 45t-132 94 q-104 84 -211 164t-213 159q-27 18 -57 50v-852zM154 1317q0 -31 14 -65.5t35.5 -66.5t47 -59.5t50.5 -46.5q100 -76 199.5 -150.5t199.5 -152.5q20 -16 48 -37.5t58 -42t59.5 -35t54.5 -14.5h2h2q25 0 54.5 14.5t59 35t57 42t48.5 37.5q100 78 199.5 153t199.5 150 q25 18 50.5 46t47 60t36 66.5t14.5 65.5v65h-1536v-65z" />
|
43 |
+
<glyph unicode="" horiz-adv-x="1802" d="M0 1073q0 113 34 205t97.5 155.5t153.5 98.5t202 35q59 0 117 -18.5t110 -48.5t99 -68.5t88 -77.5q39 39 87 77.5t100.5 68.5t109 48.5t115.5 18.5q113 0 204 -35t154.5 -98.5t97 -155.5t33.5 -205q0 -66 -18.5 -130t-51 -124.5t-74.5 -115t-87 -99.5l-615 -612 q-23 -23 -55 -23q-31 0 -57 23l-615 614q-45 45 -87 99.5t-73.5 114t-50 124t-18.5 129.5z" />
|
44 |
+
<glyph unicode="" horiz-adv-x="1675" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q20 41 49 41t50 -41l227 -459l506 -74q45 -6 54 -33.5t-23 -60.5l-367 -356l86 -504q8 -45 -15.5 -62.5t-64.5 5.5l-452 237l-453 -237q-41 -23 -64.5 -5.5t-15.5 62.5l86 504l-364 356q-35 33 -26 60.5z" />
|
45 |
+
<glyph unicode="" horiz-adv-x="1675" d="M0 948q0 23 18.5 32t36.5 13l506 74l227 459q6 14 20 27.5t30 13.5q18 0 30.5 -13.5t18.5 -27.5l227 -459l506 -74q18 -4 36.5 -13t18.5 -32q0 -14 -7 -26.5t-17 -22.5l-367 -356l86 -504q0 -4 1 -9t1 -12q0 -20 -9 -34.5t-32 -14.5t-41 13l-452 237l-453 -237 q-18 -12 -39 -13q-23 0 -33 14.5t-10 34.5q0 6 1 11.5t1 9.5l86 504l-364 356q-10 10 -18.5 22.5t-8.5 26.5zM289 866l274 -268l-65 -377l340 178l340 -178l-66 377l274 268l-378 56l-170 344l-170 -344z" />
|
46 |
+
<glyph unicode="" horiz-adv-x="1566" d="M0 57v387q0 37 18.5 82t48 86t65.5 74t71 43q18 6 66 13.5t102.5 14.5t104.5 13t77 10q-92 59 -144.5 153.5t-52.5 205.5q0 88 34 165.5t91.5 136t135 92.5t165.5 34t166 -34t136.5 -92.5t92 -136t33.5 -165.5q0 -109 -52 -204.5t-144 -154.5q27 -4 77 -10t104 -13 t101 -14.5t68 -13.5q35 -10 70.5 -42t65.5 -74t48.5 -87t18.5 -82v-387q-10 -4 -22.5 -14t-27 -19.5t-27.5 -16.5t-22 -7h-1370q-35 0 -53 21.5t-45 35.5z" />
|
47 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM115 154q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM115 512 q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM115 870q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11.5t11.5 27.5v154q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11.5t-11.5 -27.5v-154z M115 1229q0 -16 11 -27.5t28 -11.5h153q16 0 27.5 11t11.5 28v153q0 16 -11 27.5t-28 11.5h-153q-16 0 -27.5 -11t-11.5 -28v-153zM461 154q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11t11.5 28v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11.5t-11.5 -27.5v-512z M461 870q0 -16 11 -27.5t28 -11.5h843q16 0 27.5 11.5t11.5 27.5v512q0 16 -11 27.5t-28 11.5h-843q-16 0 -27.5 -11t-11.5 -28v-512zM1497 154q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153 zM1497 512q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 870q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11.5t11.5 27.5v154q0 16 -11.5 27.5t-27.5 11.5h-154 q-16 0 -27.5 -11.5t-11.5 -27.5v-154zM1497 1229q0 -16 11.5 -27.5t27.5 -11.5h154q16 0 27.5 11t11.5 28v153q0 16 -11.5 27.5t-27.5 11.5h-154q-16 0 -27.5 -11t-11.5 -28v-153z" />
|
48 |
+
<glyph unicode="" d="M0 78v536q0 33 22.5 55.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-55.5 -22.5h-690q-33 0 -55.5 22.5t-22.5 55.5zM0 922v538q0 31 22.5 53.5t55.5 22.5h690q33 0 55.5 -22.5t22.5 -53.5v-538q0 -33 -22.5 -54.5t-55.5 -21.5h-690 q-33 0 -55.5 21.5t-22.5 54.5zM999 78v536q0 33 21.5 55.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-536q0 -33 -22.5 -55.5t-53.5 -22.5h-692q-33 0 -54.5 22.5t-21.5 55.5zM999 922v538q0 31 21.5 53.5t54.5 22.5h692q31 0 53.5 -22.5t22.5 -53.5v-538 q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-33 0 -54.5 21.5t-21.5 54.5z" />
|
49 |
+
<glyph unicode="" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM666 78v270q0 33 22.5 54.5t54.5 21.5h359q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-359q-33 0 -55 22.5t-22 55.5zM666 655v226q0 33 22.5 54t54.5 21h359q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-359q-33 0 -55 22.5t-22 54.5zM666 1188v272q0 31 22.5 53.5t54.5 22.5h359q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5 t-53.5 -22.5h-359q-33 0 -55 22.5t-22 55.5zM1331 78v270q0 33 22.5 54.5t55.5 21.5h358q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5zM1331 655v226q0 33 22.5 54t55.5 21h358q31 0 53.5 -21.5t22.5 -53.5v-226 q0 -33 -22.5 -55t-53.5 -22h-358q-33 0 -55.5 22.5t-22.5 54.5zM1331 1188v272q0 31 22.5 53.5t55.5 22.5h358q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-358q-33 0 -55.5 22.5t-22.5 55.5z" />
|
50 |
+
<glyph unicode="" d="M0 78v270q0 33 22.5 54.5t55.5 21.5h297q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM0 655v226q0 33 22.5 54t55.5 21h297q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-297q-33 0 -55.5 22.5 t-22.5 54.5zM0 1188v272q0 31 22.5 53.5t55.5 22.5h297q31 0 53.5 -22.5t22.5 -53.5v-272q0 -33 -22.5 -55.5t-53.5 -22.5h-297q-33 0 -55.5 22.5t-22.5 55.5zM604 78v270q0 33 22.5 54.5t55.5 21.5h1085q31 0 53.5 -21.5t22.5 -54.5v-270q0 -33 -22.5 -55.5t-53.5 -22.5 h-1085q-33 0 -55.5 22.5t-22.5 55.5zM604 655v226q0 33 22.5 54t55.5 21h1085q31 0 53.5 -21.5t22.5 -53.5v-226q0 -33 -22.5 -55t-53.5 -22h-1085q-33 0 -55.5 22.5t-22.5 54.5zM604 1188v272q0 31 22.5 53.5t55.5 22.5h1085q31 0 53.5 -22.5t22.5 -53.5v-272 q0 -33 -22.5 -55.5t-53.5 -22.5h-1085q-33 0 -55.5 22.5t-22.5 55.5z" />
|
51 |
+
<glyph unicode="" d="M0 732.5q0 33.5 23 55.5l174 175q23 23 56.5 22.5t55.5 -22.5l365 -365q23 -23 56.5 -23t55.5 23l746 745q23 23 56.5 23t56.5 -23l174 -174q23 -23 22.5 -56.5t-22.5 -55.5l-910 -910q-23 -23 -62.5 -39t-72.5 -16h-88q-35 0 -75 16.5t-62 38.5l-526 529 q-23 23 -23 56.5z" />
|
52 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 192.5q0 38.5 29 67.5l508 510l-508 500q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t67 -29l504 -504l504 504q29 29 67.5 29t67.5 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-67 29l-504 505 l-506 -505q-29 -29 -66.5 -29t-66.5 29l-100 100q-29 29 -29 67.5z" />
|
53 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h168v168q0 33 33 32h65 q14 0 24.5 -9t10.5 -23v-168h166q33 0 33 -33v-66q0 -14 -9.5 -24t-23.5 -10h-166v-166q0 -14 -10 -23.5t-25 -9.5h-65q-33 0 -33 33v166h-168q-14 0 -23.5 10t-9.5 24z" />
|
54 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 901q0 137 52 258t143.5 212t212 143.5t258.5 52.5q137 0 259 -52.5t212 -143.5t142 -212t52 -258q0 -102 -28.5 -195.5t-81.5 -170.5l358 -359q18 -18 18 -46t-18 -48l-94 -94q-20 -18 -48 -18.5t-46 18.5l-359 358q-78 -53 -171 -81.5t-195 -28.5q-137 0 -258 52 t-212.5 142t-143.5 211t-52 260zM266 901q0 -84 32 -156.5t86 -126t127 -85t155 -31.5t155.5 31.5t126.5 85t85 126t32 156.5q0 82 -32 154.5t-85 127t-126.5 86t-155.5 31.5t-155 -31.5t-127 -86t-86 -127t-32 -154.5zM399 868v66q0 33 33 33h467q33 0 33 -33v-66 q0 -14 -9.5 -24t-23.5 -10h-467q-14 0 -23.5 10t-9.5 24z" />
|
55 |
+
<glyph unicode="" horiz-adv-x="1488" d="M0 713q0 186 86 349t240 267q12 10 28 6q18 -4 25 -16l90 -131q10 -12 6 -27.5t-16 -25.5q-106 -72 -164.5 -182.5t-58.5 -239.5q0 -104 39.5 -197.5t108.5 -162t162 -108.5t197 -40t197.5 40t163.5 108.5t109.5 161.5t39.5 198q0 129 -59 239.5t-164 182.5 q-14 10 -16 24q-4 16 6 29l88 131q10 12 25.5 15t29.5 -5q154 -104 240 -267t86 -349q0 -154 -58.5 -289t-160 -236.5t-237.5 -160t-290 -58.5t-289 58.5t-236 160t-159.5 236.5t-58.5 289zM627 793v704q0 16 11 27.5t28 11.5h157q16 0 27.5 -11.5t11.5 -27.5v-704 q0 -16 -11 -27.5t-28 -11.5h-157q-16 0 -27.5 11t-11.5 28z" />
|
56 |
+
<glyph unicode="" d="M0 39v260q0 16 11.5 27.5t27.5 11.5h192q16 0 26.5 -11.5t10.5 -27.5v-260q0 -16 -10 -27.5t-27 -11.5h-192q-39 0 -39 39zM393 39v434q0 16 11.5 27.5t27.5 11.5h193q16 0 26.5 -11.5t10.5 -27.5v-434q0 -16 -10.5 -27.5t-26.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5z M786 39v676q0 16 11.5 27.5t27.5 11.5h193q16 0 27.5 -11.5t11.5 -27.5v-676q0 -16 -11.5 -27.5t-27.5 -11.5h-193q-16 0 -27.5 11.5t-11.5 27.5zM1182 39v995q0 16 10 27.5t27 11.5h192q16 0 27.5 -11t11.5 -28v-995q0 -16 -11.5 -27.5t-27.5 -11.5h-192q-16 0 -26.5 11.5 t-10.5 27.5zM1575 39v1458q0 39 39 39h190q39 0 39 -39v-1458q0 -39 -39 -39h-190q-39 0 -39 39z" />
|
57 |
+
<glyph unicode="" horiz-adv-x="1593" d="M0 651v236q0 12 30.5 21.5t68.5 15.5t74 9t48 5q18 61 49 117q-55 82 -120 157l-7 15q0 8 28 38.5t62.5 65.5t66.5 62.5t40 27.5q2 0 26.5 -18.5t54.5 -41t56.5 -43t32.5 -24.5q29 16 58.5 26.5t60.5 20.5q0 12 3 49t9 75t15.5 69t21.5 31h237q14 0 19 -15 q12 -49 17 -103t14 -106q31 -8 59.5 -19t56.5 -28q8 6 34 26.5t55.5 43t53 40t29.5 17.5t37 -27.5t65 -62.5t61.5 -65.5t27.5 -38.5q0 -4 -17.5 -28.5t-39 -53.5t-42 -55.5t-24.5 -32.5q33 -55 51 -123q49 -10 103.5 -13t101.5 -20q16 -4 16 -18v-236q0 -12 -29.5 -21.5 t-68.5 -15.5t-76 -9t-49 -5q-14 -57 -47 -117q55 -82 121 -157l6 -15q0 -8 -27.5 -38.5t-62.5 -65.5t-66.5 -62.5t-40.5 -27.5q-2 0 -26.5 18.5t-54 41t-56 43t-33.5 24.5q-29 -16 -58.5 -27.5t-59.5 -19.5q-2 -12 -5.5 -49.5t-9.5 -76t-14 -69.5t-21 -31h-237q-14 0 -19 17 q-14 49 -19 103t-11 103q-61 18 -117 50q-41 -31 -81 -60.5t-79 -62.5l-12 -4q-6 0 -37 27.5t-64.5 62.5t-61 65.5t-27.5 38.5q0 2 16 26.5t37.5 53.5t42 55.5t26.5 34.5q-33 55 -51 123q-51 10 -104.5 13t-100.5 20q-16 4 -16 18zM557 768q0 -49 18.5 -93t51 -77t77 -52.5 t93.5 -19.5t93 19.5t75.5 52.5t51 77t19.5 93t-19.5 92t-51 76t-75.5 51.5t-93 18.5t-93.5 -18.5t-77 -51.5t-51 -76t-18.5 -92z" />
|
58 |
+
<glyph unicode="" horiz-adv-x="1304" d="M0 1175.5v34.5v36t2 36q25 14 71 23.5t98 15.5t102.5 9t78.5 5q-8 82 11.5 128t59.5 68.5t98.5 29t131.5 6.5q55 0 109.5 -3t97.5 -20.5t68.5 -54.5t25.5 -105v-24t-2 -25q29 -2 79 -5t102.5 -9t99.5 -15.5t72 -23.5v-72v-69q-37 -20 -123 -32.5t-185.5 -19t-193.5 -7.5 t-150 -1q-55 0 -150 1t-194.5 7.5t-184.5 18.5t-122 33q-2 16 -2 34.5zM133 154v837q123 -16 244 -21t244 -5h32q129 2 258 6t258 20v-837q0 -63 -44 -108.5t-107 -45.5h-731q-63 0 -108.5 45t-45.5 109zM303 199q0 -16 10.5 -26.5t26.5 -10.5h39q16 0 27.5 10t11.5 27v614 q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM504 1384q0 -10 1 -22t3 -23q144 2 291 0q0 12 2 23.5t0 21.5v15q-35 10 -74 11t-74 1q-37 0 -75.5 -1t-73.5 -11v-15zM596 199q0 -16 10 -26.5t27 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5 t-27.5 11.5h-39q-16 0 -26.5 -11.5t-10.5 -27.5v-614zM887 199q0 -16 11 -26.5t28 -10.5h39q16 0 27.5 10t11.5 27v614q0 16 -11.5 27.5t-27.5 11.5h-39q-16 0 -27.5 -11.5t-11.5 -27.5v-614z" />
|
59 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 809.5q2 15.5 14 26.5l867 710q27 20 59 21q33 0 59 -21l240 -196v102q0 16 11.5 27.5t27.5 11.5h223q16 0 26.5 -11.5t10.5 -27.5v-348l328 -268q12 -10 14 -25.5t-8 -28.5l-45 -53q-10 -14 -29 -14h-65q-16 0 -25 8l-743 608q-25 20 -50 0l-743 -608q-8 -8 -25 -8 h-65q-18 0 -29 14l-45 53q-10 12 -8 27.5zM266 76v622l674 553l674 -553v-622q0 -33 -21.5 -54.5t-54.5 -21.5h-422v498h-352v-498h-422q-33 0 -54.5 21.5t-21.5 54.5z" />
|
60 |
+
<glyph unicode="" horiz-adv-x="1228" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h614q33 0 71 -16.5t60 -38.5l351 -351q23 -23 39 -60.5t16 -70.5v-921q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM154 154h921v692h-459q-31 0 -53 22.5t-22 55.5v458h-387v-1228zM268 326v116h693v-116 h-693zM268 596v115h693v-115h-693zM694 999h381q0 4 -4 13.5t-6 11.5l-350 348q-2 4 -9.5 6t-11.5 4v-383z" />
|
61 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM635 608v465q0 33 23.5 56.5t56.5 23.5h80q35 0 57 -23.5t22 -56.5v-305h201q33 0 56.5 -23.5t23.5 -56.5v-80q0 -33 -23.5 -56.5t-56.5 -23.5h-360q-33 0 -56.5 23.5 t-23.5 56.5z" />
|
62 |
+
<glyph unicode="" d="M2 35l594 1466q6 14 21.5 24.5t31.5 10.5h195l-8 -170h172l-9 170h195q16 0 31.5 -10t21.5 -25l594 -1466q6 -14 -1 -24.5t-23 -10.5h-740l-26 512h-258l-27 -512h-739q-16 0 -23.5 10t-1.5 25zM807 797h229l-20 413h-189z" />
|
63 |
+
<glyph unicode="" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM345.5 944.5q6.5 16.5 39.5 16.5h307v499q0 31 21.5 53.5t54.5 22.5h307q33 0 55.5 -22.5 t22.5 -53.5v-499h307q31 0 37 -16.5t-16 -39.5l-504 -506q-23 -23 -55.5 -22.5t-55.5 22.5l-504 506q-23 23 -16.5 39.5z" />
|
64 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 743q10 25 37 25h208v358q0 16 11.5 28.5t27.5 12.5h201q16 0 27.5 -12t11.5 -29v-358h209q27 0 37 -25t-10 -43l-347 -346q-14 -10 -28 -10t-29 10l-346 346 q-20 18 -10 43z" />
|
65 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177 120t-218 44t-218.5 -44t-177 -120t-119.5 -177t-44 -218zM414 793q-10 25 10 43l346 346q14 10 29 10q14 0 28 -10l347 -346q20 -18 10 -43t-37 -25h-209v-360q0 -16 -11.5 -27.5t-27.5 -11.5h-201q-16 0 -27.5 11t-11.5 28v360h-208 q-27 0 -37 25z" />
|
66 |
+
<glyph unicode="" d="M0 78v577q0 33 9 76t22 72l284 663q12 29 44 49.5t63 20.5h999q31 0 63 -20.5t44 -49.5l284 -663q12 -29 21.5 -72t9.5 -76v-577q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM238 694h387l114 -231h383l117 231h367q-2 4 -2 9.5t-2 9.5l-256 594 h-848l-256 -596q-2 -2 -2 -7.5t-2 -9.5z" />
|
67 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM582 453v628q0 18 16 29q20 8 31 0l545 -315q16 -6 16 -27q0 -20 -16 -27l-545 -315q-8 -4 -15 -4q-8 0 -16 4q-16 10 -16 27z" />
|
68 |
+
<glyph unicode="" horiz-adv-x="1591" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5q141 0 271 -48.5t239 -140.5l161 162q35 35 58.5 24.5t23.5 -57.5v-463q0 -33 -22 -55q-10 -10 -23.5 -16t-29.5 -6h-463q-47 0 -58.5 23.5t23.5 58.5l160 159q-72 57 -159 88t-181 31q-117 0 -218.5 -44t-177 -120 t-119.5 -177t-44 -218t44 -218t119.5 -177t177 -120t218.5 -44q104 0 198.5 37t169 101.5t123.5 153.5t64 191q0 16 14 27q14 10 31 8l157 -20q16 -4 26.5 -16.5t8.5 -28.5q-20 -147 -89.5 -274.5t-176 -220.5t-242 -145.5t-284.5 -52.5q-166 0 -311.5 62.5t-254 171 t-171 254t-62.5 311.5z" />
|
69 |
+
<glyph unicode="" horiz-adv-x="1916" d="M6 311l150 437q10 33 39 45t59 4l438 -150q45 -16 46 -40.5t-42 -47.5l-202 -100q53 -78 123.5 -134.5t160.5 -86.5q111 -37 221.5 -28t207 56t170 129t110.5 193q6 16 20.5 22t30.5 2l152 -51q16 -6 23 -20.5t1 -30.5q-53 -158 -159.5 -274.5t-243.5 -184t-296 -81 t-315 39.5q-135 47 -241.5 134t-179.5 208l-205 -100q-43 -23 -63.5 -5.5t-4.5 64.5zM203 1024q53 156 159.5 273.5t243.5 185t295 81t316 -39.5q133 -47 240.5 -134t180.5 -208l205 100q43 23 63.5 5.5t4.5 -62.5l-150 -439q-10 -33 -39 -45t-59 -4l-438 150 q-45 16 -46 40.5t40 47.5l202 100q-51 78 -122.5 134.5t-159.5 86.5q-111 37 -221.5 28t-207 -56t-170 -129t-110.5 -193q-6 -16 -20.5 -22t-30.5 -2l-152 51q-16 6 -23 20.5t-1 30.5z" />
|
70 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1075h-1536v-1075zM307 346v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39 zM307 653v76q0 39 39 39h154q16 0 27.5 -11.5t11.5 -27.5v-76q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM307 961v75q0 39 39 39h154q16 0 27.5 -11t11.5 -28v-75q0 -16 -11.5 -27.5t-27.5 -11.5h-154q-39 0 -39 39zM692 346v76q0 16 10.5 27.5t26.5 11.5h768 q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 653v76q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-76q0 -39 -39 -39h-768q-16 0 -26.5 11.5t-10.5 27.5zM692 961v75q0 16 10.5 27.5t26.5 11.5h768q39 0 39 -39v-75q0 -39 -39 -39h-768 q-16 0 -26.5 11t-10.5 28z" />
|
71 |
+
<glyph unicode="" horiz-adv-x="1253" d="M0 117v626q0 39 21.5 69t56.5 42v164q0 113 43 213t117.5 175t175 118t213.5 43t213 -43t175 -118t118 -175.5t43 -212.5v-164q35 -12 56 -42t21 -69v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM313 862h627v156q0 66 -24.5 123t-67.5 99t-100.5 66.5 t-120.5 24.5q-66 0 -122 -24.5t-99.5 -66.5t-68 -99.5t-24.5 -122.5v-156zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
|
72 |
+
<glyph unicode="" d="M0 1382q0 63 45 108.5t109 45.5q63 0 108 -45.5t45 -108.5q0 -41 -20.5 -74.5t-55.5 -56.5v-1212q0 -16 -11 -27.5t-27 -11.5h-78q-16 0 -26.5 11.5t-10.5 27.5v1212q-35 23 -56.5 56.5t-21.5 74.5zM307 416v745q0 33 19.5 66t48.5 49q104 55 188 86t144 45q70 16 124 18 q68 0 124.5 -11t107.5 -29.5t99 -43t100 -51.5q63 -29 145 -33q70 -4 164 15.5t207 87.5q29 16 47 6t18 -43v-748q0 -31 -18.5 -64.5t-46.5 -49.5q-113 -68 -207 -87.5t-164 -15.5q-82 4 -145 33q-51 27 -99.5 51.5t-99.5 43t-107.5 29.5t-124.5 11q-55 -2 -124 -18 q-59 -14 -143.5 -45t-188.5 -88q-29 -16 -48.5 -4t-19.5 45z" />
|
73 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 729q0 172 85 324.5t221 266.5t307 180.5t345 66.5t345.5 -66.5t307.5 -180.5t221 -266.5t85 -326.5q0 -182 -78 -350l-27 -60l-174 -26q-27 -104 -110.5 -173t-196.5 -69v-41q0 -16 -12 -27.5t-29 -11.5h-80q-16 0 -27.5 11.5t-11.5 27.5v719q0 16 11.5 28.5 t27.5 12.5h80q16 0 28.5 -12.5t12.5 -28.5v-39q88 0 161 -44t114 -116l39 7q33 90 32 192q0 125 -65.5 233.5t-170 190.5t-232.5 129t-251 47t-250.5 -47t-232 -128t-170 -190.5t-65.5 -232.5q0 -104 32 -194l39 -7q41 72 114 116t161 44v39q0 16 12 28.5t29 12.5h80 q16 0 27 -12.5t11 -28.5v-719q0 -16 -11 -27.5t-27 -11.5h-80q-16 0 -28.5 11.5t-12.5 27.5v41q-55 0 -106.5 18.5t-91.5 50.5t-68.5 76t-40.5 97l-175 26l-26 60q-78 168 -78 352z" />
|
74 |
+
<glyph unicode="" horiz-adv-x="905" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28z" />
|
75 |
+
<glyph unicode="" horiz-adv-x="1277" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48z" />
|
76 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 578v380q0 16 11.5 27.5t27.5 11.5h420l325 326q49 51 84 37t35 -86v-1012q0 -72 -34.5 -86t-84.5 37l-325 326h-420q-16 0 -27.5 11t-11.5 28zM1027 406q-9 32 7 61q84 145 84 301t-84 301q-16 29 -7 61t38 48t60.5 8t48.5 -37q104 -182 104 -381q0 -201 -104 -381 q-23 -41 -70 -41q-20 0 -39 12q-29 16 -38 48zM1285 219q-7 33 11 62q141 225 142 487q0 262 -142 487q-18 29 -11 62t36 49q29 18 61 11t50 -36q82 -131 123.5 -275t41.5 -298q0 -309 -167 -573q-10 -18 -29 -27.5t-37 -9.5q-25 0 -43 12q-29 16 -36 49zM1540 33 q-6 33 12 59q100 154 152.5 325t52.5 351t-52 351t-153 323q-18 29 -12 61.5t35 50.5q29 16 61 10.5t50 -32.5q115 -174 173 -366.5t58 -397.5t-58.5 -397.5t-172.5 -364.5q-10 -18 -29 -27.5t-37 -9.5q-25 0 -45 13q-29 18 -35 51z" />
|
77 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 0v698h698v-698h-698zM0 838v698h698v-698h-698zM139 139h420v420h-420v-420zM139 977h420v420h-420v-420zM279 279v141h141v-141h-141zM279 1116v139h141v-139h-141zM838 0v698h417v-139h142v139h139v-419h-420v139h-139v-418h-139zM838 838v698h698v-698h-698z M977 977h420v420h-420v-420zM1116 0v139h139v-139h-139zM1116 1116v139h139v-139h-139zM1397 0v139h139v-139h-139z" />
|
78 |
+
<glyph unicode="" d="M0 0v1536h154v-1536h-154zM227 0v1536h37v-1536h-37zM356 0v1536h117v-1536h-117zM545 0v1536h78v-1536h-78zM715 0v1536h76v-1536h-76zM903 0v1536h37v-1536h-37zM1014 0v1536h153v-1536h-153zM1221 0v1536h77v-1536h-77zM1409 0v1536h39v-1536h-39zM1579 0v1536h37 v-1536h-37zM1690 0v1536h153v-1536h-153z" />
|
79 |
+
<glyph unicode="" horiz-adv-x="1488" d="M0 961v454q0 49 35 85t86 36h454q51 0 113 -24.5t94 -61.5l672 -748q33 -39 34 -88t-34 -84l-526 -526q-35 -35 -86 -36t-86 36l-670 750q-35 37 -60.5 96t-25.5 111zM197 1223q0 -49 33.5 -83t82.5 -34t83 34t34 83t-34 82.5t-83 33.5t-82.5 -33.5t-33.5 -82.5z" />
|
80 |
+
<glyph unicode="" horiz-adv-x="1875" d="M0 961v454q0 49 35 85t86 36h454q25 0 53.5 -6t57.5 -18.5t54.5 -28t41.5 -33.5l670 -748q33 -37 34 -86t-34 -84l-526 -524q-35 -35 -86.5 -37t-83.5 37l-670 746q-35 39 -60.5 98t-25.5 109zM195 1223q0 -47 34.5 -82t83.5 -35q47 0 82 35t35 82q0 49 -35 83.5 t-82 34.5q-49 0 -83.5 -34.5t-34.5 -83.5zM791 1534h174q51 0 112.5 -24.5t93.5 -61.5l670 -748q35 -37 35 -87t-35 -85l-524 -524q-35 -35 -86 -36t-86 36l-12 14l514 514q35 35 34.5 84.5t-34.5 85.5l-670 748q-31 35 -84 56.5t-102 27.5z" />
|
81 |
+
<glyph unicode="" horiz-adv-x="1710" d="M10 311q2 16 4 31.5t4 34.5q0 10 -4 20.5t-2 20.5q2 16 15.5 31.5t25.5 35.5q23 37 45.5 90.5t32.5 92.5q4 16 -1 30.5t-1 26.5q4 16 16.5 27.5t20.5 23.5q10 18 21.5 42t21.5 49.5t16 50t8 40.5t-2 33t0 29q6 16 20.5 26.5t24.5 24.5q10 12 21.5 34.5t23 49.5t19.5 52.5 t10 45.5q2 12 -4 24.5t-2 27.5q4 14 18.5 29.5t26.5 31.5q16 25 28.5 58.5t30 61t46 43t77.5 1.5l-2 -4q31 10 54 10h780q78 0 119 -57q41 -53 18 -129l-283 -906q-18 -63 -77.5 -107t-126.5 -44h-893q-10 0 -20.5 -2t-18.5 -12q-12 -20 0 -56q16 -43 60 -75.5t87 -32.5h946 q29 0 57.5 21.5t37.5 47.5l309 987q4 16 5 29.5t-1 28.5q41 -14 61 -43q41 -53 19 -129l-283 -905q-18 -66 -77.5 -109t-127.5 -43h-946q-41 0 -79.5 14.5t-73.5 39t-61.5 58t-41.5 72.5q-25 68 -2 127zM500 961q-10 -39 26 -39h615q16 0 30.5 11t18.5 28l24 75 q4 16 -3 27.5t-23 11.5h-615q-16 0 -31.5 -11t-19.5 -28zM569 1190q-4 -16 3.5 -26.5t23.5 -10.5h614q16 0 30.5 10.5t21.5 26.5l22 78q4 16 -3 27.5t-24 11.5h-614q-16 0 -30.5 -11.5t-20.5 -27.5z" />
|
82 |
+
<glyph unicode="" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81z" />
|
83 |
+
<glyph unicode="" d="M0 39v346q0 47 18.5 89t50 73t73.5 49t89 18h1383q47 0 89 -18t72.5 -49t49 -73t18.5 -89v-346q0 -39 -39 -39h-1765q-39 0 -39 39zM268 193q0 -16 11.5 -26.5t27.5 -10.5h1229q16 0 27.5 10t11.5 27v38q0 16 -11.5 27.5t-27.5 11.5h-1229q-16 0 -27.5 -11t-11.5 -28v-38 zM307 729v731q0 31 22.5 53.5t55.5 22.5h651v-383q0 -49 34 -83t81 -34h385v-307h-1229zM1151 1153v383l385 -383h-385z" />
|
84 |
+
<glyph unicode="" d="M0 115v1075q0 47 34 82t81 35h366l58 125q18 43 66 73.5t95 30.5h443q47 0 95 -30.5t67 -73.5l57 -125h367q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM442 653q0 -100 38 -187t102.5 -152.5t153 -103.5t186.5 -38t186 38 t152.5 103.5t102.5 152.5t38 187q0 98 -38 186.5t-102.5 153t-152.5 102.5t-186 38t-186.5 -38t-153 -102.5t-102.5 -152.5t-38 -187zM596 653q0 68 25.5 127.5t69.5 103.5t103.5 69.5t127.5 25.5t127 -25.5t103 -69.5t69.5 -103.5t25.5 -127.5t-25.5 -127t-69.5 -104 t-103.5 -70.5t-126.5 -25.5q-68 0 -127.5 25.5t-103.5 70.5t-69.5 104.5t-25.5 126.5z" />
|
85 |
+
<glyph unicode="" horiz-adv-x="1644" d="M0 0l2 80q10 4 29.5 8t48.5 8q92 18 108 33q16 10 50 68l233 614l277 725h73h53l11 -20l202 -482q33 -78 64 -151.5t59 -145.5q29 -72 52.5 -130t42.5 -103q12 -29 28.5 -70t36.5 -94q23 -66 64 -150q25 -49 34 -57q20 -18 68 -24q25 -2 49.5 -9.5t52.5 -17.5 q6 -37 7 -55v-10.5t-3 -16.5q-43 0 -90 2t-98 6q-53 4 -99 6t-87 2h-80t-53 -2l-199 -10l-57 -2q0 20 1 39.5t3 38.5l129 26q57 14 67 25q12 8 13 27q0 14 -7 30l-47 115l-90 227l-446 2q-12 -29 -37 -96t-66 -178q-23 -63 -22 -84q0 -27 16 -43q14 -10 40 -17.5t63 -13.5 q14 -4 84 -12v-59q0 -16 -2 -27q-35 0 -121 5t-224 16l-49 -9q-43 -8 -83 -11t-81 -3h-20zM549 655q135 -2 216 -4t105 0l29 2q-18 51 -40.5 111.5t-51.5 130.5t-51.5 122t-38.5 87z" />
|
86 |
+
<glyph unicode="" horiz-adv-x="1419" d="M0 0l2 94q27 6 68 12q39 6 69.5 13.5t55.5 17.5q8 14 13 26.5t7 24.5q6 33 8 81t2 112l-2 498q-2 39 -3 139t-5 266q-4 88 -12 109q-4 8 -13 10q-20 14 -69 16q-23 0 -115 13l-4 84l262 6l383 12h45q8 2 15.5 2h13.5t21.5 -1t39.5 -1h76q92 0 193 -27q18 -4 42.5 -13 t53.5 -26q63 -31 104 -75q45 -47 66 -105q10 -29 15 -58.5t5 -62.5q0 -72 -32 -129q-31 -57 -95 -104q-16 -12 -54 -30.5t-97 -47.5q178 -41 268 -145q92 -104 92 -236q0 -72 -28 -162q-23 -66 -72 -116q-66 -72 -141 -109q-78 -35 -205 -59q-70 -12 -199 -11l-199 5 q-63 2 -138 -2.5t-163 -10.5q-25 -2 -93 -4t-181 -6zM537 1419q0 -12 1 -31.5t3 -44.5q2 -51 4 -119.5t0 -158.5v-98v-78q25 -4 52.5 -6t57.5 -2q176 0 267 65q90 66 90 225q0 113 -86 187q-84 76 -258 76q-53 0 -131 -15zM545 457l4 -271q0 -16 10 -43q74 -33 141 -32 q131 0 220 41q82 39 122 112q18 37 28.5 82t10.5 100q0 113 -43 181q-59 94 -141 125q-80 33 -250 32q-37 0 -61.5 -3t-40.5 -7v-143v-174z" />
|
87 |
+
<glyph unicode="" horiz-adv-x="1054" d="M0 0l18 84q12 4 32 9t46 11q41 10 71 19.5t50 19.5q29 39 41 103l29 137l57 268l12 64q23 119 41.5 178t18.5 63l30 156l17 64l22 135l9 49v39q-45 23 -148 28q-14 0 -23.5 1.5t-17.5 1.5l21 104l325 -14q31 -2 49.5 -2h26.5q35 0 89 2t132 6q41 4 68.5 6t38.5 2 q-2 -10 -3 -19.5t-3 -19.5q-4 -10 -7.5 -22.5t-7.5 -28.5q-49 -16 -110 -31q-66 -16 -105 -31q-12 -33 -24 -88q-6 -25 -9.5 -45t-5.5 -37q-23 -100 -40 -175.5t-27 -129.5l-64 -311l-39 -158l-43 -235l-14 -45v-10.5t2 -16.5q35 -8 64.5 -13t58.5 -9q4 0 21.5 -2.5 l45.5 -6.5q-2 -18 -3 -32.5t-3 -26.5q-2 -6 -4 -16.5t-6 -22.5q-8 0 -14 -1t-10 -1q-18 -2 -28.5 -2h-14.5h-11.5t-17.5 4q-8 0 -45 4t-105 12l-202 2q-61 0 -181 -12q-39 -4 -63.5 -6t-36.5 -2z" />
|
88 |
+
<glyph unicode="" d="M0 1151q14 37 34.5 110.5t45.5 184.5q8 33 13 54.5t9 31.5h58q4 -6 6 -10t4 -9q29 -57 41 -71q16 -4 129 -4q35 0 66.5 1t60.5 1l20 2l113 2l213 -2h289l55 10q10 8 27 53q2 6 4 12.5t6 16.5l43 2h10.5t16.5 -2q2 -39 1 -97.5t1 -138.5v-100v-57q0 -14 -1 -27.5t-3 -23.5 q-20 -8 -37 -11.5t-31 -7.5q-27 51 -53 129q-29 82 -37 92q-12 14 -27 21q-10 4 -60 4h-138h-31t-35 -4q-6 -43 -6 -72l2 -151v-334l2 -359v-147q0 -72 10 -117q8 -4 21.5 -8t34.5 -8q4 0 21 -4t50 -13q27 -10 49 -18q4 -20 4 -33.5v-17.5v-11.5t-2 -17.5h-34q-47 0 -88 2 t-76 6t-95.5 6t-148.5 2q-16 0 -57 -4t-109 -10q-29 -2 -45 -3t-24 -1q0 10 -1.5 16.5t-1.5 10.5l-2 24v10q18 31 80 50q94 27 135 49q4 10 6.5 25.5t4.5 31.5q4 68 6 176.5t0 255.5l-4 428q-2 90 -2 142.5t-4 72.5q0 8 -7 15q-4 6 -12 6q-16 4 -63 4h-127q-90 0 -119 -21 q-41 -29 -121 -153q-23 -35 -35 -35q-23 12 -36 23.5t-19 19.5zM1383 1305.5q-5 13.5 14 33.5l184 185q14 12 33 12q14 0 31 -12l184 -185q18 -20 13 -33.5t-34 -13.5h-118v-1048h118q29 0 34 -13.5t-13 -31.5l-184 -187q-16 -12 -33 -12q-16 0 -31 12l-184 187 q-18 18 -13 31.5t31 13.5h121v1048h-121q-27 0 -32 13.5z" />
|
89 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 233q0 18 12 31l187 185q18 20 31.5 14t13.5 -33v-121h1048v121q0 27 13.5 33t33.5 -14l185 -185q12 -12 12 -31q0 -18 -12 -30l-185 -187q-20 -18 -33.5 -13t-13.5 34v119h-1048v-119q0 -29 -13.5 -34t-31.5 13l-187 187q-12 12 -12 30zM0 1233q14 29 33.5 87 t44.5 146q6 27 11 43.5t9 26.5h56q8 -12 10 -14q27 -47 37 -58q2 0 35.5 -1t77.5 -1h90.5h74.5h123l19 2h108h203h416l53 6q12 10 24 46l4.5 9l6.5 13h39h28v-188v-80v-45q0 -12 -1 -21.5t-3 -19.5q-33 -10 -63 -15q-25 37 -52 103q-27 59 -34 74q-12 10 -27 14q-6 2 -42 3 t-85 1h-103.5h-97.5h-28.5t-34.5 -2q-2 -18 -3 -32.5t-1 -24.5l4 -445l-2 -119q0 -61 12 -92q12 -6 53 -12q4 0 20.5 -4t45.5 -10q14 -4 26.5 -7.5t22.5 -7.5q2 -16 3 -25.5t1 -13.5t-1 -10t-1 -14h-33q-94 0 -157 6q-66 6 -236 6q-14 0 -53 -3t-105 -7q-27 -2 -43 -3 t-24 -1q0 16 -2 20v21v8q20 27 73 39q90 20 132 41q4 8 6 19t4 26q0 18 1 70.5t1 120t-1 142t-2 139t-2 107.5t-1 47q0 8 -6 13q-2 2 -13 6q-14 2 -59 2h-123q-20 0 -62 -1t-85 -2t-78 -4t-41 -7q-41 -25 -117 -123q-20 -29 -33 -29q-23 10 -35 19.5t-18 15.5z" />
|
90 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
|
91 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM78 922v114q0 33 21.5 55.5t54.5 22.5h1536q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-1536 q-33 0 -54.5 21.5t-21.5 54.5zM307 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM385 1343v117q0 31 21.5 53.5t54.5 22.5h921q33 0 55.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-55.5 -22h-921q-33 0 -54.5 22.5t-21.5 52.5z" />
|
92 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 922v114q0 33 22.5 55.5t54.5 22.5h1536q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1536 q-33 0 -55 21.5t-22 54.5zM614 500v114q0 33 22.5 55.5t55.5 22.5h1075q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1075q-33 0 -55.5 22.5t-22.5 55.5zM768 1343v117q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-921q-33 0 -55.5 22.5t-22.5 52.5z" />
|
93 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1689 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1689q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-117 q0 -31 -22.5 -53t-53.5 -22h-1689q-33 0 -55.5 22.5t-22.5 52.5z" />
|
94 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t55.5 22h153q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-153q-33 0 -55.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-153 q-33 0 -55.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-153q-33 0 -55.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t55.5 22.5h153q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-153q-33 0 -55.5 22.5t-22.5 52.5zM461 78v115q0 31 22.5 53t55.5 22h1228q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 500v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114 q0 -33 -22.5 -55.5t-53.5 -22.5h-1228q-33 0 -55.5 22.5t-22.5 55.5zM461 922v114q0 33 22.5 55.5t55.5 22.5h1228q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1228q-33 0 -55.5 21.5t-22.5 54.5zM461 1343v117q0 31 22.5 53.5t55.5 22.5h1228 q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-53.5 -22h-1228q-33 0 -55.5 22.5t-22.5 52.5z" />
|
95 |
+
<glyph unicode="" d="M0 756v75q0 39 39 39h213v154q0 31 16.5 37t38.5 -17l215 -215q16 -16 17 -36q0 -18 -17 -35l-215 -215q-23 -23 -39 -17t-16 39v152h-213q-39 0 -39 39zM614 39v1458q0 39 39 39h76q39 0 39 -39v-1458q0 -39 -39 -39h-76q-39 0 -39 39zM922 78v115q0 31 22.5 53t54.5 22 h768q31 0 53.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-53.5 -22.5h-768q-33 0 -55 22.5t-22 55.5zM922 500v114q0 33 22.5 55.5t54.5 22.5h615q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-615q-33 0 -55 22.5t-22 55.5zM922 922v114 q0 33 22.5 55.5t54.5 22.5h691q33 0 55 -22.5t22 -55.5v-114q0 -33 -22.5 -54.5t-54.5 -21.5h-691q-33 0 -55 21.5t-22 54.5zM922 1343v117q0 31 22.5 53.5t54.5 22.5h537q33 0 55.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53t-55.5 -22h-537q-33 0 -55 22.5t-22 52.5z" />
|
96 |
+
<glyph unicode="" d="M0 78v115q0 31 22.5 53t53.5 22h768q33 0 55.5 -22.5t22.5 -52.5v-115q0 -33 -22.5 -55.5t-55.5 -22.5h-768q-31 0 -53.5 22.5t-22.5 55.5zM0 500v114q0 33 22.5 55.5t53.5 22.5h614q33 0 55.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-55.5 -22.5h-614 q-31 0 -53.5 22.5t-22.5 55.5zM0 922v114q0 33 22.5 55.5t53.5 22.5h692q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-692q-31 0 -53.5 21.5t-22.5 54.5zM0 1343v117q0 31 22.5 53.5t53.5 22.5h538q31 0 53.5 -22.5t22.5 -53.5v-117q0 -31 -22.5 -53 t-53.5 -22h-538q-31 0 -53.5 22.5t-22.5 52.5zM1075 39v1458q0 39 39 39h76q16 0 27.5 -11.5t11.5 -27.5v-1458q0 -16 -11.5 -27.5t-27.5 -11.5h-76q-39 0 -39 39zM1305 743q0 16 14 35l217 215q23 23 38 17t15 -39v-152h215q16 0 27.5 -11t11.5 -28v-75q0 -16 -11 -27.5 t-28 -11.5h-215v-154q0 -31 -15 -38t-38 15l-217 218q-14 18 -14 36z" />
|
97 |
+
<glyph unicode="" d="M0 324v768q0 47 18.5 89t50 72.5t73.5 49t89 18.5h768q47 0 89 -18.5t73 -49t49.5 -72.5t18.5 -89v-240l483 471q23 23 55 23q13 -1 29 -7q47 -20 47 -69v-1127q0 -49 -47 -69q-16 -6 -29 -6q-33 0 -55 22l-483 471v-237q0 -47 -18.5 -89t-49.5 -74t-72.5 -50.5 t-89.5 -18.5h-768q-47 0 -89 18.5t-73.5 50.5t-50 73.5t-18.5 89.5z" />
|
98 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h1536v1228h-1536v-1228zM307 307v105l277 360l188 -156l354 537l410 -424v-422h-1229zM307 1073q0 66 45 111t111 45q63 0 108 -45 t45 -111q0 -63 -45 -108t-108 -45q-66 0 -111 45t-45 108z" />
|
99 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 0l137 418l867 866l280 -280l-866 -867zM287 407.5q0 -12.5 10 -22.5q8 -8 22 -8q12 0 21 8l690 690q20 20 0 43q-10 10 -22.5 10t-20.5 -10l-690 -688q-10 -10 -10 -22.5zM1102 1382l119 119q35 35 84 35t84 -35l57 -55l55 -57q35 -35 35 -84.5t-35 -83.5l-119 -119z " />
|
100 |
+
<glyph unicode="" horiz-adv-x="1128" d="M0 1001q0 117 44 220.5t121 180.5t180.5 121t219.5 44q117 0 219.5 -44t179 -121t120.5 -180.5t44 -220.5q0 -84 -24.5 -159.5t-65.5 -143.5l-379 -661q-41 -68 -95 -68t-93 68l-381 663q-41 68 -65.5 143t-24.5 158zM285 1001q0 -57 21.5 -108t60.5 -89t89 -59.5 t109 -21.5q57 0 108.5 21.5t89.5 59.5t59.5 89t21.5 108t-21.5 108.5t-59.5 90.5t-89 60.5t-109 21.5q-59 0 -109 -21.5t-89 -60.5t-60.5 -90t-21.5 -109z" />
|
101 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44v1118q-117 0 -218.5 -44 t-177 -120t-119.5 -177t-44 -218z" />
|
102 |
+
<glyph unicode="" horiz-adv-x="1130" d="M0 535q0 86 23.5 161.5t66.5 141.5q20 33 69.5 99.5t108 154.5t113.5 193.5t90 217.5q10 35 37 51.5t57 12.5q31 4 57.5 -12.5t36.5 -51.5q33 -113 89.5 -218t115 -193t107.5 -154.5t69 -99.5q43 -66 66.5 -141.5t23.5 -161.5q0 -117 -44 -220.5t-120.5 -180.5t-180 -121 t-220.5 -44t-220 44t-180 121t-121 180.5t-44 220.5zM248 410q0 -59 41 -100.5t100 -41.5t100 41t41 101q0 43 -22 75q-6 8 -18.5 24.5t-26.5 39t-28.5 48.5t-22.5 54q-4 20 -23 17q-18 4 -24 -17q-8 -29 -21.5 -54.5t-28 -48t-27 -38.5t-18.5 -25q-23 -33 -22 -75z" />
|
103 |
+
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q4 0 10.5 -1t10.5 -1l-191 -191h-905q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v445l193 192v-637q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5 h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM631 324l108 329l652 652l221 -222l-651 -651zM866 629q6 -8 17 -8q10 0 16 8l512 510q18 18 0 35q-18 16 -35 0l-510 -510q-18 -18 0 -35zM1501 1415l92 94q29 29 68 29t65 -29l46 -45l45 -45 q27 -29 27.5 -66.5t-27.5 -66.5l-95 -92z" />
|
104 |
+
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h836q-6 -31 -6 -63v-52q-164 -20 -310 -78h-520q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v111q16 10 31.5 21.5t32.5 27.5l129 127v-287q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 388.5v37.5q0 166 56.5 312.5t173 256t293.5 173t419 65.5v231q0 57 28.5 69.5t69.5 -28.5l392 -391q27 -25 26 -65q0 -39 -26 -64l-392 -391q-41 -41 -69.5 -28.5 t-28.5 69.5v260q-207 0 -364.5 -43t-266 -116.5t-170 -174t-77.5 -215.5q-4 -27 -31 -27q-25 0 -29 27q-4 23 -4 42.5z" />
|
105 |
+
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h1075q27 0 52 -6l-187 -187h-940q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v326l193 192v-518q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075 q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM385 966.5q0 32.5 23 55.5l98 98q23 23 55.5 23t54.5 -23l340 -340l654 656q23 23 56.5 22.5t55.5 -22.5l99 -99q23 -23 22.5 -55.5t-22.5 -54.5l-711 -711l-98 -98q-23 -23 -55.5 -23t-55.5 23l-100 98l-393 395 q-23 23 -23 55.5z" />
|
106 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 25 18 43l256 256q27 27 45.5 19.5t18.5 -46.5v-170h360v359h-172q-37 0 -45 18.5t19 44.5l256 256q18 18 43 19q25 0 43 -19l256 -256q27 -27 19.5 -45t-46.5 -18h-172v-359h361v170q0 39 18 46.5t45 -19.5l256 -256q18 -18 18 -43t-18 -43l-256 -256 q-27 -27 -45 -19.5t-18 46.5v176h-361v-365h172q39 0 47 -18.5t-20 -44.5l-256 -256q-18 -18 -43 -19q-25 0 -43 19l-256 256q-27 27 -20 45t46 18h172v365h-360v-176q0 -39 -18.5 -46.5t-45.5 19.5l-256 256q-18 18 -18 43z" />
|
107 |
+
<glyph unicode="" horiz-adv-x="1075" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45z" />
|
108 |
+
<glyph unicode="" d="M0 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382zM307.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705 q-16 18 -16.5 45zM1075.5 768q-0.5 27 16.5 43l653 707q14 18 41 18q6 0 22 -4q35 -18 35 -59v-1412q0 -41 -35 -57q-39 -14 -63 14l-653 705q-16 18 -16.5 45z" />
|
109 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44zM768 767q0 26 16 44l654 707q14 18 41 18q10 0 22 -6q35 -14 35 -57v-1412q0 -41 -35 -57q-37 -16 -63 14l-654 705q-16 18 -16 44z" />
|
110 |
+
<glyph unicode="" horiz-adv-x="1349" d="M0 70v1396q0 39 35 60q37 23 69 0l1211 -697q35 -25 35 -61q0 -37 -35 -61l-1211 -697q-16 -10 -34 -10t-35 10q-35 20 -35 60z" />
|
111 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489q-29 0 -49.5 20.5t-20.5 49.5zM907 70v1396q0 29 20.5 49.5t49.5 20.5h489q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-489 q-29 0 -49.5 20.5t-20.5 49.5z" />
|
112 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 70v1396q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-1396q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5z" />
|
113 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57z" />
|
114 |
+
<glyph unicode="" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM1536 76 q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5v-1382z" />
|
115 |
+
<glyph unicode="" horiz-adv-x="1075" d="M0 61v1414q0 39 35 57q39 14 63 -14l654 -705q16 -18 16 -45t-16 -45l-654 -705q-16 -18 -41 -18q-6 0 -22 4q-35 16 -35 57zM768 76q0 -31 22.5 -53.5t53.5 -22.5h153q33 0 55.5 22.5t22.5 53.5v1382q0 33 -22.5 55.5t-55.5 22.5h-153q-31 0 -53.5 -22.5t-22.5 -55.5 v-1382z" />
|
116 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 70v198q0 29 20.5 49.5t49.5 20.5h1396q29 0 49.5 -20.5t20.5 -49.5v-198q0 -29 -20.5 -49.5t-49.5 -20.5h-1396q-29 0 -49.5 20.5t-20.5 49.5zM6 594q-18 43 14 76l699 698q20 20 49 20.5t49 -20.5l699 -698q33 -33 14 -76q-16 -43 -64 -43h-1396q-47 0 -64 43z" />
|
117 |
+
<glyph unicode="" horiz-adv-x="964" d="M0 765q0 38 29 66l671 674q29 29 68 29t68 -29l100 -100q29 -29 29 -68t-29 -67l-508 -510l508 -500q29 -29 29 -66.5t-29 -66.5l-100 -102q-29 -29 -68 -29t-68 29l-671 673q-29 29 -29 67z" />
|
118 |
+
<glyph unicode="" horiz-adv-x="964" d="M0 194.5q0 38.5 29 67.5l508 508l-508 502q-29 29 -29 66.5t29 66.5l100 102q29 29 68 29t67 -29l672 -673q29 -29 29 -68t-29 -68l-672 -671q-29 -29 -67.5 -29t-67.5 29l-100 100q-29 29 -29 67.5z" />
|
119 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h313v-344q0 -33 33 -32h164q33 0 32 32v344h314 q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5t-22.5 9.5h-314v346q0 33 -32 32h-164q-33 0 -33 -32v-346h-313q-33 0 -33 -33v-158z" />
|
120 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM338 688q0 -33 33 -33h856q12 0 22.5 9.5t10.5 23.5v158q0 14 -10.5 23.5 t-22.5 9.5h-856q-33 0 -33 -33v-158z" />
|
121 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 770q0 154 58.5 301.5t174.5 263.5q117 117 264.5 175.5t301 58.5t301 -58.5t264.5 -175.5t175 -264t58 -301t-58 -301t-175 -264t-264.5 -175.5t-301 -58.5t-301 58.5t-264.5 175.5t-175 264t-58 301zM385 505q0 -13 10 -24l115 -116q10 -10 23.5 -10.5t23.5 10.5 l244 243l219 -221q10 -10 23.5 -10t23.5 10l113 113q23 23 0 47l-222 219l246 246q23 23 0 47l-117 115q-25 25 -47 0l-243 -244l-222 221q-10 10 -23 10t-24 -10l-110 -113q-25 -23 0 -47l219 -219l-242 -244q-10 -10 -10 -23z" />
|
122 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 718q0 -20 14 -34l319 -319q14 -14 38 -24.5t44 -10.5h56q20 0 43.5 10 t38.5 25l550 550q14 14 14.5 34t-14.5 34l-104 107q-16 14 -35.5 14t-34.5 -14l-452 -453q-14 -14 -33.5 -14t-34.5 14l-221 221q-14 14 -33.5 14t-36.5 -14l-104 -106q-14 -14 -14 -34z" />
|
123 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM532 1100l95 -115q4 -8 20 -12q12 0 23 6l10 8t27.5 17.5t39 16.5t46.5 7 q41 0 69.5 -22.5t28.5 -57.5q0 -37 -24.5 -64.5t-61.5 -60.5q-23 -18 -46.5 -40.5t-43 -51.5t-31.5 -63.5t-12 -79.5v-64q0 -12 9 -21t21 -9h164q12 0 20.5 9t8.5 21v51q0 39 25.5 66.5t62.5 60.5q25 20 49.5 46t46 57t34.5 69.5t13 90.5q0 68 -27.5 121t-73.5 87.5 t-103.5 53t-114.5 18.5q-63 0 -113.5 -16.5t-85.5 -35.5t-53 -35.5t-20 -18.5q-16 -16 -3 -39zM672 252q0 -12 9 -21.5t21 -9.5h164q12 0 20.5 9.5t8.5 21.5v156q0 12 -8 21t-21 9h-164q-12 0 -21 -9t-9 -21v-156z" />
|
124 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM573 858q0 -29 29 -29h86v-409h-78q-12 0 -21 -8.5t-9 -20.5v-139q0 -12 9 -21.5 t21 -9.5h402q12 0 20 9.5t8 21.5v139q0 29 -28 29h-78v577q0 12 -8 21.5t-21 9.5h-303q-12 0 -20.5 -9t-8.5 -22v-139zM686 1151q0 -12 9.5 -21.5t21.5 -9.5h188q12 0 20.5 9.5t8.5 21.5v166q0 29 -29 29h-188q-12 0 -21.5 -8.5t-9.5 -20.5v-166z" />
|
125 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 692v154q0 16 11.5 26.5t27.5 10.5h164q18 84 59 158.5t99.5 133t133 99.5t158.5 59v164q0 39 39 39h154q16 0 26.5 -11.5t10.5 -27.5v-164q84 -18 158.5 -59t133 -99.5t99.5 -133t59 -158.5h164q16 0 27.5 -10.5t11.5 -26.5v-154q0 -39 -39 -39h-164 q-18 -84 -59 -158.5t-99.5 -133t-133 -99.5t-158.5 -59v-164q0 -16 -10.5 -27.5t-26.5 -11.5h-154q-39 0 -39 39v164q-84 18 -158.5 59t-133 99.5t-99.5 133t-59 158.5h-164q-39 0 -39 39zM365 653q29 -106 105.5 -183t182.5 -105v174q0 16 11.5 26t27.5 10h154 q16 0 26.5 -10t10.5 -26v-174q106 29 183 105.5t105 182.5h-172q-39 0 -38 39v154q0 16 11 26.5t27 10.5h172q-29 106 -105.5 183t-182.5 105v-172q0 -16 -10.5 -27t-26.5 -11h-154q-39 0 -39 38v172q-106 -29 -183 -105.5t-105 -182.5h174q16 0 26 -10.5t10 -26.5v-154 q0 -16 -10 -27.5t-26 -11.5h-174z" />
|
126 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM451 573.5q0 16.5 12 28.5l166 166l-166 166q-12 12 -12 28.5t12 28.5l112 113q29 29 58 0l166 -166l166 166q29 29 57 0l113 -113q29 -29 0 -57l-166 -166l166 -166 q29 -29 0 -57l-113 -113q-12 -12 -28.5 -12t-28.5 12l-166 166l-166 -166q-12 -12 -28.5 -12t-29.5 12l-112 113q-12 12 -12 28.5z" />
|
127 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -117 44 -218t119.5 -177t177 -120t218.5 -44t218 44t177 120t120 177 t44 218t-44 218t-120 177t-177.5 120t-217.5 44q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM332 717.5q0 17.5 10 27.5l115 115q10 10 27.5 10t27.5 -10l178 -180q29 -25 58 0l337 340q10 10 27.5 10t28.5 -10l114 -115q10 -10 10.5 -27.5t-10.5 -27.5l-409 -410 q-12 -12 -32.5 -20t-37.5 -8h-114q-16 0 -37 8t-33 20l-250 250q-10 10 -10 27.5z" />
|
128 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -84 23.5 -160t66.5 -141l770 770q-66 43 -141.5 66.5t-159.5 23.5 q-117 0 -218.5 -44t-177 -120t-119.5 -177t-44 -218zM498 297q66 -41 141.5 -64.5t159.5 -23.5q117 0 218 44t177 120t120 177t44 218q0 84 -23.5 160t-64.5 141z" />
|
129 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 768q0 39 29 68l671 673q29 29 68 29t68 -29l100 -100q29 -29 29 -67.5t-29 -67.5l-338 -338h842q41 0 68.5 -27.5t27.5 -68.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-844l338 -338q29 -29 29 -67.5t-29 -67.5l-100 -100q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68 z" />
|
130 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 698v144q0 39 27.5 66.5t66.5 27.5h844l-338 338q-29 29 -29 67.5t29 67.5l100 100q29 29 68 29t68 -29l671 -673q29 -29 29 -67t-29 -67l-671 -673q-29 -29 -68 -29t-68 29l-100 100q-29 29 -29 68t29 67l338 338h-844q-39 0 -66.5 27.5t-27.5 68.5z" />
|
131 |
+
<glyph unicode="" horiz-adv-x="1536" d="M-1 768q-1 39 28 68l673 671q29 29 68 29t68 -29l671 -671q29 -29 29 -68t-29 -68l-100 -100q-29 -29 -66.5 -29t-66.5 29l-340 338v-844q0 -39 -27.5 -66.5t-66.5 -27.5h-144q-41 0 -67.5 27.5t-26.5 66.5v844l-338 -338q-29 -29 -67.5 -29t-67.5 29l-100 100 q-29 29 -30 68z" />
|
132 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 766q0 39 29 68l100 100q29 29 68 29t67 -29l338 -338v844q0 39 27.5 66.5t66.5 27.5h144q41 0 67.5 -27.5t26.5 -66.5v-844l340 338q29 29 66.5 29t66.5 -29l102 -100q29 -29 29 -68t-29 -68l-673 -671q-29 -29 -68 -29t-68 29l-671 671q-29 29 -29 68z" />
|
133 |
+
<glyph unicode="" d="M0 135q0 209 71.5 393.5t218 322.5t371 219t531.5 83v293q0 72 36 87t89 -36l491 -493q35 -33 35 -82q0 -47 -35 -82l-491 -494q-51 -51 -88 -35.5t-37 86.5v330q-262 -2 -461 -56.5t-336 -147.5t-215 -219t-98 -271q-4 -33 -37 -33h-2q-33 0 -37 33q-6 51 -6 102z" />
|
134 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 86v522q0 53 26.5 64.5t65.5 -25.5l166 -166l274 275q12 12 31 12t33 -12l160 -160q12 -14 12 -32.5t-12 -31.5l-275 -274l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-37 0 -61 25q-27 27 -27 61zM768 972.5q0 18.5 12 31.5l275 274l-166 166q-39 39 -27 65.5t66 26.5 h520q37 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 25.5l-166 166l-274 -273q-12 -14 -31 -14t-33 14l-160 158q-12 14 -12 32.5z" />
|
135 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 202.5q0 18.5 12 33.5l275 272l-166 166q-39 39 -27 65.5t66 26.5h520q38 0 61 -25q27 -27 27 -61v-522q0 -53 -26.5 -64.5t-65.5 27.5l-166 166l-274 -275q-12 -14 -31 -14t-33 14l-160 160q-12 12 -12 30.5zM768 854v522q0 53 26.5 64.5t65.5 -27.5l166 -166l274 275 q12 14 31 14t33 -14l160 -160q12 -12 12 -30.5t-12 -33.5l-275 -272l166 -166q39 -39 27 -65.5t-66 -26.5h-520q-41 0 -61 25q-27 27 -27 61z" />
|
136 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h508v506q0 41 26.5 68.5t67.5 27.5h144q39 0 66.5 -27.5t27.5 -66.5v-508h508q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-508v-506q0 -41 -27.5 -68.5t-66.5 -27.5h-144q-39 0 -66.5 27.5t-27.5 66.5v508 h-506q-41 0 -68.5 26.5t-27.5 67.5z" />
|
137 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 696v144q0 39 27.5 66.5t66.5 27.5h1348q39 0 66.5 -27.5t27.5 -66.5v-144q0 -39 -27.5 -66.5t-66.5 -27.5h-1346q-41 0 -68.5 26.5t-27.5 67.5z" />
|
138 |
+
<glyph unicode="" horiz-adv-x="1427" d="M2 1018q-10 37 10 72l72 124q20 35 58 44.5t73 -9.5l332 -192v383q0 41 27.5 68.5t68.5 27.5h141q41 0 69 -27.5t28 -66.5v-385l331 192q35 18 73 9t58 -44l70 -124q20 -35 11 -72t-44 -57l-333 -193l333 -193q35 -20 44.5 -57t-9.5 -72l-72 -124q-20 -35 -58 -44.5 t-73 9.5l-331 192v-383q0 -41 -28 -68.5t-69 -27.5h-141q-41 0 -68.5 27.5t-27.5 66.5v385l-332 -192q-35 -20 -73 -10t-58 45l-72 124q-18 35 -9 72t44 57l334 193l-334 193q-35 20 -45 57z" />
|
139 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM672 1274l14 -739q4 -29 31 -29h162q12 0 21 8t9 21l17 739q0 10 -8 22q-8 8 -23 9 h-193q-14 0 -22 -9q-8 -12 -8 -22zM680 236q0 -12 8 -21.5t21 -9.5h180q12 0 21.5 9t9.5 22v174q0 12 -9.5 21t-21.5 9h-180q-12 0 -20.5 -9t-8.5 -21v-174z" />
|
140 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 588v391q0 16 11.5 27.5t27.5 11.5h539q-57 0 -107.5 21.5t-87.5 58.5t-58.5 87t-21.5 107t21.5 107.5t58.5 87.5t87 58.5t108 21.5q61 0 115.5 -24.5t88.5 -69.5l158 -203l158 203q35 45 89 69.5t116 24.5q57 0 107 -21.5t87 -58.5t58.5 -87t21.5 -108 q0 -57 -21.5 -107t-58.5 -87t-87 -58.5t-107 -21.5h538q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11 -27.5t-28 -11.5h-117v-432q0 -47 -34.5 -82t-83.5 -35h-1332q-49 0 -82.5 35t-33.5 82v432h-119q-16 0 -27.5 11t-11.5 28zM461 1292q0 -49 33.5 -82.5t83.5 -33.5h237 l-151 196q-10 10 -32 24.5t-54 14.5q-49 0 -83 -35t-34 -84zM743 221q0 -33 24 -56.5t56 -23.5h234q33 0 56.5 23.5t23.5 56.5v797h-394v-797zM1065 1176h238q49 0 82.5 33.5t33.5 82.5t-33.5 84t-82.5 35q-33 0 -54.5 -14.5t-31.5 -24.5z" />
|
141 |
+
<glyph unicode="" horiz-adv-x="1916" d="M6 135q20 53 56 89t71 65q29 23 50.5 43t27.5 43q2 6 0 12t-10 25q-6 12 -11.5 27.5t-9.5 35.5q-25 160 13 295t120 242.5t195 185.5t235 121q82 29 179.5 34t203.5 7q61 0 127 2t127.5 11t113.5 28.5t85 54.5q20 20 38.5 41t38 36t43 24.5t58.5 9.5q23 0 42.5 -11.5 t29.5 -31.5q66 -133 83 -281.5t-18 -322.5q-90 -487 -579 -740q-231 -123 -467 -123q-154 0 -307 54q-23 8 -45.5 20t-44.5 25q-29 16 -57.5 30.5t-49.5 14.5q-10 -2 -23.5 -17.5t-27.5 -35t-26.5 -41t-20.5 -33.5q-14 -23 -26.5 -41.5t-22.5 -32.5q-25 -31 -64 -31h-4 q-29 2 -49.5 12.5t-33.5 24.5t-20.5 28.5t-9.5 22.5q-27 37 -10 78zM401 507.5q2 -32.5 29 -54.5q20 -18 51 -19q37 0 62 27q90 102 181 175t191.5 117t212 62t242.5 14q33 -4 57.5 19.5t26.5 56.5q2 35 -20.5 58.5t-57.5 25.5q-147 6 -277 -16.5t-247 -73.5t-223.5 -133 t-206.5 -199q-23 -27 -21 -59.5z" />
|
142 |
+
<glyph unicode="" horiz-adv-x="1445" d="M0 442q0 123 63.5 254t174.5 238q10 16 33.5 13t31.5 -21q4 -16 0 -29q-8 -35 -14 -84t-4 -101.5t13 -101.5t38 -84q31 -37 78 -49q-49 154 -40 293t49 259t101.5 217t118.5 167t98 106.5t43 39.5q25 18 47 0q10 -8 13.5 -21.5t-0.5 -24.5q0 -2 -15.5 -42.5t-21.5 -102 t7 -134.5t71 -136q37 -43 67.5 -85t52 -93.5t34 -120t12.5 -162.5q0 -33 -31 -39q-12 -2 -24.5 4t-16.5 19q-14 31 -42 49t-63 18q-47 0 -79.5 -33.5t-32.5 -81.5q0 -121 156 -120q98 0 153 63q37 43 53.5 101.5t20.5 114.5t2 102.5t-4 62.5q-6 12 0 29q8 18 31.5 21 t35.5 -13q111 -106 173.5 -237.5t62.5 -254.5q0 -109 -51.5 -195.5t-145.5 -148t-228 -95.5t-298 -34t-298 34t-228.5 95.5t-145.5 148.5t-51 195z" />
|
143 |
+
<glyph unicode="" d="M0 722q0 44 25 83q78 125 178 224t216 168t242.5 104.5t260.5 35.5q135 0 262 -35.5t241.5 -103.5t215 -167t180.5 -226q23 -39 22.5 -83t-22.5 -81q-80 -127 -180.5 -226.5t-215 -167t-241.5 -103t-262 -35.5q-133 0 -260 35.5t-243 104t-216.5 168t-177.5 224.5 q-25 37 -25 81zM154 723q66 -104 149.5 -190.5t182 -145.5t208 -92t228.5 -33t228.5 33t207.5 92t182 145t150 191q-80 129 -187.5 226.5t-236.5 156.5q51 -59 79.5 -133t28.5 -160q0 -96 -35.5 -179t-99 -146.5t-147.5 -99.5t-179 -36q-96 0 -179 36t-146.5 99.5t-99 146.5 t-35.5 179q0 78 25.5 148.5t68.5 128.5q-117 -59 -217.5 -152.5t-175.5 -214.5zM614 813q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5z" />
|
144 |
+
<glyph unicode="" d="M0 767q0 44 25 83q78 125 178 224.5t216 168t242.5 104t260.5 35.5q53 0 105 -7t103 -17l89 158q8 14 24 18q12 6 29 -2l133 -76q14 -8 19.5 -23.5t-3.5 -29.5l-774 -1383q-6 -14 -22 -18q-4 -2 -11 -2q-6 0 -18 4l-135 76q-14 8 -18.5 23.5t3.5 29.5l66 115 q-145 68 -269 178.5t-218 259.5q-25 37 -25 81zM154 768q82 -131 191.5 -229.5t240.5 -157.5l57 104q-86 63 -138 159.5t-52 213.5q0 78 25.5 148.5t68.5 130.5q-117 -61 -217.5 -153.5t-175.5 -215.5zM614 858q0 -23 16.5 -40t41.5 -17t41 17.5t16 39.5q0 78 53.5 131 t130.5 53q25 0 41.5 17.5t16.5 40.5q0 25 -16.5 41t-41.5 16q-61 0 -116.5 -23.5t-95 -63.5t-63.5 -95.5t-24 -116.5zM928 154l88 159q209 25 382 145t292 310q-109 170 -263 283l76 137q92 -66 172 -150t146 -188q23 -39 22.5 -83t-22.5 -81q-160 -254 -392.5 -392 t-500.5 -140zM1081 430l285 510q4 -20 6 -39.5t2 -42.5q0 -74 -21.5 -140.5t-60.5 -121.5t-93 -98t-118 -68z" />
|
145 |
+
<glyph unicode="" horiz-adv-x="1775" d="M0 92q0 20 6 39t17 35l768 1331q16 27 39.5 48.5t56.5 21.5t56.5 -21.5t39.5 -48.5l770 -1331q10 -16 16.5 -34.5t6.5 -39.5q0 -49 -38 -70.5t-81 -21.5h-1538q-43 0 -81 21.5t-38 70.5zM770 1114l12 -633q0 -14 10.5 -24.5t24.5 -10.5h139q14 0 24.5 10.5t10.5 24.5 l15 633q0 14 -10.5 24.5t-24.5 10.5h-166q-16 0 -25.5 -10.5t-9.5 -24.5zM776 168q0 -16 10.5 -25.5t24.5 -9.5h154q35 0 34 35v147q0 16 -9 26.5t-25 10.5h-154q-14 0 -24.5 -10t-10.5 -27v-147z" />
|
146 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 541v4q0 31 23 57l30 29q20 25 56 24q8 0 10 -2l280 -32q39 63 93.5 134.5t125.5 151.5l-583 457q-31 25 -31 59v4q0 31 23 58l57 57q27 23 57 23h13.5t13.5 -4l803 -293l151 149q70 70 161 110t167 40q72 0 109 -37q20 -18 28 -46t8 -63q0 -76 -38.5 -167t-110.5 -160 l-150 -152l293 -803q6 -12 6 -26q0 -33 -24 -58l-58 -57q-23 -25 -57 -25h-4q-35 4 -59 31l-455 586q-82 -72 -153.5 -126t-135.5 -93l35 -281v-10q0 -33 -22 -55l-31 -31q-23 -23 -58 -23h-4q-39 4 -59 31l-205 272l-274 207q-29 25 -31 60z" />
|
147 |
+
<glyph unicode="" horiz-adv-x="1566" d="M0 117v1147q0 47 35 81.5t82 34.5h39v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t59.5 -40t33 -56.5t10.5 -62v-13h49v13q0 31 10 62.5t32.5 56t59.5 40t90 15.5t90 -15.5t60.5 -40t34 -56.5t10.5 -62v-13h49v13q0 31 10.5 62.5t33 56t59 40t90.5 15.5 q53 0 90 -15.5t59.5 -40t32.5 -56.5t10 -62v-13h39q47 0 82 -34.5t35 -81.5v-1147q0 -47 -35 -82t-82 -35h-1333q-47 0 -82 35t-35 82zM158 158h282v250h-282v-250zM158 446h282v252h-282v-252zM158 737h282v252h-282v-252zM272 1165q0 -57 76 -57t76 57v228q0 57 -76 57 t-76 -57v-228zM479 158h285v250h-285v-250zM479 446h285v252h-285v-252zM479 737h285v252h-285v-252zM709 1165q0 -31 16 -44t57 -13t58.5 13.5t17.5 43.5v228q0 29 -17.5 43t-58.5 14t-57 -14.5t-16 -42.5v-228zM803 158h284v250h-284v-250zM803 446h284v252h-284v-252z M803 737h284v252h-284v-252zM1126 158h283v250h-283v-250zM1126 446h283v252h-283v-252zM1126 737h283v252h-283v-252zM1143 1165q0 -57 76 -57t75 57v228q0 57 -75 57q-76 0 -76 -57v-228z" />
|
148 |
+
<glyph unicode="" d="M0 252v154q0 16 11.5 27t27.5 11h219q51 0 99.5 31t93.5 83t90 119.5t90 139.5q55 88 114.5 175t127 156t147.5 110.5t180 41.5h203v185q0 41 24.5 49t59.5 -21l334 -278q23 -18 22 -45q0 -29 -22 -47l-334 -277q-35 -29 -59.5 -20.5t-24.5 49.5v174h-203 q-53 0 -100 -31.5t-93 -84t-91.5 -120t-90.5 -139.5q-55 -88 -113.5 -174t-126 -154.5t-148.5 -110.5t-179 -42h-219q-16 0 -27.5 11.5t-11.5 27.5zM0 1108v154q0 39 39 38h219q68 0 127 -20t111.5 -56t97.5 -84t88 -104q-61 -90 -117 -178q-4 -8 -9 -14t-9 -15 q-70 102 -139.5 172t-149.5 70h-219q-16 0 -27.5 10.5t-11.5 26.5zM778 481q29 41 56.5 85t56.5 87q4 10 10 17.5t10 17.5q70 -102 139.5 -170.5t149.5 -68.5h203v190q0 41 24.5 49t59.5 -20l334 -277q23 -18 22 -47q0 -27 -22 -45l-334 -279q-35 -29 -59.5 -20.5 t-24.5 49.5v168h-203q-68 0 -127 20.5t-110.5 56.5t-97.5 84t-87 103z" />
|
149 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 866q0 145 76 272.5t206 222.5t303.5 150.5t372.5 55.5t373 -55.5t304 -150.5t206 -222t76 -273q0 -145 -76 -272t-206 -222.5t-304 -150.5t-373 -55q-92 0 -180 12q-176 -139 -411 -192q-25 -4 -50.5 -8.5t-54.5 -8.5q-16 -2 -27.5 6.5t-15.5 24.5t5 26.5t20 20.5 q23 23 43 44.5t36.5 51t30 69.5t23.5 97q-174 98 -275.5 241.5t-101.5 315.5z" />
|
150 |
+
<glyph unicode="" horiz-adv-x="1566" d="M0 621v288q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11t12.5 -28v-288q0 -29 22.5 -60t63.5 -58.5t98.5 -45t128.5 -17.5q70 0 128.5 17.5t99.5 45t63.5 58.5t22.5 60v288q0 39 39 39h391q16 0 27.5 -11t11.5 -28v-288q0 -135 -61.5 -254t-168 -207t-249 -139.5 t-304.5 -51.5q-164 0 -306 51.5t-248.5 139.5t-168 206.5t-61.5 254.5zM0 1106v391q0 16 11.5 27.5t27.5 11.5h391q16 0 28.5 -11.5t12.5 -27.5v-391q0 -16 -12.5 -27.5t-28.5 -11.5h-391q-16 0 -27.5 11.5t-11.5 27.5zM1098 1106v391q0 16 11 27.5t28 11.5h391 q16 0 27.5 -11.5t11.5 -27.5v-391q0 -16 -11.5 -27.5t-27.5 -11.5h-391q-39 0 -39 39z" />
|
151 |
+
<glyph unicode="" horiz-adv-x="1536" d="M-1 355.5q-1 37.5 28 66.5l673 674q29 29 68 28.5t68 -28.5l671 -674q29 -29 29 -67t-29 -66l-100 -103q-29 -29 -68 -28.5t-67 28.5l-508 510l-500 -510q-29 -29 -67.5 -28.5t-67.5 28.5l-100 103q-29 29 -30 66.5z" />
|
152 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 918.5q0 37.5 29 66.5l100 102q29 29 68 29t67 -29l508 -509l500 509q29 29 67.5 29t67.5 -29l100 -102q29 -29 30 -66.5t-28 -66.5l-673 -674q-29 -29 -68 -28.5t-68 28.5l-671 674q-29 29 -29 66.5z" />
|
153 |
+
<glyph unicode="" horiz-adv-x="1916" d="M2.5 1038.5q-12.5 30.5 28.5 75.5l385 424q25 29 63 29q39 0 64 -29l385 -424q41 -45 28.5 -75.5t-67.5 -30.5h-250v-680h174q6 -10 12 -19.5t17 -19.5l252 -281h-695q-33 0 -56.5 23.5t-23.5 56.5v920h-249q-55 0 -67.5 30.5zM823 1526h695q33 0 56 -22.5t23 -57.5v-918 h250q55 0 67.5 -30.5t-28.5 -75.5l-385 -424q-25 -29 -63 -29q-39 0 -64 29l-385 424q-41 45 -28.5 75.5t67.5 30.5h250v678h-174q-6 10 -12.5 20.5t-14.5 20.5z" />
|
154 |
+
<glyph unicode="" d="M0 1421v76q0 39 39 39h231q16 0 38 -4t36 -8q6 -4 14.5 -14.5t15.5 -23.5t12 -26.5t7 -21.5l27 -125h1347q35 0 58 -27t16 -59l-108 -578q-6 -25 -26.5 -42t-49.5 -17h-1084l35 -168q4 -16 17.5 -26.5t29.5 -10.5h856q16 0 27.5 -11.5t11.5 -27.5v-78q0 -16 -11 -26.5 t-28 -10.5h-163h-652h-104q-16 0 -36.5 3.5t-35.5 9.5q-6 2 -14 13t-15.5 24.5t-12.5 27t-7 21.5l-215 1016q-4 16 -17.5 26t-29.5 10h-170q-39 0 -39 39zM582 115q0 47 33.5 81.5t80.5 34.5q49 0 83 -34.5t34 -81.5t-34 -81t-83 -34q-47 0 -80.5 34t-33.5 81zM1233 115 q0 47 33.5 81.5t81.5 34.5q47 0 80.5 -34.5t33.5 -81.5t-33.5 -81t-80.5 -34t-81 34t-34 81z" />
|
155 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h693q47 0 80.5 -35t33.5 -82v-1075q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81z" />
|
156 |
+
<glyph unicode="" d="M0 379v1042q0 47 34 81t81 34h692q47 0 81 -34t34 -81t33.5 -80.5t80.5 -33.5h443q47 0 80.5 -35t33.5 -82v-221h-1228q-37 0 -72 -12.5t-65.5 -34t-53 -51t-35.5 -64.5zM43 0l246 760q6 23 30.5 39t47.5 16h1476l-260 -758q-6 -23 -30.5 -40t-47.5 -17h-1462z" />
|
157 |
+
<glyph unicode="" horiz-adv-x="798" d="M2 368.5q10 22.5 57 22.5h203v754h-203q-47 0 -57 22.5t25 57.5l319 319q23 23 53 23q31 0 54 -23l321 -319q33 -35 22.5 -57.5t-57.5 -22.5h-202v-754h202q47 0 57.5 -22.5t-24.5 -57.5l-319 -319q-23 -23 -54 -23t-53 23l-321 319q-33 35 -23 57.5z" />
|
158 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 729q0 31 23 53l319 322q35 33 57.5 23.5t22.5 -56.5v-205h754v203q0 47 22.5 57.5t56.5 -22.5l320 -322q23 -23 22 -53q0 -31 -22 -53l-320 -322q-35 -33 -57 -22.5t-22 57.5v203h-754v-203q0 -47 -22.5 -57t-57.5 24l-319 320q-23 23 -23 53z" />
|
159 |
+
<glyph unicode="" d="M0 115v1306q0 47 35 81t82 34h1612q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1612q-47 0 -82 34t-35 81zM154 154h1536v1228h-1536v-1228zM307 264v363h203v-363h-203zM649 264v776h201v-776h-201zM993 264v592h203v-592h-203zM1333 264v922h203v-922 h-203z" />
|
160 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t73 15.5h1153q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1153q-39 0 -73.5 15.5t-60 41t-41 60.5t-15.5 76zM201 559q80 -111 198.5 -169t259.5 -58q96 0 184.5 26.5t160 73.5 t124 112.5t76.5 143.5q82 6 129 57q14 14 4 33q-8 18 -30 15h-4q23 23 30 45q8 20 -8 32q-14 14 -33 2q-8 -4 -29.5 -10t-45.5 -6q-4 0 -7.5 1t-7.5 1q0 2 -1 4t-1 4q-16 61 -57 110.5t-94 72.5q4 4 6 8t6 8q6 16 0 33q-2 6 -12.5 16t-34.5 8q-2 4 -6 8q-12 12 -25 9 q-25 -4 -49 -13l-2 2q-14 8 -31 -2q-59 -37 -98 -100t-68 -135q-35 31 -57 41q-61 35 -129 63.5t-154 61.5q-14 4 -24 -4q-10 -6 -15 -21q-2 -27 8.5 -58.5t38.5 -62.5q-25 -6 -20 -32q12 -68 68 -101l-13 -12q-14 -14 -4 -33q4 -12 26.5 -37.5t65.5 -38.5q-6 -12 -6 -22 t2 -14q6 -33 39 -50q-37 -25 -79 -34t-85 -5.5t-83 20.5t-70 46q-8 8 -19.5 8t-19.5 -8q-23 -18 -4 -39z" />
|
161 |
+
<glyph unicode="" horiz-adv-x="1536" d="M2 193v1150q0 39 15.5 75t41 61.5t60.5 41t74 15.5h1153q80 0 136 -56.5t56 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-74 -15.5h-486v643h172q12 0 21.5 8t9.5 21l12 168q0 14 -8 24q-10 10 -23 10h-184v74q0 41 10.5 54.5t53.5 13.5q25 0 55.5 -4t58.5 -11 q6 0 13.5 1.5t11.5 5.5q10 6 14 22l23 162q4 29 -25 35q-90 25 -188 24q-301 0 -301 -293v-84h-103q-33 0 -32 -32v-168q0 -12 9 -21.5t23 -9.5h103v-643h-393q-39 0 -74 15.5t-60.5 41t-41 60.5t-15.5 76z" />
|
162 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 160h1536v114h-1536v-114zM154 1145h1536v231h-957l-14 -92h-565v-139zM266 1341h316v93h-316v-93zM557 709q0 -76 28.5 -142.5t78 -116 t116 -78t142.5 -28.5t142 28.5t115.5 78t78 116t28.5 142.5t-28.5 142.5t-78 115.5t-116 77.5t-141.5 28.5q-76 0 -142.5 -28.5t-116 -77.5t-78 -115.5t-28.5 -142.5zM672 709q0 51 19.5 97t53 80t79.5 53t98 19q51 0 97 -19t80 -53t53 -80t19 -97t-19 -97.5t-53 -80 t-80 -53t-97 -19.5t-97.5 19.5t-80 53t-53 79.5t-19.5 98zM743 709q0 -16 12.5 -28.5t28.5 -12.5q18 0 30.5 12.5t12.5 28.5q0 41 28 67.5t67 26.5v2q18 0 30.5 12t12.5 29q0 18 -12.5 30.5t-30.5 12.5q-74 0 -126.5 -53.5t-52.5 -126.5z" />
|
163 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 803.5q-6 111.5 30 230.5t113 228q78 109 179.5 180t209 102t213 17.5t191.5 -74.5q76 -53 121 -134t59 -176.5t-4 -199t-68 -203.5l414 -297l101 139l-105 74q-14 10 -17 27.5t7 32.5l51 69q10 14 26.5 17.5t32.5 -7.5l344 -247q16 -10 18.5 -27.5t-7.5 -32.5l-49 -69 q-10 -14 -27.5 -17.5t-32.5 6.5l-102 76l-101 -139l248 -178q43 -31 52.5 -83t-21.5 -95q-33 -43 -84 -51.5t-94 22.5l-803 573q-78 -80 -170 -130t-186.5 -68.5t-185.5 -2t-167 71.5q-86 61 -133 157.5t-53 208zM230.5 766q7.5 -41 30 -78t58.5 -63q37 -27 79 -36t83 -2 t78 29.5t64 59.5q39 53 41 114.5t-27 114.5q59 -10 116.5 11.5t96.5 74.5q27 37 36 79t2 84t-29.5 79t-59.5 63q-37 27 -79 36t-84 2t-79 -29.5t-63 -59.5q-37 -53 -39 -114.5t26 -114.5q-59 10 -116.5 -12.5t-96.5 -75.5q-27 -37 -36 -79t-1.5 -83z" />
|
164 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 801v180q0 8 22.5 15.5t52 11.5t56.5 7t37 3q12 49 37 88q-23 31 -45.5 61.5t-46.5 59.5l-4 10q0 6 20.5 29.5t47 50t50 47t29.5 20.5q2 0 20.5 -13t41 -30.5t43 -34t24.5 -20.5q43 25 90 37q0 8 3 37t7 57.5t10.5 52t16.5 23.5h178q8 0 15.5 -23.5t11.5 -52t7 -57.5 t5 -37q45 -12 86 -35q31 23 62.5 45.5t60.5 46.5l8 4q4 0 27.5 -21.5t49.5 -47t47.5 -49t21.5 -29.5q0 -4 -13.5 -22.5t-30 -40t-32 -41t-19.5 -25.5q23 -39 39 -92q10 -2 37 -5t55.5 -8.5t51 -11.5t22.5 -14v-178q0 -10 -22.5 -16.5t-51 -11.5t-56.5 -7t-36 -4 q-14 -43 -37 -88q23 -31 44.5 -60.5t48.5 -58.5l2 -10q0 -6 -20.5 -30t-47.5 -50.5t-50.5 -47t-29.5 -20.5q-2 0 -20.5 13.5t-41 31t-42 32.5t-25.5 20q-45 -23 -88 -37q0 -10 -3 -37t-8 -56.5t-12.5 -52t-15.5 -22.5h-178q-8 0 -15.5 22.5t-11.5 52t-7 56t-3 37.5 q-45 12 -88 37q-31 -23 -61.5 -46.5t-59.5 -48.5l-10 -2q-4 0 -27.5 20.5t-49 47t-46 50.5t-20.5 30q0 2 13 20.5t29.5 40t31 41t18.5 25.5q-23 43 -39 94q-10 2 -37 5t-55.5 7t-51 10.5t-22.5 14.5zM420 889q0 -37 14.5 -70t39 -57.5t58 -38.5t70.5 -14t70 14t57.5 38.5 t38.5 57.5t14 70t-14 70.5t-38.5 58t-57.5 39t-70 14.5q-76 0 -129 -53t-53 -129zM1114 373q0 6 13.5 13t31 14.5t33.5 12.5t22 7q4 23 9.5 39t15.5 37q-4 4 -13 17t-18.5 27.5t-16.5 28t-7 17.5t18.5 23.5t43 41t47 40t28.5 24.5l8 4q4 0 16.5 -8.5t25.5 -19.5t25.5 -21.5 t16.5 -14.5q35 12 76 19q2 6 9 21.5t16.5 30.5t17.5 27.5t14 12.5q4 0 34 -7t63.5 -18.5t60.5 -23.5t27 -23q0 -23 -5.5 -47t-9.5 -47q16 -12 28.5 -26.5t22.5 -30.5q25 2 49.5 3t47.5 1q8 0 18 -26.5t17.5 -60.5t12.5 -64.5t5 -39.5q0 -6 -13.5 -13t-29.5 -13t-32.5 -12.5 t-22.5 -8.5q-9 -38 -23 -71q2 -6 11.5 -18.5t18.5 -27t16 -27.5t7 -18q0 -4 -18.5 -23.5t-43 -41t-47 -40.5t-28.5 -26l-8 -4q-4 0 -16.5 8.5t-25.5 19.5t-25.5 21.5t-16.5 14.5q-37 -12 -78 -19q-2 -6 -9 -21.5t-15.5 -30.5t-16.5 -27.5t-14 -12.5t-35 7.5t-62.5 18.5 t-60 23.5t-26.5 22.5q0 23 5 47.5t9 46.5q-16 12 -28.5 26.5t-22.5 30.5q-23 -2 -45.5 -3t-44.5 -1h-14.5t-8.5 11q-2 8 -8 35.5t-13.5 58t-12.5 55.5t-5 29zM1192 1264q0 6 12.5 12t29.5 10t33.5 6t22.5 4q10 33 31 64q-2 4 -8 17.5t-12.5 27.5t-11.5 25.5t-5 15.5 q0 6 21.5 22.5t49 35t51.5 32.5t28 14t13 -9t20.5 -21.5t20.5 -23.5t13 -15q14 4 28.5 6t29.5 0h14q2 4 11 16.5t18.5 25.5t17.5 23.5t12 10.5t30 -11.5t55.5 -26t53 -28.5t23.5 -20q0 -4 -4 -15.5t-8 -26t-8.5 -27.5t-6.5 -17q20 -25 39 -60q51 -4 74 -7t29 -18.5t5 -52 t3 -106.5q0 -6 -12.5 -12.5t-28.5 -10.5t-32.5 -6t-22.5 -4q-13 -36 -31 -63q2 -4 8 -16.5t13.5 -27t12.5 -26.5t5 -14q0 -6 -22.5 -23.5t-50 -36t-51.5 -33t-26 -14.5q-4 0 -14 9.5t-21.5 21.5t-20.5 23.5t-13 15.5q-14 -4 -28.5 -6t-29.5 0h-14q-4 -4 -12 -16.5t-17.5 -26 t-18.5 -23.5t-13 -10t-30 11t-54.5 25.5t-52 29t-23.5 20.5q0 2 3 14.5t8 26.5t9 27.5t6 17.5q-23 23 -38 59q-53 2 -75 5t-29 18.5t-5 52.5t-4 109zM1397 367q0 -49 34.5 -85t84.5 -36q49 0 84.5 34.5t35.5 86.5q0 49 -34.5 83.5t-85.5 34.5q-49 0 -84 -34.5t-35 -83.5z M1446 1206q0 -47 31.5 -78.5t76.5 -31.5q47 0 79 31.5t32 76.5q0 47 -31.5 79t-77.5 32q-47 0 -78.5 -32t-31.5 -77z" />
|
165 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 997q0 119 61.5 222.5t167 180.5t246.5 122t303 45t303.5 -45t247 -122t166.5 -180.5t61 -222.5q0 -117 -61 -221t-166.5 -181t-247 -122t-303.5 -45q-37 0 -73.5 3t-71.5 7q-147 -113 -336 -155q-20 -4 -40.5 -7.5t-43.5 -7.5q-12 -2 -21.5 6.5t-13.5 18.5v2 q-4 12 3 19.5t18 17.5q18 18 34.5 36.5t29.5 42t24.5 55.5t19.5 79q-141 78 -224 195.5t-83 256.5zM649 258q6 4 13.5 8t13.5 8q51 -6 102 -6q197 0 369 56.5t298 155t198.5 231.5t72.5 286q0 41 -6 84q96 -78 151.5 -175t55.5 -208q0 -139 -83 -256.5t-224 -195.5 q8 -47 19 -79t25.5 -55.5t30 -42t33.5 -36.5q10 -10 17.5 -18.5t3.5 -18.5v-2q-2 -12 -12.5 -19.5t-22.5 -5.5q-23 4 -43.5 7.5t-40.5 7.5q-96 20 -180 60t-156 95q-35 -4 -71.5 -7t-73.5 -3q-141 0 -265 35t-225 94z" />
|
166 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 43 30.5t35 39.5q16 20 32.5 38.5t34.5 37.5q33 35 76 68.5t66 74.5q16 29 23 64.5t12.5 71.5t12.5 70t23.5 60.5t47 42t81.5 15.5q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -59 -17.5 -112.5t-42.5 -107.5 q35 2 70 4.5t70 2.5q55 0 107 -10.5t93 -35t66.5 -67.5t25.5 -109q0 -29 -5 -57t-15 -57q18 -43 18 -90q0 -78 -41 -142q10 -59 -7 -118.5t-58 -104.5q-4 -84 -45 -139.5t-102.5 -89t-135 -47t-143.5 -13.5q-72 0 -144.5 10.5t-142.5 28.5q-70 20 -139.5 43t-142.5 23h-375 q-49 0 -84 34.5t-35 84.5zM236 276q0 -35 22 -57t57 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57 -23.5t-22 -56.5zM492 193q70 0 136 -16.5t133.5 -35t141.5 -35t160 -16.5q45 0 98 6t99.5 26.5t78 56.5t31.5 95q0 10 -1 18.5t-3 18.5 q35 16 53.5 53t18.5 74q0 39 -21 68q60 49 60 123q0 23 -12.5 43t-26.5 35q16 29 28.5 57.5t12.5 62.5q0 35 -17.5 55.5t-43 31t-56.5 12.5t-57 2q-45 0 -90.5 -3t-90.5 -3q-31 0 -61.5 3t-58.5 15q0 41 16 78t35.5 74.5t35 78.5t15.5 91q0 33 -10.5 65.5t-29.5 59t-47 44 t-65 17.5h-11t-11 -2q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -74 -88t-86 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-2v-643z" />
|
167 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 309q0 29 5 57.5t15 57.5q-18 43 -18 90q0 78 41 141q-10 59 7.5 119t58.5 105q4 84 45 139t102 89t135 47t144 13q72 0 144.5 -10t141.5 -29q70 -20 139.5 -42.5t143.5 -22.5h375q49 0 83.5 -35t34.5 -84v-643q0 -49 -34.5 -84t-83.5 -35h-349q-27 -14 -43 -30.5 t-34 -38.5q-16 -20 -32.5 -39t-35.5 -37q-33 -35 -76 -69t-65 -74q-25 -43 -31 -99.5t-18.5 -106.5t-44 -84t-107.5 -34q-61 0 -111.5 25.5t-85 68.5t-54 98.5t-19.5 112.5q0 59 17.5 112.5t41.5 106.5q-35 -2 -69.5 -4t-69.5 -2q-55 0 -107.5 10.5t-93.5 35t-66.5 67.5 t-25.5 108zM119 309q0 -35 17.5 -55.5t43 -30.5t56 -12t57.5 -2q47 0 91 3t89 3q31 0 61.5 -3t59.5 -15q0 -41 -16.5 -78t-36 -75t-34.5 -79t-15 -90q0 -33 10 -65.5t29.5 -59t47 -43t64.5 -16.5q4 0 11.5 -1t11.5 1q8 4 9 8l3 12q12 59 22.5 124t38.5 118q29 51 74 88 t86 78q29 31 49.5 56.5t42 48t47 42t66.5 35.5h2v643q-72 0 -137.5 16.5t-133 36t-141 36t-159.5 16.5q-45 0 -98.5 -7.5t-99.5 -27t-78 -56t-32 -96.5q0 -10 1 -18t3 -19q-35 -16 -53 -53t-18 -74q0 -39 20 -67q-59 -49 -59 -123q0 -23 12 -43.5t27 -34.5 q-16 -29 -28.5 -57.5t-12.5 -63.5zM1202 860q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -22.5t-23.5 -57.5z" />
|
168 |
+
<glyph unicode="" horiz-adv-x="837" d="M1 959.5q9 27.5 54 33.5l506 74l227 459q23 41 50 41v-1348l-453 -237q-41 -23 -64.5 -6.5t-15.5 63.5l86 504l-364 356q-35 33 -26 60.5z" />
|
169 |
+
<glyph unicode="" horiz-adv-x="1802" d="M0 1073q0 137 43 231.5t112.5 153t156.5 84t177 25.5q63 0 125 -21.5t115 -53.5t97 -70t75 -68q31 31 76 68.5t98 69.5t113.5 53.5t126.5 21.5q88 0 175 -25.5t156.5 -84t112.5 -153t43 -231.5q0 -94 -34.5 -177t-76.5 -146.5t-79 -102.5t-39 -43l-615 -612 q-26 -23 -57 -23q-33 0 -55 23l-617 614q-4 2 -39.5 41t-77.5 102.5t-77 146.5t-35 177zM160 1073q0 -68 27.5 -131t61.5 -112.5t63 -79.5l28 -29l561 -559l561 559l29 29q29 30 62.5 79.5t61 113t27.5 130.5q0 104 -29.5 169t-77.5 101.5t-106.5 50t-113.5 13.5 q-53 0 -107.5 -25.5t-102.5 -61.5t-86 -74t-56 -60q-25 -31 -62 -31t-61 31q-18 23 -56.5 60.5t-86.5 73.5t-102.5 61.5t-105.5 25.5q-57 0 -115.5 -13.5t-106.5 -50t-77.5 -101t-29.5 -169.5z" />
|
170 |
+
<glyph unicode="" horiz-adv-x="1689" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h461v-193h-461q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h461v-193h-461q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM508 584v368q0 33 22.5 54.5t55.5 21.5h428v293 q0 41 39 57q39 14 65 -14l553 -553q18 -18 18.5 -44t-18.5 -42l-553 -553q-18 -18 -43 -18q-10 0 -22 4q-39 16 -39 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5z" />
|
171 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM207 1192q0 -57 40 -97t95 -40q57 0 97 40t40 97q0 55 -40 95t-97 40q-55 0 -95 -40 t-40 -95zM213 240q0 -10 9 -19.5t20 -9.5h200q12 0 20.5 9t8.5 20v706q0 29 -29 29h-200q-10 0 -19.5 -8.5t-9.5 -20.5v-706zM580 240q0 -10 9 -19.5t19 -9.5h201q12 0 20.5 9t8.5 20v383q0 68 26.5 113.5t102.5 45.5q59 0 79.5 -28.5t20.5 -81.5v-432q0 -10 8 -19.5 t21 -9.5h204q10 0 19.5 9t9.5 20v477q0 141 -81 208.5t-216 67.5q-55 0 -107.5 -15t-93.5 -56q0 16 -3 34.5t-25 18.5h-195q-10 0 -19 -8.5t-9 -20.5v-706z" />
|
172 |
+
<glyph unicode="" horiz-adv-x="1916" d="M2 950q8 82 45 172t100 176t139 147.5t152 92.5t145.5 30t121.5 -40q53 -41 73.5 -107.5t12.5 -148.5l301 -225q111 63 215 73t180 -47q55 -41 80.5 -108.5t23.5 -150.5t-30.5 -177t-83.5 -188l428 -410q25 -25 4 -53q-12 -16 -33 -17q-10 0 -18 6l-517 293 q-74 -80 -155.5 -135t-161.5 -80.5t-151.5 -19.5t-127.5 47q-76 55 -95 158.5t9 228.5l-303 223q-76 -33 -145.5 -32t-122.5 40q-51 39 -72.5 104.5t-13.5 147.5zM171 858.5q3 -16.5 15 -27.5q21 -14 50 -14q31 0 65.5 17.5t71.5 46t72.5 66.5t66.5 79q10 14 7 30.5 t-15 26.5q-14 10 -30.5 8.5t-27.5 -16.5q-78 -104 -138 -143t-72 -35q-14 10 -31 7t-27 -15q-10 -14 -7 -30.5zM465 754l364 -271q8 -8 23 -8q20 0 33 17q10 14 8 29.5t-16 25.5l-347 258q-16 -14 -32.5 -27.5t-32.5 -23.5zM829.5 239.5q1.5 -16.5 16.5 -26.5q29 -23 69 -23 q41 0 88.5 21.5t95.5 57.5t94 84.5t87 101.5q10 12 8 28.5t-16 26.5q-12 10 -28.5 8t-26.5 -16q-51 -68 -102.5 -116t-95.5 -75.5t-78 -36t-48 4.5q-14 10 -29.5 7t-25.5 -18q-10 -12 -8.5 -28.5z" />
|
173 |
+
<glyph unicode="" d="M0 307v922q0 63 24.5 119.5t65.5 97.5t97.5 65.5t119.5 24.5h582q-2 -14 -4 -27.5t-2 -29.5v-88q0 -23 6 -48h-582q-47 0 -80.5 -33.5t-33.5 -80.5v-922q0 -47 33.5 -80.5t80.5 -33.5h1075q47 0 81 33.5t34 80.5v340q41 -31 90 -49t103 -20v-271q0 -63 -25 -118.5 t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -119.5 24.5t-97.5 66.5t-65.5 97.5t-24.5 118.5zM692.5 522q-0.5 25 16.5 41l770 772h-269q-25 0 -41 16.5t-16 41.5v86q-2 23 15.5 40t41.5 17h576q23 0 40 -17.5t17 -39.5v-86v-490q0 -25 -17.5 -42t-39.5 -15h-86 q-25 0 -41.5 16.5t-16.5 40.5v268l-772 -770q-16 -16 -40.5 -16t-41.5 16l-79 80q-16 16 -16.5 41z" />
|
174 |
+
<glyph unicode="" horiz-adv-x="1689" d="M0 584v368q0 33 22.5 54.5t55.5 21.5h428v293q0 41 37 57q39 14 67 -14l553 -553q16 -18 16.5 -44t-16.5 -42l-553 -553q-18 -18 -43 -18q-8 0 -24 4q-37 16 -37 57v291h-428q-33 0 -55.5 22.5t-22.5 55.5zM922 0v193h460q47 0 81 33.5t34 80.5v922q0 47 -33.5 80.5 t-81.5 33.5h-460v193h460q63 0 118.5 -24.5t97.5 -65.5t67 -97.5t25 -119.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-460z" />
|
175 |
+
<glyph unicode="" horiz-adv-x="1689" d="M0 1042v187q0 33 22.5 54.5t55.5 21.5h323q-2 12 -2 25v24v4q0 53 4.5 88t15.5 54.5t31.5 27.5t55.5 8h678q33 0 54.5 -8t32.5 -27.5t15 -54.5t4 -88v-25.5t-2 -27.5h324q33 0 55.5 -21.5t22.5 -54.5v-187q0 -63 -45.5 -130.5t-122 -128t-180 -106.5t-222.5 -65 q-51 -10 -91 -41.5t-40 -70.5q0 -35 17.5 -51.5t39 -31t40 -31.5t22.5 -52q4 -23 -2 -47q-4 -14 23.5 -23.5t67.5 -18.5t82 -22.5t64 -34.5q12 -10 19.5 -39.5t9.5 -64.5q2 -33 -6 -58.5t-29 -25.5h-985q-20 0 -28.5 25.5t-6.5 58.5q2 35 9.5 64.5t19.5 39.5q23 20 64 34 t80.5 23t68.5 18t25 24q-4 14 -4 25.5v21.5q2 35 21.5 52t42 31.5t39.5 31t17 51.5q0 39 -39.5 70.5t-93.5 41.5q-117 20 -220 66.5t-180 106t-122 127t-45 130.5zM154 1042q0 -20 23.5 -54t67.5 -70.5t106.5 -71.5t140.5 -60q-25 80 -44.5 175.5t-33.5 189.5h-260v-109z M1198 786q78 25 140.5 60t106.5 71.5t67.5 70.5t23.5 54v109h-262q-12 -94 -31.5 -189.5t-44.5 -175.5z" />
|
176 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-337v25q0 39 2 97t-3.5 115.5t-24.5 104.5t-65 66q188 20 290 110t102 287q0 66 -22.5 128t-67.5 114q6 23 8 45t2 45 q0 41 -9.5 91t-31.5 85h-12q-43 2 -79 -8.5t-68 -27.5t-62.5 -37.5t-65.5 -39.5q-33 4 -65.5 6t-65.5 2t-65.5 -2t-65.5 -6q-35 18 -65.5 39t-62.5 38t-67.5 27.5t-79.5 8.5h-12q-23 -35 -32 -85t-9 -91q0 -23 2 -45.5t8 -44.5q-45 -51 -66.5 -114t-21.5 -128 q0 -193 95.5 -283t281.5 -112q-39 -16 -59.5 -50t-32.5 -75q-27 -8 -49.5 -15.5t-50.5 -7.5q-55 0 -88 28.5t-59.5 62.5t-56.5 62.5t-79 28.5q-4 0 -20.5 -2t-16.5 -12q0 -23 19.5 -32t31.5 -19q39 -31 56.5 -71t39 -76.5t62.5 -62.5t127 -26q35 0 80 11q0 -10 -1 -18.5 t-1 -16.5q0 -29 2 -59.5t-2 -59.5h-317q-80 0 -136.5 56.5t-56.5 136.5z" />
|
177 |
+
<glyph unicode="" d="M0 39v614q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-346h1229v346q0 16 11.5 27.5t27.5 11.5h229q16 0 27.5 -11t11.5 -28v-614q0 -39 -39 -39h-1765q-39 0 -39 39zM346 969.5q-6 15.5 16 38.5l504 505q23 23 55.5 23t55.5 -23l506 -505q23 -23 15.5 -38.5 t-38.5 -15.5h-307v-499q0 -33 -22.5 -55.5t-55.5 -22.5h-307q-33 0 -54.5 22.5t-21.5 55.5v499h-307q-33 0 -39 15.5z" />
|
178 |
+
<glyph unicode="" horiz-adv-x="1609" d="M2 514q-2 35 1 68.5t7 74.5q4 35 7 72t10 66q14 66 30.5 128t44.5 117q20 41 45 81t54 79q10 14 21 24.5t24 20.5q23 23 45 45.5t49 42.5t57.5 36.5t65.5 33.5q33 16 67.5 29.5t71.5 27.5q70 29 156 51l2 2q45 12 85 17.5t79 5.5q59 0 112.5 -9t106.5 -20q41 -8 85 -15 t93 -7h2q29 0 62.5 5t66.5 5q25 0 45.5 -6t32.5 -25q23 -31 26 -71.5t-2 -75.5q-4 -35 -8 -71t2 -72q4 -23 11.5 -39.5t15.5 -36.5q8 -18 11 -40t7 -42q18 -104 15.5 -195.5t-23 -170.5t-56.5 -148.5t-81 -132.5q-37 -49 -79 -97.5t-92 -91.5t-110.5 -77.5t-134.5 -59.5 q-76 -27 -158.5 -34t-158.5 -11h-31q-104 0 -194.5 16.5t-192.5 16.5h-4q-35 0 -77 -10.5t-83 -12.5h-2q-37 0 -65.5 17.5t-42.5 42.5q-20 35 -17.5 72.5t12.5 68.5t10.5 66.5t-5 75.5t-12.5 81t-9 82z" />
|
179 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 1169q0 55 14.5 114.5t43 114t68.5 98.5t93 69q12 -2 26.5 0t26.5 2q10 0 30 -1l40 -2t38.5 -4.5t27.5 -7.5q8 -6 15 -18t12 -26.5t9.5 -30t8.5 -25.5q6 -18 23.5 -65.5t35.5 -97.5t32.5 -93t14.5 -53q0 -37 -24.5 -68t-54 -57.5t-54.5 -50t-25 -45.5q0 -20 16.5 -49 t26.5 -46q84 -145 188.5 -248.5t252.5 -187.5q18 -10 45.5 -27.5t50.5 -17.5t52.5 32t60 70.5t62 70.5t58.5 32q10 0 51.5 -22.5t89.5 -50t93 -55.5t61 -36q16 -10 46 -25.5t40 -35.5q2 -6 2 -23q0 -16 -3 -36.5t-8 -43t-12 -43t-13 -35.5q-18 -39 -59.5 -71.5t-92.5 -55 t-104.5 -36t-92.5 -13.5q-80 0 -153.5 25.5t-145.5 54.5q-123 45 -232.5 118t-203.5 164t-175 196.5t-144 215.5q-25 41 -52.5 95.5t-51 112t-39 113.5t-15.5 105z" />
|
180 |
+
<glyph unicode="" d="M0 307v922q0 63 24.5 118.5t66.5 97.5t97.5 66.5t118.5 24.5h1075q63 0 118.5 -24.5t97.5 -66.5t67 -97.5t25 -118.5v-922q0 -63 -25 -118.5t-67 -97.5t-97 -66.5t-119 -24.5h-1075q-63 0 -118.5 24.5t-97.5 66.5t-66.5 97.5t-24.5 118.5zM193 307q0 -47 33.5 -80.5 t80.5 -33.5h1075q47 0 81 33.5t34 80.5v922q0 47 -34 80.5t-81 33.5h-1075q-47 0 -80.5 -33.5t-33.5 -80.5v-922z" />
|
181 |
+
<glyph unicode="" horiz-adv-x="1253" d="M0 84v1337q0 47 34 81t81 34h1024q47 0 80.5 -34t33.5 -81v-1337q0 -47 -33.5 -81t-80.5 -34t-80 33l-432 432l-432 -432q-33 -33 -80 -33t-81 34t-34 81zM158 186l469 471l469 -471v1194h-938v-1194z" />
|
182 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5zM193 1040q2 -35 15 -76.5t30 -78.5q16 -37 33.5 -72t33.5 -63q74 -129 176.5 -241 t225.5 -190q31 -18 67.5 -36.5t75.5 -32.5q41 -16 83 -31.5t81 -21.5q63 -10 112.5 2t90.5 34q27 12 57.5 33.5t44.5 52.5q4 8 9 27t9 38t6.5 37.5t-2.5 29.5q-4 12 -24.5 22t-36.5 21q-43 25 -71.5 41t-67.5 38q-16 10 -36 23.5t-38 13.5q-23 0 -46.5 -27.5t-37.5 -43.5 q-12 -14 -36.5 -43t-47.5 -31q-14 -2 -32.5 10t-37.5 23q-106 59 -182 136t-135 177q-10 16 -21.5 37.5t-7.5 38.5q2 18 24.5 33.5t35.5 29.5q14 16 31.5 37t19.5 43q4 16 -5 38t-16 42q-16 43 -28.5 76t-26.5 76q-6 16 -12 40.5t-21 30.5q-8 4 -26.5 7t-39 4.5t-37.5 0 t-24 -1.5h-8q-33 -16 -62.5 -45.5t-51 -69.5t-34 -88t-9.5 -100z" />
|
183 |
+
<glyph unicode="" d="M0 399q0 20 13.5 33.5t33.5 13.5q14 0 31 -12q123 -109 287 -108q59 0 117.5 15t107.5 48q-29 16 -47.5 42t-18.5 58q0 23 8 39q-18 6 -44.5 20.5t-51 34t-41 43t-16.5 46.5q0 16 10 28.5t25 22.5q-41 25 -76 74t-35 98q0 33 33 43q-35 35 -55.5 81t-20.5 95 q0 23 9.5 41.5t37.5 18.5q18 0 84 -27t142.5 -60.5t146.5 -67.5t98 -48q25 -14 47.5 -31.5t44.5 -36.5q20 51 47 106.5t60 106.5t73 96t89 74q8 6 24 6q18 0 27 -8q16 6 41.5 13.5t42.5 7.5q29 0 43 -27q31 0 56.5 -15.5t25.5 -50.5q0 -31 -27 -53q96 -43 159.5 -125 t90.5 -182q6 -2 23 -2q47 0 88 16.5t57 16.5q18 0 31.5 -14.5t13.5 -32.5q0 -23 -19.5 -48.5t-33.5 -39.5q23 4 42 -7.5t19 -38.5q0 -29 -26.5 -50t-61.5 -37.5t-72.5 -25.5t-58.5 -11q-43 -139 -133 -246t-210 -178.5t-258 -109.5t-275 -38q-219 0 -415 93.5t-325 273.5 q-8 16 -8 26z" />
|
184 |
+
<glyph unicode="" horiz-adv-x="790" d="M0 862v203q0 16 11.5 28.5t27.5 12.5h125v102q0 358 366 359q123 0 232 -31q33 -10 29 -43l-27 -199q-4 -16 -16 -26q-16 -10 -31 -6q-35 8 -72.5 12t-66.5 4q-53 0 -65.5 -16.5t-12.5 -67.5v-88h223q14 0 29 -14q10 -10 10 -29l-17 -205q0 -16 -11 -25.5t-27 -9.5h-207 v-784q0 -16 -11.5 -27.5t-27.5 -11.5h-258q-16 0 -27.5 11.5t-11.5 27.5v784h-125q-16 0 -27.5 11.5t-11.5 27.5z" />
|
185 |
+
<glyph unicode="" horiz-adv-x="1847" d="M0 743q0 115 37 222.5t113 193.5l-3 4l3 2q-16 39 -21.5 81t-5.5 85q0 25 2 56.5t8 65.5t15.5 63.5t23.5 50.5h8q61 0 110.5 -12.5t94.5 -35t87 -52t91 -60.5q86 25 178.5 33t182.5 8t182 -8t180 -33q47 31 90 60.5t87 52t93.5 35t110.5 12.5h10q12 -20 21.5 -50 t15.5 -64t9 -65.5t3 -56.5q0 -43 -6 -85t-20 -81v-2l-2 -4q76 -86 112.5 -193.5t36.5 -222.5q0 -233 -66.5 -383.5t-188.5 -236.5t-292 -120t-376 -34q-207 0 -378 34t-292 120t-187.5 236.5t-66.5 383.5zM250 483q0 -145 64.5 -224t165 -116t219 -43t227.5 -6q74 0 152.5 2 t153.5 12.5t142.5 34t117.5 67.5t80 111.5t30 165.5q0 84 -27 147.5t-75 106.5t-114.5 64.5t-146.5 21.5q-78 0 -156.5 -7t-156.5 -7t-157 7t-157 7q-162 0 -262 -87t-100 -257zM494 524q0 66 26.5 113t65.5 47t66.5 -47t27.5 -113t-27.5 -112.5t-66.5 -46.5t-65.5 46.5 t-26.5 112.5zM795 258q-6 16 12 25q16 6 24 -13q27 -76 93 -75q31 0 56.5 20.5t35.5 54.5q8 20 26 13q16 -6 13 -25q-16 -47 -51 -75.5t-80 -28.5q-43 0 -78 28.5t-51 75.5zM864 369q0 -12 17.5 -21.5t42.5 -9.5t42 9.5t17 21.5t-17.5 21t-41.5 9q-25 0 -42.5 -9t-17.5 -21z M1167 524q0 -66 28 -112.5t67 -46.5t65.5 46.5t26.5 112.5t-27 113t-65 47q-39 0 -67 -47t-28 -113z" />
|
186 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 117v626q0 49 35 84t82 35h665v156q0 113 43 213t118 175t175 118t213 43t213.5 -43t175 -118t117.5 -175.5t43 -212.5v-152q0 -33 -22.5 -55.5t-55.5 -22.5h-80q-33 0 -55 23t-22 55v152q0 66 -25 123t-67 99t-99 66.5t-123 24.5t-122 -24.5t-99 -66.5t-67.5 -99.5 t-24.5 -122.5v-156h119q47 0 81.5 -34.5t34.5 -84.5v-626q0 -47 -34.5 -82t-81.5 -35h-1020q-47 0 -82 35t-35 82zM494 164h266l-66 285q29 18 47.5 48.5t18.5 65.5q0 55 -39 95t-94 40t-94 -40t-39 -95q0 -35 18 -65.5t47 -46.5z" />
|
187 |
+
<glyph unicode="" d="M0 154v1228q0 63 45 108.5t109 45.5h1536q63 0 108 -45t45 -109v-1228q0 -63 -45 -108.5t-108 -45.5h-1536q-63 0 -108.5 45t-45.5 109zM154 154h1536v575h-1536v-575zM154 1114h1536v268h-1536v-268zM260 250v115h307v-115h-307zM676 250v115h446v-115h-446z" />
|
188 |
+
<glyph unicode="" horiz-adv-x="1566" d="M0 236q0 49 18.5 91t50 74.5t75 51t92.5 18.5t91 -18.5t74.5 -51t51 -74.5t18.5 -91t-18.5 -92.5t-51 -75t-74.5 -50t-91 -18.5t-92.5 18.5t-75 50t-50 74.5t-18.5 93zM0 819v158q0 35 25 57q23 23 53 23q2 0 3 -1t3 -1q193 -14 362.5 -95t301 -212.5t212 -301.5 t95.5 -362q4 -35 -21 -59q-23 -25 -57 -25h-158q-29 0 -51.5 20.5t-26.5 51.5q-12 133 -68.5 249.5t-145.5 205.5t-205.5 145.5t-249.5 68.5q-31 4 -51.5 27t-20.5 51zM0 1331v158q0 33 25 55q23 23 53 23h4q301 -16 565 -137t463 -320t319.5 -463t137.5 -565q4 -31 -23 -57 q-23 -25 -55 -25h-158q-31 0 -53.5 21.5t-24.5 52.5q-14 238 -110 446.5t-255 367.5t-368 255t-446 110q-31 2 -52.5 24.5t-21.5 53.5z" />
|
189 |
+
<glyph unicode="" d="M0 193v382q0 23 6 45.5t12 45.5l238 727q20 63 75.5 103t121.5 40h938q66 0 121 -40t75 -103l238 -727q6 -23 12 -45.5t6 -45.5v-382q0 -41 -15.5 -76t-41 -60.5t-61 -41t-74.5 -15.5h-1458q-80 0 -136.5 56.5t-56.5 136.5zM154 193q0 -16 11 -27.5t28 -11.5h1458 q16 0 27.5 11t11.5 28v382q0 16 -11.5 27.5t-27.5 11.5h-1458q-16 0 -27.5 -11t-11.5 -28v-382zM213 768h1417l-188 578q-4 16 -19.5 26t-31.5 10h-938q-16 0 -31.5 -10t-20.5 -26zM1057 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5 t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5zM1364 385q0 39 27.5 66.5t68.5 27.5q39 0 66.5 -27.5t27.5 -66.5q0 -41 -27.5 -68.5t-66.5 -27.5q-41 0 -68.5 27.5t-27.5 68.5z" />
|
190 |
+
<glyph unicode="" d="M0 754v229q0 63 45 108.5t109 45.5h499q115 0 245 33.5t255 90t235.5 128t186.5 147.5q63 0 108.5 -45t45.5 -109v-368q49 -12 81.5 -52.5t32.5 -93.5t-32.5 -93t-81.5 -52v-369q0 -63 -45.5 -108t-108.5 -45q-68 68 -164 132t-206.5 117.5t-227.5 91.5t-227 50 q-43 -12 -70 -40t-37 -62.5t-2 -70.5t37 -65q-25 -41 -23 -75.5t20.5 -66.5t49.5 -61.5t66 -58.5q-20 -43 -69.5 -65.5t-106 -25.5t-110.5 10.5t-85 43.5q-18 61 -40 125t-36 130.5t-14 138t24 151.5h-200q-63 0 -108.5 45t-45.5 109zM807 741q102 -16 206.5 -49t205 -78 t191.5 -99t165 -112v930q-76 -59 -166 -113.5t-190.5 -98.5t-205 -77.5t-206.5 -48.5v-254z" />
|
191 |
+
<glyph unicode="" horiz-adv-x="1759" d="M0 317q104 78 172 172.5t109 201t60 224t28 240.5q6 84 56 159t126 131t163 89t167 33q74 0 163 -33t165.5 -88t129 -129t52.5 -158q6 -121 27.5 -239.5t63.5 -227t109.5 -204t167.5 -171.5q-4 -70 -56 -114.5t-120 -44.5h-469q-18 -82 -82.5 -135.5t-150.5 -53.5 t-151.5 53.5t-84.5 135.5h-469q-68 0 -120 45t-56 114zM238 317h1284q-78 86 -129.5 183.5t-84 202t-50 214t-25.5 222.5q-4 55 -41 104t-89 86t-111.5 57.5t-110.5 20.5q-47 0 -107.5 -21.5t-114 -56.5t-91.5 -83t-40 -99q-6 -111 -23.5 -222.5t-51 -218t-87 -205 t-128.5 -184.5zM713 209q0 -70 49 -119t119 -49q18 0 18 20t-18 21q-53 0 -91 37t-38 90q0 20 -19 20q-20 0 -20 -20z" />
|
192 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 573q0 33 23 56l143 139l-143 139q-23 23 -23 56q0 25 16.5 45t40.5 26l195 49q-6 18 -15.5 48t-18.5 61t-16 59.5t-7 46.5q0 31 21.5 52.5t51.5 21.5q18 0 47 -7t60 -16.5t60.5 -18.5t47.5 -15l49 194q6 25 27 41.5t45 16.5q35 0 53 -23l142 -143l139 143q23 23 53 23 q27 0 47.5 -15.5t26.5 -42.5l49 -194q18 6 48 15t60.5 18.5t59.5 16.5t47 7q29 0 51.5 -21.5t22.5 -52.5q0 -18 -7 -46.5t-16.5 -59.5t-18.5 -60.5t-15 -48.5l194 -49q25 -6 41 -26.5t16 -44.5q0 -33 -22 -56l-145 -139l145 -139q23 -23 22 -56q0 -25 -16 -45t-41 -26 l-194 -49q6 -18 15 -48t18.5 -61t16.5 -59.5t7 -46.5q0 -29 -21.5 -51.5t-52.5 -22.5q-18 0 -47 7t-59.5 16.5t-60 18.5t-48.5 15l-49 -194q-6 -25 -26.5 -41.5t-45.5 -16.5q-33 0 -55 23l-139 143l-142 -143q-18 -23 -53 -23q-25 0 -45 16.5t-27 41.5l-49 194 q-18 -6 -47.5 -15t-60.5 -18.5t-59.5 -16.5t-47.5 -7q-31 0 -52 22.5t-21 51.5q0 18 7 46.5t16 59.5t18.5 60.5t15.5 48.5l-195 49q-25 6 -41 26.5t-16 44.5z" />
|
193 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 193v643q0 49 35 83.5t84 34.5h348q27 14 42 30.5t34 39.5q16 20 33.5 38.5t33.5 37.5q35 35 77 68.5t65 74.5q25 43 29.5 99.5t17 106.5t44 84t109.5 34q61 0 111.5 -25.5t85.5 -68.5t54.5 -98.5t19.5 -112.5q0 -53 -15.5 -104.5t-38.5 -98.5h134l376 -2 q49 0 93.5 -17.5t76 -49.5t50 -75t18.5 -94q0 -49 -18.5 -92t-50 -74.5t-75.5 -49t-94 -17.5h-200q-10 -59 -39 -107q10 -59 -7.5 -117.5t-56.5 -103.5q0 -76 -28.5 -131t-75.5 -90t-109.5 -52.5t-132.5 -17.5q-78 0 -148.5 16.5t-136 36t-128 36t-123.5 16.5h-375 q-49 0 -84 34.5t-35 84.5zM233 276q0 -35 22.5 -57t57.5 -22q33 0 56.5 22.5t23.5 56.5q0 33 -23.5 56.5t-56.5 23.5q-35 0 -57.5 -23.5t-22.5 -56.5zM489 193q70 0 136.5 -16.5t133 -35t133 -35t138.5 -16.5q43 0 84 8t72 27.5t50 52.5t19 82q0 14 -1 26.5t-3 24.5 q35 16 53.5 53t18.5 74q0 39 -20 68q59 49 59 123q0 23 -12.5 43.5t-26.5 34.5q90 0 178 1t178 1q51 0 84 30.5t33 81.5q0 53 -32.5 85t-84.5 32q-172 0 -340 1t-338 1q0 41 16.5 78t35 74.5t34 78.5t15.5 91q0 33 -10.5 65.5t-29 59t-46 44t-64.5 17.5h-11t-11 -2 q-8 -4 -9 -8t-3 -13q-12 -59 -22.5 -123.5t-39.5 -117.5q-29 -51 -73 -88t-85 -78q-29 -31 -49 -56.5t-41.5 -48t-48.5 -42t-65 -35.5h-5v-643z" />
|
194 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 821q0 51 18.5 94t50 75t75.5 49.5t94 17.5l376 2h134q-23 47 -38.5 98t-15.5 105q0 57 19.5 112.5t54.5 98.5t85 68.5t112 25.5q78 0 109.5 -34t43.5 -84t17.5 -106.5t29.5 -99.5q23 -41 65 -74.5t77 -68.5q16 -18 33.5 -37t33.5 -39q18 -23 33.5 -39t42.5 -31h348 q49 0 84 -34.5t35 -83.5v-643q0 -49 -35 -84t-84 -35h-375q-61 0 -123.5 -16.5t-128 -36t-136 -36t-148.5 -16.5q-70 0 -132.5 17.5t-109.5 52.5t-75.5 90t-28.5 131q-39 45 -56.5 103.5t-7.5 117.5q-29 47 -39 107h-200q-49 0 -93.5 17.5t-76 49t-50 74.5t-18.5 92z M121 821q0 -51 32.5 -81.5t84.5 -30.5q90 0 178 -1t178 -1q-14 -14 -26.5 -35t-12.5 -43q0 -74 59 -123q-20 -29 -20 -68q0 -37 18.5 -73.5t53.5 -53.5q-2 -12 -3 -24.5t-1 -26.5q0 -49 19 -82t50 -52.5t72 -27.5t84 -8q70 0 137.5 16.5t134 35t133 35t135.5 16.5v643h-4 q-41 16 -66.5 35.5t-47 42t-42 48t-48.5 56.5q-41 41 -85 78t-73 88q-29 53 -39 117.5t-23 123.5q-2 8 -3 12.5t-9 8.5q-4 2 -11 2h-11q-37 0 -65 -17.5t-46 -44t-28.5 -59.5t-10.5 -65q0 -49 15.5 -90.5t34 -79t34.5 -74.5t16 -78q-170 0 -337.5 -1t-339.5 -1 q-51 0 -84 -32t-33 -85zM1524 276q0 -35 23.5 -57t56.5 -22q35 0 57 22.5t22 56.5q0 33 -22.5 56.5t-56.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
|
195 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 602q0 61 25.5 111.5t68.5 85.5t98.5 54t112.5 19q53 0 104.5 -15t98.5 -38v133l2 377q0 49 17.5 93t49 76t74.5 50.5t94 18.5q49 0 92.5 -18.5t75 -50.5t49 -76t17.5 -93v-201q59 -10 106 -38q59 10 118 -7.5t104 -56.5q76 0 131 -28.5t90 -76t52 -109.5t17 -132 q0 -78 -16 -148.5t-35.5 -136t-36 -128t-16.5 -124.5v-374q0 -49 -35 -84t-84 -35h-643q-49 0 -84 34.5t-35 84.5v348q-14 27 -30.5 42t-38.5 34q-20 16 -39 33.5t-37 33.5q-35 35 -68.5 77t-74.5 64q-43 25 -99.5 30t-106.5 17.5t-84 44t-34 109.5zM120 591q-1 -7 1 -11 q4 -8 8 -9.5t12 -3.5q59 -12 124 -22t118 -39q51 -29 88 -73t78 -85q31 -29 56.5 -49t48 -41.5t42 -48.5t35.5 -66v-4h643q0 70 16.5 136.5t35 133t35 133t16.5 138.5q0 43 -8.5 84t-28 71.5t-52 50t-81.5 19.5q-14 0 -26.5 -1t-25.5 -3q-16 35 -53 53.5t-74 18.5 q-39 0 -67 -21q-49 59 -123 60q-23 0 -43.5 -12.5t-34.5 -26.5q0 90 -1 178t-1 178q0 51 -30.5 84t-82.5 33q-53 0 -84.5 -33t-31.5 -84q0 -172 -1 -340t-1 -338q-41 0 -78 16.5t-75 35t-79 34t-90 15.5q-33 0 -65.5 -10.5t-59 -29t-43 -46t-16.5 -64.5q0 -4 -1 -11z M1210 -37q0 -35 23.5 -57.5t56.5 -22.5q35 0 57.5 22.5t22.5 57.5q0 33 -22.5 56.5t-57.5 23.5q-33 0 -56.5 -23.5t-23.5 -56.5z" />
|
196 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 584q0 78 34 109.5t84 44t106.5 17.5t99.5 29q41 23 74.5 65t68.5 77q18 16 36.5 33.5t39.5 33.5q23 18 39 33.5t30 42.5v348q0 49 35 84t84 35h643q49 0 84 -35t35 -84v-375q0 -61 16.5 -123.5t36 -128t35.5 -136t16 -148.5q0 -70 -17 -132.5t-52 -109.5t-90.5 -75.5 t-130.5 -28.5q-45 -39 -103.5 -56.5t-118.5 -7.5q-47 -29 -106 -39v-200q0 -49 -17.5 -93.5t-49 -76t-74.5 -50t-93 -18.5q-51 0 -94 18.5t-74.5 50t-49 75.5t-17.5 94l-2 376v134q-47 -23 -98.5 -38.5t-104.5 -15.5q-57 0 -112.5 19.5t-98.5 54.5t-68.5 85t-25.5 112z M120 595q1 -7 1 -11q0 -37 16.5 -64.5t43 -46t59 -29t65.5 -10.5q49 0 90 15.5t79 34t75 35t78 16.5q0 -170 1 -338t1 -340q0 -51 31.5 -84t84.5 -33q51 0 82 32.5t31 84.5q0 90 1 178t1 178q14 -14 34.5 -26.5t43.5 -12.5q74 0 123 59q29 -20 67 -20q37 0 74 18.5t53 53.5 q12 -2 24.5 -3t27.5 -1q49 0 81.5 19t52 50t28 72t8.5 84q0 70 -16.5 137.5t-35 134t-35 133t-16.5 136.5h-643v-5q-16 -41 -35.5 -66.5t-42 -47t-48 -42t-56.5 -48.5q-41 -41 -78 -85t-88 -73q-53 -29 -117.5 -39t-124.5 -23l-12 -3t-8 -9q-2 -4 -1 -11zM1210 1223 q0 -33 23.5 -56.5t56.5 -23.5q35 0 57.5 23.5t22.5 56.5q0 35 -22.5 57.5t-57.5 22.5q-33 0 -56.5 -23t-23.5 -57z" />
|
197 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l490 -490q20 -20 48.5 -20t49.5 20l74 74q20 20 20 48 t-20 50l-246 246h612q29 0 49.5 19.5t20.5 48.5v104q0 29 -20.5 49.5t-49.5 20.5h-612l246 246q20 20 20 48.5t-20 49.5l-74 74q-20 20 -48 20t-50 -20l-490 -490q-20 -20 -20 -49z" />
|
198 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 717q0 -29 20.5 -49.5t48.5 -20.5h613l-246 -246q-20 -20 -20.5 -48.5 t20.5 -49.5l74 -74q20 -20 47.5 -20t50.5 20l489 490q20 20 20.5 49t-20.5 49l-489 490q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20.5 -48t20.5 -50l246 -246h-613q-29 0 -49 -19.5t-20 -48.5v-104z" />
|
199 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 768q0 -29 20 -49l74 -74q20 -20 48 -20t50 20l246 246v-612q0 -29 19.5 -49.5 t47.5 -20.5h105q29 0 49.5 20.5t20.5 49.5v612l245 -246q20 -20 49 -20t50 20l73 74q20 20 20.5 48t-20.5 50l-489 490q-20 20 -49 20t-49 -20l-490 -490q-20 -20 -20 -49z" />
|
200 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5t-311.5 62.5t-254 171t-171 254t-62.5 311.5zM240 769q0 -28 20 -50l490 -490q20 -20 48.5 -20t49.5 20l489 490q20 20 20.5 49 t-20.5 49l-73 74q-20 20 -48 20t-51 -20l-245 -246v612q0 29 -19.5 49.5t-48.5 20.5h-104q-29 0 -49.5 -20.5t-20.5 -49.5v-612l-246 246q-20 20 -49 20t-49 -20l-74 -74q-20 -20 -20 -48z" />
|
201 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 162 63.5 307.5t173 255t254 173t308.5 63.5q162 0 307 -63.5t254.5 -173t173 -255t63.5 -307.5q0 -164 -63.5 -308.5t-173 -254t-254.5 -173t-307 -63.5q-164 0 -308.5 63.5t-254 173t-173 254t-63.5 308.5zM186 1141h4q4 0 12.5 3t8.5 -9q0 -4 -3 -10.5 t11 -6.5q4 0 5 6t3 0l4 -16v-2q0 -4 -5 -6t-3 -6q4 -4 9.5 -4h9.5l4 2l2 2q0 -6 6 -8.5t10 -2.5h2q0 -2 -4 -4t0 -6l23 -4v-2l14 -29q0 -4 -3 -10t-7 -6t-3 3t1 7t-2 7t-15 3q-2 0 -5 -1t-1 -5l12 -26l3 -2l2 -2q-10 0 -13.5 -24t-3.5 -34l4 -18l2 -6v-4l-4 -19l29 -43h6 q2 -4 -2 -8t-2 -8l8 -8q0 -10 4 -14.5t13 -12.5q-2 -12 20.5 -22.5t28.5 -14.5q8 -23 20 -45.5t29 -38.5l2 -14q0 -2 -5 -4t-1 -6l16 -7q4 4 10.5 -8t10.5 -16l-2 -6l12 -17l6 -2l4 8q-4 10 -14 26.5t-20.5 32t-17.5 28t-7 14.5t-2 16t-4 17q6 -4 15 -7.5t15 -7.5 q4 -25 19.5 -40t27.5 -34q-4 -4 0 -5t7 -1q4 -4 4 -14q14 -16 36.5 -44t22.5 -44v-2l-4 -14q6 -16 20.5 -25.5t28.5 -15.5h4q20 -10 41 -21.5t43 -19.5l23 14q8 -2 17 -10t20.5 -18.5t27 -19.5t35.5 -11q14 10 14 -5v-4l25 -30l4 -15q10 -6 20.5 -15t16.5 -20h4 q10 0 16.5 -9t16.5 -9q6 0 6 6q0 14 2 18.5t5 5.5t6 1t3 4l-4 6q-4 0 -6 -5t-6 -1l-14 -8l-17 4l-24 41l8 57q2 4 -7.5 9t-5.5 10q-14 8 -34 8q-4 0 -20.5 -3t-16.5 3t3 16t7 21.5t6 19.5t2 10l13 27l-3 4l-16 4q-4 0 -13 -6t-17.5 -14.5t-14.5 -16.5t-6 -14l-45 -10 q-14 0 -23 12q-4 16 -17 35.5t-13 34.5q0 23 8 43t-6 43q2 0 5 2t1 6l12 14l2 2l2 -2q14 10 37 7t29 14l16 -13q4 -2 9 4.5t5 10.5l-8 4l39 10l2 -6l19 2l22 -14q4 0 8 5t9 1l20 -21q-4 -8 -1 -12t3 -8q0 -6 10.5 -27.5t18.5 -21.5q10 0 9 13t-1 17q0 20 -8 39t-15 39v6 q0 10 12.5 17.5t12.5 9.5q10 8 22.5 16t18.5 19l8 16v10h6t4 6q0 2 -3 3.5t-7 5.5q-4 2 -8 6l6 4q4 6 6 15t-2 16l15 8q-2 -6 4 -8t10 0l10 16q-4 10 -5 7t5 7q10 4 19.5 9.5t19.5 5.5q2 -2 4 -2q6 0 6 2q0 10 -4 12l12 25q14 0 21 12l18 2q6 2 6 8v2l35 10l4 11l-10 14 q2 0 2 4t-4 6t-7 4t-7 4l-4 -2l4 2h6h13t9 9q0 12 -14 12q-18 0 -41.5 -8.5t-32.5 -28.5l-14 -8l18 18l3 6q0 4 -9.5 5.5t-5.5 1.5q18 0 27.5 4t15.5 9t12.5 10t18.5 9q23 -4 44 -2t44 2q6 4 12 8.5t8 10.5l23 4q4 -4 12 2t8 10q0 10 -11 13t-11 14q0 2 1 6t-3 4 q-6 0 -19.5 -6t-19.5 -10q-4 -2 -5 1t-1 7l2 -2l8 4l23 8l4 4q0 6 -7.5 8t-11.5 2t-12 -3t-8 3l2 4q-12 10 -21.5 22.5t-9.5 16.5t1 8.5t-5 4.5q-4 0 -7 -1t-3 5q0 4 -5 17t-14 13l-8 -8q0 -6 -6 -9t-6 -7h-4l-21 -12q-2 4 -5 2t-7 -2h-2l-2 -2q8 0 7 9t-7 9l-16 -4 q-4 0 -4.5 1t2 4t4.5 7t0 8t-6.5 1t-4.5 1h6l5 5q2 2 -1.5 7t-5.5 7l-22 4l-14 12q-2 -2 -7.5 3t-9.5 7l-16 -6l-39 9q-4 0 -8 -2.5t-4 -6.5t4 -6t4 -6t3 -21.5t-5 -13.5l-10 -14q2 -4 7 -7t10 -7.5t9 -10.5t2 -18l-45 -31v-4q0 -8 4 -15t8 -18q10 -4 9.5 -7t-7 -6t-12.5 -6 t-6 -5t-4 -2h-8h-4q0 2 2 3t2 5l-19 12v-2l-8 16q4 10 1 14.5t-3 10.5q0 16 -14.5 16t-30.5 -4q4 2 -1 6.5t-7 4.5q-16 0 -38 14t-36 14q-6 0 -14 -2t-15 -4q4 2 5 10l-13 23l-2 2q-6 0 -14 -5t-8 9q0 2 2 4t0 4q-2 12 5 20.5t11 18.5q4 4 4 8t4 4q8 0 15.5 4.5t17.5 6.5 l2 6q0 4 -21.5 7t-21.5 7l2 2q20 -6 30.5 -7t17.5 2t16.5 8t29.5 14q0 4 -21.5 8t-27.5 8h12q4 0 10.5 -2t10.5 -4q0 -4 6 -5t10 -1l15 10v6l-4 6l22 4q-2 2 1 4t5 2q6 0 12.5 -6t8.5 -6l20 8q-2 2 5.5 3t4.5 6l-14 16q-2 0 -3 3t1 3q10 0 6 10q-8 4 -17 9.5t-20 5.5 q-4 0 -9 -2t-5 -7q0 -4 5 -4t7 -4q4 -4 -2 -4t-6 -2q-8 0 -15 -12t-18 -17q-4 0 -3 2.5t-1 4.5q-2 4 -7 5t-5 5t5 13t-13 9q-8 0 -11.5 -6t-7.5 -12l-22 25l-17 2q0 8 3.5 14t-9.5 16q-6 4 -11 7.5t-11 3.5q-2 0 -9.5 -4.5t-13.5 -8.5t-6 -8t10 -4h-2q-6 0 -6 -8 q0 -2 9.5 -5t13.5 -3q4 2 6 -1.5t6 -3.5l8 3v-5q-2 -2 -2 -4l2 -8l-20 -10q-2 -2 -4 -2t-5 -2q0 -6 5.5 -12.5t-11.5 -6.5l-6 4q0 8 -16.5 13.5t-40 7.5t-47 3t-35.5 1l-33 -10l8 -19q-4 0 -5 -3t3 -5q-4 4 -15 14.5t-15 10.5l-17 4q-35 -2 -78 -33t-84 -72t-75.5 -84 t-53.5 -71zM471 674h2h-2zM487 1413q14 2 25.5 8t24.5 6l6 -4q6 -2 11 -2t9 -4q8 2 17 -2l6 4v8l-2 5l6 -2q6 0 12 10l-2 4q-4 2 -10 4t-10 2t-16.5 -5t-28 -11.5t-29.5 -12.5t-19 -8zM918 86q0 -4 3 -9t3 -9q0 -5 -2 -7q115 20 217 74.5t182 140.5h-2q-8 -4 -14 0l-5 -4 l-12 4h-4l-4 -8l2 8q-6 8 -14 15l-4 2q-4 0 -4 -8q2 16 -8.5 27.5t-26.5 11.5q0 -2 -2 -2h-4l-5 4h7l4 12l-11 8l-2 -2q-14 2 -20 16l-4 2l-2 -2l-4 -2q-12 -4 -21 -8q-12 4 -18 10l-27 -2q0 6 -4 12.5t-12 6.5q-10 0 -20.5 -2t-14.5 -13q0 -4 2 -8t4 -6v-8l-2 -6l-4 -2h-2 l-6 16l6 10q-2 4 -2 10.5t-2 10.5l-2 4h-6l-15 -10h-8l-4 -4q-2 -2 -2 -4t-2 -3l-2 3h-8q-8 -8 -9 -19l3 -4l-9 -6l-2 -4l-6 -4q0 -2 -1 -2t-1 -2v-2v-9l-2 -2v4l-2 2q-2 12 -23 21h-6v-4q2 -6 8.5 -10.5t10.5 -8.5q-2 2 -5 1t-3 -3v-4l14 -20v-39l4 -10q-4 -16 -16 -27v2 l-4 -2l-3 -2l-2 -10l2 -2v-2l-4 4l-2 -13l-12 -4q-6 -4 -5 -11t-5 -11l2 -4l-6 -6q0 -4 -1 -6.5t-1 -6.5l2 -14l6 -4l4 4l2 6l2 -12q0 -4 -4 -8q-6 -4 -12 -9.5t-6 -15.5z" />
|
202 |
+
<glyph unicode="" horiz-adv-x="1593" d="M8 242q0 33 12.5 62.5t34.5 51.5l609 609q-16 66 -17 122q0 98 38 186.5t102.5 153t151.5 102.5t185 38q94 0 181.5 -36t154.5 -101l-442 -162l-43 -236l184 -153l443 159q-10 -92 -50.5 -171t-104 -137t-145 -91t-174.5 -33q-61 0 -127 17l-606 -607q-47 -47 -112 -47 q-68 0 -115 47q-23 23 -50.5 47.5t-52 52t-41 58.5t-16.5 68zM203 242q0 -33 22.5 -56.5t57.5 -23.5q33 0 56 23.5t23 56.5q0 35 -23.5 57.5t-55.5 22.5q-35 0 -57.5 -23t-22.5 -57z" />
|
203 |
+
<glyph unicode="" d="M0 76v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM0 662v215q0 31 22.5 53t53.5 22h1689q33 0 55.5 -22.5t22.5 -52.5v-215q0 -33 -22.5 -55.5t-55.5 -22.5h-1689 q-31 0 -53.5 22.5t-22.5 55.5zM0 1243v217q0 31 22.5 53.5t53.5 22.5h1689q33 0 55.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-55.5 -22.5h-1689q-31 0 -53.5 22.5t-22.5 53.5zM752 692h999v154h-999v-154zM1059 109h692v153h-692v-153zM1366 1274h385v153h-385v-153z " />
|
204 |
+
<glyph unicode="" horiz-adv-x="1566" d="M0 1458q0 33 22.5 55.5t55.5 22.5h1411q33 0 55.5 -22.5t22.5 -55.5t-23 -55l-565 -565v-791q0 -33 -22.5 -55.5t-55.5 -22.5t-55 23l-236 235q-23 23 -22 56v555l-565 565q-23 23 -23 55z" />
|
205 |
+
<glyph unicode="" d="M0 115v512h713q-2 -6 -2 -19v-153q0 -55 38.5 -95.5t96.5 -40.5h153q55 0 94.5 40t39.5 96v153q0 12 -3 19h713v-512q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM0 743v371q0 47 34 81t81 34h424v231q0 31 21.5 53.5t53.5 22.5h615q33 0 55.5 -22.5 t22.5 -53.5v-231h422q47 0 80.5 -34t33.5 -81v-371h-1843zM692 1229h461v153h-461v-153zM825 455v153q0 18 21 19h153q18 0 19 -19v-153q0 -18 -19 -19h-153q-20 0 -21 19z" />
|
206 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 80v477q0 51 24.5 61.5t59.5 -24.5l162 -162l340 338l-338 338l-164 -164q-35 -35 -59.5 -25.5t-24.5 60.5v477q0 31 23 57q27 23 57 23h477q51 0 61.5 -24.5t-24.5 -59.5l-160 -158l338 -338l332 334l-162 162q-35 35 -24.5 59.5t61.5 24.5h477q33 0 55 -23 q25 -25 25 -57v-477q0 -51 -24.5 -61.5t-59.5 24.5l-162 162l-334 -334l338 -336l158 160q35 35 59.5 24.5t24.5 -61.5v-477q0 -35 -25 -55q-23 -25 -55 -25h-477q-51 0 -61.5 24.5t24.5 59.5l166 166l-336 336l-340 -340l162 -162q35 -35 24.5 -59.5t-61.5 -24.5h-477 q-31 0 -55 25q-25 20 -25 55z" />
|
207 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 852v152q0 18 1 47.5t10 56.5t29.5 46.5t57.5 19.5q-45 29 -71.5 75.5t-26.5 104.5q0 43 16.5 82t46 68.5t68.5 46t82 16.5q45 0 84 -16.5t67.5 -46t46 -68.5t17.5 -82q0 -57 -27.5 -104t-72.5 -76q37 0 57.5 -19.5t29.5 -46.5t11 -56.5t2 -47.5v-152 q-14 -8 -23.5 -18.5t-27.5 -10.5h-328q-16 0 -26.5 10.5t-22.5 18.5zM158 57v387q0 78 45 138.5t98 109.5q10 10 25.5 21.5t33.5 15.5q18 6 41 7t45 5q61 10 130 19.5t135 19.5q-90 57 -144.5 151.5t-54.5 207.5q0 88 34 166.5t92 136t136 91.5t166 34t166 -34t136 -91.5 t92 -136t34 -166.5q0 -113 -54 -207t-145 -152q66 -10 134.5 -19t130.5 -20q23 -4 45 -5t41 -7q18 -4 33.5 -15.5t27.5 -21.5q66 -59 103.5 -116.5t37.5 -131.5v-387q-12 -6 -20 -13t-18.5 -14t-23.5 -14.5t-36 -15.5h-1368q-35 0 -54.5 22.5t-43.5 34.5zM1452 852v152 q0 18 2 47.5t11.5 56.5t30 46.5t56.5 19.5q-45 29 -72.5 75.5t-27.5 104.5q0 43 16.5 82t46 68.5t68.5 46t84 16.5q43 0 82 -16.5t68.5 -46t46 -68.5t16.5 -82q0 -57 -26.5 -104t-71.5 -76q37 0 56.5 -19.5t28.5 -46.5t11 -56.5t2 -47.5v-152q-12 -8 -22.5 -18.5 t-26.5 -10.5h-328q-18 0 -27.5 10.5t-23.5 18.5z" />
|
208 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 1137q0 88 34 166.5t92 137t136 92.5t168 34q86 0 166 -33t139 -92q8 -8 21.5 -20.5t26 -25t21.5 -25.5t9 -25q0 -18 -12 -31q-6 -8 -25 -12q-47 -10 -88 -22.5t-86 -31.5q-4 -4 -16 -4t-25.5 10.5t-31 21.5t-42 21.5t-57.5 10.5q-35 0 -66.5 -13.5t-54 -37t-36 -54 t-13.5 -67.5q0 -41 17.5 -75t43 -63.5t56.5 -56.5t57 -53l180 -178q23 -25 54.5 -37t66.5 -12q43 0 73 16t46 16q12 0 39 -21.5t55.5 -49t50 -55t21.5 -42.5q0 -29 -36 -51t-83 -38.5t-94 -26t-72 -9.5q-86 0 -164.5 33t-140.5 92l-303 305q-61 59 -94 139.5t-33 166.5z M578 1010q0 29 35.5 51t82.5 38.5t94 26t72 9.5q86 0 166 -33t139 -92l303 -305q61 -59 94 -139.5t33 -166.5q0 -90 -33.5 -167.5t-92 -136t-137.5 -92.5t-167 -34q-86 0 -165.5 34t-139.5 93q-8 8 -21.5 19.5t-25.5 25t-21.5 26.5t-9.5 26q0 18 13 28q6 8 24 12 q47 10 88 22.5t86 33.5q12 4 17 4q12 0 25.5 -10.5t30.5 -21.5t41 -21.5t58 -10.5q72 0 121 49.5t49 120.5q0 41 -17 76t-44 63.5t-56.5 55.5t-56.5 53l-178 180q-53 49 -123 50q-43 0 -72.5 -17.5t-46.5 -17.5q-12 0 -38.5 21.5t-55 49t-50 56t-21.5 41.5z" />
|
209 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 391q0 70 23.5 132.5t64.5 113.5t96.5 86t120.5 51q-33 41 -51 90t-18 105q0 66 24.5 123t66.5 99t99 66.5t123 24.5q113 0 196 -72q18 76 61.5 141.5t103 113.5t133 75t157.5 27q96 0 182 -37t149.5 -100.5t100.5 -149.5t37 -182q0 -57 -13 -109.5t-36 -99.5 q117 -59 188.5 -170t71.5 -248q0 -98 -37 -183t-101.5 -149.5t-149.5 -101.5t-183 -37h-1018q-80 0 -151.5 30.5t-125 84t-84 125t-30.5 151.5z" />
|
210 |
+
<glyph unicode="" horiz-adv-x="1536" d="M16 72q-39 72 7 141l516 803v366h-78q-33 0 -54.5 22.5t-21.5 55.5q0 31 21.5 53.5t54.5 22.5h614q33 0 55.5 -22.5t22.5 -53.5q0 -33 -22.5 -55.5t-55.5 -22.5h-76v-368l514 -801q45 -70 7 -141q-18 -35 -51 -53.5t-70 -18.5h-1262q-37 0 -69.5 18.5t-51.5 53.5z M377 479h782l-313 490v413h-154v-411z" />
|
211 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 180q0 86 44 168t113.5 146.5t154.5 103.5t169 39h13q18 25 57 60.5t63 58.5v12v12q-12 12 -28.5 27.5t-35 32t-33.5 32t-23 27.5q-84 -6 -172.5 33t-160 105.5t-116.5 150.5t-45 168q0 98 62.5 154.5t160.5 56.5q82 0 168 -39t155.5 -103.5t114 -146.5t44.5 -168 q0 -10 -1.5 -21.5t-3.5 -21.5l86 -76l34 17q34 18 90.5 46.5t129 65.5t148.5 76t150.5 77t135 69.5t102.5 52t52 26.5q16 8 37 9q14 0 39 -4.5t52.5 -9.5t53 -11t41.5 -8q29 -4 47.5 -26.5t18.5 -51.5q0 -43 -35 -66l-700 -485l700 -485q35 -23 35 -66q0 -29 -18.5 -51.5 t-47.5 -26.5q-16 -4 -41.5 -9t-53 -10t-52.5 -9.5t-39 -4.5q-10 0 -18.5 2.5t-18.5 6.5l-842 430l-86 -76q2 -10 3.5 -21.5t1.5 -21.5q0 -86 -44.5 -168t-114 -146.5t-155.5 -103.5t-168 -39q-98 0 -160.5 56.5t-62.5 154.5zM197 1358q0 -23 11 -49.5t27.5 -51t35 -45 t34.5 -34.5q35 -29 82 -54.5t94 -25.5q10 0 27 4v6q0 23 -11.5 48.5t-27.5 50t-34.5 46t-35.5 35.5q-35 29 -82 54.5t-94 25.5q-14 0 -26 -4v-6zM199 180q0 -6 2 -10q6 0 11 -1t11 -1q41 0 90 24.5t92.5 61.5t72 83t28.5 89q0 4 -1 5t-1 5q-8 2 -23 2q-41 0 -90 -24.5 t-92 -61.5t-71.5 -83t-28.5 -89zM586 616q53 -25 82 -69l108 96l45 -27l1016 703l-172 31l-975 -498l6 -127zM586 920l35 -35q12 29 36.5 41t53.5 26l-43 37q-29 -45 -82 -69zM741 768q0 35 23.5 57.5t58.5 22.5q33 0 55.5 -22.5t22.5 -57.5q0 -33 -22.5 -56.5t-57.5 -23.5 q-33 0 -56.5 23.5t-23.5 56.5zM903 575l762 -389l172 31l-727 502z" />
|
212 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 385v707q0 33 16.5 70.5t38.5 60.5l258 258q23 23 61 39t70 16h463q31 0 53.5 -22.5t22.5 -53.5v-250q16 8 35.5 13.5t40.5 5.5h463q31 0 53 -22.5t22 -53.5v-1075q0 -33 -22.5 -55.5t-52.5 -22.5h-830q-33 0 -55.5 22.5t-22.5 55.5v229h-536q-33 0 -55.5 22.5 t-22.5 55.5zM154 461h460v293q0 45 10.5 87t45.5 74l159 162v305h-278v-321q0 -31 -22.5 -53.5t-53.5 -22.5h-321v-524zM186 1139h211v211zM768 154h676v921h-279v-321q0 -31 -22.5 -53.5t-52.5 -22.5h-322v-524zM801 831h211v211z" />
|
213 |
+
<glyph unicode="" horiz-adv-x="1470" d="M0 1128q0 90 35 170t94 139.5t139 94.5t170 35q88 0 169 -34t143 -95l655 -656q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-655 655q-41 41 -92 61.5t-107 20.5q-57 0 -108 -21.5t-89 -59.5t-59.5 -89t-21.5 -109q0 -55 20.5 -106 t61.5 -92l745 -746q55 -55 133 -55q39 0 74 15.5t60.5 41t41 60.5t15.5 73q0 78 -56 134l-563 563q-29 29 -69 28q-41 0 -71 -29.5t-30 -70.5t29 -70l475 -475q12 -12 12 -28q0 -10 -11 -26.5t-26.5 -32t-32 -27t-26.5 -11.5q-16 0 -29 13l-475 473q-35 37 -55.5 85 t-20.5 99q0 53 20.5 100.5t55.5 83t83.5 56t101.5 20.5q51 0 99 -20.5t85 -55.5l561 -563q102 -102 102 -246q0 -74 -27.5 -137t-74.5 -110t-110.5 -75t-137.5 -28q-143 0 -246 103l-745 745q-61 61 -95 142t-34 169z" />
|
214 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 154v1228q0 63 45 108.5t109 45.5h1075q63 0 108 -45l154 -154q45 -45 45 -108v-1075q0 -63 -45 -108.5t-109 -45.5h-1228q-63 0 -108.5 45t-45.5 109zM154 846h1075v536h-1075v-536zM846 922v385h190v-385h-190z" />
|
215 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-1150q-80 0 -136.5 56.5t-56.5 136.5z" />
|
216 |
+
<glyph unicode="" d="M0 78v215q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-215q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM0 659v218q0 31 22.5 53t55.5 22h1689q31 0 53.5 -22.5t22.5 -52.5v-218q0 -31 -22.5 -53t-53.5 -22h-1689 q-33 0 -55.5 22.5t-22.5 52.5zM0 1243v217q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-217q0 -31 -22.5 -53.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 53.5z" />
|
217 |
+
<glyph unicode="" d="M0 211q0 39 15.5 75t41 61.5t60.5 40.5t76 15q39 0 73.5 -15t61 -40.5t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-80 0 -136.5 56.5t-56.5 136.5zM0 768q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75 q0 -41 -15.5 -76t-42 -60.5t-61.5 -41t-73 -15.5q-41 0 -76 15.5t-60.5 41t-41 60.5t-15.5 76zM0 1325q0 39 15.5 75t41 61.5t60.5 41t76 15.5q39 0 73.5 -15.5t61 -41t42 -61.5t15.5 -75q0 -41 -15.5 -76t-42 -60.5t-61.5 -40.5t-73 -15q-41 0 -76 15t-60.5 40.5t-41 60.5 t-15.5 76zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5 h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z" />
|
218 |
+
<glyph unicode="" d="M0 594q0 55 30.5 90t68.5 61.5t69 50t31 56.5q0 29 -17.5 44t-46.5 15q-25 0 -44 -15t-34 -36l-53 37q23 39 58.5 60.5t78.5 21.5q55 0 96.5 -32t41.5 -91q0 -49 -30 -80t-67 -55.5t-67.5 -47t-30.5 -55.5h143v54h66v-115h-289q-2 10 -3 18.5t-1 18.5zM4 55l37 54 q6 -4 12 -10.5t15 -10.5q12 -8 29.5 -14t37.5 -6q35 0 55.5 18t20.5 47q0 31 -23.5 48.5t-58.5 17.5h-23l-16 37l90 108l6 6t7 6l4 6h-9q-4 -2 -14 -2h-92v-49h-66v111h263v-53l-97 -115q41 -6 74 -35t33 -82t-38 -95t-110 -42q-35 0 -60.5 9t-41.5 20q-25 14 -35 26z M14 1434l105 102h67v-360h93v-62h-259v62h93v258v8h-2q-10 -16 -22.5 -28.5t-29.5 -27.5zM522 154v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -54.5t-53.5 -21.5h-1167q-33 0 -55.5 21.5t-22.5 54.5zM522 711v114q0 33 22.5 55.5 t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5zM522 1268v114q0 33 22.5 55.5t55.5 22.5h1167q31 0 53.5 -22.5t22.5 -55.5v-114q0 -33 -22.5 -55.5t-53.5 -22.5h-1167q-33 0 -55.5 22.5t-22.5 55.5z " />
|
219 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 692v152h1536v-152h-1536zM268 1114q0 117 44 202t118 141t170 83t203 27q88 0 176 -20.5t172 -49.5q20 -72 27.5 -156t7.5 -157q0 -10 -1 -22.5t-3 -24.5l-13 -2q-23 2 -50 2t-50 6q-18 59 -44 114.5t-62.5 98.5t-88 68.5t-122.5 25.5q-49 0 -94.5 -13.5t-80 -40 t-56 -66.5t-21.5 -93q0 -59 28.5 -102t75.5 -75t105.5 -54.5t118 -42t113.5 -39t93 -41.5h-696q-33 53 -51.5 110.5t-18.5 120.5zM285 310v63v45l110 2q31 -72 64 -134.5t76 -108.5t104 -71.5t152 -25.5q55 0 110 16.5t100.5 48t74 78.5t28.5 109q0 76 -49 128t-119 88 t-146.5 59.5t-132.5 45.5h617q8 -16 15 -38.5t10.5 -48t5.5 -50t2 -43.5q0 -131 -47.5 -226t-127 -156.5t-186 -91.5t-225.5 -30q-53 0 -93 4t-78 12.5t-78 20.5t-93 29q-12 4 -38 12t-36 16q-8 6 -12 50.5t-6 96.5t-2 100z" />
|
220 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 0v154h1536v-154h-1536zM0 1532q10 2 19.5 2h19.5q72 0 140.5 -5t137.5 -5q100 0 200.5 2t199.5 6q-4 -16 -1 -36.5t3 -37.5v-8q-66 -10 -108 -7t-65.5 -5t-32.5 -39t-9 -109q0 -137 4 -272t10 -273q8 -147 88 -237t238 -90q125 0 207 29.5t131 88t69.5 146.5t20.5 203 q0 20 -2 65t-5 102.5t-8.5 119t-11.5 113.5t-13 89t-15 45q-33 33 -78 33q-6 0 -23.5 -1t-36 -1t-34 1t-21.5 3l2 82q82 4 163 -3t165 -7q39 0 77.5 5t79.5 5q4 0 9.5 -1t9.5 -1q2 -12 4 -24.5t2 -24.5t-4 -29q-23 -6 -52.5 -8t-58 -7t-48 -16.5t-19.5 -38.5q0 -14 1 -27 t3 -28q2 -6 5 -38.5t5 -79t4 -101.5t4 -103t3 -85t1 -50q0 -37 -2 -80.5t-8 -89t-17.5 -87.5t-29.5 -74q-41 -68 -104.5 -114t-137 -72.5t-153.5 -38t-154 -11.5q-72 0 -144.5 9.5t-140.5 35.5q-96 35 -151 88.5t-84 121t-36 148.5t-7 173v321v42t-1 62.5t-5 60.5t-10 38 q-12 16 -37 23.5t-53.5 10.5t-56.5 3t-44 4z" />
|
221 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h460v335h-460v-335zM154 565h460v332h-460v-332zM154 975h460v332h-460v-332zM692 154h461v335h-461v-335zM692 565h461v332h-461v-332z M692 975h461v332h-461v-332zM1229 154h461v335h-461v-335zM1229 565h461v332h-461v-332zM1229 975h461v332h-461v-332z" />
|
222 |
+
<glyph unicode="" d="M0 197q0 39 29 61l1579 1247q20 17 47 17q35 0 59 -29q10 -12 29.5 -33.5t38 -44t32 -47.5t13.5 -43q0 -39 -29 -61l-1579 -1248q-20 -16 -47 -16q-37 0 -59 29q-10 12 -30 33.5t-38 44t-31.5 47t-13.5 43.5zM256 922l117 36l37 117l34 -117l119 -36l-119 -37l-34 -117 l-37 117zM373 1229l235 71l72 236l72 -236l235 -71l-235 -72l-72 -235l-72 235zM942 1382l117 37l37 117l37 -117l116 -37l-116 -36l-37 -117l-37 117zM1286 1153l94 -121l369 291l-94 121zM1536 885l117 35l37 118l36 -118l117 -35l-117 -37l-36 -117l-37 117z" />
|
223 |
+
<glyph unicode="" d="M0 358v404q0 25 6 51.5t17.5 53t27 51t31.5 40.5l223 222q16 16 41 31.5t51.5 26.5t53 17.5t51.5 6.5h80v198q0 31 22.5 53.5t52.5 22.5h1108q33 0 55.5 -22.5t22.5 -53.5v-1102q0 -31 -22.5 -53t-55.5 -22h-75v-7q0 -63 -25 -119.5t-65.5 -97.5t-97 -65.5t-120.5 -24.5 q-63 0 -119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-307v-7q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5t-119.5 24.5t-97.5 65.5t-65.5 97.5t-24.5 119.5v7h-78q-31 0 -53.5 22.5t-22.5 52.5zM193 700h387v369h-78q-10 0 -31.5 -8t-30.5 -17l-223 -221 q-8 -8 -16 -29.5t-8 -31.5v-62zM346 276q0 -47 34 -80.5t81 -33.5t80.5 33.5t33.5 80.5t-33.5 81t-80.5 34t-81 -33.5t-34 -81.5zM1268 276q0 -47 33.5 -80.5t80.5 -33.5t81 33.5t34 80.5t-33.5 81t-81.5 34q-47 0 -80.5 -33.5t-33.5 -81.5z" />
|
224 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 768q0 166 62.5 311.5t171 254t254 171t311.5 62.5t311 -62.5t254 -171t171 -254t62 -311.5t-62 -311.5t-171 -254t-254 -171t-311 -62.5q-59 0 -115.5 8.5t-112.5 24.5q23 35 46.5 80t35.5 92l11 41q6 23 16 66t29 112q23 -41 76 -70.5t118 -29.5q96 0 176 41 t136.5 114.5t88 174t31.5 217.5q0 88 -35.5 171t-102.5 147.5t-160 102t-208 37.5q-141 0 -248.5 -46t-179 -118.5t-107.5 -160.5t-36 -174q0 -104 40 -187.5t124 -117.5q31 -10 41 20q2 10 7 31.5t9 32.5q4 16 1 23t-13 22q-53 59 -53 155q0 76 27.5 145.5t78.5 122t124 84 t163 31.5q80 0 142.5 -23.5t105.5 -64.5t64.5 -96t21.5 -121q0 -86 -18.5 -164t-52.5 -136t-80 -92t-103 -34q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 76 44.5 151.5t26.5 130.5q0 49 -26.5 84t-81.5 35q-66 0 -110 -58.5t-44 -146.5q-2 -23 2 -45q2 -18 7.5 -40.5 t15.5 -41.5q-33 -141 -53.5 -225t-30.5 -131q-12 -55 -18 -80q-10 -45 -13.5 -93t-1.5 -89q-104 45 -192 119.5t-151.5 169t-98.5 207t-35 235.5z" />
|
225 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 193v1150q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5t-61.5 -41t-75 -15.5h-829q27 39 59.5 95.5t49.5 117.5l10 41q6 25 17.5 68t29.5 112q20 -41 75.5 -70.5t121.5 -29.5q96 0 176 42t137 115.5 t89 175t32 220.5q0 90 -37 173t-103.5 147.5t-161 102.5t-208.5 38q-143 0 -251 -46.5t-180.5 -120t-108.5 -162.5t-36 -175q0 -104 40 -188.5t124 -118.5q14 -6 25.5 -1t15.5 21q4 10 8 31.5t8 34.5q8 23 -12 43q-23 29 -37 67.5t-14 91.5q0 76 27.5 145.5t79 123t124 85 t164.5 31.5q82 0 144.5 -23.5t105.5 -64.5t64.5 -97t21.5 -124q0 -86 -18.5 -164t-52 -136t-81 -93t-104.5 -35q-31 0 -57.5 12.5t-45 34t-25.5 49t1 60.5q18 78 45 154.5t27 131.5q0 49 -26.5 85t-82.5 36q-66 0 -110.5 -59t-44.5 -150q-2 -23 2 -45q4 -43 22 -84 q-35 -141 -54.5 -226t-29.5 -132q-12 -55 -18 -80q-16 -70 -14 -142.5t6 -117.5h-260q-80 0 -136.5 56.5t-56.5 136.5z" />
|
226 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 342v438q55 -68 120.5 -96.5t153.5 -28.5h36t34 4q-8 -23 -14 -42t-6 -42q0 -41 18 -77.5t43 -67.5q-104 -4 -198.5 -22.5t-186.5 -65.5zM0 1214v129q0 39 15.5 75t41 61.5t60.5 41t76 15.5h1150q80 0 136.5 -56.5t56.5 -136.5v-1150q0 -41 -15.5 -76t-41 -60.5 t-61.5 -41t-75 -15.5h-583q23 39 36 81t13 89q0 70 -21.5 121t-54.5 90t-70.5 69.5t-70.5 57.5t-54.5 53.5t-21.5 59.5q0 49 34 81.5t76 72.5t75.5 99.5t33.5 163.5q0 78 -39 157t-106 122h131l133 76h-428q-129 0 -237.5 -36t-188.5 -143zM2 170q14 57 55 96t96.5 61.5 t115 33t110.5 10.5h31.5t31.5 -2q37 -27 78 -54.5t75 -61.5t55.5 -75t21.5 -92q0 -47 -19 -86h-460q-72 0 -126.5 49t-64.5 121zM102 1094q0 43 11.5 85t35 73.5t59.5 51t85 19.5q68 0 118 -41t81.5 -100.5t47 -128t15.5 -123.5q0 -45 -9 -84t-30.5 -68.5t-56.5 -47 t-84 -17.5q-66 0 -116 39t-85 96t-53.5 123.5t-18.5 122.5zM854 1051h223v-224h109v224h223v108h-223v225h-109v-225h-223v-108z" />
|
227 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 262q0 100 56.5 166t139.5 105.5t179 56t174 18.5q-23 29 -41.5 64t-18.5 76q0 23 6.5 41t14.5 40q-16 -4 -33.5 -4h-34.5q-68 0 -130 23.5t-108 66.5t-74 101.5t-28 130.5q0 68 25 128t67 109.5t98 84t120 49.5q88 18 176 18h411l-127 -74h-127q72 -43 107 -120.5 t35 -157.5q0 -94 -33 -149.5t-73 -94.5t-72.5 -70.5t-32.5 -78.5q0 -45 44 -82t97 -82t97 -107.5t44 -161.5q0 -102 -50 -175.5t-126.5 -121t-170 -70t-181.5 -22.5q-66 0 -141.5 15.5t-140 50.5t-106.5 90t-42 137zM174 307q0 -68 35 -116t87 -78.5t114.5 -44t117.5 -13.5 q51 0 104.5 11.5t96.5 38t69.5 68.5t26.5 103q0 49 -21.5 89.5t-53 72t-70.5 59t-76 52.5q-14 2 -29.5 3t-29.5 1q-57 0 -123 -12.5t-121 -41t-91 -75.5t-36 -117zM276 1247q0 -53 17.5 -117.5t51.5 -120t82.5 -92t111.5 -36.5q96 0 134 61.5t38 147.5q0 53 -14.5 118.5 t-45 124t-78 97t-112.5 38.5q-47 0 -82 -18t-57.5 -49t-34 -71t-11.5 -83zM999 1206h215v-215h107v215h215v105h-215v217h-107v-217h-215v-105z" />
|
228 |
+
<glyph unicode="" d="M0 78v1382q0 31 22.5 53.5t55.5 22.5h1689q31 0 53.5 -22.5t22.5 -53.5v-1382q0 -33 -22.5 -55.5t-53.5 -22.5h-1689q-33 0 -55.5 22.5t-22.5 55.5zM154 461q63 0 119.5 -24.5t97.5 -65.5t65.5 -97.5t24.5 -119.5h921q0 63 25 119.5t65.5 97.5t97 65.5t120.5 24.5v614 q-63 0 -120 24.5t-97.5 65.5t-65.5 97.5t-25 119.5h-921q0 -63 -24.5 -119.5t-65.5 -97.5t-97.5 -65.5t-119.5 -24.5v-614zM539 768q0 104 29.5 195.5t81.5 159t122 106.5t150 39t149.5 -39t121.5 -106.5t83 -159t31 -195.5t-31 -195.5t-83 -159t-122 -106.5t-149 -39 q-80 0 -150 39t-122 106.5t-81.5 159t-29.5 195.5zM692 969l94 -99l39 35q8 6 11.5 13.5t7.5 11.5q4 2 8 10h2v-16q0 -8 -1 -16.5t-1 -18.5v-283h-139v-129h438v129h-141v529h-140z" />
|
229 |
+
<glyph unicode="" horiz-adv-x="1228" d="M6 967q20 47 72 47h1075q50 0 70 -47t-17 -84l-536 -537q-27 -23 -56 -22q-29 0 -55 22l-536 537q-37 37 -17 84z" />
|
230 |
+
<glyph unicode="" horiz-adv-x="1228" d="M6 371q-20 47 17 84l536 536q23 23 55 23q31 0 54 -23l538 -536q37 -37 17 -84t-70 -47h-1077q-50 0 -70 47z" />
|
231 |
+
<glyph unicode="" horiz-adv-x="692" d="M0 768q0 33 23 55l538 537q16 16 38 21t44 -5q23 -8 36 -27.5t13 -41.5v-1076q0 -25 -13 -43t-36 -28t-44 -5t-38 21l-538 539q-23 23 -23 53z" />
|
232 |
+
<glyph unicode="" horiz-adv-x="692" d="M0 231v1076q0 49 47 69t84 -16l539 -537q23 -23 22 -55q0 -31 -22 -53l-539 -539q-37 -37 -84 -16q-47 20 -47 71z" />
|
233 |
+
<glyph unicode="" d="M0 115v1306q0 47 34 81t81 34h1614q47 0 80.5 -34t33.5 -81v-1306q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34t-34 81zM154 154h692v1153h-692v-1153zM999 154h691v1153h-691v-1153z" />
|
234 |
+
<glyph unicode="" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1075q33 0 55.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23t-55 23l-536 536q-23 23 -23 56zM0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-55.5 -23.5h-1075 q-31 0 -53.5 23t-22.5 55z" />
|
235 |
+
<glyph unicode="" horiz-adv-x="1228" d="M0 584q0 31 22.5 54.5t53.5 23.5h1077q31 0 53.5 -23t22.5 -55q0 -33 -23 -56l-536 -536q-23 -23 -56 -23q-35 0 -53 23l-538 536q-23 23 -23 56z" />
|
236 |
+
<glyph unicode="" horiz-adv-x="1228" d="M0 952q0 33 23 56l536 536q23 23 55 23q33 0 56 -23l536 -536q23 -23 23 -56q0 -31 -22.5 -54.5t-53.5 -23.5h-1077q-31 0 -53.5 23t-22.5 55z" />
|
237 |
+
<glyph unicode="" d="M0 115v905q10 -10 20.5 -17.5t20.5 -15.5q129 -96 256 -191.5t252 -195.5q39 -31 82 -62.5t89 -57t96.5 -41t103.5 -15.5q55 0 105 15.5t96 40t89 56t84 64.5q125 100 252 195.5t256 191.5q10 8 20.5 15.5t20.5 17.5v-905q0 -47 -33.5 -81t-80.5 -34h-1614q-47 0 -81 34 t-34 81zM2 1434q0 41 36 71.5t77 30.5h1614q41 0 76.5 -30.5t35.5 -71.5q0 -31 -18.5 -69t-45 -75t-57 -67.5t-53.5 -48.5q-123 -92 -241.5 -182.5t-239.5 -182.5q-25 -18 -57.5 -45t-67.5 -51.5t-71 -42t-66 -17.5h-2h-2q-31 0 -67 17.5t-70.5 42t-67.5 51.5t-58 45 q-121 92 -239.5 182t-241.5 183q-23 18 -53.5 48.5t-57 67.5t-45 75t-18.5 69z" />
|
238 |
+
<glyph unicode="" horiz-adv-x="1576" d="M0 1376q0 39 15.5 74t41 60.5t60 41t73.5 15.5t74 -15.5t61.5 -41t41 -60.5t14.5 -74t-14.5 -73.5t-41 -60t-61.5 -41t-74 -15.5t-73.5 15.5t-60 41t-41 60t-15.5 73.5zM10 41v991q0 16 12.5 28.5t28.5 12.5h281q16 0 28.5 -12t12.5 -29v-991q0 -16 -12.5 -28.5 t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5zM524 41v991q0 16 12.5 28.5t28.5 12.5h273q33 0 37 -25.5t4 -48.5q57 53 129.5 76t150.5 23q190 0 304 -95.5t114 -293.5v-668q0 -16 -12.5 -28.5t-28.5 -12.5h-289q-16 0 -27.5 12.5t-11.5 28.5v604q0 76 -27.5 116 t-111.5 40q-53 0 -89 -17.5t-56.5 -47t-28.5 -70.5t-8 -88v-537q0 -16 -12.5 -28.5t-28.5 -12.5h-281q-16 0 -28.5 12.5t-12.5 28.5z" />
|
239 |
+
<glyph unicode="" horiz-adv-x="1591" d="M0 662q-4 39 35 45l158 20q12 2 30 -8q12 -8 15 -27q14 -102 63 -191t123 -153.5t169 -101.5t200 -37q115 0 217 44t178 120t120 177t44 218t-44 218t-120 177t-178.5 120t-216.5 44q-94 0 -181.5 -30.5t-158.5 -88.5l159 -159q35 -35 24 -58.5t-58 -23.5h-463 q-16 0 -29.5 6t-24.5 16q-25 25 -24 55v463q0 47 24.5 57.5t59.5 -24.5l162 -162q109 92 238.5 140.5t271.5 48.5q166 0 311 -62.5t253.5 -171t171 -254t62.5 -311.5t-62.5 -311.5t-171 -254t-254 -171t-310.5 -62.5q-150 0 -285 52.5t-241.5 145.5t-176.5 220t-90 275z" />
|
240 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 651q0 49 37 91t88 42q35 0 68 -22q-20 14 -21 37q0 8 8 24l334 502q14 20 37 21q16 0 24 -9q-25 18 -40 43t-15 56q0 49 38 90t87 41q33 0 62 -19l514 -342q23 -16 36 -40.5t13 -53.5q0 -25 -10.5 -48.5t-26.5 -41.5t-40 -29.5t-48 -11.5q-33 0 -68 23q20 -14 21 -37 q0 -14 -8 -25l-105 -158l227 -151q14 4 28 6t28 2q53 0 94 -29l475 -315q37 -27 58.5 -65.5t21.5 -84.5q0 -74 -52.5 -126t-125.5 -52q-55 0 -99 31l-475 315q-70 47 -75 131l-228 152l-106 -158q-14 -20 -37 -20q-14 0 -25 8q55 -39 56 -100q0 -25 -10.5 -47.5t-28 -41 t-40 -29.5t-46.5 -11q-35 0 -62 18l-514 342q-49 33 -49 92z" />
|
241 |
+
<glyph unicode="" horiz-adv-x="1880" d="M0 627q0 195 73.5 365.5t201.5 298.5t299 202t366 74t366 -74t299 -202t201.5 -299t73.5 -365q0 -78 -14.5 -159t-42 -159t-68.5 -149.5t-92 -130.5q-23 -29 -59 -29h-1328q-37 0 -59 29q-53 59 -93 130.5t-67.5 149.5t-42 159t-14.5 159zM158 627q0 -49 33.5 -83 t82.5 -34t83 34t34 83t-34.5 82.5t-82.5 33.5q-49 0 -82.5 -33.5t-33.5 -82.5zM352 1098q0 -49 35 -84t82 -35q49 0 84 35t35 84t-35 82.5t-84 33.5q-47 0 -82 -33.5t-35 -82.5zM743 313q0 -82 57.5 -139t139.5 -57t139.5 57t57.5 139q0 49 -26 91t-67 71q4 14 15.5 55 t27 95.5t33 114t30.5 110.5t22.5 88t9.5 43q0 23 -17.5 40t-40.5 17q-20 0 -35.5 -12t-21.5 -31l-135 -487q-39 -2 -74 -17.5t-60.5 -42t-40 -61.5t-14.5 -74zM823 1292q0 -49 34 -82.5t83 -33.5t83 33.5t34 82.5t-34 83t-83 34t-83 -34t-34 -83zM1292 1098q0 -49 35 -83 t84 -34t83 34t34 83t-34 82.5t-83 33.5t-84 -33.5t-35 -82.5zM1489 627q0 -49 34 -83t83 -34t82.5 34t33.5 83t-33.5 82.5t-82.5 33.5t-83 -33.5t-34 -82.5z" />
|
242 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 866q0 123 49 225.5t130 183.5t184.5 139.5t209.5 92.5q94 31 190.5 45.5t194.5 14.5t194.5 -14.5t190.5 -45.5q106 -35 210 -93t185 -139t130 -183.5t49 -225.5t-49 -225t-130 -183t-184.5 -140.5t-210.5 -92.5q-94 -31 -190 -45t-195 -14q-92 0 -180 12 q-92 -72 -195.5 -119t-215.5 -73q-27 -4 -55.5 -10.5t-53.5 -6.5q-16 0 -27.5 11.5t-11.5 27.5q0 12 8.5 21.5t16.5 17.5q31 33 53 60.5t37.5 57.5t25 64.5t17.5 79.5q-78 43 -145.5 100.5t-120 128t-82 153.5t-29.5 175zM160 866q0 -72 24.5 -133t65.5 -113.5t94 -95.5 t111 -75q27 -14 51 -27.5t49 -28.5q-10 -47 -17.5 -94t-19.5 -94q59 29 111.5 64.5t105.5 76.5q55 -8 110.5 -14t112.5 -6q156 0 308 43q84 25 171 68.5t158.5 107t116.5 143.5t45 178t-45 178t-116.5 143.5t-158.5 107.5t-171 69q-152 43 -308 43q-158 0 -307 -43 q-84 -25 -171 -69t-158.5 -107.5t-116.5 -143t-45 -178.5z" />
|
243 |
+
<glyph unicode="" horiz-adv-x="1916" d="M0 997q0 98 40 182.5t106.5 151t150.5 113.5t170 76q76 25 154.5 36t156.5 11q80 0 159 -11.5t155 -35.5q86 -29 170 -76t149.5 -113.5t105 -150.5t39.5 -183q0 -98 -39.5 -182t-105 -149.5t-149.5 -113.5t-170 -77q-154 -47 -314 -47q-37 0 -72.5 3t-72.5 7 q-150 -115 -336 -155q-20 -4 -43 -9.5t-45 -5.5q-12 0 -21.5 9.5t-9.5 23.5q0 10 7.5 17.5l13.5 13.5q51 51 72.5 96t35.5 117q-63 35 -118.5 82t-97.5 104t-66.5 124t-24.5 142zM160 997q0 -72 30.5 -127t77.5 -99t104.5 -78t112.5 -64l-20 -111q33 18 63.5 42t59.5 46 q47 -6 95 -12t95 -6q135 0 264 41q61 18 124 52t114 81t84 105.5t33 129.5q0 72 -33 131.5t-84 105.5t-113.5 80t-124.5 52q-63 23 -129.5 32t-134.5 9q-66 0 -132 -9t-132 -32q-59 -18 -122.5 -52t-115 -80t-84 -105.5t-32.5 -131.5zM649 258l27 16q51 -6 102 -6 q197 0 381 62q111 37 211 99.5t177 147.5t123 190t46 230q0 41 -6 84q90 -72 148.5 -169t58.5 -214q0 -76 -24.5 -142.5t-66.5 -123.5t-97.5 -104t-118.5 -82q14 -72 35.5 -117t72.5 -96q6 -6 13.5 -14.5t7.5 -18.5q0 -16 -10.5 -23.5t-24.5 -7.5q-20 0 -43 5.5t-41 9.5 q-186 41 -336 155q-37 -4 -72.5 -7t-72.5 -3q-129 0 -254 32t-236 97z" />
|
244 |
+
<glyph unicode="" horiz-adv-x="933" d="M0 557q0 8 2 10l209 932q4 16 16.5 26.5t28.5 10.5h344q18 0 31.5 -13.5t13.5 -33.5q0 -6 -1 -10t-3 -11l-180 -524q12 4 47 13.5t81 21.5t95 26.5t93 25.5t75 18.5t37 7.5q18 0 31.5 -13.5t13.5 -33.5q0 -12 -2 -19l-565 -1306q-10 -29 -43 -29q-18 0 -33 13.5t-15 33.5 q0 6 3 10l204 914q-12 -4 -48 -14.5t-82 -22.5t-97 -26.5t-95 -27t-76 -19.5t-38 -7q-20 0 -33.5 14.5t-13.5 32.5z" />
|
245 |
+
<glyph unicode="" d="M0 78v383q0 33 22.5 55.5t55.5 22.5h133v153q0 55 40 94t95 39h518v174h-135q-31 0 -53.5 21.5t-22.5 54.5v385q0 31 22.5 53.5t53.5 22.5h385q31 0 53.5 -22.5t22.5 -53.5v-385q0 -33 -22.5 -54.5t-53.5 -21.5h-135v-174h518q55 0 95 -38.5t40 -94.5v-153h135 q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-33 0 -54 22.5t-21 55.5v383q0 33 21.5 55.5t53.5 22.5h136v153q0 18 -21 19h-518v-172h135q31 0 53.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-53.5 -22.5h-385q-31 0 -53.5 22.5t-22.5 55.5v383 q0 33 22.5 55.5t53.5 22.5h135v172h-518q-20 0 -20 -19v-153h135q33 0 55.5 -22.5t22.5 -55.5v-383q0 -33 -22.5 -55.5t-55.5 -22.5h-383q-33 0 -55.5 22.5t-22.5 55.5z" />
|
246 |
+
<glyph unicode="" horiz-adv-x="1884" d="M0 770q31 137 109.5 253t193.5 204t257 141t302 66v53q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5v-53q160 -12 303 -65.5t258 -141.5t192.5 -204t108.5 -253q6 -29 -20 -43q-10 -6 -19 -6q-20 0 -28 12q-98 102 -218 103q-86 0 -163.5 -54.5t-130.5 -152.5 q-10 -23 -35 -23t-35 23q-82 150 -213 194v-526q0 -68 -23.5 -127t-63.5 -104.5t-93.5 -71t-114.5 -25.5t-115.5 25.5t-94.5 71t-63.5 104.5t-23.5 127q0 35 23.5 57.5t56.5 22.5q35 0 57.5 -22.5t22.5 -57.5q0 -70 40 -119t97 -49q55 0 95 49t40 119v526 q-131 -45 -213 -194q-10 -23 -35 -23t-34 23q-53 98 -130 152.5t-163 54.5q-121 0 -217 -103q-12 -12 -31 -12q-10 0 -19 6q-25 14 -20 43z" />
|
247 |
+
<glyph unicode="" horiz-adv-x="1597" d="M0 385v1075q0 31 22.5 53.5t55.5 22.5h921q31 0 53.5 -22.5t22.5 -53.5v-231h33h61q25 0 55.5 -13.5t49.5 -29.5l280 -281q18 -18 30.5 -49t12.5 -55v-62v-678q0 -27 -17 -44t-44 -17h-860q-27 0 -44.5 17.5t-17.5 43.5v246h-536q-33 0 -55.5 22.5t-22.5 55.5zM276 1321 q0 -12 9.5 -21.5t21.5 -9.5h461q12 0 21.5 9.5t9.5 21.5v61q0 12 -9.5 21.5t-21.5 9.5h-461q-12 0 -21.5 -9t-9.5 -22v-61zM737 123h738v555h-367q-27 0 -44 17.5t-17 43.5v367h-310v-983zM1169 801h306q0 2 -3.5 8t-5.5 10l-280 279q0 4 -6 4q-2 0 -2 1t-2 1t-3.5 1t-3.5 1 v-305z" />
|
248 |
+
<glyph unicode="" horiz-adv-x="2048" />
|
249 |
+
<glyph unicode="" horiz-adv-x="1536" d="M0 57v379q0 39 20.5 87t54.5 90t74.5 73t81.5 35q-35 -59 -34 -129q0 -59 16 -124t59 -106q-18 -37 -18 -75q0 -72 50 -122t122 -50q37 0 68.5 13t55 36.5t37 55.5t13.5 67t-13.5 66.5t-37 55t-55 38t-68.5 14.5q-18 0 -36.5 -5t-35.5 -14q-12 12 -20 31t-13.5 40.5 t-7.5 41.5t-2 37q0 47 28 86t62 67l142 21q-92 57 -142.5 150.5t-50.5 201.5q0 86 33 162t90 133t133 90t162 33t162 -33t133 -90t90 -133t33 -162q0 -109 -50.5 -202t-142.5 -150l158 -23q18 -16 34.5 -36.5t16.5 -47.5q0 -45 -18 -77q-59 33 -121 32q-45 0 -87 -17 t-77 -46q-6 2 -11 3t-11 1q-47 0 -82 -34t-35 -81t34.5 -80.5t82.5 -33.5q47 0 80.5 33.5t33.5 80.5q0 8 -2 15.5t-4 13.5q16 12 35.5 20.5t42.5 8.5q55 0 95 -39t40 -94q0 -23 -8 -41.5t-19 -34.5q-25 10 -45 10q-47 0 -81.5 -34t-34.5 -81t34.5 -80.5t81.5 -33.5t81 33.5 t34 80.5l-2 4q74 74 74 177q0 74 -41 137q45 70 45 157q0 31 -12 62q41 -4 83 -34t74.5 -72t53 -90t20.5 -89v-379q-10 -6 -22.5 -15t-25.5 -18.5t-26.5 -16.5t-21.5 -7h-1344q-35 0 -52 20.5t-44 36.5zM369 287q0 25 17 41t40 16q25 0 41 -16t16 -41q0 -23 -16 -40.5 t-41 -17.5q-23 0 -40 17.5t-17 40.5z" />
|
250 |
+
<glyph unicode="" horiz-adv-x="1597" />
|
251 |
+
<glyph unicode="" horiz-adv-x="1597" />
|
252 |
+
<glyph unicode="" horiz-adv-x="1597" />
|
253 |
+
<glyph unicode="" horiz-adv-x="1597" />
|
254 |
+
</font>
|
255 |
+
</defs></svg>
|
assets/css/font/fontawesome-webfont.ttf
ADDED
Binary file
|
assets/css/font/fontawesome-webfont.woff
ADDED
Binary file
|
assets/css/ie.css
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
/* ========================================================
|
3 |
+
*
|
4 |
+
* Amsterdam - premium admin template
|
5 |
+
*
|
6 |
+
* ========================================================
|
7 |
+
*
|
8 |
+
* File: ie.css;
|
9 |
+
* Description: Correction classes for Internet Explorer
|
10 |
+
* Version: 1.0
|
11 |
+
*
|
12 |
+
* ======================================================== */
|
13 |
+
|
14 |
+
|
15 |
+
input[type="file"] { background-color: white; border: 1px solid #DADADA; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02), 0 1px 0 white; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02), 0 1px 0 white; -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02), 0 1px 0 white; padding: 8px 7px; font-size: 11px; color: #5F5F5F; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; height: 30px;}
|
16 |
+
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input
|
17 |
+
{ line-height: 12px; height: 30px; }
|
18 |
+
.ui-spinner > input[type="text"] { line-height: 14px; }
|
19 |
+
div.selector span { line-height: 26px; }
|
20 |
+
select { height: auto; line-height: auto; }
|
assets/css/jquery.titanlighbox.css
ADDED
@@ -0,0 +1,367 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
|
3 |
+
.clear { clear: both }
|
4 |
+
|
5 |
+
/* Style Default
|
6 |
+
----------------------------------------------------------------------------------------------------*/
|
7 |
+
|
8 |
+
.lightbox-wrap,
|
9 |
+
.lightbox-skin,
|
10 |
+
.lightbox-outer,
|
11 |
+
.lightbox-inner,
|
12 |
+
.lightbox-image,
|
13 |
+
.lightbox-wrap iframe,
|
14 |
+
.lightbox-wrap object,
|
15 |
+
.lightbox-nav,
|
16 |
+
.lightbox-nav span,
|
17 |
+
.lightbox-tmp {
|
18 |
+
padding: 0;
|
19 |
+
margin: 0;
|
20 |
+
border: 0;
|
21 |
+
outline: none;
|
22 |
+
vertical-align: top;
|
23 |
+
}
|
24 |
+
|
25 |
+
.lightbox-utility {
|
26 |
+
width: 100%;
|
27 |
+
padding-top: 10px;
|
28 |
+
position: relative;
|
29 |
+
}
|
30 |
+
|
31 |
+
.lightbox-utility > div {
|
32 |
+
display: inline-block;
|
33 |
+
width: 100%;
|
34 |
+
}
|
35 |
+
|
36 |
+
.lightbox-gallery .lightbox-utility { }
|
37 |
+
|
38 |
+
.lightbox-wrap {
|
39 |
+
position: absolute;
|
40 |
+
top: 0;
|
41 |
+
left: 0;
|
42 |
+
z-index: 8020;
|
43 |
+
border: 5px solid rgba(0,0,0,0.1);
|
44 |
+
}
|
45 |
+
|
46 |
+
.lightbox-skin {
|
47 |
+
position: relative;
|
48 |
+
background: #fff;
|
49 |
+
color: #444;
|
50 |
+
text-shadow: none;
|
51 |
+
}
|
52 |
+
|
53 |
+
.lightbox-opened { z-index: 8030 }
|
54 |
+
|
55 |
+
.lightbox-opened .lightbox-skin { }
|
56 |
+
|
57 |
+
.lightbox-outer,
|
58 |
+
.lightbox-inner {
|
59 |
+
background: #B9C3CC;
|
60 |
+
position: relative;
|
61 |
+
}
|
62 |
+
|
63 |
+
.lightbox-inner { overflow: hidden }
|
64 |
+
|
65 |
+
.lightbox-type-iframe .lightbox-inner { -webkit-overflow-scrolling: touch }
|
66 |
+
|
67 |
+
.lightbox-error {
|
68 |
+
color: #444;
|
69 |
+
font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
|
70 |
+
margin: 0;
|
71 |
+
padding: 15px;
|
72 |
+
white-space: nowrap;
|
73 |
+
}
|
74 |
+
|
75 |
+
.lightbox-image,
|
76 |
+
.lightbox-iframe {
|
77 |
+
display: block;
|
78 |
+
width: 100%;
|
79 |
+
height: 100%;
|
80 |
+
}
|
81 |
+
|
82 |
+
.lightbox-image {
|
83 |
+
max-width: 100%;
|
84 |
+
max-height: 100%;
|
85 |
+
}
|
86 |
+
|
87 |
+
#lightbox-loading {
|
88 |
+
background: rgba(0,0,0,0.7);
|
89 |
+
padding: 8px;
|
90 |
+
position: fixed;
|
91 |
+
top: 50%;
|
92 |
+
left: 50%;
|
93 |
+
margin-top: -13px;
|
94 |
+
margin-left: -13px;
|
95 |
+
cursor: pointer;
|
96 |
+
z-index: 8060;
|
97 |
+
-moz-border-radius: 5px;
|
98 |
+
-webkit-border-radius: 5px;
|
99 |
+
border-radius: 5px;
|
100 |
+
}
|
101 |
+
|
102 |
+
#lightbox-loading div {
|
103 |
+
width: 18px;
|
104 |
+
height: 18px;
|
105 |
+
background: url(../images/lightbox_loading.gif) center center no-repeat;
|
106 |
+
}
|
107 |
+
|
108 |
+
.lightbox-close {
|
109 |
+
background: url(../images/skin-default/lightbox_close.png) no-repeat scroll right top #FFFFFF;
|
110 |
+
cursor: pointer;
|
111 |
+
height: 18px;
|
112 |
+
position: absolute;
|
113 |
+
right: 11px;
|
114 |
+
top: 11px;
|
115 |
+
width: 18px;
|
116 |
+
z-index: 8040;
|
117 |
+
-moz-border-radius: 0 0 0 2px;
|
118 |
+
-webkit-border-radius: 0 0 0 2px;
|
119 |
+
border-radius: 0 0 0 2px;
|
120 |
+
box-shadow: -1px 1px 1px rgba(0,0,0,0.15);
|
121 |
+
}
|
122 |
+
|
123 |
+
.lightbox-nav {
|
124 |
+
cursor: pointer;
|
125 |
+
height: 22px;
|
126 |
+
margin-top: -10px;
|
127 |
+
position: absolute;
|
128 |
+
text-decoration: none;
|
129 |
+
top: 50%;
|
130 |
+
width: 20px;
|
131 |
+
z-index: 8040;
|
132 |
+
}
|
133 |
+
|
134 |
+
.lightbox-prev {
|
135 |
+
background: url(../images/skin-default/lightbox_left.png) no-repeat center center #fff;
|
136 |
+
left: 0;
|
137 |
+
-moz-border-radius: 0 2px 2px 0;
|
138 |
+
-webkit-border-radius: 0 2px 2px 0;
|
139 |
+
border-radius: 0 2px 2px 0;
|
140 |
+
box-shadow: 1px 1px 1px rgba(0,0,0,0.15);
|
141 |
+
}
|
142 |
+
|
143 |
+
.lightbox-next {
|
144 |
+
background: url(../images/skin-default/lightbox_right.png) center center no-repeat #fff;
|
145 |
+
right: 0;
|
146 |
+
-moz-border-radius: 2px 0 0 2px;
|
147 |
+
-webkit-border-radius: 2px 0 0 2px;
|
148 |
+
border-radius: 2px 0 0 2px;
|
149 |
+
box-shadow: -1px 1px 1px rgba(0,0,0,0.15);
|
150 |
+
}
|
151 |
+
|
152 |
+
.lightbox-nav span { }
|
153 |
+
|
154 |
+
.lightbox-prev span { }
|
155 |
+
|
156 |
+
.lightbox-next span { }
|
157 |
+
|
158 |
+
.lightbox-nav:hover span { }
|
159 |
+
|
160 |
+
.lightbox-tmp {
|
161 |
+
position: absolute;
|
162 |
+
top: -9999px;
|
163 |
+
left: -9999px;
|
164 |
+
visibility: hidden;
|
165 |
+
}
|
166 |
+
|
167 |
+
/* Overlay */
|
168 |
+
|
169 |
+
.lightbox-lock { overflow: hidden }
|
170 |
+
|
171 |
+
.lightbox-overlay {
|
172 |
+
position: absolute;
|
173 |
+
top: 0;
|
174 |
+
left: 0;
|
175 |
+
overflow: hidden;
|
176 |
+
display: none;
|
177 |
+
z-index: 8010;
|
178 |
+
background: url(../images/lightbox_overlay.png);
|
179 |
+
}
|
180 |
+
|
181 |
+
.lightbox-overlay-fixed {
|
182 |
+
position: fixed;
|
183 |
+
bottom: 0;
|
184 |
+
right: 0;
|
185 |
+
}
|
186 |
+
|
187 |
+
.lightbox-lock .lightbox-overlay { }
|
188 |
+
|
189 |
+
/* Title */
|
190 |
+
|
191 |
+
.lightbox-title {
|
192 |
+
font: bold 12px/20px Arial,Helvetica,sans-serif;
|
193 |
+
visibility: hidden;
|
194 |
+
color: #777;
|
195 |
+
position: relative;
|
196 |
+
text-shadow: none;
|
197 |
+
z-index: 8050;
|
198 |
+
}
|
199 |
+
|
200 |
+
.lightbox-opened .lightbox-title { visibility: visible }
|
201 |
+
|
202 |
+
.lightbox-title-inside-wrap { padding: 5px 0 }
|
203 |
+
|
204 |
+
.lightbox-gallery .lightbox-title-inside-wrap { margin-right: 105px }
|
205 |
+
|
206 |
+
#lightbox-buttons {
|
207 |
+
width: 91px;
|
208 |
+
z-index: 8050;
|
209 |
+
float: right;
|
210 |
+
}
|
211 |
+
|
212 |
+
#lightbox-buttons.top { }
|
213 |
+
|
214 |
+
#lightbox-buttons ul {
|
215 |
+
display: block;
|
216 |
+
margin: 0;
|
217 |
+
padding: 0;
|
218 |
+
list-style: none;
|
219 |
+
}
|
220 |
+
|
221 |
+
#lightbox-buttons ul li {
|
222 |
+
float: left;
|
223 |
+
margin: 0;
|
224 |
+
padding: 0;
|
225 |
+
}
|
226 |
+
|
227 |
+
#lightbox-buttons a {
|
228 |
+
display: block;
|
229 |
+
width: 31px;
|
230 |
+
height: 30px;
|
231 |
+
margin: 0 2px;
|
232 |
+
}
|
233 |
+
|
234 |
+
#lightbox-buttons a.btnPrev {
|
235 |
+
background: url(../images/skin-default/button_prev.png) center center no-repeat;
|
236 |
+
width: 24px;
|
237 |
+
}
|
238 |
+
|
239 |
+
#lightbox-buttons a.btnPrev:hover { background: url(../images/skin-default/button_prev_hover.png) center center no-repeat }
|
240 |
+
|
241 |
+
#lightbox-buttons a.btnNext {
|
242 |
+
background: url(../images/skin-default/button_next.png) center center no-repeat;
|
243 |
+
width: 24px;
|
244 |
+
}
|
245 |
+
|
246 |
+
#lightbox-buttons a.btnNext:hover { background: url(../images/skin-default/button_next_hover.png) center center no-repeat }
|
247 |
+
|
248 |
+
#lightbox-buttons a.btnPlay { background: url(../images/skin-default/button_play.png) center center no-repeat }
|
249 |
+
|
250 |
+
#lightbox-buttons a.btnPlay:hover { background: url(../images/skin-default/button_play_hover.png) center center no-repeat }
|
251 |
+
|
252 |
+
#lightbox-buttons a.btnPlayOn { background: url(../images/skin-default/button_pause.png) center center no-repeat }
|
253 |
+
|
254 |
+
#lightbox-buttons a.btnPlayOn:hover { background: url(../images/skin-default/button_pause_hover.png) center center no-repeat }
|
255 |
+
|
256 |
+
@media (max-width: 767px) {
|
257 |
+
#lightbox-buttons {
|
258 |
+
background: #fff;
|
259 |
+
border-radius: 3px 3px 0 0;
|
260 |
+
float: none;
|
261 |
+
left: 50%;
|
262 |
+
margin-left: -50px;
|
263 |
+
padding: 3px 5px;
|
264 |
+
position: absolute;
|
265 |
+
top: -36px;
|
266 |
+
width: 91px;
|
267 |
+
z-index: 8050;
|
268 |
+
box-shadow: 1px -1px 1px rgba(0,0,0,0.15);
|
269 |
+
}
|
270 |
+
|
271 |
+
.lightbox-gallery .lightbox-title-inside-wrap { margin-right: 0 }
|
272 |
+
}
|
273 |
+
|
274 |
+
/* Style Alt
|
275 |
+
----------------------------------------------------------------------------------------------------*/
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
.alt .lightbox-close {
|
281 |
+
background: url(../images/skin-alt/lightbox_close.png) no-repeat right top transparent;
|
282 |
+
height: 28px;
|
283 |
+
right: 11px;
|
284 |
+
bottom: 8px;
|
285 |
+
top: auto;
|
286 |
+
width: 28px;
|
287 |
+
-moz-border-radius: 0;
|
288 |
+
-webkit-border-radius: 0;
|
289 |
+
border-radius: 0;
|
290 |
+
box-shadow: none;
|
291 |
+
}
|
292 |
+
|
293 |
+
.alt .lightbox-prev {
|
294 |
+
background-image: url(../images/skin-alt/lightbox_left.png);
|
295 |
+
-moz-border-radius: 0 4px 4px 0;
|
296 |
+
-webkit-border-radius: 0 4px 4px 0;
|
297 |
+
border-radius: 0 4px 4px 0;
|
298 |
+
}
|
299 |
+
|
300 |
+
.alt .lightbox-next {
|
301 |
+
background-image: url(../images/skin-alt/lightbox_right.png);
|
302 |
+
-moz-border-radius: 4px 0 0 4px;
|
303 |
+
-webkit-border-radius: 4px 0 0 4px;
|
304 |
+
border-radius: 4px 0 0 4px;
|
305 |
+
}
|
306 |
+
|
307 |
+
/* Title */
|
308 |
+
|
309 |
+
.alt .lightbox-title { font: bold 12px/20px Arial, Helvetica, sans-serif }
|
310 |
+
|
311 |
+
.alt .lightbox-title-inside-wrap {
|
312 |
+
padding: 0 0 0 10px;
|
313 |
+
margin: 4px 38px 4px 0;
|
314 |
+
border-left: 1px solid #ccc;
|
315 |
+
}
|
316 |
+
|
317 |
+
.alt.lightbox-gallery .lightbox-title-inside-wrap { margin: 4px 38px 4px 85px }
|
318 |
+
|
319 |
+
/* Button */
|
320 |
+
|
321 |
+
.alt #lightbox-buttons {
|
322 |
+
float: left;
|
323 |
+
width: 75px;
|
324 |
+
}
|
325 |
+
|
326 |
+
.alt #lightbox-buttons a {
|
327 |
+
width: 29px;
|
328 |
+
height: 28px;
|
329 |
+
margin: 0 1px;
|
330 |
+
}
|
331 |
+
|
332 |
+
.alt #lightbox-buttons a:hover { opacity: 0.8 }
|
333 |
+
|
334 |
+
.alt #lightbox-buttons a.btnPrev,
|
335 |
+
.alt #lightbox-buttons a.btnPrev:hover {
|
336 |
+
background-image: url(../images/skin-alt/button_prev.png);
|
337 |
+
width: 20px;
|
338 |
+
}
|
339 |
+
|
340 |
+
.alt #lightbox-buttons a.btnNext,
|
341 |
+
.alt #lightbox-buttons a.btnNext:hover {
|
342 |
+
background-image: url(../images/skin-alt/button_next.png);
|
343 |
+
width: 20px;
|
344 |
+
}
|
345 |
+
|
346 |
+
.alt #lightbox-buttons a.btnPlay,
|
347 |
+
.alt #lightbox-buttons a.btnPlay:hover { background-image: url(../images/skin-alt/button_play.png) }
|
348 |
+
|
349 |
+
.alt #lightbox-buttons a.btnPlayOn,
|
350 |
+
.alt #lightbox-buttons a.btnPlayOn:hover { background-image: url(../images/skin-alt/button_pause.png) }
|
351 |
+
|
352 |
+
@media (max-width: 767px) {
|
353 |
+
.alt .lightbox-close { display: none }
|
354 |
+
|
355 |
+
.alt #lightbox-buttons {
|
356 |
+
background: #fff;
|
357 |
+
margin-left: -42px;
|
358 |
+
padding: 3px 5px;
|
359 |
+
top: -34px;
|
360 |
+
}
|
361 |
+
|
362 |
+
.alt .lightbox-title-inside-wrap {
|
363 |
+
margin: 4px 0 !important;
|
364 |
+
padding: 0 !important;
|
365 |
+
border: 0 !important;
|
366 |
+
}
|
367 |
+
}
|
assets/css/main.css
ADDED
@@ -0,0 +1,1242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: main.css;
|
8 |
+
* Description: General template styles, including bootstrap components
|
9 |
+
* Version: 1.0
|
10 |
+
*
|
11 |
+
* ======================================================== */
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
/*===== Import css files =====*/
|
16 |
+
|
17 |
+
@import "font.css";
|
18 |
+
@import "plugins.css";
|
19 |
+
@import "bootstrap.css";
|
20 |
+
@import "elfinder.css";
|
21 |
+
@import "fancybox.css";
|
22 |
+
@import "ui_custom.css";
|
23 |
+
|
24 |
+
|
25 |
+
/*===== Basic reset =====*/
|
26 |
+
|
27 |
+
/*===== General styles =====*/
|
28 |
+
|
29 |
+
|
30 |
+
.align-right { text-align: right; }
|
31 |
+
.align-left { text-align: left; }
|
32 |
+
.align-center { text-align: center; }
|
33 |
+
|
34 |
+
.spacer-top { margin-top: 14px; }
|
35 |
+
.spacer-bottom { margin-bottom: 14px; }
|
36 |
+
|
37 |
+
#calendar a:hover {color:#fff !important}
|
38 |
+
#calendar a {color:#fff !important}
|
39 |
+
select[multiple] { font-size: 12px; }
|
40 |
+
.overflow-hidden { overflow: hidden; }
|
41 |
+
.overflow-auto { overflow: auto; }
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
/*===== Charts tooltips =====*/
|
46 |
+
|
47 |
+
.jqstooltip { z-index: 10001; border: none!important; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
48 |
+
.chart-tooltip { border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; color: #fff; font-size: 11px; padding: 4px 8px; border: 1px solid #282828; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset; -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset;
|
49 |
+
background: #3b3b3b;
|
50 |
+
background: -moz-linear-gradient(top, #3b3b3b 0%, #222222 100%);
|
51 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b3b3b), color-stop(100%,#222222));
|
52 |
+
background: -webkit-linear-gradient(top, #3b3b3b 0%,#222222 100%);
|
53 |
+
background: -o-linear-gradient(top, #3b3b3b 0%,#222222 100%);
|
54 |
+
background: -ms-linear-gradient(top, #3b3b3b 0%,#222222 100%);
|
55 |
+
background: linear-gradient(top, #3b3b3b 0%,#222222 100%);
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
/*===== Demo classes =====*/
|
60 |
+
|
61 |
+
.threshold-buttons { margin-top: 16px; }
|
62 |
+
.icons-showcase li { float: left; width: 25%; margin: 2px 0; }
|
63 |
+
.icons-showcase li i { margin-right: 5px; }
|
64 |
+
.fs1 { font-size: 2em; }
|
65 |
+
.glyph { display: inline-block; text-align: center; padding: .75em; margin: .75em 1em .75em 1em; width: 38px; }
|
66 |
+
.demo-list { text-align: center; }
|
67 |
+
.demo-list li { display: inline-block; margin: 0 10px; }
|
68 |
+
.gap { display: block; height: 14px; background: none; border: none; }
|
69 |
+
.scrollspy-example { height: 200px; overflow: auto; position: relative; }
|
70 |
+
|
71 |
+
|
72 |
+
/*===== Main navigation =====*/
|
73 |
+
|
74 |
+
.navigation { margin-bottom: 30px; }
|
75 |
+
.navigation > li { position: relative; margin-bottom: -1px; }
|
76 |
+
.navigation > li > a { text-shadow: 0 1px 1px #fff; color: #555; font-size: 12px; font-weight: bold; display: block; padding: 11px 12px;
|
77 |
+
background: #f2f2f2;
|
78 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
|
79 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2));
|
80 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
81 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
82 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
83 |
+
background: linear-gradient(to bottom, #ffffff 0%,#f2f2f2 100%);
|
84 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );
|
85 |
+
|
86 |
+
border: 1px solid #d5d5d5;
|
87 |
+
}
|
88 |
+
.navigation > li.active > a, .navigation > li.active > a:hover, .navigation > li.active > a:active { color: #fff; vertical-align: middle; box-shadow: 0 1px 1px rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 1px 1px rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 1px 1px rgba(255,255,255,0.3) inset; text-shadow: 0 1px 1px #555;
|
89 |
+
background: #2F86B2;
|
90 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #68B4DD 0%, #2F86B2 100%);
|
91 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#68B4DD), color-stop(100%,#2F86B2));
|
92 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #68B4DD 0%,#2F86B2 100%);
|
93 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #68B4DD 0%,#2F86B2 100%);
|
94 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #68B4DD 0%,#2F86B2 100%);
|
95 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #68B4DD 0%,#2F86B2 100%);
|
96 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#68B4DD', endColorstr='#2F86B2',GradientType=0 );
|
97 |
+
border-color: #2F86B2;
|
98 |
+
}
|
99 |
+
.navigation > li > a:hover { background: #f9f9f9; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
100 |
+
.navigation > li > a:active { background: #f5f5f5; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); }
|
101 |
+
|
102 |
+
.navigation > li > a > i, .navigation > li > a > b { font-size: 14px; display: block; float: left; margin-top: 4px; width: 1em; text-align: left; }
|
103 |
+
.navigation > li > a > img { float: left; margin-top: 3px; margin-right: 10px; }
|
104 |
+
|
105 |
+
|
106 |
+
.navigation li ul { background: #fefefe; }
|
107 |
+
.navigation li ul li { border-bottom: 1px solid #e5e5e5; position: relative; border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; }
|
108 |
+
.navigation li ul li.current { border-right: 0; }
|
109 |
+
.navigation li ul li:first-child { border-top: none; }
|
110 |
+
.navigation li ul li a { color: #5f5f5f; font-size: 11px; display: block; padding: 10px 12px 10px 16px; }
|
111 |
+
.navigation > li > ul > li.current > a, .navigation > li > ul > li.current > a:hover { color: #327394; }
|
112 |
+
.navigation li a strong { padding: 5px 7px 4px 7px; color: #fff; line-height: 13px; height: 13px; text-shadow: none; position: absolute; right: 10px; top: 12px; background: #686868; font-size: 11px;
|
113 |
+
border-radius: 2px;
|
114 |
+
-webkit-border-radius: 2px;
|
115 |
+
-moz-border-radius: 2px;
|
116 |
+
box-shadow: 0 1px 1px white, 0 1px 2px #555 inset;
|
117 |
+
-webkit-box-shadow: 0 1px 1px white, 0 1px 2px #555 inset;
|
118 |
+
-moz-box-shadow: 0 1px 1px white, 0 1px 2px #555 inset;
|
119 |
+
}
|
120 |
+
.navigation li.active a strong { background: #555; box-shadow: 0 1px 2px #4A4A4A inset, 0 1px 2px rgba(255, 255, 255, 0.2); -moz-box-shadow: 0 1px 2px #4A4A4A inset, 0 1px 2px rgba(255, 255, 255, 0.2); }
|
121 |
+
.navigation > li > ul > li > a:before { content: "+"; float: left; margin-right: 10px; }
|
122 |
+
.navigation > li > ul > li > a:hover { background-color: #fcfcfc; color: #327394; }
|
123 |
+
|
124 |
+
.navigation > li > a > span { display: block; float: left; margin: 4px 10px 0 0; width: 14px; height: 14px; background: url(../images/icons/mainnav/nav-sprite.png) no-repeat 0 0; }
|
125 |
+
.navigation > li.active > a > span { width: 16px; height: 16px; margin: 4px 8px 0 0; }
|
126 |
+
|
127 |
+
.navigation > li > a > span.menu-dashboard { background-position: -1px 0; }
|
128 |
+
.navigation > li.active > a > span.menu-dashboard { background-position: 0 -15px; }
|
129 |
+
|
130 |
+
.navigation > li > a > span.menu-forms { background-position: -18px 0; }
|
131 |
+
.navigation > li.active > a > span.menu-forms { background-position: -17px -15px; }
|
132 |
+
|
133 |
+
.navigation > li > a > span.menu-components { background-position: -35px 0; }
|
134 |
+
.navigation > li.active > a > span.menu-components { background-position: -34px -15px; }
|
135 |
+
|
136 |
+
.navigation > li > a > span.menu-icons { background-position: -52px 0; }
|
137 |
+
.navigation > li.active > a > span.menu-icons { background-position: -51px -15px; }
|
138 |
+
|
139 |
+
.navigation > li > a > span.menu-charts { background-position: -69px 0; }
|
140 |
+
.navigation > li.active > a > span.menu-charts { background-position: -68px -15px; }
|
141 |
+
|
142 |
+
.navigation > li > a > span.menu-messages { background-position: -86px 0; }
|
143 |
+
.navigation > li.active > a > span.menu-messages { background-position: -85px -15px; }
|
144 |
+
|
145 |
+
.navigation > li > a > span.menu-tables { background-position: -103px 0; }
|
146 |
+
.navigation > li.active > a > span.menu-tables { background-position: -102px -15px; }
|
147 |
+
|
148 |
+
.navigation > li > a > span.menu-errors { background-position: -120px 0; }
|
149 |
+
.navigation > li.active > a > span.menu-errors { background-position: -119px -15px; }
|
150 |
+
|
151 |
+
.navigation > li > a > span.menu-typo { background-position: -137px 0; }
|
152 |
+
.navigation > li.active > a > span.menu-typo { background-position: -136px -15px; }
|
153 |
+
|
154 |
+
.navigation > li > a > span.menu-calendar { background-position: -154px 0; }
|
155 |
+
.navigation > li.active > a > span.menu-calendar { background-position: -153px -15px; }
|
156 |
+
|
157 |
+
.navigation > li > a > span.menu-files { background-position: -171px 0; }
|
158 |
+
.navigation > li.active > a > span.menu-files { background-position: -170px -15px; }
|
159 |
+
|
160 |
+
.navigation > li > a > span.menu-layouts { background-position: -188px 0; }
|
161 |
+
.navigation > li.active > a > span.menu-layouts { background-position: -187px -15px; }
|
162 |
+
|
163 |
+
|
164 |
+
.navigation.spaced { border: none; }
|
165 |
+
.navigation.spaced > li { margin-top: 3px; border: 0; }
|
166 |
+
.navigation.spaced > li > a { border: 1px solid #d5d5d5; }
|
167 |
+
.navigation.spaced > li.active { border: 0; }
|
168 |
+
.navigation.spaced > li.active > a { box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; border: 1px solid #2F86B2; }
|
169 |
+
.navigation.spaced > li:first-child { margin-top: 0; }
|
170 |
+
.navigation.spaced > li > ul > li { border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; border-top: 0; }
|
171 |
+
.navigation.spaced > li > ul > li.current { border-right: 0; }
|
172 |
+
.navigation.spaced > li > ul > li:last-child { border-bottom: 1px solid #e5e5e5; }
|
173 |
+
.navigation.spaced > li > ul > li:last-child > a { border-bottom: 0; }
|
174 |
+
|
175 |
+
|
176 |
+
|
177 |
+
/* # Sidebar
|
178 |
+
================================================== */
|
179 |
+
|
180 |
+
.sidebar { width:170px; position: absolute; top: 0;margin-top:96px;margin-left:10px; }
|
181 |
+
.sidebar .block { margin-bottom: 30px; margin-top: 0; }
|
182 |
+
#left-sidebar { left: 0; }
|
183 |
+
#right-sidebar { right: 0; }
|
184 |
+
|
185 |
+
|
186 |
+
.sidebar .form-actions { padding: 0; }
|
187 |
+
.sidebar-links { border:1px solid #ddd; border-bottom: 0; }
|
188 |
+
.sidebar-links li { border-top: 1px solid #fff; border-bottom: 1px solid #ddd;
|
189 |
+
background: #f5f5f5;
|
190 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
191 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
192 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
193 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
194 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
195 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
196 |
+
}
|
197 |
+
.sidebar-links li:first-child { border-top: none; }
|
198 |
+
.sidebar-links li a { color: #555; padding: 10px 12px; display: block; }
|
199 |
+
.sidebar-links li a i { margin-right: 10px; color: #5f5f5f; }
|
200 |
+
.sidebar-links li:hover { background: #fafafa; }
|
201 |
+
.sidebar-links.marks > li > a:before { content: "+"; padding-right: 10px; }
|
202 |
+
.sidebar .progress-statistics { background: #fdfdfd; border: 1px solid #ddd; font-size: 11px; }
|
203 |
+
.sidebar .progress-statistics .progress { margin-top: 2px; }
|
204 |
+
.sidebar .progress-statistics li { padding: 8px 10px 14px 10px; border-top: 1px solid #fff; border-bottom: 1px solid #e2e2e2; }
|
205 |
+
.sidebar .progress-statistics li:last-child { border-bottom: none; }
|
206 |
+
.sidebar-checks { margin-bottom: 10px; }
|
207 |
+
|
208 |
+
.sidebar textarea,
|
209 |
+
.sidebar input[type="text"],
|
210 |
+
.sidebar input[type="password"],
|
211 |
+
.sidebar input[type="datetime"],
|
212 |
+
.sidebar input[type="datetime-local"],
|
213 |
+
.sidebar input[type="date"],
|
214 |
+
.sidebar input[type="month"],
|
215 |
+
.sidebar input[type="time"],
|
216 |
+
.sidebar input[type="week"],
|
217 |
+
.sidebar input[type="number"],
|
218 |
+
.sidebar input[type="email"],
|
219 |
+
.sidebar input[type="url"],
|
220 |
+
.sidebar input[type="search"],
|
221 |
+
.sidebar input[type="tel"],
|
222 |
+
.sidebar input[type="color"]
|
223 |
+
{
|
224 |
+
box-shadow: 0 1px 0 #fff;
|
225 |
+
-moz-box-shadow: 0 1px 0 #fff; width: 100%;
|
226 |
+
|
227 |
+
box-sizing: border-box;
|
228 |
+
-webkit-box-sizing: border-box;
|
229 |
+
-moz-box-sizing: border-box;
|
230 |
+
-ms-box-sizing: border-box;
|
231 |
+
|
232 |
+
}
|
233 |
+
|
234 |
+
.timeCol
|
235 |
+
{
|
236 |
+
border: 1px solid #DDD !important;
|
237 |
+
color: #000 !important;
|
238 |
+
font-size:10px !important;
|
239 |
+
padding:5px !important;
|
240 |
+
margin:5px 0px 5px 6px !important;
|
241 |
+
width:45px !important;
|
242 |
+
display:inline-block !important;
|
243 |
+
}
|
244 |
+
.timeCol:hover
|
245 |
+
{
|
246 |
+
background-color:rgb(174, 199, 30) !important;
|
247 |
+
color:#fff !important;
|
248 |
+
text-decoration: none !important;
|
249 |
+
}
|
250 |
+
/*===== Contact list =====*/
|
251 |
+
|
252 |
+
.user-list { border: 1px solid #ddd; border-bottom: 0; }
|
253 |
+
.user-list li { border-top: 1px solid #fff; border-bottom: 1px solid #e2e2e2; background: #fdfdfd; }
|
254 |
+
.user-list li:last-child { border-bottom-color: #ddd; }
|
255 |
+
.user-list li:hover { background: #fafafa; }
|
256 |
+
.user-list li a > img { float: left; margin: 0 10px 0 0; box-shadow: 0 1px 1px #222; -webkit-box-shadow: 0 1px 1px #222; -moz-box-shadow: 0 1px 1px #222; }
|
257 |
+
.user-list li a { color: #6a6a6a; padding: 10px; display: block; position: relative; }
|
258 |
+
.user-list li a:after { content: ""; display: block; clear: both; }
|
259 |
+
.user-list li.active { background: #fff; border-top-color: transparent; }
|
260 |
+
.user-list li.active:hover { background: #fff; }
|
261 |
+
.user-list li.active strong { color: #A55343; }
|
262 |
+
.user-list li.active .contactName > i { color: #959595; }
|
263 |
+
|
264 |
+
.contact-name { float: left; }
|
265 |
+
.contact-name > strong { display: block; line-height: 22px; }
|
266 |
+
.contact-name > strong > span { color: #999; }
|
267 |
+
.contact-name > i { display: block; font-style: normal; font-size: 11px; color: #999; line-height: 10px; }
|
268 |
+
|
269 |
+
.status_available, .status_away, .status_off { width: 7px; height: 7px; background: url(../images/elements/other/contact_status.png) no-repeat; display: block; position: absolute; top: 50%; right: 10px; margin-top: -4px; }
|
270 |
+
.status_available { background-position: 0 0; }
|
271 |
+
.status_away { background-position: 0 -8px; }
|
272 |
+
.status_off { background-position: 0 -16px; }
|
273 |
+
|
274 |
+
|
275 |
+
|
276 |
+
/*===== Sidebar search =====*/
|
277 |
+
|
278 |
+
.side-search { position: relative; }
|
279 |
+
.side-search input[type=text] { font-size: 11px; padding-right: 36px; width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; }
|
280 |
+
.side-search input[type=submit] { border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; background: url(../images/elements/other/search.png) no-repeat 0 0; border: none; position: absolute; top: 3px; right: 3px; display: block; width: 25px; height: 24px; }
|
281 |
+
.side-search input[type=submit]:hover { background-position: 0 -25px; }
|
282 |
+
.side-search input[type=submit]:active { background-position: 0 -50px; }
|
283 |
+
|
284 |
+
|
285 |
+
|
286 |
+
/*===== Sidebar text stats =====*/
|
287 |
+
|
288 |
+
.text-stats { font-size: 18px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; }
|
289 |
+
.text-stats:after { content: ""; display: block; height: 0; clear: both; }
|
290 |
+
.text-stats li { float: left; display: block; text-align: center; border-left: 1px solid #DDD; font-weight: bold; width: 72px; color: #A55343; }
|
291 |
+
.text-stats li:first-child { border-left: none; }
|
292 |
+
.text-stats li span { display: block; color: #888; font-size: 11px; line-height: 14px; font-weight: normal; }
|
293 |
+
|
294 |
+
|
295 |
+
|
296 |
+
/*===== Sidebar graph stats =====*/
|
297 |
+
|
298 |
+
.topstats { color: #444; font-size: 11px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; background: #fdfdfd; border: 1px solid #ddd; }
|
299 |
+
.topstats li { border-bottom: 1px solid #e2e2e2; border-top: 1px solid #fff; display: block; text-align: right; padding: 10px 12px 12px 12px; }
|
300 |
+
.topstats li:first-child { margin-top: 0; border-top: none; }
|
301 |
+
.topstats li:last-child { border-bottom: none; }
|
302 |
+
.topstats h1 { font-weight: bold; font-size: 22px; color: #5f5f5f; margin-top: 2px; display: block; line-height: 1; }
|
303 |
+
.topstats .left { margin-right: 12px; float: left; display: inline-block; text-align: left; }
|
304 |
+
.topchart { margin-top: 10px; display: inline-block; text-align: right; }
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
/*===== Sidebar action buttons styles =====*/
|
309 |
+
|
310 |
+
.action-button { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset; font-size: 12px; font-weight: bold; color: #fff; text-align: center; padding: 6px; margin-top: 6px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; display: block; text-shadow: 0 -1px 1px #646464; }
|
311 |
+
.action-button:first-child { margin-top: 0; }
|
312 |
+
.action-button:hover { opacity: 0.95; filter: alpha(opacity=95); -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
|
313 |
+
|
314 |
+
.action-button.blue { border: 1px solid #3385ae;
|
315 |
+
background: #57a4ce;
|
316 |
+
background: -moz-linear-gradient(top, #57a4ce 0%, #3385ae 100%);
|
317 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#57a4ce), color-stop(100%,#3385ae));
|
318 |
+
background: -webkit-linear-gradient(top, #57a4ce 0%,#3385ae 100%);
|
319 |
+
background: -o-linear-gradient(top, #57a4ce 0%,#3385ae 100%);
|
320 |
+
background: -ms-linear-gradient(top, #57a4ce 0%,#3385ae 100%);
|
321 |
+
background: linear-gradient(to bottom, #57a4ce 0%,#3385ae 100%);
|
322 |
+
}
|
323 |
+
.action-button.blue:active { background: #4393bc; }
|
324 |
+
|
325 |
+
.action-button.green { border: 1px solid #7aa724;
|
326 |
+
background: #7da138;
|
327 |
+
background: -moz-linear-gradient(top, #a3cd54 0%, #7da138 100%);
|
328 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a3cd54), color-stop(100%,#7da138));
|
329 |
+
background: -webkit-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
330 |
+
background: -o-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
331 |
+
background: -ms-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
332 |
+
background: linear-gradient(to bottom, #a3cd54 0%,#7da138 100%);
|
333 |
+
}
|
334 |
+
.action-button.green:active { background: #8eb73e; }
|
335 |
+
|
336 |
+
.action-button.greyish { border: 1px solid #56616f;
|
337 |
+
background: #757e88;
|
338 |
+
background: -moz-linear-gradient(top, #757e88 0%, #56616f 100%);
|
339 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#757e88), color-stop(100%,#56616f));
|
340 |
+
background: -webkit-linear-gradient(top, #757e88 0%,#56616f 100%);
|
341 |
+
background: -o-linear-gradient(top, #757e88 0%,#56616f 100%);
|
342 |
+
background: -ms-linear-gradient(top, #757e88 0%,#56616f 100%);
|
343 |
+
background: linear-gradient(to bottom, #757e88 0%,#56616f 100%);
|
344 |
+
}
|
345 |
+
.action-button.greyish:active { background: #67707c; }
|
346 |
+
|
347 |
+
.action-button.red { border: 1px solid #9e382f;
|
348 |
+
background: #c24b40;
|
349 |
+
background: -moz-linear-gradient(top, #c24b40 0%, #9e382f 100%);
|
350 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c24b40), color-stop(100%,#9e382f));
|
351 |
+
background: -webkit-linear-gradient(top, #c24b40 0%,#9e382f 100%);
|
352 |
+
background: -o-linear-gradient(top, #c24b40 0%,#9e382f 100%);
|
353 |
+
background: -ms-linear-gradient(top, #c24b40 0%,#9e382f 100%);
|
354 |
+
background: linear-gradient(to bottom, #c24b40 0%,#9e382f 100%);
|
355 |
+
}
|
356 |
+
.action-button.red:active { background: #b04238; }
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
/* # Content
|
362 |
+
================================================== */
|
363 |
+
|
364 |
+
.content > .body { padding: 0; }
|
365 |
+
.body {box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; }
|
366 |
+
.block { margin-top: 20px; }
|
367 |
+
.wrapper { margin:10px 15px 10px 10px;position: relative;padding: 1px 2px 20px 2px;}
|
368 |
+
.top-wrapper { padding: 0 20px; }
|
369 |
+
.three-columns .content { margin:10px 20px 0 190px; min-height:800px;}
|
370 |
+
.subtitle { font-weight: bold; display: block; }
|
371 |
+
.subtitle code { margin-left: 6px; font-weight: normal; }
|
372 |
+
|
373 |
+
.content > .body > .block:first-child,
|
374 |
+
.content > .body > .row-fluid:first-child > .block,
|
375 |
+
.content > .body > .row-fluid:first-child [class*="span"] .block,
|
376 |
+
.content > .body > form:first-child > .block,
|
377 |
+
.content > .body > form:first-child > fieldset:first-child > .block,
|
378 |
+
.tab-pane > .block:first-child,
|
379 |
+
.tab-pane > .row-fluid:first-child > .block,
|
380 |
+
.tab-pane > .row-fluid:first-child [class*="span"] .block,
|
381 |
+
.tab-pane > form:first-child > .block,
|
382 |
+
.tab-pane > form:first-child > fieldset:first-child > .block
|
383 |
+
|
384 |
+
{ margin-top: 0; }
|
385 |
+
|
386 |
+
|
387 |
+
|
388 |
+
|
389 |
+
/*===== Middle navigation =====*/
|
390 |
+
|
391 |
+
.midnav { text-align: center; padding-bottom:0px; padding-top:0px;}
|
392 |
+
.midnav li { margin: 10px 10px 0 10px; position: relative; display: inline-block; text-align: center;}
|
393 |
+
.midnav li a { padding: 10px 16px 5px 16px; display: block; font-weight: bold; white-space: nowrap; color: #626262; text-shadow: 0 1px #fff;
|
394 |
+
border: 1px solid #dadada;
|
395 |
+
background: #fafafa;
|
396 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #fafafa 100%);
|
397 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fafafa));
|
398 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
399 |
+
background: -o-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
400 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
401 |
+
background: linear-gradient(top, #ffffff 0%,#fafafa 100%);
|
402 |
+
}
|
403 |
+
.midnav li a:hover {
|
404 |
+
background: #fefefe;
|
405 |
+
background: -moz-linear-gradient(top, #fefefe 0%, #f8f8f8 100%);
|
406 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#f8f8f8));
|
407 |
+
background: -webkit-linear-gradient(top, #fefefe 0%,#f8f8f8 100%);
|
408 |
+
background: -o-linear-gradient(top, #fefefe 0%,#f8f8f8 100%);
|
409 |
+
background: -ms-linear-gradient(top, #fefefe 0%,#f8f8f8 100%);
|
410 |
+
background: linear-gradient(top, #fefefe 0%,#f8f8f8 100%);
|
411 |
+
}
|
412 |
+
.midnav li a:active { box-shadow: 0 1px 5px #fafafa inset, 0 1px 2px #ffffff; -moz-box-shadow: 0 1px 5px #fafafa inset, 0 1px 2px #ffffff; background: #fafafa; }
|
413 |
+
.midnav li a > span { display: block; line-height: 18px; font-weight: bold; }
|
414 |
+
.midnav li strong { position: absolute; font-weight: bold; top: 3px; right: 3px; font-size: 11px; color: white; padding: 3px 5px; display: block; line-height: 12px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px;
|
415 |
+
background: #BA6D6D;
|
416 |
+
background: -moz-linear-gradient(top, #BA6D6D 0%, #934848 100%);
|
417 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#BA6D6D), color-stop(100%,#934848));
|
418 |
+
background: -webkit-linear-gradient(top, #BA6D6D 0%,#934848 100%);
|
419 |
+
background: -o-linear-gradient(top, #BA6D6D 0%,#934848 100%);
|
420 |
+
background: -ms-linear-gradient(top, #BA6D6D 0%,#934848 100%);
|
421 |
+
background: linear-gradient(top, #BA6D6D 0%,#934848 100%);
|
422 |
+
}
|
423 |
+
|
424 |
+
|
425 |
+
.midnav.no-background { font-size: 0; }
|
426 |
+
.midnav.no-background li { border-right: 1px dashed #ddd; padding: 0 10px; margin-left: -1px; margin-right: 0; border-left: 1px dashed #DDD; }
|
427 |
+
.midnav.no-background li a { border: none; background: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; padding: 6px 14px 0 14px; }
|
428 |
+
.midnav.no-background li a span { font-size: 12px; }
|
429 |
+
|
430 |
+
|
431 |
+
.midnav.midnav-font li a { padding: 15px 16px 4px 16px;text-decoration:none !important }
|
432 |
+
.midnav.midnav-font li a > i { font-size: 32px; margin-right: 0; display: block; float: none; width: auto; line-height: 22px; }
|
433 |
+
.midnav.midnav-font li a > span { margin-top: 4px; }
|
434 |
+
.midnav-font.no-background li a { padding: 8px 12px 0 12px; }
|
435 |
+
|
436 |
+
|
437 |
+
.easyPieChart { position: relative; text-align: center; font-size: 16px; font-weight: bold; }
|
438 |
+
.easyPieChart canvas { position: absolute; top: 0; left: 0; }
|
439 |
+
.piechart span { font-weight: bold; display: block; margin-top: 6px; }
|
440 |
+
|
441 |
+
|
442 |
+
|
443 |
+
/* === Charts === */
|
444 |
+
|
445 |
+
.chart { height: 250px; z-index: 90; width: 100%; }
|
446 |
+
.sidebar-chart > .chart { width: 100%; height: 220px; z-index: 90; }
|
447 |
+
.with-legend { margin-top: 15px; }
|
448 |
+
.with-annotation { margin-top: 30px; }
|
449 |
+
.sidebar-chart { padding: 10px 6px 4px 12px; background: #fdfdfd; border: 1px solid #ddd; }
|
450 |
+
.legendLabel span { display: block; margin: 0 5px; }
|
451 |
+
.legendColorBox { padding-left: 10px; vertical-align: top; padding-top: 8px; }
|
452 |
+
.legendColorBox div > div { width: 4px; height: 4px; border-radius: 50%; -webkit-border-radius: 50%; -moz-border-radius: 50%; }
|
453 |
+
.legendColorBox:first-child { padding-left: 5px; }
|
454 |
+
.xAxis .tickLabel { margin-top: -5px; }
|
455 |
+
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
+
/* # Form styles
|
460 |
+
================================================== */
|
461 |
+
|
462 |
+
.field-icon { position: absolute; top: 8px; right: 8px; display: block; font-size: 14px; line-height: 1; }
|
463 |
+
.req { margin-left: 5px; color: #DB6464; }
|
464 |
+
.sliderSpecs > label { font-size: 11px; margin-right: 10px; margin-bottom: 0; display: inline-block; }
|
465 |
+
.sliderSpecs > input { border: none; background: none!important; width: 30%!important; color: #3a70ab!important; border: none!important; box-shadow: none!important; -moz-box-shadow: none!important; font-weight: bold; }
|
466 |
+
.rtl-inputs [class*="span"] { float: right; }
|
467 |
+
.multiple { width: 100%; height: 200px; padding: 5px; border: 1px solid #dadada; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; }
|
468 |
+
|
469 |
+
|
470 |
+
|
471 |
+
/* ===== Tags input ===== */
|
472 |
+
|
473 |
+
div.tagsinput {width: 100%; overflow-y: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
|
474 |
+
div.tagsinput span.tag { border: 1px solid #a5d24a; display: block; float: left; padding: 0 5px; background: #cde69c; color: #638421; line-height: 23px; font-size: 11px; }
|
475 |
+
div.tagsinput span.tag a { font-weight: bold; color: #82ad2b; font-size: 11px; float: right; }
|
476 |
+
div.tagsinput input { width: 60px; border: none; padding: 6px 8px; background: transparent; margin: 5px 5px 0 4px; }
|
477 |
+
div.tagsinput div { display: block; float: left; }
|
478 |
+
.tags_clear { clear: both; width: 100%; height: 0px; }
|
479 |
+
.not_valid { background: #FBD8DB !important; color: #90111A !important;}
|
480 |
+
|
481 |
+
|
482 |
+
|
483 |
+
/* ===== iPhone like checkboxes ===== */
|
484 |
+
|
485 |
+
.on_off .ibutton-label-off span { background: url(../images/elements/checkboxes/no.png) no-repeat; width: 8px; height: 9px; position: relative; left: -4px; display: block; top: 4px; float: right; padding-top: 0; margin-top: 2px; padding-right: 7px; text-indent: -9999px; }
|
486 |
+
.on_off .ibutton-label-on span { background: url(../images/elements/checkboxes/yes.png) no-repeat; width: 11px; left: -1px; position: relative; height: 11px; top: 4px; display: block; float: right; padding-top: 0; margin-top: 1px; padding-right: 7px; }
|
487 |
+
.on_off .ibutton-label-off { color: #fff; background-position: 100% 0; text-shadow: 0 1px #808080; text-align: right; right: 0; width: 95%; }
|
488 |
+
.on_off .ibutton-container { height: 21px; }
|
489 |
+
.on_off .ibutton-label-on { color: #fff; text-shadow: 0 1px #808080; left: 0; z-index: 1; background-position: 0 -52px; }
|
490 |
+
.on_off .ibutton-label-off { background-position: 100% -52px; }
|
491 |
+
.on_off .ibutton-label-on, .on_off .ibutton-label-off { height: 21px; }
|
492 |
+
.on_off .ibutton-handle { height: 20px; background-position: 0 -73px; }
|
493 |
+
.on_off .ibutton-handle-right { background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 100% -73px; }
|
494 |
+
.on_off .ibutton-handle-middle { background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 50% -73px; }
|
495 |
+
.on_off .ibutton-padding-left, .on_off .ibutton-padding-right { position: absolute; top: 0; z-index: 2; background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 0 -52px; width: 3px; height: 20px; }
|
496 |
+
.on_off .ibutton-padding-right { background-position: 100% -52px; }
|
497 |
+
.toggle-label { display: inline-block; vertical-align: 9px; margin-right: 8px; }
|
498 |
+
.on_off .toggle-label { vertical-align: 6px; }
|
499 |
+
.ibutton-container { position: relative; height: 26px; cursor: pointer; overflow: hidden; max-width: 400px; display: inline-block; -khtml-user-select: none; -o-user-select: none; -moz-user-select: none; -moz-user-focus: ignore; -moz-user-input: disabled; width: 89px; margin-right: 8px; }
|
500 |
+
.ibutton-container input { position: absolute; top: 0; left: 0; filter:alpha(opacity=0); -moz-opacity: 0.0; opacity: 0.0; -moz-user-input: enabled !important; }
|
501 |
+
.ibutton-handle { display: block; height: 25px; cursor: inherit; position: absolute; top: 0; left: 0; width: 0; background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 0 -26px; z-index: 3; padding-left: 3px; width: 33px; }
|
502 |
+
.ibutton-handle-right { height: 100%; width: 100%; padding-right: 3px; background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 100% -26px; z-index: 3; }
|
503 |
+
.ibutton-handle-middle { height: 100%; width: 100%; background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 50% -26px; z-index: 3; }
|
504 |
+
div.ibutton-label-on, div.ibutton-label-off { white-space: nowrap; font-size: 11px; line-height: 26px; font-weight: bold; text-transform: uppercase; cursor: inherit; display: block; height: 26px; position: absolute; width: auto; top: 0; overflow: hidden; text-align: center; background: transparent url(../images/elements/checkboxes/ibutton-slider-default.png) no-repeat scroll 0 0; }
|
505 |
+
div.ibutton-label-on { color: #fff; text-shadow: 0 1px #808080; left: 0; z-index: 1; }
|
506 |
+
div.ibutton-label-on span { padding-left: 0px; }
|
507 |
+
div.ibutton-label-off { color: #fff; background-position: 100% 0; text-shadow: 0 1px #808080; text-align: right; right: 0; width: 95%; }
|
508 |
+
div.ibutton-label-off span label { padding-right: 10px; margin-left: -2px }
|
509 |
+
.ibutton-padding-left { left: 0; }
|
510 |
+
.ibutton-padding-right { right: 0; }
|
511 |
+
.ibutton-disabled { cursor: not-allowed !important; opacity: 0.6; filter:alpha(opacity=60); }
|
512 |
+
|
513 |
+
|
514 |
+
|
515 |
+
/* ===== Dual select boxes ===== */
|
516 |
+
|
517 |
+
.dual-control .btn { padding: 0 8px; line-height: 24px; font-size: 11px; cursor: pointer; color: #999; height: 26px; margin: 2px 1px; }
|
518 |
+
.dual-control .btn:active { color: white; }
|
519 |
+
.left-box, .right-box { width: 40%; position: relative; }
|
520 |
+
.left-box .multiple, .right-box .multiple { height: 300px; margin-top: 15px; }
|
521 |
+
.left-box { float: left; }
|
522 |
+
.right-box { float: right; }
|
523 |
+
.filter { position: absolute; right: 10px; top: 7px; font-size: 12px; background: none; border: none; color: gray; }
|
524 |
+
.dual-control { text-align: center; width: 90px; margin: 150px 1px; position: absolute; left: 50%; margin-left: -45px; }
|
525 |
+
.count-label { color: gray; font-style:italic; margin-top: 10px; display: block; }
|
526 |
+
.box-filter { background: white; width: 100%; border: 1px solid #D5D5D5; padding: 7px 8px; font-size: 11px; font-family: Arial, Helvetica, sans-serif; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
|
527 |
+
|
528 |
+
|
529 |
+
|
530 |
+
/*===== Select2 styles =====*/
|
531 |
+
|
532 |
+
.select2-container { position: relative; display: inline-block; zoom: 1; *display: inline; }
|
533 |
+
.selectMultiple { width: 100%; }
|
534 |
+
.select2-container, .select2-drop, .select2-search, .select2-search input{ -moz-box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
|
535 |
+
.select2-container .select2-choice { border: 1px solid #d5d5d5; display: block; overflow: hidden; white-space: nowrap; position: relative; line-height: 27px; height: 27px; padding: 1px 0 0 10px; text-decoration: none; font-size: 11px; color: #707070;
|
536 |
+
background: #fcfcfc;
|
537 |
+
background: -moz-linear-gradient(top, #fcfcfc 0%, #f4f4f4 100%);
|
538 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f4f4f4));
|
539 |
+
background: -webkit-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%);
|
540 |
+
background: -o-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%);
|
541 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%);
|
542 |
+
background: linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%);
|
543 |
+
-webkit-border-radius: 2px;
|
544 |
+
-moz-border-radius: 2px;
|
545 |
+
border-radius: 2px;
|
546 |
+
-moz-background-clip: padding;
|
547 |
+
-webkit-background-clip: padding-box;
|
548 |
+
background-clip: padding-box;
|
549 |
+
box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee;
|
550 |
+
-webkit-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee;
|
551 |
+
-moz-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee;
|
552 |
+
}
|
553 |
+
|
554 |
+
.sidebar .select2-container { width: 100%; margin-bottom: 14px; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; }
|
555 |
+
.sidebar .select2-container .select2-choice { border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; }
|
556 |
+
|
557 |
+
.select2-container.select2-drop-above .select2-choice { -webkit-border-radius:0px 0px 2px 2px; -moz-border-radius:0px 0px 2px 2px; border-radius:0px 0px 2px 2px; }
|
558 |
+
.select2-container .select2-choice span { margin-right: 32px; display: block; overflow: hidden; white-space: nowrap; -o-text-overflow: ellipsis; -ms-text-overflow: ellipsis; text-overflow: ellipsis; }
|
559 |
+
.select2-container .select2-choice abbr { display: block; position: absolute; right: 26px; top: 8px; width: 12px; height: 12px; font-size: 1px; cursor: pointer; text-decoration: none; border: 0; outline: 0; }
|
560 |
+
.select2-container .select2-choice abbr:hover { cursor: pointer; }
|
561 |
+
.select2-drop { background: #fff; color: #000; border: 1px solid #dadada; position: absolute; top: 100%; z-index: 9998; width:100%; margin-top: -1px; font-size: 11px; -webkit-border-radius: 0 0 2px 2px; -moz-border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px; }
|
562 |
+
.select2-drop.select2-drop-above { -webkit-border-radius: 2px 2px 0px 0px; -moz-border-radius: 2px 2px 0px 0px; border-radius: 2px 2px 0px 0px; margin-top: 1px; }
|
563 |
+
.select2-container .select2-choice div { -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; border-left: 1px solid #d2d2d2; position: absolute; right: 0; top: 0; display: block; height: 100%; width: 21px; }
|
564 |
+
.select2-container .select2-choice div b { background: url(../images/elements/forms/sidebar_dropdown_arrows.png) no-repeat 7px 8px; display: block; width: 100%; height: 100%; }
|
565 |
+
.select2-search { display: inline-block; white-space: nowrap; z-index: 10000; width: 100%; margin: 5px 0; padding-left: 4px; padding-right: 4px; }
|
566 |
+
.select2-search-hidden { display: block; position: absolute; left: -10000px; }
|
567 |
+
.select2-search input { padding: 5px 20px 5px 6px; width:100%; margin:0; background: url(../images/elements/forms/dropdown-search.png) no-repeat 97%; height: 24px; }
|
568 |
+
.select2-dropdown-open .select2-choice { border: 1px solid #ccc; -webkit-border-bottom-left-radius : 0; -webkit-border-bottom-right-radius: 0; -moz-border-radius-bottomleft : 0; -moz-border-radius-bottomright: 0; border-bottom-left-radius : 0; border-bottom-right-radius: 0; }
|
569 |
+
.select2-results { margin: 0 4px 4px 0; padding: 0 0 0 4px; position: relative; overflow-x: hidden; overflow-y: auto; max-height: 200px; }
|
570 |
+
.select2-results ul.select2-result-sub { margin: 0 0 0 0; }
|
571 |
+
.select2-results ul.select2-result-sub > li .select2-result-label { padding-left: 20px }
|
572 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 40px }
|
573 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 60px }
|
574 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 80px }
|
575 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 100px }
|
576 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 110px }
|
577 |
+
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label { padding-left: 120px }
|
578 |
+
.select2-results li { color: #5f5f5f; }
|
579 |
+
.select2-results li.select2-result-with-children > .select2-result-label { font-weight: bold; color: #303030; }
|
580 |
+
.select2-results .select2-result-label { padding: 3px 7px; margin: 0; cursor: pointer; }
|
581 |
+
.select2-results .select2-highlighted { background: #3875d7; color: #fff; } .select2-results li em { background: #feffde; font-style: normal; }
|
582 |
+
.select2-results .select2-highlighted em { background: transparent; }
|
583 |
+
.select2-results .select2-no-results, .select2-results .select2-searching, .select2-results .select2-selection-limit { background: #f4f4f4; padding: 4px 8px; margin-top: 4px; border: 1px solid #e5e5e5; }
|
584 |
+
.select2-results .select2-disabled { display: none; }
|
585 |
+
.select2-more-results.select2-active { background: #f4f4f4 url('spinner.gif') no-repeat 100%; }
|
586 |
+
.select2-more-results { background: #f4f4f4; display: list-item; }
|
587 |
+
.select2-container.select2-container-disabled .select2-choice { background-color: #f4f4f4; background-image: none; border: 1px solid #ddd; cursor: default; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; color: #999; }
|
588 |
+
.select2-container.select2-container-disabled .select2-choice div { background-color: #f4f4f4; background-image: none; border-left: 0; }
|
589 |
+
.select2-result-selectable .select2-match, .select2-result-unselectable .select2-result-selectable .select2-match { text-decoration: underline; }
|
590 |
+
.select2-result-unselectable .select2-match { text-decoration: none; }
|
591 |
+
.select2-offscreen { position: absolute; left: -10000px; }
|
592 |
+
|
593 |
+
|
594 |
+
/* multiselect */
|
595 |
+
|
596 |
+
.select2-container-multi .select2-choices { min-height: 26px;border: 1px solid #DADADA; background: white; padding: 5px; width: 100%; overflow-y: auto; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; margin: 0; cursor: text; overflow: hidden; height: auto !important; height: 1%; position: relative; }
|
597 |
+
.select2-container-multi .select2-choices li { float: left; list-style: none; }
|
598 |
+
.select2-container-multi .select2-choices .select2-search-field { white-space: nowrap; margin: 0; padding: 4px 0; }
|
599 |
+
.select2-container-multi .select2-choices .select2-search-field input { width: 60px; border: none; padding: 6px 8px; height: 28px; background: transparent; }
|
600 |
+
.select2-container-multi .select2-choices .select2-search-field input.select2-active { background: #fff url('spinner.gif') no-repeat 100% !important; }
|
601 |
+
.select2-container-multi .select2-choices .select2-search-choice { border: 1px solid #A5D24A; display: block; float: left; padding: 6px 8px 5px 22px; background: #CDE69C; color: #638421; margin: 5px; line-height: 13px; font-size: 11px; position: relative; white-space: nowrap; }
|
602 |
+
.select2-container-multi .select2-choices .select2-search-choice span { cursor: default; }
|
603 |
+
.select2-search-choice-close { display: block; position: absolute; top: 9px; width: 6px; height: 6px; font-size: 1px; background: url(../images/elements/forms/smallClose.png) no-repeat; outline: none; }
|
604 |
+
.select2-container-multi .select2-search-choice-close { left: 7px; }
|
605 |
+
|
606 |
+
/* disabled styles */
|
607 |
+
|
608 |
+
.select2-container-multi.select2-container-disabled .select2-choices{ background-color: #F8F8F8; background-image: none; border: 1px solid #ddd; cursor: default; }
|
609 |
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice { background-image: none; background-color: #F1F1F1; border: 1px solid #DDD; padding-left: 8px; color: #999; }
|
610 |
+
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none; }
|
611 |
+
|
612 |
+
|
613 |
+
|
614 |
+
|
615 |
+
/* ===== Form styling ===== */
|
616 |
+
|
617 |
+
.selector, .choice, .checker, .uploader, .selector *, .choice *, .checker *, .uploader *{ margin: 0; padding: 0; cursor: pointer; }
|
618 |
+
|
619 |
+
div.selector { background: #fcfcfc; background: -moz-linear-gradient(top, #fcfcfc 0%, #f4f4f4 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f4f4f4)); background: -webkit-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%); background: -o-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%); background: -ms-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%); background: linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%); border: 1px solid #d5d5d5; line-height: 28px; height: 28px; box-sizing: content-box; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee; -webkit-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee; -moz-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eeeeee; display: -moz-inline-box; display: inline-block; vertical-align: middle; zoom: 1; margin: 0; padding: 0 0 0 8px; cursor: pointer; width: auto; max-width: 280px; font-size: 12px; position: relative; overflow: hidden; }
|
620 |
+
div.selector span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #707070; text-shadow: 0 1px #f5f5f5; padding: 1px 32px 0px 2px; background: url(../images/elements/forms/select-arrow.png) no-repeat 100% 0; cursor: pointer; font-size: 11px; height: 28px; line-height: 27px; }
|
621 |
+
div.selector select { position: absolute; opacity: 0; filter: alpha(opacity:0); height: 27px; border: none; background: none; font-family: Arial, Helvetica, sans-serif; font-size: 12px; border: solid 1px white; width: 100%; top: 0px; left: 0px; }
|
622 |
+
.disabled { opacity: 0.6; filter: alpha(opacity=60);; }
|
623 |
+
.labelDisabled { color: #B7B7B7; }
|
624 |
+
|
625 |
+
.sidebar .selector { margin-bottom: 14px; height: 30px; line-height: 30px; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; width: 100%;
|
626 |
+
box-sizing: border-box;
|
627 |
+
-webkit-box-sizing: border-box;
|
628 |
+
-moz-box-sizing: border-box;
|
629 |
+
-ms-box-sizing: border-box;
|
630 |
+
}
|
631 |
+
|
632 |
+
/* Checkboxes */
|
633 |
+
|
634 |
+
div.checker { width: 16px; height: 16px; position: relative; display: -moz-inline-box; display: block; vertical-align: middle; zoom: 1; float: left; margin: 2px 8px 0 0; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; }
|
635 |
+
div.checker input { width: 16px; height: 16px; opacity: 0; filter: alpha(opacity:0); display: inline-block; background: none; }
|
636 |
+
div.checker span { background: url(../images/elements/forms/checkboxes.png) no-repeat 0 0; height: 16px; width: 16px; display: -moz-inline-box; display: inline-block; text-align: center; }
|
637 |
+
div.checker span.checked { background-position: 0 -17px; }
|
638 |
+
|
639 |
+
/* Radio buttons */
|
640 |
+
|
641 |
+
div.choice { width: 16px; height: 17px; position: relative; display: -moz-inline-box; display: block; vertical-align: middle; zoom: 1; float: left; margin-top: 2px; margin-right: 8px; }
|
642 |
+
div.choice input { width: 16px; height: 17px; opacity: 0; filter: alpha(opacity:0); display: inline-block; background: none; }
|
643 |
+
div.choice span { background: url(../images/elements/forms/radios.png) no-repeat 0 0; height: 17px; width: 16px; display: -moz-inline-box; display: inline-block; text-align: center; }
|
644 |
+
div.choice span.checked { background-position: 0 -18px; }
|
645 |
+
|
646 |
+
/* File uploader */
|
647 |
+
|
648 |
+
div.uploader { width: 240px; position: relative; overflow: hidden; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; border: 1px solid #d7d7d7; background: #fdfdfd; padding: 2px 2px 2px 8px; }
|
649 |
+
div.uploader span.action { width: 22px; background: url(../images/elements/forms/add_files.png) no-repeat 0 0; height: 22px; font-size: 11px; font-weight: bold; cursor: pointer; float: right; text-indent: -9999px; display: inline; overflow: hidden; cursor: pointer; }
|
650 |
+
.sidebar .uploader { background: #fff; padding: 3px 3px 3px 10px; width: 100%; margin-bottom: 14px;
|
651 |
+
box-shadow: 0 1px 0 #fff;
|
652 |
+
-moz-box-shadow: 0 1px 0 #fff;
|
653 |
+
box-sizing: border-box;
|
654 |
+
-webkit-box-sizing: border-box;
|
655 |
+
-moz-box-sizing: border-box;
|
656 |
+
-ms-box-sizing: border-box;
|
657 |
+
}
|
658 |
+
.sidebar .uploader input[type=file] { height: 32px; }
|
659 |
+
.sidebar .uploader input[type=file] { height: 32px; }
|
660 |
+
div.uploader:hover span.action { background-position: 0 -27px; }
|
661 |
+
div.uploader:active span.action { background-position: 0 -54px; }
|
662 |
+
div.uploader span.filename { color: #777; max-width: 200px; font-size: 11px; line-height: 22px; float: left; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: default; }
|
663 |
+
div.uploader input { width: 256px; opacity: 0; filter: alpha(opacity:0); position: absolute; top: 0; right: 0; bottom: 0; float: right; height: 26px; border: none; cursor: pointer; }
|
664 |
+
.uploader { display: -moz-inline-box; display: inline-block; vertical-align: middle; zoom: 1; *display: inline; }
|
665 |
+
|
666 |
+
|
667 |
+
|
668 |
+
/*===== Form wizard =====*/
|
669 |
+
|
670 |
+
.ui-formwizard fieldset h1 { padding: 8px 16px; font-size: 16px; border-bottom: 1px solid #EAEAEA; margin: 0; background: #FCFCFC; box-shadow: 0 1px 1px white inset; -webkit-box-shadow: 0 1px 1px white inset; -moz-box-shadow: 0 1px 1px white inset; }
|
671 |
+
.ui-formwizard .form-actions { border-top: 1px solid #eaeaea; box-shadow: 0 1px 0 #fff inset; -webkit-box-shadow: 0 1px 0 #fff inset; -moz-box-shadow: 0 1px 0 #fff inset; }
|
672 |
+
.submit-data span { font-size: 11px; text-align: center; border-top: 1px solid #eaeaea; padding: 12px 0; display: block; box-shadow: 0 1px 0 #fff inset; -webkit-box-shadow: 0 1px 0 #fff inset; -moz-box-shadow: 0 1px 0 #fff inset; }
|
673 |
+
|
674 |
+
|
675 |
+
|
676 |
+
/*===== Progress bars =====*/
|
677 |
+
|
678 |
+
.progress { position: relative; }
|
679 |
+
.progress .bar { position: absolute; overflow: hidden; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; font-size: 11px; font-weight: bold; line-height: 13px; padding: 5px 0 4px 0; }
|
680 |
+
.progress .progressbar-back-text { position: absolute; width: 100%; height: 100%; font-size: 11px; text-align: center; font-weight: bold; }
|
681 |
+
.progress .progressbar-front-text { display: block; width: 100%; text-align: center; }
|
682 |
+
|
683 |
+
.progress.right .bar { right: 0; }
|
684 |
+
.progress.right .progressbar-front-text { position: absolute; right: 0; }
|
685 |
+
|
686 |
+
.progress.vertical { width: 30px; height: 150px; float: left; margin-left: 22px; }
|
687 |
+
.progress.vertical:first-child { margin-left: 0; }
|
688 |
+
.progress.vertical.bottom { position: relative; }
|
689 |
+
|
690 |
+
.progress .bar.six-sec-ease-in-out { -webkit-transition: width 6s ease-in-out; -moz-transition: width 6s ease-in-out; -ms-transition: width 6s ease-in-out; -o-transition: width 6s ease-in-out; transition: width 6s ease-in-out; }
|
691 |
+
.progress.vertical .bar.six-sec-ease-in-out { -webkit-transition: height 6s ease-in-out; -moz-transition: height 6s ease-in-out; -ms-transition: height 6s ease-in-out; -o-transition: height 6s ease-in-out; transition: height 6s ease-in-out; }
|
692 |
+
.progress.wide { width: 40px; }
|
693 |
+
.progress.thin { width: 6px; }
|
694 |
+
.vertical-progressbar-span { height: 100px; }
|
695 |
+
.progress.vertical.bottom .progressbar-front-text { position: absolute; bottom: 0; }
|
696 |
+
|
697 |
+
.progress.vertical .bar { line-height: 24px; width: 100%; height: 0; -webkit-transition: height 0.6s ease; -moz-transition: height 0.6s ease; -o-transition: height 0.6s ease; transition: height 0.6s ease;
|
698 |
+
background: #0e90d2;
|
699 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #149bdf, #0480be);
|
700 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));
|
701 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #149bdf, #0480be);
|
702 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #149bdf, #0480be);
|
703 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #149bdf, #0480be);
|
704 |
+
}
|
705 |
+
.progress.vertical.bottom .bar { position: absolute; bottom: 0; }
|
706 |
+
.progress-danger.vertical .bar, .progress.vertical .bar-danger {
|
707 |
+
background: #ec795d;
|
708 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #ec795d, #d1573a);
|
709 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#ec795d), to(#d1573a));
|
710 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #ec795d, #d1573a);
|
711 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #ec795d, #d1573a);
|
712 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #ec795d, #d1573a);
|
713 |
+
}
|
714 |
+
.progress-success.vertical .bar, .progress.vertical .bar-success {
|
715 |
+
background: #7fd658;
|
716 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #7fd658, #6ab84e);
|
717 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#7fd658), to(#6ab84e));
|
718 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #7fd658, #6ab84e);
|
719 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #7fd658, #6ab84e);
|
720 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #7fd658, #6ab84e);
|
721 |
+
}
|
722 |
+
.progress-info.vertical .bar, .progress.vertical .bar-info {
|
723 |
+
background: #57c2f3;
|
724 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #57c2f3, #31a7dd);
|
725 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#57c2f3), to(#31a7dd));
|
726 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #57c2f3, #31a7dd);
|
727 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #57c2f3, #31a7dd);
|
728 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #57c2f3, #31a7dd);
|
729 |
+
}
|
730 |
+
.progress-warning.vertical .bar, .progress.vertical .bar-warning {
|
731 |
+
background: #eca558;
|
732 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #eca558, #e28131);
|
733 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, 0 0, 0 100%, from(#eca558), to(#e28131));
|
734 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #eca558, #e28131);
|
735 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #eca558, #e28131);
|
736 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #eca558, #e28131);
|
737 |
+
}
|
738 |
+
|
739 |
+
.progresses-left { float: left; }
|
740 |
+
.progresses-right { float: right; }
|
741 |
+
.inline-bars:after { content: ""; display: block; height: 0; clear: both; }
|
742 |
+
.inline-bars li { padding: 12px 9px !important; width:6.6%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; box-shadow: 1px 0 0 #fff inset, -1px 0 0 #fff inset; -webkit-box-shadow: 1px 0 0 #fff inset, -1px 0 0 #fff inset; -moz-box-shadow: 1px 0 0 #fff inset, -1px 0 0 #fff inset; border-left: 1px solid #e5e5e5; display: block; float: left;margin-bottom:0px; }
|
743 |
+
.inline-bars li:first-child { border-left: none; }
|
744 |
+
.inline-bars > li > .progress.vertical:first-child { margin-left: auto; }
|
745 |
+
.inline-bars > li > .progress.vertical { margin: 0 auto; float: none; }
|
746 |
+
|
747 |
+
|
748 |
+
|
749 |
+
|
750 |
+
/* === Dividers === */
|
751 |
+
|
752 |
+
.body .separator { height: 0; border-top: 1px solid #d6d6d6; border-bottom: 1px solid #fff; position: relative; margin-top:20px; }
|
753 |
+
.separator > span { position: absolute; left: 50%; margin-left: -21px; background: #f4f4f4 url(../images/div.png) no-repeat 50%; width: 36px; padding: 0 3px; height: 9px; display: block; top: -4px; }
|
754 |
+
.well .separator > span { background-color: #fafafa; }
|
755 |
+
.separator-reflected { width: 100%; border: 0; height: 1px; margin-top: 30px;
|
756 |
+
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0));
|
757 |
+
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0));
|
758 |
+
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0));
|
759 |
+
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0));
|
760 |
+
}
|
761 |
+
.separator-dashed { border-bottom: 1px dashed #fafafa; background: #ccc; margin-top: 30px; }
|
762 |
+
.separator-shadow { height: 12px; border: 0; box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.2); -webkit-box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.2); -moz-box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.2); margin-top: 30px; }
|
763 |
+
.separator-doubled { padding: 0; height: 0; border: none; border-top: medium double #d5d5d5; color: #333; text-align: center; margin-top: 10px; }
|
764 |
+
.separator-doubled:after { content: "§"; display: inline-block; position: relative; top: -14px; font-size: 14px; padding: 0 8px; color: #888; }
|
765 |
+
.well .separator-doubled:after { background: #fafafa; }
|
766 |
+
.sidebar .separator { border-top: 1px solid #d5d5d5; border-bottom: 1px solid #fff; margin-top: 0; margin-bottom: 30px; }
|
767 |
+
.sidebar .separator > span { }
|
768 |
+
.sidebar .separator-doubled { border-top: medium double #d5d5d5; color: #333; margin-top: 0; margin-bottom: 30px; }
|
769 |
+
.sidebar .separator-doubled:after { color: #999; }
|
770 |
+
.sidebar .separator-alt { padding: 0; height: 0; border-top: 1px solid #d5d5d5; border-bottom: 1px solid #fff; color: #333; text-align: center; margin-bottom: 30px; }
|
771 |
+
.sidebar .separator-alt:after { content: "§"; display: inline-block; position: relative; top: -13px; font-size: 14px; padding: 0 8px; color: #888; }
|
772 |
+
|
773 |
+
|
774 |
+
|
775 |
+
/* ===== Widget toolbar ===== */
|
776 |
+
|
777 |
+
.toolbar { border-bottom: 1px solid #ddd;
|
778 |
+
background: #fefefe;
|
779 |
+
background: -moz-linear-gradient(top, #fefefe 0%, #f6f6f6 100%);
|
780 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fefefe), color-stop(100%, #f6f6f6));
|
781 |
+
background: -webkit-linear-gradient(top, #fefefe 0%, #f6f6f6 100%);
|
782 |
+
background: -o-linear-gradient(top, #fefefe 0%, #f6f6f6 100%);
|
783 |
+
background: -ms-linear-gradient(top, #fefefe 0%, #f6f6f6 100%);
|
784 |
+
background: linear-gradient(top, #fefefe 0%, #f6f6f6 100%);
|
785 |
+
}
|
786 |
+
.toolbar:after { content: ""; display: block; clear: both; }
|
787 |
+
.toolbar li { display: block; float: left; border-right: 1px solid #DDD; font-size: 11px; }
|
788 |
+
.toolbar li a { display: inline-block; white-space: nowrap; color: #818181; padding: 7px 12px; }
|
789 |
+
.toolbar li a:hover { color: #327394;
|
790 |
+
background: #fbfbfb;
|
791 |
+
background: -moz-linear-gradient(top, #fbfbfb 0%, #f8f8f8 100%);
|
792 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f8f8f8));
|
793 |
+
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f8f8f8 100%);
|
794 |
+
background: -o-linear-gradient(top, #fbfbfb 0%,#f8f8f8 100%);
|
795 |
+
background: -ms-linear-gradient(top, #fbfbfb 0%,#f8f8f8 100%);
|
796 |
+
background: linear-gradient(top, #fbfbfb 0%,#f8f8f8 100%);
|
797 |
+
}
|
798 |
+
.toolbar li a:active { background: #f8f8f8; color: #999999; }
|
799 |
+
.toolbar li a i { font-size: 14px; float: left; display: inline-block; width: 14px; margin-right: 0; margin-top: 4px; }
|
800 |
+
.toolbar li a img { display: inline-block; float: left; margin-top: 4px; }
|
801 |
+
.toolbar li a span { margin-left: 8px; }
|
802 |
+
|
803 |
+
|
804 |
+
|
805 |
+
|
806 |
+
/* Messages page
|
807 |
+
================================================== */
|
808 |
+
|
809 |
+
.messages li { position: relative; min-height: 36px; margin-top: 20px; }
|
810 |
+
.messages li:first-child { margin-top: 0; }
|
811 |
+
.messages > li.divider { border-top: 1px solid #DFDFDF!important; margin: 20px 0 20px 0!important; min-height: 0; }
|
812 |
+
.messages > li.divider > span { background-color: #f5f5f5!important; }
|
813 |
+
.messages .by-user > a, .messages .by-me > a { position: absolute; top: 0; display: block; }
|
814 |
+
.messages .by-user > a { left: 0; }
|
815 |
+
.messages .by-me > a { right: 0; }
|
816 |
+
.messages .by-user .arrow, .messages .by-me .arrow { width: 8px; height: 9px; position: absolute; top: 12px; }
|
817 |
+
.messages .by-user .arrow { background: url(../images/elements/other/messageArrow_left.png) no-repeat; left: -8px; }
|
818 |
+
.messages .by-me .arrow { background: url(../images/elements/other/messageArrow_right.png) no-repeat; right: -8px; }
|
819 |
+
.messages .by-user .area, .messages .by-me .area { box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; padding: 8px 12px; position: relative; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border: 1px solid; }
|
820 |
+
.messages .by-user .area { background: #fafeff; border-color: #b5cdd7; margin-left: 52px; }
|
821 |
+
.messages .by-me .area { background: #fff; border-color: #dcdcdc; margin-right: 52px; }
|
822 |
+
.messages .area > p { margin: 0; }
|
823 |
+
.by-user .pull-left > strong { color: #2c596d; }
|
824 |
+
.by-me .pull-left > strong { color: #393939; }
|
825 |
+
.info-row { font-size: 11px; color: #949494; margin-bottom: 4px; }
|
826 |
+
.info-row:after { content: ""; display: block; clear: both; }
|
827 |
+
|
828 |
+
.message { overflow: hidden; padding: 16px 0 8px; border-bottom: 1px solid #ddd; *zoom: 1; }
|
829 |
+
.message:first-child { padding-top: 0; }
|
830 |
+
.message-img { float: left; margin-right: 30px; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; overflow: hidden; }
|
831 |
+
.message p { margin: 0; }
|
832 |
+
.message-img img { display: block; width: 44px; height: 44px; }
|
833 |
+
.message-body { margin-left: 74px; }
|
834 |
+
.message .text { padding: 10px; border: 1px solid #e5e5e5; border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; background: #fff; }
|
835 |
+
.message .attribution { margin: 6px 0 0; font-size: 11px; color: #666; }
|
836 |
+
|
837 |
+
.timeline-messages, .message { position: relative; }
|
838 |
+
.timeline-messages:before, .message:before, .message .text:before { content: ""; position: absolute; top: 0; left: 65px; }
|
839 |
+
.timeline-messages:before { width: 2px; top: 0; bottom: 0; background: rgba(0,0,0,0.1); left: 58px; }
|
840 |
+
.message:before { width: 8px; height: 8px; border: 2px solid #fafafa; border-radius: 100px; -webkit-border-radius: 100px; -moz-border-radius: 100px; margin: 32px 0 0 -12px; background: #ccc; }
|
841 |
+
.message:first-child:before { margin-top: 16px; }
|
842 |
+
.message:hover:before { background: #fa9e0e; }
|
843 |
+
|
844 |
+
|
845 |
+
/* Enter message field */
|
846 |
+
|
847 |
+
.enter-message { position: relative; margin-top: -2px; margin-bottom: 4px; }
|
848 |
+
.enter-message-divider { height: 0; border-top: 1px solid #ddd; margin: 20px -16px; }
|
849 |
+
.enter-message.for-messages { margin-top: 0; }
|
850 |
+
.message-actions { margin-bottom: -5px; }
|
851 |
+
.message-actions:after { content: ""; display: block; clear: both; }
|
852 |
+
.enter-message textarea { width: 100%; background: #fff; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; display: block; border: 1px solid #d5d5d5; box-shadow: 0 1px 1px #fafafa; -webkit-box-shadow: 0 1px 1px #fafafa; -moz-box-shadow: 0 1px 1px #fafafa; padding: 10px; color: #404040; }
|
853 |
+
.send-button { display: block; float: right; margin-top: 15px; }
|
854 |
+
.send-button .attach-link, .send-button .attach-photo { opacity: .4; filter: alpha(opacity=40); display: block; float: left; margin: 9px 0 0 12px; }
|
855 |
+
.send-button .attach-link:hover, .send-button .attach-photo:hover { opacity: 1; filter: alpha(opacity=100); -webkit-transition: opacity 0.2s ease-in-out; -moz-transition: opacity 0.2s ease-in-out; transition: opacity 0.2s ease-in-out; }
|
856 |
+
.send-button .attach-link { width: 12px; height: 12px; background: url(../images/elements/other/link.png) no-repeat; }
|
857 |
+
.send-button .attach-photo { width: 14px; height: 11px; background: url(../images/elements/other/photo.png) no-repeat; }
|
858 |
+
.send-button input[type=submit] { float: left; display: block; margin: 0 0 0 12px; }
|
859 |
+
.user-is-typing { float: left; color: #999; font-size: 11px; font-style: italic; margin-top: 18px; white-space: nowrap; }
|
860 |
+
.user-is-typing > img { display: block; float: left; margin: 4px 8px 0 0; }
|
861 |
+
|
862 |
+
|
863 |
+
|
864 |
+
|
865 |
+
/* ===== Datatables ===== */
|
866 |
+
|
867 |
+
.dataTables_wrapper { position: relative; clear: both; *zoom: 1; }
|
868 |
+
.dataTables_length { float: right; padding: 12px 10px; display: block; }
|
869 |
+
.dataTables_length > label > span { float: left; margin-top: 3px; }
|
870 |
+
.dataTables_length .selector { margin-left: 10px; line-height: 26px; height: 26px; }
|
871 |
+
.dataTables_length .selector > span { height: 26px; line-height: 26px; background-position: 100% -1px; padding-top: 0; }
|
872 |
+
.dataTables_length .selector select { height: 26px;}
|
873 |
+
.show-entries { float: left; margin: 4px 15px 0 0; }
|
874 |
+
.dataTables_filter { padding: 14px 12px; position: relative; display: block; float: left; }
|
875 |
+
.dataTables_filter > label, .dataTables_length > label { margin: 0; }
|
876 |
+
.dataTables_filter label > span { display: block; float: left; padding-top: 1px; }
|
877 |
+
.dataTables_filter input[type=text] { height: auto; padding: 5px 7px; margin-left: 15px; width: 180px; background: #f9f9f9; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff; border: 1px solid #d7d7d7; }
|
878 |
+
.dataTables_info { padding: 12px; display: block; float: left; }
|
879 |
+
.tableFooter { clear: both; padding: 8px 12px; height: 36px; font-size: 11px; color: #636363; border-top: 1px solid #cdcdcd; -webkit-border-bottom-right-radius: 3px; -webkit-border-bottom-left-radius: 3px; -moz-border-radius-bottomright: 3px; -moz-border-radius-bottomleft: 3px; background: #f8f8f8; background: -moz-linear-gradient(top, #f8f8f8 0%, #efefef 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#efefef)); background: -webkit-linear-gradient(top, #f8f8f8 0%,#efefef 100%); background: -o-linear-gradient(top, #f8f8f8 0%,#efefef 100%); background: -ms-linear-gradient(top, #f8f8f8 0%,#efefef 100%); background: linear-gradient(top, #f8f8f8 0%,#efefef 100%); }
|
880 |
+
.dataTables_paginate { float: right; margin: 12px; }
|
881 |
+
.dataTables_paginate .last { margin-right: 0!important; }
|
882 |
+
.datatable-header { border-bottom: 1px solid #ddd; }
|
883 |
+
.datatable-footer { border-top: 1px solid #ddd; padding: 1px 0; }
|
884 |
+
.datatable-footer {
|
885 |
+
background: #fcfcfc;
|
886 |
+
background: -moz-linear-gradient(top, #fcfcfc 0%, #f5f5f5 100%);
|
887 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f5f5f5));
|
888 |
+
background: -webkit-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
889 |
+
background: -o-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
890 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
891 |
+
background: linear-gradient(top, #fcfcfc 0%,#f5f5f5 100%);
|
892 |
+
}
|
893 |
+
.datatable-header { background: #fafafa; }
|
894 |
+
.datatable-header:after, .datatable-footer:after { content: ""; display: block; clear: both; }
|
895 |
+
|
896 |
+
/* Two button pagination - previous / next */
|
897 |
+
.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next { height: 19px; float: left; cursor: pointer; *cursor: hand; color: #111 !important; }
|
898 |
+
.paginate_disabled_previous:hover, .paginate_enabled_previous:hover, .paginate_disabled_next:hover, .paginate_enabled_next:hover { text-decoration: none !important; }
|
899 |
+
.paginate_disabled_previous:active, .paginate_enabled_previous:active, .paginate_disabled_next:active, .paginate_enabled_next:active { outline: none; }
|
900 |
+
.paginate_disabled_previous, .paginate_disabled_next { color: #666 !important; }
|
901 |
+
.paginate_disabled_previous, .paginate_enabled_previous { padding-left: 23px; }
|
902 |
+
.paginate_disabled_next, .paginate_enabled_next { padding-right: 23px; margin-left: 10px; }
|
903 |
+
.paginate_enabled_previous { background: url('../images/tables/back_enabled.png') no-repeat top left; }
|
904 |
+
.paginate_enabled_previous:hover { background: url('../images/tables/back_enabled_hover.png') no-repeat top left; }
|
905 |
+
.paginate_disabled_previous { background: url('../images/tables/back_disabled.png') no-repeat top left; }
|
906 |
+
.paginate_enabled_next { background: url('../images/tables/forward_enabled.png') no-repeat top right; }
|
907 |
+
.paginate_enabled_next:hover { background: url('../images/tables/forward_enabled_hover.png') no-repeat top right; }
|
908 |
+
.paginate_disabled_next { background: url('../images/tables/forward_disabled.png') no-repeat top right; }
|
909 |
+
|
910 |
+
/* Full number pagination */
|
911 |
+
.paging_full_numbers { height: 22px; line-height: 22px; }
|
912 |
+
.paging_full_numbers .next:active, .paging_full_numbers .first:active, .paging_full_numbers .previous:active, .paging_full_numbers .last:active { font-weight: normal!important; }
|
913 |
+
.paging_full_numbers a:active { outline: none }
|
914 |
+
.paging_full_numbers a:hover { text-decoration: none; }
|
915 |
+
.paging_full_numbers a.paginate_button, .paging_full_numbers a.paginate_active { border: 1px solid #d3d3d3; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; padding: 5px 8px; margin: 0 3px; cursor: pointer; *cursor: hand; color: #919191; font-size: 11px; box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eaeaea; -webkit-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eaeaea; -moz-box-shadow: 0 1px 0 #fff inset, 0 1px 0px #eaeaea; }
|
916 |
+
.paging_full_numbers a.paginate_button {
|
917 |
+
background: #ffffff;
|
918 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f5f5f5 100%);
|
919 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5));
|
920 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
921 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
922 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
923 |
+
background: linear-gradient(top, #ffffff 0%,#f5f5f5 100%);
|
924 |
+
}
|
925 |
+
.paging_full_numbers a.paginate_button:hover { background: #fcfcfc; color: #327394; }
|
926 |
+
.paging_full_numbers a.paginate_active, .paging_full_numbers a.paginate_button:active { background: #6f6f6f; color: #fff; border-color: #646464; box-shadow: 0 1px 2px #545454 inset, 0 1px 0 #fff; -webkit-box-shadow: 0 1px 2px #545454 inset, 0 1px 0 #fff; -moz-box-shadow: 0 1px 2px #545454 inset, 0 1px 0 #fff; font-weight: bold; }
|
927 |
+
.paginate_button_disabled, .paginate_button_disabled:active { background: #F9F9F9!important; color: #CCC!important; box-shadow: none!important; font-weight: normal!important; border: 1px solid #E5E5E5!important; }
|
928 |
+
.paginate_button_disabled:active { border-color: #d3d3d3!important; }
|
929 |
+
.dataTables_processing { position: absolute; top: 50%; left: 50%; width: 250px; height: 30px; margin-left: -125px; margin-top: -15px; padding: 14px 0 2px 0; border: 1px solid #ddd; text-align: center; color: #999; font-size: 14px; background-color: white; }
|
930 |
+
.sorting { background: url('../images/tables/sort_both.png') no-repeat 100% 8px; }
|
931 |
+
.sorting_asc { background: url('../images/tables/sort_asc.png') no-repeat 100% 8px; }
|
932 |
+
.sorting_desc { background: url('../images/tables/sort_desc.png') no-repeat 100% 8px; }
|
933 |
+
.sorting_asc_disabled { background: url('../images/tables/sort_asc_disabled.png') no-repeat 100% 8px; }
|
934 |
+
.sorting_desc_disabled { background: url('../images/tables/sort_desc_disabled.png') no-repeat 100% 8px; }
|
935 |
+
table.dataTable th:active { outline: none; }
|
936 |
+
.dataTables_scroll { clear: both; }
|
937 |
+
.dataTables_scrollBody { *margin-top: -1px; -webkit-overflow-scrolling: touch; }
|
938 |
+
|
939 |
+
|
940 |
+
|
941 |
+
/*===== jGrowl styling =====*/
|
942 |
+
|
943 |
+
.jGrowl { z-index: 9999; color: #fff; font-size: 12px; }
|
944 |
+
.ie6 { position: absolute; }
|
945 |
+
.jGrowl { position: absolute; }
|
946 |
+
body > .jGrowl { position: fixed; }
|
947 |
+
.jGrowl.top-left { left: 0px; top: 0px; }
|
948 |
+
.jGrowl.top-right { right: 7px; top: 0px; }
|
949 |
+
.jGrowl.bottom-left { left: 0px; bottom: 0px; }
|
950 |
+
.jGrowl.bottom-right { right: 0px; bottom: 0px; }
|
951 |
+
.jGrowl.center { top: 0px; width: 50%; left: 25%; }
|
952 |
+
.center .jGrowl-notification, .center .jGrowl-closer { margin-left: auto; margin-right: auto; }
|
953 |
+
.jGrowl .jGrowl-notification { border: 1px solid #3485ae; opacity: .95; filter: alpha(Opacity=95); zoom: 1; width: 194px; padding: 8px 12px; margin-top: 5px; margin-bottom: 5px; font-size: 12px; text-align: left; display: none;
|
954 |
+
background: #56a4ce;
|
955 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #56a4ce 0%, #3485ae 100%);
|
956 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#56a4ce), color-stop(100%,#3485ae));
|
957 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
958 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
959 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
960 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
961 |
+
-webkit-border-radius: 3px;
|
962 |
+
-moz-border-radius: 3px;
|
963 |
+
border-radius: 3px;
|
964 |
+
box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
|
965 |
+
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
|
966 |
+
-moz-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset;
|
967 |
+
}
|
968 |
+
.jGrowl-notification.growl-error { border: 1px solid #9E382F;
|
969 |
+
background: #C24B40;
|
970 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #C24B40 0%, #9E382F 100%);
|
971 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#C24B40), color-stop(100%,#9E382F));
|
972 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #C24B40 0%,#9E382F 100%);
|
973 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #C24B40 0%,#9E382F 100%);
|
974 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #C24B40 0%,#9E382F 100%);
|
975 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #C24B40 0%,#9E382F 100%);
|
976 |
+
}
|
977 |
+
.jGrowl-notification.growl-success { border: 1px solid #7d9f3d;
|
978 |
+
background: #a3c85b;
|
979 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #a3c85b 0%, #7d9f3d 100%);
|
980 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a3c85b), color-stop(100%,#7d9f3d));
|
981 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #a3c85b 0%,#7d9f3d 100%);
|
982 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #a3c85b 0%,#7d9f3d 100%);
|
983 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #a3c85b 0%,#7d9f3d 100%);
|
984 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #a3c85b 0%,#7d9f3d 100%);
|
985 |
+
}
|
986 |
+
.jGrowl-notification.growl-warning { border: 1px solid #b06f38;
|
987 |
+
background: #d79957;
|
988 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #d79957 0%, #b06f38 100%);
|
989 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d79957), color-stop(100%,#b06f38));
|
990 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #d79957 0%,#b06f38 100%);
|
991 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #d79957 0%,#b06f38 100%);
|
992 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #d79957 0%,#b06f38 100%);
|
993 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #d79957 0%,#b06f38 100%);
|
994 |
+
}
|
995 |
+
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { margin: 13px; }
|
996 |
+
.jGrowl .jGrowl-notification .jGrowl-header { font-weight: bold; font-size: 10px; text-shadow: 0 1px 0 #777; text-transform: uppercase; }
|
997 |
+
.jGrowl .jGrowl-notification .jGrowl-close { z-index: 99; float: right; font-weight: bold; font-size: 12px; cursor: pointer; }
|
998 |
+
.jGrowl .jGrowl-closer { padding-top: 3px; padding-bottom: 3px; cursor: pointer; font-size: 11px; font-weight: bold; text-align: center; background: #333; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; box-shadow: 0 1px 0 #595959, 0 1px 0 #222 inset; -webkit-box-shadow: 0 1px 0 #595959, 0 1px 0 #222 inset; -moz-box-shadow: 0 1px 0 #595959, 0 1px 0 #222 inset; color: #BBB; width: 220px; }
|
999 |
+
@media print { .jGrowl { display: none; } }
|
1000 |
+
|
1001 |
+
|
1002 |
+
|
1003 |
+
/*===== Note alerts =====*/
|
1004 |
+
|
1005 |
+
.note { text-align:left; color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset; -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset; font-size: 12px; padding: 9px 35px 8px 15px;
|
1006 |
+
background: #56a4ce url(../images/elements/ui/progress_overlay.png);
|
1007 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #56a4ce 0%, #3485ae 100%);
|
1008 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#56a4ce), color-stop(100%,#3485ae));
|
1009 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
1010 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
1011 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
1012 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #56a4ce 0%,#3485ae 100%);
|
1013 |
+
}
|
1014 |
+
.note .close { position: relative; top: 1px; right: -16px; line-height: 20px; color: #fff; opacity: 0.8; filter: alpha(opacity=80); }
|
1015 |
+
.note .close:hover { color: #fff; opacity: 1; filter: alpha(opacity=100); }
|
1016 |
+
|
1017 |
+
.note-warning {
|
1018 |
+
background: #eca558 url(../images/elements/ui/progress_overlay.png);
|
1019 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #eca558 0%, #e28131 100%);
|
1020 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eca558), color-stop(100%,#e28131));
|
1021 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #eca558 0%,#e28131 100%);
|
1022 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #eca558 0%,#e28131 100%);
|
1023 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #eca558 0%,#e28131 100%);
|
1024 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #eca558 0%,#e28131 100%);
|
1025 |
+
}
|
1026 |
+
.note-success {
|
1027 |
+
background: #a3cd54 url(../images/elements/ui/progress_overlay.png);
|
1028 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #a3cd54 0%, #7da138 100%);
|
1029 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a3cd54), color-stop(100%,#7da138));
|
1030 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
1031 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
1032 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
1033 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #a3cd54 0%,#7da138 100%);
|
1034 |
+
}
|
1035 |
+
.note-danger {
|
1036 |
+
background: #ec795d url(../images/elements/ui/progress_overlay.png);
|
1037 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #ec795d 0%, #d1573a 100%);
|
1038 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ec795d), color-stop(100%,#d1573a));
|
1039 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #ec795d 0%,#d1573a 100%);
|
1040 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #ec795d 0%,#d1573a 100%);
|
1041 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #ec795d 0%,#d1573a 100%);
|
1042 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(top, #ec795d 0%,#d1573a 100%);
|
1043 |
+
}
|
1044 |
+
|
1045 |
+
|
1046 |
+
|
1047 |
+
|
1048 |
+
/* ===== Syntax highlighter ===== */
|
1049 |
+
|
1050 |
+
.com { color: #93a1a1; }
|
1051 |
+
.lit { color: #195f91; }
|
1052 |
+
.pun, .opn, .clo { color: #93a1a1; }
|
1053 |
+
.fun { color: #dc322f; }
|
1054 |
+
.str, .atv { color: #ca3131; }
|
1055 |
+
.kwd, .prettyprint .tag { color: #1e347b; }
|
1056 |
+
.typ, .atn, .dec, .var { color: teal; }
|
1057 |
+
.pln { color: #48484c; }
|
1058 |
+
.prettyprint { padding: 8px; background-color: #f7f7f9; border: 1px solid #e1e1e8; }
|
1059 |
+
.prettyprint.linenums { -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; }
|
1060 |
+
ol.linenums { margin: 0 0 0 33px; list-style-type: decimal; }
|
1061 |
+
ol.linenums li { padding-left: 12px; color: #bebec5; line-height: 20px; text-shadow: 0 1px 0 #fff; }
|
1062 |
+
|
1063 |
+
|
1064 |
+
|
1065 |
+
/* ===== Search widget ===== */
|
1066 |
+
|
1067 |
+
.search-block { position: relative; box-shadow: 0 1px 1px #fcfcfc; -webkit-box-shadow: 0 1px 1px #fcfcfc; -moz-box-shadow: 0 1px 1px #fcfcfc; }
|
1068 |
+
.search-block input[type=text] { border: 1px solid #ddd; padding: 9px; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }
|
1069 |
+
.search-block button { position: absolute; top: 0; right: 0; height: 100%; max-height: 100%; padding: 7px 8px; z-index: 99; border-radius: 0 2px 2px 0; -webkit-border-radius: 0 2px 2px 0; -moz-border-radius: 0 2px 2px 0; margin: 0; }
|
1070 |
+
.search-block .search { width: 12px; height: 14px; display: block; background: url('../images/icons/icon-search.png') no-repeat; }
|
1071 |
+
.search-block button:active > .search { background-position: -12px 0; }
|
1072 |
+
|
1073 |
+
|
1074 |
+
|
1075 |
+
/* ===== News widget ===== */
|
1076 |
+
|
1077 |
+
.table-stats tbody td:first-child a { font-weight: bold; font-size: 14px; color: #5f5f5f; }
|
1078 |
+
.stats-plus, .stats-minus { padding-left: 20px; }
|
1079 |
+
.stats-plus { background: url(../images/elements/other/grown.png) no-repeat 0 1px; color: #468847; }
|
1080 |
+
.stats-minus { background: url(../images/elements/other/dropped.png) no-repeat 0 1px; color: #B94A48; }
|
1081 |
+
|
1082 |
+
|
1083 |
+
|
1084 |
+
/* ===== News widget ===== */
|
1085 |
+
|
1086 |
+
.updates li { border-top: 1px solid #ddd; padding: 10px 14px; line-height: 20px; }
|
1087 |
+
.updates li:first-child { border-top: none; }
|
1088 |
+
.updates li span { display: block; }
|
1089 |
+
.updates li > span > a { font-weight: bold; }
|
1090 |
+
|
1091 |
+
.updates .item { float: left; width: 80%; margin-top: 2px; }
|
1092 |
+
.updates .item span { line-height: 14px; }
|
1093 |
+
.updates .item > .headline { float: left; margin-right: 14px; }
|
1094 |
+
.updates .item > .headline > img { display: block; }
|
1095 |
+
.updates .item .announce > a { font-weight: bold; line-height: 18px; }
|
1096 |
+
.updates .date { float: right; width: 30px; text-align: center; color: #bbbbbb; margin: 3px 0 0 0; text-shadow: 0 1px #fff; }
|
1097 |
+
.updates .date > span { font-size: 20px; font-weight: bold; display: block; margin-bottom: -3px; }
|
1098 |
+
.updates li:after { content: ""; display: block; clear: both; }
|
1099 |
+
|
1100 |
+
|
1101 |
+
|
1102 |
+
|
1103 |
+
/* # Error and offline pages
|
1104 |
+
================================================== */
|
1105 |
+
|
1106 |
+
.error-page { position: absolute; top: 50%; bottom: 0; margin-top: -190px; text-align: center; left: 0; right: 0; }
|
1107 |
+
.error-page .error-content { width: 350px; margin: auto; margin-top: 35px; }
|
1108 |
+
.error-page .reason-title { display: block; margin: 20px 0 20px 0; font-weight: bold; font-size: 14px; }
|
1109 |
+
.error-page .reason { color: #fff; font-size: 200px; text-stroke: 1px transparent; padding: 110px 0 80px 0; display: block; text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15); }
|
1110 |
+
.error-page .error-buttons { margin-top: 16px; }
|
1111 |
+
.error-page .error-buttons > .btn { margin-top: 10px; }
|
1112 |
+
|
1113 |
+
|
1114 |
+
|
1115 |
+
|
1116 |
+
/*===== Dates range list =====*/
|
1117 |
+
|
1118 |
+
.dates-range li { float:left; display: block; width: 30%; }
|
1119 |
+
.dates-range li.sep { margin: 3px 5px; color: #ddd; width: 2%; text-align: center; }
|
1120 |
+
.dates-range li input[type=text] { width: 100%; }
|
1121 |
+
|
1122 |
+
|
1123 |
+
|
1124 |
+
|
1125 |
+
/* # Media queries
|
1126 |
+
================================================== */
|
1127 |
+
|
1128 |
+
@media (max-width: 1024px) {
|
1129 |
+
|
1130 |
+
.content > .body > .row-fluid:first-child [class*="span"]:first-child .block, .tab-pane > .row-fluid:first-child [class*="span"]:first-child .block { margin-top: 0; }
|
1131 |
+
.content > .body > .row-fluid:first-child [class*="span"] .block, .tab-pane > .row-fluid:first-child [class*="span"] .block { margin-top: 30px; }
|
1132 |
+
|
1133 |
+
}
|
1134 |
+
|
1135 |
+
@media (min-width: 769px) {
|
1136 |
+
|
1137 |
+
.sidebar-button { display: none; }
|
1138 |
+
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
@media (min-width: 769px) and (max-width: 1024px) {
|
1142 |
+
|
1143 |
+
div.jGrowl.top-right { right: 7px; }
|
1144 |
+
.content, .three-columns .content { margin: 20px 0px 20px 0px; }
|
1145 |
+
.sidebar { margin-left: 10px;}
|
1146 |
+
.wrapper { margin: 0 20px; }
|
1147 |
+
|
1148 |
+
}
|
1149 |
+
|
1150 |
+
@media (max-width: 768px) {
|
1151 |
+
|
1152 |
+
html { -webkit-text-size-adjust: none; }
|
1153 |
+
.topnav > li.topuser > a > img { margin-right: 0; }
|
1154 |
+
.topnav > li.topuser > a > span { display: none; }
|
1155 |
+
.topnav > li { display: none; }
|
1156 |
+
.topnav .dropdown-menu { left: auto; right: 0; }
|
1157 |
+
.topnav > li.search, .topnav > li.sidebar-button, .topnav > li.topuser { display: block; }
|
1158 |
+
.topnav > li.search { position: static; }
|
1159 |
+
.top-search { width: 100%; }
|
1160 |
+
.content, .three-columns .content { margin: 0; }
|
1161 |
+
.sidebar { z-index: 997; background: #fafafa; width: 100%; top: 0; display: none; }
|
1162 |
+
.sidebar .block, .sidebar [class*="separator"] { display: none; }
|
1163 |
+
.navigation { margin-bottom: 0; }
|
1164 |
+
.show-sidebar { display: block; }
|
1165 |
+
.hide-sidebar { display: none; }
|
1166 |
+
.inline-bars li { padding: 12px 0; width: 25%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1167 |
+
.inline-bars > li > .progress.vertical:first-child { margin-left: auto; }
|
1168 |
+
.inline-bars > li > .progress.vertical { margin: 0 auto; float: none; }
|
1169 |
+
.top-wrapper { padding: 0 0 0 10px; }
|
1170 |
+
.page-header h5 { padding-bottom: 15px; }
|
1171 |
+
.midnav { padding-top: 15px; padding-bottom: 25px; }
|
1172 |
+
|
1173 |
+
.wrapper { margin: 15px 15px 0 15px; padding-bottom: 25px; }
|
1174 |
+
|
1175 |
+
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
@media (min-width: 481px) and (max-width: 768px) {
|
1179 |
+
|
1180 |
+
div.jGrowl.top-right { right: 3px; }
|
1181 |
+
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { margin: 12px; }
|
1182 |
+
|
1183 |
+
}
|
1184 |
+
|
1185 |
+
@media (min-width: 480px) and (max-width: 767px) {
|
1186 |
+
|
1187 |
+
.page-header .icons > li { margin-left: 6px; }
|
1188 |
+
.page-header .icons > li > a > span { display: none; }
|
1189 |
+
.page-header .icons > li > a > i { float: none; margin-right: 0; }
|
1190 |
+
|
1191 |
+
|
1192 |
+
}
|
1193 |
+
|
1194 |
+
@media (min-width: 320px) and (max-width: 479px) {
|
1195 |
+
|
1196 |
+
.topnav > li.topuser { display: none; }
|
1197 |
+
.topnav > li.search { border-left: 1px solid #444; }
|
1198 |
+
.page-header h5 { padding-bottom: 14px; }
|
1199 |
+
.page-header .icons { display: none; }
|
1200 |
+
|
1201 |
+
}
|
1202 |
+
|
1203 |
+
@media (max-width: 480px) {
|
1204 |
+
|
1205 |
+
.content, .three-columns .content { margin: 0; }
|
1206 |
+
.wrapper { margin: 14px 10px 0 10px; padding-bottom: 14px; }
|
1207 |
+
|
1208 |
+
.midnav { padding-top: 8px; padding-bottom: 18px; }
|
1209 |
+
.midnav li { width: 46%; padding: 0 2%; margin-left: -2px; margin-right: -2px; }
|
1210 |
+
.midnav li strong { top: 0; right: 4%; }
|
1211 |
+
.midnav.no-background li { width: 100px; }
|
1212 |
+
.piechart li { width: auto; }
|
1213 |
+
|
1214 |
+
div.uploader, div.uploader input { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1215 |
+
|
1216 |
+
.left-box, .right-box { width: 100%; float: none; }
|
1217 |
+
.dual-control { width: auto; margin: 20px 0; position: static; left: 0; }
|
1218 |
+
.count-label { text-align: center; }
|
1219 |
+
|
1220 |
+
.datatable-header, .datatable-footer { text-align: center; }
|
1221 |
+
.dataTables_length, .dataTables_paginate { float: none; padding-top: 0; margin-top: 0; display: block; }
|
1222 |
+
.dataTables_filter, .dataTables_info { float: none; }
|
1223 |
+
|
1224 |
+
.toolbar li { height: 36px; }
|
1225 |
+
.toolbar li a span { display: none; }
|
1226 |
+
|
1227 |
+
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box; }
|
1228 |
+
.jGrowl .jGrowl-notification, .jGrowl .jGrowl-closer { margin: 8px 0; }
|
1229 |
+
.jGrowl.top-right { right: 0px; top: 0px; left: 0; padding: 0 10px; }
|
1230 |
+
|
1231 |
+
.dates-range li { width: 48%; }
|
1232 |
+
.dates-range li.sep { width: 4%; margin: 3px 0!important; text-align: center; }
|
1233 |
+
.dates-range li input { width: 100%; }
|
1234 |
+
|
1235 |
+
.error-page { top: 70px; margin-top: 0; }
|
1236 |
+
.error-page .reason { font-size: 100px; padding: 0; margin: 60px 0 20px 0; }
|
1237 |
+
.error-page .error-content { width: 280px; margin-top: 60px; padding-bottom: 25px; }
|
1238 |
+
|
1239 |
+
.elfinder .elfinder-navbar { width: 130px; }
|
1240 |
+
.plupload_filelist_footer .plupload_file_action, .plupload_filelist_footer .plupload_file_status, .plupload_filelist_footer .plupload_file_size { display: none; }
|
1241 |
+
|
1242 |
+
}
|
{css → assets/css}/plugins.css
RENAMED
@@ -1,491 +1,247 @@
|
|
1 |
-
/* ========================================================
|
2 |
-
*
|
3 |
-
* Amsterdam - premium admin template
|
4 |
-
*
|
5 |
-
* ========================================================
|
6 |
-
*
|
7 |
-
* File: plugins.css;
|
8 |
-
* Description: External plugins stylings
|
9 |
-
* Version: 1.0
|
10 |
-
*
|
11 |
-
* ======================================================== */
|
12 |
-
|
13 |
-
|
14 |
-
/* ===== Full Calendar ===== */
|
15 |
-
|
16 |
-
.fc { direction: ltr; text-align: left; }
|
17 |
-
.fc table { border-collapse: collapse; border-spacing: 0; }
|
18 |
-
html .fc, .fc table { font-size: 1em; }
|
19 |
-
.fc td, .fc th { padding: 0; vertical-align: top; }
|
20 |
-
.fc th { text-align: center; }
|
21 |
-
.fc-header { position: relative; }
|
22 |
-
.fc-header td { white-space: nowrap; }
|
23 |
-
.fc-header-left { text-align: left; width:
|
24 |
-
.fc-header-center { text-align: center; position: absolute; top: 0; width: 80%; left: 10%;
|
25 |
-
.fc-button-inner { border-left: 1px solid #d5d5d5; }
|
26 |
-
.fc-header-left .fc-button-inner { border: none; }
|
27 |
-
.fc-header-right { text-align: right;
|
28 |
-
.fc-header-right .fc-button-agendaDay .fc-button-inner { -webkit-border-top-right-radius: 3px; -moz-border-radius-topright: 3px; }
|
29 |
-
.fc-header-title { display: inline-block; vertical-align: top; }
|
30 |
-
.fc-header-title h2 { font-size: 12px; margin: 0; margin-top: 1px; }
|
31 |
-
.fc-header-title strong { margin-top: 0; white-space: nowrap; padding: 8px 12px!important; display: block; }
|
32 |
-
.fc .fc-header-space { padding-left: 10px; }
|
33 |
-
.fc-header .fc-corner-right { margin-right: 0; float: right; }
|
34 |
-
.fc-header .ui-corner-right { margin-right: 0; }
|
35 |
-
.fc-header .fc-state-hover, .fc-header .ui-state-hover { z-index: 2; }
|
36 |
-
.fc-header .fc-state-down { z-index: 3; }
|
37 |
-
.fc-header .fc-state-active, .fc-header .ui-state-active { z-index: 4; }
|
38 |
-
.fc-button-next { float: right; margin-right: -2px; }
|
39 |
-
.fc-view { width: 100%; overflow: hidden; }
|
40 |
-
.fc-border-separate thead {
|
41 |
-
background: #f8f8f8;
|
42 |
-
background: -moz-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%);
|
43 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8));
|
44 |
-
background: -webkit-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
45 |
-
background: -o-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
46 |
-
background: -ms-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
47 |
-
background: linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
48 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 );
|
49 |
-
}
|
50 |
-
.fc-widget-header, .fc-widget-content { border: 1px solid #d5d5d5; }
|
51 |
-
.fc-state-highlight { background: #FFFDE9; }
|
52 |
-
.fc-cell-overlay { background: #9cf; opacity: .2; filter: alpha(opacity=20); }
|
53 |
-
.fc-button { position: relative; cursor: pointer; }
|
54 |
-
.fc-button-inner { position: relative; float: left; overflow: hidden; }
|
55 |
-
.fc-button-content { position: relative; float: left; line-height: 41px; padding: 0 14px; white-space: nowrap; }
|
56 |
-
.fc-header-right .fc-button-content { height: 41px; }
|
57 |
-
.fc-button-content .fc-icon-wrap { position: relative; float: left; top: 50%; }
|
58 |
-
.fc-button-content .ui-icon { position: relative; float: left; margin-top: -50%; *margin-top: 0; *top: -50%; }
|
59 |
-
.fc-state-default .fc-button-effect { position: absolute; top: 50%; left: 0; }
|
60 |
-
.fc-state-active, .fc-state-active .fc-button-inner { color: #
|
61 |
-
.fc-first th { padding-top: 1px; }
|
62 |
-
.fc-state-disabled, .fc-state-disabled .fc-button-inner { color: #999; border-color: #ddd; }
|
63 |
-
.fc-state-disabled { cursor: default; }
|
64 |
-
.fc-state-disabled .fc-button-effect { display: none; }
|
65 |
-
.fc-event { cursor: default; }
|
66 |
-
a.fc-event, .fc-event-draggable { cursor: pointer; }
|
67 |
-
a.fc-event { text-decoration: none; }
|
68 |
-
.fc-rtl .fc-event { text-align: right; }
|
69 |
-
.fc-event { margin: 0 1px 0 3px; }
|
70 |
-
.fc-event { border: 1px solid #3485AE; color: white; display: block; font-size:9px;
|
71 |
-
background: #56A4CE url(../images/elements/ui/progress_overlay.png);
|
72 |
-
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #56A4CE 0%, #3485AE 100%);
|
73 |
-
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#56A4CE), color-stop(100%,#3485AE));
|
74 |
-
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
75 |
-
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
76 |
-
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
77 |
-
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #56A4CE 0%,#3485AE 100%);
|
78 |
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#56A4CE', endColorstr='#3485AE',GradientType=0 );
|
79 |
-
-moz-border-radius: 2px;
|
80 |
-
-webkit-border-radius: 2px;
|
81 |
-
border-radius: 2px;
|
82 |
-
box-sizing: border-box;
|
83 |
-
-ms-box-sizing: border-box;
|
84 |
-
-webkit-box-sizing: border-box;
|
85 |
-
-moz-box-sizing: border-box;
|
86 |
-
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
87 |
-
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
88 |
-
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
89 |
-
}
|
90 |
-
.fc-event-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
|
91 |
-
.fc-event-time, .fc-event-title { padding: 0px 0px 0px 4px; display:inline-block;font-weight: bold; font-size:9px }
|
92 |
-
.fc .ui-resizable-handle { display: block; position: absolute; z-index: 99999; overflow: hidden; font-size: 300%; line-height: 50%; }
|
93 |
-
.fc-event-hori .ui-resizable-e { top: 0; right: -3px; width: 7px; height: 100%; cursor: e-resize; }
|
94 |
-
.fc-event-hori .ui-resizable-w { top: 0; left: -3px; width: 7px; height: 100%; cursor: w-resize; }
|
95 |
-
table.fc-border-separate { border-collapse: separate; }
|
96 |
-
.fc-border-separate th, .fc-border-separate td { border-width: 1px 0 0 1px; }
|
97 |
-
.fc-border-separate td:first-child, .fc-border-separate th:first-child { border-left: none; }
|
98 |
-
.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td { border-top-width: 1px; }
|
99 |
-
.fc-border-separate tbody tr.fc-first td, .fc-border-separate tbody tr.fc-first th { border-top-width: 1px; }
|
100 |
-
.fc-grid th { text-align: center; }
|
101 |
-
.fc-grid .fc-day-number { float: right; padding: 3px 5px; }
|
102 |
-
.fc-grid .fc-other-month .fc-day-number { opacity: 0.3; filter: alpha(opacity=30); }
|
103 |
-
.fc-grid .fc-day-content { clear: both; padding: 5px 2px 3px; }
|
104 |
-
.fc-cols .fc-event-time { font-weight: bold; }
|
105 |
-
.fc-rtl .fc-cols .fc-day-number { float: left; }
|
106 |
-
.fc-rtl .fc-cols .fc-event-time { float: right; }
|
107 |
-
.fc-agenda table { border-collapse: separate; }
|
108 |
-
.fc-agenda-days th { text-align: center; }
|
109 |
-
.fc-agenda .fc-agenda-axis { width: 50px; padding: 0 4px; vertical-align: middle; text-align: right; white-space: nowrap; font-weight: normal; }
|
110 |
-
.fc-agenda .fc-day-content { padding: 2px 2px 1px; }
|
111 |
-
.fc-agenda-days .fc-agenda-axis { border-right-width: 1px; }
|
112 |
-
.fc-agenda-days .fc-col0 { border-left-width: 0; }
|
113 |
-
.fc-agenda-allday th { border-width: 0 1px; }
|
114 |
-
.fc-agenda-allday .fc-day-content { min-height: 34px; _height: 34px; }
|
115 |
-
.fc-agenda-divider-inner { height: 2px; overflow: hidden; }
|
116 |
-
.fc-widget-header .fc-agenda-divider-inner { background: #eee; }
|
117 |
-
.fc-view-agendaWeek .fc-event-hori { margin: 0px 4px 0 6px; }
|
118 |
-
.fc-agenda .fc-day-content { padding: 4px 0; }
|
119 |
-
.fc-agenda-slots th { border-width: 1px 1px 0; }
|
120 |
-
.fc-agenda-slots td { border-width: 1px 0 0; background: none; }
|
121 |
-
.fc-agenda-slots td div { height: 20px; }
|
122 |
-
.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td { border-top-width: 0; }
|
123 |
-
.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td { border-top-style: dotted; }
|
124 |
-
.fc-agenda-slots tr.fc-minor th.ui-widget-header { *border-top-style: solid; }
|
125 |
-
.fc-event-vert { border-width: 0 1px; }
|
126 |
-
.fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content { position: relative; z-index: 2; width: 100%; overflow: hidden; }
|
127 |
-
.fc-event-vert .fc-event-head { box-shadow: 0 1px 0 rgba(255,255,255,0.1); -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1); -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1); border-bottom: 1px solid #3485AE; }
|
128 |
-
.fc-event-vert .fc-event-time { white-space: nowrap; padding-top: 6px; }
|
129 |
-
.fc-event-vert .fc-event-title { padding-top: 0; padding-bottom: 6px; padding-top: 6px; }
|
130 |
-
.fc-event-vert .fc-event-bg { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; }
|
131 |
-
.fc .ui-draggable-dragging .fc-event-bg, .fc-select-helper .fc-event-bg { display: none\9; }
|
132 |
-
.fc-event-vert .ui-resizable-s { bottom: 0!important; width: 100%!important; height: 8px!important; overflow: hidden!important; line-height: 8px!important; font-size: 11px!important; font-family: monospace; text-align: center; cursor: s-resize; }
|
133 |
-
.fc-agenda .ui-resizable-resizing { _overflow: hidden; }
|
134 |
-
|
135 |
-
|
136 |
-
/* ===== File uploader ===== */
|
137 |
-
|
138 |
-
.plupload_buttons { margin: 7px 0; }
|
139 |
-
.plupload_buttons:after { content: ""; display: block; clear: both; }
|
140 |
-
.plupload_header { display: none; }
|
141 |
-
.plupload_start { float: left; }
|
142 |
-
.plupload_buttons > a.btn-primary { margin-left: 10px; }
|
143 |
-
.plupload_start span { background: url(../images/upload.png) no-repeat 10px; padding: 5px 13px 6px 26px; display: block; }
|
144 |
-
.plupload_disabled, a.plupload_disabled:hover { color: #a6a6a6!important; border: 1px solid #d5d5d5!important; background: #e5e5e5!important; box-shadow: none!important; -moz-box-shadow: none!important; text-shadow: none!important; cursor: default!important; }
|
145 |
-
.plupload_disabled span { padding: 5px 13px 6px 13px; }
|
146 |
-
.plupload_add { float: left; }
|
147 |
-
.plupload_add span { background: url(../images/add.png) no-repeat 10px; padding: 5px 13px 6px 26px; display: block; }
|
148 |
-
.plupload_wrapper { font-size: 11px; width: 100%; }
|
149 |
-
.plupload_container input { border: 1px solid #DDD; font-size: 11px; width: 98%; }
|
150 |
-
.plupload_filelist { margin: 0; padding: 0; list-style: none; }
|
151 |
-
.plupload_scroll .plupload_filelist { height: 185px; overflow-y: scroll; }
|
152 |
-
.plupload_filelist li { padding: 10px 12px; background: whiteSmoke; border-bottom: 1px solid #E7E7E7; }
|
153 |
-
.plupload_filelist li:hover { background-color: #f8f8f8; }
|
154 |
-
.plupload_filelist_header, .plupload_filelist_footer { background: #f5f5f5; padding: 3px 0 3px 12px; color: #878787; }
|
155 |
-
.plupload_filelist_header { border-bottom: 1px solid #d5d5d5; }
|
156 |
-
.plupload_filelist_footer { border-top: 1px solid #D5D5D5; line-height: 30px; vertical-align: middle; }
|
157 |
-
.plupload_filelist_footer .plupload_file_size, .plupload_filelist_footer .plupload_file_status, .plupload_filelist_footer .plupload_progress, .plupload_filelist_footer .plupload_file_action, .plupload_filelist_footer .plupload_upload_status { margin: 8px 0; }
|
158 |
-
.plupload_file_name { float: left; overflow: hidden; }
|
159 |
-
.plupload_file_status { color: #777; }
|
160 |
-
.plupload_file_status span {}
|
161 |
-
.plupload_file_size, .plupload_file_status, .plupload_progress { float: right; width: 80px; }
|
162 |
-
.plupload_file_size, .plupload_file_status, .plupload_file_action { text-align: right; }
|
163 |
-
.plupload_filelist .plupload_file_name { width: 205px; }
|
164 |
-
.plupload_file_action { float: right; width: 14px; margin-top: 4px; height: 14px; margin-left: 15px!important; }
|
165 |
-
.plupload_file_action * { display: none; width: 14px; height: 14px; }
|
166 |
-
li.plupload_done { color: #AAA; }
|
167 |
-
li.plupload_delete a { background: url(../images/elements/uploader/deleteFile.png) no-repeat 0; }
|
168 |
-
li.plupload_failed a { background: url(../images/elements/uploader/error.png) no-repeat 0; cursor: default; }
|
169 |
-
li.plupload_done a { background: url(../images/elements/uploader/uploaded.png) no-repeat 0; cursor: default; }
|
170 |
-
.plupload_progress, .plupload_upload_status { display: none; }
|
171 |
-
.plupload_progress_container { margin-top: 10px; border: 1px solid #CCC; background: #FFF; padding: 1px; }
|
172 |
-
.plupload_progress_bar { width: 0px; height: 7px; background: #CDEB8B; }
|
173 |
-
.plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action { margin-right: 17px; }
|
174 |
-
.plupload_clear,.plupload_clearer { clear: both; }
|
175 |
-
.plupload_clearer, .plupload_progress_bar { display: block; font-size: 0; line-height: 0; }
|
176 |
-
li.plupload_droptext { background: url(../images/elements/uploader/drag.png) no-repeat 50%; text-align: center; vertical-align: middle; border: 0; line-height: 165px; text-indent: -9999px; }
|
177 |
-
|
178 |
-
|
179 |
-
/* ===== Cleditor ===== */
|
180 |
-
|
181 |
-
.cleditorMain iframe {border:none; margin:0; padding:0-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box;max-width: 100%;}
|
182 |
-
.cleditorMain textarea {border:none; margin:0; padding:0; overflow-y:scroll; font-size: 12px; padding: 10px; resize:none; outline:none /* webkit grip focus */}
|
183 |
-
.cleditorToolbar {background: url('../images/elements/wysiwyg/toolbar.gif') repeat}
|
184 |
-
.cleditorGroup {float:left; height:26px}
|
185 |
-
.cleditorButton {float:left; width:24px; height:24px; margin:1px 0 1px 0; background: url('../images/elements/wysiwyg/buttons.gif')}
|
186 |
-
.cleditorDisabled {opacity:0.3; filter:alpha(opacity=30)}
|
187 |
-
.cleditorDivider {float:left; width:1px; height:23px; margin:1px 0 1px 0; background:#CCC}
|
188 |
-
.cleditorPopup {border:solid 1px #999; background-color:white; position:absolute; z-index:10000}
|
189 |
-
.cleditorPopup input[type=button] { padding: 7px 10px 6px 10px; border: 1px solid #3485AE; float: right; margin: 8px 0 4px 0; background: #56A4CE; color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 1px #333; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 1px #333; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 1px 1px #333; }
|
190 |
-
.cleditorList div {padding:2px 4px 2px 4px}
|
191 |
-
.cleditorList p, .cleditorList h1, .cleditorList h2, .cleditorList h3, .cleditorList h4, .cleditorList h5, .cleditorList h6, .cleditorList font {padding:0; margin:0; background-color:Transparent}
|
192 |
-
.cleditorColor {width:150px; padding:1px 0 0 1px}
|
193 |
-
.cleditorColor div {float:left; width:14px; height:14px; margin:0 1px 1px 0}
|
194 |
-
.cleditorPrompt {background-color:#F6F7F9; padding:4px; font-size: 11px; }
|
195 |
-
.cleditorPrompt input,
|
196 |
-
.cleditorPrompt textarea {font:8.5pt Arial,Verdana;}
|
197 |
-
.cleditorMsg {background-color:#FDFCEE; width:150px; padding:4px; font-size: 11px; }
|
198 |
-
|
199 |
-
|
200 |
-
/* ===== Time picker ===== */
|
201 |
-
|
202 |
-
.ui-timepicker-list { overflow-y: auto; height: 131px; width: 6.5em; background: #fff; border: 1px solid #ddd; margin-top: -1px; min-width: 116px; }
|
203 |
-
input.time { width: 100px; }
|
204 |
-
.ui-timepicker-list.ui-timepicker-with-duration { width: 11em; }
|
205 |
-
.ui-timepicker-duration { margin-left: 5px; color: #888; }
|
206 |
-
.ui-timepicker-list:hover .ui-timepicker-duration { color: #888; }
|
207 |
-
.ui-timepicker-list li { padding: 10px 10px 9px 10px; line-height: 13px; border-top: 1px solid #e4e4e4; font-size: 11px;
|
208 |
-
background: #fcfcfc;
|
209 |
-
background: -moz-linear-gradient(top, #fcfcfc 0%, #f8f8f8 100%);
|
210 |
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f8f8f8));
|
211 |
-
background: -webkit-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
212 |
-
background: -o-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
213 |
-
background: -ms-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
214 |
-
background: linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
215 |
-
}
|
216 |
-
.ui-timepicker-list li:first-child { border-top: none; }
|
217 |
-
.ui-timepicker-list:hover .ui-timepicker-selected { background: #fff; color: #000; }
|
218 |
-
li.ui-timepicker-selected, .ui-timepicker-list li:hover, .ui-timepicker-list:hover .ui-timepicker-selected:hover { background: #1980EC; color: #fff; }
|
219 |
-
li.ui-timepicker-selected .ui-timepicker-duration, .ui-timepicker-list li:hover .ui-timepicker-duration { color: #ccc; }
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
}
|
228 |
-
.
|
229 |
-
{
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
}
|
235 |
-
.
|
236 |
-
{
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
.events-title-header
|
249 |
-
{
|
250 |
-
background:url('../images/box-title.gif') repeat-x left top;
|
251 |
-
padding: 8px 10px 0;
|
252 |
-
height:21px;
|
253 |
-
font-weight: bold;
|
254 |
-
font-size: 14px;
|
255 |
-
}
|
256 |
-
.events-container-content
|
257 |
-
{
|
258 |
-
background:url('../images/box-shadow.gif') repeat-x left top;
|
259 |
-
padding: 20px;
|
260 |
-
}
|
261 |
-
|
262 |
-
button::-moz-focus-inner {border:0;padding:0;margin:0;}
|
263 |
-
|
264 |
-
.events-container-button{
|
265 |
-
display : inline-block;
|
266 |
-
background : none;
|
267 |
-
-moz-box-shadow: 1px 1px 0 #ededed;
|
268 |
-
-webkit-box-shadow: 1px 1px 0 #ededed;
|
269 |
-
box-shadow: 1px 1px 0 #ededed;
|
270 |
-
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#ededed')";
|
271 |
-
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#ededed');
|
272 |
-
border : 1px solid #d2d2d2;
|
273 |
-
outline : none;
|
274 |
-
padding : 0;
|
275 |
-
margin : 0 0 1px 10px;
|
276 |
-
overflow : visible;
|
277 |
-
cursor : pointer;
|
278 |
-
width : auto;
|
279 |
-
height : 25px;
|
280 |
-
text-decoration: none !important;
|
281 |
-
}
|
282 |
-
|
283 |
-
.events-container-button:first-child{
|
284 |
-
margin : 0 0 1px 0;
|
285 |
-
}
|
286 |
-
|
287 |
-
.events-container-button:hover{
|
288 |
-
opacity : 0.7;
|
289 |
-
filter : alpha(opacity=70);
|
290 |
-
}
|
291 |
-
|
292 |
-
.events-container-button span {
|
293 |
-
display : block;
|
294 |
-
background : url(../images/forms-btn.gif) repeat-x left top #FFFFFF;
|
295 |
-
padding : 0 15px;
|
296 |
-
margin : 0;
|
297 |
-
font : 12px/25px Arial;
|
298 |
-
font-weight : bold;
|
299 |
-
letter-spacing : 0.08em;
|
300 |
-
color : #7d7c7c;
|
301 |
-
height : 25px;
|
302 |
-
}
|
303 |
-
|
304 |
-
.events-container-button.red {
|
305 |
-
border : 1px solid #ba0000;
|
306 |
-
}
|
307 |
-
|
308 |
-
.events-container-button.red span {
|
309 |
-
background : url(../images/forms-btn.gif) repeat-x left -25px #FFFFFF;
|
310 |
-
color : #FFFFFF;
|
311 |
-
}
|
312 |
-
|
313 |
-
.events-container-button.green {
|
314 |
-
border : 1px solid #4b9700;
|
315 |
-
}
|
316 |
-
|
317 |
-
.events-container-button.green span {
|
318 |
-
background : url(../images/forms-btn.gif) repeat-x left -50px #FFFFFF;
|
319 |
-
color : #FFFFFF;
|
320 |
-
}
|
321 |
-
|
322 |
-
|
323 |
-
.events-container-button.blue {
|
324 |
-
border : 1px solid #0049ac !important;
|
325 |
-
padding:0px !important;
|
326 |
-
}
|
327 |
-
|
328 |
-
.events-container-button.blue span {
|
329 |
-
background : url(../images/forms-btn.gif) repeat-x left -75px #FFFFFF !important;
|
330 |
-
color : #FFFFFF !important;
|
331 |
-
|
332 |
-
}
|
333 |
-
|
334 |
-
.events-container-button.orange {
|
335 |
-
border : 1px solid #e96e00;
|
336 |
-
}
|
337 |
-
|
338 |
-
.events-container-button.orange span {
|
339 |
-
background : url(../images/forms-btn.gif) repeat-x left -100px #FFFFFF;
|
340 |
-
color : #FFFFFF;
|
341 |
-
}
|
342 |
-
.events-container-content table {
|
343 |
-
width : 100%;
|
344 |
-
|
345 |
-
}
|
346 |
-
|
347 |
-
.events-container-content table, td, tr, th {
|
348 |
-
padding : 0;
|
349 |
-
margin : 0;
|
350 |
-
border-collapse : collapse;
|
351 |
-
text-align : left;
|
352 |
-
}
|
353 |
-
|
354 |
-
.events-container-content table thead tr th, table tfoot tr th {
|
355 |
-
color : #1c1c1c;
|
356 |
-
}
|
357 |
-
|
358 |
-
.events-container-content table thead {
|
359 |
-
background : url(../images/box-title.gif) repeat-x right top;
|
360 |
-
border-right : none;
|
361 |
-
border: 1px solid #e6e6e6;
|
362 |
-
}
|
363 |
-
|
364 |
-
.events-container-content table thead tr th{
|
365 |
-
border : 1px solid #e6e6e6;
|
366 |
-
padding : 8px 10px 8px;
|
367 |
-
line-height : 1.1em;
|
368 |
-
}
|
369 |
-
|
370 |
-
.events-container-content table tbody td {
|
371 |
-
border : 1px solid #e6e6e6;
|
372 |
-
border-top : none;
|
373 |
-
padding : 8px 10px !important;
|
374 |
-
line-height : 1.1em;
|
375 |
-
}
|
376 |
-
|
377 |
-
.events-container-content table tbody tr.even td {
|
378 |
-
background-color : #fafafa;
|
379 |
-
}
|
380 |
-
|
381 |
-
.events-container-content table thead tr th.sorting {
|
382 |
-
background : url(../images/table-sort.png) no-repeat right 9px;
|
383 |
-
}
|
384 |
-
|
385 |
-
.events-container-content table thead tr th.sorting_asc {
|
386 |
-
background : url(../images/table-sort.png) no-repeat right -20px;
|
387 |
-
}
|
388 |
-
|
389 |
-
.events-container-content table thead tr th.sorting_desc {
|
390 |
-
background : url(../images/table-sort.png) no-repeat right -52px;
|
391 |
-
}
|
392 |
-
|
393 |
-
.events-container-content .dataTables_wrapper {
|
394 |
-
display : inline-block;
|
395 |
-
position: relative;
|
396 |
-
width : 100%;
|
397 |
-
}
|
398 |
-
|
399 |
-
.events-container-content .dataTables_wrapper div {
|
400 |
-
display : inline-block;
|
401 |
-
width : 100%;
|
402 |
-
margin-top: 5px;
|
403 |
-
}
|
404 |
-
|
405 |
-
.events-container-content .dataTables_wrapper label {
|
406 |
-
float : none;
|
407 |
-
padding : 0;
|
408 |
-
margin : 0;
|
409 |
-
width : auto;
|
410 |
-
height : auto;
|
411 |
-
}
|
412 |
-
|
413 |
-
.events-container-content .dataTables_wrapper .dataTables_length {
|
414 |
-
float : left;
|
415 |
-
margin: 5px 0 5px 0;
|
416 |
-
width : 60px;
|
417 |
-
}
|
418 |
-
|
419 |
-
.events-container-content .dataTables_wrapper .dataTables_length .ui-selectmenu {
|
420 |
-
text-align: center;
|
421 |
-
width : 58px;
|
422 |
-
height : 20px;
|
423 |
-
}
|
424 |
-
|
425 |
-
.events-container-content .dataTables_wrapper .dataTables_length .ui-selectmenu-status {
|
426 |
-
padding : 0 5px 0;
|
427 |
-
font : 11px/20px Arial;
|
428 |
-
width : 28px;
|
429 |
-
height : 19px;
|
430 |
-
}
|
431 |
-
|
432 |
-
.events-container-content .dataTables_wrapper .dataTables_length .ui-selectmenu-icon {
|
433 |
-
background : url(../images/table-select.gif) no-repeat right top transparent;
|
434 |
-
width : 19px;
|
435 |
-
height : 20px;
|
436 |
-
}
|
437 |
-
|
438 |
-
.events-container-content .ui-selectmenu-menu.entries {
|
439 |
-
width : 58px;
|
440 |
-
max-height : 175px;
|
441 |
-
}
|
442 |
-
|
443 |
-
.ui-selectmenu-menu.entries li a {
|
444 |
-
padding : 5px 10px;
|
445 |
-
font : 11px/1.0em Arial;
|
446 |
-
}
|
447 |
-
|
448 |
-
.events-container-content .dataTables_wrapper .dataTables_filter {
|
449 |
-
position : absolute;
|
450 |
-
}
|
451 |
-
|
452 |
-
.events-container-content .dataTables_wrapper .dataTables_filter input {
|
453 |
-
float : right;
|
454 |
-
border : 1px solid #dcdcdc;
|
455 |
-
outline : 0;
|
456 |
-
padding : 2px 5px;
|
457 |
-
margin : 5px;
|
458 |
-
font : 12px/1.45em Arial;
|
459 |
-
width : 166px;
|
460 |
-
|
461 |
-
}
|
462 |
-
|
463 |
-
.events-container-content .dataTables_wrapper .dataTables_paginate {
|
464 |
-
float : right;
|
465 |
-
margin : 5px 0 0;
|
466 |
-
width : auto;
|
467 |
-
}
|
468 |
-
|
469 |
-
.events-container-content .dataTables_paginate span.paginate_button,
|
470 |
-
.events-container-content .dataTables_paginate span span {
|
471 |
-
display : inline-block;
|
472 |
-
background : url(../images/table-btn.gif) repeat-x left top transparent;
|
473 |
-
border : 1px solid #e6e6e6;
|
474 |
-
padding : 0 7px;
|
475 |
-
margin : 0 0 0 3px;
|
476 |
-
font : 11px/20px Arial;
|
477 |
-
cursor : pointer;
|
478 |
-
text-transform : uppercase;
|
479 |
-
height : 20px;
|
480 |
-
}
|
481 |
-
|
482 |
-
.events-container-content .dataTables_paginate span span:hover,
|
483 |
-
.events-container-content .dataTables_paginate span span.paginate_active {
|
484 |
-
color : #969696;
|
485 |
-
font-weight : bold;
|
486 |
-
}
|
487 |
-
|
488 |
-
.events-container-content .dataTables_paginate span.paginate_button_disabled {
|
489 |
-
color : #969696;
|
490 |
-
}
|
491 |
-
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: plugins.css;
|
8 |
+
* Description: External plugins stylings
|
9 |
+
* Version: 1.0
|
10 |
+
*
|
11 |
+
* ======================================================== */
|
12 |
+
|
13 |
+
|
14 |
+
/* ===== Full Calendar ===== */
|
15 |
+
|
16 |
+
.fc { direction: ltr; text-align: left; }
|
17 |
+
.fc table { border-collapse: collapse; border-spacing: 0; }
|
18 |
+
html .fc, .fc table { font-size: 1em; }
|
19 |
+
.fc td, .fc th { padding: 0; vertical-align: top; }
|
20 |
+
.fc th { text-align: center; }
|
21 |
+
.fc-header { position: relative; }
|
22 |
+
.fc-header td { white-space: nowrap; }
|
23 |
+
.fc-header-left { text-align: left; width: 100%; }
|
24 |
+
.fc-header-center { text-align: center; position: absolute; top: 0; width: 80%; left: 10%; line-height: 38px; }
|
25 |
+
.fc-button-inner { border-left: 1px solid #d5d5d5; }
|
26 |
+
.fc-header-left .fc-button-inner { border: none; }
|
27 |
+
.fc-header-right { text-align: right; position: absolute; top: -41px; right: 0; }
|
28 |
+
.fc-header-right .fc-button-agendaDay .fc-button-inner { -webkit-border-top-right-radius: 3px; -moz-border-radius-topright: 3px; }
|
29 |
+
.fc-header-title { display: inline-block; vertical-align: top; }
|
30 |
+
.fc-header-title h2 { font-size: 12px; margin: 0; margin-top: 1px; }
|
31 |
+
.fc-header-title strong { margin-top: 0; white-space: nowrap; padding: 8px 12px!important; display: block; }
|
32 |
+
.fc .fc-header-space { padding-left: 10px; }
|
33 |
+
.fc-header .fc-corner-right { margin-right: 0; float: right; }
|
34 |
+
.fc-header .ui-corner-right { margin-right: 0; }
|
35 |
+
.fc-header .fc-state-hover, .fc-header .ui-state-hover { z-index: 2; }
|
36 |
+
.fc-header .fc-state-down { z-index: 3; }
|
37 |
+
.fc-header .fc-state-active, .fc-header .ui-state-active { z-index: 4; }
|
38 |
+
.fc-button-next { float: right; margin-right: -2px; }
|
39 |
+
.fc-view { width: 100%; overflow: hidden; }
|
40 |
+
.fc-border-separate thead {
|
41 |
+
background: #f8f8f8;
|
42 |
+
background: -moz-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%);
|
43 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8));
|
44 |
+
background: -webkit-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
45 |
+
background: -o-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
46 |
+
background: -ms-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
47 |
+
background: linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%);
|
48 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 );
|
49 |
+
}
|
50 |
+
.fc-widget-header, .fc-widget-content { border: 1px solid #d5d5d5; }
|
51 |
+
.fc-state-highlight { background: #FFFDE9; }
|
52 |
+
.fc-cell-overlay { background: #9cf; opacity: .2; filter: alpha(opacity=20); }
|
53 |
+
.fc-button { position: relative; cursor: pointer; }
|
54 |
+
.fc-button-inner { position: relative; float: left; overflow: hidden; }
|
55 |
+
.fc-button-content { position: relative; float: left; line-height: 41px; padding: 0 14px; white-space: nowrap; }
|
56 |
+
.fc-header-right .fc-button-content { height: 41px; }
|
57 |
+
.fc-button-content .fc-icon-wrap { position: relative; float: left; top: 50%; }
|
58 |
+
.fc-button-content .ui-icon { position: relative; float: left; margin-top: -50%; *margin-top: 0; *top: -50%; }
|
59 |
+
.fc-state-default .fc-button-effect { position: absolute; top: 50%; left: 0; }
|
60 |
+
.fc-state-active, .fc-state-active .fc-button-inner { color: #797979; background: #fdfdfd; box-shadow: 0 -1px 0 #EAEAEA inset; -webkit-box-shadow: 0 -1px 0 #EAEAEA inset; -moz-box-shadow: 0 -1px 0 #EAEAEA inset; }
|
61 |
+
.fc-first th { padding-top: 1px; }
|
62 |
+
.fc-state-disabled, .fc-state-disabled .fc-button-inner { color: #999; border-color: #ddd; }
|
63 |
+
.fc-state-disabled { cursor: default; }
|
64 |
+
.fc-state-disabled .fc-button-effect { display: none; }
|
65 |
+
.fc-event { cursor: default; }
|
66 |
+
a.fc-event, .fc-event-draggable { cursor: pointer; }
|
67 |
+
a.fc-event { text-decoration: none; }
|
68 |
+
.fc-rtl .fc-event { text-align: right; }
|
69 |
+
.fc-event { margin: 0 1px 0 3px; }
|
70 |
+
.fc-event { border: 1px solid #3485AE; color: white; display: block; font-size:9px;
|
71 |
+
background: #56A4CE url(../images/elements/ui/progress_overlay.png);
|
72 |
+
background: url(../images/elements/ui/progress_overlay.png), -moz-linear-gradient(top, #56A4CE 0%, #3485AE 100%);
|
73 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#56A4CE), color-stop(100%,#3485AE));
|
74 |
+
background: url(../images/elements/ui/progress_overlay.png), -webkit-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
75 |
+
background: url(../images/elements/ui/progress_overlay.png), -o-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
76 |
+
background: url(../images/elements/ui/progress_overlay.png), -ms-linear-gradient(top, #56A4CE 0%,#3485AE 100%);
|
77 |
+
background: url(../images/elements/ui/progress_overlay.png), linear-gradient(to bottom, #56A4CE 0%,#3485AE 100%);
|
78 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#56A4CE', endColorstr='#3485AE',GradientType=0 );
|
79 |
+
-moz-border-radius: 2px;
|
80 |
+
-webkit-border-radius: 2px;
|
81 |
+
border-radius: 2px;
|
82 |
+
box-sizing: border-box;
|
83 |
+
-ms-box-sizing: border-box;
|
84 |
+
-webkit-box-sizing: border-box;
|
85 |
+
-moz-box-sizing: border-box;
|
86 |
+
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
87 |
+
-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
88 |
+
-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
|
89 |
+
}
|
90 |
+
.fc-event-inner { position: relative; width: 100%; height: 100%; overflow: hidden; }
|
91 |
+
.fc-event-time, .fc-event-title { padding: 0px 0px 0px 4px; display:inline-block;font-weight: bold; font-size:9px; }
|
92 |
+
.fc .ui-resizable-handle { display: block; position: absolute; z-index: 99999; overflow: hidden; font-size: 300%; line-height: 50%; }
|
93 |
+
.fc-event-hori .ui-resizable-e { top: 0; right: -3px; width: 7px; height: 100%; cursor: e-resize; }
|
94 |
+
.fc-event-hori .ui-resizable-w { top: 0; left: -3px; width: 7px; height: 100%; cursor: w-resize; }
|
95 |
+
table.fc-border-separate { border-collapse: separate; }
|
96 |
+
.fc-border-separate th, .fc-border-separate td { border-width: 1px 0 0 1px; }
|
97 |
+
.fc-border-separate td:first-child, .fc-border-separate th:first-child { border-left: none; }
|
98 |
+
.fc-border-separate tr.fc-last th, .fc-border-separate tr.fc-last td { border-top-width: 1px; }
|
99 |
+
.fc-border-separate tbody tr.fc-first td, .fc-border-separate tbody tr.fc-first th { border-top-width: 1px; }
|
100 |
+
.fc-grid th { text-align: center; }
|
101 |
+
.fc-grid .fc-day-number { float: right; padding: 3px 5px; }
|
102 |
+
.fc-grid .fc-other-month .fc-day-number { opacity: 0.3; filter: alpha(opacity=30); }
|
103 |
+
.fc-grid .fc-day-content { clear: both; padding: 5px 2px 3px; }
|
104 |
+
.fc-cols .fc-event-time { font-weight: bold; }
|
105 |
+
.fc-rtl .fc-cols .fc-day-number { float: left; }
|
106 |
+
.fc-rtl .fc-cols .fc-event-time { float: right; }
|
107 |
+
.fc-agenda table { border-collapse: separate; }
|
108 |
+
.fc-agenda-days th { text-align: center; }
|
109 |
+
.fc-agenda .fc-agenda-axis { width: 50px; padding: 0 4px; vertical-align: middle; text-align: right; white-space: nowrap; font-weight: normal; }
|
110 |
+
.fc-agenda .fc-day-content { padding: 2px 2px 1px; }
|
111 |
+
.fc-agenda-days .fc-agenda-axis { border-right-width: 1px; }
|
112 |
+
.fc-agenda-days .fc-col0 { border-left-width: 0; }
|
113 |
+
.fc-agenda-allday th { border-width: 0 1px; }
|
114 |
+
.fc-agenda-allday .fc-day-content { min-height: 34px; _height: 34px; }
|
115 |
+
.fc-agenda-divider-inner { height: 2px; overflow: hidden; }
|
116 |
+
.fc-widget-header .fc-agenda-divider-inner { background: #eee; }
|
117 |
+
.fc-view-agendaWeek .fc-event-hori { margin: 0px 4px 0 6px; }
|
118 |
+
.fc-agenda .fc-day-content { padding: 4px 0; }
|
119 |
+
.fc-agenda-slots th { border-width: 1px 1px 0; }
|
120 |
+
.fc-agenda-slots td { border-width: 1px 0 0; background: none; }
|
121 |
+
.fc-agenda-slots td div { height: 20px; }
|
122 |
+
.fc-agenda-slots tr.fc-slot0 th, .fc-agenda-slots tr.fc-slot0 td { border-top-width: 0; }
|
123 |
+
.fc-agenda-slots tr.fc-minor th, .fc-agenda-slots tr.fc-minor td { border-top-style: dotted; }
|
124 |
+
.fc-agenda-slots tr.fc-minor th.ui-widget-header { *border-top-style: solid; }
|
125 |
+
.fc-event-vert { border-width: 0 1px; }
|
126 |
+
.fc-event-vert .fc-event-head, .fc-event-vert .fc-event-content { position: relative; z-index: 2; width: 100%; overflow: hidden; }
|
127 |
+
.fc-event-vert .fc-event-head { box-shadow: 0 1px 0 rgba(255,255,255,0.1); -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.1); -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.1); border-bottom: 1px solid #3485AE; }
|
128 |
+
.fc-event-vert .fc-event-time { white-space: nowrap; padding-top: 6px; }
|
129 |
+
.fc-event-vert .fc-event-title { padding-top: 0; padding-bottom: 6px; padding-top: 6px; }
|
130 |
+
.fc-event-vert .fc-event-bg { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%; }
|
131 |
+
.fc .ui-draggable-dragging .fc-event-bg, .fc-select-helper .fc-event-bg { display: none\9; }
|
132 |
+
.fc-event-vert .ui-resizable-s { bottom: 0!important; width: 100%!important; height: 8px!important; overflow: hidden!important; line-height: 8px!important; font-size: 11px!important; font-family: monospace; text-align: center; cursor: s-resize; }
|
133 |
+
.fc-agenda .ui-resizable-resizing { _overflow: hidden; }
|
134 |
+
|
135 |
+
|
136 |
+
/* ===== File uploader ===== */
|
137 |
+
|
138 |
+
.plupload_buttons { margin: 7px 0; }
|
139 |
+
.plupload_buttons:after { content: ""; display: block; clear: both; }
|
140 |
+
.plupload_header { display: none; }
|
141 |
+
.plupload_start { float: left; }
|
142 |
+
.plupload_buttons > a.btn-primary { margin-left: 10px; }
|
143 |
+
.plupload_start span { background: url(../images/upload.png) no-repeat 10px; padding: 5px 13px 6px 26px; display: block; }
|
144 |
+
.plupload_disabled, a.plupload_disabled:hover { color: #a6a6a6!important; border: 1px solid #d5d5d5!important; background: #e5e5e5!important; box-shadow: none!important; -moz-box-shadow: none!important; text-shadow: none!important; cursor: default!important; }
|
145 |
+
.plupload_disabled span { padding: 5px 13px 6px 13px; }
|
146 |
+
.plupload_add { float: left; }
|
147 |
+
.plupload_add span { background: url(../images/add.png) no-repeat 10px; padding: 5px 13px 6px 26px; display: block; }
|
148 |
+
.plupload_wrapper { font-size: 11px; width: 100%; }
|
149 |
+
.plupload_container input { border: 1px solid #DDD; font-size: 11px; width: 98%; }
|
150 |
+
.plupload_filelist { margin: 0; padding: 0; list-style: none; }
|
151 |
+
.plupload_scroll .plupload_filelist { height: 185px; overflow-y: scroll; }
|
152 |
+
.plupload_filelist li { padding: 10px 12px; background: whiteSmoke; border-bottom: 1px solid #E7E7E7; }
|
153 |
+
.plupload_filelist li:hover { background-color: #f8f8f8; }
|
154 |
+
.plupload_filelist_header, .plupload_filelist_footer { background: #f5f5f5; padding: 3px 0 3px 12px; color: #878787; }
|
155 |
+
.plupload_filelist_header { border-bottom: 1px solid #d5d5d5; }
|
156 |
+
.plupload_filelist_footer { border-top: 1px solid #D5D5D5; line-height: 30px; vertical-align: middle; }
|
157 |
+
.plupload_filelist_footer .plupload_file_size, .plupload_filelist_footer .plupload_file_status, .plupload_filelist_footer .plupload_progress, .plupload_filelist_footer .plupload_file_action, .plupload_filelist_footer .plupload_upload_status { margin: 8px 0; }
|
158 |
+
.plupload_file_name { float: left; overflow: hidden; }
|
159 |
+
.plupload_file_status { color: #777; }
|
160 |
+
.plupload_file_status span {}
|
161 |
+
.plupload_file_size, .plupload_file_status, .plupload_progress { float: right; width: 80px; }
|
162 |
+
.plupload_file_size, .plupload_file_status, .plupload_file_action { text-align: right; }
|
163 |
+
.plupload_filelist .plupload_file_name { width: 205px; }
|
164 |
+
.plupload_file_action { float: right; width: 14px; margin-top: 4px; height: 14px; margin-left: 15px!important; }
|
165 |
+
.plupload_file_action * { display: none; width: 14px; height: 14px; }
|
166 |
+
li.plupload_done { color: #AAA; }
|
167 |
+
li.plupload_delete a { background: url(../images/elements/uploader/deleteFile.png) no-repeat 0; }
|
168 |
+
li.plupload_failed a { background: url(../images/elements/uploader/error.png) no-repeat 0; cursor: default; }
|
169 |
+
li.plupload_done a { background: url(../images/elements/uploader/uploaded.png) no-repeat 0; cursor: default; }
|
170 |
+
.plupload_progress, .plupload_upload_status { display: none; }
|
171 |
+
.plupload_progress_container { margin-top: 10px; border: 1px solid #CCC; background: #FFF; padding: 1px; }
|
172 |
+
.plupload_progress_bar { width: 0px; height: 7px; background: #CDEB8B; }
|
173 |
+
.plupload_scroll .plupload_filelist_header .plupload_file_action, .plupload_scroll .plupload_filelist_footer .plupload_file_action { margin-right: 17px; }
|
174 |
+
.plupload_clear,.plupload_clearer { clear: both; }
|
175 |
+
.plupload_clearer, .plupload_progress_bar { display: block; font-size: 0; line-height: 0; }
|
176 |
+
li.plupload_droptext { background: url(../images/elements/uploader/drag.png) no-repeat 50%; text-align: center; vertical-align: middle; border: 0; line-height: 165px; text-indent: -9999px; }
|
177 |
+
|
178 |
+
|
179 |
+
/* ===== Cleditor ===== */
|
180 |
+
|
181 |
+
.cleditorMain iframe {border:none; margin:0; padding:0-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -ms-box-sizing: border-box;max-width: 100%;}
|
182 |
+
.cleditorMain textarea {border:none; margin:0; padding:0; overflow-y:scroll; font-size: 12px; padding: 10px; resize:none; outline:none /* webkit grip focus */}
|
183 |
+
.cleditorToolbar {background: url('../images/elements/wysiwyg/toolbar.gif') repeat}
|
184 |
+
.cleditorGroup {float:left; height:26px}
|
185 |
+
.cleditorButton {float:left; width:24px; height:24px; margin:1px 0 1px 0; background: url('../images/elements/wysiwyg/buttons.gif')}
|
186 |
+
.cleditorDisabled {opacity:0.3; filter:alpha(opacity=30)}
|
187 |
+
.cleditorDivider {float:left; width:1px; height:23px; margin:1px 0 1px 0; background:#CCC}
|
188 |
+
.cleditorPopup {border:solid 1px #999; background-color:white; position:absolute; z-index:10000}
|
189 |
+
.cleditorPopup input[type=button] { padding: 7px 10px 6px 10px; border: 1px solid #3485AE; float: right; margin: 8px 0 4px 0; background: #56A4CE; color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 1px #333; -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 1px 1px #333; -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 1px 1px #333; }
|
190 |
+
.cleditorList div {padding:2px 4px 2px 4px}
|
191 |
+
.cleditorList p, .cleditorList h1, .cleditorList h2, .cleditorList h3, .cleditorList h4, .cleditorList h5, .cleditorList h6, .cleditorList font {padding:0; margin:0; background-color:Transparent}
|
192 |
+
.cleditorColor {width:150px; padding:1px 0 0 1px}
|
193 |
+
.cleditorColor div {float:left; width:14px; height:14px; margin:0 1px 1px 0}
|
194 |
+
.cleditorPrompt {background-color:#F6F7F9; padding:4px; font-size: 11px; }
|
195 |
+
.cleditorPrompt input,
|
196 |
+
.cleditorPrompt textarea {font:8.5pt Arial,Verdana;}
|
197 |
+
.cleditorMsg {background-color:#FDFCEE; width:150px; padding:4px; font-size: 11px; }
|
198 |
+
|
199 |
+
|
200 |
+
/* ===== Time picker ===== */
|
201 |
+
|
202 |
+
.ui-timepicker-list { overflow-y: auto; height: 131px; width: 6.5em; background: #fff; border: 1px solid #ddd; margin-top: -1px; min-width: 116px; }
|
203 |
+
input.time { width: 100px; }
|
204 |
+
.ui-timepicker-list.ui-timepicker-with-duration { width: 11em; }
|
205 |
+
.ui-timepicker-duration { margin-left: 5px; color: #888; }
|
206 |
+
.ui-timepicker-list:hover .ui-timepicker-duration { color: #888; }
|
207 |
+
.ui-timepicker-list li { padding: 10px 10px 9px 10px; line-height: 13px; border-top: 1px solid #e4e4e4; font-size: 11px;
|
208 |
+
background: #fcfcfc;
|
209 |
+
background: -moz-linear-gradient(top, #fcfcfc 0%, #f8f8f8 100%);
|
210 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#f8f8f8));
|
211 |
+
background: -webkit-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
212 |
+
background: -o-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
213 |
+
background: -ms-linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
214 |
+
background: linear-gradient(top, #fcfcfc 0%,#f8f8f8 100%);
|
215 |
+
}
|
216 |
+
.ui-timepicker-list li:first-child { border-top: none; }
|
217 |
+
.ui-timepicker-list:hover .ui-timepicker-selected { background: #fff; color: #000; }
|
218 |
+
li.ui-timepicker-selected, .ui-timepicker-list li:hover, .ui-timepicker-list:hover .ui-timepicker-selected:hover { background: #1980EC; color: #fff; }
|
219 |
+
li.ui-timepicker-selected .ui-timepicker-duration, .ui-timepicker-list li:hover .ui-timepicker-duration { color: #ccc; }
|
220 |
+
|
221 |
+
|
222 |
+
/* ===== Bootstrap color picker ===== */
|
223 |
+
|
224 |
+
.colorpicker-saturation { width: 100px; height: 100px; background-image: url(../images/colorpicker/saturation.png); cursor: crosshair; float: left; }
|
225 |
+
.colorpicker-saturation i { display: block; height: 5px; width: 5px; border: 1px solid #000; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; position: absolute; top: 0; left: 0; margin: -4px 0 0 -4px; }
|
226 |
+
.colorpicker-saturation i b { display: block; height: 5px; width: 5px; border: 1px solid #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
|
227 |
+
.colorpicker-hue, .colorpicker-alpha { width: 15px; height: 100px; float: left; cursor: row-resize; margin-left: 4px; margin-bottom: 4px; }
|
228 |
+
.colorpicker-hue i, .colorpicker-alpha i { display: block; height: 1px; background: #000; border-top: 1px solid #fff; position: absolute; top: 0; left: 0; width: 100%; margin-top: -1px; }
|
229 |
+
.colorpicker-hue { background-image: url(../images/colorpicker/hue.png); }
|
230 |
+
.colorpicker-alpha { background-image: url(../images/colorpicker/alpha.png); display: none; }
|
231 |
+
.colorpicker { *zoom: 1; top: 0; left: 0; padding: 4px; min-width: 120px; margin-top: 1px; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
|
232 |
+
.colorpicker:before, .colorpicker:after { display: table; content: ""; }
|
233 |
+
.colorpicker:after { clear: both; }
|
234 |
+
.colorpicker:before { content: ''; display: inline-block; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 7px solid #ccc; border-bottom-color: rgba(0, 0, 0, 0.2); position: absolute; top: -7px; left: 6px; }
|
235 |
+
.colorpicker:after { content: ''; display: inline-block; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 6px solid #ffffff; position: absolute; top: -6px; left: 7px; }
|
236 |
+
.colorpicker div { position: relative; }
|
237 |
+
.colorpicker.alpha { min-width: 140px; }
|
238 |
+
.colorpicker.alpha .colorpicker-alpha { display: block; }
|
239 |
+
.colorpicker-color { height: 10px; margin-top: 5px; clear: both; background-image: url(../images/colorpicker/alpha.png); background-position: 0 100%; }
|
240 |
+
.colorpicker-color div { height: 10px; }
|
241 |
+
.input-append.color .add-on { padding: 6px;margin-top:1px; }
|
242 |
+
.input-append.color .add-on i, .input-prepend.color .add-on i { display: block; cursor: pointer; width: 16px; height: 16px; }
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{css → assets/css}/system-message.css
RENAMED
@@ -8,7 +8,7 @@ Version: 1.0
|
|
8 |
.message {
|
9 |
position : relative;
|
10 |
display : inline-block;
|
11 |
-
margin : 20px
|
12 |
padding : 0 0 0 35px;
|
13 |
-moz-box-shadow: 1px 1px 0 #e6e6e6;
|
14 |
-webkit-box-shadow: 1px 1px 0 #e6e6e6;
|
@@ -43,7 +43,7 @@ Version: 1.0
|
|
43 |
|
44 |
.message.green {
|
45 |
display : block;
|
46 |
-
background : url(../
|
47 |
border : 1px solid #BEE4A5;
|
48 |
color : #6aa500;
|
49 |
}
|
8 |
.message {
|
9 |
position : relative;
|
10 |
display : inline-block;
|
11 |
+
margin : 20px 0 0 0;
|
12 |
padding : 0 0 0 35px;
|
13 |
-moz-box-shadow: 1px 1px 0 #e6e6e6;
|
14 |
-webkit-box-shadow: 1px 1px 0 #e6e6e6;
|
43 |
|
44 |
.message.green {
|
45 |
display : block;
|
46 |
+
background : url(../images/icons/icon-succes.png) no-repeat 1px 8px #EBF9E2;
|
47 |
border : 1px solid #BEE4A5;
|
48 |
color : #6aa500;
|
49 |
}
|
assets/css/ui_custom.css
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
*
|
3 |
+
* Amsterdam - premium admin template
|
4 |
+
*
|
5 |
+
* ========================================================
|
6 |
+
*
|
7 |
+
* File: ui_custom.css;
|
8 |
+
* Description: Custom jQuery UI stylesheet
|
9 |
+
* Version: 1.0
|
10 |
+
*
|
11 |
+
* ======================================================== */
|
12 |
+
|
13 |
+
|
14 |
+
/* Layout helpers
|
15 |
+
----------------------------------*/
|
16 |
+
.ui-helper-hidden { display: none; }
|
17 |
+
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
18 |
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
19 |
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; visibility: hidden; }
|
20 |
+
* html .ui-helper-clearfix { height:1%; }
|
21 |
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
22 |
+
.ui-state-disabled { cursor: default !important; }
|
23 |
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
24 |
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
25 |
+
|
26 |
+
|
27 |
+
/* Component containers
|
28 |
+
----------------------------------*/
|
29 |
+
.ui-widget { font-size: 12px; }
|
30 |
+
.ui-widget .ui-widget { font-size: 1em; }
|
31 |
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-size: 11px; }
|
32 |
+
.ui-widget-content a { color: #222222; }
|
33 |
+
.ui-widget-header { font-weight: bold; }
|
34 |
+
.ui-widget-header a { color: #222222; }
|
35 |
+
|
36 |
+
|
37 |
+
/* Interaction states
|
38 |
+
----------------------------------*/
|
39 |
+
th.ui-state-default:first-child { border-left: none; }
|
40 |
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
41 |
+
.ui-state-hover a, .ui-state-hover a:hover { color: #797979; text-decoration: none; }
|
42 |
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #797979; text-decoration: none; }
|
43 |
+
.ui-widget :active { outline: none; }
|
44 |
+
|
45 |
+
|
46 |
+
/* ===== UI Slider ===== */
|
47 |
+
|
48 |
+
.ui-slider { position: relative; text-align: left; }
|
49 |
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 16px; height: 16px; cursor: default; background: url(../images/elements/ui/handle.png) no-repeat; border: none; cursor: pointer; }
|
50 |
+
.ui-slider .ui-slider-handle:hover { background-position: 0 -16px; }
|
51 |
+
.ui-slider .ui-slider-handle:active { background-position: 0 -32px; }
|
52 |
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; height: 6px; font-size: .7em; display: block; border: 1px solid #5ba8e1; box-shadow: 0 1px 0 #aad6f6 inset; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; background: #9bcff5; background: -moz-linear-gradient(top, #9bcff5 0%, #84c4f3 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9bcff5), color-stop(100%,#84c4f3)); background: -webkit-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: -o-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: -ms-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: linear-gradient(top, #9bcff5 0%,#84c4f3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bcff5', endColorstr='#84c4f3',GradientType=0 ); }
|
53 |
+
.ui-slider-horizontal { height: 4px; background: #eee; border: 1px solid #d5d5d5; box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; -webkit-box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; -moz-box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; margin: 8px 0; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; }
|
54 |
+
.ui-slider-horizontal .ui-slider-handle { top: -6px; margin-left: -.6em; }
|
55 |
+
.ui-slider-horizontal .ui-slider-range { top: -1px; height: 100%; }
|
56 |
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
57 |
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
58 |
+
.ui-slider-vertical { height: 100px; width: 4px; background: #eee; box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; -webkit-box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; -moz-box-shadow: 0 1px 0 white, 0 1px 0 #E5E5E5 inset; border: 1px solid #d5d5d5; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px; }
|
59 |
+
.ui-slider-vertical .ui-slider-handle { left: -6px; margin-left: 0; margin-bottom: -.6em; }
|
60 |
+
.ui-slider-vertical .ui-slider-range { left: -1px; width: 4px; background: #9bcff5; background: -moz-linear-gradient(top, #9bcff5 0%, #84c4f3 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9bcff5), color-stop(100%,#84c4f3)); background: -webkit-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: -o-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: -ms-linear-gradient(top, #9bcff5 0%,#84c4f3 100%); background: linear-gradient(top, #9bcff5 0%,#84c4f3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9bcff5', endColorstr='#84c4f3',GradientType=0 ); }
|
61 |
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
62 |
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }
|
63 |
+
#eq span { height: 120px; float: left; margin-right: 30px; display: block; }
|
64 |
+
.slider-tip { opacity:1; bottom:120%; margin-left: -1.36em; }
|
65 |
+
|
66 |
+
|
67 |
+
|
68 |
+
/* ===== UI Datepicker ===== */
|
69 |
+
|
70 |
+
.no-append .ui-datepicker-append { display: none; }
|
71 |
+
.ui-datepicker-append { margin-left: 14px; font-size: 11px; line-height: 26px; }
|
72 |
+
.ui-datepicker { width: 195px; background: #fdfdfd; display: none; border: 1px solid #ddd;z-index: 10000!important;}
|
73 |
+
.ui-datepicker-inline { width: 100%; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
|
74 |
+
.datepicker-fixed { width: 195px; }
|
75 |
+
.datepicker-liquid { width: 100%; }
|
76 |
+
#sidebar .ui-datepicker-inline, .widget .ui-datepicker-inline { margin-top: 0; }
|
77 |
+
.formRow .ui-datepicker-inline { width: 195px; }
|
78 |
+
.ui-datepicker .ui-datepicker-header { position:relative; padding: 8px 0 7px 0; border:0px; font-weight: bold; font-size: 11px; width: 100%; color: #636363; text-shadow: 0 1px white; border-bottom: 1px solid #ddd; border-radius: 0!important; box-shadow: 0 1px 0 #fff; -webkit-box-shadow: 0 1px 0 #fff; -moz-box-shadow: 0 1px 0 #fff;
|
79 |
+
background: #f2f2f2;
|
80 |
+
background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
|
81 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f2f2));
|
82 |
+
background: -webkit-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
83 |
+
background: -o-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
84 |
+
background: -ms-linear-gradient(top, #ffffff 0%,#f2f2f2 100%);
|
85 |
+
background: linear-gradient(top, #ffffff 0%,#f2f2f2 100%); }
|
86 |
+
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 9px; width: 1.8em; height: 1.8em; cursor: pointer; }
|
87 |
+
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { background: none; }
|
88 |
+
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
89 |
+
.ui-datepicker .ui-datepicker-next { right:7px; }
|
90 |
+
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; width: 6px; cursor: pointer; height: 9px; position: absolute; left: 50%; top: 4px; background: url(../images/elements/ui/dateArrows.png) no-repeat 0; }
|
91 |
+
.ui-datepicker .ui-datepicker-prev span { background-position: 0 0; }
|
92 |
+
.ui-datepicker .ui-datepicker-next span { background-position: -8px 0; }
|
93 |
+
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
94 |
+
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
95 |
+
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
96 |
+
.ui-datepicker select.ui-datepicker-month, .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0; }
|
97 |
+
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
98 |
+
.ui-datepicker td { border: 0; padding: 1px 1px 0 1px; }
|
99 |
+
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: 7px 2px 6px 2px; text-align: right; text-decoration: none; line-height: 13px; }
|
100 |
+
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
101 |
+
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
102 |
+
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
103 |
+
|
104 |
+
/* with multiple calendars */
|
105 |
+
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
106 |
+
.ui-datepicker-multi .ui-datepicker-group { float:left; border-left: 1px solid #cdcdcd; margin-left: -1px; }
|
107 |
+
.ui-datepicker-multi .ui-datepicker-group:first-child { border-left: none; margin-left: 0; }
|
108 |
+
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
109 |
+
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
110 |
+
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
111 |
+
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
112 |
+
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
113 |
+
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
114 |
+
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
115 |
+
.ui-datepicker-row-break { clear:both; width:100%; }
|
116 |
+
|
117 |
+
/* RTL support */
|
118 |
+
.ui-datepicker-rtl { direction: rtl; }
|
119 |
+
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
120 |
+
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
121 |
+
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
122 |
+
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
123 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
124 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
125 |
+
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
126 |
+
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
127 |
+
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
128 |
+
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
129 |
+
.ui-datepicker th { font-weight: bold; color: gray; }
|
130 |
+
.ui-datepicker-today a:hover{ background-color: #808080; color: #ffffff; }
|
131 |
+
.ui-datepicker-today > a { background:#67919d; margin-bottom:0px; font-size:normal; text-shadow: 0px; color: white; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
132 |
+
.ui-datepicker td a{ margin-bottom:0px; border:0px; }
|
133 |
+
.ui-datepicker td:hover{ color:white; }
|
134 |
+
.ui-datepicker td .ui-state-default { border:0px; margin-bottom:0px; text-align: center; filter:none; }
|
135 |
+
.ui-datepicker td .ui-state-active{ background:#67859d; margin-bottom:0px; font-size:normal; text-shadow: 0px; color:white; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
136 |
+
.ui-datepicker td .ui-state-default:hover{ background:#476981; color:white; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; }
|
137 |
+
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter: Alpha(Opacity=35); background: none; }
|
138 |
+
.date-trigger { display: inline-block; position: relative; }
|
139 |
+
.date-trigger .ui-datepicker-trigger { position: absolute; top: 6px; margin-left: 6px; cursor: pointer; }
|
140 |
+
|
141 |
+
|
142 |
+
|
143 |
+
|
144 |
+
|
145 |
+
/* ===== UI autocomplete ===== */
|
146 |
+
|
147 |
+
.ui-autocomplete { position: absolute; display: none; padding: 0; z-index: 100!important; border: 1px solid #d5d5d5; border-top: none; max-height: 185px; overflow: auto; }
|
148 |
+
.ui-autocomplete .ui-state-hover { background: none; padding: 6px 10px 7px 32px; }
|
149 |
+
* html .ui-autocomplete { width:1px; }
|
150 |
+
.ui-menu { display: block; float: left; }
|
151 |
+
.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 100%; border-bottom: 1px solid #eaeaea; border-top: 1px solid #fff; background: #fafafa; }
|
152 |
+
.ui-menu .ui-menu-item a { text-decoration:none; display:block; padding: 6px 10px 7px 10px; color: #5f5f5f; line-height:1.5; zoom:1; font-size: 11px; cursor: pointer; }
|
153 |
+
.ui-menu .ui-menu-item a.ui-state-focus { background-color: #f5f5f5; }
|
154 |
+
.ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; }
|
155 |
+
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
156 |
+
|
157 |
+
|
158 |
+
|
159 |
+
/* ===== Spinner ===== */
|
160 |
+
|
161 |
+
.ui-spinner { position: relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; border: none; box-shadow: none; }
|
162 |
+
.ui-spinner > input[type=text] { padding: 7px 22px 7px 8px; box-sizing: border-box; }
|
163 |
+
.ui-spinner-disabled { background: #F4F4F4; color: #CCC; }
|
164 |
+
.ui-spinner input.ui-spinner-box { border: none!important; background: none!important; padding: 0!important; height: 26px; }
|
165 |
+
.ui-spinner-up, .ui-spinner-down { width: 18px; padding: 0; margin: 0; z-index: 100; position: absolute; right: 1px; cursor: pointer; border: none; }
|
166 |
+
.ui-spinner-up { background: url(../images/elements/forms/spinner-top.png) no-repeat; height: 15px; top: 0; }
|
167 |
+
.ui-spinner-down { height: 15px; bottom: 0; background: url(../images/elements/forms/spinner-bottom.png) no-repeat; }
|
168 |
+
.ui-spinner-list, .ui-spinner-listitem { margin: 0; padding: 0; }
|
169 |
+
.ui-spinner ul li, .ui-spinner-data { line-height: 26px; height: 26px; }
|
170 |
+
.ui-spinner-input { border: none; box-shadow: none; }
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
/* ===== UI Dialog ===== */
|
175 |
+
|
176 |
+
.ui-dialog { position: absolute; padding: 3px; width: auto; background: #808080; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
|
177 |
+
|
178 |
+
.ui-dialog input[type=text], .ui-dialog input[type=password], .ui-dialog textarea { font-size: 11px; padding: 6px 5px; background: white; border: 1px solid #DDD; width: 100%; font-family: Arial, Helvetica, sans-serif; box-shadow: 0 0 0 2px #f4f4f4; color: #656565; width: 100%; margin: 10px auto; display: block; box-sizing: border-box; }
|
179 |
+
.ui-dialog form { }
|
180 |
+
.ui-dialog form label { float: left; cursor: pointer; margin-bottom: 3px; }
|
181 |
+
.dialogSelect label { margin: 4px 15px 0 0; }
|
182 |
+
.customDialog { padding: 0!important; }
|
183 |
+
.ui-dialog .icon { padding: 1px 6px 0 0; float: left; }
|
184 |
+
.ui-dialog .titleIcon { position: absolute; top: -10px; }
|
185 |
+
.ui-dialog p { padding: 0!important; }
|
186 |
+
.ui-dialog .ui-dialog-titlebar { position: relative; border-bottom: 1px solid #CDCDCD; box-shadow: 0 1px 0 #fff; text-shadow: 0 1px white; background: #f8f8f8; background: -moz-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8)); background: -webkit-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: -o-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: -ms-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 ); }
|
187 |
+
.ui-dialog .ui-dialog-title { height: 40px; padding: 0 14px; line-height: 40px; }
|
188 |
+
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: 6px; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
189 |
+
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; opacity: 0.6; }
|
190 |
+
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 1px; background: #fafafa; }
|
191 |
+
.ui-dialog .ui-dialog-content { position: relative; overflow: auto; zoom: 1; padding: 10px 12px; background: #f5f5f5; clear: both; }
|
192 |
+
.ui-dialog .ui-dialog-buttonpane { padding: 0 12px; font-size: .9em; border-top: 1px solid #cdcdcd; padding: 10px 0; text-shadow: 0 1px white; background: #f8f8f8; background: -moz-linear-gradient(top, #f8f8f8 0%, #e8e8e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#e8e8e8)); background: -webkit-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: -o-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: -ms-linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); background: linear-gradient(top, #f8f8f8 0%,#e8e8e8 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#e8e8e8',GradientType=0 ); }
|
193 |
+
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { text-align: right; margin: 0 4px; }
|
194 |
+
.ui-dialog .ui-dialog-buttonpane button { font-size: 11px; color: #fff; font-weight: bold; text-shadow: 0 -1px #6f6f6f; display: inline-block; line-height: 14px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; padding: 7px 16px; margin: 0 5px; border: 1px solid #3e76af; box-shadow: 0 1px 2px 0 #66b2d2 inset; background: #5ba5cb; background: -moz-linear-gradient(top, #5ba5cb 0%, #3a70ab 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5ba5cb), color-stop(100%,#3a70ab)); background: -webkit-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%); background: -o-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%); background: -ms-linear-gradient(top, #5ba5cb 0%,#3a70ab 100%); background: linear-gradient(top, #5ba5cb 0%,#3a70ab 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5ba5cb', endColorstr='#3a70ab',GradientType=0 ); }
|
195 |
+
.ui-dialog .ui-dialog-buttonpane button:hover { opacity: 0.95; -webkit-transition: opacity 0.2s ease-in-out; }
|
196 |
+
.ui-dialog .ui-dialog-buttonpane button:active { background: #4786b8; box-shadow: 0 0 2px #707070 inset, 0 1px 0 #fff; }
|
197 |
+
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 5px; bottom: 5px; opacity: 0.3; }
|
198 |
+
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
199 |
+
|
200 |
+
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #AAA url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30; filter: Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
|
201 |
+
|
202 |
+
|
{images → assets/images}/backgrounds/bg.png
RENAMED
File without changes
|
assets/images/backgrounds/bg2.png
ADDED
Binary file
|
assets/images/backgrounds/body_bg.png
ADDED
Binary file
|
assets/images/backgrounds/default.jpg
ADDED
Binary file
|
assets/images/backgrounds/opacity.png
ADDED
Binary file
|
assets/images/backgrounds/opacity2.png
ADDED
Binary file
|
assets/images/blank.gif
ADDED
Binary file
|
assets/images/elements/checkboxes/handle.png
ADDED
Binary file
|
assets/images/elements/checkboxes/handle2.png
ADDED
Binary file
|
assets/images/elements/checkboxes/ibutton-slider-default.png
ADDED
Binary file
|
assets/images/elements/checkboxes/no.png
ADDED
Binary file
|
assets/images/elements/checkboxes/off.png
ADDED
Binary file
|
assets/images/elements/checkboxes/off2.png
ADDED
Binary file
|
assets/images/elements/checkboxes/on.png
ADDED
Binary file
|
assets/images/elements/checkboxes/on2.png
ADDED
Binary file
|
assets/images/elements/checkboxes/yes.png
ADDED
Binary file
|
assets/images/elements/forms/add_files.png
ADDED
Binary file
|
assets/images/elements/forms/checkboxes.png
ADDED
Binary file
|
assets/images/elements/forms/closeSelection.png
ADDED
Binary file
|
assets/images/elements/forms/dropdown-search.png
ADDED
Binary file
|
assets/images/elements/forms/main-search.png
ADDED
Binary file
|
assets/images/elements/forms/radios.png
ADDED
Binary file
|
assets/images/elements/forms/select-arrow.png
ADDED
Binary file
|
assets/images/elements/forms/sidebar_checkboxes.png
ADDED
Binary file
|
assets/images/elements/forms/sidebar_dropdown_arrows.png
ADDED
Binary file
|
assets/images/elements/forms/sidebar_dropdown_usual.png
ADDED
Binary file
|
assets/images/elements/forms/sidebar_radios.png
ADDED
Binary file
|
assets/images/elements/forms/smallClose.png
ADDED
Binary file
|
assets/images/elements/forms/spinner-bottom.png
ADDED
Binary file
|
assets/images/elements/forms/spinner-top.png
ADDED
Binary file
|
assets/images/elements/loaders/1.gif
ADDED
Binary file
|
assets/images/elements/loaders/10.gif
ADDED
Binary file
|
assets/images/elements/loaders/10s.gif
ADDED
Binary file
|
assets/images/elements/loaders/1s.gif
ADDED
Binary file
|
assets/images/elements/loaders/2.gif
ADDED
Binary file
|
assets/images/elements/loaders/2s.gif
ADDED
Binary file
|
assets/images/elements/loaders/3.gif
ADDED
Binary file
|
assets/images/elements/loaders/3s.gif
ADDED
Binary file
|
assets/images/elements/loaders/4.gif
ADDED
Binary file
|
assets/images/elements/loaders/4s.gif
ADDED
Binary file
|
assets/images/elements/loaders/5.gif
ADDED
Binary file
|
assets/images/elements/loaders/5s.gif
ADDED
Binary file
|
assets/images/elements/loaders/6.gif
ADDED
Binary file
|
assets/images/elements/loaders/6s.gif
ADDED
Binary file
|
assets/images/elements/loaders/7.gif
ADDED
Binary file
|
assets/images/elements/loaders/7s.gif
ADDED
Binary file
|
assets/images/elements/loaders/8.gif
ADDED
Binary file
|
assets/images/elements/loaders/8s.gif
ADDED
Binary file
|
assets/images/elements/loaders/9.gif
ADDED
Binary file
|
assets/images/elements/loaders/9s.gif
ADDED
Binary file
|
assets/images/elements/other/contact_status.png
ADDED
Binary file
|
assets/images/elements/other/done.png
ADDED
Binary file
|
assets/images/elements/other/dropped.png
ADDED
Binary file
|
assets/images/elements/other/grown.png
ADDED
Binary file
|
assets/images/elements/other/link.png
ADDED
Binary file
|
assets/images/elements/other/list_arrow.png
ADDED
Binary file
|
assets/images/elements/other/messageArrow_left.png
ADDED
Binary file
|
assets/images/elements/other/messageArrow_right.png
ADDED
Binary file
|
assets/images/elements/other/photo.png
ADDED
Binary file
|
{images → assets/images/elements/ui}/dateArrows.png
RENAMED
File without changes
|
{images → assets/images}/elements/ui/handle.png
RENAMED
File without changes
|
{images → assets/images}/elements/ui/progressOverlay.png
RENAMED
File without changes
|
{images → assets/images}/elements/ui/progress_overlay.png
RENAMED
File without changes
|
assets/images/elfinder/arrows-active.png
ADDED
Binary file
|
assets/images/elfinder/arrows-normal.png
ADDED
Binary file
|
assets/images/elfinder/crop.gif
ADDED
Binary file
|
assets/images/elfinder/dialogs.png
ADDED
Binary file
|
assets/images/elfinder/icons-big.png
ADDED
Binary file
|
assets/images/elfinder/icons-small.png
ADDED
Binary file
|
assets/images/elfinder/progress.gif
ADDED
Binary file
|
assets/images/elfinder/ql.png
ADDED
Binary file
|
assets/images/elfinder/quicklook-bg.png
ADDED
Binary file
|
assets/images/elfinder/quicklook-icons.png
ADDED
Binary file
|
assets/images/elfinder/resize.png
ADDED
Binary file
|
assets/images/elfinder/spinner-mini.gif
ADDED
Binary file
|
assets/images/elfinder/spinner.gif
ADDED
Binary file
|
assets/images/elfinder/toolbar.png
ADDED
Binary file
|
assets/images/icons/active_state.png
ADDED
Binary file
|
assets/images/icons/calendar.png
ADDED
Binary file
|
assets/images/icons/color-16/Thumbs.db
ADDED
Binary file
|
assets/images/icons/color-16/address-book-open.png
ADDED
Binary file
|
assets/images/icons/color-16/address-book.png
ADDED
Binary file
|
assets/images/icons/color-16/android.png
ADDED
Binary file
|
assets/images/icons/color-16/application-plus-black.png
ADDED
Binary file
|
assets/images/icons/color-16/application-plus.png
ADDED
Binary file
|
assets/images/icons/color-16/application-split-tile.png
ADDED
Binary file
|
assets/images/icons/color-16/application.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-circle-double.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-circle.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-curve-090.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-curve-180.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-curve-270.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-curve.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-in-out.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-in.png
ADDED
Binary file
|
assets/images/icons/color-16/arrow-resize-045.png
ADDED
Binary file
|
assets/images/icons/color-16/auction-hammer.png
ADDED
Binary file
|
assets/images/icons/color-16/baggage-cart-box.png
ADDED
Binary file
|
assets/images/icons/color-16/balloon-ellipsis.png
ADDED
Binary file
|
assets/images/icons/color-16/bank.png
ADDED
Binary file
|
assets/images/icons/color-16/barcode-2d.png
ADDED
Binary file
|
assets/images/icons/color-16/battery-full.png
ADDED
Binary file
|
assets/images/icons/color-16/bell.png
ADDED
Binary file
|
assets/images/icons/color-16/binocular.png
ADDED
Binary file
|
assets/images/icons/color-16/block.png
ADDED
Binary file
|
assets/images/icons/color-16/blog.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-access.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-excel.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-flash-movie.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-illustrator.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-number.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-pdf-text.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-photoshop-image.png
ADDED
Binary file
|
assets/images/icons/color-16/blue-document-powerpoint.png
ADDED
Binary file
|
assets/images/icons/color-16/book-brown.png
ADDED
Binary file
|
assets/images/icons/color-16/book-open.png
ADDED
Binary file
|
assets/images/icons/color-16/box-document.png
ADDED
Binary file
|
assets/images/icons/color-16/briefcase.png
ADDED
Binary file
|
assets/images/icons/color-16/calendar-day.png
ADDED
Binary file
|
assets/images/icons/color-16/calendar-list.png
ADDED
Binary file
|
assets/images/icons/color-16/calendar-month.png
ADDED
Binary file
|
assets/images/icons/color-16/calendar-task.png
ADDED
Binary file
|
assets/images/icons/color-16/cards-address.png
ADDED
Binary file
|
assets/images/icons/color-16/category.png
ADDED
Binary file
|
assets/images/icons/color-16/chain.png
ADDED
Binary file
|
assets/images/icons/color-16/chart-pie-separate.png
ADDED
Binary file
|
assets/images/icons/color-16/chart.png
ADDED
Binary file
|
assets/images/icons/color-16/chevron-expand.png
ADDED
Binary file
|
assets/images/icons/color-16/chevron.png
ADDED
Binary file
|
assets/images/icons/color-16/color-swatches.png
ADDED
Binary file
|
assets/images/icons/color-16/contrast.png
ADDED
Binary file
|
assets/images/icons/color-16/cross.png
ADDED
Binary file
|
assets/images/icons/color-16/currency.png
ADDED
Binary file
|
assets/images/icons/color-16/cursor.png
ADDED
Binary file
|
assets/images/icons/color-16/database.png
ADDED
Binary file
|
assets/images/icons/color-16/databases.png
ADDED
Binary file
|
assets/images/icons/color-16/disc.png
ADDED
Binary file
|
assets/images/icons/color-16/disk-return-black.png
ADDED
Binary file
|
assets/images/icons/color-16/document-access.png
ADDED
Binary file
|
assets/images/icons/color-16/document-excel.png
ADDED
Binary file
|
assets/images/icons/color-16/document-flash-movie.png
ADDED
Binary file
|
assets/images/icons/color-16/document-pdf-text.png
ADDED
Binary file
|
assets/images/icons/color-16/document-task.png
ADDED
Binary file
|
assets/images/icons/color-16/document-tree.png
ADDED
Binary file
|
assets/images/icons/color-16/document-word-text.png
ADDED
Binary file
|
assets/images/icons/color-16/document-zipper.png
ADDED
Binary file
|
assets/images/icons/color-16/drive-disc.png
ADDED
Binary file
|
assets/images/icons/color-16/edit-column.png
ADDED
Binary file
|
assets/images/icons/color-16/exclamation.png
ADDED
Binary file
|
assets/images/icons/color-16/external.png
ADDED
Binary file
|
assets/images/icons/color-16/feed.png
ADDED
Binary file
|
assets/images/icons/color-16/film.png
ADDED
Binary file
|
assets/images/icons/color-16/flask.png
ADDED
Binary file
|
assets/images/icons/color-16/game.png
ADDED
Binary file
|
assets/images/icons/color-16/grid.png
ADDED
Binary file
|
assets/images/icons/color-16/guide.png
ADDED
Binary file
|
assets/images/icons/color-16/hammer.png
ADDED
Binary file
|
assets/images/icons/color-16/hand-point-090.png
ADDED
Binary file
|
assets/images/icons/color-16/hand-point.png
ADDED
Binary file
|
assets/images/icons/color-16/home.png
ADDED
Binary file
|
assets/images/icons/color-16/hourglass.png
ADDED
Binary file
|
assets/images/icons/color-16/image-crop.png
ADDED
Binary file
|
assets/images/icons/color-16/image-resize-actual.png
ADDED
Binary file
|
assets/images/icons/color-16/image-resize.png
ADDED
Binary file
|
assets/images/icons/color-16/information.png
ADDED
Binary file
|
assets/images/icons/color-16/layer-resize.png
ADDED
Binary file
|
assets/images/icons/color-16/layer-vector.png
ADDED
Binary file
|
assets/images/icons/color-16/layers-ungroup.png
ADDED
Binary file
|
assets/images/icons/color-16/layout-3-mix.png
ADDED
Binary file
|
assets/images/icons/color-16/layout-6.png
ADDED
Binary file
|
assets/images/icons/color-16/lifebuoy.png
ADDED
Binary file
|
assets/images/icons/color-16/mail.png
ADDED
Binary file
|
assets/images/icons/color-16/minus-circle.png
ADDED
Binary file
|
assets/images/icons/color-16/money.png
ADDED
Binary file
|
assets/images/icons/color-16/monitor-window.png
ADDED
Binary file
|
assets/images/icons/color-16/monitor.png
ADDED
Binary file
|
assets/images/icons/color-16/music-beam.png
ADDED
Binary file
|
assets/images/icons/color-16/node-select.png
ADDED
Binary file
|
assets/images/icons/color-16/notebook.png
ADDED
Binary file
|
assets/images/icons/color-16/paint-brush.png
ADDED
Binary file
|
assets/images/icons/color-16/paint-can.png
ADDED
Binary file
|
assets/images/icons/color-16/palette.png
ADDED
Binary file
|
assets/images/icons/color-16/paper-clip.png
ADDED
Binary file
|
assets/images/icons/color-16/pencil.png
ADDED
Binary file
|
assets/images/icons/color-16/pin.png
ADDED
Binary file
|
assets/images/icons/color-16/plus.png
ADDED
Binary file
|
assets/images/icons/color-16/present.png
ADDED
Binary file
|
assets/images/icons/color-16/projection-screen.png
ADDED
Binary file
|
assets/images/icons/color-16/question.png
ADDED
Binary file
|
assets/images/icons/color-16/report-paper.png
ADDED
Binary file
|
assets/images/icons/color-16/ruler.png
ADDED
Binary file
|
assets/images/icons/color-16/scissors.png
ADDED
Binary file
|
assets/images/icons/color-16/selection-input.png
ADDED
Binary file
|
assets/images/icons/color-16/shopping-basket.png
ADDED
Binary file
|
assets/images/icons/color-16/sitemap.png
ADDED
Binary file
|
assets/images/icons/color-16/speaker-volume.png
ADDED
Binary file
|
assets/images/icons/color-16/spectrum.png
ADDED
Binary file
|
assets/images/icons/color-16/star.png
ADDED
Binary file
|
assets/images/icons/color-16/store.png
ADDED
Binary file
|
assets/images/icons/color-16/switch.png
ADDED
Binary file
|
assets/images/icons/color-16/television.png
ADDED
Binary file
|
assets/images/icons/color-16/thumb-up.png
ADDED
Binary file
|
assets/images/icons/color-16/thumb.png
ADDED
Binary file
|
assets/images/icons/color-16/tick.png
ADDED
Binary file
|
assets/images/icons/color-16/toolbox.png
ADDED
Binary file
|
assets/images/icons/color-16/trophy.png
ADDED
Binary file
|
assets/images/icons/color-16/ui-color-picker-transparent.png
ADDED
Binary file
|
assets/images/icons/color-16/ui-slider-vertical-050.png
ADDED
Binary file
|
assets/images/icons/color-16/ui-slider.png
ADDED
Binary file
|
assets/images/icons/color-16/user-black-female.png
ADDED
Binary file
|
assets/images/icons/color-16/user-black.png
ADDED
Binary file
|
assets/images/icons/color-16/user-silhouette-question.png
ADDED
Binary file
|
assets/images/icons/color-16/users.png
ADDED
Binary file
|
assets/images/icons/color-16/wand.png
ADDED
Binary file
|
assets/images/icons/color-16/wrench-screwdriver.png
ADDED
Binary file
|
assets/images/icons/color/address.png
ADDED
Binary file
|
assets/images/icons/color/administrative-docs.png
ADDED
Binary file
|
assets/images/icons/color/advertising.png
ADDED
Binary file
|
assets/images/icons/color/archives.png
ADDED
Binary file
|
assets/images/icons/color/attibutes.png
ADDED
Binary file
|
assets/images/icons/color/bank.png
ADDED
Binary file
|
assets/images/icons/color/basket.png
ADDED
Binary file
|
assets/images/icons/color/bestseller.png
ADDED
Binary file
|
assets/images/icons/color/billing.png
ADDED
Binary file
|
assets/images/icons/color/bookmark.png
ADDED
Binary file
|
assets/images/icons/color/brainstorming.png
ADDED
Binary file
|
assets/images/icons/color/business-contact.png
ADDED
Binary file
|
assets/images/icons/color/busy.png
ADDED
Binary file
|
assets/images/icons/color/calendar.png
ADDED
Binary file
|
assets/images/icons/color/category.png
ADDED
Binary file
|
assets/images/icons/color/check.png
ADDED
Binary file
|
assets/images/icons/color/collaboration.png
ADDED
Binary file
|
assets/images/icons/color/comment.png
ADDED
Binary file
|
assets/images/icons/color/communication.png
ADDED
Binary file
|
assets/images/icons/color/config.png
ADDED
Binary file
|
assets/images/icons/color/consulting.png
ADDED
Binary file
|
assets/images/icons/color/contact.png
ADDED
Binary file
|
assets/images/icons/color/cost.png
ADDED
Binary file
|
assets/images/icons/color/credit-card.png
ADDED
Binary file
|
assets/images/icons/color/credit.png
ADDED
Binary file
|
assets/images/icons/color/current-work.png
ADDED
Binary file
|
assets/images/icons/color/customers.png
ADDED
Binary file
|
assets/images/icons/color/cv.png
ADDED
Binary file
|
assets/images/icons/color/database.png
ADDED
Binary file
|
assets/images/icons/color/date.png
ADDED
Binary file
|
assets/images/icons/color/delicious.png
ADDED
Binary file
|
assets/images/icons/color/document-library.png
ADDED
Binary file
|
assets/images/icons/color/donate.png
ADDED
Binary file
|
assets/images/icons/color/drawings.png
ADDED
Binary file
|
assets/images/icons/color/edit.png
ADDED
Binary file
|
assets/images/icons/color/email.png
ADDED
Binary file
|
assets/images/icons/color/facebook.png
ADDED
Binary file
|
assets/images/icons/color/featured.png
ADDED
Binary file
|
assets/images/icons/color/feed.png
ADDED
Binary file
|
assets/images/icons/color/finished-work.png
ADDED
Binary file
|
assets/images/icons/color/flag.png
ADDED
Binary file
|
assets/images/icons/color/folder.png
ADDED
Binary file
|
assets/images/icons/color/free-for-job.png
ADDED
Binary file
|
assets/images/icons/color/freelance.png
ADDED
Binary file
|
assets/images/icons/color/full-time.png
ADDED
Binary file
|
assets/images/icons/color/future-projects.png
ADDED
Binary file
|
assets/images/icons/color/graphic-design.png
ADDED
Binary file
|
assets/images/icons/color/heart.png
ADDED
Binary file
|
assets/images/icons/color/hire-me.png
ADDED
Binary file
|
assets/images/icons/color/home.png
ADDED
Binary file
|
assets/images/icons/color/illustration.png
ADDED
Binary file
|
assets/images/icons/color/invoice.png
ADDED
Binary file
|
assets/images/icons/color/issue.png
ADDED
Binary file
|
assets/images/icons/color/library.png
ADDED
Binary file
|
assets/images/icons/color/lightbulb.png
ADDED
Binary file
|
assets/images/icons/color/limited-edition.png
ADDED
Binary file
|
assets/images/icons/color/link.png
ADDED
Binary file
|
assets/images/icons/color/lock.png
ADDED
Binary file
|
assets/images/icons/color/login.png
ADDED
Binary file
|
assets/images/icons/color/logout.png
ADDED
Binary file
|
assets/images/icons/color/milestone.png
ADDED
Binary file
|
assets/images/icons/color/my-account.png
ADDED
Binary file
|
assets/images/icons/color/networking.png
ADDED
Binary file
|
assets/images/icons/color/old-versions.png
ADDED
Binary file
|
assets/images/icons/color/order-149.png
ADDED
Binary file
|
assets/images/icons/color/order.png
ADDED
Binary file
|
assets/images/icons/color/payment-card.png
ADDED
Binary file
|
assets/images/icons/color/paypal.png
ADDED
Binary file
|
assets/images/icons/color/pc.png
ADDED
Binary file
|
assets/images/icons/color/pen.png
ADDED
Binary file
|
assets/images/icons/color/pencil.png
ADDED
Binary file
|
assets/images/icons/color/phone.png
ADDED
Binary file
|
assets/images/icons/color/photography.png
ADDED
Binary file
|
assets/images/icons/color/plus.png
ADDED
Binary file
|
assets/images/icons/color/premium.png
ADDED
Binary file
|
assets/images/icons/color/print.png
ADDED
Binary file
|
assets/images/icons/color/process.png
ADDED
Binary file
|
assets/images/icons/color/product-163.png
ADDED
Binary file
|
assets/images/icons/color/product-design.png
ADDED
Binary file
|
assets/images/icons/color/product.png
ADDED
Binary file
|
assets/images/icons/color/project.png
ADDED
Binary file
|
assets/images/icons/color/publish.png
ADDED
Binary file
|
assets/images/icons/color/refresh.png
ADDED
Binary file
|
assets/images/icons/color/search.png
ADDED
Binary file
|
assets/images/icons/color/settings.png
ADDED
Binary file
|
assets/images/icons/color/shipping.png
ADDED
Binary file
|
assets/images/icons/color/showreel.png
ADDED
Binary file
|
assets/images/icons/color/sign-in.png
ADDED
Binary file
|
assets/images/icons/color/sign-out.png
ADDED
Binary file
|
assets/images/icons/color/sign-up.png
ADDED
Binary file
|
assets/images/icons/color/sitemap.png
ADDED
Binary file
|
assets/images/icons/color/special-offer.png
ADDED
Binary file
|
assets/images/icons/color/star.png
ADDED
Binary file
|
assets/images/icons/color/statistics.png
ADDED
Binary file
|
assets/images/icons/color/suppliers.png
ADDED
Binary file
|
assets/images/icons/color/tag.png
ADDED
Binary file
|
assets/images/icons/color/ticket.png
ADDED
Binary file
|
assets/images/icons/color/twitter.png
ADDED
Binary file
|
assets/images/icons/color/upcoming-work.png
ADDED
Binary file
|
assets/images/icons/color/user.png
ADDED
Binary file
|
assets/images/icons/color/world.png
ADDED
Binary file
|
assets/images/icons/color/zoom.png
ADDED
Binary file
|
assets/images/icons/icon-search.png
ADDED
Binary file
|
{gfx → assets/images/icons}/icon-succes.png
RENAMED
File without changes
|
assets/images/icons/login-password.png
ADDED
Binary file
|
assets/images/icons/login-username.png
ADDED
Binary file
|
images/progress_overlay.png → assets/images/icons/plus.png
RENAMED
Binary file
|
assets/images/lightbox_loading.gif
ADDED
Binary file
|
assets/images/lightbox_overlay.png
ADDED
Binary file
|
assets/images/overlay.png
ADDED
Binary file
|
assets/images/settings.png
ADDED
Binary file
|
assets/images/skin-alt/button_next.png
ADDED
Binary file
|
assets/images/skin-alt/button_pause.png
ADDED
Binary file
|
assets/images/skin-alt/button_play.png
ADDED
Binary file
|
assets/images/skin-alt/button_prev.png
ADDED
Binary file
|
assets/images/skin-alt/lightbox_close.png
ADDED
Binary file
|
assets/images/skin-alt/lightbox_left.png
ADDED
Binary file
|
assets/images/skin-alt/lightbox_right.png
ADDED
Binary file
|
assets/images/skin-default/button_next.png
ADDED
Binary file
|
assets/images/skin-default/button_next_hover.png
ADDED
Binary file
|
assets/images/skin-default/button_pause.png
ADDED
Binary file
|
assets/images/skin-default/button_pause_hover.png
ADDED
Binary file
|
assets/images/skin-default/button_play.png
ADDED
Binary file
|
assets/images/skin-default/button_play_hover.png
ADDED
Binary file
|
assets/images/skin-default/button_prev.png
ADDED
Binary file
|
assets/images/skin-default/button_prev_hover.png
ADDED
Binary file
|
assets/images/skin-default/lightbox_close.png
ADDED
Binary file
|
assets/images/skin-default/lightbox_left.png
ADDED
Binary file
|
assets/images/skin-default/lightbox_right.png
ADDED
Binary file
|
{images → assets/images}/sprites/glyphicons-halflings-white.png
RENAMED
File without changes
|
{gfx → assets/images/sprites}/glyphicons-halflings.png
RENAMED
File without changes
|
assets/images/tables/searchSmall.png
ADDED
Binary file
|
assets/images/tables/sort.png
ADDED
Binary file
|
assets/images/tables/sortDown.png
ADDED
Binary file
|
assets/images/tables/sortUp.png
ADDED
Binary file
|
assets/images/tables/sort_asc.png
ADDED
Binary file
|
assets/images/tables/sort_both.png
ADDED
Binary file
|
assets/images/tables/sort_desc.png
ADDED
Binary file
|
assets/images/tables/sort_desc_disabled.png
ADDED
Binary file
|
assets/js/colorpicker/images/color.png
ADDED
Binary file
|
assets/js/colorpicker/images/grid.gif
ADDED
Binary file
|
assets/js/colorpicker/images/meta100.png
ADDED
Binary file
|
assets/js/colorpicker/images/picker.png
ADDED
Binary file
|
assets/js/colorpicker/js/mColorPicker_small.js
ADDED
@@ -0,0 +1,628 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
mColorPicker
|
3 |
+
Version: 1.0 r38
|
4 |
+
|
5 |
+
Copyright (c) 2010 Meta100 LLC.
|
6 |
+
http://www.meta100.com/
|
7 |
+
|
8 |
+
Licensed under the MIT license
|
9 |
+
http://www.opensource.org/licenses/mit-license.php
|
10 |
+
*/
|
11 |
+
|
12 |
+
// After this script loads set:
|
13 |
+
// $.fn.mColorPicker.init.replace = '.myclass'
|
14 |
+
// to have this script apply to input.myclass,
|
15 |
+
// instead of the default input[type=color]
|
16 |
+
// To turn of automatic operation and run manually set:
|
17 |
+
// $.fn.mColorPicker.init.replace = false
|
18 |
+
// To use manually call like any other jQuery plugin
|
19 |
+
// $('input.foo').mColorPicker({options})
|
20 |
+
// options:
|
21 |
+
// imageFolder - Change to move image location.
|
22 |
+
// swatches - Initial colors in the swatch, must an array of 10 colors.
|
23 |
+
// init:
|
24 |
+
// $.fn.mColorPicker.init.enhancedSwatches - Turn of saving and loading of swatch to cookies.
|
25 |
+
// $.fn.mColorPicker.init.allowTransparency - Turn off transperancy as a color option.
|
26 |
+
// $.fn.mColorPicker.init.showLogo - Turn on/off the meta100 logo (You don't really want to turn it off, do you?).
|
27 |
+
|
28 |
+
jQuery(document).ready(function($) {
|
29 |
+
|
30 |
+
(function($){
|
31 |
+
var $o, $i, i, $b,
|
32 |
+
div = '<div>',
|
33 |
+
img = '<img>',
|
34 |
+
span = '<span>',
|
35 |
+
$document = $(document),
|
36 |
+
$mColorPicker = $(div),
|
37 |
+
$mColorPickerBg = $(div),
|
38 |
+
$mColorPickerTest = $(div),
|
39 |
+
$mColorPickerInput = $('<input>'),
|
40 |
+
rRGB = /^rgb[a]?\((\d+),\s*(\d+),\s*(\d+)(,\s*(\d+\.\d+)*)?\)/,
|
41 |
+
rHEX = /([a-f0-9])([a-f0-9])([a-f0-9])/,
|
42 |
+
rHEX3 = /#[a-f0-9]{3}/,
|
43 |
+
rHEX6 = /#[a-f0-9]{6}/;
|
44 |
+
|
45 |
+
$.fn.mColorPicker = function(options) {
|
46 |
+
|
47 |
+
var swatches = $.fn.mColorPicker.getCookie('swatches');
|
48 |
+
|
49 |
+
$o = $.extend($.fn.mColorPicker.defaults, options);
|
50 |
+
$.fn.mColorPicker.defaults.swatches.concat($o.swatches).slice(-10);
|
51 |
+
|
52 |
+
if ($i.enhancedSwatches && swatches) $o.swatches = swatches.split('||').concat($o.swatches).slice(0, 10) || $o.swatches;
|
53 |
+
|
54 |
+
if (!$("div#mColorPicker").length) $.fn.mColorPicker.drawPicker();
|
55 |
+
if (!$('#css_disabled_color_picker').length) $('head').prepend('<meta data-remove-me="true"/><style id="css_disabled_color_picker" type="text/css">.mColorPicker[disabled] + span, .mColorPicker[disabled="disabled"] + span, .mColorPicker[disabled="true"] + span {filter:alpha(opacity=50);-moz-opacity:0.5;-webkit-opacity:0.5;-khtml-opacity: 0.5;opacity: 0.5;cursor:default;}</style>');
|
56 |
+
|
57 |
+
$('meta[data-remove-me=true]').remove();
|
58 |
+
|
59 |
+
this.each($.fn.mColorPicker.drawPickerTriggers);
|
60 |
+
|
61 |
+
return this;
|
62 |
+
};
|
63 |
+
|
64 |
+
$.fn.mColorPicker.init = {
|
65 |
+
replace: '[type=color]',
|
66 |
+
index: 0,
|
67 |
+
enhancedSwatches: true,
|
68 |
+
allowTransparency: true,
|
69 |
+
slogan: 'Meta100 - Designing Fun',
|
70 |
+
showLogo: false
|
71 |
+
};
|
72 |
+
|
73 |
+
$.fn.mColorPicker.defaults = {
|
74 |
+
currentId: false,
|
75 |
+
currentInput: false,
|
76 |
+
currentColor: false,
|
77 |
+
changeColor: false,
|
78 |
+
color: false,
|
79 |
+
imageFolder: '../wp-content/plugins/gallery-bank/assets/js/colorpicker/images/',
|
80 |
+
swatches: [
|
81 |
+
"#ffffff",
|
82 |
+
"#ffff00",
|
83 |
+
"#00ff00",
|
84 |
+
"#00ffff",
|
85 |
+
"#0000ff",
|
86 |
+
"#ff00ff",
|
87 |
+
"#ff0000",
|
88 |
+
"#4c2b11",
|
89 |
+
"#3b3b3b",
|
90 |
+
"#000000"
|
91 |
+
]
|
92 |
+
};
|
93 |
+
|
94 |
+
$.fn.mColorPicker.start = function() {
|
95 |
+
|
96 |
+
$('input[data-mcolorpicker!="true"]').filter(function() {
|
97 |
+
|
98 |
+
return ($i.replace == '[type=color]')? this.getAttribute("type") == 'color': $(this).is($i.replace);
|
99 |
+
}).mColorPicker();
|
100 |
+
};
|
101 |
+
|
102 |
+
$.fn.mColorPicker.events = function() {
|
103 |
+
|
104 |
+
$('body').delegate("#mColorPickerBg", 'click', $.fn.mColorPicker.closePicker);
|
105 |
+
|
106 |
+
$('body').delegate('.mColorPicker', 'keyup', function () {
|
107 |
+
|
108 |
+
try {
|
109 |
+
|
110 |
+
$(this).css({
|
111 |
+
'background-color': $(this).val()
|
112 |
+
}).css({
|
113 |
+
'color': $.fn.mColorPicker.textColor($(this).css('background-color'))
|
114 |
+
}).trigger('change');
|
115 |
+
} catch (r) {}
|
116 |
+
});
|
117 |
+
|
118 |
+
$('body').delegate('.mColorPickerTrigger', 'click', $.fn.mColorPicker.colorShow);
|
119 |
+
|
120 |
+
$('body').delegate('.mColor, .mPastColor', 'mousemove', function(e) {
|
121 |
+
|
122 |
+
if (!$o.changeColor) return false;
|
123 |
+
|
124 |
+
var $t = $(this),
|
125 |
+
offset = $t.offset(),
|
126 |
+
$e = $o.currentInput,
|
127 |
+
hex = $e.attr('data-hex') || $e.attr('hex');
|
128 |
+
|
129 |
+
$o.color = $t.css("background-color");
|
130 |
+
|
131 |
+
if ($t.hasClass('mPastColor')) $o.color = $.fn.mColorPicker.setColor($o.color, hex);
|
132 |
+
// else if ($t.hasClass('mColorTransparent')) $o.color = 'transparent';
|
133 |
+
else if (!$t.hasClass('mPastColor')) $o.color = $.fn.mColorPicker.whichColor(e.pageX - offset.left, e.pageY - offset.top, hex);
|
134 |
+
|
135 |
+
$o.currentInput.mSetInputColor($o.color);
|
136 |
+
});
|
137 |
+
$('body').delegate('.mColor, .mPastColor', 'click', $.fn.mColorPicker.colorPicked);
|
138 |
+
|
139 |
+
$('body').delegate('#mColorPickerInput', 'keyup', function (e) {
|
140 |
+
|
141 |
+
try {
|
142 |
+
|
143 |
+
$o.color = $(this).val();
|
144 |
+
$o.currentInput.mSetInputColor($o.color);
|
145 |
+
|
146 |
+
if (e.which == 13) $.fn.mColorPicker.colorPicked();
|
147 |
+
} catch (r) {}
|
148 |
+
|
149 |
+
});
|
150 |
+
$('body').delegate('#mColorPickerInput', 'blur', function () {
|
151 |
+
|
152 |
+
$o.currentInput.mSetInputColor($o.color);
|
153 |
+
});
|
154 |
+
|
155 |
+
$('body').delegate('#mColorPickerWrapper', 'mouseleave', function () {
|
156 |
+
|
157 |
+
if (!$o.changeColor) return false;
|
158 |
+
|
159 |
+
$o.currentInput.mSetInputColor($o.currentColor);
|
160 |
+
});
|
161 |
+
};
|
162 |
+
|
163 |
+
$.fn.mColorPicker.drawPickerTriggers = function () {
|
164 |
+
|
165 |
+
var $t = $(this), val = $t.val();
|
166 |
+
if($t.attr('data-transparent')){
|
167 |
+
val = '';
|
168 |
+
}
|
169 |
+
var id = $t.attr('id') || 'color_' + $i.index++,
|
170 |
+
hidden = $t.attr('text') == 'hidden' || $t.attr('data-text') == 'hidden'? true: false,
|
171 |
+
color = $.fn.mColorPicker.setColor(val, ($t.attr('data-hex') || $t.attr('hex'))),
|
172 |
+
width = $t.width(),
|
173 |
+
height = $t.height(),
|
174 |
+
flt = $t.css('float'),
|
175 |
+
$c = $(span),
|
176 |
+
$trigger = $(span),
|
177 |
+
colorPicker = '',
|
178 |
+
$e;
|
179 |
+
|
180 |
+
$c.attr({
|
181 |
+
'id': 'color_work_area',
|
182 |
+
'class': 'mColorPickerInput'
|
183 |
+
}).appendTo($b)
|
184 |
+
|
185 |
+
$trigger.attr({
|
186 |
+
'id': 'mcp_' + id,
|
187 |
+
'class': 'mColorPickerTrigger'
|
188 |
+
}).css({
|
189 |
+
'display': 'inline-block',
|
190 |
+
'cursor': 'pointer'
|
191 |
+
}).insertAfter($t)
|
192 |
+
|
193 |
+
$(img).attr({
|
194 |
+
'src': $o.imageFolder + 'color.png'
|
195 |
+
}).css({
|
196 |
+
'border': 0,
|
197 |
+
'margin': '0 0 0 3px',
|
198 |
+
'vertical-align': 'text-bottom'
|
199 |
+
}).appendTo($trigger);
|
200 |
+
|
201 |
+
$c.append($t);
|
202 |
+
colorPicker = $c.html().replace(/type="color"/gi, 'type="' + (hidden? 'hidden': 'text') + '"');
|
203 |
+
$c.html('').remove();
|
204 |
+
$e = $(colorPicker).attr('id', id).addClass('mColorPicker').val(color).insertBefore($trigger);
|
205 |
+
|
206 |
+
if (hidden) $trigger.css({
|
207 |
+
'border': '1px solid black',
|
208 |
+
'float': flt,
|
209 |
+
'width': width,
|
210 |
+
'height': height
|
211 |
+
}).addClass($e.attr('class')).html(' ');
|
212 |
+
|
213 |
+
$e.mSetInputColor(color);
|
214 |
+
|
215 |
+
return $e;
|
216 |
+
};
|
217 |
+
|
218 |
+
$.fn.mColorPicker.drawPicker = function () {
|
219 |
+
|
220 |
+
var $s = $(div),
|
221 |
+
$l = $('<a>'),
|
222 |
+
$f = $(div),
|
223 |
+
$w = $(div);
|
224 |
+
|
225 |
+
$mColorPickerBg.attr({
|
226 |
+
'id': 'mColorPickerBg'
|
227 |
+
}).
|
228 |
+
css({
|
229 |
+
'display': 'none',
|
230 |
+
'background':'black',
|
231 |
+
'opacity': .01,
|
232 |
+
'position':'absolute',
|
233 |
+
'top':0,
|
234 |
+
'right':0,
|
235 |
+
'bottom':0,
|
236 |
+
'left':0
|
237 |
+
}).appendTo($b);
|
238 |
+
|
239 |
+
$mColorPicker.attr({
|
240 |
+
'id': 'mColorPicker',
|
241 |
+
'data-mcolorpicker': true
|
242 |
+
}).css({
|
243 |
+
'position':'absolute',
|
244 |
+
'border':'1px solid #ccc',
|
245 |
+
'color':'#fff',
|
246 |
+
'width':'194px',
|
247 |
+
'height':'184px',
|
248 |
+
'font-size':'12px',
|
249 |
+
'font-family':'times',
|
250 |
+
'display': 'none'
|
251 |
+
}).appendTo($b);
|
252 |
+
|
253 |
+
$mColorPickerTest.attr({
|
254 |
+
'id': 'mColorPickerTest'
|
255 |
+
}).css({
|
256 |
+
'display': 'none'
|
257 |
+
}).appendTo($b);
|
258 |
+
|
259 |
+
$w.attr({
|
260 |
+
'id': 'mColorPickerWrapper'
|
261 |
+
}).css({
|
262 |
+
'position':'relative',
|
263 |
+
'border':'solid 1px gray',
|
264 |
+
'z-index':'9'
|
265 |
+
}).appendTo($mColorPicker);
|
266 |
+
|
267 |
+
$(div).attr({
|
268 |
+
'id': 'mColorPickerImg',
|
269 |
+
'class': 'mColor'
|
270 |
+
}).css({
|
271 |
+
'height': '136px',
|
272 |
+
'width': '192px',
|
273 |
+
'border': 0,
|
274 |
+
'cursor': 'crosshair',
|
275 |
+
'background-image': 'url(' + $o.imageFolder + 'picker.png)'
|
276 |
+
}).appendTo($w);
|
277 |
+
|
278 |
+
$s.attr({
|
279 |
+
'id': 'mColorPickerSwatches'
|
280 |
+
}).css({
|
281 |
+
'border-right':'1px solid #000',
|
282 |
+
'display':'table',
|
283 |
+
'border-collapse':'collapse'
|
284 |
+
}).appendTo($w);
|
285 |
+
|
286 |
+
$(div).addClass(
|
287 |
+
'mClear'
|
288 |
+
).css({
|
289 |
+
'clear': 'both'
|
290 |
+
}).appendTo($s);
|
291 |
+
|
292 |
+
for (i = 0; i < 10; i++) {
|
293 |
+
|
294 |
+
$(div).attr({
|
295 |
+
'id': 'cell' + i,
|
296 |
+
'class': "mPastColor" + ((i > 0)? ' mNoLeftBorder': '')
|
297 |
+
}).css({
|
298 |
+
'background-color': $o.swatches[i].toLowerCase(),
|
299 |
+
'height':'18px',
|
300 |
+
'width':'18px',
|
301 |
+
'border':'1px solid #000',
|
302 |
+
'display':'table-cell'
|
303 |
+
}).html(
|
304 |
+
' '
|
305 |
+
).prependTo($s);
|
306 |
+
}
|
307 |
+
|
308 |
+
$f.attr({
|
309 |
+
'id': 'mColorPickerFooter'
|
310 |
+
}).css({
|
311 |
+
'background-image': 'url(' + $o.imageFolder + 'grid.gif)',
|
312 |
+
'position': 'relative',
|
313 |
+
'height': '26px'
|
314 |
+
}).appendTo($w);
|
315 |
+
|
316 |
+
$mColorPickerInput.attr({
|
317 |
+
'id': 'mColorPickerInput',
|
318 |
+
'type': 'text'
|
319 |
+
}).css({
|
320 |
+
'border': 'solid 1px gray',
|
321 |
+
'font-size': '10pt',
|
322 |
+
'margin': '3px',
|
323 |
+
'width': '110px',
|
324 |
+
'padding': '1px 3px',
|
325 |
+
|
326 |
+
}).appendTo($f);
|
327 |
+
|
328 |
+
if ($i.allowTransparency) $(span).attr({
|
329 |
+
'id': 'mColorPickerTransparent',
|
330 |
+
'class': 'mColor mColorTransparent'
|
331 |
+
}).css({
|
332 |
+
'font-size': '15px',
|
333 |
+
'color': '#000',
|
334 |
+
'padding-right': '4px',
|
335 |
+
'padding-top': '4px',
|
336 |
+
'cursor': 'pointer',
|
337 |
+
'overflow': 'hidden',
|
338 |
+
'float': 'right'
|
339 |
+
}).text(
|
340 |
+
'transparent'
|
341 |
+
).appendTo($f);
|
342 |
+
|
343 |
+
if ($i.showLogo) $l.attr({
|
344 |
+
'href': 'http://meta100.com/',
|
345 |
+
'title': $i.slogan,
|
346 |
+
'alt': $i.slogan,
|
347 |
+
'target': '_blank'
|
348 |
+
}).css({
|
349 |
+
'float': 'right'
|
350 |
+
}).appendTo($f);
|
351 |
+
|
352 |
+
$(img).attr({
|
353 |
+
'src': $o.imageFolder + 'meta100.png',
|
354 |
+
'title': $i.slogan,
|
355 |
+
'alt': $i.slogan
|
356 |
+
}).css({
|
357 |
+
'border': 0,
|
358 |
+
'border-left': '1px solid #aaa',
|
359 |
+
'right': 0,
|
360 |
+
'position': 'absolute'
|
361 |
+
}).appendTo($l);
|
362 |
+
|
363 |
+
$('.mNoLeftBorder').css({
|
364 |
+
'border-left':0
|
365 |
+
});
|
366 |
+
};
|
367 |
+
|
368 |
+
$.fn.mColorPicker.closePicker = function () {
|
369 |
+
|
370 |
+
$mColorPickerBg.hide();
|
371 |
+
$mColorPicker.fadeOut()
|
372 |
+
};
|
373 |
+
|
374 |
+
$.fn.mColorPicker.colorShow = function () {
|
375 |
+
|
376 |
+
var $t = $(this),
|
377 |
+
id = $t.attr('id').replace('mcp_', ''),
|
378 |
+
pos = $t.offset(),
|
379 |
+
$i = $("#" + id),
|
380 |
+
pickerTop = pos.top + $t.outerHeight(),
|
381 |
+
pickerLeft = pos.left;
|
382 |
+
|
383 |
+
if ($i.attr('disabled')) return false;
|
384 |
+
|
385 |
+
$o.currentColor = $i.css('background-color')
|
386 |
+
$o.changeColor = true;
|
387 |
+
$o.currentInput = $i;
|
388 |
+
$o.currentId = id;
|
389 |
+
|
390 |
+
// KEEP COLOR PICKER IN VIEWPORT
|
391 |
+
if (pickerTop + $mColorPicker.height() > $document.height()) pickerTop = pos.top - $mColorPicker.height();
|
392 |
+
if (pickerLeft + $mColorPicker.width() > $document.width()) pickerLeft = pos.left - $mColorPicker.width() + $t.outerWidth();
|
393 |
+
|
394 |
+
$mColorPicker.css({
|
395 |
+
'top':(pickerTop) + "px",
|
396 |
+
'left':(pickerLeft) + "px"
|
397 |
+
}).fadeIn("fast");
|
398 |
+
|
399 |
+
// fix to avoid double picker
|
400 |
+
if( jQuery('#mColorPicker > div').size() > 1 ) {
|
401 |
+
jQuery('#mColorPicker > div').each(function(index, element) {
|
402 |
+
if(index > 0) {jQuery(this).remove();}
|
403 |
+
});
|
404 |
+
}
|
405 |
+
|
406 |
+
$mColorPickerBg.show();
|
407 |
+
|
408 |
+
|
409 |
+
if ($('#' + id).attr('data-text')) $o.color = $t.css('background-color');
|
410 |
+
else $o.color = $i.css('background-color');
|
411 |
+
|
412 |
+
$o.color = $.fn.mColorPicker.setColor($o.color, $i.attr('data-hex') || $i.attr('hex'));
|
413 |
+
|
414 |
+
$mColorPickerInput.val($o.color);
|
415 |
+
};
|
416 |
+
|
417 |
+
$.fn.mColorPicker.setInputColor = function (id, color) {
|
418 |
+
|
419 |
+
$('#' + id).mSetInputColor(color);
|
420 |
+
};
|
421 |
+
|
422 |
+
$.fn.mSetInputColor = function (color) {
|
423 |
+
|
424 |
+
var $t = $(this),
|
425 |
+
css = {
|
426 |
+
'background-color': color,
|
427 |
+
'background-image': (color == 'transparent')? "url('" + $o.imageFolder + "grid.gif')": '',
|
428 |
+
'color': $.fn.mColorPicker.textColor(color)
|
429 |
+
};
|
430 |
+
|
431 |
+
if ($t.attr('data-text') || $t.attr('text')) $t.next().css(css);
|
432 |
+
|
433 |
+
$t.val(color).css(css).trigger('change');
|
434 |
+
|
435 |
+
$mColorPickerInput.val(color);
|
436 |
+
};
|
437 |
+
|
438 |
+
$.fn.mColorPicker.textColor = function (val) {
|
439 |
+
|
440 |
+
val = $.fn.mColorPicker.RGBtoHex(val);
|
441 |
+
|
442 |
+
if (typeof val == 'undefined' || val == 'transparent') return "black";
|
443 |
+
|
444 |
+
return (parseInt(val.substr(1, 2), 16) + parseInt(val.substr(3, 2), 16) + parseInt(val.substr(5, 2), 16) < 400)? 'white': 'black';
|
445 |
+
};
|
446 |
+
|
447 |
+
$.fn.mColorPicker.setCookie = function (name, value, days) {
|
448 |
+
|
449 |
+
var cookie_string = name + "=" + escape(value),
|
450 |
+
expires = new Date();
|
451 |
+
expires.setDate(expires.getDate() + days);
|
452 |
+
cookie_string += "; expires=" + expires.toGMTString();
|
453 |
+
|
454 |
+
document.cookie = cookie_string;
|
455 |
+
};
|
456 |
+
|
457 |
+
$.fn.mColorPicker.getCookie = function (name) {
|
458 |
+
|
459 |
+
var results = document.cookie.match ( '(^|;) ?' + name + '=([^;]*)(;|$)' );
|
460 |
+
|
461 |
+
if (results) return (unescape(results[2]));
|
462 |
+
else return null;
|
463 |
+
};
|
464 |
+
|
465 |
+
$.fn.mColorPicker.colorPicked = function () {
|
466 |
+
|
467 |
+
$o.changeColor = false;
|
468 |
+
|
469 |
+
$.fn.mColorPicker.closePicker();
|
470 |
+
$.fn.mColorPicker.addToSwatch();
|
471 |
+
|
472 |
+
$o.currentInput.trigger('colorpicked');
|
473 |
+
};
|
474 |
+
|
475 |
+
$.fn.mColorPicker.addToSwatch = function (color) {
|
476 |
+
|
477 |
+
if (!$i.enhancedSwatches) return false;
|
478 |
+
|
479 |
+
var swatch = []
|
480 |
+
i = 0;
|
481 |
+
|
482 |
+
if (typeof color == 'string') $o.color = color.toLowerCase();
|
483 |
+
|
484 |
+
if ($o.color != 'transparent') swatch[0] = $o.color.toLowerCase();
|
485 |
+
|
486 |
+
$('.mPastColor').each(function() {
|
487 |
+
|
488 |
+
var $t = $(this);
|
489 |
+
|
490 |
+
$o.color = $t.css('background-color').toLowerCase();
|
491 |
+
|
492 |
+
if ($o.color != swatch[0] && $.fn.mColorPicker.RGBtoHex($o.color) != swatch[0] && $.fn.mColorPicker.hexToRGB($o.color) != swatch[0] && swatch.length < 10) swatch[swatch.length] = $o.color;
|
493 |
+
|
494 |
+
$(this).css('background-color', swatch[i++])
|
495 |
+
});
|
496 |
+
|
497 |
+
if ($i.enhancedSwatches) $.fn.mColorPicker.setCookie('swatches', swatch.join('||'), 365);
|
498 |
+
};
|
499 |
+
|
500 |
+
$.fn.mColorPicker.whichColor = function (x, y, hex) {
|
501 |
+
|
502 |
+
var color = [255, 255, 255];
|
503 |
+
|
504 |
+
if (x < 32) {
|
505 |
+
|
506 |
+
color[1] = x * 8;
|
507 |
+
color[2] = 0;
|
508 |
+
} else if (x < 64) {
|
509 |
+
|
510 |
+
color[0] = 256 - (x - 32 ) * 8;
|
511 |
+
color[2] = 0;
|
512 |
+
} else if (x < 96) {
|
513 |
+
|
514 |
+
color[0] = 0;
|
515 |
+
color[2] = (x - 64) * 8;
|
516 |
+
} else if (x < 128) {
|
517 |
+
|
518 |
+
color[0] = 0;
|
519 |
+
color[1] = 256 - (x - 96) * 8;
|
520 |
+
} else if (x < 160) {
|
521 |
+
|
522 |
+
color[0] = (x - 128) * 8;
|
523 |
+
color[1] = 0;
|
524 |
+
} else {
|
525 |
+
|
526 |
+
color[1] = 0;
|
527 |
+
color[2] = 256 - (x - 160) * 8;
|
528 |
+
}
|
529 |
+
|
530 |
+
for (var n = 0; n < 3; n++) {
|
531 |
+
|
532 |
+
if (y < 64) color[n] += (256 - color[n]) * (64 - y) / 64;
|
533 |
+
else if (y <= 128) color[n] -= color[n] * (y - 64) / 64;
|
534 |
+
else if (y > 128) color[n] = 256 - ( x / 192 * 256 );
|
535 |
+
|
536 |
+
color[n] = Math.round(Math.min(color[n], 255));
|
537 |
+
|
538 |
+
if (hex == 'true') color[n] = $.fn.mColorPicker.decToHex(color[n]);
|
539 |
+
}
|
540 |
+
|
541 |
+
if (hex == 'true') return "#" + color.join('');
|
542 |
+
|
543 |
+
return "rgb(" + color.join(', ') + ')';
|
544 |
+
};
|
545 |
+
|
546 |
+
$.fn.mColorPicker.setColor = function (color, hex) {
|
547 |
+
|
548 |
+
if (hex == 'true') return $.fn.mColorPicker.RGBtoHex(color);
|
549 |
+
|
550 |
+
return $.fn.mColorPicker.hexToRGB(color);
|
551 |
+
}
|
552 |
+
|
553 |
+
$.fn.mColorPicker.colorTest = function (color) {
|
554 |
+
|
555 |
+
$mColorPickerTest.css('background-color', color);
|
556 |
+
|
557 |
+
return $mColorPickerTest.css('background-color');
|
558 |
+
}
|
559 |
+
|
560 |
+
$.fn.mColorPicker.decToHex = function (color) {
|
561 |
+
|
562 |
+
var hex_char = "0123456789ABCDEF";
|
563 |
+
|
564 |
+
color = parseInt(color);
|
565 |
+
|
566 |
+
return String(hex_char.charAt(Math.floor(color / 16))) + String(hex_char.charAt(color - (Math.floor(color / 16) * 16)));
|
567 |
+
}
|
568 |
+
|
569 |
+
$.fn.mColorPicker.RGBtoHex = function (color) {
|
570 |
+
|
571 |
+
var decToHex = "#",
|
572 |
+
rgb;
|
573 |
+
|
574 |
+
color = color? color.toLowerCase(): false;
|
575 |
+
|
576 |
+
if (!color) return '';
|
577 |
+
if (rHEX6.test(color)) return color.substr(0, 7);
|
578 |
+
if (rHEX3.test(color)) return color.replace(rHEX, "$1$1$2$2$3$3").substr(0, 7);
|
579 |
+
|
580 |
+
if (rgb = color.match(rRGB)) {
|
581 |
+
|
582 |
+
for (var n = 1; n < 4; n++) decToHex += $.fn.mColorPicker.decToHex(rgb[n]);
|
583 |
+
|
584 |
+
return decToHex;
|
585 |
+
}
|
586 |
+
|
587 |
+
return $.fn.mColorPicker.colorTest(color);
|
588 |
+
};
|
589 |
+
|
590 |
+
$.fn.mColorPicker.hexToRGB = function (color) {
|
591 |
+
|
592 |
+
color = color? color.toLowerCase(): false;
|
593 |
+
|
594 |
+
if (!color) return '';
|
595 |
+
if (rRGB.test(color)) return color;
|
596 |
+
|
597 |
+
if (rHEX3.test(color)) {
|
598 |
+
|
599 |
+
if (!rHEX6.test(color)) color = color.replace(rHEX, "$1$1$2$2$3$3");
|
600 |
+
|
601 |
+
return 'rgb(' + parseInt(color.substr(1, 2), 16) + ', ' + parseInt(color.substr(3, 2), 16) + ', ' + parseInt(color.substr(5, 2), 16) + ')';
|
602 |
+
}
|
603 |
+
|
604 |
+
return $.fn.mColorPicker.colorTest(color);
|
605 |
+
};
|
606 |
+
|
607 |
+
$i = $.fn.mColorPicker.init;
|
608 |
+
|
609 |
+
$document.ready(function () {
|
610 |
+
if(typeof(theme_admin_assets_uri) !== 'undefined') {
|
611 |
+
$.fn.mColorPicker.defaults.imageFolder = theme_admin_assets_uri + "/images/mColorPicker/";
|
612 |
+
}
|
613 |
+
|
614 |
+
$b = $('body');
|
615 |
+
|
616 |
+
$.fn.mColorPicker.events();
|
617 |
+
|
618 |
+
if ($i.replace) {
|
619 |
+
|
620 |
+
$.fn.mColorPicker.start();
|
621 |
+
|
622 |
+
if (typeof $.fn.livequery == "function") $($i.replace).livequery($.fn.mColorPicker.start);
|
623 |
+
else $(document).delegate(document, 'ajaxSuccess.mColorPicker', $.fn.mColorPicker.start);
|
624 |
+
}
|
625 |
+
});
|
626 |
+
}) (jQuery);
|
627 |
+
|
628 |
+
});
|
assets/js/customcodes.js
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function()
|
2 |
+
{
|
3 |
+
tinymce.create('tinymce.plugins.quote',
|
4 |
+
{
|
5 |
+
init : function(ed, url)
|
6 |
+
{
|
7 |
+
ed.addButton('quote',
|
8 |
+
{
|
9 |
+
title : 'Booking+ ShortCode',
|
10 |
+
image : url+'/icon.png',
|
11 |
+
onclick : function()
|
12 |
+
{
|
13 |
+
ed.selection.setContent('[booking color=#aec71e size=30px padding=5px]BOOK NOW[/booking]');
|
14 |
+
|
15 |
+
}
|
16 |
+
});
|
17 |
+
},
|
18 |
+
createControl : function(n, cm)
|
19 |
+
{
|
20 |
+
return null;
|
21 |
+
},
|
22 |
+
});
|
23 |
+
tinymce.PluginManager.add('quote', tinymce.plugins.quote);
|
24 |
+
})();
|
assets/js/globalize/globalize.culture.de-DE.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Globalize Culture de-DE
|
3 |
+
*
|
4 |
+
* http://github.com/jquery/globalize
|
5 |
+
*
|
6 |
+
* Copyright Software Freedom Conservancy, Inc.
|
7 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8 |
+
* http://jquery.org/license
|
9 |
+
*
|
10 |
+
* This file was generated by the Globalize Culture Generator
|
11 |
+
* Translation: bugs found in this file need to be fixed in the generator
|
12 |
+
*/
|
13 |
+
|
14 |
+
(function( window, undefined ) {
|
15 |
+
|
16 |
+
var Globalize;
|
17 |
+
|
18 |
+
if ( typeof require !== "undefined"
|
19 |
+
&& typeof exports !== "undefined"
|
20 |
+
&& typeof module !== "undefined" ) {
|
21 |
+
// Assume CommonJS
|
22 |
+
Globalize = require( "globalize" );
|
23 |
+
} else {
|
24 |
+
// Global variable
|
25 |
+
Globalize = window.Globalize;
|
26 |
+
}
|
27 |
+
|
28 |
+
Globalize.addCultureInfo( "de-DE", "default", {
|
29 |
+
name: "de-DE",
|
30 |
+
englishName: "German (Germany)",
|
31 |
+
nativeName: "Deutsch (Deutschland)",
|
32 |
+
language: "de",
|
33 |
+
numberFormat: {
|
34 |
+
",": ".",
|
35 |
+
".": ",",
|
36 |
+
NaN: "n. def.",
|
37 |
+
negativeInfinity: "-unendlich",
|
38 |
+
positiveInfinity: "+unendlich",
|
39 |
+
percent: {
|
40 |
+
pattern: ["-n%","n%"],
|
41 |
+
",": ".",
|
42 |
+
".": ","
|
43 |
+
},
|
44 |
+
currency: {
|
45 |
+
pattern: ["-n $","n $"],
|
46 |
+
",": ".",
|
47 |
+
".": ",",
|
48 |
+
symbol: "€"
|
49 |
+
}
|
50 |
+
},
|
51 |
+
calendars: {
|
52 |
+
standard: {
|
53 |
+
"/": ".",
|
54 |
+
firstDay: 1,
|
55 |
+
days: {
|
56 |
+
names: ["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],
|
57 |
+
namesAbbr: ["So","Mo","Di","Mi","Do","Fr","Sa"],
|
58 |
+
namesShort: ["So","Mo","Di","Mi","Do","Fr","Sa"]
|
59 |
+
},
|
60 |
+
months: {
|
61 |
+
names: ["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember",""],
|
62 |
+
namesAbbr: ["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez",""]
|
63 |
+
},
|
64 |
+
AM: null,
|
65 |
+
PM: null,
|
66 |
+
eras: [{"name":"n. Chr.","start":null,"offset":0}],
|
67 |
+
patterns: {
|
68 |
+
d: "dd.MM.yyyy",
|
69 |
+
D: "dddd, d. MMMM yyyy",
|
70 |
+
t: "HH:mm",
|
71 |
+
T: "HH:mm:ss",
|
72 |
+
f: "dddd, d. MMMM yyyy HH:mm",
|
73 |
+
F: "dddd, d. MMMM yyyy HH:mm:ss",
|
74 |
+
M: "dd MMMM",
|
75 |
+
Y: "MMMM yyyy"
|
76 |
+
}
|
77 |
+
}
|
78 |
+
}
|
79 |
+
});
|
80 |
+
|
81 |
+
}( this ));
|
assets/js/globalize/globalize.culture.ja-JP.js
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Globalize Culture ja-JP
|
3 |
+
*
|
4 |
+
* http://github.com/jquery/globalize
|
5 |
+
*
|
6 |
+
* Copyright Software Freedom Conservancy, Inc.
|
7 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8 |
+
* http://jquery.org/license
|
9 |
+
*
|
10 |
+
* This file was generated by the Globalize Culture Generator
|
11 |
+
* Translation: bugs found in this file need to be fixed in the generator
|
12 |
+
*/
|
13 |
+
|
14 |
+
(function( window, undefined ) {
|
15 |
+
|
16 |
+
var Globalize;
|
17 |
+
|
18 |
+
if ( typeof require !== "undefined"
|
19 |
+
&& typeof exports !== "undefined"
|
20 |
+
&& typeof module !== "undefined" ) {
|
21 |
+
// Assume CommonJS
|
22 |
+
Globalize = require( "globalize" );
|
23 |
+
} else {
|
24 |
+
// Global variable
|
25 |
+
Globalize = window.Globalize;
|
26 |
+
}
|
27 |
+
|
28 |
+
Globalize.addCultureInfo( "ja-JP", "default", {
|
29 |
+
name: "ja-JP",
|
30 |
+
englishName: "Japanese (Japan)",
|
31 |
+
nativeName: "日本語 (日本)",
|
32 |
+
language: "ja",
|
33 |
+
numberFormat: {
|
34 |
+
NaN: "NaN (非数値)",
|
35 |
+
negativeInfinity: "-∞",
|
36 |
+
positiveInfinity: "+∞",
|
37 |
+
percent: {
|
38 |
+
pattern: ["-n%","n%"]
|
39 |
+
},
|
40 |
+
currency: {
|
41 |
+
pattern: ["-$n","$n"],
|
42 |
+
decimals: 0,
|
43 |
+
symbol: "¥"
|
44 |
+
}
|
45 |
+
},
|
46 |
+
calendars: {
|
47 |
+
standard: {
|
48 |
+
days: {
|
49 |
+
names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
|
50 |
+
namesAbbr: ["日","月","火","水","木","金","土"],
|
51 |
+
namesShort: ["日","月","火","水","木","金","土"]
|
52 |
+
},
|
53 |
+
months: {
|
54 |
+
names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
|
55 |
+
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
56 |
+
},
|
57 |
+
AM: ["午前","午前","午前"],
|
58 |
+
PM: ["午後","午後","午後"],
|
59 |
+
eras: [{"name":"西暦","start":null,"offset":0}],
|
60 |
+
patterns: {
|
61 |
+
d: "yyyy/MM/dd",
|
62 |
+
D: "yyyy'年'M'月'd'日'",
|
63 |
+
t: "H:mm",
|
64 |
+
T: "H:mm:ss",
|
65 |
+
f: "yyyy'年'M'月'd'日' H:mm",
|
66 |
+
F: "yyyy'年'M'月'd'日' H:mm:ss",
|
67 |
+
M: "M'月'd'日'",
|
68 |
+
Y: "yyyy'年'M'月'"
|
69 |
+
}
|
70 |
+
},
|
71 |
+
Japanese: {
|
72 |
+
name: "Japanese",
|
73 |
+
days: {
|
74 |
+
names: ["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],
|
75 |
+
namesAbbr: ["日","月","火","水","木","金","土"],
|
76 |
+
namesShort: ["日","月","火","水","木","金","土"]
|
77 |
+
},
|
78 |
+
months: {
|
79 |
+
names: ["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月",""],
|
80 |
+
namesAbbr: ["1","2","3","4","5","6","7","8","9","10","11","12",""]
|
81 |
+
},
|
82 |
+
AM: ["午前","午前","午前"],
|
83 |
+
PM: ["午後","午後","午後"],
|
84 |
+
eras: [{"name":"平成","start":null,"offset":1867},{"name":"昭和","start":-1812153600000,"offset":1911},{"name":"大正","start":-1357603200000,"offset":1925},{"name":"明治","start":60022080000,"offset":1988}],
|
85 |
+
twoDigitYearMax: 99,
|
86 |
+
patterns: {
|
87 |
+
d: "gg y/M/d",
|
88 |
+
D: "gg y'年'M'月'd'日'",
|
89 |
+
t: "H:mm",
|
90 |
+
T: "H:mm:ss",
|
91 |
+
f: "gg y'年'M'月'd'日' H:mm",
|
92 |
+
F: "gg y'年'M'月'd'日' H:mm:ss",
|
93 |
+
M: "M'月'd'日'",
|
94 |
+
Y: "gg y'年'M'月'"
|
95 |
+
}
|
96 |
+
}
|
97 |
+
}
|
98 |
+
});
|
99 |
+
|
100 |
+
}( this ));
|
assets/js/globalize/globalize.js
ADDED
@@ -0,0 +1,1573 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Globalize
|
3 |
+
*
|
4 |
+
* http://github.com/jquery/globalize
|
5 |
+
*
|
6 |
+
* Copyright Software Freedom Conservancy, Inc.
|
7 |
+
* Dual licensed under the MIT or GPL Version 2 licenses.
|
8 |
+
* http://jquery.org/license
|
9 |
+
*/
|
10 |
+
|
11 |
+
(function( window, undefined ) {
|
12 |
+
|
13 |
+
var Globalize,
|
14 |
+
// private variables
|
15 |
+
regexHex,
|
16 |
+
regexInfinity,
|
17 |
+
regexParseFloat,
|
18 |
+
regexTrim,
|
19 |
+
// private JavaScript utility functions
|
20 |
+
arrayIndexOf,
|
21 |
+
endsWith,
|
22 |
+
extend,
|
23 |
+
isArray,
|
24 |
+
isFunction,
|
25 |
+
isObject,
|
26 |
+
startsWith,
|
27 |
+
trim,
|
28 |
+
truncate,
|
29 |
+
zeroPad,
|
30 |
+
// private Globalization utility functions
|
31 |
+
appendPreOrPostMatch,
|
32 |
+
expandFormat,
|
33 |
+
formatDate,
|
34 |
+
formatNumber,
|
35 |
+
getTokenRegExp,
|
36 |
+
getEra,
|
37 |
+
getEraYear,
|
38 |
+
parseExact,
|
39 |
+
parseNegativePattern;
|
40 |
+
|
41 |
+
// Global variable (Globalize) or CommonJS module (globalize)
|
42 |
+
Globalize = function( cultureSelector ) {
|
43 |
+
return new Globalize.prototype.init( cultureSelector );
|
44 |
+
};
|
45 |
+
|
46 |
+
if ( typeof require !== "undefined"
|
47 |
+
&& typeof exports !== "undefined"
|
48 |
+
&& typeof module !== "undefined" ) {
|
49 |
+
// Assume CommonJS
|
50 |
+
module.exports = Globalize;
|
51 |
+
} else {
|
52 |
+
// Export as global variable
|
53 |
+
window.Globalize = Globalize;
|
54 |
+
}
|
55 |
+
|
56 |
+
Globalize.cultures = {};
|
57 |
+
|
58 |
+
Globalize.prototype = {
|
59 |
+
constructor: Globalize,
|
60 |
+
init: function( cultureSelector ) {
|
61 |
+
this.cultures = Globalize.cultures;
|
62 |
+
this.cultureSelector = cultureSelector;
|
63 |
+
|
64 |
+
return this;
|
65 |
+
}
|
66 |
+
};
|
67 |
+
Globalize.prototype.init.prototype = Globalize.prototype;
|
68 |
+
|
69 |
+
// 1. When defining a culture, all fields are required except the ones stated as optional.
|
70 |
+
// 2. Each culture should have a ".calendars" object with at least one calendar named "standard"
|
71 |
+
// which serves as the default calendar in use by that culture.
|
72 |
+
// 3. Each culture should have a ".calendar" object which is the current calendar being used,
|
73 |
+
// it may be dynamically changed at any time to one of the calendars in ".calendars".
|
74 |
+
Globalize.cultures[ "default" ] = {
|
75 |
+
// A unique name for the culture in the form <language code>-<country/region code>
|
76 |
+
name: "en",
|
77 |
+
// the name of the culture in the english language
|
78 |
+
englishName: "English",
|
79 |
+
// the name of the culture in its own language
|
80 |
+
nativeName: "English",
|
81 |
+
// whether the culture uses right-to-left text
|
82 |
+
isRTL: false,
|
83 |
+
// "language" is used for so-called "specific" cultures.
|
84 |
+
// For example, the culture "es-CL" means "Spanish, in Chili".
|
85 |
+
// It represents the Spanish-speaking culture as it is in Chili,
|
86 |
+
// which might have different formatting rules or even translations
|
87 |
+
// than Spanish in Spain. A "neutral" culture is one that is not
|
88 |
+
// specific to a region. For example, the culture "es" is the generic
|
89 |
+
// Spanish culture, which may be a more generalized version of the language
|
90 |
+
// that may or may not be what a specific culture expects.
|
91 |
+
// For a specific culture like "es-CL", the "language" field refers to the
|
92 |
+
// neutral, generic culture information for the language it is using.
|
93 |
+
// This is not always a simple matter of the string before the dash.
|
94 |
+
// For example, the "zh-Hans" culture is netural (Simplified Chinese).
|
95 |
+
// And the "zh-SG" culture is Simplified Chinese in Singapore, whose lanugage
|
96 |
+
// field is "zh-CHS", not "zh".
|
97 |
+
// This field should be used to navigate from a specific culture to it's
|
98 |
+
// more general, neutral culture. If a culture is already as general as it
|
99 |
+
// can get, the language may refer to itself.
|
100 |
+
language: "en",
|
101 |
+
// numberFormat defines general number formatting rules, like the digits in
|
102 |
+
// each grouping, the group separator, and how negative numbers are displayed.
|
103 |
+
numberFormat: {
|
104 |
+
// [negativePattern]
|
105 |
+
// Note, numberFormat.pattern has no "positivePattern" unlike percent and currency,
|
106 |
+
// but is still defined as an array for consistency with them.
|
107 |
+
// negativePattern: one of "(n)|-n|- n|n-|n -"
|
108 |
+
pattern: [ "-n" ],
|
109 |
+
// number of decimal places normally shown
|
110 |
+
decimals: 2,
|
111 |
+
// string that separates number groups, as in 1,000,000
|
112 |
+
",": ",",
|
113 |
+
// string that separates a number from the fractional portion, as in 1.99
|
114 |
+
".": ".",
|
115 |
+
// array of numbers indicating the size of each number group.
|
116 |
+
// TODO: more detailed description and example
|
117 |
+
groupSizes: [ 3 ],
|
118 |
+
// symbol used for positive numbers
|
119 |
+
"+": "+",
|
120 |
+
// symbol used for negative numbers
|
121 |
+
"-": "-",
|
122 |
+
// symbol used for NaN (Not-A-Number)
|
123 |
+
NaN: "NaN",
|
124 |
+
// symbol used for Negative Infinity
|
125 |
+
negativeInfinity: "-Infinity",
|
126 |
+
// symbol used for Positive Infinity
|
127 |
+
positiveInfinity: "Infinity",
|
128 |
+
percent: {
|
129 |
+
// [negativePattern, positivePattern]
|
130 |
+
// negativePattern: one of "-n %|-n%|-%n|%-n|%n-|n-%|n%-|-% n|n %-|% n-|% -n|n- %"
|
131 |
+
// positivePattern: one of "n %|n%|%n|% n"
|
132 |
+
pattern: [ "-n %", "n %" ],
|
133 |
+
// number of decimal places normally shown
|
134 |
+
decimals: 2,
|
135 |
+
// array of numbers indicating the size of each number group.
|
136 |
+
// TODO: more detailed description and example
|
137 |
+
groupSizes: [ 3 ],
|
138 |
+
// string that separates number groups, as in 1,000,000
|
139 |
+
",": ",",
|
140 |
+
// string that separates a number from the fractional portion, as in 1.99
|
141 |
+
".": ".",
|
142 |
+
// symbol used to represent a percentage
|
143 |
+
symbol: "%"
|
144 |
+
},
|
145 |
+
currency: {
|
146 |
+
// [negativePattern, positivePattern]
|
147 |
+
// negativePattern: one of "($n)|-$n|$-n|$n-|(n$)|-n$|n-$|n$-|-n $|-$ n|n $-|$ n-|$ -n|n- $|($ n)|(n $)"
|
148 |
+
// positivePattern: one of "$n|n$|$ n|n $"
|
149 |
+
pattern: [ "($n)", "$n" ],
|
150 |
+
// number of decimal places normally shown
|
151 |
+
decimals: 2,
|
152 |
+
// array of numbers indicating the size of each number group.
|
153 |
+
// TODO: more detailed description and example
|
154 |
+
groupSizes: [ 3 ],
|
155 |
+
// string that separates number groups, as in 1,000,000
|
156 |
+
",": ",",
|
157 |
+
// string that separates a number from the fractional portion, as in 1.99
|
158 |
+
".": ".",
|
159 |
+
// symbol used to represent currency
|
160 |
+
symbol: "$"
|
161 |
+
}
|
162 |
+
},
|
163 |
+
// calendars defines all the possible calendars used by this culture.
|
164 |
+
// There should be at least one defined with name "standard", and is the default
|
165 |
+
// calendar used by the culture.
|
166 |
+
// A calendar contains information about how dates are formatted, information about
|
167 |
+
// the calendar's eras, a standard set of the date formats,
|
168 |
+
// translations for day and month names, and if the calendar is not based on the Gregorian
|
169 |
+
// calendar, conversion functions to and from the Gregorian calendar.
|
170 |
+
calendars: {
|
171 |
+
standard: {
|
172 |
+
// name that identifies the type of calendar this is
|
173 |
+
name: "Gregorian_USEnglish",
|
174 |
+
// separator of parts of a date (e.g. "/" in 11/05/1955)
|
175 |
+
"/": "/",
|
176 |
+
// separator of parts of a time (e.g. ":" in 05:44 PM)
|
177 |
+
":": ":",
|
178 |
+
// the first day of the week (0 = Sunday, 1 = Monday, etc)
|
179 |
+
firstDay: 0,
|
180 |
+
days: {
|
181 |
+
// full day names
|
182 |
+
names: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ],
|
183 |
+
// abbreviated day names
|
184 |
+
namesAbbr: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ],
|
185 |
+
// shortest day names
|
186 |
+
namesShort: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ]
|
187 |
+
},
|
188 |
+
months: {
|
189 |
+
// full month names (13 months for lunar calendards -- 13th month should be "" if not lunar)
|
190 |
+
names: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "" ],
|
191 |
+
// abbreviated month names
|
192 |
+
namesAbbr: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", "" ]
|
193 |
+
},
|
194 |
+
// AM and PM designators in one of these forms:
|
195 |
+
// The usual view, and the upper and lower case versions
|
196 |
+
// [ standard, lowercase, uppercase ]
|
197 |
+
// The culture does not use AM or PM (likely all standard date formats use 24 hour time)
|
198 |
+
// null
|
199 |
+
AM: [ "AM", "am", "AM" ],
|
200 |
+
PM: [ "PM", "pm", "PM" ],
|
201 |
+
eras: [
|
202 |
+
// eras in reverse chronological order.
|
203 |
+
// name: the name of the era in this culture (e.g. A.D., C.E.)
|
204 |
+
// start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
|
205 |
+
// offset: offset in years from gregorian calendar
|
206 |
+
{
|
207 |
+
"name": "A.D.",
|
208 |
+
"start": null,
|
209 |
+
"offset": 0
|
210 |
+
}
|
211 |
+
],
|
212 |
+
// when a two digit year is given, it will never be parsed as a four digit
|
213 |
+
// year greater than this year (in the appropriate era for the culture)
|
214 |
+
// Set it as a full year (e.g. 2029) or use an offset format starting from
|
215 |
+
// the current year: "+19" would correspond to 2029 if the current year 2010.
|
216 |
+
twoDigitYearMax: 2029,
|
217 |
+
// set of predefined date and time patterns used by the culture
|
218 |
+
// these represent the format someone in this culture would expect
|
219 |
+
// to see given the portions of the date that are shown.
|
220 |
+
patterns: {
|
221 |
+
// short date pattern
|
222 |
+
d: "M/d/yyyy",
|
223 |
+
// long date pattern
|
224 |
+
D: "dddd, MMMM dd, yyyy",
|
225 |
+
// short time pattern
|
226 |
+
t: "h:mm tt",
|
227 |
+
// long time pattern
|
228 |
+
T: "h:mm:ss tt",
|
229 |
+
// long date, short time pattern
|
230 |
+
f: "dddd, MMMM dd, yyyy h:mm tt",
|
231 |
+
// long date, long time pattern
|
232 |
+
F: "dddd, MMMM dd, yyyy h:mm:ss tt",
|
233 |
+
// month/day pattern
|
234 |
+
M: "MMMM dd",
|
235 |
+
// month/year pattern
|
236 |
+
Y: "yyyy MMMM",
|
237 |
+
// S is a sortable format that does not vary by culture
|
238 |
+
S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss"
|
239 |
+
}
|
240 |
+
// optional fields for each calendar:
|
241 |
+
/*
|
242 |
+
monthsGenitive:
|
243 |
+
Same as months but used when the day preceeds the month.
|
244 |
+
Omit if the culture has no genitive distinction in month names.
|
245 |
+
For an explaination of genitive months, see http://blogs.msdn.com/michkap/archive/2004/12/25/332259.aspx
|
246 |
+
convert:
|
247 |
+
Allows for the support of non-gregorian based calendars. This convert object is used to
|
248 |
+
to convert a date to and from a gregorian calendar date to handle parsing and formatting.
|
249 |
+
The two functions:
|
250 |
+
fromGregorian( date )
|
251 |
+
Given the date as a parameter, return an array with parts [ year, month, day ]
|
252 |
+
corresponding to the non-gregorian based year, month, and day for the calendar.
|
253 |
+
toGregorian( year, month, day )
|
254 |
+
Given the non-gregorian year, month, and day, return a new Date() object
|
255 |
+
set to the corresponding date in the gregorian calendar.
|
256 |
+
*/
|
257 |
+
}
|
258 |
+
},
|
259 |
+
// For localized strings
|
260 |
+
messages: {}
|
261 |
+
};
|
262 |
+
|
263 |
+
Globalize.cultures[ "default" ].calendar = Globalize.cultures[ "default" ].calendars.standard;
|
264 |
+
|
265 |
+
Globalize.cultures[ "en" ] = Globalize.cultures[ "default" ];
|
266 |
+
|
267 |
+
Globalize.cultureSelector = "en";
|
268 |
+
|
269 |
+
//
|
270 |
+
// private variables
|
271 |
+
//
|
272 |
+
|
273 |
+
regexHex = /^0x[a-f0-9]+$/i;
|
274 |
+
regexInfinity = /^[+-]?infinity$/i;
|
275 |
+
regexParseFloat = /^[+-]?\d*\.?\d*(e[+-]?\d+)?$/;
|
276 |
+
regexTrim = /^\s+|\s+$/g;
|
277 |
+
|
278 |
+
//
|
279 |
+
// private JavaScript utility functions
|
280 |
+
//
|
281 |
+
|
282 |
+
arrayIndexOf = function( array, item ) {
|
283 |
+
if ( array.indexOf ) {
|
284 |
+
return array.indexOf( item );
|
285 |
+
}
|
286 |
+
for ( var i = 0, length = array.length; i < length; i++ ) {
|
287 |
+
if ( array[i] === item ) {
|
288 |
+
return i;
|
289 |
+
}
|
290 |
+
}
|
291 |
+
return -1;
|
292 |
+
};
|
293 |
+
|
294 |
+
endsWith = function( value, pattern ) {
|
295 |
+
return value.substr( value.length - pattern.length ) === pattern;
|
296 |
+
};
|
297 |
+
|
298 |
+
extend = function( deep ) {
|
299 |
+
var options, name, src, copy, copyIsArray, clone,
|
300 |
+
target = arguments[0] || {},
|
301 |
+
i = 1,
|
302 |
+
length = arguments.length,
|
303 |
+
deep = false;
|
304 |
+
|
305 |
+
// Handle a deep copy situation
|
306 |
+
if ( typeof target === "boolean" ) {
|
307 |
+
deep = target;
|
308 |
+
target = arguments[1] || {};
|
309 |
+
// skip the boolean and the target
|
310 |
+
i = 2;
|
311 |
+
}
|
312 |
+
|
313 |
+
// Handle case when target is a string or something (possible in deep copy)
|
314 |
+
if ( typeof target !== "object" && !isFunction(target) ) {
|
315 |
+
target = {};
|
316 |
+
}
|
317 |
+
|
318 |
+
for ( ; i < length; i++ ) {
|
319 |
+
// Only deal with non-null/undefined values
|
320 |
+
if ( (options = arguments[ i ]) != null ) {
|
321 |
+
// Extend the base object
|
322 |
+
for ( name in options ) {
|
323 |
+
src = target[ name ];
|
324 |
+
copy = options[ name ];
|
325 |
+
|
326 |
+
// Prevent never-ending loop
|
327 |
+
if ( target === copy ) {
|
328 |
+
continue;
|
329 |
+
}
|
330 |
+
|
331 |
+
// Recurse if we're merging plain objects or arrays
|
332 |
+
if ( deep && copy && ( isObject(copy) || (copyIsArray = isArray(copy)) ) ) {
|
333 |
+
if ( copyIsArray ) {
|
334 |
+
copyIsArray = false;
|
335 |
+
clone = src && isArray(src) ? src : [];
|
336 |
+
|
337 |
+
} else {
|
338 |
+
clone = src && isObject(src) ? src : {};
|
339 |
+
}
|
340 |
+
|
341 |
+
// Never move original objects, clone them
|
342 |
+
target[ name ] = extend( deep, clone, copy );
|
343 |
+
|
344 |
+
// Don't bring in undefined values
|
345 |
+
} else if ( copy !== undefined ) {
|
346 |
+
target[ name ] = copy;
|
347 |
+
}
|
348 |
+
}
|
349 |
+
}
|
350 |
+
}
|
351 |
+
|
352 |
+
// Return the modified object
|
353 |
+
return target;
|
354 |
+
};
|
355 |
+
|
356 |
+
isArray = Array.isArray || function( obj ) {
|
357 |
+
return Object.prototype.toString.call( obj ) === "[object Array]";
|
358 |
+
};
|
359 |
+
|
360 |
+
isFunction = function( obj ) {
|
361 |
+
return Object.prototype.toString.call( obj ) === "[object Function]"
|
362 |
+
}
|
363 |
+
|
364 |
+
isObject = function( obj ) {
|
365 |
+
return Object.prototype.toString.call( obj ) === "[object Object]";
|
366 |
+
};
|
367 |
+
|
368 |
+
startsWith = function( value, pattern ) {
|
369 |
+
return value.indexOf( pattern ) === 0;
|
370 |
+
};
|
371 |
+
|
372 |
+
trim = function( value ) {
|
373 |
+
return ( value + "" ).replace( regexTrim, "" );
|
374 |
+
};
|
375 |
+
|
376 |
+
truncate = function( value ) {
|
377 |
+
return value | 0;
|
378 |
+
};
|
379 |
+
|
380 |
+
zeroPad = function( str, count, left ) {
|
381 |
+
var l;
|
382 |
+
for ( l = str.length; l < count; l += 1 ) {
|
383 |
+
str = ( left ? ("0" + str) : (str + "0") );
|
384 |
+
}
|
385 |
+
return str;
|
386 |
+
};
|
387 |
+
|
388 |
+
//
|
389 |
+
// private Globalization utility functions
|
390 |
+
//
|
391 |
+
|
392 |
+
appendPreOrPostMatch = function( preMatch, strings ) {
|
393 |
+
// appends pre- and post- token match strings while removing escaped characters.
|
394 |
+
// Returns a single quote count which is used to determine if the token occurs
|
395 |
+
// in a string literal.
|
396 |
+
var quoteCount = 0,
|
397 |
+
escaped = false;
|
398 |
+
for ( var i = 0, il = preMatch.length; i < il; i++ ) {
|
399 |
+
var c = preMatch.charAt( i );
|
400 |
+
switch ( c ) {
|
401 |
+
case "\'":
|
402 |
+
if ( escaped ) {
|
403 |
+
strings.push( "\'" );
|
404 |
+
}
|
405 |
+
else {
|
406 |
+
quoteCount++;
|
407 |
+
}
|
408 |
+
escaped = false;
|
409 |
+
break;
|
410 |
+
case "\\":
|
411 |
+
if ( escaped ) {
|
412 |
+
strings.push( "\\" );
|
413 |
+
}
|
414 |
+
escaped = !escaped;
|
415 |
+
break;
|
416 |
+
default:
|
417 |
+
strings.push( c );
|
418 |
+
escaped = false;
|
419 |
+
break;
|
420 |
+
}
|
421 |
+
}
|
422 |
+
return quoteCount;
|
423 |
+
};
|
424 |
+
|
425 |
+
expandFormat = function( cal, format ) {
|
426 |
+
// expands unspecified or single character date formats into the full pattern.
|
427 |
+
format = format || "F";
|
428 |
+
var pattern,
|
429 |
+
patterns = cal.patterns,
|
430 |
+
len = format.length;
|
431 |
+
if ( len === 1 ) {
|
432 |
+
pattern = patterns[ format ];
|
433 |
+
if ( !pattern ) {
|
434 |
+
throw "Invalid date format string \'" + format + "\'.";
|
435 |
+
}
|
436 |
+
format = pattern;
|
437 |
+
}
|
438 |
+
else if ( len === 2 && format.charAt(0) === "%" ) {
|
439 |
+
// %X escape format -- intended as a custom format string that is only one character, not a built-in format.
|
440 |
+
format = format.charAt( 1 );
|
441 |
+
}
|
442 |
+
return format;
|
443 |
+
};
|
444 |
+
|
445 |
+
formatDate = function( value, format, culture ) {
|
446 |
+
var cal = culture.calendar,
|
447 |
+
convert = cal.convert;
|
448 |
+
|
449 |
+
if ( !format || !format.length || format === "i" ) {
|
450 |
+
var ret;
|
451 |
+
if ( culture && culture.name.length ) {
|
452 |
+
if ( convert ) {
|
453 |
+
// non-gregorian calendar, so we cannot use built-in toLocaleString()
|
454 |
+
ret = formatDate( value, cal.patterns.F, culture );
|
455 |
+
}
|
456 |
+
else {
|
457 |
+
var eraDate = new Date( value.getTime() ),
|
458 |
+
era = getEra( value, cal.eras );
|
459 |
+
eraDate.setFullYear( getEraYear(value, cal, era) );
|
460 |
+
ret = eraDate.toLocaleString();
|
461 |
+
}
|
462 |
+
}
|
463 |
+
else {
|
464 |
+
ret = value.toString();
|
465 |
+
}
|
466 |
+
return ret;
|
467 |
+
}
|
468 |
+
|
469 |
+
var eras = cal.eras,
|
470 |
+
sortable = format === "s";
|
471 |
+
format = expandFormat( cal, format );
|
472 |
+
|
473 |
+
// Start with an empty string
|
474 |
+
ret = [];
|
475 |
+
var hour,
|
476 |
+
zeros = [ "0", "00", "000" ],
|
477 |
+
foundDay,
|
478 |
+
checkedDay,
|
479 |
+
dayPartRegExp = /([^d]|^)(d|dd)([^d]|$)/g,
|
480 |
+
quoteCount = 0,
|
481 |
+
tokenRegExp = getTokenRegExp(),
|
482 |
+
converted;
|
483 |
+
|
484 |
+
function padZeros( num, c ) {
|
485 |
+
var r, s = num + "";
|
486 |
+
if ( c > 1 && s.length < c ) {
|
487 |
+
r = ( zeros[c - 2] + s);
|
488 |
+
return r.substr( r.length - c, c );
|
489 |
+
}
|
490 |
+
else {
|
491 |
+
r = s;
|
492 |
+
}
|
493 |
+
return r;
|
494 |
+
}
|
495 |
+
|
496 |
+
function hasDay() {
|
497 |
+
if ( foundDay || checkedDay ) {
|
498 |
+
return foundDay;
|
499 |
+
}
|
500 |
+
foundDay = dayPartRegExp.test( format );
|
501 |
+
checkedDay = true;
|
502 |
+
return foundDay;
|
503 |
+
}
|
504 |
+
|
505 |
+
function getPart( date, part ) {
|
506 |
+
if ( converted ) {
|
507 |
+
return converted[ part ];
|
508 |
+
}
|
509 |
+
switch ( part ) {
|
510 |
+
case 0: return date.getFullYear();
|
511 |
+
case 1: return date.getMonth();
|
512 |
+
case 2: return date.getDate();
|
513 |
+
}
|
514 |
+
}
|
515 |
+
|
516 |
+
if ( !sortable && convert ) {
|
517 |
+
converted = convert.fromGregorian( value );
|
518 |
+
}
|
519 |
+
|
520 |
+
for ( ; ; ) {
|
521 |
+
// Save the current index
|
522 |
+
var index = tokenRegExp.lastIndex,
|
523 |
+
// Look for the next pattern
|
524 |
+
ar = tokenRegExp.exec( format );
|
525 |
+
|
526 |
+
// Append the text before the pattern (or the end of the string if not found)
|
527 |
+
var preMatch = format.slice( index, ar ? ar.index : format.length );
|
528 |
+
quoteCount += appendPreOrPostMatch( preMatch, ret );
|
529 |
+
|
530 |
+
if ( !ar ) {
|
531 |
+
break;
|
532 |
+
}
|
533 |
+
|
534 |
+
// do not replace any matches that occur inside a string literal.
|
535 |
+
if ( quoteCount % 2 ) {
|
536 |
+
ret.push( ar[0] );
|
537 |
+
continue;
|
538 |
+
}
|
539 |
+
|
540 |
+
var current = ar[ 0 ],
|
541 |
+
clength = current.length;
|
542 |
+
|
543 |
+
switch ( current ) {
|
544 |
+
case "ddd":
|
545 |
+
//Day of the week, as a three-letter abbreviation
|
546 |
+
case "dddd":
|
547 |
+
// Day of the week, using the full name
|
548 |
+
var names = ( clength === 3 ) ? cal.days.namesAbbr : cal.days.names;
|
549 |
+
ret.push( names[value.getDay()] );
|
550 |
+
break;
|
551 |
+
case "d":
|
552 |
+
// Day of month, without leading zero for single-digit days
|
553 |
+
case "dd":
|
554 |
+
// Day of month, with leading zero for single-digit days
|
555 |
+
foundDay = true;
|
556 |
+
ret.push(
|
557 |
+
padZeros( getPart(value, 2), clength )
|
558 |
+
);
|
559 |
+
break;
|
560 |
+
case "MMM":
|
561 |
+
// Month, as a three-letter abbreviation
|
562 |
+
case "MMMM":
|
563 |
+
// Month, using the full name
|
564 |
+
var part = getPart( value, 1 );
|
565 |
+
ret.push(
|
566 |
+
( cal.monthsGenitive && hasDay() )
|
567 |
+
?
|
568 |
+
cal.monthsGenitive[ clength === 3 ? "namesAbbr" : "names" ][ part ]
|
569 |
+
:
|
570 |
+
cal.months[ clength === 3 ? "namesAbbr" : "names" ][ part ]
|
571 |
+
);
|
572 |
+
break;
|
573 |
+
case "M":
|
574 |
+
// Month, as digits, with no leading zero for single-digit months
|
575 |
+
case "MM":
|
576 |
+
// Month, as digits, with leading zero for single-digit months
|
577 |
+
ret.push(
|
578 |
+
padZeros( getPart(value, 1) + 1, clength )
|
579 |
+
);
|
580 |
+
break;
|
581 |
+
case "y":
|
582 |
+
// Year, as two digits, but with no leading zero for years less than 10
|
583 |
+
case "yy":
|
584 |
+
// Year, as two digits, with leading zero for years less than 10
|
585 |
+
case "yyyy":
|
586 |
+
// Year represented by four full digits
|
587 |
+
part = converted ? converted[ 0 ] : getEraYear( value, cal, getEra(value, eras), sortable );
|
588 |
+
if ( clength < 4 ) {
|
589 |
+
part = part % 100;
|
590 |
+
}
|
591 |
+
ret.push(
|
592 |
+
padZeros( part, clength )
|
593 |
+
);
|
594 |
+
break;
|
595 |
+
case "h":
|
596 |
+
// Hours with no leading zero for single-digit hours, using 12-hour clock
|
597 |
+
case "hh":
|
598 |
+
// Hours with leading zero for single-digit hours, using 12-hour clock
|
599 |
+
hour = value.getHours() % 12;
|
600 |
+
if ( hour === 0 ) hour = 12;
|
601 |
+
ret.push(
|
602 |
+
padZeros( hour, clength )
|
603 |
+
);
|
604 |
+
break;
|
605 |
+
case "H":
|
606 |
+
// Hours with no leading zero for single-digit hours, using 24-hour clock
|
607 |
+
case "HH":
|
608 |
+
// Hours with leading zero for single-digit hours, using 24-hour clock
|
609 |
+
ret.push(
|
610 |
+
padZeros( value.getHours(), clength )
|
611 |
+
);
|
612 |
+
break;
|
613 |
+
case "m":
|
614 |
+
// Minutes with no leading zero for single-digit minutes
|
615 |
+
case "mm":
|
616 |
+
// Minutes with leading zero for single-digit minutes
|
617 |
+
ret.push(
|
618 |
+
padZeros( value.getMinutes(), clength )
|
619 |
+
);
|
620 |
+
break;
|
621 |
+
case "s":
|
622 |
+
// Seconds with no leading zero for single-digit seconds
|
623 |
+
case "ss":
|
624 |
+
// Seconds with leading zero for single-digit seconds
|
625 |
+
ret.push(
|
626 |
+
padZeros( value.getSeconds(), clength )
|
627 |
+
);
|
628 |
+
break;
|
629 |
+
case "t":
|
630 |
+
// One character am/pm indicator ("a" or "p")
|
631 |
+
case "tt":
|
632 |
+
// Multicharacter am/pm indicator
|
633 |
+
part = value.getHours() < 12 ? ( cal.AM ? cal.AM[0] : " " ) : ( cal.PM ? cal.PM[0] : " " );
|
634 |
+
ret.push( clength === 1 ? part.charAt(0) : part );
|
635 |
+
break;
|
636 |
+
case "f":
|
637 |
+
// Deciseconds
|
638 |
+
case "ff":
|
639 |
+
// Centiseconds
|
640 |
+
case "fff":
|
641 |
+
// Milliseconds
|
642 |
+
ret.push(
|
643 |
+
padZeros( value.getMilliseconds(), 3 ).substr( 0, clength )
|
644 |
+
);
|
645 |
+
break;
|
646 |
+
case "z":
|
647 |
+
// Time zone offset, no leading zero
|
648 |
+
case "zz":
|
649 |
+
// Time zone offset with leading zero
|
650 |
+
hour = value.getTimezoneOffset() / 60;
|
651 |
+
ret.push(
|
652 |
+
( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), clength )
|
653 |
+
);
|
654 |
+
break;
|
655 |
+
case "zzz":
|
656 |
+
// Time zone offset with leading zero
|
657 |
+
hour = value.getTimezoneOffset() / 60;
|
658 |
+
ret.push(
|
659 |
+
( hour <= 0 ? "+" : "-" ) + padZeros( Math.floor(Math.abs(hour)), 2 )
|
660 |
+
// Hard coded ":" separator, rather than using cal.TimeSeparator
|
661 |
+
// Repeated here for consistency, plus ":" was already assumed in date parsing.
|
662 |
+
+ ":" + padZeros( Math.abs(value.getTimezoneOffset() % 60), 2 )
|
663 |
+
);
|
664 |
+
break;
|
665 |
+
case "g":
|
666 |
+
case "gg":
|
667 |
+
if ( cal.eras ) {
|
668 |
+
ret.push(
|
669 |
+
cal.eras[ getEra(value, eras) ].name
|
670 |
+
);
|
671 |
+
}
|
672 |
+
break;
|
673 |
+
case "/":
|
674 |
+
ret.push( cal["/"] );
|
675 |
+
break;
|
676 |
+
default:
|
677 |
+
throw "Invalid date format pattern \'" + current + "\'.";
|
678 |
+
break;
|
679 |
+
}
|
680 |
+
}
|
681 |
+
return ret.join( "" );
|
682 |
+
};
|
683 |
+
|
684 |
+
// formatNumber
|
685 |
+
(function() {
|
686 |
+
var expandNumber;
|
687 |
+
|
688 |
+
expandNumber = function( number, precision, formatInfo ) {
|
689 |
+
var groupSizes = formatInfo.groupSizes,
|
690 |
+
curSize = groupSizes[ 0 ],
|
691 |
+
curGroupIndex = 1,
|
692 |
+
factor = Math.pow( 10, precision ),
|
693 |
+
rounded = Math.round( number * factor ) / factor;
|
694 |
+
|
695 |
+
if ( !isFinite(rounded) ) {
|
696 |
+
rounded = number;
|
697 |
+
}
|
698 |
+
number = rounded;
|
699 |
+
|
700 |
+
var numberString = number+"",
|
701 |
+
right = "",
|
702 |
+
split = numberString.split( /e/i ),
|
703 |
+
exponent = split.length > 1 ? parseInt( split[1], 10 ) : 0;
|
704 |
+
numberString = split[ 0 ];
|
705 |
+
split = numberString.split( "." );
|
706 |
+
numberString = split[ 0 ];
|
707 |
+
right = split.length > 1 ? split[ 1 ] : "";
|
708 |
+
|
709 |
+
var l;
|
710 |
+
if ( exponent > 0 ) {
|
711 |
+
right = zeroPad( right, exponent, false );
|
712 |
+
numberString += right.slice( 0, exponent );
|
713 |
+
right = right.substr( exponent );
|
714 |
+
}
|
715 |
+
else if ( exponent < 0 ) {
|
716 |
+
exponent = -exponent;
|
717 |
+
numberString = zeroPad( numberString, exponent + 1 );
|
718 |
+
right = numberString.slice( -exponent, numberString.length ) + right;
|
719 |
+
numberString = numberString.slice( 0, -exponent );
|
720 |
+
}
|
721 |
+
|
722 |
+
if ( precision > 0 ) {
|
723 |
+
right = formatInfo[ "." ] +
|
724 |
+
( (right.length > precision) ? right.slice(0, precision) : zeroPad(right, precision) );
|
725 |
+
}
|
726 |
+
else {
|
727 |
+
right = "";
|
728 |
+
}
|
729 |
+
|
730 |
+
var stringIndex = numberString.length - 1,
|
731 |
+
sep = formatInfo[ "," ],
|
732 |
+
ret = "";
|
733 |
+
|
734 |
+
while ( stringIndex >= 0 ) {
|
735 |
+
if ( curSize === 0 || curSize > stringIndex ) {
|
736 |
+
return numberString.slice( 0, stringIndex + 1 ) + ( ret.length ? (sep + ret + right) : right );
|
737 |
+
}
|
738 |
+
ret = numberString.slice( stringIndex - curSize + 1, stringIndex + 1 ) + ( ret.length ? (sep + ret) : "" );
|
739 |
+
|
740 |
+
stringIndex -= curSize;
|
741 |
+
|
742 |
+
if ( curGroupIndex < groupSizes.length ) {
|
743 |
+
curSize = groupSizes[ curGroupIndex ];
|
744 |
+
curGroupIndex++;
|
745 |
+
}
|
746 |
+
}
|
747 |
+
|
748 |
+
return numberString.slice( 0, stringIndex + 1 ) + sep + ret + right;
|
749 |
+
};
|
750 |
+
|
751 |
+
formatNumber = function( value, format, culture ) {
|
752 |
+
if ( !isFinite(value) ) {
|
753 |
+
if ( value === Infinity ) {
|
754 |
+
return culture.numberFormat.positiveInfinity;
|
755 |
+
}
|
756 |
+
if ( value === -Infinity ) {
|
757 |
+
return culture.numberFormat.negativeInfinity;
|
758 |
+
}
|
759 |
+
return culture.numberFormat.NaN;
|
760 |
+
}
|
761 |
+
if ( !format || format === "i" ) {
|
762 |
+
return culture.name.length ? value.toLocaleString() : value.toString();
|
763 |
+
}
|
764 |
+
format = format || "D";
|
765 |
+
|
766 |
+
var nf = culture.numberFormat,
|
767 |
+
number = Math.abs( value ),
|
768 |
+
precision = -1,
|
769 |
+
pattern;
|
770 |
+
if ( format.length > 1 ) precision = parseInt( format.slice(1), 10 );
|
771 |
+
|
772 |
+
var current = format.charAt( 0 ).toUpperCase(),
|
773 |
+
formatInfo;
|
774 |
+
|
775 |
+
switch ( current ) {
|
776 |
+
case "D":
|
777 |
+
pattern = "n";
|
778 |
+
number = truncate( number );
|
779 |
+
if ( precision !== -1 ) {
|
780 |
+
number = zeroPad( "" + number, precision, true );
|
781 |
+
}
|
782 |
+
if ( value < 0 ) number = "-" + number;
|
783 |
+
break;
|
784 |
+
case "N":
|
785 |
+
formatInfo = nf;
|
786 |
+
// fall through
|
787 |
+
case "C":
|
788 |
+
formatInfo = formatInfo || nf.currency;
|
789 |
+
// fall through
|
790 |
+
case "P":
|
791 |
+
formatInfo = formatInfo || nf.percent;
|
792 |
+
pattern = value < 0 ? formatInfo.pattern[ 0 ] : ( formatInfo.pattern[1] || "n" );
|
793 |
+
if ( precision === -1 ) precision = formatInfo.decimals;
|
794 |
+
number = expandNumber( number * (current === "P" ? 100 : 1), precision, formatInfo );
|
795 |
+
break;
|
796 |
+
default:
|
797 |
+
throw "Bad number format specifier: " + current;
|
798 |
+
}
|
799 |
+
|
800 |
+
var patternParts = /n|\$|-|%/g,
|
801 |
+
ret = "";
|
802 |
+
for ( ; ; ) {
|
803 |
+
var index = patternParts.lastIndex,
|
804 |
+
ar = patternParts.exec( pattern );
|
805 |
+
|
806 |
+
ret += pattern.slice( index, ar ? ar.index : pattern.length );
|
807 |
+
|
808 |
+
if ( !ar ) {
|
809 |
+
break;
|
810 |
+
}
|
811 |
+
|
812 |
+
switch ( ar[0] ) {
|
813 |
+
case "n":
|
814 |
+
ret += number;
|
815 |
+
break;
|
816 |
+
case "$":
|
817 |
+
ret += nf.currency.symbol;
|
818 |
+
break;
|
819 |
+
case "-":
|
820 |
+
// don't make 0 negative
|
821 |
+
if ( /[1-9]/.test(number) ) {
|
822 |
+
ret += nf[ "-" ];
|
823 |
+
}
|
824 |
+
break;
|
825 |
+
case "%":
|
826 |
+
ret += nf.percent.symbol;
|
827 |
+
break;
|
828 |
+
}
|
829 |
+
}
|
830 |
+
|
831 |
+
return ret;
|
832 |
+
};
|
833 |
+
|
834 |
+
}());
|
835 |
+
|
836 |
+
getTokenRegExp = function() {
|
837 |
+
// regular expression for matching date and time tokens in format strings.
|
838 |
+
return /\/|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|ss|s|tt|t|fff|ff|f|zzz|zz|z|gg|g/g;
|
839 |
+
};
|
840 |
+
|
841 |
+
getEra = function( date, eras ) {
|
842 |
+
if ( !eras ) return 0;
|
843 |
+
var start, ticks = date.getTime();
|
844 |
+
for ( var i = 0, l = eras.length; i < l; i++ ) {
|
845 |
+
start = eras[ i ].start;
|
846 |
+
if ( start === null || ticks >= start ) {
|
847 |
+
return i;
|
848 |
+
}
|
849 |
+
}
|
850 |
+
return 0;
|
851 |
+
};
|
852 |
+
|
853 |
+
getEraYear = function( date, cal, era, sortable ) {
|
854 |
+
var year = date.getFullYear();
|
855 |
+
if ( !sortable && cal.eras ) {
|
856 |
+
// convert normal gregorian year to era-shifted gregorian
|
857 |
+
// year by subtracting the era offset
|
858 |
+
year -= cal.eras[ era ].offset;
|
859 |
+
}
|
860 |
+
return year;
|
861 |
+
};
|
862 |
+
|
863 |
+
// parseExact
|
864 |
+
(function() {
|
865 |
+
var expandYear,
|
866 |
+
getDayIndex,
|
867 |
+
getMonthIndex,
|
868 |
+
getParseRegExp,
|
869 |
+
outOfRange,
|
870 |
+
toUpper,
|
871 |
+
toUpperArray;
|
872 |
+
|
873 |
+
expandYear = function( cal, year ) {
|
874 |
+
// expands 2-digit year into 4 digits.
|
875 |
+
var now = new Date(),
|
876 |
+
era = getEra( now );
|
877 |
+
if ( year < 100 ) {
|
878 |
+
var twoDigitYearMax = cal.twoDigitYearMax;
|
879 |
+
twoDigitYearMax = typeof twoDigitYearMax === "string" ? new Date().getFullYear() % 100 + parseInt( twoDigitYearMax, 10 ) : twoDigitYearMax;
|
880 |
+
var curr = getEraYear( now, cal, era );
|
881 |
+
year += curr - ( curr % 100 );
|
882 |
+
if ( year > twoDigitYearMax ) {
|
883 |
+
year -= 100;
|
884 |
+
}
|
885 |
+
}
|
886 |
+
return year;
|
887 |
+
};
|
888 |
+
|
889 |
+
getDayIndex = function ( cal, value, abbr ) {
|
890 |
+
var ret,
|
891 |
+
days = cal.days,
|
892 |
+
upperDays = cal._upperDays;
|
893 |
+
if ( !upperDays ) {
|
894 |
+
cal._upperDays = upperDays = [
|
895 |
+
toUpperArray( days.names ),
|
896 |
+
toUpperArray( days.namesAbbr ),
|
897 |
+
toUpperArray( days.namesShort )
|
898 |
+
];
|
899 |
+
}
|
900 |
+
value = toUpper( value );
|
901 |
+
if ( abbr ) {
|
902 |
+
ret = arrayIndexOf( upperDays[1], value );
|
903 |
+
if ( ret === -1 ) {
|
904 |
+
ret = arrayIndexOf( upperDays[2], value );
|
905 |
+
}
|
906 |
+
}
|
907 |
+
else {
|
908 |
+
ret = arrayIndexOf( upperDays[0], value );
|
909 |
+
}
|
910 |
+
return ret;
|
911 |
+
};
|
912 |
+
|
913 |
+
getMonthIndex = function( cal, value, abbr ) {
|
914 |
+
var months = cal.months,
|
915 |
+
monthsGen = cal.monthsGenitive || cal.months,
|
916 |
+
upperMonths = cal._upperMonths,
|
917 |
+
upperMonthsGen = cal._upperMonthsGen;
|
918 |
+
if ( !upperMonths ) {
|
919 |
+
cal._upperMonths = upperMonths = [
|
920 |
+
toUpperArray( months.names ),
|
921 |
+
toUpperArray( months.namesAbbr )
|
922 |
+
];
|
923 |
+
cal._upperMonthsGen = upperMonthsGen = [
|
924 |
+
toUpperArray( monthsGen.names ),
|
925 |
+
toUpperArray( monthsGen.namesAbbr )
|
926 |
+
];
|
927 |
+
}
|
928 |
+
value = toUpper( value );
|
929 |
+
var i = arrayIndexOf( abbr ? upperMonths[1] : upperMonths[0], value );
|
930 |
+
if ( i < 0 ) {
|
931 |
+
i = arrayIndexOf( abbr ? upperMonthsGen[1] : upperMonthsGen[0], value );
|
932 |
+
}
|
933 |
+
return i;
|
934 |
+
};
|
935 |
+
|
936 |
+
getParseRegExp = function( cal, format ) {
|
937 |
+
// converts a format string into a regular expression with groups that
|
938 |
+
// can be used to extract date fields from a date string.
|
939 |
+
// check for a cached parse regex.
|
940 |
+
var re = cal._parseRegExp;
|
941 |
+
if ( !re ) {
|
942 |
+
cal._parseRegExp = re = {};
|
943 |
+
}
|
944 |
+
else {
|
945 |
+
var reFormat = re[ format ];
|
946 |
+
if ( reFormat ) {
|
947 |
+
return reFormat;
|
948 |
+
}
|
949 |
+
}
|
950 |
+
|
951 |
+
// expand single digit formats, then escape regular expression characters.
|
952 |
+
var expFormat = expandFormat( cal, format ).replace( /([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g, "\\\\$1" ),
|
953 |
+
regexp = [ "^" ],
|
954 |
+
groups = [],
|
955 |
+
index = 0,
|
956 |
+
quoteCount = 0,
|
957 |
+
tokenRegExp = getTokenRegExp(),
|
958 |
+
match;
|
959 |
+
|
960 |
+
// iterate through each date token found.
|
961 |
+
while ( (match = tokenRegExp.exec(expFormat)) !== null ) {
|
962 |
+
var preMatch = expFormat.slice( index, match.index );
|
963 |
+
index = tokenRegExp.lastIndex;
|
964 |
+
|
965 |
+
// don't replace any matches that occur inside a string literal.
|
966 |
+
quoteCount += appendPreOrPostMatch( preMatch, regexp );
|
967 |
+
if ( quoteCount % 2 ) {
|
968 |
+
regexp.push( match[0] );
|
969 |
+
continue;
|
970 |
+
}
|
971 |
+
|
972 |
+
// add a regex group for the token.
|
973 |
+
var m = match[ 0 ],
|
974 |
+
len = m.length,
|
975 |
+
add;
|
976 |
+
switch ( m ) {
|
977 |
+
case "dddd": case "ddd":
|
978 |
+
case "MMMM": case "MMM":
|
979 |
+
case "gg": case "g":
|
980 |
+
add = "(\\D+)";
|
981 |
+
break;
|
982 |
+
case "tt": case "t":
|
983 |
+
add = "(\\D*)";
|
984 |
+
break;
|
985 |
+
case "yyyy":
|
986 |
+
case "fff":
|
987 |
+
case "ff":
|
988 |
+
case "f":
|
989 |
+
add = "(\\d{" + len + "})";
|
990 |
+
break;
|
991 |
+
case "dd": case "d":
|
992 |
+
case "MM": case "M":
|
993 |
+
case "yy": case "y":
|
994 |
+
case "HH": case "H":
|
995 |
+
case "hh": case "h":
|
996 |
+
case "mm": case "m":
|
997 |
+
case "ss": case "s":
|
998 |
+
add = "(\\d\\d?)";
|
999 |
+
break;
|
1000 |
+
case "zzz":
|
1001 |
+
add = "([+-]?\\d\\d?:\\d{2})";
|
1002 |
+
break;
|
1003 |
+
case "zz": case "z":
|
1004 |
+
add = "([+-]?\\d\\d?)";
|
1005 |
+
break;
|
1006 |
+
case "/":
|
1007 |
+
add = "(\\" + cal[ "/" ] + ")";
|
1008 |
+
break;
|
1009 |
+
default:
|
1010 |
+
throw "Invalid date format pattern \'" + m + "\'.";
|
1011 |
+
break;
|
1012 |
+
}
|
1013 |
+
if ( add ) {
|
1014 |
+
regexp.push( add );
|
1015 |
+
}
|
1016 |
+
groups.push( match[0] );
|
1017 |
+
}
|
1018 |
+
appendPreOrPostMatch( expFormat.slice(index), regexp );
|
1019 |
+
regexp.push( "$" );
|
1020 |
+
|
1021 |
+
// allow whitespace to differ when matching formats.
|
1022 |
+
var regexpStr = regexp.join( "" ).replace( /\s+/g, "\\s+" ),
|
1023 |
+
parseRegExp = { "regExp": regexpStr, "groups": groups };
|
1024 |
+
|
1025 |
+
// cache the regex for this format.
|
1026 |
+
return re[ format ] = parseRegExp;
|
1027 |
+
};
|
1028 |
+
|
1029 |
+
outOfRange = function( value, low, high ) {
|
1030 |
+
return value < low || value > high;
|
1031 |
+
};
|
1032 |
+
|
1033 |
+
toUpper = function( value ) {
|
1034 |
+
// "he-IL" has non-breaking space in weekday names.
|
1035 |
+
return value.split( "\u00A0" ).join( " " ).toUpperCase();
|
1036 |
+
};
|
1037 |
+
|
1038 |
+
toUpperArray = function( arr ) {
|
1039 |
+
var results = [];
|
1040 |
+
for ( var i = 0, l = arr.length; i < l; i++ ) {
|
1041 |
+
results[ i ] = toUpper( arr[i] );
|
1042 |
+
}
|
1043 |
+
return results;
|
1044 |
+
};
|
1045 |
+
|
1046 |
+
parseExact = function( value, format, culture ) {
|
1047 |
+
// try to parse the date string by matching against the format string
|
1048 |
+
// while using the specified culture for date field names.
|
1049 |
+
value = trim( value );
|
1050 |
+
var cal = culture.calendar,
|
1051 |
+
// convert date formats into regular expressions with groupings.
|
1052 |
+
// use the regexp to determine the input format and extract the date fields.
|
1053 |
+
parseInfo = getParseRegExp( cal, format ),
|
1054 |
+
match = new RegExp( parseInfo.regExp ).exec( value );
|
1055 |
+
if ( match === null ) {
|
1056 |
+
return null;
|
1057 |
+
}
|
1058 |
+
// found a date format that matches the input.
|
1059 |
+
var groups = parseInfo.groups,
|
1060 |
+
era = null, year = null, month = null, date = null, weekDay = null,
|
1061 |
+
hour = 0, hourOffset, min = 0, sec = 0, msec = 0, tzMinOffset = null,
|
1062 |
+
pmHour = false;
|
1063 |
+
// iterate the format groups to extract and set the date fields.
|
1064 |
+
for ( var j = 0, jl = groups.length; j < jl; j++ ) {
|
1065 |
+
var matchGroup = match[ j + 1 ];
|
1066 |
+
if ( matchGroup ) {
|
1067 |
+
var current = groups[ j ],
|
1068 |
+
clength = current.length,
|
1069 |
+
matchInt = parseInt( matchGroup, 10 );
|
1070 |
+
switch ( current ) {
|
1071 |
+
case "dd": case "d":
|
1072 |
+
// Day of month.
|
1073 |
+
date = matchInt;
|
1074 |
+
// check that date is generally in valid range, also checking overflow below.
|
1075 |
+
if ( outOfRange(date, 1, 31) ) return null;
|
1076 |
+
break;
|
1077 |
+
case "MMM": case "MMMM":
|
1078 |
+
month = getMonthIndex( cal, matchGroup, clength === 3 );
|
1079 |
+
if ( outOfRange(month, 0, 11) ) return null;
|
1080 |
+
break;
|
1081 |
+
case "M": case "MM":
|
1082 |
+
// Month.
|
1083 |
+
month = matchInt - 1;
|
1084 |
+
if ( outOfRange(month, 0, 11) ) return null;
|
1085 |
+
break;
|
1086 |
+
case "y": case "yy":
|
1087 |
+
case "yyyy":
|
1088 |
+
year = clength < 4 ? expandYear( cal, matchInt ) : matchInt;
|
1089 |
+
if ( outOfRange(year, 0, 9999) ) return null;
|
1090 |
+
break;
|
1091 |
+
case "h": case "hh":
|
1092 |
+
// Hours (12-hour clock).
|
1093 |
+
hour = matchInt;
|
1094 |
+
if ( hour === 12 ) hour = 0;
|
1095 |
+
if ( outOfRange(hour, 0, 11) ) return null;
|
1096 |
+
break;
|
1097 |
+
case "H": case "HH":
|
1098 |
+
// Hours (24-hour clock).
|
1099 |
+
hour = matchInt;
|
1100 |
+
if ( outOfRange(hour, 0, 23) ) return null;
|
1101 |
+
break;
|
1102 |
+
case "m": case "mm":
|
1103 |
+
// Minutes.
|
1104 |
+
min = matchInt;
|
1105 |
+
if ( outOfRange(min, 0, 59) ) return null;
|
1106 |
+
break;
|
1107 |
+
case "s": case "ss":
|
1108 |
+
// Seconds.
|
1109 |
+
sec = matchInt;
|
1110 |
+
if ( outOfRange(sec, 0, 59) ) return null;
|
1111 |
+
break;
|
1112 |
+
case "tt": case "t":
|
1113 |
+
// AM/PM designator.
|
1114 |
+
// see if it is standard, upper, or lower case PM. If not, ensure it is at least one of
|
1115 |
+
// the AM tokens. If not, fail the parse for this format.
|
1116 |
+
pmHour = cal.PM && ( matchGroup === cal.PM[0] || matchGroup === cal.PM[1] || matchGroup === cal.PM[2] );
|
1117 |
+
if (
|
1118 |
+
!pmHour && (
|
1119 |
+
!cal.AM || ( matchGroup !== cal.AM[0] && matchGroup !== cal.AM[1] && matchGroup !== cal.AM[2] )
|
1120 |
+
)
|
1121 |
+
) return null;
|
1122 |
+
break;
|
1123 |
+
case "f":
|
1124 |
+
// Deciseconds.
|
1125 |
+
case "ff":
|
1126 |
+
// Centiseconds.
|
1127 |
+
case "fff":
|
1128 |
+
// Milliseconds.
|
1129 |
+
msec = matchInt * Math.pow( 10, 3 - clength );
|
1130 |
+
if ( outOfRange(msec, 0, 999) ) return null;
|
1131 |
+
break;
|
1132 |
+
case "ddd":
|
1133 |
+
// Day of week.
|
1134 |
+
case "dddd":
|
1135 |
+
// Day of week.
|
1136 |
+
weekDay = getDayIndex( cal, matchGroup, clength === 3 );
|
1137 |
+
if ( outOfRange(weekDay, 0, 6) ) return null;
|
1138 |
+
break;
|
1139 |
+
case "zzz":
|
1140 |
+
// Time zone offset in +/- hours:min.
|
1141 |
+
var offsets = matchGroup.split( /:/ );
|
1142 |
+
if ( offsets.length !== 2 ) return null;
|
1143 |
+
hourOffset = parseInt( offsets[0], 10 );
|
1144 |
+
if ( outOfRange(hourOffset, -12, 13) ) return null;
|
1145 |
+
var minOffset = parseInt( offsets[1], 10 );
|
1146 |
+
if ( outOfRange(minOffset, 0, 59) ) return null;
|
1147 |
+
tzMinOffset = ( hourOffset * 60 ) + ( startsWith(matchGroup, "-") ? -minOffset : minOffset );
|
1148 |
+
break;
|
1149 |
+
case "z": case "zz":
|
1150 |
+
// Time zone offset in +/- hours.
|
1151 |
+
hourOffset = matchInt;
|
1152 |
+
if ( outOfRange(hourOffset, -12, 13) ) return null;
|
1153 |
+
tzMinOffset = hourOffset * 60;
|
1154 |
+
break;
|
1155 |
+
case "g": case "gg":
|
1156 |
+
var eraName = matchGroup;
|
1157 |
+
if ( !eraName || !cal.eras ) return null;
|
1158 |
+
eraName = trim( eraName.toLowerCase() );
|
1159 |
+
for ( var i = 0, l = cal.eras.length; i < l; i++ ) {
|
1160 |
+
if ( eraName === cal.eras[i].name.toLowerCase() ) {
|
1161 |
+
era = i;
|
1162 |
+
break;
|
1163 |
+
}
|
1164 |
+
}
|
1165 |
+
// could not find an era with that name
|
1166 |
+
if ( era === null ) return null;
|
1167 |
+
break;
|
1168 |
+
}
|
1169 |
+
}
|
1170 |
+
}
|
1171 |
+
var result = new Date(), defaultYear, convert = cal.convert;
|
1172 |
+
defaultYear = convert ? convert.fromGregorian( result )[ 0 ] : result.getFullYear();
|
1173 |
+
if ( year === null ) {
|
1174 |
+
year = defaultYear;
|
1175 |
+
}
|
1176 |
+
else if ( cal.eras ) {
|
1177 |
+
// year must be shifted to normal gregorian year
|
1178 |
+
// but not if year was not specified, its already normal gregorian
|
1179 |
+
// per the main if clause above.
|
1180 |
+
year += cal.eras[( era || 0 )].offset;
|
1181 |
+
}
|
1182 |
+
// set default day and month to 1 and January, so if unspecified, these are the defaults
|
1183 |
+
// instead of the current day/month.
|
1184 |
+
if ( month === null ) {
|
1185 |
+
month = 0;
|
1186 |
+
}
|
1187 |
+
if ( date === null ) {
|
1188 |
+
date = 1;
|
1189 |
+
}
|
1190 |
+
// now have year, month, and date, but in the culture's calendar.
|
1191 |
+
// convert to gregorian if necessary
|
1192 |
+
if ( convert ) {
|
1193 |
+
result = convert.toGregorian( year, month, date );
|
1194 |
+
// conversion failed, must be an invalid match
|
1195 |
+
if ( result === null ) return null;
|
1196 |
+
}
|
1197 |
+
else {
|
1198 |
+
// have to set year, month and date together to avoid overflow based on current date.
|
1199 |
+
result.setFullYear( year, month, date );
|
1200 |
+
// check to see if date overflowed for specified month (only checked 1-31 above).
|
1201 |
+
if ( result.getDate() !== date ) return null;
|
1202 |
+
// invalid day of week.
|
1203 |
+
if ( weekDay !== null && result.getDay() !== weekDay ) {
|
1204 |
+
return null;
|
1205 |
+
}
|
1206 |
+
}
|
1207 |
+
// if pm designator token was found make sure the hours fit the 24-hour clock.
|
1208 |
+
if ( pmHour && hour < 12 ) {
|
1209 |
+
hour += 12;
|
1210 |
+
}
|
1211 |
+
result.setHours( hour, min, sec, msec );
|
1212 |
+
if ( tzMinOffset !== null ) {
|
1213 |
+
// adjust timezone to utc before applying local offset.
|
1214 |
+
var adjustedMin = result.getMinutes() - ( tzMinOffset + result.getTimezoneOffset() );
|
1215 |
+
// Safari limits hours and minutes to the range of -127 to 127. We need to use setHours
|
1216 |
+
// to ensure both these fields will not exceed this range. adjustedMin will range
|
1217 |
+
// somewhere between -1440 and 1500, so we only need to split this into hours.
|
1218 |
+
result.setHours( result.getHours() + parseInt(adjustedMin / 60, 10), adjustedMin % 60 );
|
1219 |
+
}
|
1220 |
+
return result;
|
1221 |
+
};
|
1222 |
+
}());
|
1223 |
+
|
1224 |
+
parseNegativePattern = function( value, nf, negativePattern ) {
|
1225 |
+
var neg = nf[ "-" ],
|
1226 |
+
pos = nf[ "+" ],
|
1227 |
+
ret;
|
1228 |
+
switch ( negativePattern ) {
|
1229 |
+
case "n -":
|
1230 |
+
neg = " " + neg;
|
1231 |
+
pos = " " + pos;
|
1232 |
+
// fall through
|
1233 |
+
case "n-":
|
1234 |
+
if ( endsWith(value, neg) ) {
|
1235 |
+
ret = [ "-", value.substr(0, value.length - neg.length) ];
|
1236 |
+
}
|
1237 |
+
else if ( endsWith(value, pos) ) {
|
1238 |
+
ret = [ "+", value.substr(0, value.length - pos.length) ];
|
1239 |
+
}
|
1240 |
+
break;
|
1241 |
+
case "- n":
|
1242 |
+
neg += " ";
|
1243 |
+
pos += " ";
|
1244 |
+
// fall through
|
1245 |
+
case "-n":
|
1246 |
+
if ( startsWith(value, neg) ) {
|
1247 |
+
ret = [ "-", value.substr(neg.length) ];
|
1248 |
+
}
|
1249 |
+
else if ( startsWith(value, pos) ) {
|
1250 |
+
ret = [ "+", value.substr(pos.length) ];
|
1251 |
+
}
|
1252 |
+
break;
|
1253 |
+
case "(n)":
|
1254 |
+
if ( startsWith(value, "(") && endsWith(value, ")") ) {
|
1255 |
+
ret = [ "-", value.substr(1, value.length - 2) ];
|
1256 |
+
}
|
1257 |
+
break;
|
1258 |
+
}
|
1259 |
+
return ret || [ "", value ];
|
1260 |
+
};
|
1261 |
+
|
1262 |
+
//
|
1263 |
+
// public instance functions
|
1264 |
+
//
|
1265 |
+
|
1266 |
+
Globalize.prototype.findClosestCulture = function( cultureSelector ) {
|
1267 |
+
return Globalize.findClosestCulture.call( this, cultureSelector );
|
1268 |
+
};
|
1269 |
+
|
1270 |
+
Globalize.prototype.format = function( value, format, cultureSelector ) {
|
1271 |
+
return Globalize.format.call( this, value, format, cultureSelector );
|
1272 |
+
};
|
1273 |
+
|
1274 |
+
Globalize.prototype.localize = function( key, cultureSelector ) {
|
1275 |
+
return Globalize.localize.call( this, key, cultureSelector );
|
1276 |
+
};
|
1277 |
+
|
1278 |
+
Globalize.prototype.parseInt = function( value, radix, cultureSelector ) {
|
1279 |
+
return Globalize.parseInt.call( this, value, radix, cultureSelector );
|
1280 |
+
};
|
1281 |
+
|
1282 |
+
Globalize.prototype.parseFloat = function( value, radix, cultureSelector ) {
|
1283 |
+
return Globalize.parseFloat.call( this, value, radix, cultureSelector );
|
1284 |
+
};
|
1285 |
+
|
1286 |
+
Globalize.prototype.culture = function( cultureSelector ) {
|
1287 |
+
return Globalize.culture.call( this, cultureSelector );
|
1288 |
+
};
|
1289 |
+
|
1290 |
+
//
|
1291 |
+
// public singleton functions
|
1292 |
+
//
|
1293 |
+
|
1294 |
+
Globalize.addCultureInfo = function( cultureName, baseCultureName, info ) {
|
1295 |
+
|
1296 |
+
var base = {},
|
1297 |
+
isNew = false;
|
1298 |
+
|
1299 |
+
if ( typeof cultureName !== "string" ) {
|
1300 |
+
// cultureName argument is optional string. If not specified, assume info is first
|
1301 |
+
// and only argument. Specified info deep-extends current culture.
|
1302 |
+
info = cultureName;
|
1303 |
+
cultureName = this.culture().name;
|
1304 |
+
base = this.cultures[ cultureName ];
|
1305 |
+
} else if ( typeof baseCultureName !== "string" ) {
|
1306 |
+
// baseCultureName argument is optional string. If not specified, assume info is second
|
1307 |
+
// argument. Specified info deep-extends specified culture.
|
1308 |
+
// If specified culture does not exist, create by deep-extending default
|
1309 |
+
info = baseCultureName;
|
1310 |
+
isNew = ( this.cultures[ cultureName ] == null );
|
1311 |
+
base = this.cultures[ cultureName ] || this.cultures[ "default" ];
|
1312 |
+
} else {
|
1313 |
+
// cultureName and baseCultureName specified. Assume a new culture is being created
|
1314 |
+
// by deep-extending an specified base culture
|
1315 |
+
isNew = true;
|
1316 |
+
base = this.cultures[ baseCultureName ];
|
1317 |
+
}
|
1318 |
+
|
1319 |
+
this.cultures[ cultureName ] = extend(true, {},
|
1320 |
+
base,
|
1321 |
+
info
|
1322 |
+
);
|
1323 |
+
// Make the standard calendar the current culture if it's a new culture
|
1324 |
+
if ( isNew ) {
|
1325 |
+
this.cultures[ cultureName ].calendar = this.cultures[ cultureName ].calendars.standard;
|
1326 |
+
}
|
1327 |
+
};
|
1328 |
+
|
1329 |
+
Globalize.findClosestCulture = function( name ) {
|
1330 |
+
var match;
|
1331 |
+
if ( !name ) {
|
1332 |
+
return this.cultures[ this.cultureSelector ] || this.cultures[ "default" ];
|
1333 |
+
}
|
1334 |
+
if ( typeof name === "string" ) {
|
1335 |
+
name = name.split( "," );
|
1336 |
+
}
|
1337 |
+
if ( isArray(name) ) {
|
1338 |
+
var lang,
|
1339 |
+
cultures = this.cultures,
|
1340 |
+
list = name,
|
1341 |
+
i, l = list.length,
|
1342 |
+
prioritized = [];
|
1343 |
+
for ( i = 0; i < l; i++ ) {
|
1344 |
+
name = trim( list[i] );
|
1345 |
+
var pri, parts = name.split( ";" );
|
1346 |
+
lang = trim( parts[0] );
|
1347 |
+
if ( parts.length === 1 ) {
|
1348 |
+
pri = 1;
|
1349 |
+
}
|
1350 |
+
else {
|
1351 |
+
name = trim( parts[1] );
|
1352 |
+
if ( name.indexOf("q=") === 0 ) {
|
1353 |
+
name = name.substr( 2 );
|
1354 |
+
pri = parseFloat( name );
|
1355 |
+
pri = isNaN( pri ) ? 0 : pri;
|
1356 |
+
}
|
1357 |
+
else {
|
1358 |
+
pri = 1;
|
1359 |
+
}
|
1360 |
+
}
|
1361 |
+
prioritized.push({ lang: lang, pri: pri });
|
1362 |
+
}
|
1363 |
+
prioritized.sort(function( a, b ) {
|
1364 |
+
return a.pri < b.pri ? 1 : -1;
|
1365 |
+
});
|
1366 |
+
|
1367 |
+
// exact match
|
1368 |
+
for ( i = 0; i < l; i++ ) {
|
1369 |
+
lang = prioritized[ i ].lang;
|
1370 |
+
match = cultures[ lang ];
|
1371 |
+
if ( match ) {
|
1372 |
+
return match;
|
1373 |
+
}
|
1374 |
+
}
|
1375 |
+
|
1376 |
+
// neutral language match
|
1377 |
+
for ( i = 0; i < l; i++ ) {
|
1378 |
+
lang = prioritized[ i ].lang;
|
1379 |
+
do {
|
1380 |
+
var index = lang.lastIndexOf( "-" );
|
1381 |
+
if ( index === -1 ) {
|
1382 |
+
break;
|
1383 |
+
}
|
1384 |
+
// strip off the last part. e.g. en-US => en
|
1385 |
+
lang = lang.substr( 0, index );
|
1386 |
+
match = cultures[ lang ];
|
1387 |
+
if ( match ) {
|
1388 |
+
return match;
|
1389 |
+
}
|
1390 |
+
}
|
1391 |
+
while ( 1 );
|
1392 |
+
}
|
1393 |
+
|
1394 |
+
// last resort: match first culture using that language
|
1395 |
+
for ( i = 0; i < l; i++ ) {
|
1396 |
+
lang = prioritized[ i ].lang;
|
1397 |
+
for ( var cultureKey in cultures ) {
|
1398 |
+
var culture = cultures[ cultureKey ];
|
1399 |
+
if ( culture.language == lang ) {
|
1400 |
+
return culture;
|
1401 |
+
}
|
1402 |
+
}
|
1403 |
+
}
|
1404 |
+
}
|
1405 |
+
else if ( typeof name === "object" ) {
|
1406 |
+
return name;
|
1407 |
+
}
|
1408 |
+
return match || null;
|
1409 |
+
};
|
1410 |
+
|
1411 |
+
Globalize.format = function( value, format, cultureSelector ) {
|
1412 |
+
culture = this.findClosestCulture( cultureSelector );
|
1413 |
+
if ( value instanceof Date ) {
|
1414 |
+
value = formatDate( value, format, culture );
|
1415 |
+
}
|
1416 |
+
else if ( typeof value === "number" ) {
|
1417 |
+
value = formatNumber( value, format, culture );
|
1418 |
+
}
|
1419 |
+
return value;
|
1420 |
+
};
|
1421 |
+
|
1422 |
+
Globalize.localize = function( key, cultureSelector ) {
|
1423 |
+
return this.findClosestCulture( cultureSelector ).messages[ key ] ||
|
1424 |
+
this.cultures[ "default" ].messages[ key ];
|
1425 |
+
};
|
1426 |
+
|
1427 |
+
Globalize.parseDate = function( value, formats, culture ) {
|
1428 |
+
culture = this.findClosestCulture( culture );
|
1429 |
+
|
1430 |
+
var date, prop, patterns;
|
1431 |
+
if ( formats ) {
|
1432 |
+
if ( typeof formats === "string" ) {
|
1433 |
+
formats = [ formats ];
|
1434 |
+
}
|
1435 |
+
if ( formats.length ) {
|
1436 |
+
for ( var i = 0, l = formats.length; i < l; i++ ) {
|
1437 |
+
var format = formats[ i ];
|
1438 |
+
if ( format ) {
|
1439 |
+
date = parseExact( value, format, culture );
|
1440 |
+
if ( date ) {
|
1441 |
+
break;
|
1442 |
+
}
|
1443 |
+
}
|
1444 |
+
}
|
1445 |
+
}
|
1446 |
+
} else {
|
1447 |
+
patterns = culture.calendar.patterns;
|
1448 |
+
for ( prop in patterns ) {
|
1449 |
+
date = parseExact( value, patterns[prop], culture );
|
1450 |
+
if ( date ) {
|
1451 |
+
break;
|
1452 |
+
}
|
1453 |
+
}
|
1454 |
+
}
|
1455 |
+
|
1456 |
+
return date || null;
|
1457 |
+
};
|
1458 |
+
|
1459 |
+
Globalize.parseInt = function( value, radix, cultureSelector ) {
|
1460 |
+
return truncate( Globalize.parseFloat(value, radix, cultureSelector) );
|
1461 |
+
};
|
1462 |
+
|
1463 |
+
Globalize.parseFloat = function( value, radix, cultureSelector ) {
|
1464 |
+
// radix argument is optional
|
1465 |
+
if ( typeof radix !== "number" ) {
|
1466 |
+
cultureSelector = radix;
|
1467 |
+
radix = 10;
|
1468 |
+
}
|
1469 |
+
|
1470 |
+
var culture = this.findClosestCulture( cultureSelector );
|
1471 |
+
var ret = NaN,
|
1472 |
+
nf = culture.numberFormat;
|
1473 |
+
|
1474 |
+
if ( value.indexOf(culture.numberFormat.currency.symbol) > -1 ) {
|
1475 |
+
// remove currency symbol
|
1476 |
+
value = value.replace( culture.numberFormat.currency.symbol, "" );
|
1477 |
+
// replace decimal seperator
|
1478 |
+
value = value.replace( culture.numberFormat.currency["."], culture.numberFormat["."] );
|
1479 |
+
}
|
1480 |
+
|
1481 |
+
// trim leading and trailing whitespace
|
1482 |
+
value = trim( value );
|
1483 |
+
|
1484 |
+
// allow infinity or hexidecimal
|
1485 |
+
if ( regexInfinity.test(value) ) {
|
1486 |
+
ret = parseFloat( value );
|
1487 |
+
}
|
1488 |
+
else if ( !radix && regexHex.test(value) ) {
|
1489 |
+
ret = parseInt( value, 16 );
|
1490 |
+
}
|
1491 |
+
else {
|
1492 |
+
|
1493 |
+
// determine sign and number
|
1494 |
+
var signInfo = parseNegativePattern( value, nf, nf.pattern[0] ),
|
1495 |
+
sign = signInfo[ 0 ],
|
1496 |
+
num = signInfo[ 1 ];
|
1497 |
+
|
1498 |
+
// #44 - try parsing as "(n)"
|
1499 |
+
if ( sign === "" && nf.pattern[0] !== "(n)" ) {
|
1500 |
+
signInfo = parseNegativePattern( value, nf, "(n)" );
|
1501 |
+
sign = signInfo[ 0 ];
|
1502 |
+
num = signInfo[ 1 ];
|
1503 |
+
}
|
1504 |
+
|
1505 |
+
// try parsing as "-n"
|
1506 |
+
if ( sign === "" && nf.pattern[0] !== "-n" ) {
|
1507 |
+
signInfo = parseNegativePattern( value, nf, "-n" );
|
1508 |
+
sign = signInfo[ 0 ];
|
1509 |
+
num = signInfo[ 1 ];
|
1510 |
+
}
|
1511 |
+
|
1512 |
+
sign = sign || "+";
|
1513 |
+
|
1514 |
+
// determine exponent and number
|
1515 |
+
var exponent,
|
1516 |
+
intAndFraction,
|
1517 |
+
exponentPos = num.indexOf( "e" );
|
1518 |
+
if ( exponentPos < 0 ) exponentPos = num.indexOf( "E" );
|
1519 |
+
if ( exponentPos < 0 ) {
|
1520 |
+
intAndFraction = num;
|
1521 |
+
exponent = null;
|
1522 |
+
}
|
1523 |
+
else {
|
1524 |
+
intAndFraction = num.substr( 0, exponentPos );
|
1525 |
+
exponent = num.substr( exponentPos + 1 );
|
1526 |
+
}
|
1527 |
+
// determine decimal position
|
1528 |
+
var integer,
|
1529 |
+
fraction,
|
1530 |
+
decSep = nf[ "." ],
|
1531 |
+
decimalPos = intAndFraction.indexOf( decSep );
|
1532 |
+
if ( decimalPos < 0 ) {
|
1533 |
+
integer = intAndFraction;
|
1534 |
+
fraction = null;
|
1535 |
+
}
|
1536 |
+
else {
|
1537 |
+
integer = intAndFraction.substr( 0, decimalPos );
|
1538 |
+
fraction = intAndFraction.substr( decimalPos + decSep.length );
|
1539 |
+
}
|
1540 |
+
// handle groups (e.g. 1,000,000)
|
1541 |
+
var groupSep = nf[ "," ];
|
1542 |
+
integer = integer.split( groupSep ).join( "" );
|
1543 |
+
var altGroupSep = groupSep.replace( /\u00A0/g, " " );
|
1544 |
+
if ( groupSep !== altGroupSep ) {
|
1545 |
+
integer = integer.split( altGroupSep ).join( "" );
|
1546 |
+
}
|
1547 |
+
// build a natively parsable number string
|
1548 |
+
var p = sign + integer;
|
1549 |
+
if ( fraction !== null ) {
|
1550 |
+
p += "." + fraction;
|
1551 |
+
}
|
1552 |
+
if ( exponent !== null ) {
|
1553 |
+
// exponent itself may have a number patternd
|
1554 |
+
var expSignInfo = parseNegativePattern( exponent, nf, "-n" );
|
1555 |
+
p += "e" + ( expSignInfo[0] || "+" ) + expSignInfo[ 1 ];
|
1556 |
+
}
|
1557 |
+
if ( regexParseFloat.test(p) ) {
|
1558 |
+
ret = parseFloat( p );
|
1559 |
+
}
|
1560 |
+
}
|
1561 |
+
return ret;
|
1562 |
+
};
|
1563 |
+
|
1564 |
+
Globalize.culture = function( cultureSelector ) {
|
1565 |
+
// setter
|
1566 |
+
if ( typeof cultureSelector !== "undefined" ) {
|
1567 |
+
this.cultureSelector = cultureSelector;
|
1568 |
+
}
|
1569 |
+
// getter
|
1570 |
+
return this.findClosestCulture( cultureSelector ) || this.culture[ "default" ];
|
1571 |
+
};
|
1572 |
+
|
1573 |
+
}( this ));
|
assets/js/icon.png
ADDED
Binary file
|
assets/js/jquery.titanlighbox.js
ADDED
@@ -0,0 +1,1964 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// jQuery WipeTouch 1.2.0
|
2 |
+
// ------------------------------------------------------------------------
|
3 |
+
//
|
4 |
+
// Developed and maintained by Igor Ramadas
|
5 |
+
// http://aboutigor.com
|
6 |
+
// http://devv.com
|
7 |
+
|
8 |
+
;(function($) {
|
9 |
+
$.fn.wipetouch = function(settings) {
|
10 |
+
var config = {
|
11 |
+
moveX : 40,
|
12 |
+
moveY : 40,
|
13 |
+
tapToClick : false,
|
14 |
+
preventDefault : true,
|
15 |
+
allowDiagonal : false,
|
16 |
+
wipeLeft : false,
|
17 |
+
wipeRight : false,
|
18 |
+
wipeUp : false,
|
19 |
+
wipeDown : false,
|
20 |
+
wipeUpLeft : false,
|
21 |
+
wipeDownLeft : false,
|
22 |
+
wipeUpRight : false,
|
23 |
+
wipeDownRight : false,
|
24 |
+
wipeMove : false,
|
25 |
+
wipeTopLeft : false,
|
26 |
+
wipeBottomLeft : false,
|
27 |
+
wipeTopRight : false,
|
28 |
+
wipeBottomRight : false
|
29 |
+
};
|
30 |
+
if (settings) {
|
31 |
+
$.extend(config, settings)
|
32 |
+
}
|
33 |
+
this.each(function() {
|
34 |
+
var startX;
|
35 |
+
var startY;
|
36 |
+
var startDate = false;
|
37 |
+
var curX;
|
38 |
+
var curY;
|
39 |
+
var isMoving = false;
|
40 |
+
var touchedElement = false;
|
41 |
+
var useMouseEvents = false;
|
42 |
+
var clickEvent = false;
|
43 |
+
function onTouchStart(e) {
|
44 |
+
var start = useMouseEvents || (e.originalEvent.touches && e.originalEvent.touches.length > 0);
|
45 |
+
if (!isMoving && start) {
|
46 |
+
if (config.preventDefault) {
|
47 |
+
e.preventDefault()
|
48 |
+
}
|
49 |
+
if (config.allowDiagonal) {
|
50 |
+
if (!config.wipeDownLeft) {
|
51 |
+
config.wipeDownLeft = config.wipeBottomLeft
|
52 |
+
}
|
53 |
+
if (!config.wipeDownRight) {
|
54 |
+
config.wipeDownRight = config.wipeBottomRight
|
55 |
+
}
|
56 |
+
if (!config.wipeUpLeft) {
|
57 |
+
config.wipeUpLeft = config.wipeTopLeft
|
58 |
+
}
|
59 |
+
if (!config.wipeUpRight) {
|
60 |
+
config.wipeUpRight = config.wipeTopRight
|
61 |
+
}
|
62 |
+
}
|
63 |
+
if (useMouseEvents) {
|
64 |
+
startX = e.pageX;
|
65 |
+
startY = e.pageY;
|
66 |
+
$(this).bind("mousemove", onTouchMove);
|
67 |
+
$(this).one("mouseup", onTouchEnd)
|
68 |
+
} else {
|
69 |
+
startX = e.originalEvent.touches[0].pageX;
|
70 |
+
startY = e.originalEvent.touches[0].pageY;
|
71 |
+
$(this).bind("touchmove", onTouchMove)
|
72 |
+
}
|
73 |
+
startDate = new Date().getTime();
|
74 |
+
curX = startX;
|
75 |
+
curY = startY;
|
76 |
+
isMoving = true;
|
77 |
+
touchedElement = $(e.target)
|
78 |
+
}
|
79 |
+
}
|
80 |
+
|
81 |
+
function onTouchEnd(e) {
|
82 |
+
if (config.preventDefault) {
|
83 |
+
e.preventDefault()
|
84 |
+
}
|
85 |
+
if (useMouseEvents) {
|
86 |
+
$(this).unbind("mousemove", onTouchMove)
|
87 |
+
} else {
|
88 |
+
$(this).unbind("touchmove", onTouchMove)
|
89 |
+
}
|
90 |
+
if (isMoving) {
|
91 |
+
touchCalculate(e)
|
92 |
+
} else {
|
93 |
+
resetTouch()
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
function onTouchMove(e) {
|
98 |
+
if (config.preventDefault) {
|
99 |
+
e.preventDefault()
|
100 |
+
}
|
101 |
+
if (useMouseEvents && !isMoving) {
|
102 |
+
onTouchStart(e)
|
103 |
+
}
|
104 |
+
if (isMoving) {
|
105 |
+
if (useMouseEvents) {
|
106 |
+
curX = e.pageX;
|
107 |
+
curY = e.pageY
|
108 |
+
} else {
|
109 |
+
curX = e.originalEvent.touches[0].pageX;
|
110 |
+
curY = e.originalEvent.touches[0].pageY
|
111 |
+
}
|
112 |
+
if (config.wipeMove) {
|
113 |
+
triggerEvent(config.wipeMove, {
|
114 |
+
curX : curX,
|
115 |
+
curY : curY
|
116 |
+
})
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
function touchCalculate(e) {
|
122 |
+
var endDate = new Date().getTime();
|
123 |
+
var ms = startDate - endDate;
|
124 |
+
var x = curX;
|
125 |
+
var y = curY;
|
126 |
+
var dx = x - startX;
|
127 |
+
var dy = y - startY;
|
128 |
+
var ax = Math.abs(dx);
|
129 |
+
var ay = Math.abs(dy);
|
130 |
+
if (ax < 15 && ay < 15 && ms < 100) {
|
131 |
+
clickEvent = false;
|
132 |
+
if (config.preventDefault) {
|
133 |
+
resetTouch();
|
134 |
+
touchedElement.trigger("click");
|
135 |
+
return
|
136 |
+
}
|
137 |
+
} else if (useMouseEvents) {
|
138 |
+
var evts = touchedElement.data("events");
|
139 |
+
if (evts) {
|
140 |
+
var clicks = evts.click;
|
141 |
+
if (clicks && clicks.length > 0) {
|
142 |
+
$.each(clicks, function(i, f) {
|
143 |
+
clickEvent = f;
|
144 |
+
return
|
145 |
+
});
|
146 |
+
touchedElement.unbind("click")
|
147 |
+
}
|
148 |
+
}
|
149 |
+
}
|
150 |
+
var toright = dx > 0;
|
151 |
+
var tobottom = dy > 0;
|
152 |
+
var s = ((ax + ay) * 60) / ((ms) / 6 * (ms));
|
153 |
+
if (s < 1)
|
154 |
+
s = 1;
|
155 |
+
if (s > 5)
|
156 |
+
s = 5;
|
157 |
+
var result = {
|
158 |
+
speed : parseInt(s),
|
159 |
+
x : ax,
|
160 |
+
y : ay,
|
161 |
+
source : touchedElement
|
162 |
+
};
|
163 |
+
if (ax >= config.moveX) {
|
164 |
+
if (config.allowDiagonal && ay >= config.moveY) {
|
165 |
+
if (toright && tobottom) {
|
166 |
+
triggerEvent(config.wipeDownRight, result)
|
167 |
+
} else if (toright && !tobottom) {
|
168 |
+
triggerEvent(config.wipeUpRight, result)
|
169 |
+
} else if (!toright && tobottom) {
|
170 |
+
triggerEvent(config.wipeDownLeft, result)
|
171 |
+
} else {
|
172 |
+
triggerEvent(config.wipeUpLeft, result)
|
173 |
+
}
|
174 |
+
} else if (ax >= ay) {
|
175 |
+
if (toright) {
|
176 |
+
triggerEvent(config.wipeRight, result)
|
177 |
+
} else {
|
178 |
+
triggerEvent(config.wipeLeft, result)
|
179 |
+
}
|
180 |
+
}
|
181 |
+
} else if (ay >= config.moveY && ay > ax) {
|
182 |
+
if (tobottom) {
|
183 |
+
triggerEvent(config.wipeDown, result)
|
184 |
+
} else {
|
185 |
+
triggerEvent(config.wipeUp, result)
|
186 |
+
}
|
187 |
+
}
|
188 |
+
resetTouch()
|
189 |
+
}
|
190 |
+
|
191 |
+
function resetTouch() {
|
192 |
+
startX = false;
|
193 |
+
startY = false;
|
194 |
+
startDate = false;
|
195 |
+
isMoving = false;
|
196 |
+
if (clickEvent) {
|
197 |
+
window.setTimeout(function() {
|
198 |
+
touchedElement.bind("click", clickEvent);
|
199 |
+
clickEvent = false
|
200 |
+
}, 50)
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
+
function triggerEvent(wipeEvent, result) {
|
205 |
+
if (wipeEvent) {
|
206 |
+
wipeEvent(result)
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
if ("ontouchstart" in document.documentElement) {
|
211 |
+
$(this).bind("touchstart", onTouchStart);
|
212 |
+
$(this).bind("touchend", onTouchEnd)
|
213 |
+
} else {
|
214 |
+
useMouseEvents = true;
|
215 |
+
$(this).bind("mousedown", onTouchStart);
|
216 |
+
$(this).bind("mouseout", onTouchEnd)
|
217 |
+
}
|
218 |
+
});
|
219 |
+
return this
|
220 |
+
}
|
221 |
+
})(jQuery);
|
222 |
+
|
223 |
+
/*! Copyright (c) 2011 Brandon Aaron (http://brandonaaron.net)
|
224 |
+
* Licensed under the MIT License (LICENSE.txt).
|
225 |
+
* Version: 3.0.6
|
226 |
+
* Requires: 1.2.2+
|
227 |
+
*/
|
228 |
+
;(function($) {
|
229 |
+
var types = ['DOMMouseScroll', 'mousewheel'];
|
230 |
+
if ($.event.fixHooks) {
|
231 |
+
for (var i = types.length; i; ) {
|
232 |
+
$.event.fixHooks[types[--i]] = $.event.mouseHooks
|
233 |
+
}
|
234 |
+
}
|
235 |
+
$.event.special.mousewheel = {
|
236 |
+
setup : function() {
|
237 |
+
if (this.addEventListener) {
|
238 |
+
for (var i = types.length; i; ) {
|
239 |
+
this.addEventListener(types[--i], handler, false)
|
240 |
+
}
|
241 |
+
} else {
|
242 |
+
this.onmousewheel = handler
|
243 |
+
}
|
244 |
+
},
|
245 |
+
teardown : function() {
|
246 |
+
if (this.removeEventListener) {
|
247 |
+
for (var i = types.length; i; ) {
|
248 |
+
this.removeEventListener(types[--i], handler, false)
|
249 |
+
}
|
250 |
+
} else {
|
251 |
+
this.onmousewheel = null
|
252 |
+
}
|
253 |
+
}
|
254 |
+
};
|
255 |
+
$.fn.extend({
|
256 |
+
mousewheel : function(fn) {
|
257 |
+
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel")
|
258 |
+
},
|
259 |
+
unmousewheel : function(fn) {
|
260 |
+
return this.unbind("mousewheel", fn)
|
261 |
+
}
|
262 |
+
});
|
263 |
+
function handler(event) {
|
264 |
+
var orgEvent = event || window.event, args = [].slice.call(arguments, 1), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
265 |
+
event = $.event.fix(orgEvent);
|
266 |
+
event.type = "mousewheel";
|
267 |
+
if (orgEvent.wheelDelta) {
|
268 |
+
delta = orgEvent.wheelDelta / 120
|
269 |
+
}
|
270 |
+
if (orgEvent.detail) {
|
271 |
+
delta = -orgEvent.detail / 3
|
272 |
+
}
|
273 |
+
deltaY = delta;
|
274 |
+
if (orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS) {
|
275 |
+
deltaY = 0;
|
276 |
+
deltaX = -1 * delta
|
277 |
+
}
|
278 |
+
if (orgEvent.wheelDeltaY !== undefined) {
|
279 |
+
deltaY = orgEvent.wheelDeltaY / 120
|
280 |
+
}
|
281 |
+
if (orgEvent.wheelDeltaX !== undefined) {
|
282 |
+
deltaX = -1 * orgEvent.wheelDeltaX / 120
|
283 |
+
}
|
284 |
+
args.unshift(event, delta, deltaX, deltaY);
|
285 |
+
return ($.event.dispatch || $.event.handle).apply(this, args)
|
286 |
+
}
|
287 |
+
|
288 |
+
})(jQuery);
|
289 |
+
|
290 |
+
/*
|
291 |
+
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
|
292 |
+
*
|
293 |
+
*/
|
294 |
+
jQuery.easing["jswing"] = jQuery.easing["swing"];
|
295 |
+
jQuery.extend(jQuery.easing, {
|
296 |
+
def : "easeOutQuad",
|
297 |
+
swing : function(a, b, c, d, e) {
|
298 |
+
return jQuery.easing[jQuery.easing.def](a, b, c, d, e)
|
299 |
+
},
|
300 |
+
easeInQuad : function(a, b, c, d, e) {
|
301 |
+
return d * (b /= e) * b + c
|
302 |
+
},
|
303 |
+
easeOutQuad : function(a, b, c, d, e) {
|
304 |
+
return -d * (b /= e) * (b - 2) + c
|
305 |
+
},
|
306 |
+
easeInOutQuad : function(a, b, c, d, e) {
|
307 |
+
if ((b /= e / 2) < 1)
|
308 |
+
return d / 2 * b * b + c;
|
309 |
+
return -d / 2 * (--b * (b - 2) - 1) + c
|
310 |
+
},
|
311 |
+
easeInCubic : function(a, b, c, d, e) {
|
312 |
+
return d * (b /= e) * b * b + c
|
313 |
+
},
|
314 |
+
easeOutCubic : function(a, b, c, d, e) {
|
315 |
+
return d * (( b = b / e - 1) * b * b + 1) + c
|
316 |
+
},
|
317 |
+
easeInOutCubic : function(a, b, c, d, e) {
|
318 |
+
if ((b /= e / 2) < 1)
|
319 |
+
return d / 2 * b * b * b + c;
|
320 |
+
return d / 2 * ((b -= 2) * b * b + 2) + c
|
321 |
+
},
|
322 |
+
easeInQuart : function(a, b, c, d, e) {
|
323 |
+
return d * (b /= e) * b * b * b + c
|
324 |
+
},
|
325 |
+
easeOutQuart : function(a, b, c, d, e) {
|
326 |
+
return -d * (( b = b / e - 1) * b * b * b - 1) + c
|
327 |
+
},
|
328 |
+
easeInOutQuart : function(a, b, c, d, e) {
|
329 |
+
if ((b /= e / 2) < 1)
|
330 |
+
return d / 2 * b * b * b * b + c;
|
331 |
+
return -d / 2 * ((b -= 2) * b * b * b - 2) + c
|
332 |
+
},
|
333 |
+
easeInQuint : function(a, b, c, d, e) {
|
334 |
+
return d * (b /= e) * b * b * b * b + c
|
335 |
+
},
|
336 |
+
easeOutQuint : function(a, b, c, d, e) {
|
337 |
+
return d * (( b = b / e - 1) * b * b * b * b + 1) + c
|
338 |
+
},
|
339 |
+
easeInOutQuint : function(a, b, c, d, e) {
|
340 |
+
if ((b /= e / 2) < 1)
|
341 |
+
return d / 2 * b * b * b * b * b + c;
|
342 |
+
return d / 2 * ((b -= 2) * b * b * b * b + 2) + c
|
343 |
+
},
|
344 |
+
easeInSine : function(a, b, c, d, e) {
|
345 |
+
return -d * Math.cos(b / e * (Math.PI / 2)) + d + c
|
346 |
+
},
|
347 |
+
easeOutSine : function(a, b, c, d, e) {
|
348 |
+
return d * Math.sin(b / e * (Math.PI / 2)) + c
|
349 |
+
},
|
350 |
+
easeInOutSine : function(a, b, c, d, e) {
|
351 |
+
return -d / 2 * (Math.cos(Math.PI * b / e) - 1) + c
|
352 |
+
},
|
353 |
+
easeInExpo : function(a, b, c, d, e) {
|
354 |
+
return b == 0 ? c : d * Math.pow(2, 10 * (b / e - 1)) + c
|
355 |
+
},
|
356 |
+
easeOutExpo : function(a, b, c, d, e) {
|
357 |
+
return b == e ? c + d : d * (-Math.pow(2, -10 * b / e) + 1) + c
|
358 |
+
},
|
359 |
+
easeInOutExpo : function(a, b, c, d, e) {
|
360 |
+
if (b == 0)
|
361 |
+
return c;
|
362 |
+
if (b == e)
|
363 |
+
return c + d;
|
364 |
+
if ((b /= e / 2) < 1)
|
365 |
+
return d / 2 * Math.pow(2, 10 * (b - 1)) + c;
|
366 |
+
return d / 2 * (-Math.pow(2, -10 * --b) + 2) + c
|
367 |
+
},
|
368 |
+
easeInCirc : function(a, b, c, d, e) {
|
369 |
+
return -d * (Math.sqrt(1 - (b /= e) * b) - 1) + c
|
370 |
+
},
|
371 |
+
easeOutCirc : function(a, b, c, d, e) {
|
372 |
+
return d * Math.sqrt(1 - ( b = b / e - 1) * b) + c
|
373 |
+
},
|
374 |
+
easeInOutCirc : function(a, b, c, d, e) {
|
375 |
+
if ((b /= e / 2) < 1)
|
376 |
+
return -d / 2 * (Math.sqrt(1 - b * b) - 1) + c;
|
377 |
+
return d / 2 * (Math.sqrt(1 - (b -= 2) * b) + 1) + c
|
378 |
+
},
|
379 |
+
easeInElastic : function(a, b, c, d, e) {
|
380 |
+
var f = 1.70158;
|
381 |
+
var g = 0;
|
382 |
+
var h = d;
|
383 |
+
if (b == 0)
|
384 |
+
return c;
|
385 |
+
if ((b /= e) == 1)
|
386 |
+
return c + d;
|
387 |
+
if (!g)
|
388 |
+
g = e * .3;
|
389 |
+
if (h < Math.abs(d)) {
|
390 |
+
h = d;
|
391 |
+
var f = g / 4
|
392 |
+
} else
|
393 |
+
var f = g / (2 * Math.PI) * Math.asin(d / h);
|
394 |
+
return -(h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g)) + c
|
395 |
+
},
|
396 |
+
easeOutElastic : function(a, b, c, d, e) {
|
397 |
+
var f = 1.70158;
|
398 |
+
var g = 0;
|
399 |
+
var h = d;
|
400 |
+
if (b == 0)
|
401 |
+
return c;
|
402 |
+
if ((b /= e) == 1)
|
403 |
+
return c + d;
|
404 |
+
if (!g)
|
405 |
+
g = e * .3;
|
406 |
+
if (h < Math.abs(d)) {
|
407 |
+
h = d;
|
408 |
+
var f = g / 4
|
409 |
+
} else
|
410 |
+
var f = g / (2 * Math.PI) * Math.asin(d / h);
|
411 |
+
return h * Math.pow(2, -10 * b) * Math.sin((b * e - f) * 2 * Math.PI / g) + d + c
|
412 |
+
},
|
413 |
+
easeInOutElastic : function(a, b, c, d, e) {
|
414 |
+
var f = 1.70158;
|
415 |
+
var g = 0;
|
416 |
+
var h = d;
|
417 |
+
if (b == 0)
|
418 |
+
return c;
|
419 |
+
if ((b /= e / 2) == 2)
|
420 |
+
return c + d;
|
421 |
+
if (!g)
|
422 |
+
g = e * .3 * 1.5;
|
423 |
+
if (h < Math.abs(d)) {
|
424 |
+
h = d;
|
425 |
+
var f = g / 4
|
426 |
+
} else
|
427 |
+
var f = g / (2 * Math.PI) * Math.asin(d / h);
|
428 |
+
if (b < 1)
|
429 |
+
return -.5 * h * Math.pow(2, 10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) + c;
|
430 |
+
return h * Math.pow(2, -10 * (b -= 1)) * Math.sin((b * e - f) * 2 * Math.PI / g) * .5 + d + c
|
431 |
+
},
|
432 |
+
easeInBack : function(a, b, c, d, e, f) {
|
433 |
+
if (f == undefined)
|
434 |
+
f = 1.70158;
|
435 |
+
return d * (b /= e) * b * ((f + 1) * b - f) + c
|
436 |
+
},
|
437 |
+
easeOutBack : function(a, b, c, d, e, f) {
|
438 |
+
if (f == undefined)
|
439 |
+
f = 1.70158;
|
440 |
+
return d * (( b = b / e - 1) * b * ((f + 1) * b + f) + 1) + c
|
441 |
+
},
|
442 |
+
easeInOutBack : function(a, b, c, d, e, f) {
|
443 |
+
if (f == undefined)
|
444 |
+
f = 1.70158;
|
445 |
+
if ((b /= e / 2) < 1)
|
446 |
+
return d / 2 * b * b * (((f *= 1.525) + 1) * b - f) + c;
|
447 |
+
return d / 2 * ((b -= 2) * b * (((f *= 1.525) + 1) * b + f) + 2) + c
|
448 |
+
},
|
449 |
+
easeInBounce : function(a, b, c, d, e) {
|
450 |
+
return d - jQuery.easing.easeOutBounce(a, e - b, 0, d, e) + c
|
451 |
+
},
|
452 |
+
easeOutBounce : function(a, b, c, d, e) {
|
453 |
+
if ((b /= e) < 1 / 2.75) {
|
454 |
+
return d * 7.5625 * b * b + c
|
455 |
+
} else if (b < 2 / 2.75) {
|
456 |
+
return d * (7.5625 * (b -= 1.5 / 2.75) * b + .75) + c
|
457 |
+
} else if (b < 2.5 / 2.75) {
|
458 |
+
return d * (7.5625 * (b -= 2.25 / 2.75) * b + .9375) + c
|
459 |
+
} else {
|
460 |
+
return d * (7.5625 * (b -= 2.625 / 2.75) * b + .984375) + c
|
461 |
+
}
|
462 |
+
},
|
463 |
+
easeInOutBounce : function(a, b, c, d, e) {
|
464 |
+
if (b < e / 2)
|
465 |
+
return jQuery.easing.easeInBounce(a, b * 2, 0, d, e) * .5 + c;
|
466 |
+
return jQuery.easing.easeOutBounce(a, b * 2 - e, 0, d, e) * .5 + d * .5 + c
|
467 |
+
}
|
468 |
+
});
|
469 |
+
|
470 |
+
/*
|
471 |
+
* Titan Lightbox v 1.1
|
472 |
+
* Usage : jQuery('[data-titan-lightbox]').lightbox(options);
|
473 |
+
* Built and modified upon FancyBox 1.3.4 (http://fancybox.net, Janis Skarnelis, MIT License)
|
474 |
+
*/
|
475 |
+
var slideval = 0;
|
476 |
+
;(function(a, b, c, d) {
|
477 |
+
|
478 |
+
var e = c(a), f = c(b), g = c.lightbox = function() {
|
479 |
+
g.open.apply(this, arguments)
|
480 |
+
}, h = c.support.opacity, i = b.createTouch !== d, j = null, k = function(a) {
|
481 |
+
return a && a.hasOwnProperty && a instanceof c
|
482 |
+
}, l = function(a) {
|
483 |
+
return a && c.type(a) === "string"
|
484 |
+
}, m = function(a) {
|
485 |
+
return l(a) && a.indexOf("%") > 0
|
486 |
+
}, n = function(a) {
|
487 |
+
var b = /^[+-]?\d+(\.\d+)?([eE][+-]?\d+)?$/;
|
488 |
+
if (b.test(a))
|
489 |
+
return true
|
490 |
+
}, o = function(a) {
|
491 |
+
return a && !(a.style.overflow && a.style.overflow === "hidden") && (a.clientWidth && a.scrollWidth > a.clientWidth || a.clientHeight && a.scrollHeight > a.clientHeight)
|
492 |
+
}, p = function(a, b) {
|
493 |
+
var c = parseInt(a, 10);
|
494 |
+
if (b && m(a)) {
|
495 |
+
c = g.getViewport()[b] / 100 * c
|
496 |
+
}
|
497 |
+
return Math.ceil(c)
|
498 |
+
}, q = function(a, b) {
|
499 |
+
return p(a, b) + "px"
|
500 |
+
}, r = function(a, b, d) {
|
501 |
+
d = d || "";
|
502 |
+
if (c.type(d) === "object") {
|
503 |
+
d = c.param(d, true)
|
504 |
+
}
|
505 |
+
c.each(b, function(b, c) {
|
506 |
+
a = a.replace("$" + b, c || "")
|
507 |
+
});
|
508 |
+
if (d.length) {
|
509 |
+
a += (a.indexOf("?") > 0 ? "&" : "?") + d
|
510 |
+
}
|
511 |
+
return a
|
512 |
+
};
|
513 |
+
c.extend(g, {
|
514 |
+
defaults : {
|
515 |
+
padding : [11, 11, 8, 11],
|
516 |
+
margin : 20,
|
517 |
+
width : 800,
|
518 |
+
height : 600,
|
519 |
+
minWidth : 100,
|
520 |
+
minHeight : 100,
|
521 |
+
maxWidth : 9999,
|
522 |
+
maxHeight : 9999,
|
523 |
+
autoSize : true,
|
524 |
+
autoHeight : true,
|
525 |
+
autoWidth : true,
|
526 |
+
autoResize : !i,
|
527 |
+
autoCenter : !i,
|
528 |
+
fitToView : true,
|
529 |
+
maintainRatio : false,
|
530 |
+
topRatio : .5,
|
531 |
+
leftRatio : .5,
|
532 |
+
scrolling : "auto",
|
533 |
+
wrapCSS : "",
|
534 |
+
arrows : true,
|
535 |
+
closeBtn : true,
|
536 |
+
closeClick : false,
|
537 |
+
nextClick : false,
|
538 |
+
mouseWheel : false,
|
539 |
+
autoPlay : false,
|
540 |
+
interval : 3000,
|
541 |
+
preload : 3,
|
542 |
+
modal : false,
|
543 |
+
cyclic : true,
|
544 |
+
ajax : {
|
545 |
+
dataType : "html",
|
546 |
+
headers : {
|
547 |
+
"X-lightBox" : true
|
548 |
+
}
|
549 |
+
},
|
550 |
+
iframe : {
|
551 |
+
scrolling : "auto",
|
552 |
+
preload : true
|
553 |
+
},
|
554 |
+
swf : {
|
555 |
+
wmode : "transparent",
|
556 |
+
allowfullscreen : "true",
|
557 |
+
allowscriptaccess : "always"
|
558 |
+
},
|
559 |
+
keys : {
|
560 |
+
next : {
|
561 |
+
39 : "left",
|
562 |
+
40 : "up"
|
563 |
+
},
|
564 |
+
prev : {
|
565 |
+
37 : "right",
|
566 |
+
38 : "down"
|
567 |
+
},
|
568 |
+
close : [27],
|
569 |
+
play : [32],
|
570 |
+
toggle : [70]
|
571 |
+
},
|
572 |
+
direction : {
|
573 |
+
next : "left",
|
574 |
+
prev : "right"
|
575 |
+
},
|
576 |
+
scrollOutside : true,
|
577 |
+
index : 0,
|
578 |
+
type : null,
|
579 |
+
href : null,
|
580 |
+
content : null,
|
581 |
+
title : null,
|
582 |
+
template : {
|
583 |
+
wrap : '<div class="lightbox-wrap" tabIndex="-1"><div id="lbox_skin" class="lightbox-skin"><div class="lightbox-outer"><div class="lightbox-inner"></div></div><div class="lightbox-utility"><div></div></div><div class="clear"></div></div></div>',
|
584 |
+
image : '<img class="lightbox-image" src="{href}" alt="" />',
|
585 |
+
iframe : '<iframe id="lightbox-frame{rnd}" name="lightbox-frame{rnd}" class="lightbox-iframe" frameborder="0" vspace="0" hspace="0"' + (c.browser.msie ? ' allowtransparency="true"' : "") + "></iframe>",
|
586 |
+
error : '<p class="lightbox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
|
587 |
+
closeBtn : '<a title="Close" class="lightbox-item lightbox-close" href="javascript:;"></a>',
|
588 |
+
next : '<a title="Next" class="lightbox-nav lightbox-next" href="javascript:;"><span></span></a>',
|
589 |
+
prev : '<a title="Previous" class="lightbox-nav lightbox-prev" href="javascript:;"><span></span></a>'
|
590 |
+
},
|
591 |
+
transitionIn : "elastic",
|
592 |
+
transitionInSpeed : 0,
|
593 |
+
transitionInEasing : "swing",
|
594 |
+
transitionInOpacity : true,
|
595 |
+
transitionInEffect : "zoomIn",
|
596 |
+
transitionOut : "elastic",
|
597 |
+
transitionOutSpeed : 0,
|
598 |
+
transitionOutEasing : "swing",
|
599 |
+
transitionOutOpacity : true,
|
600 |
+
transitionOutEffect : "zoomOut",
|
601 |
+
transitionNext : "shuffle",
|
602 |
+
transitionNextSpeed : 0,
|
603 |
+
transitionNextEasing : "easeInBack",
|
604 |
+
transitionNextEffect : "changeIn",
|
605 |
+
transitionPrev : "shuffle",
|
606 |
+
transitionPrevSpeed : 0,
|
607 |
+
transitionPrevEasing : "easeOutBack",
|
608 |
+
transitionPrevEffect : "changeOut",
|
609 |
+
theme : "alt",
|
610 |
+
addons : {
|
611 |
+
overlay : {
|
612 |
+
closeClick : true,
|
613 |
+
speedOut : 200,
|
614 |
+
showEarly : true,
|
615 |
+
css : {}
|
616 |
+
},
|
617 |
+
title : {
|
618 |
+
type : "inside"
|
619 |
+
},
|
620 |
+
media : {},
|
621 |
+
buttons : {}
|
622 |
+
},
|
623 |
+
beforeLoadInternal : function() {
|
624 |
+
var a = this.element, b = this;
|
625 |
+
a.attr("data-option") && c.each(a.attr("data-option").split(";"), function(a, c) {
|
626 |
+
var d = c.match(/\s*([A-Z_]*?)\s*:\s*(.+)\s*/i);
|
627 |
+
d[2] = d && n(d[2]) ? parseInt(d[2]) : d[2];
|
628 |
+
d && (b[d[1]] = d[2])
|
629 |
+
});
|
630 |
+
this == b;
|
631 |
+
if (a.data("titan-width"))
|
632 |
+
this.width = a.data("titan-width");
|
633 |
+
if (a.data("titan-height"))
|
634 |
+
this.height = a.data("titan-height");
|
635 |
+
if (a.data("titan-theme"))
|
636 |
+
this.theme = a.data("titan-theme");
|
637 |
+
if (a.data("titan-modal"))
|
638 |
+
this.modal = a.data("titan-modal")
|
639 |
+
},
|
640 |
+
beforeShowInternal : function() {
|
641 |
+
this.theme != "default" && c("body").find(".lightbox-wrap").addClass(this.theme)
|
642 |
+
},
|
643 |
+
onCancel : c.noop,
|
644 |
+
beforeLoad : c.noop,
|
645 |
+
afterLoad : c.noop,
|
646 |
+
beforeShow : c.noop,
|
647 |
+
afterShow : c.noop,
|
648 |
+
beforeChange : c.noop,
|
649 |
+
beforeClose : c.noop,
|
650 |
+
afterClose : c.noop
|
651 |
+
},
|
652 |
+
group : {},
|
653 |
+
opts : {},
|
654 |
+
previous : null,
|
655 |
+
coming : null,
|
656 |
+
current : null,
|
657 |
+
isActive : false,
|
658 |
+
isOpen : false,
|
659 |
+
isOpened : false,
|
660 |
+
wrap : null,
|
661 |
+
skin : null,
|
662 |
+
utility : null,
|
663 |
+
outer : null,
|
664 |
+
inner : null,
|
665 |
+
player : {
|
666 |
+
timer : null,
|
667 |
+
isActive : false
|
668 |
+
},
|
669 |
+
ajaxLoad : null,
|
670 |
+
imgPreload : null,
|
671 |
+
transitions : {},
|
672 |
+
addons : {},
|
673 |
+
open : function(a, b) {
|
674 |
+
if (!a) {
|
675 |
+
return
|
676 |
+
}
|
677 |
+
if (!c.isPlainObject(b)) {
|
678 |
+
b = {}
|
679 |
+
}
|
680 |
+
if (false === g.close(true)) {
|
681 |
+
return
|
682 |
+
}
|
683 |
+
if (!c.isArray(a)) {
|
684 |
+
a = k(a) ? c(a).get() : [a]
|
685 |
+
}
|
686 |
+
c.each(a, function(e, f) {
|
687 |
+
var h = {}, i, j, m, n, o, p, q;
|
688 |
+
if (c.type(f) === "object") {
|
689 |
+
if (f.nodeType) {
|
690 |
+
f = c(f)
|
691 |
+
}
|
692 |
+
if (k(f)) {
|
693 |
+
h = {
|
694 |
+
href : f.attr("href"),
|
695 |
+
title : f.attr("title"),
|
696 |
+
isDom : true,
|
697 |
+
element : f
|
698 |
+
};
|
699 |
+
if (c.metadata) {
|
700 |
+
c.extend(true, h, f.metadata())
|
701 |
+
}
|
702 |
+
} else {
|
703 |
+
h = f
|
704 |
+
}
|
705 |
+
}
|
706 |
+
i = b.href || h.href || (l(f) ? f : null);
|
707 |
+
j = b.title !== d ? b.title : h.title || "";
|
708 |
+
m = b.content || h.content;
|
709 |
+
n = m ? "html" : b.type || h.type;
|
710 |
+
if (!n && h.isDom) {
|
711 |
+
n = f.data("lightbox-type");
|
712 |
+
if (!n) {
|
713 |
+
o = f.prop("class").match(/lightbox\.(\w+)/);
|
714 |
+
n = o ? o[1] : null
|
715 |
+
}
|
716 |
+
}
|
717 |
+
if (l(i)) {
|
718 |
+
if (!n) {
|
719 |
+
if (g.isImage(i)) {
|
720 |
+
n = "image"
|
721 |
+
} else if (g.isSWF(i)) {
|
722 |
+
n = "swf"
|
723 |
+
} else if (i.charAt(0) === "#") {
|
724 |
+
n = "inline"
|
725 |
+
} else if (g.isFrame(i)) {
|
726 |
+
n = "iframe"
|
727 |
+
} else if (l(f)) {
|
728 |
+
n = "html";
|
729 |
+
m = f
|
730 |
+
} else {
|
731 |
+
n = "ajax"
|
732 |
+
}
|
733 |
+
}
|
734 |
+
if (n === "ajax") {
|
735 |
+
p = i.split(/\s+/, 2);
|
736 |
+
i = p.shift();
|
737 |
+
q = p.shift()
|
738 |
+
}
|
739 |
+
}
|
740 |
+
if (!m) {
|
741 |
+
if (n === "inline") {
|
742 |
+
if (i) {
|
743 |
+
m = c(l(i) ? i.replace(/.*(?=#[^\s]+$)/, "") : i)
|
744 |
+
} else if (h.isDom) {
|
745 |
+
m = f
|
746 |
+
}
|
747 |
+
} else if (n === "html") {
|
748 |
+
m = i
|
749 |
+
} else if (!n && !i && h.isDom) {
|
750 |
+
n = "inline";
|
751 |
+
m = f
|
752 |
+
}
|
753 |
+
}
|
754 |
+
c.extend(h, {
|
755 |
+
href : i,
|
756 |
+
type : n,
|
757 |
+
content : m,
|
758 |
+
title : j,
|
759 |
+
selector : q
|
760 |
+
});
|
761 |
+
a[e] = h
|
762 |
+
});
|
763 |
+
g.opts = c.extend(true, {}, g.defaults, b);
|
764 |
+
if (b.keys !== d) {
|
765 |
+
g.opts.keys = b.keys ? c.extend({}, g.defaults.keys, b.keys) : false
|
766 |
+
}
|
767 |
+
g.group = a;
|
768 |
+
return g._start(g.opts.index)
|
769 |
+
},
|
770 |
+
cancel : function() {
|
771 |
+
var a = g.coming;
|
772 |
+
if (!a || false === g.trigger("onCancel")) {
|
773 |
+
return
|
774 |
+
}
|
775 |
+
g.hideLoading();
|
776 |
+
if (g.ajaxLoad) {
|
777 |
+
g.ajaxLoad.abort()
|
778 |
+
}
|
779 |
+
g.ajaxLoad = null;
|
780 |
+
if (g.imgPreload) {
|
781 |
+
g.imgPreload.onload = g.imgPreload.onerror = null
|
782 |
+
}
|
783 |
+
if (a.wrap) {
|
784 |
+
a.wrap.stop(true).trigger("onReset").remove()
|
785 |
+
}
|
786 |
+
if (!g.current) {
|
787 |
+
g.trigger("afterClose")
|
788 |
+
}
|
789 |
+
g.coming = null
|
790 |
+
},
|
791 |
+
close : function(a) {
|
792 |
+
g.cancel();
|
793 |
+
if (false === g.trigger("beforeClose")) {
|
794 |
+
return
|
795 |
+
}
|
796 |
+
g.unbindEvents();
|
797 |
+
if (!g.isOpen || a === true) {
|
798 |
+
c(".lightbox-wrap").stop(true).trigger("onReset").remove();
|
799 |
+
g._afterZoomOut()
|
800 |
+
} else {
|
801 |
+
g.isOpen = g.isOpened = false;
|
802 |
+
g.isClosing = true;
|
803 |
+
c(".lightbox-item, .lightbox-nav").remove();
|
804 |
+
g.wrap.stop(true, true).removeClass("lightbox-opened");
|
805 |
+
if (g.wrap.css("position") === "fixed") {
|
806 |
+
g.wrap.css(g._getPosition(true))
|
807 |
+
}
|
808 |
+
g.transitions[g.current.transitionOutEffect]()
|
809 |
+
}
|
810 |
+
},
|
811 |
+
play : function(a) {
|
812 |
+
|
813 |
+
var b = function() {
|
814 |
+
clearTimeout(g.player.timer);
|
815 |
+
}, d = function() {
|
816 |
+
b();
|
817 |
+
if (g.current && g.player.isActive) {
|
818 |
+
g.player.timer = setTimeout(g.next, g.current.interval);
|
819 |
+
|
820 |
+
}
|
821 |
+
}, e = function() {
|
822 |
+
b();
|
823 |
+
c("body").unbind(".player");
|
824 |
+
g.player.isActive = false;
|
825 |
+
g.trigger("onPlayEnd")
|
826 |
+
}, f = function() {
|
827 |
+
if (g.current && (g.current.cyclic || g.current.index < g.group.length - 1)) {
|
828 |
+
g.player.isActive = true;
|
829 |
+
c("body").bind({
|
830 |
+
"afterShow.player onUpdate.player" : d,
|
831 |
+
"onCancel.player beforeClose.player" : e,
|
832 |
+
"beforeLoad.player" : b
|
833 |
+
});
|
834 |
+
d();
|
835 |
+
g.trigger("onPlayStart")
|
836 |
+
}
|
837 |
+
};
|
838 |
+
if (a === true || !g.player.isActive && a !== false) {
|
839 |
+
f()
|
840 |
+
} else {
|
841 |
+
e()
|
842 |
+
}
|
843 |
+
},
|
844 |
+
next : function(a) {
|
845 |
+
var b = g.current;
|
846 |
+
if (b) {
|
847 |
+
if (!l(a)) {
|
848 |
+
a = b.direction.next
|
849 |
+
}
|
850 |
+
g.jumpto(b.index + 1, a, "next")
|
851 |
+
}
|
852 |
+
},
|
853 |
+
prev : function(a) {
|
854 |
+
var b = g.current;
|
855 |
+
if (b) {
|
856 |
+
if (!l(a)) {
|
857 |
+
a = b.direction.prev
|
858 |
+
}
|
859 |
+
g.jumpto(b.index - 1, a, "prev")
|
860 |
+
}
|
861 |
+
},
|
862 |
+
jumpto : function(a, b, c) {
|
863 |
+
var e = g.current;
|
864 |
+
if (!e) {
|
865 |
+
return
|
866 |
+
}
|
867 |
+
a = p(a);
|
868 |
+
g.direction = b || e.direction[a >= e.index ? "next" : "prev"];
|
869 |
+
g.router = c || "jumpto";
|
870 |
+
if (e.cyclic) {
|
871 |
+
if (a < 0) {
|
872 |
+
a = e.group.length + a % e.group.length
|
873 |
+
}
|
874 |
+
a = a % e.group.length
|
875 |
+
}
|
876 |
+
if (e.group[a] !== d) {
|
877 |
+
g.cancel();
|
878 |
+
g._start(a)
|
879 |
+
}
|
880 |
+
},
|
881 |
+
reposition : function(a, b) {
|
882 |
+
var c;
|
883 |
+
if (g.isOpen) {
|
884 |
+
c = g._getPosition(b);
|
885 |
+
if (a && a.type === "scroll") {
|
886 |
+
delete c.position;
|
887 |
+
g.wrap.stop(true, true).animate(c, 200)
|
888 |
+
} else {
|
889 |
+
g.wrap.css(c)
|
890 |
+
}
|
891 |
+
}
|
892 |
+
},
|
893 |
+
update : function(a) {
|
894 |
+
var b = a && a.type, c = !b || b === "orientationchange";
|
895 |
+
if (c) {
|
896 |
+
clearTimeout(j);
|
897 |
+
j = null
|
898 |
+
}
|
899 |
+
if (!g.isOpen || j) {
|
900 |
+
return
|
901 |
+
}
|
902 |
+
if (c || i) {
|
903 |
+
g.wrap.removeAttr("style").addClass("lightbox-tmp");
|
904 |
+
g.trigger("onUpdate")
|
905 |
+
}
|
906 |
+
j = setTimeout(function() {
|
907 |
+
var c = g.current;
|
908 |
+
if (!c) {
|
909 |
+
return
|
910 |
+
}
|
911 |
+
g.wrap.removeClass("lightbox-tmp");
|
912 |
+
if (b !== "scroll") {
|
913 |
+
g._setDimension()
|
914 |
+
}
|
915 |
+
if (!(b === "scroll" && c.canShrink)) {
|
916 |
+
g.reposition(a)
|
917 |
+
}
|
918 |
+
g.trigger("onUpdate");
|
919 |
+
j = null
|
920 |
+
}, i ? 500 : c ? 20 : 300)
|
921 |
+
},
|
922 |
+
toggle : function(a) {
|
923 |
+
if (g.isOpen) {
|
924 |
+
g.current.fitToView = c.type(a) === "boolean" ? a : !g.current.fitToView;
|
925 |
+
g.update()
|
926 |
+
}
|
927 |
+
},
|
928 |
+
hideLoading : function() {
|
929 |
+
f.unbind("keypress.lb");
|
930 |
+
c("#lightbox-loading").remove()
|
931 |
+
},
|
932 |
+
showLoading : function() {
|
933 |
+
var a, b;
|
934 |
+
g.hideLoading();
|
935 |
+
f.bind("keypress.lb", function(a) {
|
936 |
+
if ((a.which || a.keyCode) === 27) {
|
937 |
+
a.preventDefault();
|
938 |
+
g.cancel()
|
939 |
+
}
|
940 |
+
});
|
941 |
+
a = c('<div id="lightbox-loading"><div></div></div>').click(g.cancel).appendTo("body");
|
942 |
+
if (!g.defaults.fixed) {
|
943 |
+
b = g.getViewport();
|
944 |
+
a.css({
|
945 |
+
position : "absolute",
|
946 |
+
top : b.h * .5 + b.y,
|
947 |
+
left : b.w * .5 + b.x
|
948 |
+
})
|
949 |
+
}
|
950 |
+
},
|
951 |
+
getViewport : function() {
|
952 |
+
var b = g.current ? g.current.locked : false, c = {
|
953 |
+
x : e.scrollLeft(),
|
954 |
+
y : e.scrollTop()
|
955 |
+
};
|
956 |
+
if (b) {
|
957 |
+
c.w = b[0].clientWidth;
|
958 |
+
c.h = b[0].clientHeight
|
959 |
+
} else {
|
960 |
+
c.w = i && a.innerWidth ? a.innerWidth : e.width();
|
961 |
+
c.h = i && a.innerHeight ? a.innerHeight : e.height()
|
962 |
+
}
|
963 |
+
return c
|
964 |
+
},
|
965 |
+
unbindEvents : function() {
|
966 |
+
if (g.wrap && k(g.wrap)) {
|
967 |
+
g.wrap.unbind(".lb")
|
968 |
+
}
|
969 |
+
f.unbind(".lb");
|
970 |
+
e.unbind(".lb")
|
971 |
+
},
|
972 |
+
bindEvents : function() {
|
973 |
+
var a = g.current, b;
|
974 |
+
if (!a) {
|
975 |
+
return
|
976 |
+
}
|
977 |
+
e.bind("orientationchange.lb" + ( i ? "" : " resize.lb") + (a.autoCenter && !a.locked ? " scroll.lb" : ""), g.update);
|
978 |
+
b = a.keys;
|
979 |
+
if (b) {
|
980 |
+
f.bind("keydown.lb", function(e) {
|
981 |
+
var f = e.which || e.keyCode, h = e.target || e.srcElement;
|
982 |
+
if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(h && (h.type || c(h).is("[contenteditable]")))) {
|
983 |
+
c.each(b, function(b, h) {
|
984 |
+
if (a.group.length > 1 && h[f] !== d) {
|
985 |
+
g[b](h[f]);
|
986 |
+
e.preventDefault();
|
987 |
+
return false
|
988 |
+
}
|
989 |
+
if (c.inArray(f, h) > -1) {
|
990 |
+
g[b]();
|
991 |
+
e.preventDefault();
|
992 |
+
return false
|
993 |
+
}
|
994 |
+
})
|
995 |
+
}
|
996 |
+
})
|
997 |
+
}
|
998 |
+
if (i) {
|
999 |
+
$wrapel = g.wrap;
|
1000 |
+
$wrapel.wipetouch({
|
1001 |
+
wipeLeft : function() {
|
1002 |
+
g.next("right")
|
1003 |
+
},
|
1004 |
+
wipeRight : function() {
|
1005 |
+
g.prev("left")
|
1006 |
+
}
|
1007 |
+
})
|
1008 |
+
}
|
1009 |
+
if (c.fn.mousewheel && a.mouseWheel) {
|
1010 |
+
g.wrap.bind("mousewheel.lb", function(b, d, e, f) {
|
1011 |
+
var h = b.target || null, i = c(h), j = false;
|
1012 |
+
while (i.length) {
|
1013 |
+
if (j || i.is(".lightbox-skin") || i.is(".lightbox-wrap")) {
|
1014 |
+
break
|
1015 |
+
}
|
1016 |
+
j = o(i[0]);
|
1017 |
+
i = c(i).parent()
|
1018 |
+
}
|
1019 |
+
if (d !== 0 && !j) {
|
1020 |
+
if (g.group.length > 1 && !a.canShrink) {
|
1021 |
+
if (f > 0 || e > 0) {
|
1022 |
+
g.prev(f > 0 ? "down" : "left")
|
1023 |
+
} else if (f < 0 || e < 0) {
|
1024 |
+
g.next(f < 0 ? "up" : "right")
|
1025 |
+
}
|
1026 |
+
b.preventDefault()
|
1027 |
+
}
|
1028 |
+
}
|
1029 |
+
})
|
1030 |
+
}
|
1031 |
+
},
|
1032 |
+
trigger : function(a, b) {
|
1033 |
+
var d, e = b || g.coming || g.current;
|
1034 |
+
if (!e) {
|
1035 |
+
return
|
1036 |
+
}
|
1037 |
+
if (c.isFunction(e[a])) {
|
1038 |
+
d = e[a].apply(e, Array.prototype.slice.call(arguments, 1))
|
1039 |
+
}
|
1040 |
+
if (d === false) {
|
1041 |
+
return false
|
1042 |
+
}
|
1043 |
+
if (a === "onCancel" && !g.isOpened) {
|
1044 |
+
g.isActive = false
|
1045 |
+
}
|
1046 |
+
if (e.addons) {
|
1047 |
+
c.each(e.addons, function(b, d) {
|
1048 |
+
if (d && g.addons[b] && c.isFunction(g.addons[b][a])) {
|
1049 |
+
g.addons[b][a](d, e)
|
1050 |
+
}
|
1051 |
+
})
|
1052 |
+
}
|
1053 |
+
c.event.trigger(a + ".lb")
|
1054 |
+
},
|
1055 |
+
isImage : function(a) {
|
1056 |
+
return l(a) && a.match(/\.(jp(e|g|eg)|gif|png|bmp|webp)((\?|#).*)?$/i)
|
1057 |
+
},
|
1058 |
+
isFrame : function(a) {
|
1059 |
+
return l(a) && a.indexOf("http://") != -1 && a.indexOf(location.hostname.toLowerCase()) == -1
|
1060 |
+
},
|
1061 |
+
isSWF : function(a) {
|
1062 |
+
return l(a) && a.match(/\.(swf)((\?|#).*)?$/i)
|
1063 |
+
},
|
1064 |
+
_start : function(a) {
|
1065 |
+
var b = {}, d, e, f, h, j;
|
1066 |
+
a = p(a);
|
1067 |
+
d = g.group[a] || null;
|
1068 |
+
if (!d) {
|
1069 |
+
return false
|
1070 |
+
}
|
1071 |
+
b = c.extend(true, {}, g.opts, d);
|
1072 |
+
h = b.margin;
|
1073 |
+
j = b.padding;
|
1074 |
+
if (c.type(h) === "number") {
|
1075 |
+
b.margin = [h, h, h, h]
|
1076 |
+
}
|
1077 |
+
if (c.type(j) === "number") {
|
1078 |
+
b.padding = [j, j, j, j]
|
1079 |
+
}
|
1080 |
+
if (b.modal) {
|
1081 |
+
c.extend(true, b, {
|
1082 |
+
nextClick : false,
|
1083 |
+
arrows : false,
|
1084 |
+
mouseWheel : false,
|
1085 |
+
keys : null,
|
1086 |
+
addons : {
|
1087 |
+
overlay : {
|
1088 |
+
closeClick : false
|
1089 |
+
}
|
1090 |
+
}
|
1091 |
+
})
|
1092 |
+
}
|
1093 |
+
if (b.autoSize) {
|
1094 |
+
b.autoWidth = b.autoHeight = true
|
1095 |
+
}
|
1096 |
+
if (b.width === "auto") {
|
1097 |
+
b.autoWidth = true
|
1098 |
+
}
|
1099 |
+
if (b.height === "auto") {
|
1100 |
+
b.autoHeight = true
|
1101 |
+
}
|
1102 |
+
b.group = g.group;
|
1103 |
+
b.index = a;
|
1104 |
+
g.coming = b;
|
1105 |
+
if (false === g.trigger("beforeLoadInternal")) {
|
1106 |
+
g.coming = null;
|
1107 |
+
return
|
1108 |
+
}
|
1109 |
+
if (false === g.trigger("beforeLoad")) {
|
1110 |
+
g.coming = null;
|
1111 |
+
return
|
1112 |
+
}
|
1113 |
+
f = b.type;
|
1114 |
+
e = b.href;
|
1115 |
+
if (!f) {
|
1116 |
+
g.coming = null;
|
1117 |
+
if (g.current && g.router && g.router !== "jumpto") {
|
1118 |
+
g.current.index = a;
|
1119 |
+
return g[g.router](g.direction)
|
1120 |
+
}
|
1121 |
+
return false
|
1122 |
+
}
|
1123 |
+
g.isActive = true;
|
1124 |
+
if (f === "image" || f === "swf") {
|
1125 |
+
b.autoHeight = b.autoWidth = false;
|
1126 |
+
b.scrolling = "visible"
|
1127 |
+
}
|
1128 |
+
if (f === "image") {
|
1129 |
+
b.maintainRatio = true
|
1130 |
+
}
|
1131 |
+
if (f === "iframe" && i) {
|
1132 |
+
b.scrolling = "scroll"
|
1133 |
+
}
|
1134 |
+
b.wrap = c(b.template.wrap).addClass("lightbox-" + ( i ? "mobile" : "desktop") + " lightbox-type-" + f + " lightbox-tmp " + b.wrapCSS).appendTo(b.parent);
|
1135 |
+
c.extend(b, {
|
1136 |
+
skin : c(".lightbox-skin", b.wrap),
|
1137 |
+
utility : c(".lightbox-utility", b.wrap),
|
1138 |
+
outer : c(".lightbox-outer", b.wrap),
|
1139 |
+
inner : c(".lightbox-inner", b.wrap)
|
1140 |
+
});
|
1141 |
+
c.each(["Top", "Right", "Bottom", "Left"], function(a, c) {
|
1142 |
+
b.skin.css("padding" + c, q(b.padding[a]))
|
1143 |
+
});
|
1144 |
+
g.trigger("onReady");
|
1145 |
+
if (f === "inline" || f === "html") {
|
1146 |
+
if (!b.content || !b.content.length) {
|
1147 |
+
return g._error("content")
|
1148 |
+
}
|
1149 |
+
} else if (!e) {
|
1150 |
+
return g._error("href")
|
1151 |
+
}
|
1152 |
+
if (f === "image") {
|
1153 |
+
g._loadImage()
|
1154 |
+
} else if (f === "ajax") {
|
1155 |
+
g._loadAjax()
|
1156 |
+
} else if (f === "iframe") {
|
1157 |
+
g._loadIframe()
|
1158 |
+
} else {
|
1159 |
+
g._afterLoad()
|
1160 |
+
}
|
1161 |
+
},
|
1162 |
+
_error : function(a) {
|
1163 |
+
c.extend(g.coming, {
|
1164 |
+
type : "html",
|
1165 |
+
autoWidth : true,
|
1166 |
+
autoHeight : true,
|
1167 |
+
minWidth : 0,
|
1168 |
+
minHeight : 0,
|
1169 |
+
scrolling : "no",
|
1170 |
+
hasError : a,
|
1171 |
+
content : g.coming.template.error
|
1172 |
+
});
|
1173 |
+
g._afterLoad()
|
1174 |
+
},
|
1175 |
+
_loadImage : function() {
|
1176 |
+
var a = g.imgPreload = new Image;
|
1177 |
+
a.onload = function() {
|
1178 |
+
this.onload = this.onerror = null;
|
1179 |
+
g.coming.width = this.width;
|
1180 |
+
g.coming.height = this.height;
|
1181 |
+
g._afterLoad()
|
1182 |
+
};
|
1183 |
+
a.onerror = function() {
|
1184 |
+
this.onload = this.onerror = null;
|
1185 |
+
g._error("image")
|
1186 |
+
};
|
1187 |
+
a.src = g.coming.href;
|
1188 |
+
if (a.complete === d || !a.complete) {
|
1189 |
+
g.showLoading()
|
1190 |
+
}
|
1191 |
+
},
|
1192 |
+
_loadAjax : function() {
|
1193 |
+
var a = g.coming;
|
1194 |
+
g.showLoading();
|
1195 |
+
g.ajaxLoad = c.ajax(c.extend({}, a.ajax, {
|
1196 |
+
url : a.href,
|
1197 |
+
cache : false,
|
1198 |
+
error : function(a, b) {
|
1199 |
+
if (g.coming && b !== "abort") {
|
1200 |
+
g._error("ajax", a)
|
1201 |
+
} else {
|
1202 |
+
g.hideLoading()
|
1203 |
+
}
|
1204 |
+
},
|
1205 |
+
success : function(b, c) {
|
1206 |
+
if (c === "success") {
|
1207 |
+
a.content = b;
|
1208 |
+
g._afterLoad()
|
1209 |
+
}
|
1210 |
+
}
|
1211 |
+
}))
|
1212 |
+
},
|
1213 |
+
_loadIframe : function() {
|
1214 |
+
var a = g.coming, b = c(a.template.iframe.replace(/\{rnd\}/g, (new Date).getTime())).attr("scrolling", i ? "auto" : a.iframe.scrolling).attr("src", a.href);
|
1215 |
+
c(a.wrap).bind("onReset", function() {
|
1216 |
+
try {
|
1217 |
+
c(this).find("iframe").hide().attr("src", "//about:blank").end().empty()
|
1218 |
+
} catch(a) {
|
1219 |
+
}
|
1220 |
+
});
|
1221 |
+
if (a.iframe.preload) {
|
1222 |
+
g.showLoading();
|
1223 |
+
b.one("load", function() {
|
1224 |
+
c(this).data("ready", 1);
|
1225 |
+
if (!i) {
|
1226 |
+
c(this).bind("load.lb", g.update)
|
1227 |
+
}
|
1228 |
+
c(this).parents(".lightbox-wrap").width("100%").removeClass("lightbox-tmp").show();
|
1229 |
+
g._afterLoad()
|
1230 |
+
})
|
1231 |
+
}
|
1232 |
+
a.content = b.appendTo(a.inner);
|
1233 |
+
if (!a.iframe.preload) {
|
1234 |
+
g._afterLoad()
|
1235 |
+
}
|
1236 |
+
},
|
1237 |
+
_preloadImages : function() {
|
1238 |
+
var a = g.group, b = g.current, c = a.length, d = b.preload ? Math.min(b.preload, c - 1) : 0, e, f;
|
1239 |
+
for ( f = 1; f <= d; f += 1) {
|
1240 |
+
e = a[(b.index + f) % c];
|
1241 |
+
if (e.type === "image" && e.href) {
|
1242 |
+
(new Image).src = e.href
|
1243 |
+
}
|
1244 |
+
}
|
1245 |
+
},
|
1246 |
+
_afterLoad : function() {
|
1247 |
+
var a = g.coming, b = g.current, d = "lightbox-placeholder", e, f, h, i, j, l;
|
1248 |
+
g.hideLoading();
|
1249 |
+
if (!a || g.isActive === false) {
|
1250 |
+
return
|
1251 |
+
}
|
1252 |
+
if (false === g.trigger("afterLoad", a, b)) {
|
1253 |
+
a.wrap.stop(true).trigger("onReset").remove();
|
1254 |
+
g.coming = null;
|
1255 |
+
return
|
1256 |
+
}
|
1257 |
+
if (b) {
|
1258 |
+
g.trigger("beforeChange", b);
|
1259 |
+
b.wrap.stop(true).removeClass("lightbox-opened").find(".lightbox-item, .lightbox-nav").remove();
|
1260 |
+
if (b.wrap.css("position") === "fixed") {
|
1261 |
+
b.wrap.css(g._getPosition(true))
|
1262 |
+
}
|
1263 |
+
}
|
1264 |
+
g.unbindEvents();
|
1265 |
+
e = a;
|
1266 |
+
f = a.content;
|
1267 |
+
h = a.type;
|
1268 |
+
i = a.scrolling;
|
1269 |
+
c.extend(g, {
|
1270 |
+
wrap : e.wrap,
|
1271 |
+
skin : e.skin,
|
1272 |
+
utility : e.utility,
|
1273 |
+
outer : e.outer,
|
1274 |
+
inner : e.inner,
|
1275 |
+
current : e,
|
1276 |
+
previous : b
|
1277 |
+
});
|
1278 |
+
j = e.href;
|
1279 |
+
switch(h) {
|
1280 |
+
case"inline":
|
1281 |
+
case"ajax":
|
1282 |
+
case"html":
|
1283 |
+
if (e.selector) {
|
1284 |
+
f = c("<div>").html(f).find(e.selector)
|
1285 |
+
} else if (k(f)) {
|
1286 |
+
if (!f.data(d)) {
|
1287 |
+
f.data(d, c('<div class="' + d + '"></div>').insertAfter(f).hide())
|
1288 |
+
}
|
1289 |
+
f = f.show().detach();
|
1290 |
+
e.wrap.bind("onReset", function() {
|
1291 |
+
if (c(this).find(f).length) {
|
1292 |
+
f.hide().replaceAll(f.data(d)).data(d, false)
|
1293 |
+
}
|
1294 |
+
})
|
1295 |
+
}
|
1296 |
+
break;
|
1297 |
+
case"image":
|
1298 |
+
f = e.template.image.replace("{href}", j);
|
1299 |
+
break;
|
1300 |
+
case"swf":
|
1301 |
+
f = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="' + j + '"></param>';
|
1302 |
+
l = "";
|
1303 |
+
c.each(e.swf, function(a, b) {
|
1304 |
+
f += '<param name="' + a + '" value="' + b + '"></param>';
|
1305 |
+
l += " " + a + '="' + b + '"'
|
1306 |
+
});
|
1307 |
+
f += '<embed src="' + j + '" type="application/x-shockwave-flash" width="100%" height="100%"' + l + "></embed></object>";
|
1308 |
+
break
|
1309 |
+
}
|
1310 |
+
if (!(k(f) && f.parent().is(e.inner))) {
|
1311 |
+
e.inner.append(f)
|
1312 |
+
}
|
1313 |
+
g.trigger("beforeShowInternal");
|
1314 |
+
g.trigger("beforeShow");
|
1315 |
+
e.inner.css("overflow", i === "yes" ? "scroll" : i === "no" ? "hidden" : i);
|
1316 |
+
g._setDimension();
|
1317 |
+
e.wrap.removeClass("lightbox-tmp");
|
1318 |
+
e.pos = c.extend({}, e.dim, g._getPosition(true));
|
1319 |
+
g.isOpen = false;
|
1320 |
+
g.coming = null;
|
1321 |
+
g.bindEvents();
|
1322 |
+
if (!g.isOpened) {
|
1323 |
+
c(".lightbox-wrap").not(e.wrap).stop(true).trigger("onReset").remove()
|
1324 |
+
} else if (b.transitionPrevEffect) {
|
1325 |
+
g.transitions[b.transitionPrevEffect]()
|
1326 |
+
}
|
1327 |
+
g.transitions[g.isOpened?e.transitionNextEffect:e.transitionInEffect]();
|
1328 |
+
g._preloadImages()
|
1329 |
+
},
|
1330 |
+
_setDimension : function() {
|
1331 |
+
var a = g.getViewport(), b = 0, d = false, e = false, f = g.wrap, h = g.skin, i = g.utility, j = g.inner, k = g.current, l = k.width, n = k.height, o = k.minWidth, r = k.minHeight, s = k.maxWidth, t = k.maxHeight, u = k.scrolling, v = k.scrollOutside ? k.scrollbarWidth : 0, w = k.margin, x = w[1] + w[3], y = w[0] + w[2], z, A, B, C, D, E, F, G, H, I, J, K, M, N, O;
|
1332 |
+
f.add(h).add(j).width("auto").height("auto");
|
1333 |
+
z = h.outerWidth(true) - h.width();
|
1334 |
+
A = h.outerHeight(true) - h.height();
|
1335 |
+
B = x + z;
|
1336 |
+
C = y + A;
|
1337 |
+
D = m(l) ? (a.w - B) * p(l) / 100 : l;
|
1338 |
+
E = m(n) ? (a.h - C) * p(n) / 100 : n;
|
1339 |
+
if (k.type === "iframe") {
|
1340 |
+
N = k.content;
|
1341 |
+
if (k.autoHeight && N.data("ready") === 1) {
|
1342 |
+
try {
|
1343 |
+
if (N[0].contentWindow.document.location) {
|
1344 |
+
j.width(D).height(9999);
|
1345 |
+
O = N.contents().find("body");
|
1346 |
+
if (v) {
|
1347 |
+
O.css("overflow-x", "hidden")
|
1348 |
+
}
|
1349 |
+
E = O.height()
|
1350 |
+
}
|
1351 |
+
} catch(P) {
|
1352 |
+
}
|
1353 |
+
}
|
1354 |
+
} else if (k.autoWidth || k.autoHeight) {
|
1355 |
+
j.addClass("lightbox-tmp");
|
1356 |
+
if (!k.autoWidth) {
|
1357 |
+
j.width(D)
|
1358 |
+
}
|
1359 |
+
if (!k.autoHeight) {
|
1360 |
+
j.height(E)
|
1361 |
+
}
|
1362 |
+
if (k.autoWidth) {
|
1363 |
+
D = j.width()
|
1364 |
+
}
|
1365 |
+
if (k.autoHeight) {
|
1366 |
+
E = j.height()
|
1367 |
+
}
|
1368 |
+
j.removeClass("lightbox-tmp")
|
1369 |
+
}
|
1370 |
+
l = p(D);
|
1371 |
+
n = p(E);
|
1372 |
+
H = D / E;
|
1373 |
+
o = p(m(o) ? p(o, "w") - B : o);
|
1374 |
+
s = p(m(s) ? p(s, "w") - B : s);
|
1375 |
+
r = p(m(r) ? p(r, "h") - C : r);
|
1376 |
+
t = p(m(t) ? p(t, "h") - C : t);
|
1377 |
+
F = s;
|
1378 |
+
G = t;
|
1379 |
+
K = a.w - x;
|
1380 |
+
M = a.h - y;
|
1381 |
+
if (k.maintainRatio) {
|
1382 |
+
if (l > s) {
|
1383 |
+
l = s;
|
1384 |
+
n = l / H
|
1385 |
+
}
|
1386 |
+
if (n > t) {
|
1387 |
+
n = t;
|
1388 |
+
l = n * H
|
1389 |
+
}
|
1390 |
+
if (l < o) {
|
1391 |
+
l = o;
|
1392 |
+
n = l / H
|
1393 |
+
}
|
1394 |
+
if (n < r) {
|
1395 |
+
n = r;
|
1396 |
+
l = n * H
|
1397 |
+
}
|
1398 |
+
} else {
|
1399 |
+
l = Math.max(o, Math.min(l, s));
|
1400 |
+
n = Math.max(r, Math.min(n, t))
|
1401 |
+
}
|
1402 |
+
if (k.fitToView) {
|
1403 |
+
s = Math.min(a.w - B, s);
|
1404 |
+
t = Math.min(a.h - C, t);
|
1405 |
+
j.width(p(l)).height(p(n));
|
1406 |
+
f.width(p(l + z));
|
1407 |
+
I = f.width();
|
1408 |
+
J = f.height();
|
1409 |
+
if (k.maintainRatio) {
|
1410 |
+
while ((I > K || J > M) && l > o && n > r) {
|
1411 |
+
if (b++ > 19) {
|
1412 |
+
break
|
1413 |
+
}
|
1414 |
+
n = Math.max(r, Math.min(t, n - 10));
|
1415 |
+
l = n * H;
|
1416 |
+
if (l < o) {
|
1417 |
+
l = o;
|
1418 |
+
n = l / H
|
1419 |
+
}
|
1420 |
+
if (l > s) {
|
1421 |
+
l = s;
|
1422 |
+
n = l / H
|
1423 |
+
}
|
1424 |
+
j.width(p(l)).height(p(n));
|
1425 |
+
f.width(p(l + z));
|
1426 |
+
I = f.width();
|
1427 |
+
J = f.height()
|
1428 |
+
}
|
1429 |
+
} else {
|
1430 |
+
l = Math.max(o, Math.min(l, l - (I - K)));
|
1431 |
+
n = Math.max(r, Math.min(n, n - (J - M)))
|
1432 |
+
}
|
1433 |
+
}
|
1434 |
+
if (v && u === "auto" && n < E && l + z + v < K) {
|
1435 |
+
l += v
|
1436 |
+
}
|
1437 |
+
j.width(p(l)).height(p(n));
|
1438 |
+
f.width(p(l + z));
|
1439 |
+
I = f.width();
|
1440 |
+
J = f.height();
|
1441 |
+
d = (I > K || J > M) && l > o && n > r;
|
1442 |
+
e = k.maintainRatio ? l < F && n < G && l < D && n < E : (l < F || n < G) && (l < D || n < E);
|
1443 |
+
c.extend(k, {
|
1444 |
+
dim : {
|
1445 |
+
width : q(I),
|
1446 |
+
height : q(J)
|
1447 |
+
},
|
1448 |
+
origWidth : D,
|
1449 |
+
origHeight : E,
|
1450 |
+
canShrink : d,
|
1451 |
+
canExpand : e,
|
1452 |
+
wPadding : z,
|
1453 |
+
hPadding : A,
|
1454 |
+
wrapSpace : J - h.outerHeight(true),
|
1455 |
+
skinSpace : h.height() - n
|
1456 |
+
});
|
1457 |
+
if (!N && k.autoHeight && n > r && n < t && !e) {
|
1458 |
+
j.height("auto")
|
1459 |
+
}
|
1460 |
+
},
|
1461 |
+
_getPosition : function(a) {
|
1462 |
+
var b = g.current, c = g.getViewport(), d = b.margin, e = g.wrap.width() + d[1] + d[3], f = g.wrap.height() + d[0] + d[2], h = {
|
1463 |
+
position : "absolute",
|
1464 |
+
top : d[0],
|
1465 |
+
left : d[3]
|
1466 |
+
};
|
1467 |
+
if (b.autoCenter && b.fixed && !a && f <= c.h && e <= c.w) {
|
1468 |
+
h.position = "fixed"
|
1469 |
+
} else if (!b.locked) {
|
1470 |
+
h.top += c.y;
|
1471 |
+
h.left += c.x
|
1472 |
+
}
|
1473 |
+
h.top = q(Math.max(h.top, h.top + (c.h - f) * b.topRatio));
|
1474 |
+
h.left = q(Math.max(h.left, h.left + (c.w - e) * b.leftRatio));
|
1475 |
+
return h
|
1476 |
+
},
|
1477 |
+
_afterZoomIn : function() {
|
1478 |
+
var a = g.current;
|
1479 |
+
if (!a) {
|
1480 |
+
return
|
1481 |
+
}
|
1482 |
+
g.isOpen = g.isOpened = true;
|
1483 |
+
g.wrap.addClass("lightbox-opened").css("overflow", "visible");
|
1484 |
+
g.reposition();
|
1485 |
+
if (a.closeClick || a.nextClick) {
|
1486 |
+
g.inner.css("cursor", "pointer").bind("click.lb", function(b) {
|
1487 |
+
if (!c(b.target).is("a") && !c(b.target).parent().is("a")) {
|
1488 |
+
g[a.closeClick?"close":"next"]()
|
1489 |
+
}
|
1490 |
+
})
|
1491 |
+
}
|
1492 |
+
if (a.closeBtn) {
|
1493 |
+
c(a.template.closeBtn).appendTo(g.skin).bind("click.lb", g.close)
|
1494 |
+
}
|
1495 |
+
if (a.arrows && g.group.length > 1) {
|
1496 |
+
if (a.cyclic || a.index > 0) {
|
1497 |
+
c(a.template.prev).appendTo(g.outer).bind("click.lb", g.prev)
|
1498 |
+
}
|
1499 |
+
if (a.cyclic || a.index < g.group.length - 1) {
|
1500 |
+
c(a.template.next).appendTo(g.outer).bind("click.lb", g.next)
|
1501 |
+
}
|
1502 |
+
}
|
1503 |
+
|
1504 |
+
g.trigger("afterShow");
|
1505 |
+
if (!a.cyclic && a.index === a.group.length - 1) {
|
1506 |
+
g.play(false)
|
1507 |
+
} else if (g.opts.autoPlay && !g.player.isActive) {
|
1508 |
+
g.opts.autoPlay = false;
|
1509 |
+
g.play()
|
1510 |
+
}
|
1511 |
+
},
|
1512 |
+
_afterZoomOut : function() {
|
1513 |
+
var a = g.current;
|
1514 |
+
c(".lightbox-wrap").stop(true).trigger("onReset").remove();
|
1515 |
+
c.extend(g, {
|
1516 |
+
group : {},
|
1517 |
+
opts : {},
|
1518 |
+
router : false,
|
1519 |
+
current : null,
|
1520 |
+
isActive : false,
|
1521 |
+
isOpened : false,
|
1522 |
+
isOpen : false,
|
1523 |
+
isClosing : false,
|
1524 |
+
wrap : null,
|
1525 |
+
skin : null,
|
1526 |
+
utility : null,
|
1527 |
+
outer : null,
|
1528 |
+
inner : null
|
1529 |
+
});
|
1530 |
+
g.trigger("afterClose", a)
|
1531 |
+
}
|
1532 |
+
});
|
1533 |
+
g.transitions = {
|
1534 |
+
getOrigPosition : function() {
|
1535 |
+
var a = g.current, b = a.element, c = a.orig, d = {}, e = 50, f = 50, h = a.hPadding, i = a.wPadding, j = g.getViewport();
|
1536 |
+
if (!c && a.isDom && b.is(":visible")) {
|
1537 |
+
c = b.find("img:first");
|
1538 |
+
if (!c.length) {
|
1539 |
+
c = b
|
1540 |
+
}
|
1541 |
+
}
|
1542 |
+
if (k(c)) {
|
1543 |
+
d = c.offset();
|
1544 |
+
if (c.is("img")) {
|
1545 |
+
e = c.outerWidth();
|
1546 |
+
f = c.outerHeight()
|
1547 |
+
}
|
1548 |
+
} else {
|
1549 |
+
d.top = j.y + (j.h - f) * a.topRatio;
|
1550 |
+
d.left = j.x + (j.w - e) * a.leftRatio
|
1551 |
+
}
|
1552 |
+
if (a.locked) {
|
1553 |
+
d.top -= j.y;
|
1554 |
+
d.left -= j.x
|
1555 |
+
}
|
1556 |
+
d = {
|
1557 |
+
top : q(d.top - h * a.topRatio),
|
1558 |
+
left : q(d.left - i * a.leftRatio),
|
1559 |
+
width : q(e + i),
|
1560 |
+
height : q(f + h)
|
1561 |
+
};
|
1562 |
+
return d
|
1563 |
+
},
|
1564 |
+
step : function(a, b) {
|
1565 |
+
var c, d, e, f = b.prop, h = g.current, i = h.wrapSpace, j = h.skinSpace;
|
1566 |
+
if (f === "width" || f === "height") {
|
1567 |
+
c = b.end === b.start ? 1 : (a - b.start) / (b.end - b.start);
|
1568 |
+
if (g.isClosing) {
|
1569 |
+
c = 1 - c
|
1570 |
+
}
|
1571 |
+
d = f === "width" ? h.wPadding : h.hPadding;
|
1572 |
+
e = a - d;
|
1573 |
+
g.skin[f](p(f === "width" ? e : e - i * c));
|
1574 |
+
g.inner[f](p(f === "width" ? e : e - i * c - j * c))
|
1575 |
+
}
|
1576 |
+
},
|
1577 |
+
zoomIn : function() {
|
1578 |
+
var a = g.current, b = a.pos, d = a.transitionIn, e = d === "elastic", f = c.extend({
|
1579 |
+
opacity : 1
|
1580 |
+
}, b);
|
1581 |
+
delete f.position;
|
1582 |
+
if (e) {
|
1583 |
+
b = this.getOrigPosition();
|
1584 |
+
if (a.transitionInOpacity) {
|
1585 |
+
b.opacity = .1
|
1586 |
+
}
|
1587 |
+
} else if (d === "fade") {
|
1588 |
+
b.opacity = .1
|
1589 |
+
}
|
1590 |
+
g.wrap.css(b).animate(f, {
|
1591 |
+
duration : d === "none" ? 0 : a.transitionInSpeed,
|
1592 |
+
easing : a.transitionInEasing,
|
1593 |
+
step : e ? this.step : null,
|
1594 |
+
complete : g._afterZoomIn
|
1595 |
+
})
|
1596 |
+
},
|
1597 |
+
zoomOut : function() {
|
1598 |
+
var a = g.current, b = a.transitionOut, c = b === "elastic", d = {
|
1599 |
+
opacity : .1
|
1600 |
+
};
|
1601 |
+
if (c) {
|
1602 |
+
d = this.getOrigPosition();
|
1603 |
+
if (a.transitionOutOpacity) {
|
1604 |
+
d.opacity = .1
|
1605 |
+
}
|
1606 |
+
}
|
1607 |
+
g.wrap.animate(d, {
|
1608 |
+
duration : b === "none" ? 0 : a.transitionOutSpeed,
|
1609 |
+
easing : a.transitionOutEasing,
|
1610 |
+
step : c ? this.step : null,
|
1611 |
+
complete : g._afterZoomOut
|
1612 |
+
})
|
1613 |
+
},
|
1614 |
+
changeIn : function() {
|
1615 |
+
var a = g.current, b = a.transitionNext, c = a.pos, d = {
|
1616 |
+
opacity : 1
|
1617 |
+
}, e = g.direction, f = 200, h;
|
1618 |
+
c.opacity = .1;
|
1619 |
+
if (b === "shuffle") {
|
1620 |
+
h = e === "down" || e === "up" ? "top" : "left";
|
1621 |
+
if (e === "down" || e === "right") {
|
1622 |
+
c[h] = q(p(c[h]) - f);
|
1623 |
+
d[h] = "+=" + f + "px"
|
1624 |
+
} else {
|
1625 |
+
c[h] = q(p(c[h]) + f);
|
1626 |
+
d[h] = "-=" + f + "px"
|
1627 |
+
}
|
1628 |
+
}
|
1629 |
+
if (b === "none") {
|
1630 |
+
g._afterZoomIn()
|
1631 |
+
} else {
|
1632 |
+
g.wrap.css(c).animate(d, {
|
1633 |
+
duration : a.transitionNextSpeed,
|
1634 |
+
easing : a.transitionNextEasing,
|
1635 |
+
complete : g._afterZoomIn
|
1636 |
+
})
|
1637 |
+
}
|
1638 |
+
},
|
1639 |
+
changeOut : function() {
|
1640 |
+
var a = g.previous, b = a.transitionPrev, d = {
|
1641 |
+
opacity : .1
|
1642 |
+
}, e = g.direction, f = 200;
|
1643 |
+
if (b === "shuffle") {
|
1644 |
+
d[e === "down" || e === "up" ? "top" : "left"] = (e === "up" || e === "left" ? "-" : "+") + "=" + f + "px"
|
1645 |
+
}
|
1646 |
+
a.wrap.animate(d, {
|
1647 |
+
duration : b === "none" ? 0 : a.transitionPrevSpeed,
|
1648 |
+
easing : a.transitionPrevEasing,
|
1649 |
+
complete : function() {
|
1650 |
+
c(this).trigger("onReset").remove()
|
1651 |
+
}
|
1652 |
+
})
|
1653 |
+
}
|
1654 |
+
};
|
1655 |
+
g.addons.media = {
|
1656 |
+
types : {
|
1657 |
+
youtube : {
|
1658 |
+
matcher : /(youtube\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed)?([\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
|
1659 |
+
params : {
|
1660 |
+
autoplay : 1,
|
1661 |
+
autohide : 1,
|
1662 |
+
fs : 1,
|
1663 |
+
rel : 0,
|
1664 |
+
hd : 1,
|
1665 |
+
wmode : "opaque",
|
1666 |
+
enablejsapi : 1
|
1667 |
+
},
|
1668 |
+
type : "iframe",
|
1669 |
+
url : "//www.youtube.com/embed/$3"
|
1670 |
+
},
|
1671 |
+
vimeo : {
|
1672 |
+
matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/,
|
1673 |
+
params : {
|
1674 |
+
autoplay : 1,
|
1675 |
+
hd : 1,
|
1676 |
+
show_title : 1,
|
1677 |
+
show_byline : 1,
|
1678 |
+
show_portrait : 0,
|
1679 |
+
color : "",
|
1680 |
+
fullscreen : 1
|
1681 |
+
},
|
1682 |
+
type : "iframe",
|
1683 |
+
url : "//player.vimeo.com/video/$1"
|
1684 |
+
},
|
1685 |
+
metacafe : {
|
1686 |
+
matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/,
|
1687 |
+
params : {
|
1688 |
+
autoPlay : "yes"
|
1689 |
+
},
|
1690 |
+
type : "swf",
|
1691 |
+
url : function(a, b, d) {
|
1692 |
+
d.swf.flashVars = "playerVars=" + c.param(b, true);
|
1693 |
+
return "//www.metacafe.com/fplayer/" + a[1] + "/.swf"
|
1694 |
+
}
|
1695 |
+
},
|
1696 |
+
dailymotion : {
|
1697 |
+
matcher : /dailymotion.com\/video\/(.*)\/?(.*)/,
|
1698 |
+
params : {
|
1699 |
+
additionalInfos : 0,
|
1700 |
+
autoPlay : 1
|
1701 |
+
},
|
1702 |
+
type : "iframe",
|
1703 |
+
url : "//www.dailymotion.com/embed/video/$1"
|
1704 |
+
},
|
1705 |
+
telly : {
|
1706 |
+
matcher : /telly\.com\/([a-zA-Z0-9_\-\?\=]+)/i,
|
1707 |
+
params : {
|
1708 |
+
autoplay : 1
|
1709 |
+
},
|
1710 |
+
type : "iframe",
|
1711 |
+
url : "//www.telly.com/embed.php?guid=$1"
|
1712 |
+
},
|
1713 |
+
twitpic : {
|
1714 |
+
matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i,
|
1715 |
+
type : "image",
|
1716 |
+
url : "//twitpic.com/show/full/$1/"
|
1717 |
+
},
|
1718 |
+
instagram : {
|
1719 |
+
matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,
|
1720 |
+
type : "image",
|
1721 |
+
url : "//$1/p/$2/media/"
|
1722 |
+
},
|
1723 |
+
google_maps : {
|
1724 |
+
matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i,
|
1725 |
+
type : "iframe",
|
1726 |
+
url : function(a) {
|
1727 |
+
return "//maps.google." + a[1] + "/" + a[3] + "" + a[4] + "&output=" + (a[4].indexOf("layer=c") > 0 ? "svembed" : "embed")
|
1728 |
+
}
|
1729 |
+
}
|
1730 |
+
},
|
1731 |
+
beforeLoad : function(a, b) {
|
1732 |
+
var d = b.href || "", e = false, f, g, h, i;
|
1733 |
+
for (f in this.types) {
|
1734 |
+
g = this.types[f];
|
1735 |
+
h = d.match(g.matcher);
|
1736 |
+
if (h) {
|
1737 |
+
e = g.type;
|
1738 |
+
i = c.extend(true, {}, g.params, b[f] || (c.isPlainObject(a[f]) ? a[f].params : null));
|
1739 |
+
d = c.type(g.url) === "function" ? g.url.call(this, h, i, b) : r(g.url, h, i);
|
1740 |
+
break
|
1741 |
+
}
|
1742 |
+
}
|
1743 |
+
if (e) {
|
1744 |
+
b.href = d;
|
1745 |
+
b.type = e;
|
1746 |
+
b.autoHeight = false
|
1747 |
+
}
|
1748 |
+
}
|
1749 |
+
};
|
1750 |
+
g.addons.buttons = {
|
1751 |
+
template : '<div id="lightbox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li id="play_btn"><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li></ul></div>',
|
1752 |
+
list : null,
|
1753 |
+
buttons : null,
|
1754 |
+
skinOffset : null,
|
1755 |
+
skinTop : null,
|
1756 |
+
skinleft : null,
|
1757 |
+
skinWidth : null,
|
1758 |
+
skinHeight : null,
|
1759 |
+
buttonTop : null,
|
1760 |
+
buttonLeft : null,
|
1761 |
+
beforeLoad : function(a, b) {
|
1762 |
+
if (b.group.length < 2) {
|
1763 |
+
b.addons.buttons = false;
|
1764 |
+
b.closeBtn = true;
|
1765 |
+
return
|
1766 |
+
}
|
1767 |
+
},
|
1768 |
+
onPlayStart : function() {
|
1769 |
+
if (this.buttons) {
|
1770 |
+
slideval = 1;
|
1771 |
+
this.buttons.play.attr("title", "Pause slideshow").addClass("btnPlayOn")
|
1772 |
+
}
|
1773 |
+
},
|
1774 |
+
onPlayEnd : function() {
|
1775 |
+
if (this.buttons) {
|
1776 |
+
slideval = 0;
|
1777 |
+
this.buttons.play.attr("title", "Start slideshow").removeClass("btnPlayOn")
|
1778 |
+
}
|
1779 |
+
},
|
1780 |
+
beforeShow : function(a, b) {
|
1781 |
+
if (this.list)
|
1782 |
+
this.list.remove()
|
1783 |
+
},
|
1784 |
+
afterShow : function(a, b) {
|
1785 |
+
var d = this.buttons;
|
1786 |
+
if (c("body").find("#lightbox-buttons").length < 1) {
|
1787 |
+
this.list = c(a.template || this.template).addClass(a.position || "top").prependTo(g.utility.find("> div"));
|
1788 |
+
d = {
|
1789 |
+
prev : this.list.find(".btnPrev").click(g.prev),
|
1790 |
+
next : this.list.find(".btnNext").click(g.next),
|
1791 |
+
play : this.list.find(".btnPlay").click(g.play).addClass(g.player.isActive ? "btnPlayOn" : "")
|
1792 |
+
}
|
1793 |
+
}
|
1794 |
+
c(g.wrap).addClass("lightbox-gallery");
|
1795 |
+
g._setDimension();
|
1796 |
+
if (b.index > 0 || b.cyclic) {
|
1797 |
+
d.prev.removeClass("btnDisabled")
|
1798 |
+
} else {
|
1799 |
+
d.prev.addClass("btnDisabled")
|
1800 |
+
}
|
1801 |
+
if (b.cyclic || b.index < b.group.length - 1) {
|
1802 |
+
d.next.removeClass("btnDisabled");
|
1803 |
+
d.play.removeClass("btnDisabled")
|
1804 |
+
} else {
|
1805 |
+
d.next.addClass("btnDisabled");
|
1806 |
+
d.play.addClass("btnDisabled")
|
1807 |
+
}
|
1808 |
+
this.buttons = d;
|
1809 |
+
this.onUpdate(a, b)
|
1810 |
+
},
|
1811 |
+
onUpdate : function(a, b) {
|
1812 |
+
},
|
1813 |
+
beforeClose : function() {
|
1814 |
+
if (this.list) {
|
1815 |
+
this.list.remove()
|
1816 |
+
}
|
1817 |
+
this.list = null;
|
1818 |
+
this.buttons = null
|
1819 |
+
}
|
1820 |
+
};
|
1821 |
+
g.addons.overlay = {
|
1822 |
+
overlay : null,
|
1823 |
+
update : function() {
|
1824 |
+
var a = "100%", d;
|
1825 |
+
this.overlay.width(a).height("100%");
|
1826 |
+
if (c.browser.msie) {
|
1827 |
+
d = Math.max(b.documentElement.offsetWidth, b.body.offsetWidth);
|
1828 |
+
if (f.width() > d) {
|
1829 |
+
a = f.width()
|
1830 |
+
}
|
1831 |
+
} else if (f.width() > e.width()) {
|
1832 |
+
a = f.width()
|
1833 |
+
}
|
1834 |
+
this.overlay.width(a).height(f.height())
|
1835 |
+
},
|
1836 |
+
onReady : function(a, d) {
|
1837 |
+
c(".lightbox-overlay").stop(true, true);
|
1838 |
+
if (!this.overlay) {
|
1839 |
+
c.extend(this, {
|
1840 |
+
overlay : c('<div class="lightbox-overlay"></div>').appendTo(d.parent),
|
1841 |
+
margin : f.height() > e.height() || c("body").css("overflow-y") === "scroll" ? c("body").css("margin-right") : false,
|
1842 |
+
el : b.all && !b.querySelector ? c("html") : c("body")
|
1843 |
+
})
|
1844 |
+
}
|
1845 |
+
if (d.fixed && !i) {
|
1846 |
+
this.overlay.addClass("lightbox-overlay-fixed");
|
1847 |
+
if (d.autoCenter) {
|
1848 |
+
this.overlay.append(d.wrap);
|
1849 |
+
d.locked = this.overlay
|
1850 |
+
}
|
1851 |
+
}
|
1852 |
+
if (a.showEarly === true) {
|
1853 |
+
this.beforeShow.apply(this, arguments)
|
1854 |
+
}
|
1855 |
+
},
|
1856 |
+
beforeShow : function(a, b) {
|
1857 |
+
var d = this.overlay.unbind(".lb").width("auto").height("auto").css(a.css);
|
1858 |
+
if (a.closeClick) {
|
1859 |
+
d.bind("click.lb", function(a) {
|
1860 |
+
if (c(a.target).hasClass("lightbox-overlay")) {
|
1861 |
+
g.close()
|
1862 |
+
}
|
1863 |
+
})
|
1864 |
+
}
|
1865 |
+
if (b.fixed && !i) {
|
1866 |
+
if (b.locked) {
|
1867 |
+
this.el.addClass("lightbox-lock");
|
1868 |
+
if (this.margin !== false) {
|
1869 |
+
c("body").css("margin-right", p(this.margin) + b.scrollbarWidth)
|
1870 |
+
}
|
1871 |
+
}
|
1872 |
+
} else {
|
1873 |
+
this.update()
|
1874 |
+
}
|
1875 |
+
d.show()
|
1876 |
+
},
|
1877 |
+
onUpdate : function(a, b) {
|
1878 |
+
if (!b.fixed || i) {
|
1879 |
+
this.update()
|
1880 |
+
}
|
1881 |
+
},
|
1882 |
+
afterClose : function(a) {
|
1883 |
+
var b = this, d = a.speedOut || 0;
|
1884 |
+
if (b.overlay && !g.isActive) {
|
1885 |
+
b.overlay.fadeOut(d || 0, function() {
|
1886 |
+
c("body").css("margin-right", b.margin);
|
1887 |
+
b.el.removeClass("lightbox-lock");
|
1888 |
+
b.overlay.remove();
|
1889 |
+
b.overlay = null
|
1890 |
+
})
|
1891 |
+
}
|
1892 |
+
}
|
1893 |
+
};
|
1894 |
+
g.addons.title = {
|
1895 |
+
beforeShow : function(a) {
|
1896 |
+
var b = g.current.title, d = a.type, e, f;
|
1897 |
+
if (!l(b) || c.trim(b) === "") {
|
1898 |
+
return
|
1899 |
+
}
|
1900 |
+
e = c('<div id="div_text_color" class="lightbox-title lightbox-title-' + d + '-wrap">' + b + "</div>");
|
1901 |
+
switch(d) {
|
1902 |
+
case"inside":
|
1903 |
+
f = g.utility.find("> div");
|
1904 |
+
break;
|
1905 |
+
default:
|
1906 |
+
break;
|
1907 |
+
}
|
1908 |
+
e.appendTo(f)
|
1909 |
+
}
|
1910 |
+
};
|
1911 |
+
c.fn.lightbox = function(a) {
|
1912 |
+
var b, d = c(this), e = this.selector || "", h = function(f) {
|
1913 |
+
var h = c(this).blur(), i = b, j, k;
|
1914 |
+
if (!(f.ctrlKey || f.altKey || f.shiftKey || f.metaKey) && !h.is(".lightbox-wrap")) {
|
1915 |
+
j = a.groupAttr || "data-titan-group";
|
1916 |
+
k = h.attr(j);
|
1917 |
+
if (!k) {
|
1918 |
+
j = "rel";
|
1919 |
+
k = h.get(0)[j]
|
1920 |
+
}
|
1921 |
+
if (k && k !== "" && k !== "nofollow") {
|
1922 |
+
h = e.length ? c(e) : d;
|
1923 |
+
h = h.filter("[" + j + '="' + k + '"]');
|
1924 |
+
i = h.index(this)
|
1925 |
+
}
|
1926 |
+
a.index = i;
|
1927 |
+
if (g.open(h, a) !== false) {
|
1928 |
+
f.preventDefault()
|
1929 |
+
}
|
1930 |
+
}
|
1931 |
+
};
|
1932 |
+
a = a || {};
|
1933 |
+
b = a.index || 0;
|
1934 |
+
if (!e || a.live === false) {
|
1935 |
+
d.unbind("click.lb-start").bind("click.lb-start", h)
|
1936 |
+
} else {
|
1937 |
+
f.undelegate(e, "click.lb-start").delegate(e + ":not('.lightbox-item, .lightbox-nav')", "click.lb-start", h)
|
1938 |
+
}
|
1939 |
+
return this
|
1940 |
+
};
|
1941 |
+
f.ready(function() {
|
1942 |
+
if (c.scrollbarWidth === d) {
|
1943 |
+
c.scrollbarWidth = function() {
|
1944 |
+
var a = c('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"), b = a.children(), d = b.innerWidth() - b.height(99).innerWidth();
|
1945 |
+
a.remove();
|
1946 |
+
return d
|
1947 |
+
}
|
1948 |
+
}
|
1949 |
+
if (c.support.fixedPosition === d) {
|
1950 |
+
c.support.fixedPosition = function() {
|
1951 |
+
var a = c('<div style="position:fixed;top:20px;"></div>').appendTo("body"), b = a[0].offsetTop === 20 || a[0].offsetTop === 15;
|
1952 |
+
a.remove();
|
1953 |
+
return b
|
1954 |
+
}()
|
1955 |
+
}
|
1956 |
+
c.extend(g.defaults, {
|
1957 |
+
scrollbarWidth : c.scrollbarWidth(),
|
1958 |
+
fixed : c.support.fixedPosition,
|
1959 |
+
parent : c("body")
|
1960 |
+
})
|
1961 |
+
});
|
1962 |
+
|
1963 |
+
})(window, document, jQuery);
|
1964 |
+
|
assets/js/jquery_ui_custom.js
ADDED
@@ -0,0 +1,6378 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! jQuery UI - v1.9.0 - 2012-10-11
|
2 |
+
* http://jqueryui.com
|
3 |
+
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js
|
4 |
+
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
|
5 |
+
|
6 |
+
(function(e, t) {
|
7 |
+
function i(t, n) {
|
8 |
+
var r, i, o, u = t.nodeName.toLowerCase();
|
9 |
+
return "area" === u ? ( r = t.parentNode, i = r.name, !t.href || !i || r.nodeName.toLowerCase() !== "map" ? !1 : ( o = e("img[usemap=#"+i+"]")[0], !!o && s(o))) : (/input|select|textarea|button|object/.test(u) ? !t.disabled : "a" === u ? t.href || n : n) && s(t)
|
10 |
+
}
|
11 |
+
|
12 |
+
function s(t) {
|
13 |
+
return !e(t).parents().andSelf().filter(function() {
|
14 |
+
return e.css(this, "visibility") === "hidden" || e.expr.filters.hidden(this)
|
15 |
+
}).length
|
16 |
+
}
|
17 |
+
|
18 |
+
var n = 0, r = /^ui-id-\d+$/;
|
19 |
+
e.ui = e.ui || {};
|
20 |
+
if (e.ui.version)
|
21 |
+
return;
|
22 |
+
e.extend(e.ui, {
|
23 |
+
version : "1.9.0",
|
24 |
+
keyCode : {
|
25 |
+
BACKSPACE : 8,
|
26 |
+
COMMA : 188,
|
27 |
+
DELETE : 46,
|
28 |
+
DOWN : 40,
|
29 |
+
END : 35,
|
30 |
+
ENTER : 13,
|
31 |
+
ESCAPE : 27,
|
32 |
+
HOME : 36,
|
33 |
+
LEFT : 37,
|
34 |
+
NUMPAD_ADD : 107,
|
35 |
+
NUMPAD_DECIMAL : 110,
|
36 |
+
NUMPAD_DIVIDE : 111,
|
37 |
+
NUMPAD_ENTER : 108,
|
38 |
+
NUMPAD_MULTIPLY : 106,
|
39 |
+
NUMPAD_SUBTRACT : 109,
|
40 |
+
PAGE_DOWN : 34,
|
41 |
+
PAGE_UP : 33,
|
42 |
+
PERIOD : 190,
|
43 |
+
RIGHT : 39,
|
44 |
+
SPACE : 32,
|
45 |
+
TAB : 9,
|
46 |
+
UP : 38
|
47 |
+
}
|
48 |
+
}), e.fn.extend({
|
49 |
+
_focus : e.fn.focus,
|
50 |
+
focus : function(t, n) {
|
51 |
+
return typeof t == "number" ? this.each(function() {
|
52 |
+
var r = this;
|
53 |
+
setTimeout(function() {
|
54 |
+
e(r).focus(), n && n.call(r)
|
55 |
+
}, t)
|
56 |
+
}) : this._focus.apply(this, arguments)
|
57 |
+
},
|
58 |
+
scrollParent : function() {
|
59 |
+
var t;
|
60 |
+
return e.browser.msie && /(static|relative)/.test(this.css("position")) || /absolute/.test(this.css("position")) ? t = this.parents().filter(function() {
|
61 |
+
return /(relative|absolute|fixed)/.test(e.css(this, "position")) && /(auto|scroll)/.test(e.css(this, "overflow") + e.css(this, "overflow-y") + e.css(this, "overflow-x"))
|
62 |
+
}).eq(0) : t = this.parents().filter(function() {
|
63 |
+
return /(auto|scroll)/.test(e.css(this, "overflow") + e.css(this, "overflow-y") + e.css(this, "overflow-x"))
|
64 |
+
}).eq(0), /fixed/.test(this.css("position")) || !t.length ? e(document) : t
|
65 |
+
},
|
66 |
+
zIndex : function(n) {
|
67 |
+
if (n !== t)
|
68 |
+
return this.css("zIndex", n);
|
69 |
+
if (this.length) {
|
70 |
+
var r = e(this[0]), i, s;
|
71 |
+
while (r.length && r[0] !== document) {
|
72 |
+
i = r.css("position");
|
73 |
+
if (i === "absolute" || i === "relative" || i === "fixed") {
|
74 |
+
s = parseInt(r.css("zIndex"), 10);
|
75 |
+
if (!isNaN(s) && s !== 0)
|
76 |
+
return s
|
77 |
+
}
|
78 |
+
r = r.parent()
|
79 |
+
}
|
80 |
+
}
|
81 |
+
return 0
|
82 |
+
},
|
83 |
+
uniqueId : function() {
|
84 |
+
return this.each(function() {
|
85 |
+
this.id || (this.id = "ui-id-" + ++n)
|
86 |
+
})
|
87 |
+
},
|
88 |
+
removeUniqueId : function() {
|
89 |
+
return this.each(function() {
|
90 |
+
r.test(this.id) && e(this).removeAttr("id")
|
91 |
+
})
|
92 |
+
}
|
93 |
+
}), e("<a>").outerWidth(1).jquery || e.each(["Width", "Height"], function(n, r) {
|
94 |
+
function u(t, n, r, s) {
|
95 |
+
return e.each(i, function() {
|
96 |
+
n -= parseFloat(e.css(t, "padding" + this)) || 0, r && (n -= parseFloat(e.css(t, "border" + this + "Width")) || 0), s && (n -= parseFloat(e.css(t, "margin" + this)) || 0)
|
97 |
+
}), n
|
98 |
+
}
|
99 |
+
|
100 |
+
var i = r === "Width" ? ["Left", "Right"] : ["Top", "Bottom"], s = r.toLowerCase(), o = {
|
101 |
+
innerWidth : e.fn.innerWidth,
|
102 |
+
innerHeight : e.fn.innerHeight,
|
103 |
+
outerWidth : e.fn.outerWidth,
|
104 |
+
outerHeight : e.fn.outerHeight
|
105 |
+
};
|
106 |
+
e.fn["inner" + r] = function(n) {
|
107 |
+
return n === t ? o["inner" + r].call(this) : this.each(function() {
|
108 |
+
e(this).css(s, u(this, n) + "px")
|
109 |
+
})
|
110 |
+
}, e.fn["outer" + r] = function(t, n) {
|
111 |
+
return typeof t != "number" ? o["outer" + r].call(this, t) : this.each(function() {
|
112 |
+
e(this).css(s, u(this, t, !0, n) + "px")
|
113 |
+
})
|
114 |
+
}
|
115 |
+
}), e.extend(e.expr[":"], {
|
116 |
+
data : e.expr.createPseudo ? e.expr.createPseudo(function(t) {
|
117 |
+
return function(n) {
|
118 |
+
return !!e.data(n, t)
|
119 |
+
}
|
120 |
+
}) : function(t, n, r) {
|
121 |
+
return !!e.data(t, r[3])
|
122 |
+
},
|
123 |
+
focusable : function(t) {
|
124 |
+
return i(t, !isNaN(e.attr(t, "tabindex")))
|
125 |
+
},
|
126 |
+
tabbable : function(t) {
|
127 |
+
var n = e.attr(t, "tabindex"), r = isNaN(n);
|
128 |
+
return (r || n >= 0) && i(t, !r)
|
129 |
+
}
|
130 |
+
}), e(function() {
|
131 |
+
var t = document.body, n = t.appendChild( n = document.createElement("div"));
|
132 |
+
n.offsetHeight, e.extend(n.style, {
|
133 |
+
minHeight : "100px",
|
134 |
+
height : "auto",
|
135 |
+
padding : 0,
|
136 |
+
borderWidth : 0
|
137 |
+
}), e.support.minHeight = n.offsetHeight === 100, e.support.selectstart = "onselectstart" in n, t.removeChild(n).style.display = "none"
|
138 |
+
}), e.fn.extend({
|
139 |
+
disableSelection : function() {
|
140 |
+
return this.bind((e.support.selectstart ? "selectstart" : "mousedown") + ".ui-disableSelection", function(e) {
|
141 |
+
e.preventDefault()
|
142 |
+
})
|
143 |
+
},
|
144 |
+
enableSelection : function() {
|
145 |
+
return this.unbind(".ui-disableSelection")
|
146 |
+
}
|
147 |
+
}), e.extend(e.ui, {
|
148 |
+
plugin : {
|
149 |
+
add : function(t, n, r) {
|
150 |
+
var i, s = e.ui[t].prototype;
|
151 |
+
for (i in r)s.plugins[i] = s.plugins[i] || [], s.plugins[i].push([n, r[i]])
|
152 |
+
},
|
153 |
+
call : function(e, t, n) {
|
154 |
+
var r, i = e.plugins[t];
|
155 |
+
if (!i || !e.element[0].parentNode || e.element[0].parentNode.nodeType === 11)
|
156 |
+
return;
|
157 |
+
for ( r = 0; r < i.length; r++)
|
158 |
+
e.options[i[r][0]] && i[r][1].apply(e.element, n)
|
159 |
+
}
|
160 |
+
},
|
161 |
+
contains : e.contains,
|
162 |
+
hasScroll : function(t, n) {
|
163 |
+
if (e(t).css("overflow") === "hidden")
|
164 |
+
return !1;
|
165 |
+
var r = n && n === "left" ? "scrollLeft" : "scrollTop", i = !1;
|
166 |
+
return t[r] > 0 ? !0 : (t[r] = 1, i = t[r] > 0, t[r] = 0, i)
|
167 |
+
},
|
168 |
+
isOverAxis : function(e, t, n) {
|
169 |
+
return e > t && e < t + n
|
170 |
+
},
|
171 |
+
isOver : function(t, n, r, i, s, o) {
|
172 |
+
return e.ui.isOverAxis(t, r, s) && e.ui.isOverAxis(n, i, o)
|
173 |
+
}
|
174 |
+
})
|
175 |
+
})(jQuery);
|
176 |
+
(function(e, t) {
|
177 |
+
var n = 0, r = Array.prototype.slice, i = e.cleanData;
|
178 |
+
e.cleanData = function(t) {
|
179 |
+
for (var n = 0, r; ( r = t[n]) != null; n++)
|
180 |
+
try {
|
181 |
+
e(r).triggerHandler("remove")
|
182 |
+
} catch(s) {
|
183 |
+
}
|
184 |
+
i(t)
|
185 |
+
}, e.widget = function(t, n, r) {
|
186 |
+
var i, s, o, u, a = t.split(".")[0];
|
187 |
+
t = t.split(".")[1], i = a + "-" + t, r || ( r = n, n = e.Widget), e.expr[":"][i.toLowerCase()] = function(t) {
|
188 |
+
return !!e.data(t, i)
|
189 |
+
}, e[a] = e[a] || {}, s = e[a][t], o = e[a][t] = function(e, t) {
|
190 |
+
if (!this._createWidget)
|
191 |
+
return new o(e, t);
|
192 |
+
arguments.length && this._createWidget(e, t)
|
193 |
+
}, e.extend(o, s, {
|
194 |
+
version : r.version,
|
195 |
+
_proto : e.extend({}, r),
|
196 |
+
_childConstructors : []
|
197 |
+
}), u = new n, u.options = e.widget.extend({}, u.options), e.each(r, function(t, i) {
|
198 |
+
e.isFunction(i) && (r[t] = function() {
|
199 |
+
var e = function() {
|
200 |
+
return n.prototype[t].apply(this, arguments)
|
201 |
+
}, r = function(e) {
|
202 |
+
return n.prototype[t].apply(this, e)
|
203 |
+
};
|
204 |
+
return function() {
|
205 |
+
var t = this._super, n = this._superApply, s;
|
206 |
+
return this._super = e, this._superApply = r, s = i.apply(this, arguments), this._super = t, this._superApply = n, s
|
207 |
+
}
|
208 |
+
}())
|
209 |
+
}), o.prototype = e.widget.extend(u, {
|
210 |
+
widgetEventPrefix : t
|
211 |
+
}, r, {
|
212 |
+
constructor : o,
|
213 |
+
namespace : a,
|
214 |
+
widgetName : t,
|
215 |
+
widgetBaseClass : i,
|
216 |
+
widgetFullName : i
|
217 |
+
}), s ? (e.each(s._childConstructors, function(t, n) {
|
218 |
+
var r = n.prototype;
|
219 |
+
e.widget(r.namespace + "." + r.widgetName, o, n._proto)
|
220 |
+
}),
|
221 |
+
delete s._childConstructors) : n._childConstructors.push(o), e.widget.bridge(t, o)
|
222 |
+
}, e.widget.extend = function(n) {
|
223 |
+
var i = r.call(arguments, 1), s = 0, o = i.length, u, a;
|
224 |
+
for (; s < o; s++)
|
225 |
+
for (u in i[s]) a = i[s][u], i[s].hasOwnProperty(u) && a !== t && (n[u] = e.isPlainObject(a) ? e.widget.extend({}, n[u], a) : a);
|
226 |
+
return n
|
227 |
+
}, e.widget.bridge = function(n, i) {
|
228 |
+
var s = i.prototype.widgetFullName;
|
229 |
+
e.fn[n] = function(o) {
|
230 |
+
var u = typeof o == "string", a = r.call(arguments, 1), f = this;
|
231 |
+
return o = !u && a.length ? e.widget.extend.apply(null, [o].concat(a)) : o, u ? this.each(function() {
|
232 |
+
var r, i = e.data(this, s);
|
233 |
+
if (!i)
|
234 |
+
return e.error("cannot call methods on " + n + " prior to initialization; " + "attempted to call method '" + o + "'");
|
235 |
+
if (!e.isFunction(i[o]) || o.charAt(0) === "_")
|
236 |
+
return e.error("no such method '" + o + "' for " + n + " widget instance");
|
237 |
+
r = i[o].apply(i, a);
|
238 |
+
if (r !== i && r !== t)
|
239 |
+
return f = r && r.jquery ? f.pushStack(r.get()) : r, !1
|
240 |
+
}) : this.each(function() {
|
241 |
+
var t = e.data(this, s);
|
242 |
+
t ? t.option(o || {})._init() : new i(o, this)
|
243 |
+
}), f
|
244 |
+
}
|
245 |
+
}, e.Widget = function(e, t) {
|
246 |
+
}, e.Widget._childConstructors = [], e.Widget.prototype = {
|
247 |
+
widgetName : "widget",
|
248 |
+
widgetEventPrefix : "",
|
249 |
+
defaultElement : "<div>",
|
250 |
+
options : {
|
251 |
+
disabled : !1,
|
252 |
+
create : null
|
253 |
+
},
|
254 |
+
_createWidget : function(t, r) {
|
255 |
+
r = e(r||this.defaultElement||this)[0], this.element = e(r), this.uuid = n++, this.eventNamespace = "." + this.widgetName + this.uuid, this.options = e.widget.extend({}, this.options, this._getCreateOptions(), t), this.bindings = e(), this.hoverable = e(), this.focusable = e(), r !== this && (e.data(r, this.widgetName, this), e.data(r, this.widgetFullName, this), this._on({
|
256 |
+
remove : "destroy"
|
257 |
+
}), this.document = e(r.style ? r.ownerDocument : r.document || r), this.window = e(this.document[0].defaultView || this.document[0].parentWindow)), this._create(), this._trigger("create", null, this._getCreateEventData()), this._init()
|
258 |
+
},
|
259 |
+
_getCreateOptions : e.noop,
|
260 |
+
_getCreateEventData : e.noop,
|
261 |
+
_create : e.noop,
|
262 |
+
_init : e.noop,
|
263 |
+
destroy : function() {
|
264 |
+
this._destroy(), this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)), this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName + "-disabled " + "ui-state-disabled"), this.bindings.unbind(this.eventNamespace), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus")
|
265 |
+
},
|
266 |
+
_destroy : e.noop,
|
267 |
+
widget : function() {
|
268 |
+
return this.element
|
269 |
+
},
|
270 |
+
option : function(n, r) {
|
271 |
+
var i = n, s, o, u;
|
272 |
+
if (arguments.length === 0)
|
273 |
+
return e.widget.extend({}, this.options);
|
274 |
+
if ( typeof n == "string") {
|
275 |
+
i = {}, s = n.split("."), n = s.shift();
|
276 |
+
if (s.length) {
|
277 |
+
o = i[n] = e.widget.extend({}, this.options[n]);
|
278 |
+
for ( u = 0; u < s.length - 1; u++)
|
279 |
+
o[s[u]] = o[s[u]] || {}, o = o[s[u]];
|
280 |
+
n = s.pop();
|
281 |
+
if (r === t)
|
282 |
+
return o[n] === t ? null : o[n];
|
283 |
+
o[n] = r
|
284 |
+
} else {
|
285 |
+
if (r === t)
|
286 |
+
return this.options[n] === t ? null : this.options[n];
|
287 |
+
i[n] = r
|
288 |
+
}
|
289 |
+
}
|
290 |
+
return this._setOptions(i), this
|
291 |
+
},
|
292 |
+
_setOptions : function(e) {
|
293 |
+
var t;
|
294 |
+
for (t in e)
|
295 |
+
this._setOption(t, e[t]);
|
296 |
+
return this
|
297 |
+
},
|
298 |
+
_setOption : function(e, t) {
|
299 |
+
return this.options[e] = t, e === "disabled" && (this.widget().toggleClass(this.widgetFullName + "-disabled ui-state-disabled", !!t).attr("aria-disabled", t), this.hoverable.removeClass("ui-state-hover"), this.focusable.removeClass("ui-state-focus")), this
|
300 |
+
},
|
301 |
+
enable : function() {
|
302 |
+
return this._setOption("disabled", !1)
|
303 |
+
},
|
304 |
+
disable : function() {
|
305 |
+
return this._setOption("disabled", !0)
|
306 |
+
},
|
307 |
+
_on : function(t, n) {
|
308 |
+
n ? ( t = e(t), this.bindings = this.bindings.add(t)) : ( n = t, t = this.element);
|
309 |
+
var r = this;
|
310 |
+
e.each(n, function(n, i) {
|
311 |
+
function s() {
|
312 |
+
if (r.options.disabled === !0 || e(this).hasClass("ui-state-disabled"))
|
313 |
+
return;
|
314 |
+
return ( typeof i == "string" ? r[i] : i).apply(r, arguments)
|
315 |
+
}
|
316 |
+
typeof i != "string" && (s.guid = i.guid = i.guid || s.guid || e.guid++);
|
317 |
+
var o = n.match(/^(\w+)\s*(.*)$/), u = o[1] + r.eventNamespace, a = o[2];
|
318 |
+
a ? r.widget().delegate(a, u, s) : t.bind(u, s)
|
319 |
+
})
|
320 |
+
},
|
321 |
+
_off : function(e, t) {
|
322 |
+
t = (t || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace, e.unbind(t).undelegate(t)
|
323 |
+
},
|
324 |
+
_delay : function(e, t) {
|
325 |
+
function n() {
|
326 |
+
return ( typeof e == "string" ? r[e] : e).apply(r, arguments)
|
327 |
+
}
|
328 |
+
|
329 |
+
var r = this;
|
330 |
+
return setTimeout(n, t || 0)
|
331 |
+
},
|
332 |
+
_hoverable : function(t) {
|
333 |
+
this.hoverable = this.hoverable.add(t), this._on(t, {
|
334 |
+
mouseenter : function(t) {
|
335 |
+
e(t.currentTarget).addClass("ui-state-hover")
|
336 |
+
},
|
337 |
+
mouseleave : function(t) {
|
338 |
+
e(t.currentTarget).removeClass("ui-state-hover")
|
339 |
+
}
|
340 |
+
})
|
341 |
+
},
|
342 |
+
_focusable : function(t) {
|
343 |
+
this.focusable = this.focusable.add(t), this._on(t, {
|
344 |
+
focusin : function(t) {
|
345 |
+
e(t.currentTarget).addClass("ui-state-focus")
|
346 |
+
},
|
347 |
+
focusout : function(t) {
|
348 |
+
e(t.currentTarget).removeClass("ui-state-focus")
|
349 |
+
}
|
350 |
+
})
|
351 |
+
},
|
352 |
+
_trigger : function(t, n, r) {
|
353 |
+
var i, s, o = this.options[t];
|
354 |
+
r = r || {}, n = e.Event(n), n.type = (t === this.widgetEventPrefix ? t : this.widgetEventPrefix + t).toLowerCase(), n.target = this.element[0], s = n.originalEvent;
|
355 |
+
if (s)
|
356 |
+
for (i in s) i in n || (n[i] = s[i]);
|
357 |
+
return this.element.trigger(n, r), !(e.isFunction(o) && o.apply(this.element[0], [n].concat(r)) === !1 || n.isDefaultPrevented())
|
358 |
+
}
|
359 |
+
}, e.each({
|
360 |
+
show : "fadeIn",
|
361 |
+
hide : "fadeOut"
|
362 |
+
}, function(t, n) {
|
363 |
+
e.Widget.prototype["_" + t] = function(r, i, s) {
|
364 |
+
typeof i == "string" && ( i = {
|
365 |
+
effect : i
|
366 |
+
});
|
367 |
+
var o, u = i ? i === !0 || typeof i == "number" ? n : i.effect || n : t;
|
368 |
+
i = i || {}, typeof i == "number" && ( i = {
|
369 |
+
duration : i
|
370 |
+
}), o = !e.isEmptyObject(i), i.complete = s, i.delay && r.delay(i.delay), o && e.effects && (e.effects.effect[u] || e.uiBackCompat !== !1 && e.effects[u]) ? r[t](i) : u !== t && r[u] ? r[u](i.duration, i.easing, s) : r.queue(function(n) {
|
371 |
+
e(this)[t](), s && s.call(r[0]), n()
|
372 |
+
})
|
373 |
+
}
|
374 |
+
}), e.uiBackCompat !== !1 && (e.Widget.prototype._getCreateOptions = function() {
|
375 |
+
return e.metadata && e.metadata.get(this.element[0])[this.widgetName]
|
376 |
+
})
|
377 |
+
})(jQuery);
|
378 |
+
(function(e, t) {
|
379 |
+
var n = !1;
|
380 |
+
e(document).mouseup(function(e) {
|
381 |
+
n = !1
|
382 |
+
}), e.widget("ui.mouse", {
|
383 |
+
version : "1.9.0",
|
384 |
+
options : {
|
385 |
+
cancel : "input,textarea,button,select,option",
|
386 |
+
distance : 1,
|
387 |
+
delay : 0
|
388 |
+
},
|
389 |
+
_mouseInit : function() {
|
390 |
+
var t = this;
|
391 |
+
this.element.bind("mousedown." + this.widgetName, function(e) {
|
392 |
+
return t._mouseDown(e)
|
393 |
+
}).bind("click." + this.widgetName, function(n) {
|
394 |
+
if (!0 === e.data(n.target, t.widgetName + ".preventClickEvent"))
|
395 |
+
return e.removeData(n.target, t.widgetName + ".preventClickEvent"), n.stopImmediatePropagation(), !1
|
396 |
+
}), this.started = !1
|
397 |
+
},
|
398 |
+
_mouseDestroy : function() {
|
399 |
+
this.element.unbind("." + this.widgetName), this._mouseMoveDelegate && e(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate)
|
400 |
+
},
|
401 |
+
_mouseDown : function(t) {
|
402 |
+
if (n)
|
403 |
+
return;
|
404 |
+
this._mouseStarted && this._mouseUp(t), this._mouseDownEvent = t;
|
405 |
+
var r = this, i = t.which === 1, s = typeof this.options.cancel == "string" && t.target.nodeName ? e(t.target).closest(this.options.cancel).length : !1;
|
406 |
+
if (!i || s || !this._mouseCapture(t))
|
407 |
+
return !0;
|
408 |
+
this.mouseDelayMet = !this.options.delay, this.mouseDelayMet || (this._mouseDelayTimer = setTimeout(function() {
|
409 |
+
r.mouseDelayMet = !0
|
410 |
+
}, this.options.delay));
|
411 |
+
if (this._mouseDistanceMet(t) && this._mouseDelayMet(t)) {
|
412 |
+
this._mouseStarted = this._mouseStart(t) !== !1;
|
413 |
+
if (!this._mouseStarted)
|
414 |
+
return t.preventDefault(), !0
|
415 |
+
}
|
416 |
+
return !0 === e.data(t.target, this.widgetName + ".preventClickEvent") && e.removeData(t.target, this.widgetName + ".preventClickEvent"), this._mouseMoveDelegate = function(e) {
|
417 |
+
return r._mouseMove(e)
|
418 |
+
}, this._mouseUpDelegate = function(e) {
|
419 |
+
return r._mouseUp(e)
|
420 |
+
}, e(document).bind("mousemove." + this.widgetName, this._mouseMoveDelegate).bind("mouseup." + this.widgetName, this._mouseUpDelegate), t.preventDefault(), n = !0, !0
|
421 |
+
},
|
422 |
+
_mouseMove : function(t) {
|
423 |
+
return !e.browser.msie || document.documentMode >= 9 || !!t.button ? this._mouseStarted ? (this._mouseDrag(t), t.preventDefault()) : (this._mouseDistanceMet(t) && this._mouseDelayMet(t) && (this._mouseStarted = this._mouseStart(this._mouseDownEvent, t) !== !1, this._mouseStarted ? this._mouseDrag(t) : this._mouseUp(t)), !this._mouseStarted) : this._mouseUp(t)
|
424 |
+
},
|
425 |
+
_mouseUp : function(t) {
|
426 |
+
return e(document).unbind("mousemove." + this.widgetName, this._mouseMoveDelegate).unbind("mouseup." + this.widgetName, this._mouseUpDelegate), this._mouseStarted && (this._mouseStarted = !1, t.target === this._mouseDownEvent.target && e.data(t.target, this.widgetName + ".preventClickEvent", !0), this._mouseStop(t)), !1
|
427 |
+
},
|
428 |
+
_mouseDistanceMet : function(e) {
|
429 |
+
return Math.max(Math.abs(this._mouseDownEvent.pageX - e.pageX), Math.abs(this._mouseDownEvent.pageY - e.pageY)) >= this.options.distance
|
430 |
+
},
|
431 |
+
_mouseDelayMet : function(e) {
|
432 |
+
return this.mouseDelayMet
|
433 |
+
},
|
434 |
+
_mouseStart : function(e) {
|
435 |
+
},
|
436 |
+
_mouseDrag : function(e) {
|
437 |
+
},
|
438 |
+
_mouseStop : function(e) {
|
439 |
+
},
|
440 |
+
_mouseCapture : function(e) {
|
441 |
+
return !0
|
442 |
+
}
|
443 |
+
})
|
444 |
+
})(jQuery);
|
445 |
+
(function(e, t) {
|
446 |
+
function h(e, t, n) {
|
447 |
+
return [parseInt(e[0], 10) * (l.test(e[0]) ? t / 100 : 1), parseInt(e[1], 10) * (l.test(e[1]) ? n / 100 : 1)]
|
448 |
+
}
|
449 |
+
|
450 |
+
function p(t, n) {
|
451 |
+
return parseInt(e.css(t, n), 10) || 0
|
452 |
+
}
|
453 |
+
e.ui = e.ui || {};
|
454 |
+
var n, r = Math.max, i = Math.abs, s = Math.round, o = /left|center|right/, u = /top|center|bottom/, a = /[\+\-]\d+%?/, f = /^\w+/, l = /%$/, c = e.fn.position;
|
455 |
+
e.position = {
|
456 |
+
scrollbarWidth : function() {
|
457 |
+
if (n !== t)
|
458 |
+
return n;
|
459 |
+
var r, i, s = e("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"), o = s.children()[0];
|
460 |
+
return e("body").append(s), r = o.offsetWidth, s.css("overflow", "scroll"), i = o.offsetWidth, r === i && ( i = s[0].clientWidth), s.remove(), n = r - i
|
461 |
+
},
|
462 |
+
getScrollInfo : function(t) {
|
463 |
+
var n = t.isWindow ? "" : t.element.css("overflow-x"), r = t.isWindow ? "" : t.element.css("overflow-y"), i = n === "scroll" || n === "auto" && t.width < t.element[0].scrollWidth, s = r === "scroll" || r === "auto" && t.height < t.element[0].scrollHeight;
|
464 |
+
return {
|
465 |
+
width : i ? e.position.scrollbarWidth() : 0,
|
466 |
+
height : s ? e.position.scrollbarWidth() : 0
|
467 |
+
}
|
468 |
+
},
|
469 |
+
getWithinInfo : function(t) {
|
470 |
+
var n = e(t || window), r = e.isWindow(n[0]);
|
471 |
+
return {
|
472 |
+
element : n,
|
473 |
+
isWindow : r,
|
474 |
+
offset : n.offset() || {
|
475 |
+
left : 0,
|
476 |
+
top : 0
|
477 |
+
},
|
478 |
+
scrollLeft : n.scrollLeft(),
|
479 |
+
scrollTop : n.scrollTop(),
|
480 |
+
width : r ? n.width() : n.outerWidth(),
|
481 |
+
height : r ? n.height() : n.outerHeight()
|
482 |
+
}
|
483 |
+
}
|
484 |
+
}, e.fn.position = function(t) {
|
485 |
+
if (!t || !t.of)
|
486 |
+
return c.apply(this, arguments);
|
487 |
+
t = e.extend({}, t);
|
488 |
+
var n, l, d, v, m, g = e(t.of), y = e.position.getWithinInfo(t.within), b = e.position.getScrollInfo(y), w = g[0], E = (t.collision || "flip").split(" "), S = {};
|
489 |
+
return w.nodeType === 9 ? ( l = g.width(), d = g.height(), v = {
|
490 |
+
top : 0,
|
491 |
+
left : 0
|
492 |
+
}) : e.isWindow(w) ? ( l = g.width(), d = g.height(), v = {
|
493 |
+
top : g.scrollTop(),
|
494 |
+
left : g.scrollLeft()
|
495 |
+
}) : w.preventDefault ? (t.at = "left top", l = d = 0, v = {
|
496 |
+
top : w.pageY,
|
497 |
+
left : w.pageX
|
498 |
+
}) : ( l = g.outerWidth(), d = g.outerHeight(), v = g.offset()), m = e.extend({}, v), e.each(["my", "at"], function() {
|
499 |
+
var e = (t[this] || "").split(" "), n, r;
|
500 |
+
e.length === 1 && ( e = o.test(e[0]) ? e.concat(["center"]) : u.test(e[0]) ? ["center"].concat(e) : ["center", "center"]), e[0] = o.test(e[0]) ? e[0] : "center", e[1] = u.test(e[1]) ? e[1] : "center", n = a.exec(e[0]), r = a.exec(e[1]), S[this] = [ n ? n[0] : 0, r ? r[0] : 0], t[this] = [f.exec(e[0])[0], f.exec(e[1])[0]]
|
501 |
+
}), E.length === 1 && (E[1] = E[0]), t.at[0] === "right" ? m.left += l : t.at[0] === "center" && (m.left += l / 2), t.at[1] === "bottom" ? m.top += d : t.at[1] === "center" && (m.top += d / 2), n = h(S.at, l, d), m.left += n[0], m.top += n[1], this.each(function() {
|
502 |
+
var o, u, a = e(this), f = a.outerWidth(), c = a.outerHeight(), w = p(this, "marginLeft"), x = p(this, "marginTop"), T = f + w + p(this, "marginRight") + b.width, N = c + x + p(this, "marginBottom") + b.height, C = e.extend({}, m), k = h(S.my, a.outerWidth(), a.outerHeight());
|
503 |
+
t.my[0] === "right" ? C.left -= f : t.my[0] === "center" && (C.left -= f / 2), t.my[1] === "bottom" ? C.top -= c : t.my[1] === "center" && (C.top -= c / 2), C.left += k[0], C.top += k[1], e.support.offsetFractions || (C.left = s(C.left), C.top = s(C.top)), o = {
|
504 |
+
marginLeft : w,
|
505 |
+
marginTop : x
|
506 |
+
}, e.each(["left", "top"], function(r, i) {
|
507 |
+
e.ui.position[E[r]] && e.ui.position[E[r]][i](C, {
|
508 |
+
targetWidth : l,
|
509 |
+
targetHeight : d,
|
510 |
+
elemWidth : f,
|
511 |
+
elemHeight : c,
|
512 |
+
collisionPosition : o,
|
513 |
+
collisionWidth : T,
|
514 |
+
collisionHeight : N,
|
515 |
+
offset : [n[0] + k[0], n[1] + k[1]],
|
516 |
+
my : t.my,
|
517 |
+
at : t.at,
|
518 |
+
within : y,
|
519 |
+
elem : a
|
520 |
+
})
|
521 |
+
}), e.fn.bgiframe && a.bgiframe(), t.using && ( u = function(e) {
|
522 |
+
var n = v.left - C.left, s = n + l - f, o = v.top - C.top, u = o + d - c, h = {
|
523 |
+
target : {
|
524 |
+
element : g,
|
525 |
+
left : v.left,
|
526 |
+
top : v.top,
|
527 |
+
width : l,
|
528 |
+
height : d
|
529 |
+
},
|
530 |
+
element : {
|
531 |
+
element : a,
|
532 |
+
left : C.left,
|
533 |
+
top : C.top,
|
534 |
+
width : f,
|
535 |
+
height : c
|
536 |
+
},
|
537 |
+
horizontal : s < 0 ? "left" : n > 0 ? "right" : "center",
|
538 |
+
vertical : u < 0 ? "top" : o > 0 ? "bottom" : "middle"
|
539 |
+
};
|
540 |
+
l < f && i(n + s) < l && (h.horizontal = "center"), d < c && i(o + u) < d && (h.vertical = "middle"), r(i(n), i(s)) > r(i(o), i(u)) ? h.important = "horizontal" : h.important = "vertical", t.using.call(this, e, h)
|
541 |
+
}), a.offset(e.extend(C, {
|
542 |
+
using : u
|
543 |
+
}))
|
544 |
+
})
|
545 |
+
}, e.ui.position = {
|
546 |
+
fit : {
|
547 |
+
left : function(e, t) {
|
548 |
+
var n = t.within, i = n.isWindow ? n.scrollLeft : n.offset.left, s = n.width, o = e.left - t.collisionPosition.marginLeft, u = i - o, a = o + t.collisionWidth - s - i, f;
|
549 |
+
t.collisionWidth > s ? u > 0 && a <= 0 ? ( f = e.left + u + t.collisionWidth - s - i, e.left += u - f) : a > 0 && u <= 0 ? e.left = i : u > a ? e.left = i + s - t.collisionWidth : e.left = i : u > 0 ? e.left += u : a > 0 ? e.left -= a : e.left = r(e.left - o, e.left)
|
550 |
+
},
|
551 |
+
top : function(e, t) {
|
552 |
+
var n = t.within, i = n.isWindow ? n.scrollTop : n.offset.top, s = t.within.height, o = e.top - t.collisionPosition.marginTop, u = i - o, a = o + t.collisionHeight - s - i, f;
|
553 |
+
t.collisionHeight > s ? u > 0 && a <= 0 ? ( f = e.top + u + t.collisionHeight - s - i, e.top += u - f) : a > 0 && u <= 0 ? e.top = i : u > a ? e.top = i + s - t.collisionHeight : e.top = i : u > 0 ? e.top += u : a > 0 ? e.top -= a : e.top = r(e.top - o, e.top)
|
554 |
+
}
|
555 |
+
},
|
556 |
+
flip : {
|
557 |
+
left : function(e, t) {
|
558 |
+
var n = t.within, r = n.offset.left + n.scrollLeft, s = n.width, o = n.isWindow ? n.scrollLeft : n.offset.left, u = e.left - t.collisionPosition.marginLeft, a = u - o, f = u + t.collisionWidth - s - o, l = t.my[0] === "left" ? -t.elemWidth : t.my[0] === "right" ? t.elemWidth : 0, c = t.at[0] === "left" ? t.targetWidth : t.at[0] === "right" ? -t.targetWidth : 0, h = -2 * t.offset[0], p, d;
|
559 |
+
if (a < 0) {
|
560 |
+
p = e.left + l + c + h + t.collisionWidth - s - r;
|
561 |
+
if (p < 0 || p < i(a))
|
562 |
+
e.left += l + c + h
|
563 |
+
} else if (f > 0) {
|
564 |
+
d = e.left - t.collisionPosition.marginLeft + l + c + h - o;
|
565 |
+
if (d > 0 || i(d) < f)
|
566 |
+
e.left += l + c + h
|
567 |
+
}
|
568 |
+
},
|
569 |
+
top : function(e, t) {
|
570 |
+
var n = t.within, r = n.offset.top + n.scrollTop, s = n.height, o = n.isWindow ? n.scrollTop : n.offset.top, u = e.top - t.collisionPosition.marginTop, a = u - o, f = u + t.collisionHeight - s - o, l = t.my[1] === "top", c = l ? -t.elemHeight : t.my[1] === "bottom" ? t.elemHeight : 0, h = t.at[1] === "top" ? t.targetHeight : t.at[1] === "bottom" ? -t.targetHeight : 0, p = -2 * t.offset[1], d, v;
|
571 |
+
a < 0 ? ( v = e.top + c + h + p + t.collisionHeight - s - r, e.top + c + h + p > a && (v < 0 || v < i(a)) && (e.top += c + h + p)) : f > 0 && ( d = e.top - t.collisionPosition.marginTop + c + h + p - o, e.top + c + h + p > f && (d > 0 || i(d) < f) && (e.top += c + h + p))
|
572 |
+
}
|
573 |
+
},
|
574 |
+
flipfit : {
|
575 |
+
left : function() {
|
576 |
+
e.ui.position.flip.left.apply(this, arguments), e.ui.position.fit.left.apply(this, arguments)
|
577 |
+
},
|
578 |
+
top : function() {
|
579 |
+
e.ui.position.flip.top.apply(this, arguments), e.ui.position.fit.top.apply(this, arguments)
|
580 |
+
}
|
581 |
+
}
|
582 |
+
}, function() {
|
583 |
+
var t, n, r, i, s, o = document.getElementsByTagName("body")[0], u = document.createElement("div");
|
584 |
+
t = document.createElement( o ? "div" : "body"), r = {
|
585 |
+
visibility : "hidden",
|
586 |
+
width : 0,
|
587 |
+
height : 0,
|
588 |
+
border : 0,
|
589 |
+
margin : 0,
|
590 |
+
background : "none"
|
591 |
+
}, o && e.extend(r, {
|
592 |
+
position : "absolute",
|
593 |
+
left : "-1000px",
|
594 |
+
top : "-1000px"
|
595 |
+
});
|
596 |
+
for (s in r)
|
597 |
+
t.style[s] = r[s];
|
598 |
+
t.appendChild(u), n = o || document.documentElement, n.insertBefore(t, n.firstChild), u.style.cssText = "position: absolute; left: 10.7432222px;", i = e(u).offset().left, e.support.offsetFractions = i > 10 && i < 11, t.innerHTML = "", n.removeChild(t)
|
599 |
+
}(), e.uiBackCompat !== !1 && function(e) {
|
600 |
+
var n = e.fn.position;
|
601 |
+
e.fn.position = function(r) {
|
602 |
+
if (!r || !r.offset)
|
603 |
+
return n.call(this, r);
|
604 |
+
var i = r.offset.split(" "), s = r.at.split(" ");
|
605 |
+
return i.length === 1 && (i[1] = i[0]), /^\d/.test(i[0]) && (i[0] = "+" + i[0]), /^\d/.test(i[1]) && (i[1] = "+" + i[1]), s.length === 1 && (/left|center|right/.test(s[0]) ? s[1] = "center" : (s[1] = s[0], s[0] = "center")), n.call(this, e.extend(r, {
|
606 |
+
at : s[0] + i[0] + " " + s[1] + i[1],
|
607 |
+
offset : t
|
608 |
+
}))
|
609 |
+
}
|
610 |
+
}(jQuery)
|
611 |
+
})(jQuery);
|
612 |
+
(function(e, t) {
|
613 |
+
e.widget("ui.draggable", e.ui.mouse, {
|
614 |
+
version : "1.9.0",
|
615 |
+
widgetEventPrefix : "drag",
|
616 |
+
options : {
|
617 |
+
addClasses : !0,
|
618 |
+
appendTo : "parent",
|
619 |
+
axis : !1,
|
620 |
+
connectToSortable : !1,
|
621 |
+
containment : !1,
|
622 |
+
cursor : "auto",
|
623 |
+
cursorAt : !1,
|
624 |
+
grid : !1,
|
625 |
+
handle : !1,
|
626 |
+
helper : "original",
|
627 |
+
iframeFix : !1,
|
628 |
+
opacity : !1,
|
629 |
+
refreshPositions : !1,
|
630 |
+
revert : !1,
|
631 |
+
revertDuration : 500,
|
632 |
+
scope : "default",
|
633 |
+
scroll : !0,
|
634 |
+
scrollSensitivity : 20,
|
635 |
+
scrollSpeed : 20,
|
636 |
+
snap : !1,
|
637 |
+
snapMode : "both",
|
638 |
+
snapTolerance : 20,
|
639 |
+
stack : !1,
|
640 |
+
zIndex : !1
|
641 |
+
},
|
642 |
+
_create : function() {
|
643 |
+
this.options.helper == "original" && !/^(?:r|a|f)/.test(this.element.css("position")) && (this.element[0].style.position = "relative"), this.options.addClasses && this.element.addClass("ui-draggable"), this.options.disabled && this.element.addClass("ui-draggable-disabled"), this._mouseInit()
|
644 |
+
},
|
645 |
+
_destroy : function() {
|
646 |
+
this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"), this._mouseDestroy()
|
647 |
+
},
|
648 |
+
_mouseCapture : function(t) {
|
649 |
+
var n = this.options;
|
650 |
+
return this.helper || n.disabled || e(t.target).is(".ui-resizable-handle") ? !1 : (this.handle = this._getHandle(t), this.handle ? (e(n.iframeFix === !0 ? "iframe" : n.iframeFix).each(function() {
|
651 |
+
e('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({
|
652 |
+
width : this.offsetWidth + "px",
|
653 |
+
height : this.offsetHeight + "px",
|
654 |
+
position : "absolute",
|
655 |
+
opacity : "0.001",
|
656 |
+
zIndex : 1e3
|
657 |
+
}).css(e(this).offset()).appendTo("body")
|
658 |
+
}), !0) : !1)
|
659 |
+
},
|
660 |
+
_mouseStart : function(t) {
|
661 |
+
var n = this.options;
|
662 |
+
return this.helper = this._createHelper(t), this.helper.addClass("ui-draggable-dragging"), this._cacheHelperProportions(), e.ui.ddmanager && (e.ui.ddmanager.current = this), this._cacheMargins(), this.cssPosition = this.helper.css("position"), this.scrollParent = this.helper.scrollParent(), this.offset = this.positionAbs = this.element.offset(), this.offset = {
|
663 |
+
top : this.offset.top - this.margins.top,
|
664 |
+
left : this.offset.left - this.margins.left
|
665 |
+
}, e.extend(this.offset, {
|
666 |
+
click : {
|
667 |
+
left : t.pageX - this.offset.left,
|
668 |
+
top : t.pageY - this.offset.top
|
669 |
+
},
|
670 |
+
parent : this._getParentOffset(),
|
671 |
+
relative : this._getRelativeOffset()
|
672 |
+
}), this.originalPosition = this.position = this._generatePosition(t), this.originalPageX = t.pageX, this.originalPageY = t.pageY, n.cursorAt && this._adjustOffsetFromHelper(n.cursorAt), n.containment && this._setContainment(), this._trigger("start", t) === !1 ? (this._clear(), !1) : (this._cacheHelperProportions(), e.ui.ddmanager && !n.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t), this._mouseDrag(t, !0), e.ui.ddmanager && e.ui.ddmanager.dragStart(this, t), !0)
|
673 |
+
},
|
674 |
+
_mouseDrag : function(t, n) {
|
675 |
+
this.position = this._generatePosition(t), this.positionAbs = this._convertPositionTo("absolute");
|
676 |
+
if (!n) {
|
677 |
+
var r = this._uiHash();
|
678 |
+
if (this._trigger("drag", t, r) === !1)
|
679 |
+
return this._mouseUp({}), !1;
|
680 |
+
this.position = r.position
|
681 |
+
}
|
682 |
+
if (!this.options.axis || this.options.axis != "y")
|
683 |
+
this.helper[0].style.left = this.position.left + "px";
|
684 |
+
if (!this.options.axis || this.options.axis != "x")
|
685 |
+
this.helper[0].style.top = this.position.top + "px";
|
686 |
+
return e.ui.ddmanager && e.ui.ddmanager.drag(this, t), !1
|
687 |
+
},
|
688 |
+
_mouseStop : function(t) {
|
689 |
+
var n = !1;
|
690 |
+
e.ui.ddmanager && !this.options.dropBehaviour && ( n = e.ui.ddmanager.drop(this, t)), this.dropped && ( n = this.dropped, this.dropped = !1);
|
691 |
+
var r = this.element[0], i = !1;
|
692 |
+
while (r && ( r = r.parentNode))r == document && ( i = !0);
|
693 |
+
if (!i && this.options.helper === "original")
|
694 |
+
return !1;
|
695 |
+
if (this.options.revert == "invalid" && !n || this.options.revert == "valid" && n || this.options.revert === !0 || e.isFunction(this.options.revert) && this.options.revert.call(this.element, n)) {
|
696 |
+
var s = this;
|
697 |
+
e(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() {
|
698 |
+
s._trigger("stop", t) !== !1 && s._clear()
|
699 |
+
})
|
700 |
+
} else
|
701 |
+
this._trigger("stop", t) !== !1 && this._clear();
|
702 |
+
return !1
|
703 |
+
},
|
704 |
+
_mouseUp : function(t) {
|
705 |
+
return e("div.ui-draggable-iframeFix").each(function() {
|
706 |
+
this.parentNode.removeChild(this)
|
707 |
+
}), e.ui.ddmanager && e.ui.ddmanager.dragStop(this, t), e.ui.mouse.prototype._mouseUp.call(this, t)
|
708 |
+
},
|
709 |
+
cancel : function() {
|
710 |
+
return this.helper.is(".ui-draggable-dragging") ? this._mouseUp({}) : this._clear(), this
|
711 |
+
},
|
712 |
+
_getHandle : function(t) {
|
713 |
+
var n = !this.options.handle || !e(this.options.handle, this.element).length ? !0 : !1;
|
714 |
+
return e(this.options.handle, this.element).find("*").andSelf().each(function() {
|
715 |
+
this == t.target && ( n = !0)
|
716 |
+
}), n
|
717 |
+
},
|
718 |
+
_createHelper : function(t) {
|
719 |
+
var n = this.options, r = e.isFunction(n.helper) ? e(n.helper.apply(this.element[0], [t])) : n.helper == "clone" ? this.element.clone().removeAttr("id") : this.element;
|
720 |
+
return r.parents("body").length || r.appendTo(n.appendTo == "parent" ? this.element[0].parentNode : n.appendTo), r[0] != this.element[0] && !/(fixed|absolute)/.test(r.css("position")) && r.css("position", "absolute"), r
|
721 |
+
},
|
722 |
+
_adjustOffsetFromHelper : function(t) {
|
723 |
+
typeof t == "string" && ( t = t.split(" ")), e.isArray(t) && ( t = {
|
724 |
+
left : +t[0],
|
725 |
+
top : +t[1] || 0
|
726 |
+
}), "left" in t && (this.offset.click.left = t.left + this.margins.left), "right" in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), "top" in t && (this.offset.click.top = t.top + this.margins.top), "bottom" in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top)
|
727 |
+
},
|
728 |
+
_getParentOffset : function() {
|
729 |
+
this.offsetParent = this.helper.offsetParent();
|
730 |
+
var t = this.offsetParent.offset();
|
731 |
+
this.cssPosition == "absolute" && this.scrollParent[0] != document && e.contains(this.scrollParent[0], this.offsetParent[0]) && (t.left += this.scrollParent.scrollLeft(), t.top += this.scrollParent.scrollTop());
|
732 |
+
if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && e.browser.msie)
|
733 |
+
t = {
|
734 |
+
top : 0,
|
735 |
+
left : 0
|
736 |
+
};
|
737 |
+
return {
|
738 |
+
top : t.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
|
739 |
+
left : t.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
|
740 |
+
}
|
741 |
+
},
|
742 |
+
_getRelativeOffset : function() {
|
743 |
+
if (this.cssPosition == "relative") {
|
744 |
+
var e = this.element.position();
|
745 |
+
return {
|
746 |
+
top : e.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
|
747 |
+
left : e.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
|
748 |
+
}
|
749 |
+
}
|
750 |
+
return {
|
751 |
+
top : 0,
|
752 |
+
left : 0
|
753 |
+
}
|
754 |
+
},
|
755 |
+
_cacheMargins : function() {
|
756 |
+
this.margins = {
|
757 |
+
left : parseInt(this.element.css("marginLeft"), 10) || 0,
|
758 |
+
top : parseInt(this.element.css("marginTop"), 10) || 0,
|
759 |
+
right : parseInt(this.element.css("marginRight"), 10) || 0,
|
760 |
+
bottom : parseInt(this.element.css("marginBottom"), 10) || 0
|
761 |
+
}
|
762 |
+
},
|
763 |
+
_cacheHelperProportions : function() {
|
764 |
+
this.helperProportions = {
|
765 |
+
width : this.helper.outerWidth(),
|
766 |
+
height : this.helper.outerHeight()
|
767 |
+
}
|
768 |
+
},
|
769 |
+
_setContainment : function() {
|
770 |
+
var t = this.options;
|
771 |
+
t.containment == "parent" && (t.containment = this.helper[0].parentNode);
|
772 |
+
if (t.containment == "document" || t.containment == "window")
|
773 |
+
this.containment = [t.containment == "document" ? 0 : e(window).scrollLeft() - this.offset.relative.left - this.offset.parent.left, t.containment == "document" ? 0 : e(window).scrollTop() - this.offset.relative.top - this.offset.parent.top, (t.containment == "document" ? 0 : e(window).scrollLeft()) + e(t.containment == "document" ? document : window).width() - this.helperProportions.width - this.margins.left, (t.containment == "document" ? 0 : e(window).scrollTop()) + (e(t.containment == "document" ? document : window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top];
|
774 |
+
if (!/^(document|window|parent)$/.test(t.containment) && t.containment.constructor != Array) {
|
775 |
+
var n = e(t.containment), r = n[0];
|
776 |
+
if (!r)
|
777 |
+
return;
|
778 |
+
var i = n.offset(), s = e(r).css("overflow") != "hidden";
|
779 |
+
this.containment = [(parseInt(e(r).css("borderLeftWidth"), 10) || 0) + (parseInt(e(r).css("paddingLeft"), 10) || 0), (parseInt(e(r).css("borderTopWidth"), 10) || 0) + (parseInt(e(r).css("paddingTop"), 10) || 0), ( s ? Math.max(r.scrollWidth, r.offsetWidth) : r.offsetWidth) - (parseInt(e(r).css("borderLeftWidth"), 10) || 0) - (parseInt(e(r).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left - this.margins.right, ( s ? Math.max(r.scrollHeight, r.offsetHeight) : r.offsetHeight) - (parseInt(e(r).css("borderTopWidth"), 10) || 0) - (parseInt(e(r).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top - this.margins.bottom], this.relative_container = n
|
780 |
+
} else
|
781 |
+
t.containment.constructor == Array && (this.containment = t.containment)
|
782 |
+
},
|
783 |
+
_convertPositionTo : function(t, n) {
|
784 |
+
n || ( n = this.position);
|
785 |
+
var r = t == "absolute" ? 1 : -1, i = this.options, s = this.cssPosition != "absolute" || this.scrollParent[0] != document && !!e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, o = /(html|body)/i.test(s[0].tagName);
|
786 |
+
return {
|
787 |
+
top : n.top + this.offset.relative.top * r + this.offset.parent.top * r - (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : o ? 0 : s.scrollTop()) * r,
|
788 |
+
left : n.left + this.offset.relative.left * r + this.offset.parent.left * r - (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : o ? 0 : s.scrollLeft()) * r
|
789 |
+
}
|
790 |
+
},
|
791 |
+
_generatePosition : function(t) {
|
792 |
+
var n = this.options, r = this.cssPosition != "absolute" || this.scrollParent[0] != document && !!e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, i = /(html|body)/i.test(r[0].tagName), s = t.pageX, o = t.pageY;
|
793 |
+
if (this.originalPosition) {
|
794 |
+
var u;
|
795 |
+
if (this.containment) {
|
796 |
+
if (this.relative_container) {
|
797 |
+
var a = this.relative_container.offset();
|
798 |
+
u = [this.containment[0] + a.left, this.containment[1] + a.top, this.containment[2] + a.left, this.containment[3] + a.top]
|
799 |
+
} else
|
800 |
+
u = this.containment;
|
801 |
+
t.pageX - this.offset.click.left < u[0] && ( s = u[0] + this.offset.click.left), t.pageY - this.offset.click.top < u[1] && ( o = u[1] + this.offset.click.top), t.pageX - this.offset.click.left > u[2] && ( s = u[2] + this.offset.click.left), t.pageY - this.offset.click.top > u[3] && ( o = u[3] + this.offset.click.top)
|
802 |
+
}
|
803 |
+
if (n.grid) {
|
804 |
+
var f = n.grid[1] ? this.originalPageY + Math.round((o - this.originalPageY) / n.grid[1]) * n.grid[1] : this.originalPageY;
|
805 |
+
o = u ? f - this.offset.click.top < u[1] || f - this.offset.click.top > u[3] ? f - this.offset.click.top < u[1] ? f + n.grid[1] : f - n.grid[1] : f : f;
|
806 |
+
var l = n.grid[0] ? this.originalPageX + Math.round((s - this.originalPageX) / n.grid[0]) * n.grid[0] : this.originalPageX;
|
807 |
+
s = u ? l - this.offset.click.left < u[0] || l - this.offset.click.left > u[2] ? l - this.offset.click.left < u[0] ? l + n.grid[0] : l - n.grid[0] : l : l
|
808 |
+
}
|
809 |
+
}
|
810 |
+
return {
|
811 |
+
top : o - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : i ? 0 : r.scrollTop()),
|
812 |
+
left : s - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : i ? 0 : r.scrollLeft())
|
813 |
+
}
|
814 |
+
},
|
815 |
+
_clear : function() {
|
816 |
+
this.helper.removeClass("ui-draggable-dragging"), this.helper[0] != this.element[0] && !this.cancelHelperRemoval && this.helper.remove(), this.helper = null, this.cancelHelperRemoval = !1
|
817 |
+
},
|
818 |
+
_trigger : function(t, n, r) {
|
819 |
+
return r = r || this._uiHash(), e.ui.plugin.call(this, t, [n, r]), t == "drag" && (this.positionAbs = this._convertPositionTo("absolute")), e.Widget.prototype._trigger.call(this, t, n, r)
|
820 |
+
},
|
821 |
+
plugins : {},
|
822 |
+
_uiHash : function(e) {
|
823 |
+
return {
|
824 |
+
helper : this.helper,
|
825 |
+
position : this.position,
|
826 |
+
originalPosition : this.originalPosition,
|
827 |
+
offset : this.positionAbs
|
828 |
+
}
|
829 |
+
}
|
830 |
+
}), e.ui.plugin.add("draggable", "connectToSortable", {
|
831 |
+
start : function(t, n) {
|
832 |
+
var r = e(this).data("draggable"), i = r.options, s = e.extend({}, n, {
|
833 |
+
item : r.element
|
834 |
+
});
|
835 |
+
r.sortables = [], e(i.connectToSortable).each(function() {
|
836 |
+
var n = e.data(this, "sortable");
|
837 |
+
n && !n.options.disabled && (r.sortables.push({
|
838 |
+
instance : n,
|
839 |
+
shouldRevert : n.options.revert
|
840 |
+
}), n.refreshPositions(), n._trigger("activate", t, s))
|
841 |
+
})
|
842 |
+
},
|
843 |
+
stop : function(t, n) {
|
844 |
+
var r = e(this).data("draggable"), i = e.extend({}, n, {
|
845 |
+
item : r.element
|
846 |
+
});
|
847 |
+
e.each(r.sortables, function() {
|
848 |
+
this.instance.isOver ? (this.instance.isOver = 0, r.cancelHelperRemoval = !0, this.instance.cancelHelperRemoval = !1, this.shouldRevert && (this.instance.options.revert = !0), this.instance._mouseStop(t), this.instance.options.helper = this.instance.options._helper, r.options.helper == "original" && this.instance.currentItem.css({
|
849 |
+
top : "auto",
|
850 |
+
left : "auto"
|
851 |
+
})) : (this.instance.cancelHelperRemoval = !1, this.instance._trigger("deactivate", t, i))
|
852 |
+
})
|
853 |
+
},
|
854 |
+
drag : function(t, n) {
|
855 |
+
var r = e(this).data("draggable"), i = this, s = function(t) {
|
856 |
+
var n = this.offset.click.top, r = this.offset.click.left, i = this.positionAbs.top, s = this.positionAbs.left, o = t.height, u = t.width, a = t.top, f = t.left;
|
857 |
+
return e.ui.isOver(i + n, s + r, a, f, o, u)
|
858 |
+
};
|
859 |
+
e.each(r.sortables, function(s) {
|
860 |
+
this.instance.positionAbs = r.positionAbs, this.instance.helperProportions = r.helperProportions, this.instance.offset.click = r.offset.click, this.instance._intersectsWith(this.instance.containerCache) ? (this.instance.isOver || (this.instance.isOver = 1, this.instance.currentItem = e(i).clone().removeAttr("id").appendTo(this.instance.element).data("sortable-item", !0), this.instance.options._helper = this.instance.options.helper, this.instance.options.helper = function() {
|
861 |
+
return n.helper[0]
|
862 |
+
}, t.target = this.instance.currentItem[0], this.instance._mouseCapture(t, !0), this.instance._mouseStart(t, !0, !0), this.instance.offset.click.top = r.offset.click.top, this.instance.offset.click.left = r.offset.click.left, this.instance.offset.parent.left -= r.offset.parent.left - this.instance.offset.parent.left, this.instance.offset.parent.top -= r.offset.parent.top - this.instance.offset.parent.top, r._trigger("toSortable", t), r.dropped = this.instance.element, r.currentItem = r.element, this.instance.fromOutside = r), this.instance.currentItem && this.instance._mouseDrag(t)) : this.instance.isOver && (this.instance.isOver = 0, this.instance.cancelHelperRemoval = !0, this.instance.options.revert = !1, this.instance._trigger("out", t, this.instance._uiHash(this.instance)), this.instance._mouseStop(t, !0), this.instance.options.helper = this.instance.options._helper, this.instance.currentItem.remove(), this.instance.placeholder && this.instance.placeholder.remove(), r._trigger("fromSortable", t), r.dropped = !1)
|
863 |
+
})
|
864 |
+
}
|
865 |
+
}), e.ui.plugin.add("draggable", "cursor", {
|
866 |
+
start : function(t, n) {
|
867 |
+
var r = e("body"), i = e(this).data("draggable").options;
|
868 |
+
r.css("cursor") && (i._cursor = r.css("cursor")), r.css("cursor", i.cursor)
|
869 |
+
},
|
870 |
+
stop : function(t, n) {
|
871 |
+
var r = e(this).data("draggable").options;
|
872 |
+
r._cursor && e("body").css("cursor", r._cursor)
|
873 |
+
}
|
874 |
+
}), e.ui.plugin.add("draggable", "opacity", {
|
875 |
+
start : function(t, n) {
|
876 |
+
var r = e(n.helper), i = e(this).data("draggable").options;
|
877 |
+
r.css("opacity") && (i._opacity = r.css("opacity")), r.css("opacity", i.opacity)
|
878 |
+
},
|
879 |
+
stop : function(t, n) {
|
880 |
+
var r = e(this).data("draggable").options;
|
881 |
+
r._opacity && e(n.helper).css("opacity", r._opacity)
|
882 |
+
}
|
883 |
+
}), e.ui.plugin.add("draggable", "scroll", {
|
884 |
+
start : function(t, n) {
|
885 |
+
var r = e(this).data("draggable");
|
886 |
+
r.scrollParent[0] != document && r.scrollParent[0].tagName != "HTML" && (r.overflowOffset = r.scrollParent.offset())
|
887 |
+
},
|
888 |
+
drag : function(t, n) {
|
889 |
+
var r = e(this).data("draggable"), i = r.options, s = !1;
|
890 |
+
if (r.scrollParent[0] != document && r.scrollParent[0].tagName != "HTML") {
|
891 |
+
if (!i.axis || i.axis != "x")
|
892 |
+
r.overflowOffset.top + r.scrollParent[0].offsetHeight - t.pageY < i.scrollSensitivity ? r.scrollParent[0].scrollTop = s = r.scrollParent[0].scrollTop + i.scrollSpeed : t.pageY - r.overflowOffset.top < i.scrollSensitivity && (r.scrollParent[0].scrollTop = s = r.scrollParent[0].scrollTop - i.scrollSpeed);
|
893 |
+
if (!i.axis || i.axis != "y")
|
894 |
+
r.overflowOffset.left + r.scrollParent[0].offsetWidth - t.pageX < i.scrollSensitivity ? r.scrollParent[0].scrollLeft = s = r.scrollParent[0].scrollLeft + i.scrollSpeed : t.pageX - r.overflowOffset.left < i.scrollSensitivity && (r.scrollParent[0].scrollLeft = s = r.scrollParent[0].scrollLeft - i.scrollSpeed)
|
895 |
+
} else {
|
896 |
+
if (!i.axis || i.axis != "x")
|
897 |
+
t.pageY - e(document).scrollTop() < i.scrollSensitivity ? s = e(document).scrollTop(e(document).scrollTop() - i.scrollSpeed) : e(window).height() - (t.pageY - e(document).scrollTop()) < i.scrollSensitivity && ( s = e(document).scrollTop(e(document).scrollTop() + i.scrollSpeed));
|
898 |
+
if (!i.axis || i.axis != "y")
|
899 |
+
t.pageX - e(document).scrollLeft() < i.scrollSensitivity ? s = e(document).scrollLeft(e(document).scrollLeft() - i.scrollSpeed) : e(window).width() - (t.pageX - e(document).scrollLeft()) < i.scrollSensitivity && ( s = e(document).scrollLeft(e(document).scrollLeft() + i.scrollSpeed))
|
900 |
+
}
|
901 |
+
s !== !1 && e.ui.ddmanager && !i.dropBehaviour && e.ui.ddmanager.prepareOffsets(r, t)
|
902 |
+
}
|
903 |
+
}), e.ui.plugin.add("draggable", "snap", {
|
904 |
+
start : function(t, n) {
|
905 |
+
var r = e(this).data("draggable"), i = r.options;
|
906 |
+
r.snapElements = [], e(i.snap.constructor != String ? i.snap.items || ":data(draggable)" : i.snap).each(function() {
|
907 |
+
var t = e(this), n = t.offset();
|
908 |
+
this != r.element[0] && r.snapElements.push({
|
909 |
+
item : this,
|
910 |
+
width : t.outerWidth(),
|
911 |
+
height : t.outerHeight(),
|
912 |
+
top : n.top,
|
913 |
+
left : n.left
|
914 |
+
})
|
915 |
+
})
|
916 |
+
},
|
917 |
+
drag : function(t, n) {
|
918 |
+
var r = e(this).data("draggable"), i = r.options, s = i.snapTolerance, o = n.offset.left, u = o + r.helperProportions.width, a = n.offset.top, f = a + r.helperProportions.height;
|
919 |
+
for (var l = r.snapElements.length - 1; l >= 0; l--) {
|
920 |
+
var c = r.snapElements[l].left, h = c + r.snapElements[l].width, p = r.snapElements[l].top, d = p + r.snapElements[l].height;
|
921 |
+
if (!(c - s < o && o < h + s && p - s < a && a < d + s || c - s < o && o < h + s && p - s < f && f < d + s || c - s < u && u < h + s && p - s < a && a < d + s || c - s < u && u < h + s && p - s < f && f < d + s)) {
|
922 |
+
r.snapElements[l].snapping && r.options.snap.release && r.options.snap.release.call(r.element, t, e.extend(r._uiHash(), {
|
923 |
+
snapItem : r.snapElements[l].item
|
924 |
+
})), r.snapElements[l].snapping = !1;
|
925 |
+
continue
|
926 |
+
}
|
927 |
+
if (i.snapMode != "inner") {
|
928 |
+
var v = Math.abs(p - f) <= s, m = Math.abs(d - a) <= s, g = Math.abs(c - u) <= s, y = Math.abs(h - o) <= s;
|
929 |
+
v && (n.position.top = r._convertPositionTo("relative", {
|
930 |
+
top : p - r.helperProportions.height,
|
931 |
+
left : 0
|
932 |
+
}).top - r.margins.top), m && (n.position.top = r._convertPositionTo("relative", {
|
933 |
+
top : d,
|
934 |
+
left : 0
|
935 |
+
}).top - r.margins.top), g && (n.position.left = r._convertPositionTo("relative", {
|
936 |
+
top : 0,
|
937 |
+
left : c - r.helperProportions.width
|
938 |
+
}).left - r.margins.left), y && (n.position.left = r._convertPositionTo("relative", {
|
939 |
+
top : 0,
|
940 |
+
left : h
|
941 |
+
}).left - r.margins.left)
|
942 |
+
}
|
943 |
+
var b = v || m || g || y;
|
944 |
+
if (i.snapMode != "outer") {
|
945 |
+
var v = Math.abs(p - a) <= s, m = Math.abs(d - f) <= s, g = Math.abs(c - o) <= s, y = Math.abs(h - u) <= s;
|
946 |
+
v && (n.position.top = r._convertPositionTo("relative", {
|
947 |
+
top : p,
|
948 |
+
left : 0
|
949 |
+
}).top - r.margins.top), m && (n.position.top = r._convertPositionTo("relative", {
|
950 |
+
top : d - r.helperProportions.height,
|
951 |
+
left : 0
|
952 |
+
}).top - r.margins.top), g && (n.position.left = r._convertPositionTo("relative", {
|
953 |
+
top : 0,
|
954 |
+
left : c
|
955 |
+
}).left - r.margins.left), y && (n.position.left = r._convertPositionTo("relative", {
|
956 |
+
top : 0,
|
957 |
+
left : h - r.helperProportions.width
|
958 |
+
}).left - r.margins.left)
|
959 |
+
}
|
960 |
+
!r.snapElements[l].snapping && (v || m || g || y || b) && r.options.snap.snap && r.options.snap.snap.call(r.element, t, e.extend(r._uiHash(), {
|
961 |
+
snapItem : r.snapElements[l].item
|
962 |
+
})), r.snapElements[l].snapping = v || m || g || y || b
|
963 |
+
}
|
964 |
+
}
|
965 |
+
}), e.ui.plugin.add("draggable", "stack", {
|
966 |
+
start : function(t, n) {
|
967 |
+
var r = e(this).data("draggable").options, i = e.makeArray(e(r.stack)).sort(function(t, n) {
|
968 |
+
return (parseInt(e(t).css("zIndex"), 10) || 0) - (parseInt(e(n).css("zIndex"), 10) || 0)
|
969 |
+
});
|
970 |
+
if (!i.length)
|
971 |
+
return;
|
972 |
+
var s = parseInt(i[0].style.zIndex) || 0;
|
973 |
+
e(i).each(function(e) {
|
974 |
+
this.style.zIndex = s + e
|
975 |
+
}), this[0].style.zIndex = s + i.length
|
976 |
+
}
|
977 |
+
}), e.ui.plugin.add("draggable", "zIndex", {
|
978 |
+
start : function(t, n) {
|
979 |
+
var r = e(n.helper), i = e(this).data("draggable").options;
|
980 |
+
r.css("zIndex") && (i._zIndex = r.css("zIndex")), r.css("zIndex", i.zIndex)
|
981 |
+
},
|
982 |
+
stop : function(t, n) {
|
983 |
+
var r = e(this).data("draggable").options;
|
984 |
+
r._zIndex && e(n.helper).css("zIndex", r._zIndex)
|
985 |
+
}
|
986 |
+
})
|
987 |
+
})(jQuery);
|
988 |
+
(function(e, t) {
|
989 |
+
e.widget("ui.droppable", {
|
990 |
+
version : "1.9.0",
|
991 |
+
widgetEventPrefix : "drop",
|
992 |
+
options : {
|
993 |
+
accept : "*",
|
994 |
+
activeClass : !1,
|
995 |
+
addClasses : !0,
|
996 |
+
greedy : !1,
|
997 |
+
hoverClass : !1,
|
998 |
+
scope : "default",
|
999 |
+
tolerance : "intersect"
|
1000 |
+
},
|
1001 |
+
_create : function() {
|
1002 |
+
var t = this.options, n = t.accept;
|
1003 |
+
this.isover = 0, this.isout = 1, this.accept = e.isFunction(n) ? n : function(e) {
|
1004 |
+
return e.is(n)
|
1005 |
+
}, this.proportions = {
|
1006 |
+
width : this.element[0].offsetWidth,
|
1007 |
+
height : this.element[0].offsetHeight
|
1008 |
+
}, e.ui.ddmanager.droppables[t.scope] = e.ui.ddmanager.droppables[t.scope] || [], e.ui.ddmanager.droppables[t.scope].push(this), t.addClasses && this.element.addClass("ui-droppable")
|
1009 |
+
},
|
1010 |
+
_destroy : function() {
|
1011 |
+
var t = e.ui.ddmanager.droppables[this.options.scope];
|
1012 |
+
for (var n = 0; n < t.length; n++)
|
1013 |
+
t[n] == this && t.splice(n, 1);
|
1014 |
+
this.element.removeClass("ui-droppable ui-droppable-disabled")
|
1015 |
+
},
|
1016 |
+
_setOption : function(t, n) {
|
1017 |
+
t == "accept" && (this.accept = e.isFunction(n) ? n : function(e) {
|
1018 |
+
return e.is(n)
|
1019 |
+
}), e.Widget.prototype._setOption.apply(this, arguments)
|
1020 |
+
},
|
1021 |
+
_activate : function(t) {
|
1022 |
+
var n = e.ui.ddmanager.current;
|
1023 |
+
this.options.activeClass && this.element.addClass(this.options.activeClass), n && this._trigger("activate", t, this.ui(n))
|
1024 |
+
},
|
1025 |
+
_deactivate : function(t) {
|
1026 |
+
var n = e.ui.ddmanager.current;
|
1027 |
+
this.options.activeClass && this.element.removeClass(this.options.activeClass), n && this._trigger("deactivate", t, this.ui(n))
|
1028 |
+
},
|
1029 |
+
_over : function(t) {
|
1030 |
+
var n = e.ui.ddmanager.current;
|
1031 |
+
if (!n || (n.currentItem||n.element)[0] == this.element[0])
|
1032 |
+
return;
|
1033 |
+
this.accept.call(this.element[0], n.currentItem || n.element) && (this.options.hoverClass && this.element.addClass(this.options.hoverClass), this._trigger("over", t, this.ui(n)))
|
1034 |
+
},
|
1035 |
+
_out : function(t) {
|
1036 |
+
var n = e.ui.ddmanager.current;
|
1037 |
+
if (!n || (n.currentItem||n.element)[0] == this.element[0])
|
1038 |
+
return;
|
1039 |
+
this.accept.call(this.element[0], n.currentItem || n.element) && (this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("out", t, this.ui(n)))
|
1040 |
+
},
|
1041 |
+
_drop : function(t, n) {
|
1042 |
+
var r = n || e.ui.ddmanager.current;
|
1043 |
+
if (!r || (r.currentItem||r.element)[0] == this.element[0])
|
1044 |
+
return !1;
|
1045 |
+
var i = !1;
|
1046 |
+
return this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() {
|
1047 |
+
var t = e.data(this, "droppable");
|
1048 |
+
if (t.options.greedy && !t.options.disabled && t.options.scope == r.options.scope && t.accept.call(t.element[0], r.currentItem || r.element) && e.ui.intersect(r, e.extend(t, {
|
1049 |
+
offset : t.element.offset()
|
1050 |
+
}), t.options.tolerance))
|
1051 |
+
return i = !0, !1
|
1052 |
+
}), i ? !1 : this.accept.call(this.element[0], r.currentItem || r.element) ? (this.options.activeClass && this.element.removeClass(this.options.activeClass), this.options.hoverClass && this.element.removeClass(this.options.hoverClass), this._trigger("drop", t, this.ui(r)), this.element) : !1
|
1053 |
+
},
|
1054 |
+
ui : function(e) {
|
1055 |
+
return {
|
1056 |
+
draggable : e.currentItem || e.element,
|
1057 |
+
helper : e.helper,
|
1058 |
+
position : e.position,
|
1059 |
+
offset : e.positionAbs
|
1060 |
+
}
|
1061 |
+
}
|
1062 |
+
}), e.ui.intersect = function(t, n, r) {
|
1063 |
+
if (!n.offset)
|
1064 |
+
return !1;
|
1065 |
+
var i = (t.positionAbs || t.position.absolute).left, s = i + t.helperProportions.width, o = (t.positionAbs || t.position.absolute).top, u = o + t.helperProportions.height, a = n.offset.left, f = a + n.proportions.width, l = n.offset.top, c = l + n.proportions.height;
|
1066 |
+
switch(r) {
|
1067 |
+
case"fit":
|
1068 |
+
return a <= i && s <= f && l <= o && u <= c;
|
1069 |
+
case"intersect":
|
1070 |
+
return a < i + t.helperProportions.width / 2 && s - t.helperProportions.width / 2 < f && l < o + t.helperProportions.height / 2 && u - t.helperProportions.height / 2 < c;
|
1071 |
+
case"pointer":
|
1072 |
+
var h = (t.positionAbs || t.position.absolute).left + (t.clickOffset || t.offset.click).left, p = (t.positionAbs || t.position.absolute).top + (t.clickOffset || t.offset.click).top, d = e.ui.isOver(p, h, l, a, n.proportions.height, n.proportions.width);
|
1073 |
+
return d;
|
1074 |
+
case"touch":
|
1075 |
+
return (o >= l && o <= c || u >= l && u <= c || o < l && u > c) && (i >= a && i <= f || s >= a && s <= f || i < a && s > f);
|
1076 |
+
default:
|
1077 |
+
return !1
|
1078 |
+
}
|
1079 |
+
}, e.ui.ddmanager = {
|
1080 |
+
current : null,
|
1081 |
+
droppables : {
|
1082 |
+
"default" : []
|
1083 |
+
},
|
1084 |
+
prepareOffsets : function(t, n) {
|
1085 |
+
var r = e.ui.ddmanager.droppables[t.options.scope] || [], i = n ? n.type : null, s = (t.currentItem || t.element).find(":data(droppable)").andSelf();
|
1086 |
+
e:
|
1087 |
+
for (var o = 0; o < r.length; o++) {
|
1088 |
+
if (r[o].options.disabled || t && !r[o].accept.call(r[o].element[0], t.currentItem || t.element))
|
1089 |
+
continue;
|
1090 |
+
for (var u = 0; u < s.length; u++)
|
1091 |
+
if (s[u] == r[o].element[0]) {
|
1092 |
+
r[o].proportions.height = 0;
|
1093 |
+
continue e
|
1094 |
+
}
|
1095 |
+
r[o].visible = r[o].element.css("display") != "none";
|
1096 |
+
if (!r[o].visible)
|
1097 |
+
continue;
|
1098 |
+
i == "mousedown" && r[o]._activate.call(r[o], n), r[o].offset = r[o].element.offset(), r[o].proportions = {
|
1099 |
+
width : r[o].element[0].offsetWidth,
|
1100 |
+
height : r[o].element[0].offsetHeight
|
1101 |
+
}
|
1102 |
+
}
|
1103 |
+
},
|
1104 |
+
drop : function(t, n) {
|
1105 |
+
var r = !1;
|
1106 |
+
return e.each(e.ui.ddmanager.droppables[t.options.scope] || [], function() {
|
1107 |
+
if (!this.options)
|
1108 |
+
return;
|
1109 |
+
!this.options.disabled && this.visible && e.ui.intersect(t, this, this.options.tolerance) && ( r = this._drop.call(this, n) || r), !this.options.disabled && this.visible && this.accept.call(this.element[0], t.currentItem || t.element) && (this.isout = 1, this.isover = 0, this._deactivate.call(this, n))
|
1110 |
+
}), r
|
1111 |
+
},
|
1112 |
+
dragStart : function(t, n) {
|
1113 |
+
t.element.parentsUntil("body").bind("scroll.droppable", function() {
|
1114 |
+
t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, n)
|
1115 |
+
})
|
1116 |
+
},
|
1117 |
+
drag : function(t, n) {
|
1118 |
+
t.options.refreshPositions && e.ui.ddmanager.prepareOffsets(t, n), e.each(e.ui.ddmanager.droppables[t.options.scope] || [], function() {
|
1119 |
+
if (this.options.disabled || this.greedyChild || !this.visible)
|
1120 |
+
return;
|
1121 |
+
var r = e.ui.intersect(t, this, this.options.tolerance), i = !r && this.isover == 1 ? "isout" : r && this.isover == 0 ? "isover" : null;
|
1122 |
+
if (!i)
|
1123 |
+
return;
|
1124 |
+
var s;
|
1125 |
+
if (this.options.greedy) {
|
1126 |
+
var o = this.options.scope, u = this.element.parents(":data(droppable)").filter(function() {
|
1127 |
+
return e.data(this, "droppable").options.scope === o
|
1128 |
+
});
|
1129 |
+
u.length && ( s = e.data(u[0], "droppable"), s.greedyChild = i == "isover" ? 1 : 0)
|
1130 |
+
}
|
1131 |
+
s && i == "isover" && (s.isover = 0, s.isout = 1, s._out.call(s, n)), this[i] = 1, this[i == "isout" ? "isover" : "isout"] = 0, this[i == "isover" ? "_over" : "_out"].call(this, n), s && i == "isout" && (s.isout = 0, s.isover = 1, s._over.call(s, n))
|
1132 |
+
})
|
1133 |
+
},
|
1134 |
+
dragStop : function(t, n) {
|
1135 |
+
t.element.parentsUntil("body").unbind("scroll.droppable"), t.options.refreshPositions || e.ui.ddmanager.prepareOffsets(t, n)
|
1136 |
+
}
|
1137 |
+
}
|
1138 |
+
})(jQuery);
|
1139 |
+
(function(e, t) {
|
1140 |
+
e.widget("ui.resizable", e.ui.mouse, {
|
1141 |
+
version : "1.9.0",
|
1142 |
+
widgetEventPrefix : "resize",
|
1143 |
+
options : {
|
1144 |
+
alsoResize : !1,
|
1145 |
+
animate : !1,
|
1146 |
+
animateDuration : "slow",
|
1147 |
+
animateEasing : "swing",
|
1148 |
+
aspectRatio : !1,
|
1149 |
+
autoHide : !1,
|
1150 |
+
containment : !1,
|
1151 |
+
ghost : !1,
|
1152 |
+
grid : !1,
|
1153 |
+
handles : "e,s,se",
|
1154 |
+
helper : !1,
|
1155 |
+
maxHeight : null,
|
1156 |
+
maxWidth : null,
|
1157 |
+
minHeight : 10,
|
1158 |
+
minWidth : 10,
|
1159 |
+
zIndex : 1e3
|
1160 |
+
},
|
1161 |
+
_create : function() {
|
1162 |
+
var t = this, n = this.options;
|
1163 |
+
this.element.addClass("ui-resizable"), e.extend(this, {
|
1164 |
+
_aspectRatio : !!n.aspectRatio,
|
1165 |
+
aspectRatio : n.aspectRatio,
|
1166 |
+
originalElement : this.element,
|
1167 |
+
_proportionallyResizeElements : [],
|
1168 |
+
_helper : n.helper || n.ghost || n.animate ? n.helper || "ui-resizable-helper" : null
|
1169 |
+
}), this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i) && (this.element.wrap(e('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({
|
1170 |
+
position : this.element.css("position"),
|
1171 |
+
width : this.element.outerWidth(),
|
1172 |
+
height : this.element.outerHeight(),
|
1173 |
+
top : this.element.css("top"),
|
1174 |
+
left : this.element.css("left")
|
1175 |
+
})), this.element = this.element.parent().data("resizable", this.element.data("resizable")), this.elementIsWrapper = !0, this.element.css({
|
1176 |
+
marginLeft : this.originalElement.css("marginLeft"),
|
1177 |
+
marginTop : this.originalElement.css("marginTop"),
|
1178 |
+
marginRight : this.originalElement.css("marginRight"),
|
1179 |
+
marginBottom : this.originalElement.css("marginBottom")
|
1180 |
+
}), this.originalElement.css({
|
1181 |
+
marginLeft : 0,
|
1182 |
+
marginTop : 0,
|
1183 |
+
marginRight : 0,
|
1184 |
+
marginBottom : 0
|
1185 |
+
}), this.originalResizeStyle = this.originalElement.css("resize"), this.originalElement.css("resize", "none"), this._proportionallyResizeElements.push(this.originalElement.css({
|
1186 |
+
position : "static",
|
1187 |
+
zoom : 1,
|
1188 |
+
display : "block"
|
1189 |
+
})), this.originalElement.css({
|
1190 |
+
margin : this.originalElement.css("margin")
|
1191 |
+
}), this._proportionallyResize()), this.handles = n.handles || (e(".ui-resizable-handle", this.element).length ? {
|
1192 |
+
n : ".ui-resizable-n",
|
1193 |
+
e : ".ui-resizable-e",
|
1194 |
+
s : ".ui-resizable-s",
|
1195 |
+
w : ".ui-resizable-w",
|
1196 |
+
se : ".ui-resizable-se",
|
1197 |
+
sw : ".ui-resizable-sw",
|
1198 |
+
ne : ".ui-resizable-ne",
|
1199 |
+
nw : ".ui-resizable-nw"
|
1200 |
+
} : "e,s,se");
|
1201 |
+
if (this.handles.constructor == String) {
|
1202 |
+
this.handles == "all" && (this.handles = "n,e,s,w,se,sw,ne,nw");
|
1203 |
+
var r = this.handles.split(",");
|
1204 |
+
this.handles = {};
|
1205 |
+
for (var i = 0; i < r.length; i++) {
|
1206 |
+
var s = e.trim(r[i]), o = "ui-resizable-" + s, u = e('<div class="ui-resizable-handle ' + o + '"></div>');
|
1207 |
+
u.css({
|
1208 |
+
zIndex : n.zIndex
|
1209 |
+
}), "se" == s && u.addClass("ui-icon ui-icon-gripsmall-diagonal-se"), this.handles[s] = ".ui-resizable-" + s, this.element.append(u)
|
1210 |
+
}
|
1211 |
+
}
|
1212 |
+
this._renderAxis = function(t) {
|
1213 |
+
t = t || this.element;
|
1214 |
+
for (var n in this.handles) {
|
1215 |
+
this.handles[n].constructor == String && (this.handles[n] = e(this.handles[n], this.element).show());
|
1216 |
+
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {
|
1217 |
+
var r = e(this.handles[n], this.element), i = 0;
|
1218 |
+
i = /sw|ne|nw|se|n|s/.test(n) ? r.outerHeight() : r.outerWidth();
|
1219 |
+
var s = ["padding", /ne|nw|n/.test(n) ? "Top" : /se|sw|s/.test(n) ? "Bottom" : /^e$/.test(n) ? "Right" : "Left"].join("");
|
1220 |
+
t.css(s, i), this._proportionallyResize()
|
1221 |
+
}
|
1222 |
+
if (!e(this.handles[n]).length)
|
1223 |
+
continue
|
1224 |
+
}
|
1225 |
+
}, this._renderAxis(this.element), this._handles = e(".ui-resizable-handle", this.element).disableSelection(), this._handles.mouseover(function() {
|
1226 |
+
if (!t.resizing) {
|
1227 |
+
if (this.className)
|
1228 |
+
var e = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);
|
1229 |
+
t.axis = e && e[1] ? e[1] : "se"
|
1230 |
+
}
|
1231 |
+
}), n.autoHide && (this._handles.hide(), e(this.element).addClass("ui-resizable-autohide").mouseenter(function() {
|
1232 |
+
if (n.disabled)
|
1233 |
+
return;
|
1234 |
+
e(this).removeClass("ui-resizable-autohide"), t._handles.show()
|
1235 |
+
}).mouseleave(function() {
|
1236 |
+
if (n.disabled)
|
1237 |
+
return;
|
1238 |
+
t.resizing || (e(this).addClass("ui-resizable-autohide"), t._handles.hide())
|
1239 |
+
})), this._mouseInit()
|
1240 |
+
},
|
1241 |
+
_destroy : function() {
|
1242 |
+
this._mouseDestroy();
|
1243 |
+
var t = function(t) {
|
1244 |
+
e(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()
|
1245 |
+
};
|
1246 |
+
if (this.elementIsWrapper) {
|
1247 |
+
t(this.element);
|
1248 |
+
var n = this.element;
|
1249 |
+
n.after(this.originalElement.css({
|
1250 |
+
position : n.css("position"),
|
1251 |
+
width : n.outerWidth(),
|
1252 |
+
height : n.outerHeight(),
|
1253 |
+
top : n.css("top"),
|
1254 |
+
left : n.css("left")
|
1255 |
+
})).remove()
|
1256 |
+
}
|
1257 |
+
return this.originalElement.css("resize", this.originalResizeStyle), t(this.originalElement), this
|
1258 |
+
},
|
1259 |
+
_mouseCapture : function(t) {
|
1260 |
+
var n = !1;
|
1261 |
+
for (var r in this.handles)e(this.handles[r])[0] == t.target && ( n = !0);
|
1262 |
+
return !this.options.disabled && n
|
1263 |
+
},
|
1264 |
+
_mouseStart : function(t) {
|
1265 |
+
var r = this.options, i = this.element.position(), s = this.element;
|
1266 |
+
this.resizing = !0, this.documentScroll = {
|
1267 |
+
top : e(document).scrollTop(),
|
1268 |
+
left : e(document).scrollLeft()
|
1269 |
+
}, (s.is(".ui-draggable") || /absolute/.test(s.css("position"))) && s.css({
|
1270 |
+
position : "absolute",
|
1271 |
+
top : i.top,
|
1272 |
+
left : i.left
|
1273 |
+
}), this._renderProxy();
|
1274 |
+
var o = n(this.helper.css("left")), u = n(this.helper.css("top"));
|
1275 |
+
r.containment && (o += e(r.containment).scrollLeft() || 0, u += e(r.containment).scrollTop() || 0), this.offset = this.helper.offset(), this.position = {
|
1276 |
+
left : o,
|
1277 |
+
top : u
|
1278 |
+
}, this.size = this._helper ? {
|
1279 |
+
width : s.outerWidth(),
|
1280 |
+
height : s.outerHeight()
|
1281 |
+
} : {
|
1282 |
+
width : s.width(),
|
1283 |
+
height : s.height()
|
1284 |
+
}, this.originalSize = this._helper ? {
|
1285 |
+
width : s.outerWidth(),
|
1286 |
+
height : s.outerHeight()
|
1287 |
+
} : {
|
1288 |
+
width : s.width(),
|
1289 |
+
height : s.height()
|
1290 |
+
}, this.originalPosition = {
|
1291 |
+
left : o,
|
1292 |
+
top : u
|
1293 |
+
}, this.sizeDiff = {
|
1294 |
+
width : s.outerWidth() - s.width(),
|
1295 |
+
height : s.outerHeight() - s.height()
|
1296 |
+
}, this.originalMousePosition = {
|
1297 |
+
left : t.pageX,
|
1298 |
+
top : t.pageY
|
1299 |
+
}, this.aspectRatio = typeof r.aspectRatio == "number" ? r.aspectRatio : this.originalSize.width / this.originalSize.height || 1;
|
1300 |
+
var a = e(".ui-resizable-" + this.axis).css("cursor");
|
1301 |
+
return e("body").css("cursor", a == "auto" ? this.axis + "-resize" : a), s.addClass("ui-resizable-resizing"), this._propagate("start", t), !0
|
1302 |
+
},
|
1303 |
+
_mouseDrag : function(e) {
|
1304 |
+
var t = this.helper, n = this.options, r = {}, i = this, s = this.originalMousePosition, o = this.axis, u = e.pageX - s.left || 0, a = e.pageY - s.top || 0, f = this._change[o];
|
1305 |
+
if (!f)
|
1306 |
+
return !1;
|
1307 |
+
var l = f.apply(this, [e, u, a]);
|
1308 |
+
this._updateVirtualBoundaries(e.shiftKey);
|
1309 |
+
if (this._aspectRatio || e.shiftKey)
|
1310 |
+
l = this._updateRatio(l, e);
|
1311 |
+
return l = this._respectSize(l, e), this._propagate("resize", e), t.css({
|
1312 |
+
top : this.position.top + "px",
|
1313 |
+
left : this.position.left + "px",
|
1314 |
+
width : this.size.width + "px",
|
1315 |
+
height : this.size.height + "px"
|
1316 |
+
}), !this._helper && this._proportionallyResizeElements.length && this._proportionallyResize(), this._updateCache(l), this._trigger("resize", e, this.ui()), !1
|
1317 |
+
},
|
1318 |
+
_mouseStop : function(t) {
|
1319 |
+
this.resizing = !1;
|
1320 |
+
var n = this.options, r = this;
|
1321 |
+
if (this._helper) {
|
1322 |
+
var i = this._proportionallyResizeElements, s = i.length && /textarea/i.test(i[0].nodeName), o = s && e.ui.hasScroll(i[0], "left") ? 0 : r.sizeDiff.height, u = s ? 0 : r.sizeDiff.width, a = {
|
1323 |
+
width : r.helper.width() - u,
|
1324 |
+
height : r.helper.height() - o
|
1325 |
+
}, f = parseInt(r.element.css("left"), 10) + (r.position.left - r.originalPosition.left) || null, l = parseInt(r.element.css("top"), 10) + (r.position.top - r.originalPosition.top) || null;
|
1326 |
+
n.animate || this.element.css(e.extend(a, {
|
1327 |
+
top : l,
|
1328 |
+
left : f
|
1329 |
+
})), r.helper.height(r.size.height), r.helper.width(r.size.width), this._helper && !n.animate && this._proportionallyResize()
|
1330 |
+
}
|
1331 |
+
return e("body").css("cursor", "auto"), this.element.removeClass("ui-resizable-resizing"), this._propagate("stop", t), this._helper && this.helper.remove(), !1
|
1332 |
+
},
|
1333 |
+
_updateVirtualBoundaries : function(e) {
|
1334 |
+
var t = this.options, n, i, s, o, u;
|
1335 |
+
u = {
|
1336 |
+
minWidth : r(t.minWidth) ? t.minWidth : 0,
|
1337 |
+
maxWidth : r(t.maxWidth) ? t.maxWidth : Infinity,
|
1338 |
+
minHeight : r(t.minHeight) ? t.minHeight : 0,
|
1339 |
+
maxHeight : r(t.maxHeight) ? t.maxHeight : Infinity
|
1340 |
+
};
|
1341 |
+
if (this._aspectRatio || e)
|
1342 |
+
n = u.minHeight * this.aspectRatio, s = u.minWidth / this.aspectRatio, i = u.maxHeight * this.aspectRatio, o = u.maxWidth / this.aspectRatio, n > u.minWidth && (u.minWidth = n), s > u.minHeight && (u.minHeight = s), i < u.maxWidth && (u.maxWidth = i), o < u.maxHeight && (u.maxHeight = o);
|
1343 |
+
this._vBoundaries = u
|
1344 |
+
},
|
1345 |
+
_updateCache : function(e) {
|
1346 |
+
var t = this.options;
|
1347 |
+
this.offset = this.helper.offset(), r(e.left) && (this.position.left = e.left), r(e.top) && (this.position.top = e.top), r(e.height) && (this.size.height = e.height), r(e.width) && (this.size.width = e.width)
|
1348 |
+
},
|
1349 |
+
_updateRatio : function(e, t) {
|
1350 |
+
var n = this.options, i = this.position, s = this.size, o = this.axis;
|
1351 |
+
return r(e.height) ? e.width = e.height * this.aspectRatio : r(e.width) && (e.height = e.width / this.aspectRatio), o == "sw" && (e.left = i.left + (s.width - e.width), e.top = null), o == "nw" && (e.top = i.top + (s.height - e.height), e.left = i.left + (s.width - e.width)), e
|
1352 |
+
},
|
1353 |
+
_respectSize : function(e, t) {
|
1354 |
+
var n = this.helper, i = this._vBoundaries, s = this._aspectRatio || t.shiftKey, o = this.axis, u = r(e.width) && i.maxWidth && i.maxWidth < e.width, a = r(e.height) && i.maxHeight && i.maxHeight < e.height, f = r(e.width) && i.minWidth && i.minWidth > e.width, l = r(e.height) && i.minHeight && i.minHeight > e.height;
|
1355 |
+
f && (e.width = i.minWidth), l && (e.height = i.minHeight), u && (e.width = i.maxWidth), a && (e.height = i.maxHeight);
|
1356 |
+
var c = this.originalPosition.left + this.originalSize.width, h = this.position.top + this.size.height, p = /sw|nw|w/.test(o), d = /nw|ne|n/.test(o);
|
1357 |
+
f && p && (e.left = c - i.minWidth), u && p && (e.left = c - i.maxWidth), l && d && (e.top = h - i.minHeight), a && d && (e.top = h - i.maxHeight);
|
1358 |
+
var v = !e.width && !e.height;
|
1359 |
+
return v && !e.left && e.top ? e.top = null : v && !e.top && e.left && (e.left = null), e
|
1360 |
+
},
|
1361 |
+
_proportionallyResize : function() {
|
1362 |
+
var t = this.options;
|
1363 |
+
if (!this._proportionallyResizeElements.length)
|
1364 |
+
return;
|
1365 |
+
var n = this.helper || this.element;
|
1366 |
+
for (var r = 0; r < this._proportionallyResizeElements.length; r++) {
|
1367 |
+
var i = this._proportionallyResizeElements[r];
|
1368 |
+
if (!this.borderDif) {
|
1369 |
+
var s = [i.css("borderTopWidth"), i.css("borderRightWidth"), i.css("borderBottomWidth"), i.css("borderLeftWidth")], o = [i.css("paddingTop"), i.css("paddingRight"), i.css("paddingBottom"), i.css("paddingLeft")];
|
1370 |
+
this.borderDif = e.map(s, function(e, t) {
|
1371 |
+
var n = parseInt(e, 10) || 0, r = parseInt(o[t], 10) || 0;
|
1372 |
+
return n + r
|
1373 |
+
})
|
1374 |
+
}
|
1375 |
+
i.css({
|
1376 |
+
height : n.height() - this.borderDif[0] - this.borderDif[2] || 0,
|
1377 |
+
width : n.width() - this.borderDif[1] - this.borderDif[3] || 0
|
1378 |
+
})
|
1379 |
+
}
|
1380 |
+
},
|
1381 |
+
_renderProxy : function() {
|
1382 |
+
var t = this.element, n = this.options;
|
1383 |
+
this.elementOffset = t.offset();
|
1384 |
+
if (this._helper) {
|
1385 |
+
this.helper = this.helper || e('<div style="overflow:hidden;"></div>');
|
1386 |
+
var r = e.browser.msie && e.browser.version < 7, i = r ? 1 : 0, s = r ? 2 : -1;
|
1387 |
+
this.helper.addClass(this._helper).css({
|
1388 |
+
width : this.element.outerWidth() + s,
|
1389 |
+
height : this.element.outerHeight() + s,
|
1390 |
+
position : "absolute",
|
1391 |
+
left : this.elementOffset.left - i + "px",
|
1392 |
+
top : this.elementOffset.top - i + "px",
|
1393 |
+
zIndex : ++n.zIndex
|
1394 |
+
}), this.helper.appendTo("body").disableSelection()
|
1395 |
+
} else
|
1396 |
+
this.helper = this.element
|
1397 |
+
},
|
1398 |
+
_change : {
|
1399 |
+
e : function(e, t, n) {
|
1400 |
+
return {
|
1401 |
+
width : this.originalSize.width + t
|
1402 |
+
}
|
1403 |
+
},
|
1404 |
+
w : function(e, t, n) {
|
1405 |
+
var r = this.options, i = this.originalSize, s = this.originalPosition;
|
1406 |
+
return {
|
1407 |
+
left : s.left + t,
|
1408 |
+
width : i.width - t
|
1409 |
+
}
|
1410 |
+
},
|
1411 |
+
n : function(e, t, n) {
|
1412 |
+
var r = this.options, i = this.originalSize, s = this.originalPosition;
|
1413 |
+
return {
|
1414 |
+
top : s.top + n,
|
1415 |
+
height : i.height - n
|
1416 |
+
}
|
1417 |
+
},
|
1418 |
+
s : function(e, t, n) {
|
1419 |
+
return {
|
1420 |
+
height : this.originalSize.height + n
|
1421 |
+
}
|
1422 |
+
},
|
1423 |
+
se : function(t, n, r) {
|
1424 |
+
return e.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [t, n, r]))
|
1425 |
+
},
|
1426 |
+
sw : function(t, n, r) {
|
1427 |
+
return e.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [t, n, r]))
|
1428 |
+
},
|
1429 |
+
ne : function(t, n, r) {
|
1430 |
+
return e.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [t, n, r]))
|
1431 |
+
},
|
1432 |
+
nw : function(t, n, r) {
|
1433 |
+
return e.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [t, n, r]))
|
1434 |
+
}
|
1435 |
+
},
|
1436 |
+
_propagate : function(t, n) {
|
1437 |
+
e.ui.plugin.call(this, t, [n, this.ui()]), t != "resize" && this._trigger(t, n, this.ui())
|
1438 |
+
},
|
1439 |
+
plugins : {},
|
1440 |
+
ui : function() {
|
1441 |
+
return {
|
1442 |
+
originalElement : this.originalElement,
|
1443 |
+
element : this.element,
|
1444 |
+
helper : this.helper,
|
1445 |
+
position : this.position,
|
1446 |
+
size : this.size,
|
1447 |
+
originalSize : this.originalSize,
|
1448 |
+
originalPosition : this.originalPosition
|
1449 |
+
}
|
1450 |
+
}
|
1451 |
+
}), e.ui.plugin.add("resizable", "alsoResize", {
|
1452 |
+
start : function(t, n) {
|
1453 |
+
var r = e(this).data("resizable"), i = r.options, s = function(t) {
|
1454 |
+
e(t).each(function() {
|
1455 |
+
var t = e(this);
|
1456 |
+
t.data("resizable-alsoresize", {
|
1457 |
+
width : parseInt(t.width(), 10),
|
1458 |
+
height : parseInt(t.height(), 10),
|
1459 |
+
left : parseInt(t.css("left"), 10),
|
1460 |
+
top : parseInt(t.css("top"), 10)
|
1461 |
+
})
|
1462 |
+
})
|
1463 |
+
};
|
1464 |
+
typeof i.alsoResize == "object" && !i.alsoResize.parentNode ? i.alsoResize.length ? (i.alsoResize = i.alsoResize[0], s(i.alsoResize)) : e.each(i.alsoResize, function(e) {
|
1465 |
+
s(e)
|
1466 |
+
}) : s(i.alsoResize)
|
1467 |
+
},
|
1468 |
+
resize : function(t, n) {
|
1469 |
+
var r = e(this).data("resizable"), i = r.options, s = r.originalSize, o = r.originalPosition, u = {
|
1470 |
+
height : r.size.height - s.height || 0,
|
1471 |
+
width : r.size.width - s.width || 0,
|
1472 |
+
top : r.position.top - o.top || 0,
|
1473 |
+
left : r.position.left - o.left || 0
|
1474 |
+
}, a = function(t, r) {
|
1475 |
+
e(t).each(function() {
|
1476 |
+
var t = e(this), i = e(this).data("resizable-alsoresize"), s = {}, o = r && r.length ? r : t.parents(n.originalElement[0]).length ? ["width", "height"] : ["width", "height", "top", "left"];
|
1477 |
+
e.each(o, function(e, t) {
|
1478 |
+
var n = (i[t] || 0) + (u[t] || 0);
|
1479 |
+
n && n >= 0 && (s[t] = n || null)
|
1480 |
+
}), t.css(s)
|
1481 |
+
})
|
1482 |
+
};
|
1483 |
+
typeof i.alsoResize == "object" && !i.alsoResize.nodeType ? e.each(i.alsoResize, function(e, t) {
|
1484 |
+
a(e, t)
|
1485 |
+
}) : a(i.alsoResize)
|
1486 |
+
},
|
1487 |
+
stop : function(t, n) {
|
1488 |
+
e(this).removeData("resizable-alsoresize")
|
1489 |
+
}
|
1490 |
+
}), e.ui.plugin.add("resizable", "animate", {
|
1491 |
+
stop : function(t, n) {
|
1492 |
+
var r = e(this).data("resizable"), i = r.options, s = r._proportionallyResizeElements, o = s.length && /textarea/i.test(s[0].nodeName), u = o && e.ui.hasScroll(s[0], "left") ? 0 : r.sizeDiff.height, a = o ? 0 : r.sizeDiff.width, f = {
|
1493 |
+
width : r.size.width - a,
|
1494 |
+
height : r.size.height - u
|
1495 |
+
}, l = parseInt(r.element.css("left"), 10) + (r.position.left - r.originalPosition.left) || null, c = parseInt(r.element.css("top"), 10) + (r.position.top - r.originalPosition.top) || null;
|
1496 |
+
r.element.animate(e.extend(f, c && l ? {
|
1497 |
+
top : c,
|
1498 |
+
left : l
|
1499 |
+
} : {}), {
|
1500 |
+
duration : i.animateDuration,
|
1501 |
+
easing : i.animateEasing,
|
1502 |
+
step : function() {
|
1503 |
+
var n = {
|
1504 |
+
width : parseInt(r.element.css("width"), 10),
|
1505 |
+
height : parseInt(r.element.css("height"), 10),
|
1506 |
+
top : parseInt(r.element.css("top"), 10),
|
1507 |
+
left : parseInt(r.element.css("left"), 10)
|
1508 |
+
};
|
1509 |
+
s && s.length && e(s[0]).css({
|
1510 |
+
width : n.width,
|
1511 |
+
height : n.height
|
1512 |
+
}), r._updateCache(n), r._propagate("resize", t)
|
1513 |
+
}
|
1514 |
+
})
|
1515 |
+
}
|
1516 |
+
}), e.ui.plugin.add("resizable", "containment", {
|
1517 |
+
start : function(t, r) {
|
1518 |
+
var i = e(this).data("resizable"), s = i.options, o = i.element, u = s.containment, a = u instanceof e ? u.get(0) : /parent/.test(u) ? o.parent().get(0) : u;
|
1519 |
+
if (!a)
|
1520 |
+
return;
|
1521 |
+
i.containerElement = e(a);
|
1522 |
+
if (/document/.test(u) || u == document)
|
1523 |
+
i.containerOffset = {
|
1524 |
+
left : 0,
|
1525 |
+
top : 0
|
1526 |
+
}, i.containerPosition = {
|
1527 |
+
left : 0,
|
1528 |
+
top : 0
|
1529 |
+
}, i.parentData = {
|
1530 |
+
element : e(document),
|
1531 |
+
left : 0,
|
1532 |
+
top : 0,
|
1533 |
+
width : e(document).width(),
|
1534 |
+
height : e(document).height() || document.body.parentNode.scrollHeight
|
1535 |
+
};
|
1536 |
+
else {
|
1537 |
+
var f = e(a), l = [];
|
1538 |
+
e(["Top", "Right", "Left", "Bottom"]).each(function(e, t) {
|
1539 |
+
l[e] = n(f.css("padding" + t))
|
1540 |
+
}), i.containerOffset = f.offset(), i.containerPosition = f.position(), i.containerSize = {
|
1541 |
+
height : f.innerHeight() - l[3],
|
1542 |
+
width : f.innerWidth() - l[1]
|
1543 |
+
};
|
1544 |
+
var c = i.containerOffset, h = i.containerSize.height, p = i.containerSize.width, d = e.ui.hasScroll(a, "left") ? a.scrollWidth : p, v = e.ui.hasScroll(a) ? a.scrollHeight : h;
|
1545 |
+
i.parentData = {
|
1546 |
+
element : a,
|
1547 |
+
left : c.left,
|
1548 |
+
top : c.top,
|
1549 |
+
width : d,
|
1550 |
+
height : v
|
1551 |
+
}
|
1552 |
+
}
|
1553 |
+
},
|
1554 |
+
resize : function(t, n) {
|
1555 |
+
var r = e(this).data("resizable"), i = r.options, s = r.containerSize, o = r.containerOffset, u = r.size, a = r.position, f = r._aspectRatio || t.shiftKey, l = {
|
1556 |
+
top : 0,
|
1557 |
+
left : 0
|
1558 |
+
}, c = r.containerElement;
|
1559 |
+
c[0] != document && /static/.test(c.css("position")) && ( l = o), a.left < (r._helper ? o.left : 0) && (r.size.width = r.size.width + (r._helper ? r.position.left - o.left : r.position.left - l.left), f && (r.size.height = r.size.width / r.aspectRatio), r.position.left = i.helper ? o.left : 0), a.top < (r._helper ? o.top : 0) && (r.size.height = r.size.height + (r._helper ? r.position.top - o.top : r.position.top), f && (r.size.width = r.size.height * r.aspectRatio), r.position.top = r._helper ? o.top : 0), r.offset.left = r.parentData.left + r.position.left, r.offset.top = r.parentData.top + r.position.top;
|
1560 |
+
var h = Math.abs((r._helper ? r.offset.left - l.left : r.offset.left - l.left) + r.sizeDiff.width), p = Math.abs((r._helper ? r.offset.top - l.top : r.offset.top - o.top) + r.sizeDiff.height), d = r.containerElement.get(0) == r.element.parent().get(0), v = /relative|absolute/.test(r.containerElement.css("position"));
|
1561 |
+
d && v && (h -= r.parentData.left), h + r.size.width >= r.parentData.width && (r.size.width = r.parentData.width - h, f && (r.size.height = r.size.width / r.aspectRatio)), p + r.size.height >= r.parentData.height && (r.size.height = r.parentData.height - p, f && (r.size.width = r.size.height * r.aspectRatio))
|
1562 |
+
},
|
1563 |
+
stop : function(t, n) {
|
1564 |
+
var r = e(this).data("resizable"), i = r.options, s = r.position, o = r.containerOffset, u = r.containerPosition, a = r.containerElement, f = e(r.helper), l = f.offset(), c = f.outerWidth() - r.sizeDiff.width, h = f.outerHeight() - r.sizeDiff.height;
|
1565 |
+
r._helper && !i.animate && /relative/.test(a.css("position")) && e(this).css({
|
1566 |
+
left : l.left - u.left - o.left,
|
1567 |
+
width : c,
|
1568 |
+
height : h
|
1569 |
+
}), r._helper && !i.animate && /static/.test(a.css("position")) && e(this).css({
|
1570 |
+
left : l.left - u.left - o.left,
|
1571 |
+
width : c,
|
1572 |
+
height : h
|
1573 |
+
})
|
1574 |
+
}
|
1575 |
+
}), e.ui.plugin.add("resizable", "ghost", {
|
1576 |
+
start : function(t, n) {
|
1577 |
+
var r = e(this).data("resizable"), i = r.options, s = r.size;
|
1578 |
+
r.ghost = r.originalElement.clone(), r.ghost.css({
|
1579 |
+
opacity : .25,
|
1580 |
+
display : "block",
|
1581 |
+
position : "relative",
|
1582 |
+
height : s.height,
|
1583 |
+
width : s.width,
|
1584 |
+
margin : 0,
|
1585 |
+
left : 0,
|
1586 |
+
top : 0
|
1587 |
+
}).addClass("ui-resizable-ghost").addClass( typeof i.ghost == "string" ? i.ghost : ""), r.ghost.appendTo(r.helper)
|
1588 |
+
},
|
1589 |
+
resize : function(t, n) {
|
1590 |
+
var r = e(this).data("resizable"), i = r.options;
|
1591 |
+
r.ghost && r.ghost.css({
|
1592 |
+
position : "relative",
|
1593 |
+
height : r.size.height,
|
1594 |
+
width : r.size.width
|
1595 |
+
})
|
1596 |
+
},
|
1597 |
+
stop : function(t, n) {
|
1598 |
+
var r = e(this).data("resizable"), i = r.options;
|
1599 |
+
r.ghost && r.helper && r.helper.get(0).removeChild(r.ghost.get(0))
|
1600 |
+
}
|
1601 |
+
}), e.ui.plugin.add("resizable", "grid", {
|
1602 |
+
resize : function(t, n) {
|
1603 |
+
var r = e(this).data("resizable"), i = r.options, s = r.size, o = r.originalSize, u = r.originalPosition, a = r.axis, f = i._aspectRatio || t.shiftKey;
|
1604 |
+
i.grid = typeof i.grid == "number" ? [i.grid, i.grid] : i.grid;
|
1605 |
+
var l = Math.round((s.width - o.width) / (i.grid[0] || 1)) * (i.grid[0] || 1), c = Math.round((s.height - o.height) / (i.grid[1] || 1)) * (i.grid[1] || 1);
|
1606 |
+
/^(se|s|e)$/.test(a) ? (r.size.width = o.width + l, r.size.height = o.height + c) : /^(ne)$/.test(a) ? (r.size.width = o.width + l, r.size.height = o.height + c, r.position.top = u.top - c) : /^(sw)$/.test(a) ? (r.size.width = o.width + l, r.size.height = o.height + c, r.position.left = u.left - l) : (r.size.width = o.width + l, r.size.height = o.height + c, r.position.top = u.top - c, r.position.left = u.left - l)
|
1607 |
+
}
|
1608 |
+
});
|
1609 |
+
var n = function(e) {
|
1610 |
+
return parseInt(e, 10) || 0
|
1611 |
+
}, r = function(e) {
|
1612 |
+
return !isNaN(parseInt(e, 10))
|
1613 |
+
}
|
1614 |
+
})(jQuery);
|
1615 |
+
(function(e, t) {
|
1616 |
+
e.widget("ui.selectable", e.ui.mouse, {
|
1617 |
+
version : "1.9.0",
|
1618 |
+
options : {
|
1619 |
+
appendTo : "body",
|
1620 |
+
autoRefresh : !0,
|
1621 |
+
distance : 0,
|
1622 |
+
filter : "*",
|
1623 |
+
tolerance : "touch"
|
1624 |
+
},
|
1625 |
+
_create : function() {
|
1626 |
+
var t = this;
|
1627 |
+
this.element.addClass("ui-selectable"), this.dragged = !1;
|
1628 |
+
var n;
|
1629 |
+
this.refresh = function() {
|
1630 |
+
n = e(t.options.filter, t.element[0]), n.addClass("ui-selectee"), n.each(function() {
|
1631 |
+
var t = e(this), n = t.offset();
|
1632 |
+
e.data(this, "selectable-item", {
|
1633 |
+
element : this,
|
1634 |
+
$element : t,
|
1635 |
+
left : n.left,
|
1636 |
+
top : n.top,
|
1637 |
+
right : n.left + t.outerWidth(),
|
1638 |
+
bottom : n.top + t.outerHeight(),
|
1639 |
+
startselected : !1,
|
1640 |
+
selected : t.hasClass("ui-selected"),
|
1641 |
+
selecting : t.hasClass("ui-selecting"),
|
1642 |
+
unselecting : t.hasClass("ui-unselecting")
|
1643 |
+
})
|
1644 |
+
})
|
1645 |
+
}, this.refresh(), this.selectees = n.addClass("ui-selectee"), this._mouseInit(), this.helper = e("<div class='ui-selectable-helper'></div>")
|
1646 |
+
},
|
1647 |
+
_destroy : function() {
|
1648 |
+
this.selectees.removeClass("ui-selectee").removeData("selectable-item"), this.element.removeClass("ui-selectable ui-selectable-disabled"), this._mouseDestroy()
|
1649 |
+
},
|
1650 |
+
_mouseStart : function(t) {
|
1651 |
+
var n = this;
|
1652 |
+
this.opos = [t.pageX, t.pageY];
|
1653 |
+
if (this.options.disabled)
|
1654 |
+
return;
|
1655 |
+
var r = this.options;
|
1656 |
+
this.selectees = e(r.filter, this.element[0]), this._trigger("start", t), e(r.appendTo).append(this.helper), this.helper.css({
|
1657 |
+
left : t.clientX,
|
1658 |
+
top : t.clientY,
|
1659 |
+
width : 0,
|
1660 |
+
height : 0
|
1661 |
+
}), r.autoRefresh && this.refresh(), this.selectees.filter(".ui-selected").each(function() {
|
1662 |
+
var r = e.data(this, "selectable-item");
|
1663 |
+
r.startselected = !0, !t.metaKey && !t.ctrlKey && (r.$element.removeClass("ui-selected"), r.selected = !1, r.$element.addClass("ui-unselecting"), r.unselecting = !0, n._trigger("unselecting", t, {
|
1664 |
+
unselecting : r.element
|
1665 |
+
}))
|
1666 |
+
}), e(t.target).parents().andSelf().each(function() {
|
1667 |
+
var r = e.data(this, "selectable-item");
|
1668 |
+
if (r) {
|
1669 |
+
var i = !t.metaKey && !t.ctrlKey || !r.$element.hasClass("ui-selected");
|
1670 |
+
return r.$element.removeClass( i ? "ui-unselecting" : "ui-selected").addClass( i ? "ui-selecting" : "ui-unselecting"), r.unselecting = !i, r.selecting = i, r.selected = i, i ? n._trigger("selecting", t, {
|
1671 |
+
selecting : r.element
|
1672 |
+
}) : n._trigger("unselecting", t, {
|
1673 |
+
unselecting : r.element
|
1674 |
+
}), !1
|
1675 |
+
}
|
1676 |
+
})
|
1677 |
+
},
|
1678 |
+
_mouseDrag : function(t) {
|
1679 |
+
var n = this;
|
1680 |
+
this.dragged = !0;
|
1681 |
+
if (this.options.disabled)
|
1682 |
+
return;
|
1683 |
+
var r = this.options, i = this.opos[0], s = this.opos[1], o = t.pageX, u = t.pageY;
|
1684 |
+
if (i > o) {
|
1685 |
+
var a = o;
|
1686 |
+
o = i, i = a
|
1687 |
+
}
|
1688 |
+
if (s > u) {
|
1689 |
+
var a = u;
|
1690 |
+
u = s, s = a
|
1691 |
+
}
|
1692 |
+
return this.helper.css({
|
1693 |
+
left : i,
|
1694 |
+
top : s,
|
1695 |
+
width : o - i,
|
1696 |
+
height : u - s
|
1697 |
+
}), this.selectees.each(function() {
|
1698 |
+
var a = e.data(this, "selectable-item");
|
1699 |
+
if (!a || a.element == n.element[0])
|
1700 |
+
return;
|
1701 |
+
var f = !1;
|
1702 |
+
r.tolerance == "touch" ? f = !(a.left > o || a.right < i || a.top > u || a.bottom < s) : r.tolerance == "fit" && ( f = a.left > i && a.right < o && a.top > s && a.bottom < u), f ? (a.selected && (a.$element.removeClass("ui-selected"), a.selected = !1), a.unselecting && (a.$element.removeClass("ui-unselecting"), a.unselecting = !1), a.selecting || (a.$element.addClass("ui-selecting"), a.selecting = !0, n._trigger("selecting", t, {
|
1703 |
+
selecting : a.element
|
1704 |
+
}))) : (a.selecting && ((t.metaKey || t.ctrlKey) && a.startselected ? (a.$element.removeClass("ui-selecting"), a.selecting = !1, a.$element.addClass("ui-selected"), a.selected = !0) : (a.$element.removeClass("ui-selecting"), a.selecting = !1, a.startselected && (a.$element.addClass("ui-unselecting"), a.unselecting = !0), n._trigger("unselecting", t, {
|
1705 |
+
unselecting : a.element
|
1706 |
+
}))), a.selected && !t.metaKey && !t.ctrlKey && !a.startselected && (a.$element.removeClass("ui-selected"), a.selected = !1, a.$element.addClass("ui-unselecting"), a.unselecting = !0, n._trigger("unselecting", t, {
|
1707 |
+
unselecting : a.element
|
1708 |
+
})))
|
1709 |
+
}), !1
|
1710 |
+
},
|
1711 |
+
_mouseStop : function(t) {
|
1712 |
+
var n = this;
|
1713 |
+
this.dragged = !1;
|
1714 |
+
var r = this.options;
|
1715 |
+
return e(".ui-unselecting", this.element[0]).each(function() {
|
1716 |
+
var r = e.data(this, "selectable-item");
|
1717 |
+
r.$element.removeClass("ui-unselecting"), r.unselecting = !1, r.startselected = !1, n._trigger("unselected", t, {
|
1718 |
+
unselected : r.element
|
1719 |
+
})
|
1720 |
+
}), e(".ui-selecting", this.element[0]).each(function() {
|
1721 |
+
var r = e.data(this, "selectable-item");
|
1722 |
+
r.$element.removeClass("ui-selecting").addClass("ui-selected"), r.selecting = !1, r.selected = !0, r.startselected = !0, n._trigger("selected", t, {
|
1723 |
+
selected : r.element
|
1724 |
+
})
|
1725 |
+
}), this._trigger("stop", t), this.helper.remove(), !1
|
1726 |
+
}
|
1727 |
+
})
|
1728 |
+
})(jQuery);
|
1729 |
+
(function(e, t) {
|
1730 |
+
e.widget("ui.sortable", e.ui.mouse, {
|
1731 |
+
version : "1.9.0",
|
1732 |
+
widgetEventPrefix : "sort",
|
1733 |
+
ready : !1,
|
1734 |
+
options : {
|
1735 |
+
appendTo : "parent",
|
1736 |
+
axis : !1,
|
1737 |
+
connectWith : !1,
|
1738 |
+
containment : !1,
|
1739 |
+
cursor : "auto",
|
1740 |
+
cursorAt : !1,
|
1741 |
+
dropOnEmpty : !0,
|
1742 |
+
forcePlaceholderSize : !1,
|
1743 |
+
forceHelperSize : !1,
|
1744 |
+
grid : !1,
|
1745 |
+
handle : !1,
|
1746 |
+
helper : "original",
|
1747 |
+
items : "> *",
|
1748 |
+
opacity : !1,
|
1749 |
+
placeholder : !1,
|
1750 |
+
revert : !1,
|
1751 |
+
scroll : !0,
|
1752 |
+
scrollSensitivity : 20,
|
1753 |
+
scrollSpeed : 20,
|
1754 |
+
scope : "default",
|
1755 |
+
tolerance : "intersect",
|
1756 |
+
zIndex : 1e3
|
1757 |
+
},
|
1758 |
+
_create : function() {
|
1759 |
+
var e = this.options;
|
1760 |
+
this.containerCache = {}, this.element.addClass("ui-sortable"), this.refresh(), this.floating = this.items.length ? e.axis === "x" || /left|right/.test(this.items[0].item.css("float")) || /inline|table-cell/.test(this.items[0].item.css("display")) : !1, this.offset = this.element.offset(), this._mouseInit(), this.ready = !0
|
1761 |
+
},
|
1762 |
+
_destroy : function() {
|
1763 |
+
this.element.removeClass("ui-sortable ui-sortable-disabled"), this._mouseDestroy();
|
1764 |
+
for (var e = this.items.length - 1; e >= 0; e--)
|
1765 |
+
this.items[e].item.removeData(this.widgetName + "-item");
|
1766 |
+
return this
|
1767 |
+
},
|
1768 |
+
_setOption : function(t, n) {
|
1769 |
+
t === "disabled" ? (this.options[t] = n, this.widget().toggleClass("ui-sortable-disabled", !!n)) : e.Widget.prototype._setOption.apply(this, arguments)
|
1770 |
+
},
|
1771 |
+
_mouseCapture : function(t, n) {
|
1772 |
+
var r = this;
|
1773 |
+
if (this.reverting)
|
1774 |
+
return !1;
|
1775 |
+
if (this.options.disabled || this.options.type == "static")
|
1776 |
+
return !1;
|
1777 |
+
this._refreshItems(t);
|
1778 |
+
var i = null, s = e(t.target).parents().each(function() {
|
1779 |
+
if (e.data(this, r.widgetName + "-item") == r)
|
1780 |
+
return i = e(this), !1
|
1781 |
+
});
|
1782 |
+
e.data(t.target, r.widgetName + "-item") == r && ( i = e(t.target));
|
1783 |
+
if (!i)
|
1784 |
+
return !1;
|
1785 |
+
if (this.options.handle && !n) {
|
1786 |
+
var o = !1;
|
1787 |
+
e(this.options.handle, i).find("*").andSelf().each(function() {
|
1788 |
+
this == t.target && ( o = !0)
|
1789 |
+
});
|
1790 |
+
if (!o)
|
1791 |
+
return !1
|
1792 |
+
}
|
1793 |
+
return this.currentItem = i, this._removeCurrentsFromItems(), !0
|
1794 |
+
},
|
1795 |
+
_mouseStart : function(t, n, r) {
|
1796 |
+
var i = this.options;
|
1797 |
+
this.currentContainer = this, this.refreshPositions(), this.helper = this._createHelper(t), this._cacheHelperProportions(), this._cacheMargins(), this.scrollParent = this.helper.scrollParent(), this.offset = this.currentItem.offset(), this.offset = {
|
1798 |
+
top : this.offset.top - this.margins.top,
|
1799 |
+
left : this.offset.left - this.margins.left
|
1800 |
+
}, e.extend(this.offset, {
|
1801 |
+
click : {
|
1802 |
+
left : t.pageX - this.offset.left,
|
1803 |
+
top : t.pageY - this.offset.top
|
1804 |
+
},
|
1805 |
+
parent : this._getParentOffset(),
|
1806 |
+
relative : this._getRelativeOffset()
|
1807 |
+
}), this.helper.css("position", "absolute"), this.cssPosition = this.helper.css("position"), this.originalPosition = this._generatePosition(t), this.originalPageX = t.pageX, this.originalPageY = t.pageY, i.cursorAt && this._adjustOffsetFromHelper(i.cursorAt), this.domPosition = {
|
1808 |
+
prev : this.currentItem.prev()[0],
|
1809 |
+
parent : this.currentItem.parent()[0]
|
1810 |
+
}, this.helper[0] != this.currentItem[0] && this.currentItem.hide(), this._createPlaceholder(), i.containment && this._setContainment(), i.cursor && (e("body").css("cursor") && (this._storedCursor = e("body").css("cursor")), e("body").css("cursor", i.cursor)), i.opacity && (this.helper.css("opacity") && (this._storedOpacity = this.helper.css("opacity")), this.helper.css("opacity", i.opacity)), i.zIndex && (this.helper.css("zIndex") && (this._storedZIndex = this.helper.css("zIndex")), this.helper.css("zIndex", i.zIndex)), this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" && (this.overflowOffset = this.scrollParent.offset()), this._trigger("start", t, this._uiHash()), this._preserveHelperProportions || this._cacheHelperProportions();
|
1811 |
+
if (!r)
|
1812 |
+
for (var s = this.containers.length - 1; s >= 0; s--)
|
1813 |
+
this.containers[s]._trigger("activate", t, this._uiHash(this));
|
1814 |
+
return e.ui.ddmanager && (e.ui.ddmanager.current = this), e.ui.ddmanager && !i.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t), this.dragging = !0, this.helper.addClass("ui-sortable-helper"), this._mouseDrag(t), !0
|
1815 |
+
},
|
1816 |
+
_mouseDrag : function(t) {
|
1817 |
+
this.position = this._generatePosition(t), this.positionAbs = this._convertPositionTo("absolute"), this.lastPositionAbs || (this.lastPositionAbs = this.positionAbs);
|
1818 |
+
if (this.options.scroll) {
|
1819 |
+
var n = this.options, r = !1;
|
1820 |
+
this.scrollParent[0] != document && this.scrollParent[0].tagName != "HTML" ? (this.overflowOffset.top + this.scrollParent[0].offsetHeight - t.pageY < n.scrollSensitivity ? this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop + n.scrollSpeed : t.pageY - this.overflowOffset.top < n.scrollSensitivity && (this.scrollParent[0].scrollTop = r = this.scrollParent[0].scrollTop - n.scrollSpeed), this.overflowOffset.left + this.scrollParent[0].offsetWidth - t.pageX < n.scrollSensitivity ? this.scrollParent[0].scrollLeft = r = this.scrollParent[0].scrollLeft + n.scrollSpeed : t.pageX - this.overflowOffset.left < n.scrollSensitivity && (this.scrollParent[0].scrollLeft = r = this.scrollParent[0].scrollLeft - n.scrollSpeed)) : (t.pageY - e(document).scrollTop() < n.scrollSensitivity ? r = e(document).scrollTop(e(document).scrollTop() - n.scrollSpeed) : e(window).height() - (t.pageY - e(document).scrollTop()) < n.scrollSensitivity && ( r = e(document).scrollTop(e(document).scrollTop() + n.scrollSpeed)), t.pageX - e(document).scrollLeft() < n.scrollSensitivity ? r = e(document).scrollLeft(e(document).scrollLeft() - n.scrollSpeed) : e(window).width() - (t.pageX - e(document).scrollLeft()) < n.scrollSensitivity && ( r = e(document).scrollLeft(e(document).scrollLeft() + n.scrollSpeed))), r !== !1 && e.ui.ddmanager && !n.dropBehaviour && e.ui.ddmanager.prepareOffsets(this, t)
|
1821 |
+
}
|
1822 |
+
this.positionAbs = this._convertPositionTo("absolute");
|
1823 |
+
if (!this.options.axis || this.options.axis != "y")
|
1824 |
+
this.helper[0].style.left = this.position.left + "px";
|
1825 |
+
if (!this.options.axis || this.options.axis != "x")
|
1826 |
+
this.helper[0].style.top = this.position.top + "px";
|
1827 |
+
for (var i = this.items.length - 1; i >= 0; i--) {
|
1828 |
+
var s = this.items[i], o = s.item[0], u = this._intersectsWithPointer(s);
|
1829 |
+
if (!u)
|
1830 |
+
continue;
|
1831 |
+
if (s.instance !== this.currentContainer)
|
1832 |
+
continue;
|
1833 |
+
if (o != this.currentItem[0] && this.placeholder[u==1?"next":"prev"]()[0] != o && !e.contains(this.placeholder[0], o) && (this.options.type == "semi-dynamic" ? !e.contains(this.element[0], o) : !0)) {
|
1834 |
+
this.direction = u == 1 ? "down" : "up";
|
1835 |
+
if (this.options.tolerance != "pointer" && !this._intersectsWithSides(s))
|
1836 |
+
break;
|
1837 |
+
this._rearrange(t, s), this._trigger("change", t, this._uiHash());
|
1838 |
+
break
|
1839 |
+
}
|
1840 |
+
}
|
1841 |
+
return this._contactContainers(t), e.ui.ddmanager && e.ui.ddmanager.drag(this, t), this._trigger("sort", t, this._uiHash()), this.lastPositionAbs = this.positionAbs, !1
|
1842 |
+
},
|
1843 |
+
_mouseStop : function(t, n) {
|
1844 |
+
if (!t)
|
1845 |
+
return;
|
1846 |
+
e.ui.ddmanager && !this.options.dropBehaviour && e.ui.ddmanager.drop(this, t);
|
1847 |
+
if (this.options.revert) {
|
1848 |
+
var r = this, i = this.placeholder.offset();
|
1849 |
+
this.reverting = !0, e(this.helper).animate({
|
1850 |
+
left : i.left - this.offset.parent.left - this.margins.left + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollLeft),
|
1851 |
+
top : i.top - this.offset.parent.top - this.margins.top + (this.offsetParent[0] == document.body ? 0 : this.offsetParent[0].scrollTop)
|
1852 |
+
}, parseInt(this.options.revert, 10) || 500, function() {
|
1853 |
+
r._clear(t)
|
1854 |
+
})
|
1855 |
+
} else
|
1856 |
+
this._clear(t, n);
|
1857 |
+
return !1
|
1858 |
+
},
|
1859 |
+
cancel : function() {
|
1860 |
+
if (this.dragging) {
|
1861 |
+
this._mouseUp({
|
1862 |
+
target : null
|
1863 |
+
}), this.options.helper == "original" ? this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper") : this.currentItem.show();
|
1864 |
+
for (var t = this.containers.length - 1; t >= 0; t--)
|
1865 |
+
this.containers[t]._trigger("deactivate", null, this._uiHash(this)), this.containers[t].containerCache.over && (this.containers[t]._trigger("out", null, this._uiHash(this)), this.containers[t].containerCache.over = 0)
|
1866 |
+
}
|
1867 |
+
return this.placeholder && (this.placeholder[0].parentNode && this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.options.helper != "original" && this.helper && this.helper[0].parentNode && this.helper.remove(), e.extend(this, {
|
1868 |
+
helper : null,
|
1869 |
+
dragging : !1,
|
1870 |
+
reverting : !1,
|
1871 |
+
_noFinalSort : null
|
1872 |
+
}), this.domPosition.prev ? e(this.domPosition.prev).after(this.currentItem) : e(this.domPosition.parent).prepend(this.currentItem)), this
|
1873 |
+
},
|
1874 |
+
serialize : function(t) {
|
1875 |
+
var n = this._getItemsAsjQuery(t && t.connected), r = [];
|
1876 |
+
return t = t || {}, e(n).each(function() {
|
1877 |
+
var n = (e(t.item || this).attr(t.attribute || "id") || "").match(t.expression || /(.+)[-=_](.+)/);
|
1878 |
+
n && r.push((t.key || n[1] + "[]") + "=" + (t.key && t.expression ? n[1] : n[2]))
|
1879 |
+
}), !r.length && t.key && r.push(t.key + "="), r.join("&")
|
1880 |
+
},
|
1881 |
+
toArray : function(t) {
|
1882 |
+
var n = this._getItemsAsjQuery(t && t.connected), r = [];
|
1883 |
+
return t = t || {}, n.each(function() {
|
1884 |
+
r.push(e(t.item || this).attr(t.attribute || "id") || "")
|
1885 |
+
}), r
|
1886 |
+
},
|
1887 |
+
_intersectsWith : function(e) {
|
1888 |
+
var t = this.positionAbs.left, n = t + this.helperProportions.width, r = this.positionAbs.top, i = r + this.helperProportions.height, s = e.left, o = s + e.width, u = e.top, a = u + e.height, f = this.offset.click.top, l = this.offset.click.left, c = r + f > u && r + f < a && t + l > s && t + l < o;
|
1889 |
+
return this.options.tolerance == "pointer" || this.options.forcePointerForContainers || this.options.tolerance != "pointer" && this.helperProportions[this.floating ? "width" : "height"] > e[this.floating ? "width" : "height"] ? c : s < t + this.helperProportions.width / 2 && n - this.helperProportions.width / 2 < o && u < r + this.helperProportions.height / 2 && i - this.helperProportions.height / 2 < a
|
1890 |
+
},
|
1891 |
+
_intersectsWithPointer : function(t) {
|
1892 |
+
var n = this.options.axis === "x" || e.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, t.top, t.height), r = this.options.axis === "y" || e.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, t.left, t.width), i = n && r, s = this._getDragVerticalDirection(), o = this._getDragHorizontalDirection();
|
1893 |
+
return i ? this.floating ? o && o == "right" || s == "down" ? 2 : 1 : s && (s == "down" ? 2 : 1) : !1
|
1894 |
+
},
|
1895 |
+
_intersectsWithSides : function(t) {
|
1896 |
+
var n = e.ui.isOverAxis(this.positionAbs.top + this.offset.click.top, t.top + t.height / 2, t.height), r = e.ui.isOverAxis(this.positionAbs.left + this.offset.click.left, t.left + t.width / 2, t.width), i = this._getDragVerticalDirection(), s = this._getDragHorizontalDirection();
|
1897 |
+
return this.floating && s ? s == "right" && r || s == "left" && !r : i && (i == "down" && n || i == "up" && !n)
|
1898 |
+
},
|
1899 |
+
_getDragVerticalDirection : function() {
|
1900 |
+
var e = this.positionAbs.top - this.lastPositionAbs.top;
|
1901 |
+
return e != 0 && (e > 0 ? "down" : "up")
|
1902 |
+
},
|
1903 |
+
_getDragHorizontalDirection : function() {
|
1904 |
+
var e = this.positionAbs.left - this.lastPositionAbs.left;
|
1905 |
+
return e != 0 && (e > 0 ? "right" : "left")
|
1906 |
+
},
|
1907 |
+
refresh : function(e) {
|
1908 |
+
return this._refreshItems(e), this.refreshPositions(), this
|
1909 |
+
},
|
1910 |
+
_connectWith : function() {
|
1911 |
+
var e = this.options;
|
1912 |
+
return e.connectWith.constructor == String ? [e.connectWith] : e.connectWith
|
1913 |
+
},
|
1914 |
+
_getItemsAsjQuery : function(t) {
|
1915 |
+
var n = [], r = [], i = this._connectWith();
|
1916 |
+
if (i && t)
|
1917 |
+
for (var s = i.length - 1; s >= 0; s--) {
|
1918 |
+
var o = e(i[s]);
|
1919 |
+
for (var u = o.length - 1; u >= 0; u--) {
|
1920 |
+
var a = e.data(o[u], this.widgetName);
|
1921 |
+
a && a != this && !a.options.disabled && r.push([e.isFunction(a.options.items) ? a.options.items.call(a.element) : e(a.options.items, a.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), a])
|
1922 |
+
}
|
1923 |
+
}
|
1924 |
+
r.push([e.isFunction(this.options.items) ? this.options.items.call(this.element, null, {
|
1925 |
+
options : this.options,
|
1926 |
+
item : this.currentItem
|
1927 |
+
}) : e(this.options.items, this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"), this]);
|
1928 |
+
for (var s = r.length - 1; s >= 0; s--)
|
1929 |
+
r[s][0].each(function() {
|
1930 |
+
n.push(this)
|
1931 |
+
});
|
1932 |
+
return e(n)
|
1933 |
+
},
|
1934 |
+
_removeCurrentsFromItems : function() {
|
1935 |
+
var e = this.currentItem.find(":data(" + this.widgetName + "-item)");
|
1936 |
+
for (var t = 0; t < this.items.length; t++)
|
1937 |
+
for (var n = 0; n < e.length; n++)
|
1938 |
+
e[n] == this.items[t].item[0] && this.items.splice(t, 1)
|
1939 |
+
},
|
1940 |
+
_refreshItems : function(t) {
|
1941 |
+
this.items = [], this.containers = [this];
|
1942 |
+
var n = this.items, r = [[e.isFunction(this.options.items) ? this.options.items.call(this.element[0], t, {
|
1943 |
+
item : this.currentItem
|
1944 |
+
}) : e(this.options.items, this.element), this]], i = this._connectWith();
|
1945 |
+
if (i && this.ready)
|
1946 |
+
for (var s = i.length - 1; s >= 0; s--) {
|
1947 |
+
var o = e(i[s]);
|
1948 |
+
for (var u = o.length - 1; u >= 0; u--) {
|
1949 |
+
var a = e.data(o[u], this.widgetName);
|
1950 |
+
a && a != this && !a.options.disabled && (r.push([e.isFunction(a.options.items) ? a.options.items.call(a.element[0], t, {
|
1951 |
+
item : this.currentItem
|
1952 |
+
}) : e(a.options.items, a.element), a]), this.containers.push(a))
|
1953 |
+
}
|
1954 |
+
}
|
1955 |
+
for (var s = r.length - 1; s >= 0; s--) {
|
1956 |
+
var f = r[s][1], l = r[s][0];
|
1957 |
+
for (var u = 0, c = l.length; u < c; u++) {
|
1958 |
+
var h = e(l[u]);
|
1959 |
+
h.data(this.widgetName + "-item", f), n.push({
|
1960 |
+
item : h,
|
1961 |
+
instance : f,
|
1962 |
+
width : 0,
|
1963 |
+
height : 0,
|
1964 |
+
left : 0,
|
1965 |
+
top : 0
|
1966 |
+
})
|
1967 |
+
}
|
1968 |
+
}
|
1969 |
+
},
|
1970 |
+
refreshPositions : function(t) {
|
1971 |
+
this.offsetParent && this.helper && (this.offset.parent = this._getParentOffset());
|
1972 |
+
for (var n = this.items.length - 1; n >= 0; n--) {
|
1973 |
+
var r = this.items[n];
|
1974 |
+
if (r.instance != this.currentContainer && this.currentContainer && r.item[0] != this.currentItem[0])
|
1975 |
+
continue;
|
1976 |
+
var i = this.options.toleranceElement ? e(this.options.toleranceElement, r.item) : r.item;
|
1977 |
+
t || (r.width = i.outerWidth(), r.height = i.outerHeight());
|
1978 |
+
var s = i.offset();
|
1979 |
+
r.left = s.left, r.top = s.top
|
1980 |
+
}
|
1981 |
+
if (this.options.custom && this.options.custom.refreshContainers)
|
1982 |
+
this.options.custom.refreshContainers.call(this);
|
1983 |
+
else
|
1984 |
+
for (var n = this.containers.length - 1; n >= 0; n--) {
|
1985 |
+
var s = this.containers[n].element.offset();
|
1986 |
+
this.containers[n].containerCache.left = s.left, this.containers[n].containerCache.top = s.top, this.containers[n].containerCache.width = this.containers[n].element.outerWidth(), this.containers[n].containerCache.height = this.containers[n].element.outerHeight()
|
1987 |
+
}
|
1988 |
+
return this
|
1989 |
+
},
|
1990 |
+
_createPlaceholder : function(t) {
|
1991 |
+
t = t || this;
|
1992 |
+
var n = t.options;
|
1993 |
+
if (!n.placeholder || n.placeholder.constructor == String) {
|
1994 |
+
var r = n.placeholder;
|
1995 |
+
n.placeholder = {
|
1996 |
+
element : function() {
|
1997 |
+
var n = e(document.createElement(t.currentItem[0].nodeName)).addClass(r||t.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];
|
1998 |
+
return r || (n.style.visibility = "hidden"), n
|
1999 |
+
},
|
2000 |
+
update : function(e, i) {
|
2001 |
+
if (r && !n.forcePlaceholderSize)
|
2002 |
+
return;
|
2003 |
+
i.height() || i.height(t.currentItem.innerHeight() - parseInt(t.currentItem.css("paddingTop") || 0, 10) - parseInt(t.currentItem.css("paddingBottom") || 0, 10)), i.width() || i.width(t.currentItem.innerWidth() - parseInt(t.currentItem.css("paddingLeft") || 0, 10) - parseInt(t.currentItem.css("paddingRight") || 0, 10))
|
2004 |
+
}
|
2005 |
+
}
|
2006 |
+
}
|
2007 |
+
t.placeholder = e(n.placeholder.element.call(t.element, t.currentItem)), t.currentItem.after(t.placeholder), n.placeholder.update(t, t.placeholder)
|
2008 |
+
},
|
2009 |
+
_contactContainers : function(t) {
|
2010 |
+
var n = null, r = null;
|
2011 |
+
for (var i = this.containers.length - 1; i >= 0; i--) {
|
2012 |
+
if (e.contains(this.currentItem[0], this.containers[i].element[0]))
|
2013 |
+
continue;
|
2014 |
+
if (this._intersectsWith(this.containers[i].containerCache)) {
|
2015 |
+
if (n && e.contains(this.containers[i].element[0], n.element[0]))
|
2016 |
+
continue;
|
2017 |
+
n = this.containers[i], r = i
|
2018 |
+
} else
|
2019 |
+
this.containers[i].containerCache.over && (this.containers[i]._trigger("out", t, this._uiHash(this)), this.containers[i].containerCache.over = 0)
|
2020 |
+
}
|
2021 |
+
if (!n)
|
2022 |
+
return;
|
2023 |
+
if (this.containers.length === 1)
|
2024 |
+
this.containers[r]._trigger("over", t, this._uiHash(this)), this.containers[r].containerCache.over = 1;
|
2025 |
+
else if (this.currentContainer != this.containers[r]) {
|
2026 |
+
var s = 1e4, o = null, u = this.positionAbs[this.containers[r].floating ? "left" : "top"];
|
2027 |
+
for (var a = this.items.length - 1; a >= 0; a--) {
|
2028 |
+
if (!e.contains(this.containers[r].element[0], this.items[a].item[0]))
|
2029 |
+
continue;
|
2030 |
+
var f = this.containers[r].floating ? this.items[a].item.offset().left : this.items[a].item.offset().top;
|
2031 |
+
Math.abs(f - u) < s && ( s = Math.abs(f - u), o = this.items[a], this.direction = f - u > 0 ? "down" : "up")
|
2032 |
+
}
|
2033 |
+
if (!o && !this.options.dropOnEmpty)
|
2034 |
+
return;
|
2035 |
+
this.currentContainer = this.containers[r], o ? this._rearrange(t, o, null, !0) : this._rearrange(t, null, this.containers[r].element, !0), this._trigger("change", t, this._uiHash()), this.containers[r]._trigger("change", t, this._uiHash(this)), this.options.placeholder.update(this.currentContainer, this.placeholder), this.containers[r]._trigger("over", t, this._uiHash(this)), this.containers[r].containerCache.over = 1
|
2036 |
+
}
|
2037 |
+
},
|
2038 |
+
_createHelper : function(t) {
|
2039 |
+
var n = this.options, r = e.isFunction(n.helper) ? e(n.helper.apply(this.element[0], [t, this.currentItem])) : n.helper == "clone" ? this.currentItem.clone() : this.currentItem;
|
2040 |
+
return r.parents("body").length || e(n.appendTo!="parent"?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(r[0]), r[0] == this.currentItem[0] && (this._storedCSS = {
|
2041 |
+
width : this.currentItem[0].style.width,
|
2042 |
+
height : this.currentItem[0].style.height,
|
2043 |
+
position : this.currentItem.css("position"),
|
2044 |
+
top : this.currentItem.css("top"),
|
2045 |
+
left : this.currentItem.css("left")
|
2046 |
+
}), (r[0].style.width == "" || n.forceHelperSize) && r.width(this.currentItem.width()), (r[0].style.height == "" || n.forceHelperSize) && r.height(this.currentItem.height()), r
|
2047 |
+
},
|
2048 |
+
_adjustOffsetFromHelper : function(t) {
|
2049 |
+
typeof t == "string" && ( t = t.split(" ")), e.isArray(t) && ( t = {
|
2050 |
+
left : +t[0],
|
2051 |
+
top : +t[1] || 0
|
2052 |
+
}), "left" in t && (this.offset.click.left = t.left + this.margins.left), "right" in t && (this.offset.click.left = this.helperProportions.width - t.right + this.margins.left), "top" in t && (this.offset.click.top = t.top + this.margins.top), "bottom" in t && (this.offset.click.top = this.helperProportions.height - t.bottom + this.margins.top)
|
2053 |
+
},
|
2054 |
+
_getParentOffset : function() {
|
2055 |
+
this.offsetParent = this.helper.offsetParent();
|
2056 |
+
var t = this.offsetParent.offset();
|
2057 |
+
this.cssPosition == "absolute" && this.scrollParent[0] != document && e.contains(this.scrollParent[0], this.offsetParent[0]) && (t.left += this.scrollParent.scrollLeft(), t.top += this.scrollParent.scrollTop());
|
2058 |
+
if (this.offsetParent[0] == document.body || this.offsetParent[0].tagName && this.offsetParent[0].tagName.toLowerCase() == "html" && e.browser.msie)
|
2059 |
+
t = {
|
2060 |
+
top : 0,
|
2061 |
+
left : 0
|
2062 |
+
};
|
2063 |
+
return {
|
2064 |
+
top : t.top + (parseInt(this.offsetParent.css("borderTopWidth"), 10) || 0),
|
2065 |
+
left : t.left + (parseInt(this.offsetParent.css("borderLeftWidth"), 10) || 0)
|
2066 |
+
}
|
2067 |
+
},
|
2068 |
+
_getRelativeOffset : function() {
|
2069 |
+
if (this.cssPosition == "relative") {
|
2070 |
+
var e = this.currentItem.position();
|
2071 |
+
return {
|
2072 |
+
top : e.top - (parseInt(this.helper.css("top"), 10) || 0) + this.scrollParent.scrollTop(),
|
2073 |
+
left : e.left - (parseInt(this.helper.css("left"), 10) || 0) + this.scrollParent.scrollLeft()
|
2074 |
+
}
|
2075 |
+
}
|
2076 |
+
return {
|
2077 |
+
top : 0,
|
2078 |
+
left : 0
|
2079 |
+
}
|
2080 |
+
},
|
2081 |
+
_cacheMargins : function() {
|
2082 |
+
this.margins = {
|
2083 |
+
left : parseInt(this.currentItem.css("marginLeft"), 10) || 0,
|
2084 |
+
top : parseInt(this.currentItem.css("marginTop"), 10) || 0
|
2085 |
+
}
|
2086 |
+
},
|
2087 |
+
_cacheHelperProportions : function() {
|
2088 |
+
this.helperProportions = {
|
2089 |
+
width : this.helper.outerWidth(),
|
2090 |
+
height : this.helper.outerHeight()
|
2091 |
+
}
|
2092 |
+
},
|
2093 |
+
_setContainment : function() {
|
2094 |
+
var t = this.options;
|
2095 |
+
t.containment == "parent" && (t.containment = this.helper[0].parentNode);
|
2096 |
+
if (t.containment == "document" || t.containment == "window")
|
2097 |
+
this.containment = [0 - this.offset.relative.left - this.offset.parent.left, 0 - this.offset.relative.top - this.offset.parent.top, e(t.containment == "document" ? document : window).width() - this.helperProportions.width - this.margins.left, (e(t.containment == "document" ? document : window).height() || document.body.parentNode.scrollHeight) - this.helperProportions.height - this.margins.top];
|
2098 |
+
if (!/^(document|window|parent)$/.test(t.containment)) {
|
2099 |
+
var n = e(t.containment)[0], r = e(t.containment).offset(), i = e(n).css("overflow") != "hidden";
|
2100 |
+
this.containment = [r.left + (parseInt(e(n).css("borderLeftWidth"), 10) || 0) + (parseInt(e(n).css("paddingLeft"), 10) || 0) - this.margins.left, r.top + (parseInt(e(n).css("borderTopWidth"), 10) || 0) + (parseInt(e(n).css("paddingTop"), 10) || 0) - this.margins.top, r.left + ( i ? Math.max(n.scrollWidth, n.offsetWidth) : n.offsetWidth) - (parseInt(e(n).css("borderLeftWidth"), 10) || 0) - (parseInt(e(n).css("paddingRight"), 10) || 0) - this.helperProportions.width - this.margins.left, r.top + ( i ? Math.max(n.scrollHeight, n.offsetHeight) : n.offsetHeight) - (parseInt(e(n).css("borderTopWidth"), 10) || 0) - (parseInt(e(n).css("paddingBottom"), 10) || 0) - this.helperProportions.height - this.margins.top]
|
2101 |
+
}
|
2102 |
+
},
|
2103 |
+
_convertPositionTo : function(t, n) {
|
2104 |
+
n || ( n = this.position);
|
2105 |
+
var r = t == "absolute" ? 1 : -1, i = this.options, s = this.cssPosition != "absolute" || this.scrollParent[0] != document && !!e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, o = /(html|body)/i.test(s[0].tagName);
|
2106 |
+
return {
|
2107 |
+
top : n.top + this.offset.relative.top * r + this.offset.parent.top * r - (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : o ? 0 : s.scrollTop()) * r,
|
2108 |
+
left : n.left + this.offset.relative.left * r + this.offset.parent.left * r - (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : o ? 0 : s.scrollLeft()) * r
|
2109 |
+
}
|
2110 |
+
},
|
2111 |
+
_generatePosition : function(t) {
|
2112 |
+
var n = this.options, r = this.cssPosition != "absolute" || this.scrollParent[0] != document && !!e.contains(this.scrollParent[0], this.offsetParent[0]) ? this.scrollParent : this.offsetParent, i = /(html|body)/i.test(r[0].tagName);
|
2113 |
+
this.cssPosition == "relative" && (this.scrollParent[0] == document || this.scrollParent[0] == this.offsetParent[0]) && (this.offset.relative = this._getRelativeOffset());
|
2114 |
+
var s = t.pageX, o = t.pageY;
|
2115 |
+
if (this.originalPosition) {
|
2116 |
+
this.containment && (t.pageX - this.offset.click.left < this.containment[0] && ( s = this.containment[0] + this.offset.click.left), t.pageY - this.offset.click.top < this.containment[1] && ( o = this.containment[1] + this.offset.click.top), t.pageX - this.offset.click.left > this.containment[2] && ( s = this.containment[2] + this.offset.click.left), t.pageY - this.offset.click.top > this.containment[3] && ( o = this.containment[3] + this.offset.click.top));
|
2117 |
+
if (n.grid) {
|
2118 |
+
var u = this.originalPageY + Math.round((o - this.originalPageY) / n.grid[1]) * n.grid[1];
|
2119 |
+
o = this.containment ? u - this.offset.click.top < this.containment[1] || u - this.offset.click.top > this.containment[3] ? u - this.offset.click.top < this.containment[1] ? u + n.grid[1] : u - n.grid[1] : u : u;
|
2120 |
+
var a = this.originalPageX + Math.round((s - this.originalPageX) / n.grid[0]) * n.grid[0];
|
2121 |
+
s = this.containment ? a - this.offset.click.left < this.containment[0] || a - this.offset.click.left > this.containment[2] ? a - this.offset.click.left < this.containment[0] ? a + n.grid[0] : a - n.grid[0] : a : a
|
2122 |
+
}
|
2123 |
+
}
|
2124 |
+
return {
|
2125 |
+
top : o - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + (this.cssPosition == "fixed" ? -this.scrollParent.scrollTop() : i ? 0 : r.scrollTop()),
|
2126 |
+
left : s - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + (this.cssPosition == "fixed" ? -this.scrollParent.scrollLeft() : i ? 0 : r.scrollLeft())
|
2127 |
+
}
|
2128 |
+
},
|
2129 |
+
_rearrange : function(e, t, n, r) {
|
2130 |
+
n ? n[0].appendChild(this.placeholder[0]) : t.item[0].parentNode.insertBefore(this.placeholder[0], this.direction == "down" ? t.item[0] : t.item[0].nextSibling), this.counter = this.counter ? ++this.counter : 1;
|
2131 |
+
var i = this.counter;
|
2132 |
+
this._delay(function() {
|
2133 |
+
i == this.counter && this.refreshPositions(!r)
|
2134 |
+
})
|
2135 |
+
},
|
2136 |
+
_clear : function(t, n) {
|
2137 |
+
this.reverting = !1;
|
2138 |
+
var r = [];
|
2139 |
+
!this._noFinalSort && this.currentItem.parent().length && this.placeholder.before(this.currentItem), this._noFinalSort = null;
|
2140 |
+
if (this.helper[0] == this.currentItem[0]) {
|
2141 |
+
for (var i in this._storedCSS)
|
2142 |
+
if (this._storedCSS[i] == "auto" || this._storedCSS[i] == "static")
|
2143 |
+
this._storedCSS[i] = "";
|
2144 |
+
this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")
|
2145 |
+
} else
|
2146 |
+
this.currentItem.show();
|
2147 |
+
this.fromOutside && !n && r.push(function(e) {
|
2148 |
+
this._trigger("receive", e, this._uiHash(this.fromOutside))
|
2149 |
+
}), (this.fromOutside || this.domPosition.prev != this.currentItem.prev().not(".ui-sortable-helper")[0] || this.domPosition.parent != this.currentItem.parent()[0]) && !n && r.push(function(e) {
|
2150 |
+
this._trigger("update", e, this._uiHash())
|
2151 |
+
}), this !== this.currentContainer && (n || (r.push(function(e) {
|
2152 |
+
this._trigger("remove", e, this._uiHash())
|
2153 |
+
}), r.push( function(e) {
|
2154 |
+
return function(t) {
|
2155 |
+
e._trigger("receive", t, this._uiHash(this))
|
2156 |
+
}
|
2157 |
+
}.call(this, this.currentContainer)), r.push( function(e) {
|
2158 |
+
return function(t) {
|
2159 |
+
e._trigger("update", t, this._uiHash(this))
|
2160 |
+
}
|
2161 |
+
}.call(this, this.currentContainer))));
|
2162 |
+
for (var i = this.containers.length - 1; i >= 0; i--)
|
2163 |
+
n || r.push( function(e) {
|
2164 |
+
return function(t) {
|
2165 |
+
e._trigger("deactivate", t, this._uiHash(this))
|
2166 |
+
}
|
2167 |
+
}.call(this, this.containers[i])), this.containers[i].containerCache.over && (r.push( function(e) {
|
2168 |
+
return function(t) {
|
2169 |
+
e._trigger("out", t, this._uiHash(this))
|
2170 |
+
}
|
2171 |
+
}.call(this, this.containers[i])), this.containers[i].containerCache.over = 0);
|
2172 |
+
this._storedCursor && e("body").css("cursor", this._storedCursor), this._storedOpacity && this.helper.css("opacity", this._storedOpacity), this._storedZIndex && this.helper.css("zIndex", this._storedZIndex == "auto" ? "" : this._storedZIndex), this.dragging = !1;
|
2173 |
+
if (this.cancelHelperRemoval) {
|
2174 |
+
if (!n) {
|
2175 |
+
this._trigger("beforeStop", t, this._uiHash());
|
2176 |
+
for (var i = 0; i < r.length; i++)
|
2177 |
+
r[i].call(this, t);
|
2178 |
+
this._trigger("stop", t, this._uiHash())
|
2179 |
+
}
|
2180 |
+
return this.fromOutside = !1, !1
|
2181 |
+
}
|
2182 |
+
n || this._trigger("beforeStop", t, this._uiHash()), this.placeholder[0].parentNode.removeChild(this.placeholder[0]), this.helper[0] != this.currentItem[0] && this.helper.remove(), this.helper = null;
|
2183 |
+
if (!n) {
|
2184 |
+
for (var i = 0; i < r.length; i++)
|
2185 |
+
r[i].call(this, t);
|
2186 |
+
this._trigger("stop", t, this._uiHash())
|
2187 |
+
}
|
2188 |
+
return this.fromOutside = !1, !0
|
2189 |
+
},
|
2190 |
+
_trigger : function() {
|
2191 |
+
e.Widget.prototype._trigger.apply(this, arguments) === !1 && this.cancel()
|
2192 |
+
},
|
2193 |
+
_uiHash : function(t) {
|
2194 |
+
var n = t || this;
|
2195 |
+
return {
|
2196 |
+
helper : n.helper,
|
2197 |
+
placeholder : n.placeholder || e([]),
|
2198 |
+
position : n.position,
|
2199 |
+
originalPosition : n.originalPosition,
|
2200 |
+
offset : n.positionAbs,
|
2201 |
+
item : n.currentItem,
|
2202 |
+
sender : t ? t.element : null
|
2203 |
+
}
|
2204 |
+
}
|
2205 |
+
})
|
2206 |
+
})(jQuery);
|
2207 |
+
(function(e, t) {
|
2208 |
+
var n = 0, r = {}, i = {};
|
2209 |
+
r.height = r.paddingTop = r.paddingBottom = r.borderTopWidth = r.borderBottomWidth = "hide", i.height = i.paddingTop = i.paddingBottom = i.borderTopWidth = i.borderBottomWidth = "show", e.widget("ui.accordion", {
|
2210 |
+
version : "1.9.0",
|
2211 |
+
options : {
|
2212 |
+
active : 0,
|
2213 |
+
animate : {},
|
2214 |
+
collapsible : !1,
|
2215 |
+
event : "click",
|
2216 |
+
header : "> li > :first-child,> :not(li):even",
|
2217 |
+
heightStyle : "auto",
|
2218 |
+
icons : {
|
2219 |
+
activeHeader : "ui-icon-triangle-1-s",
|
2220 |
+
header : "ui-icon-triangle-1-e"
|
2221 |
+
},
|
2222 |
+
activate : null,
|
2223 |
+
beforeActivate : null
|
2224 |
+
},
|
2225 |
+
_create : function() {
|
2226 |
+
var t = this.accordionId = "ui-accordion-" + (this.element.attr("id") || ++n), r = this.options;
|
2227 |
+
this.prevShow = this.prevHide = e(), this.element.addClass("ui-accordion ui-widget ui-helper-reset"), this.headers = this.element.find(r.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"), this._hoverable(this.headers), this._focusable(this.headers), this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide(), !r.collapsible && r.active === !1 && (r.active = 0), r.active < 0 && (r.active += this.headers.length), this.active = this._findActive(r.active).addClass("ui-accordion-header-active ui-state-active").toggleClass("ui-corner-all ui-corner-top"), this.active.next().addClass("ui-accordion-content-active").show(), this._createIcons(), this.originalHeight = this.element[0].style.height, this.refresh(), this.element.attr("role", "tablist"), this.headers.attr("role", "tab").each(function(n) {
|
2228 |
+
var r = e(this), i = r.attr("id"), s = r.next(), o = s.attr("id");
|
2229 |
+
i || ( i = t + "-header-" + n, r.attr("id", i)), o || ( o = t + "-panel-" + n, s.attr("id", o)), r.attr("aria-controls", o), s.attr("aria-labelledby", i)
|
2230 |
+
}).next().attr("role", "tabpanel"), this.headers.not(this.active).attr({
|
2231 |
+
"aria-selected" : "false",
|
2232 |
+
tabIndex : -1
|
2233 |
+
}).next().attr({
|
2234 |
+
"aria-expanded" : "false",
|
2235 |
+
"aria-hidden" : "true"
|
2236 |
+
}).hide(), this.active.length ? this.active.attr({
|
2237 |
+
"aria-selected" : "true",
|
2238 |
+
tabIndex : 0
|
2239 |
+
}).next().attr({
|
2240 |
+
"aria-expanded" : "true",
|
2241 |
+
"aria-hidden" : "false"
|
2242 |
+
}) : this.headers.eq(0).attr("tabIndex", 0), this._on(this.headers, {
|
2243 |
+
keydown : "_keydown"
|
2244 |
+
}), this._on(this.headers.next(), {
|
2245 |
+
keydown : "_panelKeyDown"
|
2246 |
+
}), this._setupEvents(r.event)
|
2247 |
+
},
|
2248 |
+
_getCreateEventData : function() {
|
2249 |
+
return {
|
2250 |
+
header : this.active,
|
2251 |
+
content : this.active.length ? this.active.next() : e()
|
2252 |
+
}
|
2253 |
+
},
|
2254 |
+
_createIcons : function() {
|
2255 |
+
var t = this.options.icons;
|
2256 |
+
t && (e("<span>").addClass("ui-accordion-header-icon ui-icon " + t.header).prependTo(this.headers), this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader), this.headers.addClass("ui-accordion-icons"))
|
2257 |
+
},
|
2258 |
+
_destroyIcons : function() {
|
2259 |
+
this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()
|
2260 |
+
},
|
2261 |
+
_destroy : function() {
|
2262 |
+
var e;
|
2263 |
+
this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"), this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function() {
|
2264 |
+
/^ui-accordion/.test(this.id) && this.removeAttribute("id")
|
2265 |
+
}), this._destroyIcons(), e = this.headers.next().css("display", "").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function() {
|
2266 |
+
/^ui-accordion/.test(this.id) && this.removeAttribute("id")
|
2267 |
+
}), this.options.heightStyle !== "content" && (this.element.css("height", this.originalHeight), e.css("height", ""))
|
2268 |
+
},
|
2269 |
+
_setOption : function(e, t) {
|
2270 |
+
if (e === "active") {
|
2271 |
+
this._activate(t);
|
2272 |
+
return
|
2273 |
+
}
|
2274 |
+
e === "event" && (this.options.event && this._off(this.headers, this.options.event), this._setupEvents(t)), this._super(e, t), e === "collapsible" && !t && this.options.active === !1 && this._activate(0), e === "icons" && (this._destroyIcons(), t && this._createIcons()), e === "disabled" && this.headers.add(this.headers.next()).toggleClass("ui-state-disabled", !!t)
|
2275 |
+
},
|
2276 |
+
_keydown : function(t) {
|
2277 |
+
if (t.altKey || t.ctrlKey)
|
2278 |
+
return;
|
2279 |
+
var n = e.ui.keyCode, r = this.headers.length, i = this.headers.index(t.target), s = !1;
|
2280 |
+
switch(t.keyCode) {
|
2281 |
+
case n.RIGHT:
|
2282 |
+
case n.DOWN:
|
2283 |
+
s = this.headers[(i + 1) % r];
|
2284 |
+
break;
|
2285 |
+
case n.LEFT:
|
2286 |
+
case n.UP:
|
2287 |
+
s = this.headers[(i - 1 + r) % r];
|
2288 |
+
break;
|
2289 |
+
case n.SPACE:
|
2290 |
+
case n.ENTER:
|
2291 |
+
this._eventHandler(t);
|
2292 |
+
break;
|
2293 |
+
case n.HOME:
|
2294 |
+
s = this.headers[0];
|
2295 |
+
break;
|
2296 |
+
case n.END:
|
2297 |
+
s = this.headers[r - 1]
|
2298 |
+
}
|
2299 |
+
s && (e(t.target).attr("tabIndex", -1), e(s).attr("tabIndex", 0), s.focus(), t.preventDefault())
|
2300 |
+
},
|
2301 |
+
_panelKeyDown : function(t) {
|
2302 |
+
t.keyCode === e.ui.keyCode.UP && t.ctrlKey && e(t.currentTarget).prev().focus()
|
2303 |
+
},
|
2304 |
+
refresh : function() {
|
2305 |
+
var t, n, r = this.options.heightStyle, i = this.element.parent();
|
2306 |
+
this.element.css("height", this.originalHeight), r === "fill" ? (e.support.minHeight || ( n = i.css("overflow"), i.css("overflow", "hidden")), t = i.height(), this.element.siblings(":visible").each(function() {
|
2307 |
+
var n = e(this), r = n.css("position");
|
2308 |
+
if (r === "absolute" || r === "fixed")
|
2309 |
+
return;
|
2310 |
+
t -= n.outerHeight(!0)
|
2311 |
+
}), n && i.css("overflow", n), this.headers.each(function() {
|
2312 |
+
t -= e(this).outerHeight(!0)
|
2313 |
+
}), this.headers.next().each(function() {
|
2314 |
+
e(this).height(Math.max(0, t - e(this).innerHeight() + e(this).height()))
|
2315 |
+
}).css("overflow", "auto")) : r === "auto" && ( t = 0, this.headers.next().each(function() {
|
2316 |
+
t = Math.max(t, e(this).height("").height())
|
2317 |
+
}).height(t)), r !== "content" && this.element.height(this.element.height())
|
2318 |
+
},
|
2319 |
+
_activate : function(t) {
|
2320 |
+
var n = this._findActive(t)[0];
|
2321 |
+
if (n === this.active[0])
|
2322 |
+
return;
|
2323 |
+
n = n || this.active[0], this._eventHandler({
|
2324 |
+
target : n,
|
2325 |
+
currentTarget : n,
|
2326 |
+
preventDefault : e.noop
|
2327 |
+
})
|
2328 |
+
},
|
2329 |
+
_findActive : function(t) {
|
2330 |
+
return typeof t == "number" ? this.headers.eq(t) : e()
|
2331 |
+
},
|
2332 |
+
_setupEvents : function(t) {
|
2333 |
+
var n = {};
|
2334 |
+
if (!t)
|
2335 |
+
return;
|
2336 |
+
e.each(t.split(" "), function(e, t) {
|
2337 |
+
n[t] = "_eventHandler"
|
2338 |
+
}), this._on(this.headers, n)
|
2339 |
+
},
|
2340 |
+
_eventHandler : function(t) {
|
2341 |
+
var n = this.options, r = this.active, i = e(t.currentTarget), s = i[0] === r[0], o = s && n.collapsible, u = o ? e() : i.next(), a = r.next(), f = {
|
2342 |
+
oldHeader : r,
|
2343 |
+
oldPanel : a,
|
2344 |
+
newHeader : o ? e() : i,
|
2345 |
+
newPanel : u
|
2346 |
+
};
|
2347 |
+
t.preventDefault();
|
2348 |
+
if (s && !n.collapsible || this._trigger("beforeActivate", t, f) === !1)
|
2349 |
+
return;
|
2350 |
+
n.active = o ? !1 : this.headers.index(i), this.active = s ? e() : i, this._toggle(f), r.removeClass("ui-accordion-header-active ui-state-active"), n.icons && r.children(".ui-accordion-header-icon").removeClass(n.icons.activeHeader).addClass(n.icons.header), s || (i.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"), n.icons && i.children(".ui-accordion-header-icon").removeClass(n.icons.header).addClass(n.icons.activeHeader), i.next().addClass("ui-accordion-content-active"))
|
2351 |
+
},
|
2352 |
+
_toggle : function(t) {
|
2353 |
+
var n = t.newPanel, r = this.prevShow.length ? this.prevShow : t.oldPanel;
|
2354 |
+
this.prevShow.add(this.prevHide).stop(!0, !0), this.prevShow = n, this.prevHide = r, this.options.animate ? this._animate(n, r, t) : (r.hide(), n.show(), this._toggleComplete(t)), r.attr({
|
2355 |
+
"aria-expanded" : "false",
|
2356 |
+
"aria-hidden" : "true"
|
2357 |
+
}), r.prev().attr("aria-selected", "false"), n.length && r.length ? r.prev().attr("tabIndex", -1) : n.length && this.headers.filter(function() {
|
2358 |
+
return e(this).attr("tabIndex") === 0
|
2359 |
+
}).attr("tabIndex", -1), n.attr({
|
2360 |
+
"aria-expanded" : "true",
|
2361 |
+
"aria-hidden" : "false"
|
2362 |
+
}).prev().attr({
|
2363 |
+
"aria-selected" : "true",
|
2364 |
+
tabIndex : 0
|
2365 |
+
})
|
2366 |
+
},
|
2367 |
+
_animate : function(e, t, n) {
|
2368 |
+
var s, o, u, a = this, f = 0, l = e.length && (!t.length || e.index() < t.index()), c = this.options.animate || {}, h = l && c.down || c, p = function() {
|
2369 |
+
a._toggleComplete(n)
|
2370 |
+
};
|
2371 |
+
typeof h == "number" && ( u = h), typeof h == "string" && ( o = h), o = o || h.easing || c.easing, u = u || h.duration || c.duration;
|
2372 |
+
if (!t.length)
|
2373 |
+
return e.animate(i, u, o, p);
|
2374 |
+
if (!e.length)
|
2375 |
+
return t.animate(r, u, o, p);
|
2376 |
+
s = e.show().outerHeight(), t.animate(r, {
|
2377 |
+
duration : u,
|
2378 |
+
easing : o,
|
2379 |
+
step : function(e, t) {
|
2380 |
+
t.now = Math.round(e)
|
2381 |
+
}
|
2382 |
+
}), e.hide().animate(i, {
|
2383 |
+
duration : u,
|
2384 |
+
easing : o,
|
2385 |
+
complete : p,
|
2386 |
+
step : function(e, n) {
|
2387 |
+
n.now = Math.round(e), n.prop !== "height" ? f += n.now : a.options.heightStyle !== "content" && (n.now = Math.round(s - t.outerHeight() - f), f = 0)
|
2388 |
+
}
|
2389 |
+
})
|
2390 |
+
},
|
2391 |
+
_toggleComplete : function(e) {
|
2392 |
+
var t = e.oldPanel;
|
2393 |
+
t.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"), t.length && (t.parent()[0].className = t.parent()[0].className), this._trigger("activate", null, e)
|
2394 |
+
}
|
2395 |
+
}), e.uiBackCompat !== !1 && ( function(e, t) {
|
2396 |
+
e.extend(t.options, {
|
2397 |
+
navigation : !1,
|
2398 |
+
navigationFilter : function() {
|
2399 |
+
return this.href.toLowerCase() === location.href.toLowerCase()
|
2400 |
+
}
|
2401 |
+
});
|
2402 |
+
var n = t._create;
|
2403 |
+
t._create = function() {
|
2404 |
+
if (this.options.navigation) {
|
2405 |
+
var t = this, r = this.element.find(this.options.header), i = r.next(), s = r.add(i).find("a").filter(this.options.navigationFilter)[0];
|
2406 |
+
s && r.add(i).each(function(n) {
|
2407 |
+
if (e.contains(this, s))
|
2408 |
+
return t.options.active = Math.floor(n / 2), !1
|
2409 |
+
})
|
2410 |
+
}
|
2411 |
+
n.call(this)
|
2412 |
+
}
|
2413 |
+
}(jQuery, jQuery.ui.accordion.prototype), function(e, t) {
|
2414 |
+
e.extend(t.options, {
|
2415 |
+
heightStyle : null,
|
2416 |
+
autoHeight : !0,
|
2417 |
+
clearStyle : !1,
|
2418 |
+
fillSpace : !1
|
2419 |
+
});
|
2420 |
+
var n = t._create, r = t._setOption;
|
2421 |
+
e.extend(t, {
|
2422 |
+
_create : function() {
|
2423 |
+
this.options.heightStyle = this.options.heightStyle || this._mergeHeightStyle(), n.call(this)
|
2424 |
+
},
|
2425 |
+
_setOption : function(e, t) {
|
2426 |
+
if (e === "autoHeight" || e === "clearStyle" || e === "fillSpace")
|
2427 |
+
this.options.heightStyle = this._mergeHeightStyle();
|
2428 |
+
r.apply(this, arguments)
|
2429 |
+
},
|
2430 |
+
_mergeHeightStyle : function() {
|
2431 |
+
var e = this.options;
|
2432 |
+
if (e.fillSpace)
|
2433 |
+
return "fill";
|
2434 |
+
if (e.clearStyle)
|
2435 |
+
return "content";
|
2436 |
+
if (e.autoHeight)
|
2437 |
+
return "auto"
|
2438 |
+
}
|
2439 |
+
})
|
2440 |
+
}(jQuery, jQuery.ui.accordion.prototype), function(e, t) {
|
2441 |
+
e.extend(t.options.icons, {
|
2442 |
+
activeHeader : null,
|
2443 |
+
headerSelected : "ui-icon-triangle-1-s"
|
2444 |
+
});
|
2445 |
+
var n = t._createIcons;
|
2446 |
+
t._createIcons = function() {
|
2447 |
+
this.options.icons && (this.options.icons.activeHeader = this.options.icons.activeHeader || this.options.icons.headerSelected), n.call(this)
|
2448 |
+
}
|
2449 |
+
}(jQuery, jQuery.ui.accordion.prototype), function(e, t) {
|
2450 |
+
t.activate = t._activate;
|
2451 |
+
var n = t._findActive;
|
2452 |
+
t._findActive = function(e) {
|
2453 |
+
return e === -1 && ( e = !1), e && typeof e != "number" && ( e = this.headers.index(this.headers.filter(e)), e === -1 && ( e = !1)), n.call(this, e)
|
2454 |
+
}
|
2455 |
+
}(jQuery, jQuery.ui.accordion.prototype), jQuery.ui.accordion.prototype.resize = jQuery.ui.accordion.prototype.refresh, function(e, t) {
|
2456 |
+
e.extend(t.options, {
|
2457 |
+
change : null,
|
2458 |
+
changestart : null
|
2459 |
+
});
|
2460 |
+
var n = t._trigger;
|
2461 |
+
t._trigger = function(e, t, r) {
|
2462 |
+
var i = n.apply(this, arguments);
|
2463 |
+
return i ? (e === "beforeActivate" ? i = n.call(this, "changestart", t, {
|
2464 |
+
oldHeader : r.oldHeader,
|
2465 |
+
oldContent : r.oldPanel,
|
2466 |
+
newHeader : r.newHeader,
|
2467 |
+
newContent : r.newPanel
|
2468 |
+
}) : e === "activate" && ( i = n.call(this, "change", t, {
|
2469 |
+
oldHeader : r.oldHeader,
|
2470 |
+
oldContent : r.oldPanel,
|
2471 |
+
newHeader : r.newHeader,
|
2472 |
+
newContent : r.newPanel
|
2473 |
+
})), i) : !1
|
2474 |
+
}
|
2475 |
+
}(jQuery, jQuery.ui.accordion.prototype), function(e, t) {
|
2476 |
+
e.extend(t.options, {
|
2477 |
+
animate : null,
|
2478 |
+
animated : "slide"
|
2479 |
+
});
|
2480 |
+
var n = t._create;
|
2481 |
+
t._create = function() {
|
2482 |
+
var e = this.options;
|
2483 |
+
e.animate === null && (e.animated ? e.animated === "slide" ? e.animate = 300 : e.animated === "bounceslide" ? e.animate = {
|
2484 |
+
duration : 200,
|
2485 |
+
down : {
|
2486 |
+
easing : "easeOutBounce",
|
2487 |
+
duration : 1e3
|
2488 |
+
}
|
2489 |
+
} : e.animate = e.animated : e.animate = !1), n.call(this)
|
2490 |
+
}
|
2491 |
+
}(jQuery, jQuery.ui.accordion.prototype))
|
2492 |
+
})(jQuery);
|
2493 |
+
(function(e, t) {
|
2494 |
+
var n = 0;
|
2495 |
+
e.widget("ui.autocomplete", {
|
2496 |
+
version : "1.9.0",
|
2497 |
+
defaultElement : "<input>",
|
2498 |
+
options : {
|
2499 |
+
appendTo : "body",
|
2500 |
+
autoFocus : !1,
|
2501 |
+
delay : 300,
|
2502 |
+
minLength : 1,
|
2503 |
+
position : {
|
2504 |
+
my : "left top",
|
2505 |
+
at : "left bottom",
|
2506 |
+
collision : "none"
|
2507 |
+
},
|
2508 |
+
source : null,
|
2509 |
+
change : null,
|
2510 |
+
close : null,
|
2511 |
+
focus : null,
|
2512 |
+
open : null,
|
2513 |
+
response : null,
|
2514 |
+
search : null,
|
2515 |
+
select : null
|
2516 |
+
},
|
2517 |
+
pending : 0,
|
2518 |
+
_create : function() {
|
2519 |
+
var t, n, r;
|
2520 |
+
this.isMultiLine = this._isMultiLine(), this.valueMethod = this.element[this.element.is("input,textarea") ? "val" : "text"], this.isNewMenu = !0, this.element.addClass("ui-autocomplete-input").attr("autocomplete", "off"), this._on({
|
2521 |
+
keydown : function(i) {
|
2522 |
+
if (this.element.prop("readOnly")) {
|
2523 |
+
t = !0, r = !0, n = !0;
|
2524 |
+
return
|
2525 |
+
}
|
2526 |
+
t = !1, r = !1, n = !1;
|
2527 |
+
var s = e.ui.keyCode;
|
2528 |
+
switch(i.keyCode) {
|
2529 |
+
case s.PAGE_UP:
|
2530 |
+
t = !0, this._move("previousPage", i);
|
2531 |
+
break;
|
2532 |
+
case s.PAGE_DOWN:
|
2533 |
+
t = !0, this._move("nextPage", i);
|
2534 |
+
break;
|
2535 |
+
case s.UP:
|
2536 |
+
t = !0, this._keyEvent("previous", i);
|
2537 |
+
break;
|
2538 |
+
case s.DOWN:
|
2539 |
+
t = !0, this._keyEvent("next", i);
|
2540 |
+
break;
|
2541 |
+
case s.ENTER:
|
2542 |
+
case s.NUMPAD_ENTER:
|
2543 |
+
this.menu.active && ( t = !0, i.preventDefault(), this.menu.select(i));
|
2544 |
+
break;
|
2545 |
+
case s.TAB:
|
2546 |
+
this.menu.active && this.menu.select(i);
|
2547 |
+
break;
|
2548 |
+
case s.ESCAPE:
|
2549 |
+
this.menu.element.is(":visible") && (this._value(this.term), this.close(i), i.preventDefault());
|
2550 |
+
break;
|
2551 |
+
default:
|
2552 |
+
n = !0, this._searchTimeout(i)
|
2553 |
+
}
|
2554 |
+
},
|
2555 |
+
keypress : function(r) {
|
2556 |
+
if (t) {
|
2557 |
+
t = !1, r.preventDefault();
|
2558 |
+
return
|
2559 |
+
}
|
2560 |
+
if (n)
|
2561 |
+
return;
|
2562 |
+
var i = e.ui.keyCode;
|
2563 |
+
switch(r.keyCode) {
|
2564 |
+
case i.PAGE_UP:
|
2565 |
+
this._move("previousPage", r);
|
2566 |
+
break;
|
2567 |
+
case i.PAGE_DOWN:
|
2568 |
+
this._move("nextPage", r);
|
2569 |
+
break;
|
2570 |
+
case i.UP:
|
2571 |
+
this._keyEvent("previous", r);
|
2572 |
+
break;
|
2573 |
+
case i.DOWN:
|
2574 |
+
this._keyEvent("next", r)
|
2575 |
+
}
|
2576 |
+
},
|
2577 |
+
input : function(e) {
|
2578 |
+
if (r) {
|
2579 |
+
r = !1, e.preventDefault();
|
2580 |
+
return
|
2581 |
+
}
|
2582 |
+
this._searchTimeout(e)
|
2583 |
+
},
|
2584 |
+
focus : function() {
|
2585 |
+
this.selectedItem = null, this.previous = this._value()
|
2586 |
+
},
|
2587 |
+
blur : function(e) {
|
2588 |
+
if (this.cancelBlur) {
|
2589 |
+
delete this.cancelBlur;
|
2590 |
+
return
|
2591 |
+
}
|
2592 |
+
clearTimeout(this.searching), this.close(e), this._change(e)
|
2593 |
+
}
|
2594 |
+
}), this._initSource(), this.menu = e("<ul>").addClass("ui-autocomplete").appendTo(this.document.find(this.options.appendTo||"body")[0]).menu({
|
2595 |
+
input : e(),
|
2596 |
+
role : null
|
2597 |
+
}).zIndex(this.element.zIndex() + 1).hide().data("menu"), this._on(this.menu.element, {
|
2598 |
+
mousedown : function(t) {
|
2599 |
+
t.preventDefault(), this.cancelBlur = !0, this._delay(function() {
|
2600 |
+
delete this.cancelBlur
|
2601 |
+
});
|
2602 |
+
var n = this.menu.element[0];
|
2603 |
+
e(t.target).closest(".ui-menu-item").length || this._delay(function() {
|
2604 |
+
var t = this;
|
2605 |
+
this.document.one("mousedown", function(r) {
|
2606 |
+
r.target !== t.element[0] && r.target !== n && !e.contains(n, r.target) && t.close()
|
2607 |
+
})
|
2608 |
+
})
|
2609 |
+
},
|
2610 |
+
menufocus : function(t, n) {
|
2611 |
+
if (this.isNewMenu) {
|
2612 |
+
this.isNewMenu = !1;
|
2613 |
+
if (t.originalEvent && /^mouse/.test(t.originalEvent.type)) {
|
2614 |
+
this.menu.blur(), this.document.one("mousemove", function() {
|
2615 |
+
e(t.target).trigger(t.originalEvent)
|
2616 |
+
});
|
2617 |
+
return
|
2618 |
+
}
|
2619 |
+
}
|
2620 |
+
var r = n.item.data("ui-autocomplete-item") || n.item.data("item.autocomplete");
|
2621 |
+
!1 !== this._trigger("focus", t, {
|
2622 |
+
item : r
|
2623 |
+
}) ? t.originalEvent && /^key/.test(t.originalEvent.type) && this._value(r.value) : this.liveRegion.text(r.value)
|
2624 |
+
},
|
2625 |
+
menuselect : function(e, t) {
|
2626 |
+
var n = t.item.data("ui-autocomplete-item") || t.item.data("item.autocomplete"), r = this.previous;
|
2627 |
+
this.element[0] !== this.document[0].activeElement && (this.element.focus(), this.previous = r, this._delay(function() {
|
2628 |
+
this.previous = r, this.selectedItem = n
|
2629 |
+
})), !1 !== this._trigger("select", e, {
|
2630 |
+
item : n
|
2631 |
+
}) && this._value(n.value), this.term = this._value(), this.close(e), this.selectedItem = n
|
2632 |
+
}
|
2633 |
+
}), this.liveRegion = e("<span>", {
|
2634 |
+
role : "status",
|
2635 |
+
"aria-live" : "polite"
|
2636 |
+
}).addClass("ui-helper-hidden-accessible").insertAfter(this.element), e.fn.bgiframe && this.menu.element.bgiframe(), this._on(this.window, {
|
2637 |
+
beforeunload : function() {
|
2638 |
+
this.element.removeAttr("autocomplete")
|
2639 |
+
}
|
2640 |
+
})
|
2641 |
+
},
|
2642 |
+
_destroy : function() {
|
2643 |
+
clearTimeout(this.searching), this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"), this.menu.element.remove(), this.liveRegion.remove()
|
2644 |
+
},
|
2645 |
+
_setOption : function(e, t) {
|
2646 |
+
this._super(e, t), e === "source" && this._initSource(), e === "appendTo" && this.menu.element.appendTo(this.document.find(t||"body")[0]), e === "disabled" && t && this.xhr && this.xhr.abort()
|
2647 |
+
},
|
2648 |
+
_isMultiLine : function() {
|
2649 |
+
return this.element.is("textarea") ? !0 : this.element.is("input") ? !1 : this.element.prop("isContentEditable")
|
2650 |
+
},
|
2651 |
+
_initSource : function() {
|
2652 |
+
var t, n, r = this;
|
2653 |
+
e.isArray(this.options.source) ? ( t = this.options.source, this.source = function(n, r) {
|
2654 |
+
r(e.ui.autocomplete.filter(t, n.term))
|
2655 |
+
}) : typeof this.options.source == "string" ? ( n = this.options.source, this.source = function(t, i) {
|
2656 |
+
r.xhr && r.xhr.abort(), r.xhr = e.ajax({
|
2657 |
+
url : n,
|
2658 |
+
data : t,
|
2659 |
+
dataType : "json",
|
2660 |
+
success : function(e, t) {
|
2661 |
+
i(e)
|
2662 |
+
},
|
2663 |
+
error : function() {
|
2664 |
+
i([])
|
2665 |
+
}
|
2666 |
+
})
|
2667 |
+
}) : this.source = this.options.source
|
2668 |
+
},
|
2669 |
+
_searchTimeout : function(e) {
|
2670 |
+
clearTimeout(this.searching), this.searching = this._delay(function() {
|
2671 |
+
this.term !== this._value() && (this.selectedItem = null, this.search(null, e))
|
2672 |
+
}, this.options.delay)
|
2673 |
+
},
|
2674 |
+
search : function(e, t) {
|
2675 |
+
e = e != null ? e : this._value(), this.term = this._value();
|
2676 |
+
if (e.length < this.options.minLength)
|
2677 |
+
return this.close(t);
|
2678 |
+
if (this._trigger("search", t) === !1)
|
2679 |
+
return;
|
2680 |
+
return this._search(e)
|
2681 |
+
},
|
2682 |
+
_search : function(e) {
|
2683 |
+
this.pending++, this.element.addClass("ui-autocomplete-loading"), this.cancelSearch = !1, this.source({
|
2684 |
+
term : e
|
2685 |
+
}, this._response())
|
2686 |
+
},
|
2687 |
+
_response : function() {
|
2688 |
+
var e = this, t = ++n;
|
2689 |
+
return function(r) {
|
2690 |
+
t === n && e.__response(r), e.pending--, e.pending || e.element.removeClass("ui-autocomplete-loading")
|
2691 |
+
}
|
2692 |
+
},
|
2693 |
+
__response : function(e) {
|
2694 |
+
e && ( e = this._normalize(e)), this._trigger("response", null, {
|
2695 |
+
content : e
|
2696 |
+
}), !this.options.disabled && e && e.length && !this.cancelSearch ? (this._suggest(e), this._trigger("open")) : this._close()
|
2697 |
+
},
|
2698 |
+
close : function(e) {
|
2699 |
+
this.cancelSearch = !0, this._close(e)
|
2700 |
+
},
|
2701 |
+
_close : function(e) {
|
2702 |
+
this.menu.element.is(":visible") && (this.menu.element.hide(), this.menu.blur(), this.isNewMenu = !0, this._trigger("close", e))
|
2703 |
+
},
|
2704 |
+
_change : function(e) {
|
2705 |
+
this.previous !== this._value() && this._trigger("change", e, {
|
2706 |
+
item : this.selectedItem
|
2707 |
+
})
|
2708 |
+
},
|
2709 |
+
_normalize : function(t) {
|
2710 |
+
return t.length && t[0].label && t[0].value ? t : e.map(t, function(t) {
|
2711 |
+
return typeof t == "string" ? {
|
2712 |
+
label : t,
|
2713 |
+
value : t
|
2714 |
+
} : e.extend({
|
2715 |
+
label : t.label || t.value,
|
2716 |
+
value : t.value || t.label
|
2717 |
+
}, t)
|
2718 |
+
})
|
2719 |
+
},
|
2720 |
+
_suggest : function(t) {
|
2721 |
+
var n = this.menu.element.empty().zIndex(this.element.zIndex() + 1);
|
2722 |
+
this._renderMenu(n, t), this.menu.refresh(), n.show(), this._resizeMenu(), n.position(e.extend({
|
2723 |
+
of : this.element
|
2724 |
+
}, this.options.position)), this.options.autoFocus && this.menu.next()
|
2725 |
+
},
|
2726 |
+
_resizeMenu : function() {
|
2727 |
+
var e = this.menu.element;
|
2728 |
+
e.outerWidth(Math.max(e.width("").outerWidth() + 1, this.element.outerWidth()))
|
2729 |
+
},
|
2730 |
+
_renderMenu : function(t, n) {
|
2731 |
+
var r = this;
|
2732 |
+
e.each(n, function(e, n) {
|
2733 |
+
r._renderItemData(t, n)
|
2734 |
+
})
|
2735 |
+
},
|
2736 |
+
_renderItemData : function(e, t) {
|
2737 |
+
return this._renderItem(e, t).data("ui-autocomplete-item", t)
|
2738 |
+
},
|
2739 |
+
_renderItem : function(t, n) {
|
2740 |
+
return e("<li>").append(e("<a>").text(n.label)).appendTo(t)
|
2741 |
+
},
|
2742 |
+
_move : function(e, t) {
|
2743 |
+
if (!this.menu.element.is(":visible")) {
|
2744 |
+
this.search(null, t);
|
2745 |
+
return
|
2746 |
+
}
|
2747 |
+
if (this.menu.isFirstItem() && /^previous/.test(e) || this.menu.isLastItem() && /^next/.test(e)) {
|
2748 |
+
this._value(this.term), this.menu.blur();
|
2749 |
+
return
|
2750 |
+
}
|
2751 |
+
this.menu[e](t)
|
2752 |
+
},
|
2753 |
+
widget : function() {
|
2754 |
+
return this.menu.element
|
2755 |
+
},
|
2756 |
+
_value : function(e) {
|
2757 |
+
return this.valueMethod.apply(this.element, arguments)
|
2758 |
+
},
|
2759 |
+
_keyEvent : function(e, t) {
|
2760 |
+
if (!this.isMultiLine || this.menu.element.is(":visible"))
|
2761 |
+
this._move(e, t), t.preventDefault()
|
2762 |
+
}
|
2763 |
+
}), e.extend(e.ui.autocomplete, {
|
2764 |
+
escapeRegex : function(e) {
|
2765 |
+
return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
|
2766 |
+
},
|
2767 |
+
filter : function(t, n) {
|
2768 |
+
var r = new RegExp(e.ui.autocomplete.escapeRegex(n), "i");
|
2769 |
+
return e.grep(t, function(e) {
|
2770 |
+
return r.test(e.label || e.value || e)
|
2771 |
+
})
|
2772 |
+
}
|
2773 |
+
}), e.widget("ui.autocomplete", e.ui.autocomplete, {
|
2774 |
+
options : {
|
2775 |
+
messages : {
|
2776 |
+
noResults : "No search results.",
|
2777 |
+
results : function(e) {
|
2778 |
+
return e + (e > 1 ? " results are" : " result is") + " available, use up and down arrow keys to navigate."
|
2779 |
+
}
|
2780 |
+
}
|
2781 |
+
},
|
2782 |
+
__response : function(e) {
|
2783 |
+
var t;
|
2784 |
+
this._superApply(arguments);
|
2785 |
+
if (this.options.disabled || this.cancelSearch)
|
2786 |
+
return;
|
2787 |
+
e && e.length ? t = this.options.messages.results(e.length) : t = this.options.messages.noResults, this.liveRegion.text(t)
|
2788 |
+
}
|
2789 |
+
})
|
2790 |
+
})(jQuery);
|
2791 |
+
(function(e, t) {
|
2792 |
+
var n, r, i, s, o = "ui-button ui-widget ui-state-default ui-corner-all", u = "ui-state-hover ui-state-active ", a = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only", f = function() {
|
2793 |
+
var t = e(this).find(":ui-button");
|
2794 |
+
setTimeout(function() {
|
2795 |
+
t.button("refresh")
|
2796 |
+
}, 1)
|
2797 |
+
}, l = function(t) {
|
2798 |
+
var n = t.name, r = t.form, i = e([]);
|
2799 |
+
return n && ( r ? i = e(r).find("[name='" + n + "']") : i = e("[name='" + n + "']", t.ownerDocument).filter(function() {
|
2800 |
+
return !this.form
|
2801 |
+
})), i
|
2802 |
+
};
|
2803 |
+
e.widget("ui.button", {
|
2804 |
+
version : "1.9.0",
|
2805 |
+
defaultElement : "<button>",
|
2806 |
+
options : {
|
2807 |
+
disabled : null,
|
2808 |
+
text : !0,
|
2809 |
+
label : null,
|
2810 |
+
icons : {
|
2811 |
+
primary : null,
|
2812 |
+
secondary : null
|
2813 |
+
}
|
2814 |
+
},
|
2815 |
+
_create : function() {
|
2816 |
+
this.element.closest("form").unbind("reset" + this.eventNamespace).bind("reset" + this.eventNamespace, f), typeof this.options.disabled != "boolean" ? this.options.disabled = !!this.element.prop("disabled") : this.element.prop("disabled", this.options.disabled), this._determineButtonType(), this.hasTitle = !!this.buttonElement.attr("title");
|
2817 |
+
var t = this, u = this.options, a = this.type === "checkbox" || this.type === "radio", c = "ui-state-hover" + ( a ? "" : " ui-state-active"), h = "ui-state-focus";
|
2818 |
+
u.label === null && (u.label = this.type === "input" ? this.buttonElement.val() : this.buttonElement.html()), this.buttonElement.addClass(o).attr("role", "button").bind("mouseenter" + this.eventNamespace, function() {
|
2819 |
+
if (u.disabled)
|
2820 |
+
return;
|
2821 |
+
e(this).addClass("ui-state-hover"), this === n && e(this).addClass("ui-state-active")
|
2822 |
+
}).bind("mouseleave" + this.eventNamespace, function() {
|
2823 |
+
if (u.disabled)
|
2824 |
+
return;
|
2825 |
+
e(this).removeClass(c)
|
2826 |
+
}).bind("click" + this.eventNamespace, function(e) {
|
2827 |
+
u.disabled && (e.preventDefault(), e.stopImmediatePropagation())
|
2828 |
+
}), this.element.bind("focus" + this.eventNamespace, function() {
|
2829 |
+
t.buttonElement.addClass(h)
|
2830 |
+
}).bind("blur" + this.eventNamespace, function() {
|
2831 |
+
t.buttonElement.removeClass(h)
|
2832 |
+
}), a && (this.element.bind("change" + this.eventNamespace, function() {
|
2833 |
+
if (s)
|
2834 |
+
return;
|
2835 |
+
t.refresh()
|
2836 |
+
}), this.buttonElement.bind("mousedown" + this.eventNamespace, function(e) {
|
2837 |
+
if (u.disabled)
|
2838 |
+
return;
|
2839 |
+
s = !1, r = e.pageX, i = e.pageY
|
2840 |
+
}).bind("mouseup" + this.eventNamespace, function(e) {
|
2841 |
+
if (u.disabled)
|
2842 |
+
return;
|
2843 |
+
if (r !== e.pageX || i !== e.pageY)
|
2844 |
+
s = !0
|
2845 |
+
})), this.type === "checkbox" ? this.buttonElement.bind("click" + this.eventNamespace, function() {
|
2846 |
+
if (u.disabled || s)
|
2847 |
+
return !1;
|
2848 |
+
e(this).toggleClass("ui-state-active"), t.buttonElement.attr("aria-pressed", t.element[0].checked)
|
2849 |
+
}) : this.type === "radio" ? this.buttonElement.bind("click" + this.eventNamespace, function() {
|
2850 |
+
if (u.disabled || s)
|
2851 |
+
return !1;
|
2852 |
+
e(this).addClass("ui-state-active"), t.buttonElement.attr("aria-pressed", "true");
|
2853 |
+
var n = t.element[0];
|
2854 |
+
l(n).not(n).map(function() {
|
2855 |
+
return e(this).button("widget")[0]
|
2856 |
+
}).removeClass("ui-state-active").attr("aria-pressed", "false")
|
2857 |
+
}) : (this.buttonElement.bind("mousedown" + this.eventNamespace, function() {
|
2858 |
+
if (u.disabled)
|
2859 |
+
return !1;
|
2860 |
+
e(this).addClass("ui-state-active"), n = this, t.document.one("mouseup", function() {
|
2861 |
+
n = null
|
2862 |
+
})
|
2863 |
+
}).bind("mouseup" + this.eventNamespace, function() {
|
2864 |
+
if (u.disabled)
|
2865 |
+
return !1;
|
2866 |
+
e(this).removeClass("ui-state-active")
|
2867 |
+
}).bind("keydown" + this.eventNamespace, function(t) {
|
2868 |
+
if (u.disabled)
|
2869 |
+
return !1;
|
2870 |
+
(t.keyCode === e.ui.keyCode.SPACE || t.keyCode === e.ui.keyCode.ENTER) && e(this).addClass("ui-state-active")
|
2871 |
+
}).bind("keyup" + this.eventNamespace, function() {
|
2872 |
+
e(this).removeClass("ui-state-active")
|
2873 |
+
}), this.buttonElement.is("a") && this.buttonElement.keyup(function(t) {
|
2874 |
+
t.keyCode === e.ui.keyCode.SPACE && e(this).click()
|
2875 |
+
})), this._setOption("disabled", u.disabled), this._resetButton()
|
2876 |
+
},
|
2877 |
+
_determineButtonType : function() {
|
2878 |
+
var e, t, n;
|
2879 |
+
this.element.is("[type=checkbox]") ? this.type = "checkbox" : this.element.is("[type=radio]") ? this.type = "radio" : this.element.is("input") ? this.type = "input" : this.type = "button", this.type === "checkbox" || this.type === "radio" ? ( e = this.element.parents().last(), t = "label[for='" + this.element.attr("id") + "']", this.buttonElement = e.find(t), this.buttonElement.length || ( e = e.length ? e.siblings() : this.element.siblings(), this.buttonElement = e.filter(t), this.buttonElement.length || (this.buttonElement = e.find(t))), this.element.addClass("ui-helper-hidden-accessible"), n = this.element.is(":checked"), n && this.buttonElement.addClass("ui-state-active"), this.buttonElement.prop("aria-pressed", n)) : this.buttonElement = this.element
|
2880 |
+
},
|
2881 |
+
widget : function() {
|
2882 |
+
return this.buttonElement
|
2883 |
+
},
|
2884 |
+
_destroy : function() {
|
2885 |
+
this.element.removeClass("ui-helper-hidden-accessible"), this.buttonElement.removeClass(o + " " + u + " " + a).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()), this.hasTitle || this.buttonElement.removeAttr("title")
|
2886 |
+
},
|
2887 |
+
_setOption : function(e, t) {
|
2888 |
+
this._super(e, t);
|
2889 |
+
if (e === "disabled") {
|
2890 |
+
t ? this.element.prop("disabled", !0) : this.element.prop("disabled", !1);
|
2891 |
+
return
|
2892 |
+
}
|
2893 |
+
this._resetButton()
|
2894 |
+
},
|
2895 |
+
refresh : function() {
|
2896 |
+
var t = this.element.is(":disabled");
|
2897 |
+
t !== this.options.disabled && this._setOption("disabled", t), this.type === "radio" ? l(this.element[0]).each(function() {
|
2898 |
+
e(this).is(":checked") ? e(this).button("widget").addClass("ui-state-active").attr("aria-pressed", "true") : e(this).button("widget").removeClass("ui-state-active").attr("aria-pressed", "false")
|
2899 |
+
}) : this.type === "checkbox" && (this.element.is(":checked") ? this.buttonElement.addClass("ui-state-active").attr("aria-pressed", "true") : this.buttonElement.removeClass("ui-state-active").attr("aria-pressed", "false"))
|
2900 |
+
},
|
2901 |
+
_resetButton : function() {
|
2902 |
+
if (this.type === "input") {
|
2903 |
+
this.options.label && this.element.val(this.options.label);
|
2904 |
+
return
|
2905 |
+
}
|
2906 |
+
var t = this.buttonElement.removeClass(a), n = e("<span></span>", this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(), r = this.options.icons, i = r.primary && r.secondary, s = [];
|
2907 |
+
r.primary || r.secondary ? (this.options.text && s.push("ui-button-text-icon" + ( i ? "s" : r.primary ? "-primary" : "-secondary")), r.primary && t.prepend("<span class='ui-button-icon-primary ui-icon " + r.primary + "'></span>"), r.secondary && t.append("<span class='ui-button-icon-secondary ui-icon " + r.secondary + "'></span>"), this.options.text || (s.push( i ? "ui-button-icons-only" : "ui-button-icon-only"), this.hasTitle || t.attr("title", e.trim(n)))) : s.push("ui-button-text-only"), t.addClass(s.join(" "))
|
2908 |
+
}
|
2909 |
+
}), e.widget("ui.buttonset", {
|
2910 |
+
version : "1.9.0",
|
2911 |
+
options : {
|
2912 |
+
items : "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(button)"
|
2913 |
+
},
|
2914 |
+
_create : function() {
|
2915 |
+
this.element.addClass("ui-buttonset")
|
2916 |
+
},
|
2917 |
+
_init : function() {
|
2918 |
+
this.refresh()
|
2919 |
+
},
|
2920 |
+
_setOption : function(e, t) {
|
2921 |
+
e === "disabled" && this.buttons.button("option", e, t), this._super(e, t)
|
2922 |
+
},
|
2923 |
+
refresh : function() {
|
2924 |
+
var t = this.element.css("direction") === "rtl";
|
2925 |
+
this.buttons = this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function() {
|
2926 |
+
return e(this).button("widget")[0]
|
2927 |
+
}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass( t ? "ui-corner-right" : "ui-corner-left").end().filter(":last").addClass( t ? "ui-corner-left" : "ui-corner-right").end().end()
|
2928 |
+
},
|
2929 |
+
_destroy : function() {
|
2930 |
+
this.element.removeClass("ui-buttonset"), this.buttons.map(function() {
|
2931 |
+
return e(this).button("widget")[0]
|
2932 |
+
}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")
|
2933 |
+
}
|
2934 |
+
})
|
2935 |
+
})(jQuery);
|
2936 |
+
(function($, undefined) {
|
2937 |
+
function Datepicker() {
|
2938 |
+
this.debug = !1, this._curInst = null, this._keyEvent = !1, this._disabledInputs = [], this._datepickerShowing = !1, this._inDialog = !1, this._mainDivId = "ui-datepicker-div", this._inlineClass = "ui-datepicker-inline", this._appendClass = "ui-datepicker-append", this._triggerClass = "ui-datepicker-trigger", this._dialogClass = "ui-datepicker-dialog", this._disableClass = "ui-datepicker-disabled", this._unselectableClass = "ui-datepicker-unselectable", this._currentClass = "ui-datepicker-current-day", this._dayOverClass = "ui-datepicker-days-cell-over", this.regional = [], this.regional[""] = {
|
2939 |
+
closeText : "Done",
|
2940 |
+
prevText : "Prev",
|
2941 |
+
nextText : "Next",
|
2942 |
+
currentText : "Today",
|
2943 |
+
monthNames : ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
2944 |
+
monthNamesShort : ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
2945 |
+
dayNames : ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
2946 |
+
dayNamesShort : ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
2947 |
+
dayNamesMin : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
2948 |
+
weekHeader : "Wk",
|
2949 |
+
dateFormat : "mm/dd/yy",
|
2950 |
+
firstDay : 0,
|
2951 |
+
isRTL : !1,
|
2952 |
+
showMonthAfterYear : !1,
|
2953 |
+
yearSuffix : ""
|
2954 |
+
}, this._defaults = {
|
2955 |
+
showOn : "focus",
|
2956 |
+
showAnim : "fadeIn",
|
2957 |
+
showOptions : {},
|
2958 |
+
defaultDate : null,
|
2959 |
+
appendText : "",
|
2960 |
+
buttonText : "...",
|
2961 |
+
buttonImage : "",
|
2962 |
+
buttonImageOnly : !1,
|
2963 |
+
hideIfNoPrevNext : !1,
|
2964 |
+
navigationAsDateFormat : !1,
|
2965 |
+
gotoCurrent : !1,
|
2966 |
+
changeMonth : !1,
|
2967 |
+
changeYear : !1,
|
2968 |
+
yearRange : "c-10:c+10",
|
2969 |
+
showOtherMonths : !1,
|
2970 |
+
selectOtherMonths : !1,
|
2971 |
+
showWeek : !1,
|
2972 |
+
calculateWeek : this.iso8601Week,
|
2973 |
+
shortYearCutoff : "+10",
|
2974 |
+
minDate : null,
|
2975 |
+
maxDate : null,
|
2976 |
+
duration : "fast",
|
2977 |
+
beforeShowDay : null,
|
2978 |
+
beforeShow : null,
|
2979 |
+
onSelect : null,
|
2980 |
+
onChangeMonthYear : null,
|
2981 |
+
onClose : null,
|
2982 |
+
numberOfMonths : 1,
|
2983 |
+
showCurrentAtPos : 0,
|
2984 |
+
stepMonths : 1,
|
2985 |
+
stepBigMonths : 12,
|
2986 |
+
altField : "",
|
2987 |
+
altFormat : "",
|
2988 |
+
constrainInput : !0,
|
2989 |
+
showButtonPanel : !1,
|
2990 |
+
autoSize : !1,
|
2991 |
+
disabled : !1
|
2992 |
+
}, $.extend(this._defaults, this.regional[""]), this.dpDiv = bindHover($('<div id="' + this._mainDivId + '" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>'))
|
2993 |
+
}
|
2994 |
+
|
2995 |
+
function bindHover(e) {
|
2996 |
+
var t = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
|
2997 |
+
return e.delegate(t, "mouseout", function() {
|
2998 |
+
$(this).removeClass("ui-state-hover"), this.className.indexOf("ui-datepicker-prev") != -1 && $(this).removeClass("ui-datepicker-prev-hover"), this.className.indexOf("ui-datepicker-next") != -1 && $(this).removeClass("ui-datepicker-next-hover")
|
2999 |
+
}).delegate(t, "mouseover", function() {
|
3000 |
+
$.datepicker._isDisabledDatepicker(instActive.inline ? e.parent()[0] : instActive.input[0]) || ($(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"), $(this).addClass("ui-state-hover"), this.className.indexOf("ui-datepicker-prev") != -1 && $(this).addClass("ui-datepicker-prev-hover"), this.className.indexOf("ui-datepicker-next") != -1 && $(this).addClass("ui-datepicker-next-hover"))
|
3001 |
+
})
|
3002 |
+
}
|
3003 |
+
|
3004 |
+
function extendRemove(e, t) {
|
3005 |
+
$.extend(e, t);
|
3006 |
+
for (var n in t)
|
3007 |
+
if (t[n] == null || t[n] == undefined)
|
3008 |
+
e[n] = t[n];
|
3009 |
+
return e
|
3010 |
+
}
|
3011 |
+
$.extend($.ui, {
|
3012 |
+
datepicker : {
|
3013 |
+
version : "1.9.0"
|
3014 |
+
}
|
3015 |
+
});
|
3016 |
+
var PROP_NAME = "datepicker", dpuuid = (new Date).getTime(), instActive;
|
3017 |
+
$.extend(Datepicker.prototype, {
|
3018 |
+
markerClassName : "hasDatepicker",
|
3019 |
+
maxRows : 4,
|
3020 |
+
log : function() {
|
3021 |
+
this.debug && console.log.apply("", arguments)
|
3022 |
+
},
|
3023 |
+
_widgetDatepicker : function() {
|
3024 |
+
return this.dpDiv
|
3025 |
+
},
|
3026 |
+
setDefaults : function(e) {
|
3027 |
+
return extendRemove(this._defaults, e || {}), this
|
3028 |
+
},
|
3029 |
+
_attachDatepicker : function(target, settings) {
|
3030 |
+
var inlineSettings = null;
|
3031 |
+
for (var attrName in this._defaults) {
|
3032 |
+
var attrValue = target.getAttribute("date:" + attrName);
|
3033 |
+
if (attrValue) {
|
3034 |
+
inlineSettings = inlineSettings || {};
|
3035 |
+
try {
|
3036 |
+
inlineSettings[attrName] = eval(attrValue)
|
3037 |
+
} catch(err) {
|
3038 |
+
inlineSettings[attrName] = attrValue
|
3039 |
+
}
|
3040 |
+
}
|
3041 |
+
}
|
3042 |
+
var nodeName = target.nodeName.toLowerCase(), inline = nodeName == "div" || nodeName == "span";
|
3043 |
+
target.id || (this.uuid += 1, target.id = "dp" + this.uuid);
|
3044 |
+
var inst = this._newInst($(target), inline);
|
3045 |
+
inst.settings = $.extend({}, settings || {}, inlineSettings || {}), nodeName == "input" ? this._connectDatepicker(target, inst) : inline && this._inlineDatepicker(target, inst)
|
3046 |
+
},
|
3047 |
+
_newInst : function(e, t) {
|
3048 |
+
var n = e[0].id.replace(/([^A-Za-z0-9_-])/g, "\\\\$1");
|
3049 |
+
return {
|
3050 |
+
id : n,
|
3051 |
+
input : e,
|
3052 |
+
selectedDay : 0,
|
3053 |
+
selectedMonth : 0,
|
3054 |
+
selectedYear : 0,
|
3055 |
+
drawMonth : 0,
|
3056 |
+
drawYear : 0,
|
3057 |
+
inline : t,
|
3058 |
+
dpDiv : t ? bindHover($('<div class="' + this._inlineClass + ' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>')) : this.dpDiv
|
3059 |
+
}
|
3060 |
+
},
|
3061 |
+
_connectDatepicker : function(e, t) {
|
3062 |
+
var n = $(e);
|
3063 |
+
t.append = $([]), t.trigger = $([]);
|
3064 |
+
if (n.hasClass(this.markerClassName))
|
3065 |
+
return;
|
3066 |
+
this._attachments(n, t), n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker", function(e, n, r) {
|
3067 |
+
t.settings[n] = r
|
3068 |
+
}).bind("getData.datepicker", function(e, n) {
|
3069 |
+
return this._get(t, n)
|
3070 |
+
}), this._autoSize(t), $.data(e, PROP_NAME, t), t.settings.disabled && this._disableDatepicker(e)
|
3071 |
+
},
|
3072 |
+
_attachments : function(e, t) {
|
3073 |
+
var n = this._get(t, "appendText"), r = this._get(t, "isRTL");
|
3074 |
+
t.append && t.append.remove(), n && (t.append = $('<span class="' + this._appendClass + '">' + n + "</span>"), e[r?"before":"after"](t.append)), e.unbind("focus", this._showDatepicker), t.trigger && t.trigger.remove();
|
3075 |
+
var i = this._get(t, "showOn");
|
3076 |
+
(i == "focus" || i == "both") && e.focus(this._showDatepicker);
|
3077 |
+
if (i == "button" || i == "both") {
|
3078 |
+
var s = this._get(t, "buttonText"), o = this._get(t, "buttonImage");
|
3079 |
+
t.trigger = $(this._get(t, "buttonImageOnly") ? $("<img/>").addClass(this._triggerClass).attr({
|
3080 |
+
src : o,
|
3081 |
+
alt : s,
|
3082 |
+
title : s
|
3083 |
+
}) : $('<button type="button"></button>').addClass(this._triggerClass).html(o == "" ? s : $("<img/>").attr({
|
3084 |
+
src : o,
|
3085 |
+
alt : s,
|
3086 |
+
title : s
|
3087 |
+
}))), e[r?"before":"after"](t.trigger), t.trigger.click(function() {
|
3088 |
+
return $.datepicker._datepickerShowing && $.datepicker._lastInput == e[0] ? $.datepicker._hideDatepicker() : $.datepicker._datepickerShowing && $.datepicker._lastInput != e[0] ? ($.datepicker._hideDatepicker(), $.datepicker._showDatepicker(e[0])) : $.datepicker._showDatepicker(e[0]), !1
|
3089 |
+
})
|
3090 |
+
}
|
3091 |
+
},
|
3092 |
+
_autoSize : function(e) {
|
3093 |
+
if (this._get(e, "autoSize") && !e.inline) {
|
3094 |
+
var t = new Date(2009, 11, 20), n = this._get(e, "dateFormat");
|
3095 |
+
if (n.match(/[DM]/)) {
|
3096 |
+
var r = function(e) {
|
3097 |
+
var t = 0, n = 0;
|
3098 |
+
for (var r = 0; r < e.length; r++)
|
3099 |
+
e[r].length > t && ( t = e[r].length, n = r);
|
3100 |
+
return n
|
3101 |
+
};
|
3102 |
+
t.setMonth(r(this._get(e, n.match(/MM/) ? "monthNames" : "monthNamesShort"))), t.setDate(r(this._get(e, n.match(/DD/) ? "dayNames" : "dayNamesShort")) + 20 - t.getDay())
|
3103 |
+
}
|
3104 |
+
e.input.attr("size", this._formatDate(e, t).length)
|
3105 |
+
}
|
3106 |
+
},
|
3107 |
+
_inlineDatepicker : function(e, t) {
|
3108 |
+
var n = $(e);
|
3109 |
+
if (n.hasClass(this.markerClassName))
|
3110 |
+
return;
|
3111 |
+
n.addClass(this.markerClassName).append(t.dpDiv).bind("setData.datepicker", function(e, n, r) {
|
3112 |
+
t.settings[n] = r
|
3113 |
+
}).bind("getData.datepicker", function(e, n) {
|
3114 |
+
return this._get(t, n)
|
3115 |
+
}), $.data(e, PROP_NAME, t), this._setDate(t, this._getDefaultDate(t), !0), this._updateDatepicker(t), this._updateAlternate(t), t.settings.disabled && this._disableDatepicker(e), t.dpDiv.css("display", "block")
|
3116 |
+
},
|
3117 |
+
_dialogDatepicker : function(e, t, n, r, i) {
|
3118 |
+
var s = this._dialogInst;
|
3119 |
+
if (!s) {
|
3120 |
+
this.uuid += 1;
|
3121 |
+
var o = "dp" + this.uuid;
|
3122 |
+
this._dialogInput = $('<input type="text" id="' + o + '" style="position: absolute; top: -100px; width: 0px;"/>'), this._dialogInput.keydown(this._doKeyDown), $("body").append(this._dialogInput), s = this._dialogInst = this._newInst(this._dialogInput, !1), s.settings = {}, $.data(this._dialogInput[0], PROP_NAME, s)
|
3123 |
+
}
|
3124 |
+
extendRemove(s.settings, r || {}), t = t && t.constructor == Date ? this._formatDate(s, t) : t, this._dialogInput.val(t), this._pos = i ? i.length ? i : [i.pageX, i.pageY] : null;
|
3125 |
+
if (!this._pos) {
|
3126 |
+
var u = document.documentElement.clientWidth, a = document.documentElement.clientHeight, f = document.documentElement.scrollLeft || document.body.scrollLeft, l = document.documentElement.scrollTop || document.body.scrollTop;
|
3127 |
+
this._pos = [u / 2 - 100 + f, a / 2 - 150 + l]
|
3128 |
+
}
|
3129 |
+
return this._dialogInput.css("left", this._pos[0] + 20 + "px").css("top", this._pos[1] + "px"), s.settings.onSelect = n, this._inDialog = !0, this.dpDiv.addClass(this._dialogClass), this._showDatepicker(this._dialogInput[0]), $.blockUI && $.blockUI(this.dpDiv), $.data(this._dialogInput[0], PROP_NAME, s), this
|
3130 |
+
},
|
3131 |
+
_destroyDatepicker : function(e) {
|
3132 |
+
var t = $(e), n = $.data(e, PROP_NAME);
|
3133 |
+
if (!t.hasClass(this.markerClassName))
|
3134 |
+
return;
|
3135 |
+
var r = e.nodeName.toLowerCase();
|
3136 |
+
$.removeData(e, PROP_NAME), r == "input" ? (n.append.remove(), n.trigger.remove(), t.removeClass(this.markerClassName).unbind("focus", this._showDatepicker).unbind("keydown", this._doKeyDown).unbind("keypress", this._doKeyPress).unbind("keyup", this._doKeyUp)) : (r == "div" || r == "span") && t.removeClass(this.markerClassName).empty()
|
3137 |
+
},
|
3138 |
+
_enableDatepicker : function(e) {
|
3139 |
+
var t = $(e), n = $.data(e, PROP_NAME);
|
3140 |
+
if (!t.hasClass(this.markerClassName))
|
3141 |
+
return;
|
3142 |
+
var r = e.nodeName.toLowerCase();
|
3143 |
+
if (r == "input")
|
3144 |
+
e.disabled = !1, n.trigger.filter("button").each(function() {
|
3145 |
+
this.disabled = !1
|
3146 |
+
}).end().filter("img").css({
|
3147 |
+
opacity : "1.0",
|
3148 |
+
cursor : ""
|
3149 |
+
});
|
3150 |
+
else if (r == "div" || r == "span") {
|
3151 |
+
var i = t.children("." + this._inlineClass);
|
3152 |
+
i.children().removeClass("ui-state-disabled"), i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !1)
|
3153 |
+
}
|
3154 |
+
this._disabledInputs = $.map(this._disabledInputs, function(t) {
|
3155 |
+
return t == e ? null : t
|
3156 |
+
})
|
3157 |
+
},
|
3158 |
+
_disableDatepicker : function(e) {
|
3159 |
+
var t = $(e), n = $.data(e, PROP_NAME);
|
3160 |
+
if (!t.hasClass(this.markerClassName))
|
3161 |
+
return;
|
3162 |
+
var r = e.nodeName.toLowerCase();
|
3163 |
+
if (r == "input")
|
3164 |
+
e.disabled = !0, n.trigger.filter("button").each(function() {
|
3165 |
+
this.disabled = !0
|
3166 |
+
}).end().filter("img").css({
|
3167 |
+
opacity : "0.5",
|
3168 |
+
cursor : "default"
|
3169 |
+
});
|
3170 |
+
else if (r == "div" || r == "span") {
|
3171 |
+
var i = t.children("." + this._inlineClass);
|
3172 |
+
i.children().addClass("ui-state-disabled"), i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled", !0)
|
3173 |
+
}
|
3174 |
+
this._disabledInputs = $.map(this._disabledInputs, function(t) {
|
3175 |
+
return t == e ? null : t
|
3176 |
+
}), this._disabledInputs[this._disabledInputs.length] = e
|
3177 |
+
},
|
3178 |
+
_isDisabledDatepicker : function(e) {
|
3179 |
+
if (!e)
|
3180 |
+
return !1;
|
3181 |
+
for (var t = 0; t < this._disabledInputs.length; t++)
|
3182 |
+
if (this._disabledInputs[t] == e)
|
3183 |
+
return !0;
|
3184 |
+
return !1
|
3185 |
+
},
|
3186 |
+
_getInst : function(e) {
|
3187 |
+
try {
|
3188 |
+
return $.data(e, PROP_NAME)
|
3189 |
+
} catch(t) {
|
3190 |
+
throw "Missing instance data for this datepicker"
|
3191 |
+
}
|
3192 |
+
},
|
3193 |
+
_optionDatepicker : function(e, t, n) {
|
3194 |
+
var r = this._getInst(e);
|
3195 |
+
if (arguments.length == 2 && typeof t == "string")
|
3196 |
+
return t == "defaults" ? $.extend({}, $.datepicker._defaults) : r ? t == "all" ? $.extend({}, r.settings) : this._get(r, t) : null;
|
3197 |
+
var i = t || {};
|
3198 |
+
typeof t == "string" && ( i = {}, i[t] = n);
|
3199 |
+
if (r) {
|
3200 |
+
this._curInst == r && this._hideDatepicker();
|
3201 |
+
var s = this._getDateDatepicker(e, !0), o = this._getMinMaxDate(r, "min"), u = this._getMinMaxDate(r, "max");
|
3202 |
+
extendRemove(r.settings, i), o !== null && i.dateFormat !== undefined && i.minDate === undefined && (r.settings.minDate = this._formatDate(r, o)), u !== null && i.dateFormat !== undefined && i.maxDate === undefined && (r.settings.maxDate = this._formatDate(r, u)), this._attachments($(e), r), this._autoSize(r), this._setDate(r, s), this._updateAlternate(r), this._updateDatepicker(r)
|
3203 |
+
}
|
3204 |
+
},
|
3205 |
+
_changeDatepicker : function(e, t, n) {
|
3206 |
+
this._optionDatepicker(e, t, n)
|
3207 |
+
},
|
3208 |
+
_refreshDatepicker : function(e) {
|
3209 |
+
var t = this._getInst(e);
|
3210 |
+
t && this._updateDatepicker(t)
|
3211 |
+
},
|
3212 |
+
_setDateDatepicker : function(e, t) {
|
3213 |
+
var n = this._getInst(e);
|
3214 |
+
n && (this._setDate(n, t), this._updateDatepicker(n), this._updateAlternate(n))
|
3215 |
+
},
|
3216 |
+
_getDateDatepicker : function(e, t) {
|
3217 |
+
var n = this._getInst(e);
|
3218 |
+
return n && !n.inline && this._setDateFromField(n, t), n ? this._getDate(n) : null
|
3219 |
+
},
|
3220 |
+
_doKeyDown : function(e) {
|
3221 |
+
var t = $.datepicker._getInst(e.target), n = !0, r = t.dpDiv.is(".ui-datepicker-rtl");
|
3222 |
+
t._keyEvent = !0;
|
3223 |
+
if ($.datepicker._datepickerShowing)
|
3224 |
+
switch(e.keyCode) {
|
3225 |
+
case 9:
|
3226 |
+
$.datepicker._hideDatepicker(), n = !1;
|
3227 |
+
break;
|
3228 |
+
case 13:
|
3229 |
+
var i = $("td." + $.datepicker._dayOverClass + ":not(." + $.datepicker._currentClass + ")", t.dpDiv);
|
3230 |
+
i[0] && $.datepicker._selectDay(e.target, t.selectedMonth, t.selectedYear, i[0]);
|
3231 |
+
var s = $.datepicker._get(t, "onSelect");
|
3232 |
+
if (s) {
|
3233 |
+
var o = $.datepicker._formatDate(t);
|
3234 |
+
s.apply(t.input ? t.input[0] : null, [o, t])
|
3235 |
+
} else
|
3236 |
+
$.datepicker._hideDatepicker();
|
3237 |
+
return !1;
|
3238 |
+
case 27:
|
3239 |
+
$.datepicker._hideDatepicker();
|
3240 |
+
break;
|
3241 |
+
case 33:
|
3242 |
+
$.datepicker._adjustDate(e.target, e.ctrlKey ? -$.datepicker._get(t, "stepBigMonths") : -$.datepicker._get(t, "stepMonths"), "M");
|
3243 |
+
break;
|
3244 |
+
case 34:
|
3245 |
+
$.datepicker._adjustDate(e.target, e.ctrlKey ? +$.datepicker._get(t, "stepBigMonths") : +$.datepicker._get(t, "stepMonths"), "M");
|
3246 |
+
break;
|
3247 |
+
case 35:
|
3248 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._clearDate(e.target), n = e.ctrlKey || e.metaKey;
|
3249 |
+
break;
|
3250 |
+
case 36:
|
3251 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._gotoToday(e.target), n = e.ctrlKey || e.metaKey;
|
3252 |
+
break;
|
3253 |
+
case 37:
|
3254 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._adjustDate(e.target, r ? 1 : -1, "D"), n = e.ctrlKey || e.metaKey, e.originalEvent.altKey && $.datepicker._adjustDate(e.target, e.ctrlKey ? -$.datepicker._get(t, "stepBigMonths") : -$.datepicker._get(t, "stepMonths"), "M");
|
3255 |
+
break;
|
3256 |
+
case 38:
|
3257 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._adjustDate(e.target, -7, "D"), n = e.ctrlKey || e.metaKey;
|
3258 |
+
break;
|
3259 |
+
case 39:
|
3260 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._adjustDate(e.target, r ? -1 : 1, "D"), n = e.ctrlKey || e.metaKey, e.originalEvent.altKey && $.datepicker._adjustDate(e.target, e.ctrlKey ? +$.datepicker._get(t, "stepBigMonths") : +$.datepicker._get(t, "stepMonths"), "M");
|
3261 |
+
break;
|
3262 |
+
case 40:
|
3263 |
+
(e.ctrlKey || e.metaKey) && $.datepicker._adjustDate(e.target, 7, "D"), n = e.ctrlKey || e.metaKey;
|
3264 |
+
break;
|
3265 |
+
default:
|
3266 |
+
n = !1
|
3267 |
+
}
|
3268 |
+
else
|
3269 |
+
e.keyCode == 36 && e.ctrlKey ? $.datepicker._showDatepicker(this) : n = !1;
|
3270 |
+
n && (e.preventDefault(), e.stopPropagation())
|
3271 |
+
},
|
3272 |
+
_doKeyPress : function(e) {
|
3273 |
+
var t = $.datepicker._getInst(e.target);
|
3274 |
+
if ($.datepicker._get(t, "constrainInput")) {
|
3275 |
+
var n = $.datepicker._possibleChars($.datepicker._get(t, "dateFormat")), r = String.fromCharCode(e.charCode == undefined ? e.keyCode : e.charCode);
|
3276 |
+
return e.ctrlKey || e.metaKey || r < " " || !n || n.indexOf(r) > -1
|
3277 |
+
}
|
3278 |
+
},
|
3279 |
+
_doKeyUp : function(e) {
|
3280 |
+
var t = $.datepicker._getInst(e.target);
|
3281 |
+
if (t.input.val() != t.lastVal)
|
3282 |
+
try {
|
3283 |
+
var n = $.datepicker.parseDate($.datepicker._get(t, "dateFormat"), t.input ? t.input.val() : null, $.datepicker._getFormatConfig(t));
|
3284 |
+
n && ($.datepicker._setDateFromField(t), $.datepicker._updateAlternate(t), $.datepicker._updateDatepicker(t))
|
3285 |
+
} catch(r) {
|
3286 |
+
$.datepicker.log(r)
|
3287 |
+
}
|
3288 |
+
return !0
|
3289 |
+
},
|
3290 |
+
_showDatepicker : function(e) {
|
3291 |
+
e = e.target || e, e.nodeName.toLowerCase() != "input" && ( e = $("input",e.parentNode)[0]);
|
3292 |
+
if ($.datepicker._isDisabledDatepicker(e) || $.datepicker._lastInput == e)
|
3293 |
+
return;
|
3294 |
+
var t = $.datepicker._getInst(e);
|
3295 |
+
$.datepicker._curInst && $.datepicker._curInst != t && ($.datepicker._curInst.dpDiv.stop(!0, !0), t && $.datepicker._datepickerShowing && $.datepicker._hideDatepicker($.datepicker._curInst.input[0]));
|
3296 |
+
var n = $.datepicker._get(t, "beforeShow"), r = n ? n.apply(e, [e, t]) : {};
|
3297 |
+
if (r === !1)
|
3298 |
+
return;
|
3299 |
+
extendRemove(t.settings, r), t.lastVal = null, $.datepicker._lastInput = e, $.datepicker._setDateFromField(t), $.datepicker._inDialog && (e.value = ""), $.datepicker._pos || ($.datepicker._pos = $.datepicker._findPos(e), $.datepicker._pos[1] += e.offsetHeight);
|
3300 |
+
var i = !1;
|
3301 |
+
$(e).parents().each(function() {
|
3302 |
+
return i |= $(this).css("position") == "fixed", !i
|
3303 |
+
});
|
3304 |
+
var s = {
|
3305 |
+
left : $.datepicker._pos[0],
|
3306 |
+
top : $.datepicker._pos[1]
|
3307 |
+
};
|
3308 |
+
$.datepicker._pos = null, t.dpDiv.empty(), t.dpDiv.css({
|
3309 |
+
position : "absolute",
|
3310 |
+
display : "block",
|
3311 |
+
top : "-1000px"
|
3312 |
+
}), $.datepicker._updateDatepicker(t), s = $.datepicker._checkOffset(t, s, i), t.dpDiv.css({
|
3313 |
+
position : $.datepicker._inDialog && $.blockUI ? "static" : i ? "fixed" : "absolute",
|
3314 |
+
display : "none",
|
3315 |
+
left : s.left + "px",
|
3316 |
+
top : s.top + "px"
|
3317 |
+
});
|
3318 |
+
if (!t.inline) {
|
3319 |
+
var o = $.datepicker._get(t, "showAnim"), u = $.datepicker._get(t, "duration"), a = function() {
|
3320 |
+
var e = t.dpDiv.find("iframe.ui-datepicker-cover");
|
3321 |
+
if (!!e.length) {
|
3322 |
+
var n = $.datepicker._getBorders(t.dpDiv);
|
3323 |
+
e.css({
|
3324 |
+
left : -n[0],
|
3325 |
+
top : -n[1],
|
3326 |
+
width : t.dpDiv.outerWidth(),
|
3327 |
+
height : t.dpDiv.outerHeight()
|
3328 |
+
})
|
3329 |
+
}
|
3330 |
+
};
|
3331 |
+
t.dpDiv.zIndex($(e).zIndex() + 1), $.datepicker._datepickerShowing = !0, $.effects && ($.effects.effect[o] || $.effects[o]) ? t.dpDiv.show(o, $.datepicker._get(t, "showOptions"), u, a) : t.dpDiv[o||"show"]( o ? u : null, a), (!o || !u) && a(), t.input.is(":visible") && !t.input.is(":disabled") && t.input.focus(), $.datepicker._curInst = t
|
3332 |
+
}
|
3333 |
+
},
|
3334 |
+
_updateDatepicker : function(e) {
|
3335 |
+
this.maxRows = 4;
|
3336 |
+
var t = $.datepicker._getBorders(e.dpDiv);
|
3337 |
+
instActive = e, e.dpDiv.empty().append(this._generateHTML(e)), this._attachHandlers(e);
|
3338 |
+
var n = e.dpDiv.find("iframe.ui-datepicker-cover");
|
3339 |
+
!n.length || n.css({
|
3340 |
+
left : -t[0],
|
3341 |
+
top : -t[1],
|
3342 |
+
width : e.dpDiv.outerWidth(),
|
3343 |
+
height : e.dpDiv.outerHeight()
|
3344 |
+
}), e.dpDiv.find("." + this._dayOverClass + " a").mouseover();
|
3345 |
+
var r = this._getNumberOfMonths(e), i = r[1], s = 17;
|
3346 |
+
e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""), i > 1 && e.dpDiv.addClass("ui-datepicker-multi-" + i).css("width", s * i + "em"), e.dpDiv[(r[0]!=1||r[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi"), e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"), e == $.datepicker._curInst && $.datepicker._datepickerShowing && e.input && e.input.is(":visible") && !e.input.is(":disabled") && e.input[0] != document.activeElement && e.input.focus();
|
3347 |
+
if (e.yearshtml) {
|
3348 |
+
var o = e.yearshtml;
|
3349 |
+
setTimeout(function() {
|
3350 |
+
o === e.yearshtml && e.yearshtml && e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml), o = e.yearshtml = null
|
3351 |
+
}, 0)
|
3352 |
+
}
|
3353 |
+
},
|
3354 |
+
_getBorders : function(e) {
|
3355 |
+
var t = function(e) {
|
3356 |
+
return {thin:1,medium:2,thick:3}[e] || e
|
3357 |
+
};
|
3358 |
+
return [parseFloat(t(e.css("border-left-width"))), parseFloat(t(e.css("border-top-width")))]
|
3359 |
+
},
|
3360 |
+
_checkOffset : function(e, t, n) {
|
3361 |
+
var r = e.dpDiv.outerWidth(), i = e.dpDiv.outerHeight(), s = e.input ? e.input.outerWidth() : 0, o = e.input ? e.input.outerHeight() : 0, u = document.documentElement.clientWidth + ( n ? 0 : $(document).scrollLeft()), a = document.documentElement.clientHeight + ( n ? 0 : $(document).scrollTop());
|
3362 |
+
return t.left -= this._get(e, "isRTL") ? r - s : 0, t.left -= n && t.left == e.input.offset().left ? $(document).scrollLeft() : 0, t.top -= n && t.top == e.input.offset().top + o ? $(document).scrollTop() : 0, t.left -= Math.min(t.left, t.left + r > u && u > r ? Math.abs(t.left + r - u) : 0), t.top -= Math.min(t.top, t.top + i > a && a > i ? Math.abs(i + o) : 0), t
|
3363 |
+
},
|
3364 |
+
_findPos : function(e) {
|
3365 |
+
var t = this._getInst(e), n = this._get(t, "isRTL");
|
3366 |
+
while (e && (e.type == "hidden" || e.nodeType != 1 || $.expr.filters.hidden(e)))
|
3367 |
+
e = e[ n ? "previousSibling" : "nextSibling"];
|
3368 |
+
var r = $(e).offset();
|
3369 |
+
return [r.left, r.top]
|
3370 |
+
},
|
3371 |
+
_hideDatepicker : function(e) {
|
3372 |
+
var t = this._curInst;
|
3373 |
+
if (!t || e && t != $.data(e, PROP_NAME))
|
3374 |
+
return;
|
3375 |
+
if (this._datepickerShowing) {
|
3376 |
+
var n = this._get(t, "showAnim"), r = this._get(t, "duration"), i = function() {
|
3377 |
+
$.datepicker._tidyDialog(t)
|
3378 |
+
};
|
3379 |
+
$.effects && ($.effects.effect[n] || $.effects[n]) ? t.dpDiv.hide(n, $.datepicker._get(t, "showOptions"), r, i) : t.dpDiv[n=="slideDown"?"slideUp":n=="fadeIn"?"fadeOut":"hide"]( n ? r : null, i), n || i(), this._datepickerShowing = !1;
|
3380 |
+
var s = this._get(t, "onClose");
|
3381 |
+
s && s.apply(t.input ? t.input[0] : null, [t.input ? t.input.val() : "", t]), this._lastInput = null, this._inDialog && (this._dialogInput.css({
|
3382 |
+
position : "absolute",
|
3383 |
+
left : "0",
|
3384 |
+
top : "-100px"
|
3385 |
+
}), $.blockUI && ($.unblockUI(), $("body").append(this.dpDiv))), this._inDialog = !1
|
3386 |
+
}
|
3387 |
+
},
|
3388 |
+
_tidyDialog : function(e) {
|
3389 |
+
e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")
|
3390 |
+
},
|
3391 |
+
_checkExternalClick : function(e) {
|
3392 |
+
if (!$.datepicker._curInst)
|
3393 |
+
return;
|
3394 |
+
var t = $(e.target), n = $.datepicker._getInst(t[0]);
|
3395 |
+
(t[0].id != $.datepicker._mainDivId && t.parents("#" + $.datepicker._mainDivId).length == 0 && !t.hasClass($.datepicker.markerClassName) && !t.closest("." + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && (!$.datepicker._inDialog || !$.blockUI) || t.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != n) && $.datepicker._hideDatepicker()
|
3396 |
+
},
|
3397 |
+
_adjustDate : function(e, t, n) {
|
3398 |
+
var r = $(e), i = this._getInst(r[0]);
|
3399 |
+
if (this._isDisabledDatepicker(r[0]))
|
3400 |
+
return;
|
3401 |
+
this._adjustInstDate(i, t + (n == "M" ? this._get(i, "showCurrentAtPos") : 0), n), this._updateDatepicker(i)
|
3402 |
+
},
|
3403 |
+
_gotoToday : function(e) {
|
3404 |
+
var t = $(e), n = this._getInst(t[0]);
|
3405 |
+
if (this._get(n, "gotoCurrent") && n.currentDay)
|
3406 |
+
n.selectedDay = n.currentDay, n.drawMonth = n.selectedMonth = n.currentMonth, n.drawYear = n.selectedYear = n.currentYear;
|
3407 |
+
else {
|
3408 |
+
var r = new Date;
|
3409 |
+
n.selectedDay = r.getDate(), n.drawMonth = n.selectedMonth = r.getMonth(), n.drawYear = n.selectedYear = r.getFullYear()
|
3410 |
+
}
|
3411 |
+
this._notifyChange(n), this._adjustDate(t)
|
3412 |
+
},
|
3413 |
+
_selectMonthYear : function(e, t, n) {
|
3414 |
+
var r = $(e), i = this._getInst(r[0]);
|
3415 |
+
i["selected" + (n == "M" ? "Month" : "Year")] = i["draw" + (n == "M" ? "Month" : "Year")] = parseInt(t.options[t.selectedIndex].value, 10), this._notifyChange(i), this._adjustDate(r)
|
3416 |
+
},
|
3417 |
+
_selectDay : function(e, t, n, r) {
|
3418 |
+
var i = $(e);
|
3419 |
+
if ($(r).hasClass(this._unselectableClass) || this._isDisabledDatepicker(i[0]))
|
3420 |
+
return;
|
3421 |
+
var s = this._getInst(i[0]);
|
3422 |
+
s.selectedDay = s.currentDay = $("a", r).html(), s.selectedMonth = s.currentMonth = t, s.selectedYear = s.currentYear = n, this._selectDate(e, this._formatDate(s, s.currentDay, s.currentMonth, s.currentYear))
|
3423 |
+
},
|
3424 |
+
_clearDate : function(e) {
|
3425 |
+
var t = $(e), n = this._getInst(t[0]);
|
3426 |
+
this._selectDate(t, "")
|
3427 |
+
},
|
3428 |
+
_selectDate : function(e, t) {
|
3429 |
+
var n = $(e), r = this._getInst(n[0]);
|
3430 |
+
t = t != null ? t : this._formatDate(r), r.input && r.input.val(t), this._updateAlternate(r);
|
3431 |
+
var i = this._get(r, "onSelect");
|
3432 |
+
i ? i.apply(r.input ? r.input[0] : null, [t, r]) : r.input && r.input.trigger("change"), r.inline ? this._updateDatepicker(r) : (this._hideDatepicker(), this._lastInput = r.input[0], typeof r.input[0] != "object" && r.input.focus(), this._lastInput = null)
|
3433 |
+
},
|
3434 |
+
_updateAlternate : function(e) {
|
3435 |
+
var t = this._get(e, "altField");
|
3436 |
+
if (t) {
|
3437 |
+
var n = this._get(e, "altFormat") || this._get(e, "dateFormat"), r = this._getDate(e), i = this.formatDate(n, r, this._getFormatConfig(e));
|
3438 |
+
$(t).each(function() {
|
3439 |
+
$(this).val(i)
|
3440 |
+
})
|
3441 |
+
}
|
3442 |
+
},
|
3443 |
+
noWeekends : function(e) {
|
3444 |
+
var t = e.getDay();
|
3445 |
+
return [t > 0 && t < 6, ""]
|
3446 |
+
},
|
3447 |
+
iso8601Week : function(e) {
|
3448 |
+
var t = new Date(e.getTime());
|
3449 |
+
t.setDate(t.getDate() + 4 - (t.getDay() || 7));
|
3450 |
+
var n = t.getTime();
|
3451 |
+
return t.setMonth(0), t.setDate(1), Math.floor(Math.round((n - t) / 864e5) / 7) + 1
|
3452 |
+
},
|
3453 |
+
parseDate : function(e, t, n) {
|
3454 |
+
if (e == null || t == null)
|
3455 |
+
throw "Invalid arguments";
|
3456 |
+
t = typeof t == "object" ? t.toString() : t + "";
|
3457 |
+
if (t == "")
|
3458 |
+
return null;
|
3459 |
+
var r = ( n ? n.shortYearCutoff : null) || this._defaults.shortYearCutoff;
|
3460 |
+
r = typeof r != "string" ? r : (new Date).getFullYear() % 100 + parseInt(r, 10);
|
3461 |
+
var i = ( n ? n.dayNamesShort : null) || this._defaults.dayNamesShort, s = ( n ? n.dayNames : null) || this._defaults.dayNames, o = ( n ? n.monthNamesShort : null) || this._defaults.monthNamesShort, u = ( n ? n.monthNames : null) || this._defaults.monthNames, a = -1, f = -1, l = -1, c = -1, h = !1, p = function(t) {
|
3462 |
+
var n = y + 1 < e.length && e.charAt(y + 1) == t;
|
3463 |
+
return n && y++, n
|
3464 |
+
}, d = function(e) {
|
3465 |
+
var n = p(e), r = e == "@" ? 14 : e == "!" ? 20 : e == "y" && n ? 4 : e == "o" ? 3 : 2, i = new RegExp("^\\d{1," + r + "}"), s = t.substring(g).match(i);
|
3466 |
+
if (!s)
|
3467 |
+
throw "Missing number at position " + g;
|
3468 |
+
return g += s[0].length, parseInt(s[0], 10)
|
3469 |
+
}, v = function(e, n, r) {
|
3470 |
+
var i = $.map(p(e) ? r : n, function(e, t) {
|
3471 |
+
return [[t, e]]
|
3472 |
+
}).sort(function(e, t) {
|
3473 |
+
return -(e[1].length - t[1].length)
|
3474 |
+
}), s = -1;
|
3475 |
+
$.each(i, function(e, n) {
|
3476 |
+
var r = n[1];
|
3477 |
+
if (t.substr(g, r.length).toLowerCase() == r.toLowerCase())
|
3478 |
+
return s = n[0], g += r.length, !1
|
3479 |
+
});
|
3480 |
+
if (s != -1)
|
3481 |
+
return s + 1;
|
3482 |
+
throw "Unknown name at position " + g
|
3483 |
+
}, m = function() {
|
3484 |
+
if (t.charAt(g) != e.charAt(y))
|
3485 |
+
throw "Unexpected literal at position " + g;
|
3486 |
+
g++
|
3487 |
+
}, g = 0;
|
3488 |
+
for (var y = 0; y < e.length; y++)
|
3489 |
+
if (h)
|
3490 |
+
e.charAt(y) == "'" && !p("'") ? h = !1 : m();
|
3491 |
+
else
|
3492 |
+
switch(e.charAt(y)) {
|
3493 |
+
case"d":
|
3494 |
+
l = d("d");
|
3495 |
+
break;
|
3496 |
+
case"D":
|
3497 |
+
v("D", i, s);
|
3498 |
+
break;
|
3499 |
+
case"o":
|
3500 |
+
c = d("o");
|
3501 |
+
break;
|
3502 |
+
case"m":
|
3503 |
+
f = d("m");
|
3504 |
+
break;
|
3505 |
+
case"M":
|
3506 |
+
f = v("M", o, u);
|
3507 |
+
break;
|
3508 |
+
case"y":
|
3509 |
+
a = d("y");
|
3510 |
+
break;
|
3511 |
+
case"@":
|
3512 |
+
var b = new Date(d("@"));
|
3513 |
+
a = b.getFullYear(), f = b.getMonth() + 1, l = b.getDate();
|
3514 |
+
break;
|
3515 |
+
case"!":
|
3516 |
+
var b = new Date((d("!") - this._ticksTo1970) / 1e4);
|
3517 |
+
a = b.getFullYear(), f = b.getMonth() + 1, l = b.getDate();
|
3518 |
+
break;
|
3519 |
+
case"'":
|
3520 |
+
p("'") ? m() : h = !0;
|
3521 |
+
break;
|
3522 |
+
default:
|
3523 |
+
m()
|
3524 |
+
}
|
3525 |
+
if (g < t.length) {
|
3526 |
+
var w = t.substr(g);
|
3527 |
+
if (!/^\s+/.test(w))
|
3528 |
+
throw "Extra/unparsed characters found in date: " + w
|
3529 |
+
}
|
3530 |
+
a == -1 ? a = (new Date).getFullYear() : a < 100 && (a += (new Date).getFullYear() - (new Date).getFullYear() % 100 + (a <= r ? 0 : -100));
|
3531 |
+
if (c > -1) {
|
3532 |
+
f = 1, l = c;
|
3533 |
+
do {
|
3534 |
+
var E = this._getDaysInMonth(a, f - 1);
|
3535 |
+
if (l <= E)
|
3536 |
+
break;
|
3537 |
+
f++, l -= E
|
3538 |
+
} while(!0)
|
3539 |
+
}
|
3540 |
+
var b = this._daylightSavingAdjust(new Date(a, f - 1, l));
|
3541 |
+
if (b.getFullYear() != a || b.getMonth() + 1 != f || b.getDate() != l)
|
3542 |
+
throw "Invalid date";
|
3543 |
+
return b
|
3544 |
+
},
|
3545 |
+
ATOM : "yy-mm-dd",
|
3546 |
+
COOKIE : "D, dd M yy",
|
3547 |
+
ISO_8601 : "yy-mm-dd",
|
3548 |
+
RFC_822 : "D, d M y",
|
3549 |
+
RFC_850 : "DD, dd-M-y",
|
3550 |
+
RFC_1036 : "D, d M y",
|
3551 |
+
RFC_1123 : "D, d M yy",
|
3552 |
+
RFC_2822 : "D, d M yy",
|
3553 |
+
RSS : "D, d M y",
|
3554 |
+
TICKS : "!",
|
3555 |
+
TIMESTAMP : "@",
|
3556 |
+
W3C : "yy-mm-dd",
|
3557 |
+
_ticksTo1970 : (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) * 24 * 60 * 60 * 1e7,
|
3558 |
+
formatDate : function(e, t, n) {
|
3559 |
+
if (!t)
|
3560 |
+
return "";
|
3561 |
+
var r = ( n ? n.dayNamesShort : null) || this._defaults.dayNamesShort, i = ( n ? n.dayNames : null) || this._defaults.dayNames, s = ( n ? n.monthNamesShort : null) || this._defaults.monthNamesShort, o = ( n ? n.monthNames : null) || this._defaults.monthNames, u = function(t) {
|
3562 |
+
var n = h + 1 < e.length && e.charAt(h + 1) == t;
|
3563 |
+
return n && h++, n
|
3564 |
+
}, a = function(e, t, n) {
|
3565 |
+
var r = "" + t;
|
3566 |
+
if (u(e))
|
3567 |
+
while (r.length < n)
|
3568 |
+
r = "0" + r;
|
3569 |
+
return r
|
3570 |
+
}, f = function(e, t, n, r) {
|
3571 |
+
return u(e) ? r[t] : n[t]
|
3572 |
+
}, l = "", c = !1;
|
3573 |
+
if (t)
|
3574 |
+
for (var h = 0; h < e.length; h++)
|
3575 |
+
if (c)
|
3576 |
+
e.charAt(h) == "'" && !u("'") ? c = !1 : l += e.charAt(h);
|
3577 |
+
else
|
3578 |
+
switch(e.charAt(h)) {
|
3579 |
+
case"d":
|
3580 |
+
l += a("d", t.getDate(), 2);
|
3581 |
+
break;
|
3582 |
+
case"D":
|
3583 |
+
l += f("D", t.getDay(), r, i);
|
3584 |
+
break;
|
3585 |
+
case"o":
|
3586 |
+
l += a("o", Math.round(((new Date(t.getFullYear(), t.getMonth(), t.getDate())).getTime() - (new Date(t.getFullYear(), 0, 0)).getTime()) / 864e5), 3);
|
3587 |
+
break;
|
3588 |
+
case"m":
|
3589 |
+
l += a("m", t.getMonth() + 1, 2);
|
3590 |
+
break;
|
3591 |
+
case"M":
|
3592 |
+
l += f("M", t.getMonth(), s, o);
|
3593 |
+
break;
|
3594 |
+
case"y":
|
3595 |
+
l += u("y") ? t.getFullYear() : (t.getYear() % 100 < 10 ? "0" : "") + t.getYear() % 100;
|
3596 |
+
break;
|
3597 |
+
case"@":
|
3598 |
+
l += t.getTime();
|
3599 |
+
break;
|
3600 |
+
case"!":
|
3601 |
+
l += t.getTime() * 1e4 + this._ticksTo1970;
|
3602 |
+
break;
|
3603 |
+
case"'":
|
3604 |
+
u("'") ? l += "'" : c = !0;
|
3605 |
+
break;
|
3606 |
+
default:
|
3607 |
+
l += e.charAt(h)
|
3608 |
+
}
|
3609 |
+
return l
|
3610 |
+
},
|
3611 |
+
_possibleChars : function(e) {
|
3612 |
+
var t = "", n = !1, r = function(t) {
|
3613 |
+
var n = i + 1 < e.length && e.charAt(i + 1) == t;
|
3614 |
+
return n && i++, n
|
3615 |
+
};
|
3616 |
+
for (var i = 0; i < e.length; i++)
|
3617 |
+
if (n)
|
3618 |
+
e.charAt(i) == "'" && !r("'") ? n = !1 : t += e.charAt(i);
|
3619 |
+
else
|
3620 |
+
switch(e.charAt(i)) {
|
3621 |
+
case"d":
|
3622 |
+
case"m":
|
3623 |
+
case"y":
|
3624 |
+
case"@":
|
3625 |
+
t += "0123456789";
|
3626 |
+
break;
|
3627 |
+
case"D":
|
3628 |
+
case"M":
|
3629 |
+
return null;
|
3630 |
+
case"'":
|
3631 |
+
r("'") ? t += "'" : n = !0;
|
3632 |
+
break;
|
3633 |
+
default:
|
3634 |
+
t += e.charAt(i)
|
3635 |
+
}
|
3636 |
+
return t
|
3637 |
+
},
|
3638 |
+
_get : function(e, t) {
|
3639 |
+
return e.settings[t] !== undefined ? e.settings[t] : this._defaults[t]
|
3640 |
+
},
|
3641 |
+
_setDateFromField : function(e, t) {
|
3642 |
+
if (e.input.val() == e.lastVal)
|
3643 |
+
return;
|
3644 |
+
var n = this._get(e, "dateFormat"), r = e.lastVal = e.input ? e.input.val() : null, i, s;
|
3645 |
+
i = s = this._getDefaultDate(e);
|
3646 |
+
var o = this._getFormatConfig(e);
|
3647 |
+
try {
|
3648 |
+
i = this.parseDate(n, r, o) || s
|
3649 |
+
} catch(u) {
|
3650 |
+
this.log(u), r = t ? "" : r
|
3651 |
+
}
|
3652 |
+
e.selectedDay = i.getDate(), e.drawMonth = e.selectedMonth = i.getMonth(), e.drawYear = e.selectedYear = i.getFullYear(), e.currentDay = r ? i.getDate() : 0, e.currentMonth = r ? i.getMonth() : 0, e.currentYear = r ? i.getFullYear() : 0, this._adjustInstDate(e)
|
3653 |
+
},
|
3654 |
+
_getDefaultDate : function(e) {
|
3655 |
+
return this._restrictMinMax(e, this._determineDate(e, this._get(e, "defaultDate"), new Date))
|
3656 |
+
},
|
3657 |
+
_determineDate : function(e, t, n) {
|
3658 |
+
var r = function(e) {
|
3659 |
+
var t = new Date;
|
3660 |
+
return t.setDate(t.getDate() + e), t
|
3661 |
+
}, i = function(t) {
|
3662 |
+
try {
|
3663 |
+
return $.datepicker.parseDate($.datepicker._get(e, "dateFormat"), t, $.datepicker._getFormatConfig(e))
|
3664 |
+
} catch(n) {
|
3665 |
+
}
|
3666 |
+
var r = (t.toLowerCase().match(/^c/) ? $.datepicker._getDate(e) : null) || new Date, i = r.getFullYear(), s = r.getMonth(), o = r.getDate(), u = /([+-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g, a = u.exec(t);
|
3667 |
+
while (a) {
|
3668 |
+
switch(a[2]||"d") {
|
3669 |
+
case"d":
|
3670 |
+
case"D":
|
3671 |
+
o += parseInt(a[1], 10);
|
3672 |
+
break;
|
3673 |
+
case"w":
|
3674 |
+
case"W":
|
3675 |
+
o += parseInt(a[1], 10) * 7;
|
3676 |
+
break;
|
3677 |
+
case"m":
|
3678 |
+
case"M":
|
3679 |
+
s += parseInt(a[1], 10), o = Math.min(o, $.datepicker._getDaysInMonth(i, s));
|
3680 |
+
break;
|
3681 |
+
case"y":
|
3682 |
+
case"Y":
|
3683 |
+
i += parseInt(a[1], 10), o = Math.min(o, $.datepicker._getDaysInMonth(i, s))
|
3684 |
+
}
|
3685 |
+
a = u.exec(t)
|
3686 |
+
}
|
3687 |
+
return new Date(i, s, o)
|
3688 |
+
}, s = t == null || t === "" ? n : typeof t == "string" ? i(t) : typeof t == "number" ? isNaN(t) ? n : r(t) : new Date(t.getTime());
|
3689 |
+
return s = s && s.toString() == "Invalid Date" ? n : s, s && (s.setHours(0), s.setMinutes(0), s.setSeconds(0), s.setMilliseconds(0)), this._daylightSavingAdjust(s)
|
3690 |
+
},
|
3691 |
+
_daylightSavingAdjust : function(e) {
|
3692 |
+
return e ? (e.setHours(e.getHours() > 12 ? e.getHours() + 2 : 0), e) : null
|
3693 |
+
},
|
3694 |
+
_setDate : function(e, t, n) {
|
3695 |
+
var r = !t, i = e.selectedMonth, s = e.selectedYear, o = this._restrictMinMax(e, this._determineDate(e, t, new Date));
|
3696 |
+
e.selectedDay = e.currentDay = o.getDate(), e.drawMonth = e.selectedMonth = e.currentMonth = o.getMonth(), e.drawYear = e.selectedYear = e.currentYear = o.getFullYear(), (i != e.selectedMonth || s != e.selectedYear) && !n && this._notifyChange(e), this._adjustInstDate(e), e.input && e.input.val( r ? "" : this._formatDate(e))
|
3697 |
+
},
|
3698 |
+
_getDate : function(e) {
|
3699 |
+
var t = !e.currentYear || e.input && e.input.val() == "" ? null : this._daylightSavingAdjust(new Date(e.currentYear, e.currentMonth, e.currentDay));
|
3700 |
+
return t
|
3701 |
+
},
|
3702 |
+
_attachHandlers : function(e) {
|
3703 |
+
var t = this._get(e, "stepMonths"), n = "#" + e.id.replace(/\\\\/g, "\\");
|
3704 |
+
e.dpDiv.find("[data-handler]").map(function() {
|
3705 |
+
var e = {
|
3706 |
+
prev : function() {
|
3707 |
+
window["DP_jQuery_" + dpuuid].datepicker._adjustDate(n, -t, "M")
|
3708 |
+
},
|
3709 |
+
next : function() {
|
3710 |
+
window["DP_jQuery_" + dpuuid].datepicker._adjustDate(n, +t, "M")
|
3711 |
+
},
|
3712 |
+
hide : function() {
|
3713 |
+
window["DP_jQuery_" + dpuuid].datepicker._hideDatepicker()
|
3714 |
+
},
|
3715 |
+
today : function() {
|
3716 |
+
window["DP_jQuery_" + dpuuid].datepicker._gotoToday(n)
|
3717 |
+
},
|
3718 |
+
selectDay : function() {
|
3719 |
+
return window["DP_jQuery_" + dpuuid].datepicker._selectDay(n, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this), !1
|
3720 |
+
},
|
3721 |
+
selectMonth : function() {
|
3722 |
+
return window["DP_jQuery_" + dpuuid].datepicker._selectMonthYear(n, this, "M"), !1
|
3723 |
+
},
|
3724 |
+
selectYear : function() {
|
3725 |
+
return window["DP_jQuery_" + dpuuid].datepicker._selectMonthYear(n, this, "Y"), !1
|
3726 |
+
}
|
3727 |
+
};
|
3728 |
+
$(this).bind(this.getAttribute("data-event"), e[this.getAttribute("data-handler")])
|
3729 |
+
})
|
3730 |
+
},
|
3731 |
+
_generateHTML : function(e) {
|
3732 |
+
var t = new Date;
|
3733 |
+
t = this._daylightSavingAdjust(new Date(t.getFullYear(), t.getMonth(), t.getDate()));
|
3734 |
+
var n = this._get(e, "isRTL"), r = this._get(e, "showButtonPanel"), i = this._get(e, "hideIfNoPrevNext"), s = this._get(e, "navigationAsDateFormat"), o = this._getNumberOfMonths(e), u = this._get(e, "showCurrentAtPos"), a = this._get(e, "stepMonths"), f = o[0] != 1 || o[1] != 1, l = this._daylightSavingAdjust(e.currentDay ? new Date(e.currentYear, e.currentMonth, e.currentDay) : new Date(9999, 9, 9)), c = this._getMinMaxDate(e, "min"), h = this._getMinMaxDate(e, "max"), p = e.drawMonth - u, d = e.drawYear;
|
3735 |
+
p < 0 && (p += 12, d--);
|
3736 |
+
if (h) {
|
3737 |
+
var v = this._daylightSavingAdjust(new Date(h.getFullYear(), h.getMonth() - o[0] * o[1] + 1, h.getDate()));
|
3738 |
+
v = c && v < c ? c : v;
|
3739 |
+
while (this._daylightSavingAdjust(new Date(d, p, 1)) > v)p--, p < 0 && ( p = 11, d--)
|
3740 |
+
}
|
3741 |
+
e.drawMonth = p, e.drawYear = d;
|
3742 |
+
var m = this._get(e, "prevText");
|
3743 |
+
m = s ? this.formatDate(m, this._daylightSavingAdjust(new Date(d, p - a, 1)), this._getFormatConfig(e)) : m;
|
3744 |
+
var g = this._canAdjustMonth(e, -1, d, p) ? '<a class="ui-datepicker-prev ui-corner-all" data-handler="prev" data-event="click" title="' + m + '"><span class="ui-icon ui-icon-circle-triangle-' + ( n ? "e" : "w") + '">' + m + "</span></a>" : i ? "" : '<a class="ui-datepicker-prev ui-corner-all ui-state-disabled" title="' + m + '"><span class="ui-icon ui-icon-circle-triangle-' + ( n ? "e" : "w") + '">' + m + "</span></a>", y = this._get(e, "nextText");
|
3745 |
+
y = s ? this.formatDate(y, this._daylightSavingAdjust(new Date(d, p + a, 1)), this._getFormatConfig(e)) : y;
|
3746 |
+
var b = this._canAdjustMonth(e, 1, d, p) ? '<a class="ui-datepicker-next ui-corner-all" data-handler="next" data-event="click" title="' + y + '"><span class="ui-icon ui-icon-circle-triangle-' + ( n ? "w" : "e") + '">' + y + "</span></a>" : i ? "" : '<a class="ui-datepicker-next ui-corner-all ui-state-disabled" title="' + y + '"><span class="ui-icon ui-icon-circle-triangle-' + ( n ? "w" : "e") + '">' + y + "</span></a>", w = this._get(e, "currentText"), E = this._get(e, "gotoCurrent") && e.currentDay ? l : t;
|
3747 |
+
w = s ? this.formatDate(w, E, this._getFormatConfig(e)) : w;
|
3748 |
+
var S = e.inline ? "" : '<button type="button" class="ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all" data-handler="hide" data-event="click">' + this._get(e, "closeText") + "</button>", x = r ? '<div class="ui-datepicker-buttonpane ui-widget-content">' + ( n ? S : "") + (this._isInRange(e, E) ? '<button type="button" class="ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all" data-handler="today" data-event="click">' + w + "</button>" : "") + ( n ? "" : S) + "</div>" : "", T = parseInt(this._get(e, "firstDay"), 10);
|
3749 |
+
T = isNaN(T) ? 0 : T;
|
3750 |
+
var N = this._get(e, "showWeek"), C = this._get(e, "dayNames"), k = this._get(e, "dayNamesShort"), L = this._get(e, "dayNamesMin"), A = this._get(e, "monthNames"), O = this._get(e, "monthNamesShort"), M = this._get(e, "beforeShowDay"), _ = this._get(e, "showOtherMonths"), D = this._get(e, "selectOtherMonths"), P = this._get(e, "calculateWeek") || this.iso8601Week, H = this._getDefaultDate(e), B = "";
|
3751 |
+
for (var j = 0; j < o[0]; j++) {
|
3752 |
+
var F = "";
|
3753 |
+
this.maxRows = 4;
|
3754 |
+
for (var I = 0; I < o[1]; I++) {
|
3755 |
+
var q = this._daylightSavingAdjust(new Date(d, p, e.selectedDay)), R = " ui-corner-all", U = "";
|
3756 |
+
if (f) {
|
3757 |
+
U += '<div class="ui-datepicker-group';
|
3758 |
+
if (o[1] > 1)
|
3759 |
+
switch(I) {
|
3760 |
+
case 0:
|
3761 |
+
U += " ui-datepicker-group-first", R = " ui-corner-" + ( n ? "right" : "left");
|
3762 |
+
break;
|
3763 |
+
case o[1]-1:
|
3764 |
+
U += " ui-datepicker-group-last", R = " ui-corner-" + ( n ? "left" : "right");
|
3765 |
+
break;
|
3766 |
+
default:
|
3767 |
+
U += " ui-datepicker-group-middle", R = ""
|
3768 |
+
}
|
3769 |
+
U += '">'
|
3770 |
+
}
|
3771 |
+
U += '<div class="ui-datepicker-header ui-widget-header ui-helper-clearfix' + R + '">' + (/all|left/.test(R) && j == 0 ? n ? b : g : "") + (/all|right/.test(R) && j == 0 ? n ? g : b : "") + this._generateMonthYearHeader(e, p, d, c, h, j > 0 || I > 0, A, O) + '</div><table class="ui-datepicker-calendar"><thead>' + "<tr>";
|
3772 |
+
var z = N ? '<th class="ui-datepicker-week-col">' + this._get(e, "weekHeader") + "</th>" : "";
|
3773 |
+
for (var W = 0; W < 7; W++) {
|
3774 |
+
var X = (W + T) % 7;
|
3775 |
+
z += "<th" + ((W + T + 6) % 7 >= 5 ? ' class="ui-datepicker-week-end"' : "") + ">" + '<span title="' + C[X] + '">' + L[X] + "</span></th>"
|
3776 |
+
}
|
3777 |
+
U += z + "</tr></thead><tbody>";
|
3778 |
+
var V = this._getDaysInMonth(d, p);
|
3779 |
+
d == e.selectedYear && p == e.selectedMonth && (e.selectedDay = Math.min(e.selectedDay, V));
|
3780 |
+
var J = (this._getFirstDayOfMonth(d, p) - T + 7) % 7, K = Math.ceil((J + V) / 7), Q = f ? this.maxRows > K ? this.maxRows : K : K;
|
3781 |
+
this.maxRows = Q;
|
3782 |
+
var G = this._daylightSavingAdjust(new Date(d, p, 1 - J));
|
3783 |
+
for (var Y = 0; Y < Q; Y++) {
|
3784 |
+
U += "<tr>";
|
3785 |
+
var Z = N ? '<td class="ui-datepicker-week-col">' + this._get(e,"calculateWeek")(G) + "</td>" : "";
|
3786 |
+
for (var W = 0; W < 7; W++) {
|
3787 |
+
var et = M ? M.apply(e.input ? e.input[0] : null, [G]) : [!0, ""], tt = G.getMonth() != p, nt = tt && !D || !et[0] || c && G < c || h && G > h;
|
3788 |
+
Z += '<td class="' + ((W + T + 6) % 7 >= 5 ? " ui-datepicker-week-end" : "") + ( tt ? " ui-datepicker-other-month" : "") + (G.getTime() == q.getTime() && p == e.selectedMonth && e._keyEvent || H.getTime() == G.getTime() && H.getTime() == q.getTime() ? " " + this._dayOverClass : "") + ( nt ? " " + this._unselectableClass + " ui-state-disabled" : "") + (tt && !_ ? "" : " " + et[1] + (G.getTime() == l.getTime() ? " " + this._currentClass : "") + (G.getTime() == t.getTime() ? " ui-datepicker-today" : "")) + '"' + ((!tt || _) && et[2] ? ' title="' + et[2] + '"' : "") + ( nt ? "" : ' data-handler="selectDay" data-event="click" data-month="' + G.getMonth() + '" data-year="' + G.getFullYear() + '"') + ">" + (tt && !_ ? " " : nt ? '<span class="ui-state-default">' + G.getDate() + "</span>" : '<a class="ui-state-default' + (G.getTime() == t.getTime() ? " ui-state-highlight" : "") + (G.getTime() == l.getTime() ? " ui-state-active" : "") + ( tt ? " ui-priority-secondary" : "") + '" href="#">' + G.getDate() + "</a>") + "</td>", G.setDate(G.getDate() + 1), G = this._daylightSavingAdjust(G)
|
3789 |
+
}
|
3790 |
+
U += Z + "</tr>"
|
3791 |
+
}
|
3792 |
+
p++, p > 11 && ( p = 0, d++), U += "</tbody></table>" + ( f ? "</div>" + (o[0] > 0 && I == o[1] - 1 ? '<div class="ui-datepicker-row-break"></div>' : "") : ""), F += U
|
3793 |
+
}
|
3794 |
+
B += F
|
3795 |
+
}
|
3796 |
+
return B += x + ($.browser.msie && parseInt($.browser.version, 10) < 7 && !e.inline ? '<iframe src="javascript:false;" class="ui-datepicker-cover" frameborder="0"></iframe>' : ""), e._keyEvent = !1, B
|
3797 |
+
},
|
3798 |
+
_generateMonthYearHeader : function(e, t, n, r, i, s, o, u) {
|
3799 |
+
var a = this._get(e, "changeMonth"), f = this._get(e, "changeYear"), l = this._get(e, "showMonthAfterYear"), c = '<div class="ui-datepicker-title">', h = "";
|
3800 |
+
if (s || !a)
|
3801 |
+
h += '<span class="ui-datepicker-month">' + o[t] + "</span>";
|
3802 |
+
else {
|
3803 |
+
var p = r && r.getFullYear() == n, d = i && i.getFullYear() == n;
|
3804 |
+
h += '<select class="ui-datepicker-month" data-handler="selectMonth" data-event="change">';
|
3805 |
+
for (var v = 0; v < 12; v++)
|
3806 |
+
(!p || v >= r.getMonth()) && (!d || v <= i.getMonth()) && (h += '<option value="' + v + '"' + (v == t ? ' selected="selected"' : "") + ">" + u[v] + "</option>");
|
3807 |
+
h += "</select>"
|
3808 |
+
}
|
3809 |
+
l || (c += h + (s || !a || !f ? " " : ""));
|
3810 |
+
if (!e.yearshtml) {
|
3811 |
+
e.yearshtml = "";
|
3812 |
+
if (s || !f)
|
3813 |
+
c += '<span class="ui-datepicker-year">' + n + "</span>";
|
3814 |
+
else {
|
3815 |
+
var m = this._get(e, "yearRange").split(":"), g = (new Date).getFullYear(), y = function(e) {
|
3816 |
+
var t = e.match(/c[+-].*/) ? n + parseInt(e.substring(1), 10) : e.match(/[+-].*/) ? g + parseInt(e, 10) : parseInt(e, 10);
|
3817 |
+
return isNaN(t) ? g : t
|
3818 |
+
}, b = y(m[0]), w = Math.max(b, y(m[1] || ""));
|
3819 |
+
b = r ? Math.max(b, r.getFullYear()) : b, w = i ? Math.min(w, i.getFullYear()) : w, e.yearshtml += '<select class="ui-datepicker-year" data-handler="selectYear" data-event="change">';
|
3820 |
+
for (; b <= w; b++)
|
3821 |
+
e.yearshtml += '<option value="' + b + '"' + (b == n ? ' selected="selected"' : "") + ">" + b + "</option>";
|
3822 |
+
e.yearshtml += "</select>", c += e.yearshtml, e.yearshtml = null
|
3823 |
+
}
|
3824 |
+
}
|
3825 |
+
return c += this._get(e, "yearSuffix"), l && (c += (s || !a || !f ? " " : "") + h), c += "</div>", c
|
3826 |
+
},
|
3827 |
+
_adjustInstDate : function(e, t, n) {
|
3828 |
+
var r = e.drawYear + (n == "Y" ? t : 0), i = e.drawMonth + (n == "M" ? t : 0), s = Math.min(e.selectedDay, this._getDaysInMonth(r, i)) + (n == "D" ? t : 0), o = this._restrictMinMax(e, this._daylightSavingAdjust(new Date(r, i, s)));
|
3829 |
+
e.selectedDay = o.getDate(), e.drawMonth = e.selectedMonth = o.getMonth(), e.drawYear = e.selectedYear = o.getFullYear(), (n == "M" || n == "Y") && this._notifyChange(e)
|
3830 |
+
},
|
3831 |
+
_restrictMinMax : function(e, t) {
|
3832 |
+
var n = this._getMinMaxDate(e, "min"), r = this._getMinMaxDate(e, "max"), i = n && t < n ? n : t;
|
3833 |
+
return i = r && i > r ? r : i, i
|
3834 |
+
},
|
3835 |
+
_notifyChange : function(e) {
|
3836 |
+
var t = this._get(e, "onChangeMonthYear");
|
3837 |
+
t && t.apply(e.input ? e.input[0] : null, [e.selectedYear, e.selectedMonth + 1, e])
|
3838 |
+
},
|
3839 |
+
_getNumberOfMonths : function(e) {
|
3840 |
+
var t = this._get(e, "numberOfMonths");
|
3841 |
+
return t == null ? [1, 1] : typeof t == "number" ? [1, t] : t
|
3842 |
+
},
|
3843 |
+
_getMinMaxDate : function(e, t) {
|
3844 |
+
return this._determineDate(e, this._get(e, t + "Date"), null)
|
3845 |
+
},
|
3846 |
+
_getDaysInMonth : function(e, t) {
|
3847 |
+
return 32 - this._daylightSavingAdjust(new Date(e, t, 32)).getDate()
|
3848 |
+
},
|
3849 |
+
_getFirstDayOfMonth : function(e, t) {
|
3850 |
+
return (new Date(e, t, 1)).getDay()
|
3851 |
+
},
|
3852 |
+
_canAdjustMonth : function(e, t, n, r) {
|
3853 |
+
var i = this._getNumberOfMonths(e), s = this._daylightSavingAdjust(new Date(n, r + (t < 0 ? t : i[0] * i[1]), 1));
|
3854 |
+
return t < 0 && s.setDate(this._getDaysInMonth(s.getFullYear(), s.getMonth())), this._isInRange(e, s)
|
3855 |
+
},
|
3856 |
+
_isInRange : function(e, t) {
|
3857 |
+
var n = this._getMinMaxDate(e, "min"), r = this._getMinMaxDate(e, "max");
|
3858 |
+
return (!n || t.getTime() >= n.getTime()) && (!r || t.getTime() <= r.getTime())
|
3859 |
+
},
|
3860 |
+
_getFormatConfig : function(e) {
|
3861 |
+
var t = this._get(e, "shortYearCutoff");
|
3862 |
+
return t = typeof t != "string" ? t : (new Date).getFullYear() % 100 + parseInt(t, 10), {
|
3863 |
+
shortYearCutoff : t,
|
3864 |
+
dayNamesShort : this._get(e, "dayNamesShort"),
|
3865 |
+
dayNames : this._get(e, "dayNames"),
|
3866 |
+
monthNamesShort : this._get(e, "monthNamesShort"),
|
3867 |
+
monthNames : this._get(e, "monthNames")
|
3868 |
+
}
|
3869 |
+
},
|
3870 |
+
_formatDate : function(e, t, n, r) {
|
3871 |
+
t || (e.currentDay = e.selectedDay, e.currentMonth = e.selectedMonth, e.currentYear = e.selectedYear);
|
3872 |
+
var i = t ? typeof t == "object" ? t : this._daylightSavingAdjust(new Date(r, n, t)) : this._daylightSavingAdjust(new Date(e.currentYear, e.currentMonth, e.currentDay));
|
3873 |
+
return this.formatDate(this._get(e, "dateFormat"), i, this._getFormatConfig(e))
|
3874 |
+
}
|
3875 |
+
}), $.fn.datepicker = function(e) {
|
3876 |
+
if (!this.length)
|
3877 |
+
return this;
|
3878 |
+
$.datepicker.initialized || ($(document).mousedown($.datepicker._checkExternalClick).find(document.body).append($.datepicker.dpDiv), $.datepicker.initialized = !0);
|
3879 |
+
var t = Array.prototype.slice.call(arguments, 1);
|
3880 |
+
return typeof e != "string" || e != "isDisabled" && e != "getDate" && e != "widget" ? e == "option" && arguments.length == 2 && typeof arguments[1] == "string" ? $.datepicker["_" + e + "Datepicker"].apply($.datepicker, [this[0]].concat(t)) : this.each(function() {
|
3881 |
+
typeof e == "string" ? $.datepicker["_" + e + "Datepicker"].apply($.datepicker, [this].concat(t)) : $.datepicker._attachDatepicker(this, e)
|
3882 |
+
}) : $.datepicker["_" + e + "Datepicker"].apply($.datepicker, [this[0]].concat(t))
|
3883 |
+
}, $.datepicker = new Datepicker, $.datepicker.initialized = !1, $.datepicker.uuid = (new Date).getTime(), $.datepicker.version = "1.9.0", window["DP_jQuery_" + dpuuid] = $
|
3884 |
+
})(jQuery);
|
3885 |
+
(function(e, t) {
|
3886 |
+
var n = "ui-dialog ui-widget ui-widget-content ui-corner-all ", r = {
|
3887 |
+
buttons : !0,
|
3888 |
+
height : !0,
|
3889 |
+
maxHeight : !0,
|
3890 |
+
maxWidth : !0,
|
3891 |
+
minHeight : !0,
|
3892 |
+
minWidth : !0,
|
3893 |
+
width : !0
|
3894 |
+
}, i = {
|
3895 |
+
maxHeight : !0,
|
3896 |
+
maxWidth : !0,
|
3897 |
+
minHeight : !0,
|
3898 |
+
minWidth : !0
|
3899 |
+
};
|
3900 |
+
e.widget("ui.dialog", {
|
3901 |
+
version : "1.9.0",
|
3902 |
+
options : {
|
3903 |
+
autoOpen : !0,
|
3904 |
+
buttons : {},
|
3905 |
+
closeOnEscape : !0,
|
3906 |
+
closeText : "close",
|
3907 |
+
dialogClass : "",
|
3908 |
+
draggable : !0,
|
3909 |
+
hide : null,
|
3910 |
+
height : "auto",
|
3911 |
+
maxHeight : !1,
|
3912 |
+
maxWidth : !1,
|
3913 |
+
minHeight : 150,
|
3914 |
+
minWidth : 150,
|
3915 |
+
modal : !1,
|
3916 |
+
position : {
|
3917 |
+
my : "center",
|
3918 |
+
at : "center",
|
3919 |
+
of : window,
|
3920 |
+
collision : "fit",
|
3921 |
+
using : function(t) {
|
3922 |
+
var n = e(this).css(t).offset().top;
|
3923 |
+
n < 0 && e(this).css("top", t.top - n)
|
3924 |
+
}
|
3925 |
+
},
|
3926 |
+
resizable : !0,
|
3927 |
+
show : null,
|
3928 |
+
stack : !0,
|
3929 |
+
title : "",
|
3930 |
+
width : 300,
|
3931 |
+
zIndex : 1e3
|
3932 |
+
},
|
3933 |
+
_create : function() {
|
3934 |
+
this.originalTitle = this.element.attr("title"), typeof this.originalTitle != "string" && (this.originalTitle = ""), this.oldPosition = {
|
3935 |
+
parent : this.element.parent(),
|
3936 |
+
index : this.element.parent().children().index(this.element)
|
3937 |
+
}, this.options.title = this.options.title || this.originalTitle;
|
3938 |
+
var t = this, r = this.options, i = r.title || " ", s = (this.uiDialog = e("<div>")).addClass(n + r.dialogClass).css({
|
3939 |
+
display : "none",
|
3940 |
+
outline : 0,
|
3941 |
+
zIndex : r.zIndex
|
3942 |
+
}).attr("tabIndex", -1).keydown(function(n) {
|
3943 |
+
r.closeOnEscape && !n.isDefaultPrevented() && n.keyCode && n.keyCode === e.ui.keyCode.ESCAPE && (t.close(n), n.preventDefault())
|
3944 |
+
}).mousedown(function(e) {
|
3945 |
+
t.moveToTop(!1, e)
|
3946 |
+
}).appendTo("body"), o = this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(s), u = (this.uiDialogTitlebar = e("<div>")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(s), a = e("<a href='#'></a>").addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", "button").click(function(e) {
|
3947 |
+
e.preventDefault(), t.close(e)
|
3948 |
+
}).appendTo(u), f = (this.uiDialogTitlebarCloseText = e("<span>")).addClass("ui-icon ui-icon-closethick").text(r.closeText).appendTo(a), l = e("<span>").uniqueId().addClass("ui-dialog-title").html(i).prependTo(u), c = (this.uiDialogButtonPane = e("<div>")).addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"), h = (this.uiButtonSet = e("<div>")).addClass("ui-dialog-buttonset").appendTo(c);
|
3949 |
+
s.attr({
|
3950 |
+
role : "dialog",
|
3951 |
+
"aria-labelledby" : l.attr("id")
|
3952 |
+
}), u.find("*").add(u).disableSelection(), this._hoverable(a), this._focusable(a), r.draggable && e.fn.draggable && this._makeDraggable(), r.resizable && e.fn.resizable && this._makeResizable(), this._createButtons(r.buttons), this._isOpen = !1, e.fn.bgiframe && s.bgiframe(), this._on(s, {
|
3953 |
+
keydown : function(t) {
|
3954 |
+
if (!r.modal || t.keyCode !== e.ui.keyCode.TAB)
|
3955 |
+
return;
|
3956 |
+
var n = e(":tabbable", s), i = n.filter(":first"), o = n.filter(":last");
|
3957 |
+
if (t.target === o[0] && !t.shiftKey)
|
3958 |
+
return i.focus(1), !1;
|
3959 |
+
if (t.target === i[0] && t.shiftKey)
|
3960 |
+
return o.focus(1), !1
|
3961 |
+
}
|
3962 |
+
})
|
3963 |
+
},
|
3964 |
+
_init : function() {
|
3965 |
+
this.options.autoOpen && this.open()
|
3966 |
+
},
|
3967 |
+
_destroy : function() {
|
3968 |
+
var e, t = this.oldPosition;
|
3969 |
+
this.overlay && this.overlay.destroy(), this.uiDialog.hide(), this.element.removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"), this.uiDialog.remove(), this.originalTitle && this.element.attr("title", this.originalTitle), e = t.parent.children().eq(t.index), e.length && e[0] !== this.element[0] ? e.before(this.element) : t.parent.append(this.element)
|
3970 |
+
},
|
3971 |
+
widget : function() {
|
3972 |
+
return this.uiDialog
|
3973 |
+
},
|
3974 |
+
close : function(t) {
|
3975 |
+
var n = this, r, i;
|
3976 |
+
if (!this._isOpen)
|
3977 |
+
return;
|
3978 |
+
if (!1 === this._trigger("beforeClose", t))
|
3979 |
+
return;
|
3980 |
+
return this._isOpen = !1, this.overlay && this.overlay.destroy(), this.options.hide ? this.uiDialog.hide(this.options.hide, function() {
|
3981 |
+
n._trigger("close", t)
|
3982 |
+
}) : (this.uiDialog.hide(), this._trigger("close", t)), e.ui.dialog.overlay.resize(), this.options.modal && ( r = 0, e(".ui-dialog").each(function() {
|
3983 |
+
this !== n.uiDialog[0] && ( i = e(this).css("z-index"), isNaN(i) || ( r = Math.max(r, i)))
|
3984 |
+
}), e.ui.dialog.maxZ = r), this
|
3985 |
+
},
|
3986 |
+
isOpen : function() {
|
3987 |
+
return this._isOpen
|
3988 |
+
},
|
3989 |
+
moveToTop : function(t, n) {
|
3990 |
+
var r = this.options, i;
|
3991 |
+
return r.modal && !t || !r.stack && !r.modal ? this._trigger("focus", n) : (r.zIndex > e.ui.dialog.maxZ && (e.ui.dialog.maxZ = r.zIndex), this.overlay && (e.ui.dialog.maxZ += 1, e.ui.dialog.overlay.maxZ = e.ui.dialog.maxZ, this.overlay.$el.css("z-index", e.ui.dialog.overlay.maxZ)), i = {
|
3992 |
+
scrollTop : this.element.scrollTop(),
|
3993 |
+
scrollLeft : this.element.scrollLeft()
|
3994 |
+
}, e.ui.dialog.maxZ += 1, this.uiDialog.css("z-index", e.ui.dialog.maxZ), this.element.attr(i), this._trigger("focus", n), this)
|
3995 |
+
},
|
3996 |
+
open : function() {
|
3997 |
+
if (this._isOpen)
|
3998 |
+
return;
|
3999 |
+
var t, n = this.options, r = this.uiDialog;
|
4000 |
+
return this._size(), this._position(n.position), r.show(n.show), this.overlay = n.modal ? new e.ui.dialog.overlay(this) : null, this.moveToTop(!0), t = this.element.find(":tabbable"), t.length || ( t = this.uiDialogButtonPane.find(":tabbable"), t.length || ( t = r)), t.eq(0).focus(), this._isOpen = !0, this._trigger("open"), this
|
4001 |
+
},
|
4002 |
+
_createButtons : function(t) {
|
4003 |
+
var n, r, i = this, s = !1;
|
4004 |
+
this.uiDialogButtonPane.remove(), this.uiButtonSet.empty(), typeof t == "object" && t !== null && e.each(t, function() {
|
4005 |
+
return !( s = !0)
|
4006 |
+
}), s ? (e.each(t, function(t, n) {
|
4007 |
+
n = e.isFunction(n) ? {
|
4008 |
+
click : n,
|
4009 |
+
text : t
|
4010 |
+
} : n;
|
4011 |
+
var r = e("<button type='button'>").attr(n, !0).unbind("click").click(function() {
|
4012 |
+
n.click.apply(i.element[0], arguments)
|
4013 |
+
}).appendTo(i.uiButtonSet);
|
4014 |
+
e.fn.button && r.button()
|
4015 |
+
}), this.uiDialog.addClass("ui-dialog-buttons"), this.uiDialogButtonPane.appendTo(this.uiDialog)) : this.uiDialog.removeClass("ui-dialog-buttons")
|
4016 |
+
},
|
4017 |
+
_makeDraggable : function() {
|
4018 |
+
function r(e) {
|
4019 |
+
return {
|
4020 |
+
position : e.position,
|
4021 |
+
offset : e.offset
|
4022 |
+
}
|
4023 |
+
}
|
4024 |
+
|
4025 |
+
var t = this, n = this.options;
|
4026 |
+
this.uiDialog.draggable({
|
4027 |
+
cancel : ".ui-dialog-content, .ui-dialog-titlebar-close",
|
4028 |
+
handle : ".ui-dialog-titlebar",
|
4029 |
+
containment : "document",
|
4030 |
+
start : function(n, i) {
|
4031 |
+
e(this).addClass("ui-dialog-dragging"), t._trigger("dragStart", n, r(i))
|
4032 |
+
},
|
4033 |
+
drag : function(e, n) {
|
4034 |
+
t._trigger("drag", e, r(n))
|
4035 |
+
},
|
4036 |
+
stop : function(i, s) {
|
4037 |
+
n.position = [s.position.left - t.document.scrollLeft(), s.position.top - t.document.scrollTop()], e(this).removeClass("ui-dialog-dragging"), t._trigger("dragStop", i, r(s)), e.ui.dialog.overlay.resize()
|
4038 |
+
}
|
4039 |
+
})
|
4040 |
+
},
|
4041 |
+
_makeResizable : function(n) {
|
4042 |
+
function u(e) {
|
4043 |
+
return {
|
4044 |
+
originalPosition : e.originalPosition,
|
4045 |
+
originalSize : e.originalSize,
|
4046 |
+
position : e.position,
|
4047 |
+
size : e.size
|
4048 |
+
}
|
4049 |
+
}
|
4050 |
+
|
4051 |
+
n = n === t ? this.options.resizable : n;
|
4052 |
+
var r = this, i = this.options, s = this.uiDialog.css("position"), o = typeof n == "string" ? n : "n,e,s,w,se,sw,ne,nw";
|
4053 |
+
this.uiDialog.resizable({
|
4054 |
+
cancel : ".ui-dialog-content",
|
4055 |
+
containment : "document",
|
4056 |
+
alsoResize : this.element,
|
4057 |
+
maxWidth : i.maxWidth,
|
4058 |
+
maxHeight : i.maxHeight,
|
4059 |
+
minWidth : i.minWidth,
|
4060 |
+
minHeight : this._minHeight(),
|
4061 |
+
handles : o,
|
4062 |
+
start : function(t, n) {
|
4063 |
+
e(this).addClass("ui-dialog-resizing"), r._trigger("resizeStart", t, u(n))
|
4064 |
+
},
|
4065 |
+
resize : function(e, t) {
|
4066 |
+
r._trigger("resize", e, u(t))
|
4067 |
+
},
|
4068 |
+
stop : function(t, n) {
|
4069 |
+
e(this).removeClass("ui-dialog-resizing"), i.height = e(this).height(), i.width = e(this).width(), r._trigger("resizeStop", t, u(n)), e.ui.dialog.overlay.resize()
|
4070 |
+
}
|
4071 |
+
}).css("position", s).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")
|
4072 |
+
},
|
4073 |
+
_minHeight : function() {
|
4074 |
+
var e = this.options;
|
4075 |
+
return e.height === "auto" ? e.minHeight : Math.min(e.minHeight, e.height)
|
4076 |
+
},
|
4077 |
+
_position : function(t) {
|
4078 |
+
var n = [], r = [0, 0], i;
|
4079 |
+
if (t) {
|
4080 |
+
if ( typeof t == "string" || typeof t == "object" && "0" in t)
|
4081 |
+
n = t.split ? t.split(" ") : [t[0], t[1]], n.length === 1 && (n[1] = n[0]), e.each(["left", "top"], function(e, t) {
|
4082 |
+
+n[e] === n[e] && (r[e] = n[e], n[e] = t)
|
4083 |
+
}), t = {
|
4084 |
+
my : n.join(" "),
|
4085 |
+
at : n.join(" "),
|
4086 |
+
offset : r.join(" ")
|
4087 |
+
};
|
4088 |
+
t = e.extend({}, e.ui.dialog.prototype.options.position, t)
|
4089 |
+
} else
|
4090 |
+
t = e.ui.dialog.prototype.options.position;
|
4091 |
+
i = this.uiDialog.is(":visible"), i || this.uiDialog.show(), this.uiDialog.position(t), i || this.uiDialog.hide()
|
4092 |
+
},
|
4093 |
+
_setOptions : function(t) {
|
4094 |
+
var n = this, s = {}, o = !1;
|
4095 |
+
e.each(t, function(e, t) {
|
4096 |
+
n._setOption(e, t), e in r && ( o = !0), e in i && (s[e] = t)
|
4097 |
+
}), o && this._size(), this.uiDialog.is(":data(resizable)") && this.uiDialog.resizable("option", s)
|
4098 |
+
},
|
4099 |
+
_setOption : function(t, r) {
|
4100 |
+
var i, s, o = this.uiDialog;
|
4101 |
+
switch(t) {
|
4102 |
+
case"buttons":
|
4103 |
+
this._createButtons(r);
|
4104 |
+
break;
|
4105 |
+
case"closeText":
|
4106 |
+
this.uiDialogTitlebarCloseText.text("" + r);
|
4107 |
+
break;
|
4108 |
+
case"dialogClass":
|
4109 |
+
o.removeClass(this.options.dialogClass).addClass(n + r);
|
4110 |
+
break;
|
4111 |
+
case"disabled":
|
4112 |
+
r ? o.addClass("ui-dialog-disabled") : o.removeClass("ui-dialog-disabled");
|
4113 |
+
break;
|
4114 |
+
case"draggable":
|
4115 |
+
i = o.is(":data(draggable)"), i && !r && o.draggable("destroy"), !i && r && this._makeDraggable();
|
4116 |
+
break;
|
4117 |
+
case"position":
|
4118 |
+
this._position(r);
|
4119 |
+
break;
|
4120 |
+
case"resizable":
|
4121 |
+
s = o.is(":data(resizable)"), s && !r && o.resizable("destroy"), s && typeof r == "string" && o.resizable("option", "handles", r), !s && r !== !1 && this._makeResizable(r);
|
4122 |
+
break;
|
4123 |
+
case"title":
|
4124 |
+
e(".ui-dialog-title", this.uiDialogTitlebar).html("" + (r || " "))
|
4125 |
+
}
|
4126 |
+
this._super(t, r)
|
4127 |
+
},
|
4128 |
+
_size : function() {
|
4129 |
+
var t, n, r, i = this.options, s = this.uiDialog.is(":visible");
|
4130 |
+
this.element.show().css({
|
4131 |
+
width : "auto",
|
4132 |
+
minHeight : 0,
|
4133 |
+
height : 0
|
4134 |
+
}), i.minWidth > i.width && (i.width = i.minWidth), t = this.uiDialog.css({
|
4135 |
+
height : "auto",
|
4136 |
+
width : i.width
|
4137 |
+
}).outerHeight(), n = Math.max(0, i.minHeight - t), i.height === "auto" ? e.support.minHeight ? this.element.css({
|
4138 |
+
minHeight : n,
|
4139 |
+
height : "auto"
|
4140 |
+
}) : (this.uiDialog.show(), r = this.element.css("height", "auto").height(), s || this.uiDialog.hide(), this.element.height(Math.max(r, n))) : this.element.height(Math.max(i.height - t, 0)), this.uiDialog.is(":data(resizable)") && this.uiDialog.resizable("option", "minHeight", this._minHeight())
|
4141 |
+
}
|
4142 |
+
}), e.extend(e.ui.dialog, {
|
4143 |
+
uuid : 0,
|
4144 |
+
maxZ : 0,
|
4145 |
+
getTitleId : function(e) {
|
4146 |
+
var t = e.attr("id");
|
4147 |
+
return t || (this.uuid += 1, t = this.uuid), "ui-dialog-title-" + t
|
4148 |
+
},
|
4149 |
+
overlay : function(t) {
|
4150 |
+
this.$el = e.ui.dialog.overlay.create(t)
|
4151 |
+
}
|
4152 |
+
}), e.extend(e.ui.dialog.overlay, {
|
4153 |
+
instances : [],
|
4154 |
+
oldInstances : [],
|
4155 |
+
maxZ : 0,
|
4156 |
+
events : e.map("focus,mousedown,mouseup,keydown,keypress,click".split(","), function(e) {
|
4157 |
+
return e + ".dialog-overlay"
|
4158 |
+
}).join(" "),
|
4159 |
+
create : function(t) {
|
4160 |
+
this.instances.length === 0 && (setTimeout(function() {
|
4161 |
+
e.ui.dialog.overlay.instances.length && e(document).bind(e.ui.dialog.overlay.events, function(t) {
|
4162 |
+
if (e(t.target).zIndex() < e.ui.dialog.overlay.maxZ)
|
4163 |
+
return !1
|
4164 |
+
})
|
4165 |
+
}, 1), e(window).bind("resize.dialog-overlay", e.ui.dialog.overlay.resize));
|
4166 |
+
var n = this.oldInstances.pop() || e("<div>").addClass("ui-widget-overlay");
|
4167 |
+
return e(document).bind("keydown.dialog-overlay", function(r) {
|
4168 |
+
var i = e.ui.dialog.overlay.instances;
|
4169 |
+
i.length !== 0 && i[i.length - 1] === n && t.options.closeOnEscape && !r.isDefaultPrevented() && r.keyCode && r.keyCode === e.ui.keyCode.ESCAPE && (t.close(r), r.preventDefault())
|
4170 |
+
}), n.appendTo(document.body).css({
|
4171 |
+
width : this.width(),
|
4172 |
+
height : this.height()
|
4173 |
+
}), e.fn.bgiframe && n.bgiframe(), this.instances.push(n), n
|
4174 |
+
},
|
4175 |
+
destroy : function(t) {
|
4176 |
+
var n = e.inArray(t, this.instances), r = 0;
|
4177 |
+
n !== -1 && this.oldInstances.push(this.instances.splice(n,1)[0]), this.instances.length === 0 && e([document, window]).unbind(".dialog-overlay"), t.height(0).width(0).remove(), e.each(this.instances, function() {
|
4178 |
+
r = Math.max(r, this.css("z-index"))
|
4179 |
+
}), this.maxZ = r
|
4180 |
+
},
|
4181 |
+
height : function() {
|
4182 |
+
var t, n;
|
4183 |
+
return e.browser.msie ? ( t = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight), n = Math.max(document.documentElement.offsetHeight, document.body.offsetHeight), t < n ? e(window).height() + "px" : t + "px") : e(document).height() + "px"
|
4184 |
+
},
|
4185 |
+
width : function() {
|
4186 |
+
var t, n;
|
4187 |
+
return e.browser.msie ? ( t = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth), n = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth), t < n ? e(window).width() + "px" : t + "px") : e(document).width() + "px"
|
4188 |
+
},
|
4189 |
+
resize : function() {
|
4190 |
+
var t = e([]);
|
4191 |
+
e.each(e.ui.dialog.overlay.instances, function() {
|
4192 |
+
t = t.add(this)
|
4193 |
+
}), t.css({
|
4194 |
+
width : 0,
|
4195 |
+
height : 0
|
4196 |
+
}).css({
|
4197 |
+
width : e.ui.dialog.overlay.width(),
|
4198 |
+
height : e.ui.dialog.overlay.height()
|
4199 |
+
})
|
4200 |
+
}
|
4201 |
+
}), e.extend(e.ui.dialog.overlay.prototype, {
|
4202 |
+
destroy : function() {
|
4203 |
+
e.ui.dialog.overlay.destroy(this.$el)
|
4204 |
+
}
|
4205 |
+
})
|
4206 |
+
})(jQuery);
|
4207 |
+
(function(e, t) {
|
4208 |
+
var n = !1;
|
4209 |
+
e.widget("ui.menu", {
|
4210 |
+
version : "1.9.0",
|
4211 |
+
defaultElement : "<ul>",
|
4212 |
+
delay : 300,
|
4213 |
+
options : {
|
4214 |
+
icons : {
|
4215 |
+
submenu : "ui-icon-carat-1-e"
|
4216 |
+
},
|
4217 |
+
menus : "ul",
|
4218 |
+
position : {
|
4219 |
+
my : "left top",
|
4220 |
+
at : "right top"
|
4221 |
+
},
|
4222 |
+
role : "menu",
|
4223 |
+
blur : null,
|
4224 |
+
focus : null,
|
4225 |
+
select : null
|
4226 |
+
},
|
4227 |
+
_create : function() {
|
4228 |
+
this.activeMenu = this.element, this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons", !!this.element.find(".ui-icon").length).attr({
|
4229 |
+
role : this.options.role,
|
4230 |
+
tabIndex : 0
|
4231 |
+
}).bind("click" + this.eventNamespace, e.proxy(function(e) {
|
4232 |
+
this.options.disabled && e.preventDefault()
|
4233 |
+
}, this)), this.options.disabled && this.element.addClass("ui-state-disabled").attr("aria-disabled", "true"), this._on({
|
4234 |
+
"mousedown .ui-menu-item > a" : function(e) {
|
4235 |
+
e.preventDefault()
|
4236 |
+
},
|
4237 |
+
"click .ui-state-disabled > a" : function(e) {
|
4238 |
+
e.preventDefault()
|
4239 |
+
},
|
4240 |
+
"click .ui-menu-item:has(a)" : function(t) {
|
4241 |
+
var r = e(t.target).closest(".ui-menu-item");
|
4242 |
+
!n && r.not(".ui-state-disabled").length && ( n = !0, this.select(t), r.has(".ui-menu").length ? this.expand(t) : this.element.is(":focus") || (this.element.trigger("focus", [!0]), this.active && this.active.parents(".ui-menu").length === 1 && clearTimeout(this.timer)))
|
4243 |
+
},
|
4244 |
+
"mouseenter .ui-menu-item" : function(t) {
|
4245 |
+
var n = e(t.currentTarget);
|
4246 |
+
n.siblings().children(".ui-state-active").removeClass("ui-state-active"), this.focus(t, n)
|
4247 |
+
},
|
4248 |
+
mouseleave : "collapseAll",
|
4249 |
+
"mouseleave .ui-menu" : "collapseAll",
|
4250 |
+
focus : function(e, t) {
|
4251 |
+
var n = this.active || this.element.children(".ui-menu-item").eq(0);
|
4252 |
+
t || this.focus(e, n)
|
4253 |
+
},
|
4254 |
+
blur : function(t) {
|
4255 |
+
this._delay(function() {
|
4256 |
+
e.contains(this.element[0], this.document[0].activeElement) || this.collapseAll(t)
|
4257 |
+
})
|
4258 |
+
},
|
4259 |
+
keydown : "_keydown"
|
4260 |
+
}), this.refresh(), this._on(this.document, {
|
4261 |
+
click : function(t) {
|
4262 |
+
e(t.target).closest(".ui-menu").length || this.collapseAll(t), n = !1
|
4263 |
+
}
|
4264 |
+
})
|
4265 |
+
},
|
4266 |
+
_destroy : function() {
|
4267 |
+
this.element.removeAttr("aria-activedescendant").find(".ui-menu").andSelf().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(), this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function() {
|
4268 |
+
var t = e(this);
|
4269 |
+
t.data("ui-menu-submenu-carat") && t.remove()
|
4270 |
+
}), this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")
|
4271 |
+
},
|
4272 |
+
_keydown : function(t) {
|
4273 |
+
function a(e) {
|
4274 |
+
return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
|
4275 |
+
}
|
4276 |
+
|
4277 |
+
var n, r, i, s, o, u = !0;
|
4278 |
+
switch(t.keyCode) {
|
4279 |
+
case e.ui.keyCode.PAGE_UP:
|
4280 |
+
this.previousPage(t);
|
4281 |
+
break;
|
4282 |
+
case e.ui.keyCode.PAGE_DOWN:
|
4283 |
+
this.nextPage(t);
|
4284 |
+
break;
|
4285 |
+
case e.ui.keyCode.HOME:
|
4286 |
+
this._move("first", "first", t);
|
4287 |
+
break;
|
4288 |
+
case e.ui.keyCode.END:
|
4289 |
+
this._move("last", "last", t);
|
4290 |
+
break;
|
4291 |
+
case e.ui.keyCode.UP:
|
4292 |
+
this.previous(t);
|
4293 |
+
break;
|
4294 |
+
case e.ui.keyCode.DOWN:
|
4295 |
+
this.next(t);
|
4296 |
+
break;
|
4297 |
+
case e.ui.keyCode.LEFT:
|
4298 |
+
this.collapse(t);
|
4299 |
+
break;
|
4300 |
+
case e.ui.keyCode.RIGHT:
|
4301 |
+
this.active && !this.active.is(".ui-state-disabled") && this.expand(t);
|
4302 |
+
break;
|
4303 |
+
case e.ui.keyCode.ENTER:
|
4304 |
+
case e.ui.keyCode.SPACE:
|
4305 |
+
this._activate(t);
|
4306 |
+
break;
|
4307 |
+
case e.ui.keyCode.ESCAPE:
|
4308 |
+
this.collapse(t);
|
4309 |
+
break;
|
4310 |
+
default:
|
4311 |
+
u = !1, r = this.previousFilter || "", i = String.fromCharCode(t.keyCode), s = !1, clearTimeout(this.filterTimer), i === r ? s = !0 : i = r + i, o = new RegExp("^" + a(i), "i"), n = this.activeMenu.children(".ui-menu-item").filter(function() {
|
4312 |
+
return o.test(e(this).children("a").text())
|
4313 |
+
}), n = s && n.index(this.active.next()) !== -1 ? this.active.nextAll(".ui-menu-item") : n, n.length || ( i = String.fromCharCode(t.keyCode), o = new RegExp("^" + a(i), "i"), n = this.activeMenu.children(".ui-menu-item").filter(function() {
|
4314 |
+
return o.test(e(this).children("a").text())
|
4315 |
+
})), n.length ? (this.focus(t, n), n.length > 1 ? (this.previousFilter = i, this.filterTimer = this._delay(function() {
|
4316 |
+
delete this.previousFilter
|
4317 |
+
}, 1e3)) :
|
4318 |
+
delete this.previousFilter) :
|
4319 |
+
delete this.previousFilter
|
4320 |
+
}
|
4321 |
+
u && t.preventDefault()
|
4322 |
+
},
|
4323 |
+
_activate : function(e) {
|
4324 |
+
this.active.is(".ui-state-disabled") || (this.active.children("a[aria-haspopup='true']").length ? this.expand(e) : this.select(e))
|
4325 |
+
},
|
4326 |
+
refresh : function() {
|
4327 |
+
var t, n = this.options.icons.submenu, r = this.element.find(this.options.menus + ":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({
|
4328 |
+
role : this.options.role,
|
4329 |
+
"aria-hidden" : "true",
|
4330 |
+
"aria-expanded" : "false"
|
4331 |
+
});
|
4332 |
+
t = r.add(this.element), t.children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role", "presentation").children("a").uniqueId().addClass("ui-corner-all").attr({
|
4333 |
+
tabIndex : -1,
|
4334 |
+
role : this._itemRole()
|
4335 |
+
}), t.children(":not(.ui-menu-item)").each(function() {
|
4336 |
+
var t = e(this);
|
4337 |
+
/[^\-—–\s]/.test(t.text()) || t.addClass("ui-widget-content ui-menu-divider")
|
4338 |
+
}), t.children(".ui-state-disabled").attr("aria-disabled", "true"), r.each(function() {
|
4339 |
+
var t = e(this), r = t.prev("a"), i = e("<span>").addClass("ui-menu-icon ui-icon " + n).data("ui-menu-submenu-carat", !0);
|
4340 |
+
r.attr("aria-haspopup", "true").prepend(i), t.attr("aria-labelledby", r.attr("id"))
|
4341 |
+
}), this.active && !e.contains(this.element[0], this.active[0]) && this.blur()
|
4342 |
+
},
|
4343 |
+
_itemRole : function() {
|
4344 |
+
return {menu:"menuitem",listbox:"option"}[this.options.role]
|
4345 |
+
},
|
4346 |
+
focus : function(e, t) {
|
4347 |
+
var n, r;
|
4348 |
+
this.blur(e, e && e.type === "focus"), this._scrollIntoView(t), this.active = t.first(), r = this.active.children("a").addClass("ui-state-focus"), this.options.role && this.element.attr("aria-activedescendant", r.attr("id")), this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"), e && e.type === "keydown" ? this._close() : this.timer = this._delay(function() {
|
4349 |
+
this._close()
|
4350 |
+
}, this.delay), n = t.children(".ui-menu"), n.length && /^mouse/.test(e.type) && this._startOpening(n), this.activeMenu = t.parent(), this._trigger("focus", e, {
|
4351 |
+
item : t
|
4352 |
+
})
|
4353 |
+
},
|
4354 |
+
_scrollIntoView : function(t) {
|
4355 |
+
var n, r, i, s, o, u;
|
4356 |
+
this._hasScroll() && ( n = parseFloat(e.css(this.activeMenu[0], "borderTopWidth")) || 0, r = parseFloat(e.css(this.activeMenu[0], "paddingTop")) || 0, i = t.offset().top - this.activeMenu.offset().top - n - r, s = this.activeMenu.scrollTop(), o = this.activeMenu.height(), u = t.height(), i < 0 ? this.activeMenu.scrollTop(s + i) : i + u > o && this.activeMenu.scrollTop(s + i - o + u))
|
4357 |
+
},
|
4358 |
+
blur : function(e, t) {
|
4359 |
+
t || clearTimeout(this.timer);
|
4360 |
+
if (!this.active)
|
4361 |
+
return;
|
4362 |
+
this.active.children("a").removeClass("ui-state-focus"), this.active = null, this._trigger("blur", e, {
|
4363 |
+
item : this.active
|
4364 |
+
})
|
4365 |
+
},
|
4366 |
+
_startOpening : function(e) {
|
4367 |
+
clearTimeout(this.timer);
|
4368 |
+
if (e.attr("aria-hidden") !== "true")
|
4369 |
+
return;
|
4370 |
+
this.timer = this._delay(function() {
|
4371 |
+
this._close(), this._open(e)
|
4372 |
+
}, this.delay)
|
4373 |
+
},
|
4374 |
+
_open : function(t) {
|
4375 |
+
var n = e.extend({
|
4376 |
+
of : this.active
|
4377 |
+
}, this.options.position);
|
4378 |
+
clearTimeout(this.timer), this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden", "true"), t.show().removeAttr("aria-hidden").attr("aria-expanded", "true").position(n)
|
4379 |
+
},
|
4380 |
+
collapseAll : function(t, n) {
|
4381 |
+
clearTimeout(this.timer), this.timer = this._delay(function() {
|
4382 |
+
var r = n ? this.element : e(t && t.target).closest(this.element.find(".ui-menu"));
|
4383 |
+
r.length || ( r = this.element), this._close(r), this.blur(t), this.activeMenu = r
|
4384 |
+
}, this.delay)
|
4385 |
+
},
|
4386 |
+
_close : function(e) {
|
4387 |
+
e || ( e = this.active ? this.active.parent() : this.element), e.find(".ui-menu").hide().attr("aria-hidden", "true").attr("aria-expanded", "false").end().find("a.ui-state-active").removeClass("ui-state-active")
|
4388 |
+
},
|
4389 |
+
collapse : function(e) {
|
4390 |
+
var t = this.active && this.active.parent().closest(".ui-menu-item", this.element);
|
4391 |
+
t && t.length && (this._close(), this.focus(e, t))
|
4392 |
+
},
|
4393 |
+
expand : function(e) {
|
4394 |
+
var t = this.active && this.active.children(".ui-menu ").children(".ui-menu-item").first();
|
4395 |
+
t && t.length && (this._open(t.parent()), this._delay(function() {
|
4396 |
+
this.focus(e, t)
|
4397 |
+
}))
|
4398 |
+
},
|
4399 |
+
next : function(e) {
|
4400 |
+
this._move("next", "first", e)
|
4401 |
+
},
|
4402 |
+
previous : function(e) {
|
4403 |
+
this._move("prev", "last", e)
|
4404 |
+
},
|
4405 |
+
isFirstItem : function() {
|
4406 |
+
return this.active && !this.active.prevAll(".ui-menu-item").length
|
4407 |
+
},
|
4408 |
+
isLastItem : function() {
|
4409 |
+
return this.active && !this.active.nextAll(".ui-menu-item").length
|
4410 |
+
},
|
4411 |
+
_move : function(e, t, n) {
|
4412 |
+
var r;
|
4413 |
+
this.active && (e === "first" || e === "last" ? r = this.active[e==="first"?"prevAll":"nextAll"](".ui-menu-item").eq(-1) : r = this.active[e+"All"](".ui-menu-item").eq(0));
|
4414 |
+
if (!r || !r.length || !this.active)
|
4415 |
+
r = this.activeMenu.children(".ui-menu-item")[t]();
|
4416 |
+
this.focus(n, r)
|
4417 |
+
},
|
4418 |
+
nextPage : function(t) {
|
4419 |
+
var n, r, i;
|
4420 |
+
if (!this.active) {
|
4421 |
+
this.next(t);
|
4422 |
+
return
|
4423 |
+
}
|
4424 |
+
if (this.isLastItem())
|
4425 |
+
return;
|
4426 |
+
this._hasScroll() ? ( r = this.active.offset().top, i = this.element.height(), this.active.nextAll(".ui-menu-item").each(function() {
|
4427 |
+
return n = e(this), n.offset().top - r - i < 0
|
4428 |
+
}), this.focus(t, n)) : this.focus(t, this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())
|
4429 |
+
},
|
4430 |
+
previousPage : function(t) {
|
4431 |
+
var n, r, i;
|
4432 |
+
if (!this.active) {
|
4433 |
+
this.next(t);
|
4434 |
+
return
|
4435 |
+
}
|
4436 |
+
if (this.isFirstItem())
|
4437 |
+
return;
|
4438 |
+
this._hasScroll() ? ( r = this.active.offset().top, i = this.element.height(), this.active.prevAll(".ui-menu-item").each(function() {
|
4439 |
+
return n = e(this), n.offset().top - r + i > 0
|
4440 |
+
}), this.focus(t, n)) : this.focus(t, this.activeMenu.children(".ui-menu-item").first())
|
4441 |
+
},
|
4442 |
+
_hasScroll : function() {
|
4443 |
+
return this.element.outerHeight() < this.element.prop("scrollHeight")
|
4444 |
+
},
|
4445 |
+
select : function(t) {
|
4446 |
+
this.active = this.active || e(t.target).closest(".ui-menu-item");
|
4447 |
+
var n = {
|
4448 |
+
item : this.active
|
4449 |
+
};
|
4450 |
+
this.active.has(".ui-menu").length || this.collapseAll(t, !0), this._trigger("select", t, n)
|
4451 |
+
}
|
4452 |
+
})
|
4453 |
+
})(jQuery);
|
4454 |
+
(function(e, t) {
|
4455 |
+
e.widget("ui.progressbar", {
|
4456 |
+
version : "1.9.0",
|
4457 |
+
options : {
|
4458 |
+
value : 0,
|
4459 |
+
max : 100
|
4460 |
+
},
|
4461 |
+
min : 0,
|
4462 |
+
_create : function() {
|
4463 |
+
this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({
|
4464 |
+
role : "progressbar",
|
4465 |
+
"aria-valuemin" : this.min,
|
4466 |
+
"aria-valuemax" : this.options.max,
|
4467 |
+
"aria-valuenow" : this._value()
|
4468 |
+
}), this.valueDiv = e("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element), this.oldValue = this._value(), this._refreshValue()
|
4469 |
+
},
|
4470 |
+
_destroy : function() {
|
4471 |
+
this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.valueDiv.remove()
|
4472 |
+
},
|
4473 |
+
value : function(e) {
|
4474 |
+
return e === t ? this._value() : (this._setOption("value", e), this)
|
4475 |
+
},
|
4476 |
+
_setOption : function(e, t) {
|
4477 |
+
e === "value" && (this.options.value = t, this._refreshValue(), this._value() === this.options.max && this._trigger("complete")), this._super(e, t)
|
4478 |
+
},
|
4479 |
+
_value : function() {
|
4480 |
+
var e = this.options.value;
|
4481 |
+
return typeof e != "number" && ( e = 0), Math.min(this.options.max, Math.max(this.min, e))
|
4482 |
+
},
|
4483 |
+
_percentage : function() {
|
4484 |
+
return 100 * this._value() / this.options.max
|
4485 |
+
},
|
4486 |
+
_refreshValue : function() {
|
4487 |
+
var e = this.value(), t = this._percentage();
|
4488 |
+
this.oldValue !== e && (this.oldValue = e, this._trigger("change")), this.valueDiv.toggle(e > this.min).toggleClass("ui-corner-right", e === this.options.max).width(t.toFixed(0) + "%"), this.element.attr("aria-valuenow", e)
|
4489 |
+
}
|
4490 |
+
})
|
4491 |
+
})(jQuery);
|
4492 |
+
(function(e, t) {
|
4493 |
+
var n = 5;
|
4494 |
+
e.widget("ui.slider", e.ui.mouse, {
|
4495 |
+
version : "1.9.0",
|
4496 |
+
widgetEventPrefix : "slide",
|
4497 |
+
options : {
|
4498 |
+
animate : !1,
|
4499 |
+
distance : 0,
|
4500 |
+
max : 100,
|
4501 |
+
min : 0,
|
4502 |
+
orientation : "horizontal",
|
4503 |
+
range : !1,
|
4504 |
+
step : 1,
|
4505 |
+
value : 0,
|
4506 |
+
values : null
|
4507 |
+
},
|
4508 |
+
_create : function() {
|
4509 |
+
var t, r = this.options, i = this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"), s = "<a class='ui-slider-handle hovertip ui-state-default ui-corner-all ' data-original-title='' href='#'></a>", o = r.values && r.values.length || 1, u = [];
|
4510 |
+
this._keySliding = !1, this._mouseSliding = !1, this._animateOff = !0, this._handleIndex = null, this._detectOrientation(), this._mouseInit(), this.element.addClass("ui-slider ui-slider-" + this.orientation + " ui-widget" + " ui-widget-content" + " ui-corner-all" + (r.disabled ? " ui-slider-disabled ui-disabled" : "")), this.range = e([]), r.range && (r.range === !0 && (r.values || (r.values = [this._valueMin(), this._valueMin()]), r.values.length && r.values.length !== 2 && (r.values = [r.values[0], r.values[0]])), this.range = e("<div></div>").appendTo(this.element).addClass("ui-slider-range ui-widget-header" + (r.range === "min" || r.range === "max" ? " ui-slider-range-" + r.range : "")));
|
4511 |
+
for ( t = i.length; t < o; t++)
|
4512 |
+
u.push(s);
|
4513 |
+
this.handles = i.add(e(u.join("")).appendTo(this.element)), this.handle = this.handles.eq(0), this.handles.add(this.range).filter("a").click(function(e) {
|
4514 |
+
e.preventDefault()
|
4515 |
+
}).mouseenter(function() {
|
4516 |
+
r.disabled || e(this).addClass("ui-state-hover")
|
4517 |
+
}).mouseleave(function() {
|
4518 |
+
e(this).removeClass("ui-state-hover")
|
4519 |
+
}).focus(function() {
|
4520 |
+
r.disabled ? e(this).blur() : (e(".ui-slider .ui-state-focus").removeClass("ui-state-focus"), e(this).addClass("ui-state-focus"))
|
4521 |
+
}).blur(function() {
|
4522 |
+
e(this).removeClass("ui-state-focus")
|
4523 |
+
}), this.handles.each(function(t) {
|
4524 |
+
e(this).data("ui-slider-handle-index", t)
|
4525 |
+
}), this._on(this.handles, {
|
4526 |
+
keydown : function(t) {
|
4527 |
+
var r, i, s, o, u = e(t.target).data("ui-slider-handle-index");
|
4528 |
+
switch(t.keyCode) {
|
4529 |
+
case e.ui.keyCode.HOME:
|
4530 |
+
case e.ui.keyCode.END:
|
4531 |
+
case e.ui.keyCode.PAGE_UP:
|
4532 |
+
case e.ui.keyCode.PAGE_DOWN:
|
4533 |
+
case e.ui.keyCode.UP:
|
4534 |
+
case e.ui.keyCode.RIGHT:
|
4535 |
+
case e.ui.keyCode.DOWN:
|
4536 |
+
case e.ui.keyCode.LEFT:
|
4537 |
+
t.preventDefault();
|
4538 |
+
if (!this._keySliding) {
|
4539 |
+
this._keySliding = !0, e(t.target).addClass("ui-state-active"), r = this._start(t, u);
|
4540 |
+
if (r === !1)
|
4541 |
+
return
|
4542 |
+
}
|
4543 |
+
}
|
4544 |
+
o = this.options.step, this.options.values && this.options.values.length ? i = s = this.values(u) : i = s = this.value();
|
4545 |
+
switch(t.keyCode) {
|
4546 |
+
case e.ui.keyCode.HOME:
|
4547 |
+
s = this._valueMin();
|
4548 |
+
break;
|
4549 |
+
case e.ui.keyCode.END:
|
4550 |
+
s = this._valueMax();
|
4551 |
+
break;
|
4552 |
+
case e.ui.keyCode.PAGE_UP:
|
4553 |
+
s = this._trimAlignValue(i + (this._valueMax() - this._valueMin()) / n);
|
4554 |
+
break;
|
4555 |
+
case e.ui.keyCode.PAGE_DOWN:
|
4556 |
+
s = this._trimAlignValue(i - (this._valueMax() - this._valueMin()) / n);
|
4557 |
+
break;
|
4558 |
+
case e.ui.keyCode.UP:
|
4559 |
+
case e.ui.keyCode.RIGHT:
|
4560 |
+
if (i === this._valueMax())
|
4561 |
+
return;
|
4562 |
+
s = this._trimAlignValue(i + o);
|
4563 |
+
break;
|
4564 |
+
case e.ui.keyCode.DOWN:
|
4565 |
+
case e.ui.keyCode.LEFT:
|
4566 |
+
if (i === this._valueMin())
|
4567 |
+
return;
|
4568 |
+
s = this._trimAlignValue(i - o)
|
4569 |
+
}
|
4570 |
+
this._slide(t, u, s)
|
4571 |
+
},
|
4572 |
+
keyup : function(t) {
|
4573 |
+
var n = e(t.target).data("ui-slider-handle-index");
|
4574 |
+
this._keySliding && (this._keySliding = !1, this._stop(t, n), this._change(t, n), e(t.target).removeClass("ui-state-active"))
|
4575 |
+
}
|
4576 |
+
}), this._refreshValue(), this._animateOff = !1
|
4577 |
+
},
|
4578 |
+
_destroy : function() {
|
4579 |
+
this.handles.remove(), this.range.remove(), this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all"), this._mouseDestroy()
|
4580 |
+
},
|
4581 |
+
_mouseCapture : function(t) {
|
4582 |
+
var n, r, i, s, o, u, a, f, l = this, c = this.options;
|
4583 |
+
return c.disabled ? !1 : (this.elementSize = {
|
4584 |
+
width : this.element.outerWidth(),
|
4585 |
+
height : this.element.outerHeight()
|
4586 |
+
}, this.elementOffset = this.element.offset(), n = {
|
4587 |
+
x : t.pageX,
|
4588 |
+
y : t.pageY
|
4589 |
+
}, r = this._normValueFromMouse(n), i = this._valueMax() - this._valueMin() + 1, this.handles.each(function(t) {
|
4590 |
+
var n = Math.abs(r - l.values(t));
|
4591 |
+
i > n && ( i = n, s = e(this), o = t)
|
4592 |
+
}), c.range === !0 && this.values(1) === c.min && (o += 1, s = e(this.handles[o])), u = this._start(t, o), u === !1 ? !1 : (this._mouseSliding = !0, this._handleIndex = o, s.addClass("ui-state-active").focus(), a = s.offset(), f = !e(t.target).parents().andSelf().is(".ui-slider-handle"), this._clickOffset = f ? {
|
4593 |
+
left : 0,
|
4594 |
+
top : 0
|
4595 |
+
} : {
|
4596 |
+
left : t.pageX - a.left - s.width() / 2,
|
4597 |
+
top : t.pageY - a.top - s.height() / 2 - (parseInt(s.css("borderTopWidth"), 10) || 0) - (parseInt(s.css("borderBottomWidth"), 10) || 0) + (parseInt(s.css("marginTop"), 10) || 0)
|
4598 |
+
}, this.handles.hasClass("ui-state-hover") || this._slide(t, o, r), this._animateOff = !0, !0))
|
4599 |
+
},
|
4600 |
+
_mouseStart : function(e) {
|
4601 |
+
return !0
|
4602 |
+
},
|
4603 |
+
_mouseDrag : function(e) {
|
4604 |
+
var t = {
|
4605 |
+
x : e.pageX,
|
4606 |
+
y : e.pageY
|
4607 |
+
}, n = this._normValueFromMouse(t);
|
4608 |
+
return this._slide(e, this._handleIndex, n), !1
|
4609 |
+
},
|
4610 |
+
_mouseStop : function(e) {
|
4611 |
+
return this.handles.removeClass("ui-state-active"), this._mouseSliding = !1, this._stop(e, this._handleIndex), this._change(e, this._handleIndex), this._handleIndex = null, this._clickOffset = null, this._animateOff = !1, !1
|
4612 |
+
},
|
4613 |
+
_detectOrientation : function() {
|
4614 |
+
this.orientation = this.options.orientation === "vertical" ? "vertical" : "horizontal"
|
4615 |
+
},
|
4616 |
+
_normValueFromMouse : function(e) {
|
4617 |
+
var t, n, r, i, s;
|
4618 |
+
return this.orientation === "horizontal" ? ( t = this.elementSize.width, n = e.x - this.elementOffset.left - (this._clickOffset ? this._clickOffset.left : 0)) : ( t = this.elementSize.height, n = e.y - this.elementOffset.top - (this._clickOffset ? this._clickOffset.top : 0)), r = n / t, r > 1 && ( r = 1), r < 0 && ( r = 0), this.orientation === "vertical" && ( r = 1 - r), i = this._valueMax() - this._valueMin(), s = this._valueMin() + r * i, this._trimAlignValue(s)
|
4619 |
+
},
|
4620 |
+
_start : function(e, t) {
|
4621 |
+
var n = {
|
4622 |
+
handle : this.handles[t],
|
4623 |
+
value : this.value()
|
4624 |
+
};
|
4625 |
+
return this.options.values && this.options.values.length && (n.value = this.values(t), n.values = this.values()), this._trigger("start", e, n)
|
4626 |
+
},
|
4627 |
+
_slide : function(e, t, n) {
|
4628 |
+
var r, i, s;
|
4629 |
+
this.options.values && this.options.values.length ? ( r = this.values( t ? 0 : 1), this.options.values.length === 2 && this.options.range === !0 && (t === 0 && n > r || t === 1 && n < r) && ( n = r), n !== this.values(t) && ( i = this.values(), i[t] = n, s = this._trigger("slide", e, {
|
4630 |
+
handle : this.handles[t],
|
4631 |
+
value : n,
|
4632 |
+
values : i
|
4633 |
+
}), r = this.values( t ? 0 : 1), s !== !1 && this.values(t, n, !0))) : n !== this.value() && ( s = this._trigger("slide", e, {
|
4634 |
+
handle : this.handles[t],
|
4635 |
+
value : n
|
4636 |
+
}), s !== !1 && this.value(n))
|
4637 |
+
},
|
4638 |
+
_stop : function(e, t) {
|
4639 |
+
var n = {
|
4640 |
+
handle : this.handles[t],
|
4641 |
+
value : this.value()
|
4642 |
+
};
|
4643 |
+
this.options.values && this.options.values.length && (n.value = this.values(t), n.values = this.values()), this._trigger("stop", e, n)
|
4644 |
+
},
|
4645 |
+
_change : function(e, t) {
|
4646 |
+
if (!this._keySliding && !this._mouseSliding) {
|
4647 |
+
var n = {
|
4648 |
+
handle : this.handles[t],
|
4649 |
+
value : this.value()
|
4650 |
+
};
|
4651 |
+
this.options.values && this.options.values.length && (n.value = this.values(t), n.values = this.values()), this._trigger("change", e, n)
|
4652 |
+
}
|
4653 |
+
},
|
4654 |
+
value : function(e) {
|
4655 |
+
if (arguments.length) {
|
4656 |
+
this.options.value = this._trimAlignValue(e), this._refreshValue(), this._change(null, 0);
|
4657 |
+
return
|
4658 |
+
}
|
4659 |
+
return this._value()
|
4660 |
+
},
|
4661 |
+
values : function(t, n) {
|
4662 |
+
var r, i, s;
|
4663 |
+
if (arguments.length > 1) {
|
4664 |
+
this.options.values[t] = this._trimAlignValue(n), this._refreshValue(), this._change(null, t);
|
4665 |
+
return
|
4666 |
+
}
|
4667 |
+
if (!arguments.length)
|
4668 |
+
return this._values();
|
4669 |
+
if (!e.isArray(arguments[0]))
|
4670 |
+
return this.options.values && this.options.values.length ? this._values(t) : this.value();
|
4671 |
+
r = this.options.values, i = arguments[0];
|
4672 |
+
for ( s = 0; s < r.length; s += 1)
|
4673 |
+
r[s] = this._trimAlignValue(i[s]), this._change(null, s);
|
4674 |
+
this._refreshValue()
|
4675 |
+
},
|
4676 |
+
_setOption : function(t, n) {
|
4677 |
+
var r, i = 0;
|
4678 |
+
e.isArray(this.options.values) && ( i = this.options.values.length), e.Widget.prototype._setOption.apply(this, arguments);
|
4679 |
+
switch(t) {
|
4680 |
+
case"disabled":
|
4681 |
+
n ? (this.handles.filter(".ui-state-focus").blur(), this.handles.removeClass("ui-state-hover"), this.handles.prop("disabled", !0), this.element.addClass("ui-disabled")) : (this.handles.prop("disabled", !1), this.element.removeClass("ui-disabled"));
|
4682 |
+
break;
|
4683 |
+
case"orientation":
|
4684 |
+
this._detectOrientation(), this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-" + this.orientation), this._refreshValue();
|
4685 |
+
break;
|
4686 |
+
case"value":
|
4687 |
+
this._animateOff = !0, this._refreshValue(), this._change(null, 0), this._animateOff = !1;
|
4688 |
+
break;
|
4689 |
+
case"values":
|
4690 |
+
this._animateOff = !0, this._refreshValue();
|
4691 |
+
for ( r = 0; r < i; r += 1)
|
4692 |
+
this._change(null, r);
|
4693 |
+
this._animateOff = !1
|
4694 |
+
}
|
4695 |
+
},
|
4696 |
+
_value : function() {
|
4697 |
+
var e = this.options.value;
|
4698 |
+
return e = this._trimAlignValue(e), e
|
4699 |
+
},
|
4700 |
+
_values : function(e) {
|
4701 |
+
var t, n, r;
|
4702 |
+
if (arguments.length)
|
4703 |
+
return t = this.options.values[e], t = this._trimAlignValue(t), t;
|
4704 |
+
n = this.options.values.slice();
|
4705 |
+
for ( r = 0; r < n.length; r += 1)
|
4706 |
+
n[r] = this._trimAlignValue(n[r]);
|
4707 |
+
return n
|
4708 |
+
},
|
4709 |
+
_trimAlignValue : function(e) {
|
4710 |
+
if (e <= this._valueMin())
|
4711 |
+
return this._valueMin();
|
4712 |
+
if (e >= this._valueMax())
|
4713 |
+
return this._valueMax();
|
4714 |
+
var t = this.options.step > 0 ? this.options.step : 1, n = (e - this._valueMin()) % t, r = e - n;
|
4715 |
+
return Math.abs(n) * 2 >= t && (r += n > 0 ? t : -t), parseFloat(r.toFixed(5))
|
4716 |
+
},
|
4717 |
+
_valueMin : function() {
|
4718 |
+
return this.options.min
|
4719 |
+
},
|
4720 |
+
_valueMax : function() {
|
4721 |
+
return this.options.max
|
4722 |
+
},
|
4723 |
+
_refreshValue : function() {
|
4724 |
+
var t, n, r, i, s, o = this.options.range, u = this.options, a = this, f = this._animateOff ? !1 : u.animate, l = {};
|
4725 |
+
this.options.values && this.options.values.length ? this.handles.each(function(r, i) {
|
4726 |
+
n = (a.values(r) - a._valueMin()) / (a._valueMax() - a._valueMin()) * 100, l[a.orientation === "horizontal" ? "left" : "bottom"] = n + "%", e(this).stop(1,1)[f?"animate":"css"](l, u.animate), a.options.range === !0 && (a.orientation === "horizontal" ? (r === 0 && a.range.stop(1,1)[f?"animate":"css"]({
|
4727 |
+
left : n + "%"
|
4728 |
+
}, u.animate), r === 1 && a.range[f?"animate":"css"]({
|
4729 |
+
width : n - t + "%"
|
4730 |
+
}, {
|
4731 |
+
queue : !1,
|
4732 |
+
duration : u.animate
|
4733 |
+
})) : (r === 0 && a.range.stop(1,1)[f?"animate":"css"]({
|
4734 |
+
bottom : n + "%"
|
4735 |
+
}, u.animate), r === 1 && a.range[f?"animate":"css"]({
|
4736 |
+
height : n - t + "%"
|
4737 |
+
}, {
|
4738 |
+
queue : !1,
|
4739 |
+
duration : u.animate
|
4740 |
+
}))), t = n
|
4741 |
+
}) : ( r = this.value(), i = this._valueMin(), s = this._valueMax(), n = s !== i ? (r - i) / (s - i) * 100 : 0, l[this.orientation === "horizontal" ? "left" : "bottom"] = n + "%", this.handle.stop(1,1)[f?"animate":"css"](l, u.animate), o === "min" && this.orientation === "horizontal" && this.range.stop(1,1)[f?"animate":"css"]({
|
4742 |
+
width : n + "%"
|
4743 |
+
}, u.animate), o === "max" && this.orientation === "horizontal" && this.range[f?"animate":"css"]({
|
4744 |
+
width : 100 - n + "%"
|
4745 |
+
}, {
|
4746 |
+
queue : !1,
|
4747 |
+
duration : u.animate
|
4748 |
+
}), o === "min" && this.orientation === "vertical" && this.range.stop(1,1)[f?"animate":"css"]({
|
4749 |
+
height : n + "%"
|
4750 |
+
}, u.animate), o === "max" && this.orientation === "vertical" && this.range[f?"animate":"css"]({
|
4751 |
+
height : 100 - n + "%"
|
4752 |
+
}, {
|
4753 |
+
queue : !1,
|
4754 |
+
duration : u.animate
|
4755 |
+
}))
|
4756 |
+
}
|
4757 |
+
})
|
4758 |
+
})(jQuery);
|
4759 |
+
(function(e) {
|
4760 |
+
function t(e) {
|
4761 |
+
return function() {
|
4762 |
+
var t = this.element.val();
|
4763 |
+
e.apply(this, arguments), this._refresh(), t !== this.element.val() && this._trigger("change")
|
4764 |
+
}
|
4765 |
+
}
|
4766 |
+
e.widget("ui.spinner", {
|
4767 |
+
version : "1.9.0",
|
4768 |
+
defaultElement : "<input>",
|
4769 |
+
widgetEventPrefix : "spin",
|
4770 |
+
options : {
|
4771 |
+
culture : null,
|
4772 |
+
icons : {
|
4773 |
+
down : "ui-icon-triangle-1-s",
|
4774 |
+
up : "ui-icon-triangle-1-n"
|
4775 |
+
},
|
4776 |
+
incremental : !0,
|
4777 |
+
max : null,
|
4778 |
+
min : null,
|
4779 |
+
numberFormat : null,
|
4780 |
+
page : 10,
|
4781 |
+
step : 1,
|
4782 |
+
change : null,
|
4783 |
+
spin : null,
|
4784 |
+
start : null,
|
4785 |
+
stop : null
|
4786 |
+
},
|
4787 |
+
_create : function() {
|
4788 |
+
this._setOption("max", this.options.max), this._setOption("min", this.options.min), this._setOption("step", this.options.step), this._value(this.element.val(), !0), this._draw(), this._on(this._events), this._refresh(), this._on(this.window, {
|
4789 |
+
beforeunload : function() {
|
4790 |
+
this.element.removeAttr("autocomplete")
|
4791 |
+
}
|
4792 |
+
})
|
4793 |
+
},
|
4794 |
+
_getCreateOptions : function() {
|
4795 |
+
var t = {}, n = this.element;
|
4796 |
+
return e.each(["min", "max", "step"], function(e, r) {
|
4797 |
+
var i = n.attr(r);
|
4798 |
+
i !== undefined && i.length && (t[r] = i)
|
4799 |
+
}), t
|
4800 |
+
},
|
4801 |
+
_events : {
|
4802 |
+
keydown : function(e) {
|
4803 |
+
this._start(e) && this._keydown(e) && e.preventDefault()
|
4804 |
+
},
|
4805 |
+
keyup : "_stop",
|
4806 |
+
focus : function() {
|
4807 |
+
this.uiSpinner.addClass("ui-state-active"), this.previous = this.element.val()
|
4808 |
+
},
|
4809 |
+
blur : function(e) {
|
4810 |
+
if (this.cancelBlur) {
|
4811 |
+
delete this.cancelBlur;
|
4812 |
+
return
|
4813 |
+
}
|
4814 |
+
this._refresh(), this.uiSpinner.removeClass("ui-state-active"), this.previous !== this.element.val() && this._trigger("change", e)
|
4815 |
+
},
|
4816 |
+
mousewheel : function(e, t) {
|
4817 |
+
if (!t)
|
4818 |
+
return;
|
4819 |
+
if (!this.spinning && !this._start(e))
|
4820 |
+
return !1;
|
4821 |
+
this._spin((t > 0 ? 1 : -1) * this.options.step, e), clearTimeout(this.mousewheelTimer), this.mousewheelTimer = this._delay(function() {
|
4822 |
+
this.spinning && this._stop(e)
|
4823 |
+
}, 100), e.preventDefault()
|
4824 |
+
},
|
4825 |
+
"mousedown .ui-spinner-button" : function(t) {
|
4826 |
+
function r() {
|
4827 |
+
var e = this.element[0] === this.document[0].activeElement;
|
4828 |
+
e || (this.element.focus(), this.previous = n, this._delay(function() {
|
4829 |
+
this.previous = n
|
4830 |
+
}))
|
4831 |
+
}
|
4832 |
+
|
4833 |
+
var n;
|
4834 |
+
n = this.element[0] === this.document[0].activeElement ? this.previous : this.element.val(), t.preventDefault(), r.call(this), this.cancelBlur = !0, this._delay(function() {
|
4835 |
+
delete this.cancelBlur, r.call(this)
|
4836 |
+
});
|
4837 |
+
if (this._start(t) === !1)
|
4838 |
+
return;
|
4839 |
+
this._repeat(null, e(t.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, t)
|
4840 |
+
},
|
4841 |
+
"mouseup .ui-spinner-button" : "_stop",
|
4842 |
+
"mouseenter .ui-spinner-button" : function(t) {
|
4843 |
+
if (!e(t.currentTarget).hasClass("ui-state-active"))
|
4844 |
+
return;
|
4845 |
+
if (this._start(t) === !1)
|
4846 |
+
return !1;
|
4847 |
+
this._repeat(null, e(t.currentTarget).hasClass("ui-spinner-up") ? 1 : -1, t)
|
4848 |
+
},
|
4849 |
+
"mouseleave .ui-spinner-button" : "_stop"
|
4850 |
+
},
|
4851 |
+
_draw : function() {
|
4852 |
+
var e = this.uiSpinner = this.element.addClass("ui-spinner-input").attr("autocomplete", "off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());
|
4853 |
+
this._hoverable(e), this.element.attr("role", "spinbutton"), this.buttons = e.find(".ui-spinner-button").attr("tabIndex", -1).button().removeClass("ui-corner-all"), this.buttons.height() > Math.ceil(e.height() * .5) && e.height() > 0 && e.height(e.height()), this.options.disabled && this.disable()
|
4854 |
+
},
|
4855 |
+
_keydown : function(t) {
|
4856 |
+
var n = this.options, r = e.ui.keyCode;
|
4857 |
+
switch(t.keyCode) {
|
4858 |
+
case r.UP:
|
4859 |
+
return this._repeat(null, 1, t), !0;
|
4860 |
+
case r.DOWN:
|
4861 |
+
return this._repeat(null, -1, t), !0;
|
4862 |
+
case r.PAGE_UP:
|
4863 |
+
return this._repeat(null, n.page, t), !0;
|
4864 |
+
case r.PAGE_DOWN:
|
4865 |
+
return this._repeat(null, -n.page, t), !0
|
4866 |
+
}
|
4867 |
+
return !1
|
4868 |
+
},
|
4869 |
+
_uiSpinnerHtml : function() {
|
4870 |
+
return "<span class='ui-spinner ui-state-default ui-widget ui-widget-content ui-corner-all'></span>"
|
4871 |
+
},
|
4872 |
+
_buttonHtml : function() {
|
4873 |
+
return "<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon " + this.options.icons.up + "'>▲</span>" + "</a>" + "<a class='ui-spinner-button ui-spinner-down ui-corner-br'>" + "<span class='ui-icon " + this.options.icons.down + "'>▼</span>" + "</a>"
|
4874 |
+
},
|
4875 |
+
_start : function(e) {
|
4876 |
+
return !this.spinning && this._trigger("start", e) === !1 ? !1 : (this.counter || (this.counter = 1), this.spinning = !0, !0)
|
4877 |
+
},
|
4878 |
+
_repeat : function(e, t, n) {
|
4879 |
+
e = e || 500, clearTimeout(this.timer), this.timer = this._delay(function() {
|
4880 |
+
this._repeat(40, t, n)
|
4881 |
+
}, e), this._spin(t * this.options.step, n)
|
4882 |
+
},
|
4883 |
+
_spin : function(e, t) {
|
4884 |
+
var n = this.value() || 0;
|
4885 |
+
this.counter || (this.counter = 1), n = this._adjustValue(n + e * this._increment(this.counter));
|
4886 |
+
if (!this.spinning || this._trigger("spin", t, {
|
4887 |
+
value : n
|
4888 |
+
}) !== !1)
|
4889 |
+
this._value(n), this.counter++
|
4890 |
+
},
|
4891 |
+
_increment : function(t) {
|
4892 |
+
var n = this.options.incremental;
|
4893 |
+
return n ? e.isFunction(n) ? n(t) : Math.floor(t * t * t / 5e4 - t * t / 500 + 17 * t / 200 + 1) : 1
|
4894 |
+
},
|
4895 |
+
_precision : function() {
|
4896 |
+
var e = this._precisionOf(this.options.step);
|
4897 |
+
return this.options.min !== null && ( e = Math.max(e, this._precisionOf(this.options.min))), e
|
4898 |
+
},
|
4899 |
+
_precisionOf : function(e) {
|
4900 |
+
var t = e.toString(), n = t.indexOf(".");
|
4901 |
+
return n === -1 ? 0 : t.length - n - 1
|
4902 |
+
},
|
4903 |
+
_adjustValue : function(e) {
|
4904 |
+
var t, n, r = this.options;
|
4905 |
+
return t = r.min !== null ? r.min : 0, n = e - t, n = Math.round(n / r.step) * r.step, e = t + n, e = parseFloat(e.toFixed(this._precision())), r.max !== null && e > r.max ? r.max : r.min !== null && e < r.min ? r.min : e
|
4906 |
+
},
|
4907 |
+
_stop : function(e) {
|
4908 |
+
if (!this.spinning)
|
4909 |
+
return;
|
4910 |
+
clearTimeout(this.timer), clearTimeout(this.mousewheelTimer), this.counter = 0, this.spinning = !1, this._trigger("stop", e)
|
4911 |
+
},
|
4912 |
+
_setOption : function(e, t) {
|
4913 |
+
if (e === "culture" || e === "numberFormat") {
|
4914 |
+
var n = this._parse(this.element.val());
|
4915 |
+
this.options[e] = t, this.element.val(this._format(n));
|
4916 |
+
return
|
4917 |
+
}
|
4918 |
+
(e === "max" || e === "min" || e === "step") && typeof t == "string" && ( t = this._parse(t)), this._super(e, t), e === "disabled" && ( t ? (this.element.prop("disabled", !0), this.buttons.button("disable")) : (this.element.prop("disabled", !1), this.buttons.button("enable")))
|
4919 |
+
},
|
4920 |
+
_setOptions : t(function(e) {
|
4921 |
+
this._super(e), this._value(this.element.val())
|
4922 |
+
}),
|
4923 |
+
_parse : function(e) {
|
4924 |
+
return typeof e == "string" && e !== "" && ( e = window.Globalize && this.options.numberFormat ? Globalize.parseFloat(e, 10, this.options.culture) : +e), e === "" || isNaN(e) ? null : e
|
4925 |
+
},
|
4926 |
+
_format : function(e) {
|
4927 |
+
return e === "" ? "" : window.Globalize && this.options.numberFormat ? Globalize.format(e, this.options.numberFormat, this.options.culture) : e
|
4928 |
+
},
|
4929 |
+
_refresh : function() {
|
4930 |
+
this.element.attr({
|
4931 |
+
"aria-valuemin" : this.options.min,
|
4932 |
+
"aria-valuemax" : this.options.max,
|
4933 |
+
"aria-valuenow" : this._parse(this.element.val())
|
4934 |
+
})
|
4935 |
+
},
|
4936 |
+
_value : function(e, t) {
|
4937 |
+
var n;
|
4938 |
+
e !== "" && ( n = this._parse(e), n !== null && (t || ( n = this._adjustValue(n)), e = this._format(n))), this.element.val(e), this._refresh()
|
4939 |
+
},
|
4940 |
+
_destroy : function() {
|
4941 |
+
this.element.removeClass("ui-spinner-input").prop("disabled", !1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"), this.uiSpinner.replaceWith(this.element)
|
4942 |
+
},
|
4943 |
+
stepUp : t(function(e) {
|
4944 |
+
this._stepUp(e)
|
4945 |
+
}),
|
4946 |
+
_stepUp : function(e) {
|
4947 |
+
this._spin((e || 1) * this.options.step)
|
4948 |
+
},
|
4949 |
+
stepDown : t(function(e) {
|
4950 |
+
this._stepDown(e)
|
4951 |
+
}),
|
4952 |
+
_stepDown : function(e) {
|
4953 |
+
this._spin((e || 1) * -this.options.step)
|
4954 |
+
},
|
4955 |
+
pageUp : t(function(e) {
|
4956 |
+
this._stepUp((e || 1) * this.options.page)
|
4957 |
+
}),
|
4958 |
+
pageDown : t(function(e) {
|
4959 |
+
this._stepDown((e || 1) * this.options.page)
|
4960 |
+
}),
|
4961 |
+
value : function(e) {
|
4962 |
+
if (!arguments.length)
|
4963 |
+
return this._parse(this.element.val());
|
4964 |
+
t(this._value).call(this, e)
|
4965 |
+
},
|
4966 |
+
widget : function() {
|
4967 |
+
return this.uiSpinner
|
4968 |
+
}
|
4969 |
+
})
|
4970 |
+
})(jQuery);
|
4971 |
+
(function(e, t) {
|
4972 |
+
function i() {
|
4973 |
+
return ++n
|
4974 |
+
}
|
4975 |
+
|
4976 |
+
function s(e) {
|
4977 |
+
return e = e.cloneNode(!1), e.hash.length > 1 && e.href.replace(r, "") === location.href.replace(r, "")
|
4978 |
+
}
|
4979 |
+
|
4980 |
+
var n = 0, r = /#.*$/;
|
4981 |
+
e.widget("ui.tabs", {
|
4982 |
+
version : "1.9.0",
|
4983 |
+
delay : 300,
|
4984 |
+
options : {
|
4985 |
+
active : null,
|
4986 |
+
collapsible : !1,
|
4987 |
+
event : "click",
|
4988 |
+
heightStyle : "content",
|
4989 |
+
hide : null,
|
4990 |
+
show : null,
|
4991 |
+
activate : null,
|
4992 |
+
beforeActivate : null,
|
4993 |
+
beforeLoad : null,
|
4994 |
+
load : null
|
4995 |
+
},
|
4996 |
+
_create : function() {
|
4997 |
+
var t, n = this, r = this.options, i = r.active;
|
4998 |
+
this.running = !1, this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible", r.collapsible).delegate(".ui-tabs-nav > li", "mousedown" + this.eventNamespace, function(t) {
|
4999 |
+
e(this).is(".ui-state-disabled") && t.preventDefault()
|
5000 |
+
}).delegate(".ui-tabs-anchor", "focus" + this.eventNamespace, function() {
|
5001 |
+
e(this).closest("li").is(".ui-state-disabled") && this.blur()
|
5002 |
+
}), this._processTabs();
|
5003 |
+
if (i === null) {
|
5004 |
+
location.hash && this.anchors.each(function(e, t) {
|
5005 |
+
if (t.hash === location.hash)
|
5006 |
+
return i = e, !1
|
5007 |
+
}), i === null && ( i = this.tabs.filter(".ui-tabs-active").index());
|
5008 |
+
if (i === null || i === -1)
|
5009 |
+
i = this.tabs.length ? 0 : !1
|
5010 |
+
}
|
5011 |
+
i !== !1 && ( i = this.tabs.index(this.tabs.eq(i)), i === -1 && ( i = r.collapsible ? !1 : 0)), r.active = i, !r.collapsible && r.active === !1 && this.anchors.length && (r.active = 0), e.isArray(r.disabled) && (r.disabled = e.unique(r.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"), function(e) {
|
5012 |
+
return n.tabs.index(e)
|
5013 |
+
}))).sort()), this.options.active !== !1 && this.anchors.length ? this.active = this._findActive(this.options.active) : this.active = e(), this._refresh(), this.active.length && this.load(r.active)
|
5014 |
+
},
|
5015 |
+
_getCreateEventData : function() {
|
5016 |
+
return {
|
5017 |
+
tab : this.active,
|
5018 |
+
panel : this.active.length ? this._getPanelForTab(this.active) : e()
|
5019 |
+
}
|
5020 |
+
},
|
5021 |
+
_tabKeydown : function(t) {
|
5022 |
+
var n = e(this.document[0].activeElement).closest("li"), r = this.tabs.index(n), i = !0;
|
5023 |
+
if (this._handlePageNav(t))
|
5024 |
+
return;
|
5025 |
+
switch(t.keyCode) {
|
5026 |
+
case e.ui.keyCode.RIGHT:
|
5027 |
+
case e.ui.keyCode.DOWN:
|
5028 |
+
r++;
|
5029 |
+
break;
|
5030 |
+
case e.ui.keyCode.UP:
|
5031 |
+
case e.ui.keyCode.LEFT:
|
5032 |
+
i = !1, r--;
|
5033 |
+
break;
|
5034 |
+
case e.ui.keyCode.END:
|
5035 |
+
r = this.anchors.length - 1;
|
5036 |
+
break;
|
5037 |
+
case e.ui.keyCode.HOME:
|
5038 |
+
r = 0;
|
5039 |
+
break;
|
5040 |
+
case e.ui.keyCode.SPACE:
|
5041 |
+
t.preventDefault(), clearTimeout(this.activating), this._activate(r);
|
5042 |
+
return;
|
5043 |
+
case e.ui.keyCode.ENTER:
|
5044 |
+
t.preventDefault(), clearTimeout(this.activating), this._activate(r === this.options.active ? !1 : r);
|
5045 |
+
return;
|
5046 |
+
default:
|
5047 |
+
return
|
5048 |
+
}
|
5049 |
+
t.preventDefault(), clearTimeout(this.activating), r = this._focusNextTab(r, i), t.ctrlKey || (n.attr("aria-selected", "false"), this.tabs.eq(r).attr("aria-selected", "true"), this.activating = this._delay(function() {
|
5050 |
+
this.option("active", r)
|
5051 |
+
}, this.delay))
|
5052 |
+
},
|
5053 |
+
_panelKeydown : function(t) {
|
5054 |
+
if (this._handlePageNav(t))
|
5055 |
+
return;
|
5056 |
+
t.ctrlKey && t.keyCode === e.ui.keyCode.UP && (t.preventDefault(), this.active.focus())
|
5057 |
+
},
|
5058 |
+
_handlePageNav : function(t) {
|
5059 |
+
if (t.altKey && t.keyCode === e.ui.keyCode.PAGE_UP)
|
5060 |
+
return this._activate(this._focusNextTab(this.options.active - 1, !1)), !0;
|
5061 |
+
if (t.altKey && t.keyCode === e.ui.keyCode.PAGE_DOWN)
|
5062 |
+
return this._activate(this._focusNextTab(this.options.active + 1, !0)), !0
|
5063 |
+
},
|
5064 |
+
_findNextTab : function(t, n) {
|
5065 |
+
function i() {
|
5066 |
+
return t > r && ( t = 0), t < 0 && ( t = r), t
|
5067 |
+
}
|
5068 |
+
|
5069 |
+
var r = this.tabs.length - 1;
|
5070 |
+
while (e.inArray(i(), this.options.disabled) !== -1)
|
5071 |
+
t = n ? t + 1 : t - 1;
|
5072 |
+
return t
|
5073 |
+
},
|
5074 |
+
_focusNextTab : function(e, t) {
|
5075 |
+
return e = this._findNextTab(e, t), this.tabs.eq(e).focus(), e
|
5076 |
+
},
|
5077 |
+
_setOption : function(e, t) {
|
5078 |
+
if (e === "active") {
|
5079 |
+
this._activate(t);
|
5080 |
+
return
|
5081 |
+
}
|
5082 |
+
if (e === "disabled") {
|
5083 |
+
this._setupDisabled(t);
|
5084 |
+
return
|
5085 |
+
}
|
5086 |
+
this._super(e, t), e === "collapsible" && (this.element.toggleClass("ui-tabs-collapsible", t), !t && this.options.active === !1 && this._activate(0)), e === "event" && this._setupEvents(t), e === "heightStyle" && this._setupHeightStyle(t)
|
5087 |
+
},
|
5088 |
+
_tabId : function(e) {
|
5089 |
+
return e.attr("aria-controls") || "ui-tabs-" + i()
|
5090 |
+
},
|
5091 |
+
_sanitizeSelector : function(e) {
|
5092 |
+
return e ? e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g, "\\$&") : ""
|
5093 |
+
},
|
5094 |
+
refresh : function() {
|
5095 |
+
var t, n = this.options, r = this.tablist.children(":has(a[href])");
|
5096 |
+
n.disabled = e.map(r.filter(".ui-state-disabled"), function(e) {
|
5097 |
+
return r.index(e)
|
5098 |
+
}), this._processTabs(), n.active === !1 || !this.anchors.length ? (n.active = !1, this.active = e()) : this.active.length && !e.contains(this.tablist[0], this.active[0]) ? this.tabs.length === n.disabled.length ? (n.active = !1, this.active = e()) : this._activate(this._findNextTab(Math.max(0, n.active - 1), !1)) : n.active = this.tabs.index(this.active), this._refresh()
|
5099 |
+
},
|
5100 |
+
_refresh : function() {
|
5101 |
+
this._setupDisabled(this.options.disabled), this._setupEvents(this.options.event), this._setupHeightStyle(this.options.heightStyle), this.tabs.not(this.active).attr({
|
5102 |
+
"aria-selected" : "false",
|
5103 |
+
tabIndex : -1
|
5104 |
+
}), this.panels.not(this._getPanelForTab(this.active)).hide().attr({
|
5105 |
+
"aria-expanded" : "false",
|
5106 |
+
"aria-hidden" : "true"
|
5107 |
+
}), this.active.length ? (this.active.addClass("ui-tabs-active ui-state-active").attr({
|
5108 |
+
"aria-selected" : "true",
|
5109 |
+
tabIndex : 0
|
5110 |
+
}), this._getPanelForTab(this.active).show().attr({
|
5111 |
+
"aria-expanded" : "true",
|
5112 |
+
"aria-hidden" : "false"
|
5113 |
+
})) : this.tabs.eq(0).attr("tabIndex", 0)
|
5114 |
+
},
|
5115 |
+
_processTabs : function() {
|
5116 |
+
var t = this;
|
5117 |
+
this.tablist = this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role", "tablist"), this.tabs = this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({
|
5118 |
+
role : "tab",
|
5119 |
+
tabIndex : -1
|
5120 |
+
}), this.anchors = this.tabs.map(function() {
|
5121 |
+
return e("a",this)[0]
|
5122 |
+
}).addClass("ui-tabs-anchor").attr({
|
5123 |
+
role : "presentation",
|
5124 |
+
tabIndex : -1
|
5125 |
+
}), this.panels = e(), this.anchors.each(function(n, r) {
|
5126 |
+
var i, o, u, a = e(r).uniqueId().attr("id"), f = e(r).closest("li"), l = f.attr("aria-controls");
|
5127 |
+
s(r) ? ( i = r.hash, o = t.element.find(t._sanitizeSelector(i))) : ( u = t._tabId(f), i = "#" + u, o = t.element.find(i), o.length || ( o = t._createPanel(u), o.insertAfter(t.panels[n - 1] || t.tablist)), o.attr("aria-live", "polite")), o.length && (t.panels = t.panels.add(o)), l && f.data("ui-tabs-aria-controls", l), f.attr({
|
5128 |
+
"aria-controls" : i.substring(1),
|
5129 |
+
"aria-labelledby" : a
|
5130 |
+
}), o.attr("aria-labelledby", a)
|
5131 |
+
}), this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role", "tabpanel")
|
5132 |
+
},
|
5133 |
+
_getList : function() {
|
5134 |
+
return this.element.find("ol,ul").eq(0)
|
5135 |
+
},
|
5136 |
+
_createPanel : function(t) {
|
5137 |
+
return e("<div>").attr("id", t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy", !0)
|
5138 |
+
},
|
5139 |
+
_setupDisabled : function(t) {
|
5140 |
+
e.isArray(t) && (t.length ? t.length === this.anchors.length && ( t = !0) : t = !1);
|
5141 |
+
for (var n = 0, r; r = this.tabs[n]; n++)
|
5142 |
+
t === !0 || e.inArray(n, t) !== -1 ? e(r).addClass("ui-state-disabled").attr("aria-disabled", "true") : e(r).removeClass("ui-state-disabled").removeAttr("aria-disabled");
|
5143 |
+
this.options.disabled = t
|
5144 |
+
},
|
5145 |
+
_setupEvents : function(t) {
|
5146 |
+
var n = {
|
5147 |
+
click : function(e) {
|
5148 |
+
e.preventDefault()
|
5149 |
+
}
|
5150 |
+
};
|
5151 |
+
t && e.each(t.split(" "), function(e, t) {
|
5152 |
+
n[t] = "_eventHandler"
|
5153 |
+
}), this._off(this.anchors.add(this.tabs).add(this.panels)), this._on(this.anchors, n), this._on(this.tabs, {
|
5154 |
+
keydown : "_tabKeydown"
|
5155 |
+
}), this._on(this.panels, {
|
5156 |
+
keydown : "_panelKeydown"
|
5157 |
+
}), this._focusable(this.tabs), this._hoverable(this.tabs)
|
5158 |
+
},
|
5159 |
+
_setupHeightStyle : function(t) {
|
5160 |
+
var n, r, i = this.element.parent();
|
5161 |
+
t === "fill" ? (e.support.minHeight || ( r = i.css("overflow"), i.css("overflow", "hidden")), n = i.height(), this.element.siblings(":visible").each(function() {
|
5162 |
+
var t = e(this), r = t.css("position");
|
5163 |
+
if (r === "absolute" || r === "fixed")
|
5164 |
+
return;
|
5165 |
+
n -= t.outerHeight(!0)
|
5166 |
+
}), r && i.css("overflow", r), this.element.children().not(this.panels).each(function() {
|
5167 |
+
n -= e(this).outerHeight(!0)
|
5168 |
+
}), this.panels.each(function() {
|
5169 |
+
e(this).height(Math.max(0, n - e(this).innerHeight() + e(this).height()))
|
5170 |
+
}).css("overflow", "auto")) : t === "auto" && ( n = 0, this.panels.each(function() {
|
5171 |
+
n = Math.max(n, e(this).height("").height())
|
5172 |
+
}).height(n))
|
5173 |
+
},
|
5174 |
+
_eventHandler : function(t) {
|
5175 |
+
var n = this.options, r = this.active, i = e(t.currentTarget), s = i.closest("li"), o = s[0] === r[0], u = o && n.collapsible, a = u ? e() : this._getPanelForTab(s), f = r.length ? this._getPanelForTab(r) : e(), l = {
|
5176 |
+
oldTab : r,
|
5177 |
+
oldPanel : f,
|
5178 |
+
newTab : u ? e() : s,
|
5179 |
+
newPanel : a
|
5180 |
+
};
|
5181 |
+
t.preventDefault();
|
5182 |
+
if (s.hasClass("ui-state-disabled") || s.hasClass("ui-tabs-loading") || this.running || o && !n.collapsible || this._trigger("beforeActivate", t, l) === !1)
|
5183 |
+
return;
|
5184 |
+
n.active = u ? !1 : this.tabs.index(s), this.active = o ? e() : s, this.xhr && this.xhr.abort(), !f.length && !a.length && e.error("jQuery UI Tabs: Mismatching fragment identifier."), a.length && this.load(this.tabs.index(s), t), this._toggle(t, l)
|
5185 |
+
},
|
5186 |
+
_toggle : function(t, n) {
|
5187 |
+
function o() {
|
5188 |
+
r.running = !1, r._trigger("activate", t, n)
|
5189 |
+
}
|
5190 |
+
|
5191 |
+
function u() {
|
5192 |
+
n.newTab.closest("li").addClass("ui-tabs-active ui-state-active"), i.length && r.options.show ? r._show(i, r.options.show, o) : (i.show(), o())
|
5193 |
+
}
|
5194 |
+
|
5195 |
+
var r = this, i = n.newPanel, s = n.oldPanel;
|
5196 |
+
this.running = !0, s.length && this.options.hide ? this._hide(s, this.options.hide, function() {
|
5197 |
+
n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), u()
|
5198 |
+
}) : (n.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), s.hide(), u()), s.attr({
|
5199 |
+
"aria-expanded" : "false",
|
5200 |
+
"aria-hidden" : "true"
|
5201 |
+
}), n.oldTab.attr("aria-selected", "false"), i.length && s.length ? n.oldTab.attr("tabIndex", -1) : i.length && this.tabs.filter(function() {
|
5202 |
+
return e(this).attr("tabIndex") === 0
|
5203 |
+
}).attr("tabIndex", -1), i.attr({
|
5204 |
+
"aria-expanded" : "true",
|
5205 |
+
"aria-hidden" : "false"
|
5206 |
+
}), n.newTab.attr({
|
5207 |
+
"aria-selected" : "true",
|
5208 |
+
tabIndex : 0
|
5209 |
+
})
|
5210 |
+
},
|
5211 |
+
_activate : function(t) {
|
5212 |
+
var n, r = this._findActive(t);
|
5213 |
+
if (r[0] === this.active[0])
|
5214 |
+
return;
|
5215 |
+
r.length || ( r = this.active), n = r.find(".ui-tabs-anchor")[0], this._eventHandler({
|
5216 |
+
target : n,
|
5217 |
+
currentTarget : n,
|
5218 |
+
preventDefault : e.noop
|
5219 |
+
})
|
5220 |
+
},
|
5221 |
+
_findActive : function(t) {
|
5222 |
+
return t === !1 ? e() : this.tabs.eq(t)
|
5223 |
+
},
|
5224 |
+
_getIndex : function(e) {
|
5225 |
+
return typeof e == "string" && ( e = this.anchors.index(this.anchors.filter("[href$='" + e + "']"))), e
|
5226 |
+
},
|
5227 |
+
_destroy : function() {
|
5228 |
+
this.xhr && this.xhr.abort(), this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"), this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"), this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeData("href.tabs").removeData("load.tabs").removeUniqueId(), this.tabs.add(this.panels).each(function() {
|
5229 |
+
e.data(this, "ui-tabs-destroy") ? e(this).remove() : e(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")
|
5230 |
+
}), this.tabs.each(function() {
|
5231 |
+
var t = e(this), n = t.data("ui-tabs-aria-controls");
|
5232 |
+
n ? t.attr("aria-controls", n) : t.removeAttr("aria-controls")
|
5233 |
+
}), this.options.heightStyle !== "content" && this.panels.css("height", "")
|
5234 |
+
},
|
5235 |
+
enable : function(n) {
|
5236 |
+
var r = this.options.disabled;
|
5237 |
+
if (r === !1)
|
5238 |
+
return;
|
5239 |
+
n === t ? r = !1 : ( n = this._getIndex(n), e.isArray(r) ? r = e.map(r, function(e) {
|
5240 |
+
return e !== n ? e : null
|
5241 |
+
}) : r = e.map(this.tabs, function(e, t) {
|
5242 |
+
return t !== n ? t : null
|
5243 |
+
})), this._setupDisabled(r)
|
5244 |
+
},
|
5245 |
+
disable : function(n) {
|
5246 |
+
var r = this.options.disabled;
|
5247 |
+
if (r === !0)
|
5248 |
+
return;
|
5249 |
+
if (n === t)
|
5250 |
+
r = !0;
|
5251 |
+
else {
|
5252 |
+
n = this._getIndex(n);
|
5253 |
+
if (e.inArray(n, r) !== -1)
|
5254 |
+
return;
|
5255 |
+
e.isArray(r) ? r = e.merge([n], r).sort() : r = [n]
|
5256 |
+
}
|
5257 |
+
this._setupDisabled(r)
|
5258 |
+
},
|
5259 |
+
load : function(t, n) {
|
5260 |
+
t = this._getIndex(t);
|
5261 |
+
var r = this, i = this.tabs.eq(t), o = i.find(".ui-tabs-anchor"), u = this._getPanelForTab(i), a = {
|
5262 |
+
tab : i,
|
5263 |
+
panel : u
|
5264 |
+
};
|
5265 |
+
if (s(o[0]))
|
5266 |
+
return;
|
5267 |
+
this.xhr = e.ajax(this._ajaxSettings(o, n, a)), this.xhr && this.xhr.statusText !== "canceled" && (i.addClass("ui-tabs-loading"), u.attr("aria-busy", "true"), this.xhr.success(function(e) {
|
5268 |
+
setTimeout(function() {
|
5269 |
+
u.html(e), r._trigger("load", n, a)
|
5270 |
+
}, 1)
|
5271 |
+
}).complete(function(e, t) {
|
5272 |
+
setTimeout(function() {
|
5273 |
+
t === "abort" && r.panels.stop(!1, !0), i.removeClass("ui-tabs-loading"), u.removeAttr("aria-busy"), e === r.xhr &&
|
5274 |
+
delete r.xhr
|
5275 |
+
}, 1)
|
5276 |
+
}))
|
5277 |
+
},
|
5278 |
+
_ajaxSettings : function(t, n, r) {
|
5279 |
+
var i = this;
|
5280 |
+
return {
|
5281 |
+
url : t.attr("href"),
|
5282 |
+
beforeSend : function(t, s) {
|
5283 |
+
return i._trigger("beforeLoad", n, e.extend({
|
5284 |
+
jqXHR : t,
|
5285 |
+
ajaxSettings : s
|
5286 |
+
}, r))
|
5287 |
+
}
|
5288 |
+
}
|
5289 |
+
},
|
5290 |
+
_getPanelForTab : function(t) {
|
5291 |
+
var n = e(t).attr("aria-controls");
|
5292 |
+
return this.element.find(this._sanitizeSelector("#" + n))
|
5293 |
+
}
|
5294 |
+
}), e.uiBackCompat !== !1 && (e.ui.tabs.prototype._ui = function(e, t) {
|
5295 |
+
return {
|
5296 |
+
tab : e,
|
5297 |
+
panel : t,
|
5298 |
+
index : this.anchors.index(e)
|
5299 |
+
}
|
5300 |
+
}, e.widget("ui.tabs", e.ui.tabs, {
|
5301 |
+
url : function(e, t) {
|
5302 |
+
this.anchors.eq(e).attr("href", t)
|
5303 |
+
}
|
5304 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5305 |
+
options : {
|
5306 |
+
ajaxOptions : null,
|
5307 |
+
cache : !1
|
5308 |
+
},
|
5309 |
+
_create : function() {
|
5310 |
+
this._super();
|
5311 |
+
var t = this;
|
5312 |
+
this._on({
|
5313 |
+
tabsbeforeload : function(n, r) {
|
5314 |
+
if (e.data(r.tab[0], "cache.tabs")) {
|
5315 |
+
n.preventDefault();
|
5316 |
+
return
|
5317 |
+
}
|
5318 |
+
r.jqXHR.success(function() {
|
5319 |
+
t.options.cache && e.data(r.tab[0], "cache.tabs", !0)
|
5320 |
+
})
|
5321 |
+
}
|
5322 |
+
})
|
5323 |
+
},
|
5324 |
+
_ajaxSettings : function(t, n, r) {
|
5325 |
+
var i = this.options.ajaxOptions;
|
5326 |
+
return e.extend({}, i, {
|
5327 |
+
error : function(e, t, n) {
|
5328 |
+
try {
|
5329 |
+
i.error(e, t, r.tab.closest("li").index(), r.tab[0])
|
5330 |
+
} catch(n) {
|
5331 |
+
}
|
5332 |
+
}
|
5333 |
+
}, this._superApply(arguments))
|
5334 |
+
},
|
5335 |
+
_setOption : function(e, t) {
|
5336 |
+
e === "cache" && t === !1 && this.anchors.removeData("cache.tabs"), this._super(e, t)
|
5337 |
+
},
|
5338 |
+
_destroy : function() {
|
5339 |
+
this.anchors.removeData("cache.tabs"), this._super()
|
5340 |
+
},
|
5341 |
+
url : function(e, t) {
|
5342 |
+
this.anchors.eq(e).removeData("cache.tabs"), this._superApply(arguments)
|
5343 |
+
}
|
5344 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5345 |
+
abort : function() {
|
5346 |
+
this.xhr && this.xhr.abort()
|
5347 |
+
}
|
5348 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5349 |
+
options : {
|
5350 |
+
spinner : "<em>Loading…</em>"
|
5351 |
+
},
|
5352 |
+
_create : function() {
|
5353 |
+
this._super(), this._on({
|
5354 |
+
tabsbeforeload : function(e, t) {
|
5355 |
+
if (e.target !== this.element[0] || !this.options.spinner)
|
5356 |
+
return;
|
5357 |
+
var n = t.tab.find("span"), r = n.html();
|
5358 |
+
n.html(this.options.spinner), t.jqXHR.complete(function() {
|
5359 |
+
n.html(r)
|
5360 |
+
})
|
5361 |
+
}
|
5362 |
+
})
|
5363 |
+
}
|
5364 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5365 |
+
options : {
|
5366 |
+
enable : null,
|
5367 |
+
disable : null
|
5368 |
+
},
|
5369 |
+
enable : function(t) {
|
5370 |
+
var n = this.options, r;
|
5371 |
+
if (t && n.disabled === !0 || e.isArray(n.disabled) && e.inArray(t, n.disabled) !== -1)
|
5372 |
+
r = !0;
|
5373 |
+
this._superApply(arguments), r && this._trigger("enable", null, this._ui(this.anchors[t], this.panels[t]))
|
5374 |
+
},
|
5375 |
+
disable : function(t) {
|
5376 |
+
var n = this.options, r;
|
5377 |
+
if (t && n.disabled === !1 || e.isArray(n.disabled) && e.inArray(t, n.disabled) === -1)
|
5378 |
+
r = !0;
|
5379 |
+
this._superApply(arguments), r && this._trigger("disable", null, this._ui(this.anchors[t], this.panels[t]))
|
5380 |
+
}
|
5381 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5382 |
+
options : {
|
5383 |
+
add : null,
|
5384 |
+
remove : null,
|
5385 |
+
tabTemplate : "<li><a href='#{href}'><span>#{label}</span></a></li>"
|
5386 |
+
},
|
5387 |
+
add : function(n, r, i) {
|
5388 |
+
i === t && ( i = this.anchors.length);
|
5389 |
+
var s, o, u = this.options, a = e(u.tabTemplate.replace(/#\{href\}/g, n).replace(/#\{label\}/g, r)), f = n.indexOf("#") ? this._tabId(a) : n.replace("#", "");
|
5390 |
+
return a.addClass("ui-state-default ui-corner-top").data("ui-tabs-destroy", !0), a.attr("aria-controls", f), s = i >= this.tabs.length, o = this.element.find("#" + f), o.length || ( o = this._createPanel(f), s ? i > 0 ? o.insertAfter(this.panels.eq(-1)) : o.appendTo(this.element) : o.insertBefore(this.panels[i])), o.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").hide(), s ? a.appendTo(this.tablist) : a.insertBefore(this.tabs[i]), u.disabled = e.map(u.disabled, function(e) {
|
5391 |
+
return e >= i ? ++e : e
|
5392 |
+
}), this.refresh(), this.tabs.length === 1 && u.active === !1 && this.option("active", 0), this._trigger("add", null, this._ui(this.anchors[i], this.panels[i])), this
|
5393 |
+
},
|
5394 |
+
remove : function(t) {
|
5395 |
+
t = this._getIndex(t);
|
5396 |
+
var n = this.options, r = this.tabs.eq(t).remove(), i = this._getPanelForTab(r).remove();
|
5397 |
+
return r.hasClass("ui-tabs-active") && this.anchors.length > 2 && this._activate(t + (t + 1 < this.anchors.length ? 1 : -1)), n.disabled = e.map(e.grep(n.disabled, function(e) {
|
5398 |
+
return e !== t
|
5399 |
+
}), function(e) {
|
5400 |
+
return e >= t ? --e : e
|
5401 |
+
}), this.refresh(), this._trigger("remove", null, this._ui(r.find("a")[0], i[0])), this
|
5402 |
+
}
|
5403 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5404 |
+
length : function() {
|
5405 |
+
return this.anchors.length
|
5406 |
+
}
|
5407 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5408 |
+
options : {
|
5409 |
+
idPrefix : "ui-tabs-"
|
5410 |
+
},
|
5411 |
+
_tabId : function(t) {
|
5412 |
+
var n = t.is("li") ? t.find("a[href]") : t;
|
5413 |
+
return n = n[0], e(n).closest("li").attr("aria-controls") || n.title && n.title.replace(/\s/g, "_").replace(/[^\w\u00c0-\uFFFF\-]/g, "") || this.options.idPrefix + i()
|
5414 |
+
}
|
5415 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5416 |
+
options : {
|
5417 |
+
panelTemplate : "<div></div>"
|
5418 |
+
},
|
5419 |
+
_createPanel : function(t) {
|
5420 |
+
return e(this.options.panelTemplate).attr("id", t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy", !0)
|
5421 |
+
}
|
5422 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5423 |
+
_create : function() {
|
5424 |
+
var e = this.options;
|
5425 |
+
e.active === null && e.selected !== t && (e.active = e.selected === -1 ? !1 : e.selected), this._super(), e.selected = e.active, e.selected === !1 && (e.selected = -1)
|
5426 |
+
},
|
5427 |
+
_setOption : function(e, t) {
|
5428 |
+
if (e !== "selected")
|
5429 |
+
return this._super(e, t);
|
5430 |
+
var n = this.options;
|
5431 |
+
this._super("active", t === -1 ? !1 : t), n.selected = n.active, n.selected === !1 && (n.selected = -1)
|
5432 |
+
},
|
5433 |
+
_eventHandler : function(e) {
|
5434 |
+
this._superApply(arguments), this.options.selected = this.options.active, this.options.selected === !1 && (this.options.selected = -1)
|
5435 |
+
}
|
5436 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5437 |
+
options : {
|
5438 |
+
show : null,
|
5439 |
+
select : null
|
5440 |
+
},
|
5441 |
+
_create : function() {
|
5442 |
+
this._super(), this.options.active !== !1 && this._trigger("show", null, this._ui(this.active.find(".ui-tabs-anchor")[0], this._getPanelForTab(this.active)[0]))
|
5443 |
+
},
|
5444 |
+
_trigger : function(e, t, n) {
|
5445 |
+
var r = this._superApply(arguments);
|
5446 |
+
return r ? (e === "beforeActivate" && n.newTab.length ? r = this._super("select", t, {
|
5447 |
+
tab : n.newTab.find(".ui-tabs-anchor")[0],
|
5448 |
+
panel : n.newPanel[0],
|
5449 |
+
index : n.newTab.closest("li").index()
|
5450 |
+
}) : e === "activate" && n.newTab.length && ( r = this._super("show", t, {
|
5451 |
+
tab : n.newTab.find(".ui-tabs-anchor")[0],
|
5452 |
+
panel : n.newPanel[0],
|
5453 |
+
index : n.newTab.closest("li").index()
|
5454 |
+
})), r) : !1
|
5455 |
+
}
|
5456 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5457 |
+
select : function(e) {
|
5458 |
+
e = this._getIndex(e);
|
5459 |
+
if (e === -1) {
|
5460 |
+
if (!this.options.collapsible || this.options.selected === -1)
|
5461 |
+
return;
|
5462 |
+
e = this.options.selected
|
5463 |
+
}
|
5464 |
+
this.anchors.eq(e).trigger(this.options.event + this.eventNamespace)
|
5465 |
+
}
|
5466 |
+
}), function() {
|
5467 |
+
var t = 0;
|
5468 |
+
e.widget("ui.tabs", e.ui.tabs, {
|
5469 |
+
options : {
|
5470 |
+
cookie : null
|
5471 |
+
},
|
5472 |
+
_create : function() {
|
5473 |
+
var e = this.options, t;
|
5474 |
+
e.active == null && e.cookie && ( t = parseInt(this._cookie(), 10), t === -1 && ( t = !1), e.active = t), this._super()
|
5475 |
+
},
|
5476 |
+
_cookie : function(n) {
|
5477 |
+
var r = [this.cookie || (this.cookie = this.options.cookie.name || "ui-tabs-" + ++t)];
|
5478 |
+
return arguments.length && (r.push(n === !1 ? -1 : n), r.push(this.options.cookie)), e.cookie.apply(null, r)
|
5479 |
+
},
|
5480 |
+
_refresh : function() {
|
5481 |
+
this._super(), this.options.cookie && this._cookie(this.options.active, this.options.cookie)
|
5482 |
+
},
|
5483 |
+
_eventHandler : function(e) {
|
5484 |
+
this._superApply(arguments), this.options.cookie && this._cookie(this.options.active, this.options.cookie)
|
5485 |
+
},
|
5486 |
+
_destroy : function() {
|
5487 |
+
this._super(), this.options.cookie && this._cookie(null, this.options.cookie)
|
5488 |
+
}
|
5489 |
+
})
|
5490 |
+
}(), e.widget("ui.tabs", e.ui.tabs, {
|
5491 |
+
_trigger : function(t, n, r) {
|
5492 |
+
var i = e.extend({}, r);
|
5493 |
+
return t === "load" && (i.panel = i.panel[0], i.tab = i.tab.find(".ui-tabs-anchor")[0]), this._super(t, n, i)
|
5494 |
+
}
|
5495 |
+
}), e.widget("ui.tabs", e.ui.tabs, {
|
5496 |
+
options : {
|
5497 |
+
fx : null
|
5498 |
+
},
|
5499 |
+
_getFx : function() {
|
5500 |
+
var t, n, r = this.options.fx;
|
5501 |
+
return r && (e.isArray(r) ? ( t = r[0], n = r[1]) : t = n = r), r ? {
|
5502 |
+
show : n,
|
5503 |
+
hide : t
|
5504 |
+
} : null
|
5505 |
+
},
|
5506 |
+
_toggle : function(e, t) {
|
5507 |
+
function o() {
|
5508 |
+
n.running = !1, n._trigger("activate", e, t)
|
5509 |
+
}
|
5510 |
+
|
5511 |
+
function u() {
|
5512 |
+
t.newTab.closest("li").addClass("ui-tabs-active ui-state-active"), r.length && s.show ? r.animate(s.show, s.show.duration, function() {
|
5513 |
+
o()
|
5514 |
+
}) : (r.show(), o())
|
5515 |
+
}
|
5516 |
+
|
5517 |
+
var n = this, r = t.newPanel, i = t.oldPanel, s = this._getFx();
|
5518 |
+
if (!s)
|
5519 |
+
return this._super(e, t);
|
5520 |
+
n.running = !0, i.length && s.hide ? i.animate(s.hide, s.hide.duration, function() {
|
5521 |
+
t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), u()
|
5522 |
+
}) : (t.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"), i.hide(), u())
|
5523 |
+
}
|
5524 |
+
}))
|
5525 |
+
})(jQuery);
|
5526 |
+
jQuery.effects || function(e, t) {
|
5527 |
+
var n = e.uiBackCompat !== !1, r = "ui-effects-";
|
5528 |
+
e.effects = {
|
5529 |
+
effect : {}
|
5530 |
+
}, function(t, n) {
|
5531 |
+
function p(e, t, n) {
|
5532 |
+
var r = a[t.type] || {};
|
5533 |
+
return e == null ? n || !t.def ? null : t.def : ( e = r.floor ? ~~e : parseFloat(e), isNaN(e) ? t.def : r.mod ? (e + r.mod) % r.mod : 0 > e ? 0 : r.max < e ? r.max : e)
|
5534 |
+
}
|
5535 |
+
|
5536 |
+
function d(e) {
|
5537 |
+
var n = o(), r = n._rgba = [];
|
5538 |
+
return e = e.toLowerCase(), h(s, function(t, i) {
|
5539 |
+
var s, o = i.re.exec(e), a = o && i.parse(o), f = i.space || "rgba";
|
5540 |
+
if (a)
|
5541 |
+
return s = n[f](a), n[u[f].cache] = s[u[f].cache], r = n._rgba = s._rgba, !1
|
5542 |
+
}), r.length ? (r.join() === "0,0,0,0" && t.extend(r, c.transparent), n) : c[e]
|
5543 |
+
}
|
5544 |
+
|
5545 |
+
function v(e, t, n) {
|
5546 |
+
return n = (n + 1) % 1, n * 6 < 1 ? e + (t - e) * n * 6 : n * 2 < 1 ? t : n * 3 < 2 ? e + (t - e) * (2 / 3 - n) * 6 : e
|
5547 |
+
}
|
5548 |
+
|
5549 |
+
var r = "backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor".split(" "), i = /^([\-+])=\s*(\d+\.?\d*)/, s = [{
|
5550 |
+
re : /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
5551 |
+
parse : function(e) {
|
5552 |
+
return [e[1], e[2], e[3], e[4]]
|
5553 |
+
}
|
5554 |
+
}, {
|
5555 |
+
re : /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
5556 |
+
parse : function(e) {
|
5557 |
+
return [e[1] * 2.55, e[2] * 2.55, e[3] * 2.55, e[4]]
|
5558 |
+
}
|
5559 |
+
}, {
|
5560 |
+
re : /#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,
|
5561 |
+
parse : function(e) {
|
5562 |
+
return [parseInt(e[1], 16), parseInt(e[2], 16), parseInt(e[3], 16)]
|
5563 |
+
}
|
5564 |
+
}, {
|
5565 |
+
re : /#([a-f0-9])([a-f0-9])([a-f0-9])/,
|
5566 |
+
parse : function(e) {
|
5567 |
+
return [parseInt(e[1] + e[1], 16), parseInt(e[2] + e[2], 16), parseInt(e[3] + e[3], 16)]
|
5568 |
+
}
|
5569 |
+
}, {
|
5570 |
+
re : /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
5571 |
+
space : "hsla",
|
5572 |
+
parse : function(e) {
|
5573 |
+
return [e[1], e[2] / 100, e[3] / 100, e[4]]
|
5574 |
+
}
|
5575 |
+
}], o = t.Color = function(e, n, r, i) {
|
5576 |
+
return new t.Color.fn.parse(e, n, r, i)
|
5577 |
+
}, u = {
|
5578 |
+
rgba : {
|
5579 |
+
props : {
|
5580 |
+
red : {
|
5581 |
+
idx : 0,
|
5582 |
+
type : "byte"
|
5583 |
+
},
|
5584 |
+
green : {
|
5585 |
+
idx : 1,
|
5586 |
+
type : "byte"
|
5587 |
+
},
|
5588 |
+
blue : {
|
5589 |
+
idx : 2,
|
5590 |
+
type : "byte"
|
5591 |
+
}
|
5592 |
+
}
|
5593 |
+
},
|
5594 |
+
hsla : {
|
5595 |
+
props : {
|
5596 |
+
hue : {
|
5597 |
+
idx : 0,
|
5598 |
+
type : "degrees"
|
5599 |
+
},
|
5600 |
+
saturation : {
|
5601 |
+
idx : 1,
|
5602 |
+
type : "percent"
|
5603 |
+
},
|
5604 |
+
lightness : {
|
5605 |
+
idx : 2,
|
5606 |
+
type : "percent"
|
5607 |
+
}
|
5608 |
+
}
|
5609 |
+
}
|
5610 |
+
}, a = {
|
5611 |
+
"byte" : {
|
5612 |
+
floor : !0,
|
5613 |
+
max : 255
|
5614 |
+
},
|
5615 |
+
percent : {
|
5616 |
+
max : 1
|
5617 |
+
},
|
5618 |
+
degrees : {
|
5619 |
+
mod : 360,
|
5620 |
+
floor : !0
|
5621 |
+
}
|
5622 |
+
}, f = o.support = {}, l = t("<p>")[0], c, h = t.each;
|
5623 |
+
l.style.cssText = "background-color:rgba(1,1,1,.5)", f.rgba = l.style.backgroundColor.indexOf("rgba") > -1, h(u, function(e, t) {
|
5624 |
+
t.cache = "_" + e, t.props.alpha = {
|
5625 |
+
idx : 3,
|
5626 |
+
type : "percent",
|
5627 |
+
def : 1
|
5628 |
+
}
|
5629 |
+
}), o.fn = t.extend(o.prototype, {
|
5630 |
+
parse : function(r, i, s, a) {
|
5631 |
+
if (r === n)
|
5632 |
+
return this._rgba = [null, null, null, null], this;
|
5633 |
+
if (r.jquery || r.nodeType)
|
5634 |
+
r = t(r).css(i), i = n;
|
5635 |
+
var f = this, l = t.type(r), v = this._rgba = [], m;
|
5636 |
+
i !== n && ( r = [r, i, s, a], l = "array");
|
5637 |
+
if (l === "string")
|
5638 |
+
return this.parse(d(r) || c._default);
|
5639 |
+
if (l === "array")
|
5640 |
+
return h(u.rgba.props, function(e, t) {
|
5641 |
+
v[t.idx] = p(r[t.idx], t)
|
5642 |
+
}), this;
|
5643 |
+
if (l === "object")
|
5644 |
+
return r instanceof o ? h(u, function(e, t) {
|
5645 |
+
r[t.cache] && (f[t.cache] = r[t.cache].slice())
|
5646 |
+
}) : h(u, function(t, n) {
|
5647 |
+
var i = n.cache;
|
5648 |
+
h(n.props, function(e, t) {
|
5649 |
+
if (!f[i] && n.to) {
|
5650 |
+
if (e === "alpha" || r[e] == null)
|
5651 |
+
return;
|
5652 |
+
f[i] = n.to(f._rgba)
|
5653 |
+
}
|
5654 |
+
f[i][t.idx] = p(r[e], t, !0)
|
5655 |
+
}), f[i] && e.inArray(null, f[i].slice(0, 3)) < 0 && (f[i][3] = 1, n.from && (f._rgba = n.from(f[i])))
|
5656 |
+
}), this
|
5657 |
+
},
|
5658 |
+
is : function(e) {
|
5659 |
+
var t = o(e), n = !0, r = this;
|
5660 |
+
return h(u, function(e, i) {
|
5661 |
+
var s, o = t[i.cache];
|
5662 |
+
return o && ( s = r[i.cache] || i.to && i.to(r._rgba) || [], h(i.props, function(e, t) {
|
5663 |
+
if (o[t.idx] != null)
|
5664 |
+
return n = o[t.idx] === s[t.idx], n
|
5665 |
+
})), n
|
5666 |
+
}), n
|
5667 |
+
},
|
5668 |
+
_space : function() {
|
5669 |
+
var e = [], t = this;
|
5670 |
+
return h(u, function(n, r) {
|
5671 |
+
t[r.cache] && e.push(n)
|
5672 |
+
}), e.pop()
|
5673 |
+
},
|
5674 |
+
transition : function(e, t) {
|
5675 |
+
var n = o(e), r = n._space(), i = u[r], s = this.alpha() === 0 ? o("transparent") : this, f = s[i.cache] || i.to(s._rgba), l = f.slice();
|
5676 |
+
return n = n[i.cache], h(i.props, function(e, r) {
|
5677 |
+
var i = r.idx, s = f[i], o = n[i], u = a[r.type] || {};
|
5678 |
+
if (o === null)
|
5679 |
+
return;
|
5680 |
+
s === null ? l[i] = o : (u.mod && (o - s > u.mod / 2 ? s += u.mod : s - o > u.mod / 2 && (s -= u.mod)), l[i] = p((o - s) * t + s, r))
|
5681 |
+
}), this[r](l)
|
5682 |
+
},
|
5683 |
+
blend : function(e) {
|
5684 |
+
if (this._rgba[3] === 1)
|
5685 |
+
return this;
|
5686 |
+
var n = this._rgba.slice(), r = n.pop(), i = o(e)._rgba;
|
5687 |
+
return o(t.map(n, function(e, t) {
|
5688 |
+
return (1 - r) * i[t] + r * e
|
5689 |
+
}))
|
5690 |
+
},
|
5691 |
+
toRgbaString : function() {
|
5692 |
+
var e = "rgba(", n = t.map(this._rgba, function(e, t) {
|
5693 |
+
return e == null ? t > 2 ? 1 : 0 : e
|
5694 |
+
});
|
5695 |
+
return n[3] === 1 && (n.pop(), e = "rgb("), e + n.join() + ")"
|
5696 |
+
},
|
5697 |
+
toHslaString : function() {
|
5698 |
+
var e = "hsla(", n = t.map(this.hsla(), function(e, t) {
|
5699 |
+
return e == null && ( e = t > 2 ? 1 : 0), t && t < 3 && ( e = Math.round(e * 100) + "%"), e
|
5700 |
+
});
|
5701 |
+
return n[3] === 1 && (n.pop(), e = "hsl("), e + n.join() + ")"
|
5702 |
+
},
|
5703 |
+
toHexString : function(e) {
|
5704 |
+
var n = this._rgba.slice(), r = n.pop();
|
5705 |
+
return e && n.push(~~(r * 255)), "#" + t.map(n, function(e, t) {
|
5706 |
+
return e = (e || 0).toString(16), e.length === 1 ? "0" + e : e
|
5707 |
+
}).join("")
|
5708 |
+
},
|
5709 |
+
toString : function() {
|
5710 |
+
return this._rgba[3] === 0 ? "transparent" : this.toRgbaString()
|
5711 |
+
}
|
5712 |
+
}), o.fn.parse.prototype = o.fn, u.hsla.to = function(e) {
|
5713 |
+
if (e[0] == null || e[1] == null || e[2] == null)
|
5714 |
+
return [null, null, null, e[3]];
|
5715 |
+
var t = e[0] / 255, n = e[1] / 255, r = e[2] / 255, i = e[3], s = Math.max(t, n, r), o = Math.min(t, n, r), u = s - o, a = s + o, f = a * .5, l, c;
|
5716 |
+
return o === s ? l = 0 : t === s ? l = 60 * (n - r) / u + 360 : n === s ? l = 60 * (r - t) / u + 120 : l = 60 * (t - n) / u + 240, f === 0 || f === 1 ? c = f : f <= .5 ? c = u / a : c = u / (2 - a), [Math.round(l) % 360, c, f, i == null ? 1 : i]
|
5717 |
+
}, u.hsla.from = function(e) {
|
5718 |
+
if (e[0] == null || e[1] == null || e[2] == null)
|
5719 |
+
return [null, null, null, e[3]];
|
5720 |
+
var t = e[0] / 360, n = e[1], r = e[2], i = e[3], s = r <= .5 ? r * (1 + n) : r + n - r * n, o = 2 * r - s, u, a, f;
|
5721 |
+
return [Math.round(v(o, s, t + 1 / 3) * 255), Math.round(v(o, s, t) * 255), Math.round(v(o, s, t - 1 / 3) * 255), i]
|
5722 |
+
}, h(u, function(e, r) {
|
5723 |
+
var s = r.props, u = r.cache, a = r.to, f = r.from;
|
5724 |
+
o.fn[e] = function(e) {
|
5725 |
+
a && !this[u] && (this[u] = a(this._rgba));
|
5726 |
+
if (e === n)
|
5727 |
+
return this[u].slice();
|
5728 |
+
var r, i = t.type(e), l = i === "array" || i === "object" ? e : arguments, c = this[u].slice();
|
5729 |
+
return h(s, function(e, t) {
|
5730 |
+
var n = l[i === "object" ? e : t.idx];
|
5731 |
+
n == null && ( n = c[t.idx]), c[t.idx] = p(n, t)
|
5732 |
+
}), f ? ( r = o(f(c)), r[u] = c, r) : o(c)
|
5733 |
+
}, h(s, function(n, r) {
|
5734 |
+
if (o.fn[n])
|
5735 |
+
return;
|
5736 |
+
o.fn[n] = function(s) {
|
5737 |
+
var o = t.type(s), u = n === "alpha" ? this._hsla ? "hsla" : "rgba" : e, a = this[u](), f = a[r.idx], l;
|
5738 |
+
return o === "undefined" ? f : (o === "function" && ( s = s.call(this, f), o = t.type(s)), s == null && r.empty ? this : (o === "string" && ( l = i.exec(s), l && ( s = f + parseFloat(l[2]) * (l[1] === "+" ? 1 : -1))), a[r.idx] = s, this[u](a)))
|
5739 |
+
}
|
5740 |
+
})
|
5741 |
+
}), h(r, function(e, n) {
|
5742 |
+
t.cssHooks[n] = {
|
5743 |
+
set : function(e, r) {
|
5744 |
+
var i, s, u = "";
|
5745 |
+
if (t.type(r) !== "string" || ( i = d(r))) {
|
5746 |
+
r = o(i || r);
|
5747 |
+
if (!f.rgba && r._rgba[3] !== 1) {
|
5748 |
+
s = n === "backgroundColor" ? e.parentNode : e;
|
5749 |
+
while ((u === "" || u === "transparent") && s && s.style)
|
5750 |
+
try {
|
5751 |
+
u = t.css(s, "backgroundColor"), s = s.parentNode
|
5752 |
+
} catch(a) {
|
5753 |
+
}
|
5754 |
+
r = r.blend(u && u !== "transparent" ? u : "_default")
|
5755 |
+
}
|
5756 |
+
r = r.toRgbaString()
|
5757 |
+
}
|
5758 |
+
try {
|
5759 |
+
e.style[n] = r
|
5760 |
+
} catch(r) {
|
5761 |
+
}
|
5762 |
+
}
|
5763 |
+
}, t.fx.step[n] = function(e) {
|
5764 |
+
e.colorInit || (e.start = o(e.elem, n), e.end = o(e.end), e.colorInit = !0), t.cssHooks[n].set(e.elem, e.start.transition(e.end, e.pos))
|
5765 |
+
}
|
5766 |
+
}), t.cssHooks.borderColor = {
|
5767 |
+
expand : function(e) {
|
5768 |
+
var t = {};
|
5769 |
+
return h(["Top", "Right", "Bottom", "Left"], function(n, r) {
|
5770 |
+
t["border" + r + "Color"] = e
|
5771 |
+
}), t
|
5772 |
+
}
|
5773 |
+
}, c = t.Color.names = {
|
5774 |
+
aqua : "#00ffff",
|
5775 |
+
black : "#000000",
|
5776 |
+
blue : "#0000ff",
|
5777 |
+
fuchsia : "#ff00ff",
|
5778 |
+
gray : "#808080",
|
5779 |
+
green : "#008000",
|
5780 |
+
lime : "#00ff00",
|
5781 |
+
maroon : "#800000",
|
5782 |
+
navy : "#000080",
|
5783 |
+
olive : "#808000",
|
5784 |
+
purple : "#800080",
|
5785 |
+
red : "#ff0000",
|
5786 |
+
silver : "#c0c0c0",
|
5787 |
+
teal : "#008080",
|
5788 |
+
white : "#ffffff",
|
5789 |
+
yellow : "#ffff00",
|
5790 |
+
transparent : [null, null, null, 0],
|
5791 |
+
_default : "#ffffff"
|
5792 |
+
}
|
5793 |
+
}(jQuery), function() {
|
5794 |
+
function i() {
|
5795 |
+
var t = this.ownerDocument.defaultView ? this.ownerDocument.defaultView.getComputedStyle(this, null) : this.currentStyle, n = {}, r, i, s;
|
5796 |
+
if (t && t.length && t[0] && t[t[0]]) {
|
5797 |
+
s = t.length;
|
5798 |
+
while (s--) r = t[s], typeof t[r] == "string" && (n[e.camelCase(r)] = t[r])
|
5799 |
+
} else
|
5800 |
+
for (r in t) typeof t[r] == "string" && (n[r] = t[r]);
|
5801 |
+
return n
|
5802 |
+
}
|
5803 |
+
|
5804 |
+
function s(t, n) {
|
5805 |
+
var i = {}, s, o;
|
5806 |
+
for (s in n) o = n[s], t[s] !== o && !r[s] && (e.fx.step[s] || !isNaN(parseFloat(o))) && (i[s] = o);
|
5807 |
+
return i
|
5808 |
+
}
|
5809 |
+
|
5810 |
+
var n = ["add", "remove", "toggle"], r = {
|
5811 |
+
border : 1,
|
5812 |
+
borderBottom : 1,
|
5813 |
+
borderColor : 1,
|
5814 |
+
borderLeft : 1,
|
5815 |
+
borderRight : 1,
|
5816 |
+
borderTop : 1,
|
5817 |
+
borderWidth : 1,
|
5818 |
+
margin : 1,
|
5819 |
+
padding : 1
|
5820 |
+
};
|
5821 |
+
e.each(["borderLeftStyle", "borderRightStyle", "borderBottomStyle", "borderTopStyle"], function(t, n) {
|
5822 |
+
e.fx.step[n] = function(e) {
|
5823 |
+
if (e.end !== "none" && !e.setAttr || e.pos === 1 && !e.setAttr)
|
5824 |
+
jQuery.style(e.elem, n, e.end), e.setAttr = !0
|
5825 |
+
}
|
5826 |
+
}), e.effects.animateClass = function(t, r, o, u) {
|
5827 |
+
var a = e.speed(r, o, u);
|
5828 |
+
return this.queue(function() {
|
5829 |
+
var r = e(this), o = r.attr("class") || "", u, f = a.children ? r.find("*").andSelf() : r;
|
5830 |
+
f = f.map(function() {
|
5831 |
+
var t = e(this);
|
5832 |
+
return {
|
5833 |
+
el : t,
|
5834 |
+
start : i.call(this)
|
5835 |
+
}
|
5836 |
+
}), u = function() {
|
5837 |
+
e.each(n, function(e, n) {
|
5838 |
+
t[n] && r[n+"Class"](t[n])
|
5839 |
+
})
|
5840 |
+
}, u(), f = f.map(function() {
|
5841 |
+
return this.end = i.call(this.el[0]), this.diff = s(this.start, this.end), this
|
5842 |
+
}), r.attr("class", o), f = f.map(function() {
|
5843 |
+
var t = this, n = e.Deferred(), r = jQuery.extend({}, a, {
|
5844 |
+
queue : !1,
|
5845 |
+
complete : function() {
|
5846 |
+
n.resolve(t)
|
5847 |
+
}
|
5848 |
+
});
|
5849 |
+
return this.el.animate(this.diff, r), n.promise()
|
5850 |
+
}), e.when.apply(e, f.get()).done(function() {
|
5851 |
+
u(), e.each(arguments, function() {
|
5852 |
+
var t = this.el;
|
5853 |
+
e.each(this.diff, function(e) {
|
5854 |
+
t.css(e, "")
|
5855 |
+
})
|
5856 |
+
}), a.complete.call(r[0])
|
5857 |
+
})
|
5858 |
+
})
|
5859 |
+
}, e.fn.extend({
|
5860 |
+
_addClass : e.fn.addClass,
|
5861 |
+
addClass : function(t, n, r, i) {
|
5862 |
+
return n ? e.effects.animateClass.call(this, {
|
5863 |
+
add : t
|
5864 |
+
}, n, r, i) : this._addClass(t)
|
5865 |
+
},
|
5866 |
+
_removeClass : e.fn.removeClass,
|
5867 |
+
removeClass : function(t, n, r, i) {
|
5868 |
+
return n ? e.effects.animateClass.call(this, {
|
5869 |
+
remove : t
|
5870 |
+
}, n, r, i) : this._removeClass(t)
|
5871 |
+
},
|
5872 |
+
_toggleClass : e.fn.toggleClass,
|
5873 |
+
toggleClass : function(n, r, i, s, o) {
|
5874 |
+
return typeof r == "boolean" || r === t ? i ? e.effects.animateClass.call(this, r ? {
|
5875 |
+
add : n
|
5876 |
+
} : {
|
5877 |
+
remove : n
|
5878 |
+
}, i, s, o) : this._toggleClass(n, r) : e.effects.animateClass.call(this, {
|
5879 |
+
toggle : n
|
5880 |
+
}, r, i, s)
|
5881 |
+
},
|
5882 |
+
switchClass : function(t, n, r, i, s) {
|
5883 |
+
return e.effects.animateClass.call(this, {
|
5884 |
+
add : n,
|
5885 |
+
remove : t
|
5886 |
+
}, r, i, s)
|
5887 |
+
}
|
5888 |
+
})
|
5889 |
+
}(), function() {
|
5890 |
+
function i(n, r, i, s) {
|
5891 |
+
e.isPlainObject(n) && ( r = n, n = n.effect), n = {
|
5892 |
+
effect : n
|
5893 |
+
}, r === t && ( r = {}), e.isFunction(r) && ( s = r, i = null, r = {});
|
5894 |
+
if ( typeof r == "number" || e.fx.speeds[r])
|
5895 |
+
s = i, i = r, r = {};
|
5896 |
+
return e.isFunction(i) && ( s = i, i = null), r && e.extend(n, r), i = i || r.duration, n.duration = e.fx.off ? 0 : typeof i == "number" ? i : i in e.fx.speeds ? e.fx.speeds[i] : e.fx.speeds._default, n.complete = s || r.complete, n
|
5897 |
+
}
|
5898 |
+
|
5899 |
+
function s(t) {
|
5900 |
+
return !t || typeof t == "number" || e.fx.speeds[t] ? !0 : typeof t == "string" && !e.effects.effect[t] ? n && e.effects[t] ? !1 : !0 : !1
|
5901 |
+
}
|
5902 |
+
e.extend(e.effects, {
|
5903 |
+
version : "1.9.0",
|
5904 |
+
save : function(e, t) {
|
5905 |
+
for (var n = 0; n < t.length; n++)
|
5906 |
+
t[n] !== null && e.data(r + t[n], e[0].style[t[n]])
|
5907 |
+
},
|
5908 |
+
restore : function(e, n) {
|
5909 |
+
var i, s;
|
5910 |
+
for ( s = 0; s < n.length; s++)
|
5911 |
+
n[s] !== null && ( i = e.data(r + n[s]), i === t && ( i = ""), e.css(n[s], i))
|
5912 |
+
},
|
5913 |
+
setMode : function(e, t) {
|
5914 |
+
return t === "toggle" && ( t = e.is(":hidden") ? "show" : "hide"), t
|
5915 |
+
},
|
5916 |
+
getBaseline : function(e, t) {
|
5917 |
+
var n, r;
|
5918 |
+
switch(e[0]) {
|
5919 |
+
case"top":
|
5920 |
+
n = 0;
|
5921 |
+
break;
|
5922 |
+
case"middle":
|
5923 |
+
n = .5;
|
5924 |
+
break;
|
5925 |
+
case"bottom":
|
5926 |
+
n = 1;
|
5927 |
+
break;
|
5928 |
+
default:
|
5929 |
+
n = e[0] / t.height
|
5930 |
+
}
|
5931 |
+
switch(e[1]) {
|
5932 |
+
case"left":
|
5933 |
+
r = 0;
|
5934 |
+
break;
|
5935 |
+
case"center":
|
5936 |
+
r = .5;
|
5937 |
+
break;
|
5938 |
+
case"right":
|
5939 |
+
r = 1;
|
5940 |
+
break;
|
5941 |
+
default:
|
5942 |
+
r = e[1] / t.width
|
5943 |
+
}
|
5944 |
+
return {
|
5945 |
+
x : r,
|
5946 |
+
y : n
|
5947 |
+
}
|
5948 |
+
},
|
5949 |
+
createWrapper : function(t) {
|
5950 |
+
if (t.parent().is(".ui-effects-wrapper"))
|
5951 |
+
return t.parent();
|
5952 |
+
var n = {
|
5953 |
+
width : t.outerWidth(!0),
|
5954 |
+
height : t.outerHeight(!0),
|
5955 |
+
"float" : t.css("float")
|
5956 |
+
}, r = e("<div></div>").addClass("ui-effects-wrapper").css({
|
5957 |
+
fontSize : "100%",
|
5958 |
+
background : "transparent",
|
5959 |
+
border : "none",
|
5960 |
+
margin : 0,
|
5961 |
+
padding : 0
|
5962 |
+
}), i = {
|
5963 |
+
width : t.width(),
|
5964 |
+
height : t.height()
|
5965 |
+
}, s = document.activeElement;
|
5966 |
+
try {
|
5967 |
+
s.id
|
5968 |
+
} catch(o) {
|
5969 |
+
s = document.body
|
5970 |
+
}
|
5971 |
+
return t.wrap(r), (t[0] === s || e.contains(t[0], s)) && e(s).focus(), r = t.parent(), t.css("position") === "static" ? (r.css({
|
5972 |
+
position : "relative"
|
5973 |
+
}), t.css({
|
5974 |
+
position : "relative"
|
5975 |
+
})) : (e.extend(n, {
|
5976 |
+
position : t.css("position"),
|
5977 |
+
zIndex : t.css("z-index")
|
5978 |
+
}), e.each(["top", "left", "bottom", "right"], function(e, r) {
|
5979 |
+
n[r] = t.css(r), isNaN(parseInt(n[r], 10)) && (n[r] = "auto")
|
5980 |
+
}), t.css({
|
5981 |
+
position : "relative",
|
5982 |
+
top : 0,
|
5983 |
+
left : 0,
|
5984 |
+
right : "auto",
|
5985 |
+
bottom : "auto"
|
5986 |
+
})), t.css(i), r.css(n).show()
|
5987 |
+
},
|
5988 |
+
removeWrapper : function(t) {
|
5989 |
+
var n = document.activeElement;
|
5990 |
+
return t.parent().is(".ui-effects-wrapper") && (t.parent().replaceWith(t), (t[0] === n || e.contains(t[0], n)) && e(n).focus()), t
|
5991 |
+
},
|
5992 |
+
setTransition : function(t, n, r, i) {
|
5993 |
+
return i = i || {}, e.each(n, function(e, n) {
|
5994 |
+
var s = t.cssUnit(n);
|
5995 |
+
s[0] > 0 && (i[n] = s[0] * r + s[1])
|
5996 |
+
}), i
|
5997 |
+
}
|
5998 |
+
}), e.fn.extend({
|
5999 |
+
effect : function(t, r, s, o) {
|
6000 |
+
function h(t) {
|
6001 |
+
function s() {
|
6002 |
+
e.isFunction(r) && r.call(n[0]), e.isFunction(t) && t()
|
6003 |
+
}
|
6004 |
+
|
6005 |
+
var n = e(this), r = u.complete, i = u.mode;
|
6006 |
+
(n.is(":hidden") ? i === "hide" : i === "show") ? s() : l.call(n[0], u, s)
|
6007 |
+
}
|
6008 |
+
|
6009 |
+
var u = i.apply(this, arguments), a = u.mode, f = u.queue, l = e.effects.effect[u.effect], c = !l && n && e.effects[u.effect];
|
6010 |
+
return e.fx.off || !l && !c ? a ? this[a](u.duration, u.complete) : this.each(function() {
|
6011 |
+
u.complete && u.complete.call(this)
|
6012 |
+
}) : l ? f === !1 ? this.each(h) : this.queue(f || "fx", h) : c.call(this, {
|
6013 |
+
options : u,
|
6014 |
+
duration : u.duration,
|
6015 |
+
callback : u.complete,
|
6016 |
+
mode : u.mode
|
6017 |
+
})
|
6018 |
+
},
|
6019 |
+
_show : e.fn.show,
|
6020 |
+
show : function(e) {
|
6021 |
+
if (s(e))
|
6022 |
+
return this._show.apply(this, arguments);
|
6023 |
+
var t = i.apply(this, arguments);
|
6024 |
+
return t.mode = "show", this.effect.call(this, t)
|
6025 |
+
},
|
6026 |
+
_hide : e.fn.hide,
|
6027 |
+
hide : function(e) {
|
6028 |
+
if (s(e))
|
6029 |
+
return this._hide.apply(this, arguments);
|
6030 |
+
var t = i.apply(this, arguments);
|
6031 |
+
return t.mode = "hide", this.effect.call(this, t)
|
6032 |
+
},
|
6033 |
+
__toggle : e.fn.toggle,
|
6034 |
+
toggle : function(t) {
|
6035 |
+
if (s(t) || typeof t == "boolean" || e.isFunction(t))
|
6036 |
+
return this.__toggle.apply(this, arguments);
|
6037 |
+
var n = i.apply(this, arguments);
|
6038 |
+
return n.mode = "toggle", this.effect.call(this, n)
|
6039 |
+
},
|
6040 |
+
cssUnit : function(t) {
|
6041 |
+
var n = this.css(t), r = [];
|
6042 |
+
return e.each(["em", "px", "%", "pt"], function(e, t) {
|
6043 |
+
n.indexOf(t) > 0 && ( r = [parseFloat(n), t])
|
6044 |
+
}), r
|
6045 |
+
}
|
6046 |
+
})
|
6047 |
+
}(), function() {
|
6048 |
+
var t = {};
|
6049 |
+
e.each(["Quad", "Cubic", "Quart", "Quint", "Expo"], function(e, n) {
|
6050 |
+
t[n] = function(t) {
|
6051 |
+
return Math.pow(t, e + 2)
|
6052 |
+
}
|
6053 |
+
}), e.extend(t, {
|
6054 |
+
Sine : function(e) {
|
6055 |
+
return 1 - Math.cos(e * Math.PI / 2)
|
6056 |
+
},
|
6057 |
+
Circ : function(e) {
|
6058 |
+
return 1 - Math.sqrt(1 - e * e)
|
6059 |
+
},
|
6060 |
+
Elastic : function(e) {
|
6061 |
+
return e === 0 || e === 1 ? e : -Math.pow(2, 8 * (e - 1)) * Math.sin(((e - 1) * 80 - 7.5) * Math.PI / 15)
|
6062 |
+
},
|
6063 |
+
Back : function(e) {
|
6064 |
+
return e * e * (3 * e - 2)
|
6065 |
+
},
|
6066 |
+
Bounce : function(e) {
|
6067 |
+
var t, n = 4;
|
6068 |
+
while (e < (( t = Math.pow(2, --n)) - 1) / 11);
|
6069 |
+
return 1 / Math.pow(4, 3 - n) - 7.5625 * Math.pow((t * 3 - 2) / 22 - e, 2)
|
6070 |
+
}
|
6071 |
+
}), e.each(t, function(t, n) {
|
6072 |
+
e.easing["easeIn" + t] = n, e.easing["easeOut" + t] = function(e) {
|
6073 |
+
return 1 - n(1 - e)
|
6074 |
+
}, e.easing["easeInOut" + t] = function(e) {
|
6075 |
+
return e < .5 ? n(e * 2) / 2 : 1 - n(e * -2 + 2) / 2
|
6076 |
+
}
|
6077 |
+
})
|
6078 |
+
}()
|
6079 |
+
}(jQuery);
|
6080 |
+
(function(e, t) {
|
6081 |
+
var n = /up|down|vertical/, r = /up|left|vertical|horizontal/;
|
6082 |
+
e.effects.effect.blind = function(t, i) {
|
6083 |
+
var s = e(this), o = ["position", "top", "bottom", "left", "right", "height", "width"], u = e.effects.setMode(s, t.mode || "hide"), a = t.direction || "up", f = n.test(a), l = f ? "height" : "width", c = f ? "top" : "left", h = r.test(a), p = {}, d = u === "show", v, m, g;
|
6084 |
+
s.parent().is(".ui-effects-wrapper") ? e.effects.save(s.parent(), o) : e.effects.save(s, o), s.show(), v = e.effects.createWrapper(s).css({
|
6085 |
+
overflow : "hidden"
|
6086 |
+
}), m = v[l](), g = parseFloat(v.css(c)) || 0, p[l] = d ? m : 0, h || (s.css( f ? "bottom" : "right", 0).css( f ? "top" : "left", "auto").css({
|
6087 |
+
position : "absolute"
|
6088 |
+
}), p[c] = d ? g : m + g), d && (v.css(l, 0), h || v.css(c, g + m)), v.animate(p, {
|
6089 |
+
duration : t.duration,
|
6090 |
+
easing : t.easing,
|
6091 |
+
queue : !1,
|
6092 |
+
complete : function() {
|
6093 |
+
u === "hide" && s.hide(), e.effects.restore(s, o), e.effects.removeWrapper(s), i()
|
6094 |
+
}
|
6095 |
+
})
|
6096 |
+
}
|
6097 |
+
})(jQuery);
|
6098 |
+
(function(e, t) {
|
6099 |
+
e.effects.effect.bounce = function(t, n) {
|
6100 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "height", "width"], s = e.effects.setMode(r, t.mode || "effect"), o = s === "hide", u = s === "show", a = t.direction || "up", f = t.distance, l = t.times || 5, c = l * 2 + (u || o ? 1 : 0), h = t.duration / c, p = t.easing, d = a === "up" || a === "down" ? "top" : "left", v = a === "up" || a === "left", m, g, y, b = r.queue(), w = b.length;
|
6101 |
+
(u || o) && i.push("opacity"), e.effects.save(r, i), r.show(), e.effects.createWrapper(r), f || ( f = r[d==="top"?"outerHeight":"outerWidth"]() / 3), u && ( y = {
|
6102 |
+
opacity : 1
|
6103 |
+
}, y[d] = 0, r.css("opacity", 0).css(d, v ? -f * 2 : f * 2).animate(y, h, p)), o && (f /= Math.pow(2, l - 1)), y = {}, y[d] = 0;
|
6104 |
+
for ( m = 0; m < l; m++)
|
6105 |
+
g = {}, g[d] = ( v ? "-=" : "+=") + f, r.animate(g, h, p).animate(y, h, p), f = o ? f * 2 : f / 2;
|
6106 |
+
o && ( g = {
|
6107 |
+
opacity : 0
|
6108 |
+
}, g[d] = ( v ? "-=" : "+=") + f, r.animate(g, h, p)), r.queue(function() {
|
6109 |
+
o && r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6110 |
+
}), w > 1 && b.splice.apply(b, [1, 0].concat(b.splice(w, c + 1))), r.dequeue()
|
6111 |
+
}
|
6112 |
+
})(jQuery);
|
6113 |
+
(function(e, t) {
|
6114 |
+
e.effects.effect.clip = function(t, n) {
|
6115 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "height", "width"], s = e.effects.setMode(r, t.mode || "hide"), o = s === "show", u = t.direction || "vertical", a = u === "vertical", f = a ? "height" : "width", l = a ? "top" : "left", c = {}, h, p, d;
|
6116 |
+
e.effects.save(r, i), r.show(), h = e.effects.createWrapper(r).css({
|
6117 |
+
overflow : "hidden"
|
6118 |
+
}), p = r[0].tagName === "IMG" ? h : r, d = p[f](), o && (p.css(f, 0), p.css(l, d / 2)), c[f] = o ? d : 0, c[l] = o ? 0 : d / 2, p.animate(c, {
|
6119 |
+
queue : !1,
|
6120 |
+
duration : t.duration,
|
6121 |
+
easing : t.easing,
|
6122 |
+
complete : function() {
|
6123 |
+
o || r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6124 |
+
}
|
6125 |
+
})
|
6126 |
+
}
|
6127 |
+
})(jQuery);
|
6128 |
+
(function(e, t) {
|
6129 |
+
e.effects.effect.drop = function(t, n) {
|
6130 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "opacity", "height", "width"], s = e.effects.setMode(r, t.mode || "hide"), o = s === "show", u = t.direction || "left", a = u === "up" || u === "down" ? "top" : "left", f = u === "up" || u === "left" ? "pos" : "neg", l = {
|
6131 |
+
opacity : o ? 1 : 0
|
6132 |
+
}, c;
|
6133 |
+
e.effects.save(r, i), r.show(), e.effects.createWrapper(r), c = t.distance || r[a==="top"?"outerHeight":"outerWidth"](!0) / 2, o && r.css("opacity", 0).css(a, f === "pos" ? -c : c), l[a] = ( o ? f === "pos" ? "+=" : "-=" : f === "pos" ? "-=" : "+=") + c, r.animate(l, {
|
6134 |
+
queue : !1,
|
6135 |
+
duration : t.duration,
|
6136 |
+
easing : t.easing,
|
6137 |
+
complete : function() {
|
6138 |
+
s === "hide" && r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6139 |
+
}
|
6140 |
+
})
|
6141 |
+
}
|
6142 |
+
})(jQuery);
|
6143 |
+
(function(e, t) {
|
6144 |
+
e.effects.effect.explode = function(t, n) {
|
6145 |
+
function y() {
|
6146 |
+
c.push(this), c.length === r * i && b()
|
6147 |
+
}
|
6148 |
+
|
6149 |
+
function b() {
|
6150 |
+
s.css({
|
6151 |
+
visibility : "visible"
|
6152 |
+
}), e(c).remove(), u || s.hide(), n()
|
6153 |
+
}
|
6154 |
+
|
6155 |
+
var r = t.pieces ? Math.round(Math.sqrt(t.pieces)) : 3, i = r, s = e(this), o = e.effects.setMode(s, t.mode || "hide"), u = o === "show", a = s.show().css("visibility", "hidden").offset(), f = Math.ceil(s.outerWidth() / i), l = Math.ceil(s.outerHeight() / r), c = [], h, p, d, v, m, g;
|
6156 |
+
for ( h = 0; h < r; h++) {
|
6157 |
+
v = a.top + h * l, g = h - (r - 1) / 2;
|
6158 |
+
for ( p = 0; p < i; p++)
|
6159 |
+
d = a.left + p * f, m = p - (i - 1) / 2, s.clone().appendTo("body").wrap("<div></div>").css({
|
6160 |
+
position : "absolute",
|
6161 |
+
visibility : "visible",
|
6162 |
+
left : -p * f,
|
6163 |
+
top : -h * l
|
6164 |
+
}).parent().addClass("ui-effects-explode").css({
|
6165 |
+
position : "absolute",
|
6166 |
+
overflow : "hidden",
|
6167 |
+
width : f,
|
6168 |
+
height : l,
|
6169 |
+
left : d + ( u ? m * f : 0),
|
6170 |
+
top : v + ( u ? g * l : 0),
|
6171 |
+
opacity : u ? 0 : 1
|
6172 |
+
}).animate({
|
6173 |
+
left : d + ( u ? 0 : m * f),
|
6174 |
+
top : v + ( u ? 0 : g * l),
|
6175 |
+
opacity : u ? 1 : 0
|
6176 |
+
}, t.duration || 500, t.easing, y)
|
6177 |
+
}
|
6178 |
+
}
|
6179 |
+
})(jQuery);
|
6180 |
+
(function(e, t) {
|
6181 |
+
e.effects.effect.fade = function(t, n) {
|
6182 |
+
var r = e(this), i = e.effects.setMode(r, t.mode || "toggle");
|
6183 |
+
r.animate({
|
6184 |
+
opacity : i
|
6185 |
+
}, {
|
6186 |
+
queue : !1,
|
6187 |
+
duration : t.duration,
|
6188 |
+
easing : t.easing,
|
6189 |
+
complete : n
|
6190 |
+
})
|
6191 |
+
}
|
6192 |
+
})(jQuery);
|
6193 |
+
(function(e, t) {
|
6194 |
+
e.effects.effect.fold = function(t, n) {
|
6195 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "height", "width"], s = e.effects.setMode(r, t.mode || "hide"), o = s === "show", u = s === "hide", a = t.size || 15, f = /([0-9]+)%/.exec(a), l = !!t.horizFirst, c = o !== l, h = c ? ["width", "height"] : ["height", "width"], p = t.duration / 2, d, v, m = {}, g = {};
|
6196 |
+
e.effects.save(r, i), r.show(), d = e.effects.createWrapper(r).css({
|
6197 |
+
overflow : "hidden"
|
6198 |
+
}), v = c ? [d.width(), d.height()] : [d.height(), d.width()], f && ( a = parseInt(f[1], 10) / 100 * v[ u ? 0 : 1]), o && d.css( l ? {
|
6199 |
+
height : 0,
|
6200 |
+
width : a
|
6201 |
+
} : {
|
6202 |
+
height : a,
|
6203 |
+
width : 0
|
6204 |
+
}), m[h[0]] = o ? v[0] : a, g[h[1]] = o ? v[1] : 0, d.animate(m, p, t.easing).animate(g, p, t.easing, function() {
|
6205 |
+
u && r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6206 |
+
})
|
6207 |
+
}
|
6208 |
+
})(jQuery);
|
6209 |
+
(function(e, t) {
|
6210 |
+
e.effects.effect.highlight = function(t, n) {
|
6211 |
+
var r = e(this), i = ["backgroundImage", "backgroundColor", "opacity"], s = e.effects.setMode(r, t.mode || "show"), o = {
|
6212 |
+
backgroundColor : r.css("backgroundColor")
|
6213 |
+
};
|
6214 |
+
s === "hide" && (o.opacity = 0), e.effects.save(r, i), r.show().css({
|
6215 |
+
backgroundImage : "none",
|
6216 |
+
backgroundColor : t.color || "#ffff99"
|
6217 |
+
}).animate(o, {
|
6218 |
+
queue : !1,
|
6219 |
+
duration : t.duration,
|
6220 |
+
easing : t.easing,
|
6221 |
+
complete : function() {
|
6222 |
+
s === "hide" && r.hide(), e.effects.restore(r, i), n()
|
6223 |
+
}
|
6224 |
+
})
|
6225 |
+
}
|
6226 |
+
})(jQuery);
|
6227 |
+
(function(e, t) {
|
6228 |
+
e.effects.effect.pulsate = function(t, n) {
|
6229 |
+
var r = e(this), i = e.effects.setMode(r, t.mode || "show"), s = i === "show", o = i === "hide", u = s || i === "hide", a = (t.times || 5) * 2 + ( u ? 1 : 0), f = t.duration / a, l = 0, c = r.queue(), h = c.length, p;
|
6230 |
+
if (s || !r.is(":visible"))
|
6231 |
+
r.css("opacity", 0).show(), l = 1;
|
6232 |
+
for ( p = 1; p < a; p++)
|
6233 |
+
r.animate({
|
6234 |
+
opacity : l
|
6235 |
+
}, f, t.easing), l = 1 - l;
|
6236 |
+
r.animate({
|
6237 |
+
opacity : l
|
6238 |
+
}, f, t.easing), r.queue(function() {
|
6239 |
+
o && r.hide(), n()
|
6240 |
+
}), h > 1 && c.splice.apply(c, [1, 0].concat(c.splice(h, a + 1))), r.dequeue()
|
6241 |
+
}
|
6242 |
+
})(jQuery);
|
6243 |
+
(function(e, t) {
|
6244 |
+
e.effects.effect.puff = function(t, n) {
|
6245 |
+
var r = e(this), i = e.effects.setMode(r, t.mode || "hide"), s = i === "hide", o = parseInt(t.percent, 10) || 150, u = o / 100, a = {
|
6246 |
+
height : r.height(),
|
6247 |
+
width : r.width()
|
6248 |
+
};
|
6249 |
+
e.extend(t, {
|
6250 |
+
effect : "scale",
|
6251 |
+
queue : !1,
|
6252 |
+
fade : !0,
|
6253 |
+
mode : i,
|
6254 |
+
complete : n,
|
6255 |
+
percent : s ? o : 100,
|
6256 |
+
from : s ? a : {
|
6257 |
+
height : a.height * u,
|
6258 |
+
width : a.width * u
|
6259 |
+
}
|
6260 |
+
}), r.effect(t)
|
6261 |
+
}, e.effects.effect.scale = function(t, n) {
|
6262 |
+
var r = e(this), i = e.extend(!0, {}, t), s = e.effects.setMode(r, t.mode || "effect"), o = parseInt(t.percent, 10) || (parseInt(t.percent, 10) === 0 ? 0 : s === "hide" ? 0 : 100), u = t.direction || "both", a = t.origin, f = {
|
6263 |
+
height : r.height(),
|
6264 |
+
width : r.width(),
|
6265 |
+
outerHeight : r.outerHeight(),
|
6266 |
+
outerWidth : r.outerWidth()
|
6267 |
+
}, l = {
|
6268 |
+
y : u !== "horizontal" ? o / 100 : 1,
|
6269 |
+
x : u !== "vertical" ? o / 100 : 1
|
6270 |
+
};
|
6271 |
+
i.effect = "size", i.queue = !1, i.complete = n, s !== "effect" && (i.origin = a || ["middle", "center"], i.restore = !0), i.from = t.from || (s === "show" ? {
|
6272 |
+
height : 0,
|
6273 |
+
width : 0
|
6274 |
+
} : f), i.to = {
|
6275 |
+
height : f.height * l.y,
|
6276 |
+
width : f.width * l.x,
|
6277 |
+
outerHeight : f.outerHeight * l.y,
|
6278 |
+
outerWidth : f.outerWidth * l.x
|
6279 |
+
}, i.fade && (s === "show" && (i.from.opacity = 0, i.to.opacity = 1), s === "hide" && (i.from.opacity = 1, i.to.opacity = 0)), r.effect(i)
|
6280 |
+
}, e.effects.effect.size = function(t, n) {
|
6281 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "width", "height", "overflow", "opacity"], s = ["position", "top", "bottom", "left", "right", "overflow", "opacity"], o = ["width", "height", "overflow"], u = ["fontSize"], a = ["borderTopWidth", "borderBottomWidth", "paddingTop", "paddingBottom"], f = ["borderLeftWidth", "borderRightWidth", "paddingLeft", "paddingRight"], l = e.effects.setMode(r, t.mode || "effect"), c = t.restore || l !== "effect", h = t.scale || "both", p = t.origin || ["middle", "center"], d, v, m, g = r.css("position");
|
6282 |
+
l === "show" && r.show(), d = {
|
6283 |
+
height : r.height(),
|
6284 |
+
width : r.width(),
|
6285 |
+
outerHeight : r.outerHeight(),
|
6286 |
+
outerWidth : r.outerWidth()
|
6287 |
+
}, r.from = t.from || d, r.to = t.to || d, m = {
|
6288 |
+
from : {
|
6289 |
+
y : r.from.height / d.height,
|
6290 |
+
x : r.from.width / d.width
|
6291 |
+
},
|
6292 |
+
to : {
|
6293 |
+
y : r.to.height / d.height,
|
6294 |
+
x : r.to.width / d.width
|
6295 |
+
}
|
6296 |
+
};
|
6297 |
+
if (h === "box" || h === "both")
|
6298 |
+
m.from.y !== m.to.y && ( i = i.concat(a), r.from = e.effects.setTransition(r, a, m.from.y, r.from), r.to = e.effects.setTransition(r, a, m.to.y, r.to)), m.from.x !== m.to.x && ( i = i.concat(f), r.from = e.effects.setTransition(r, f, m.from.x, r.from), r.to = e.effects.setTransition(r, f, m.to.x, r.to));
|
6299 |
+
(h === "content" || h === "both") && m.from.y !== m.to.y && ( i = i.concat(u), r.from = e.effects.setTransition(r, u, m.from.y, r.from), r.to = e.effects.setTransition(r, u, m.to.y, r.to)), e.effects.save(r, c ? i : s), r.show(), e.effects.createWrapper(r), r.css("overflow", "hidden").css(r.from), p && ( v = e.effects.getBaseline(p, d), r.from.top = (d.outerHeight - r.outerHeight()) * v.y, r.from.left = (d.outerWidth - r.outerWidth()) * v.x, r.to.top = (d.outerHeight - r.to.outerHeight) * v.y, r.to.left = (d.outerWidth - r.to.outerWidth) * v.x), r.css(r.from);
|
6300 |
+
if (h === "content" || h === "both")
|
6301 |
+
a = a.concat(["marginTop", "marginBottom"]).concat(u), f = f.concat(["marginLeft", "marginRight"]), o = i.concat(a).concat(f), r.find("*[width]").each(function() {
|
6302 |
+
var n = e(this), r = {
|
6303 |
+
height : n.height(),
|
6304 |
+
width : n.width()
|
6305 |
+
};
|
6306 |
+
c && e.effects.save(n, o), n.from = {
|
6307 |
+
height : r.height * m.from.y,
|
6308 |
+
width : r.width * m.from.x
|
6309 |
+
}, n.to = {
|
6310 |
+
height : r.height * m.to.y,
|
6311 |
+
width : r.width * m.to.x
|
6312 |
+
}, m.from.y !== m.to.y && (n.from = e.effects.setTransition(n, a, m.from.y, n.from), n.to = e.effects.setTransition(n, a, m.to.y, n.to)), m.from.x !== m.to.x && (n.from = e.effects.setTransition(n, f, m.from.x, n.from), n.to = e.effects.setTransition(n, f, m.to.x, n.to)), n.css(n.from), n.animate(n.to, t.duration, t.easing, function() {
|
6313 |
+
c && e.effects.restore(n, o)
|
6314 |
+
})
|
6315 |
+
});
|
6316 |
+
r.animate(r.to, {
|
6317 |
+
queue : !1,
|
6318 |
+
duration : t.duration,
|
6319 |
+
easing : t.easing,
|
6320 |
+
complete : function() {
|
6321 |
+
r.to.opacity === 0 && r.css("opacity", r.from.opacity), l === "hide" && r.hide(), e.effects.restore(r, c ? i : s), c || (g === "static" ? r.css({
|
6322 |
+
position : "relative",
|
6323 |
+
top : r.to.top,
|
6324 |
+
left : r.to.left
|
6325 |
+
}) : e.each(["top", "left"], function(e, t) {
|
6326 |
+
r.css(t, function(t, n) {
|
6327 |
+
var i = parseInt(n, 10), s = e ? r.to.left : r.to.top;
|
6328 |
+
return n === "auto" ? s + "px" : i + s + "px"
|
6329 |
+
})
|
6330 |
+
})), e.effects.removeWrapper(r), n()
|
6331 |
+
}
|
6332 |
+
})
|
6333 |
+
}
|
6334 |
+
})(jQuery);
|
6335 |
+
(function(e, t) {
|
6336 |
+
e.effects.effect.shake = function(t, n) {
|
6337 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "height", "width"], s = e.effects.setMode(r, t.mode || "effect"), o = t.direction || "left", u = t.distance || 20, a = t.times || 3, f = a * 2 + 1, l = Math.round(t.duration / f), c = o === "up" || o === "down" ? "top" : "left", h = o === "up" || o === "left", p = {}, d = {}, v = {}, m, g = r.queue(), y = g.length;
|
6338 |
+
e.effects.save(r, i), r.show(), e.effects.createWrapper(r), p[c] = ( h ? "-=" : "+=") + u, d[c] = ( h ? "+=" : "-=") + u * 2, v[c] = ( h ? "-=" : "+=") + u * 2, r.animate(p, l, t.easing);
|
6339 |
+
for ( m = 1; m < a; m++)
|
6340 |
+
r.animate(d, l, t.easing).animate(v, l, t.easing);
|
6341 |
+
r.animate(d, l, t.easing).animate(p, l / 2, t.easing).queue(function() {
|
6342 |
+
s === "hide" && r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6343 |
+
}), y > 1 && g.splice.apply(g, [1, 0].concat(g.splice(y, f + 1))), r.dequeue()
|
6344 |
+
}
|
6345 |
+
})(jQuery);
|
6346 |
+
(function(e, t) {
|
6347 |
+
e.effects.effect.slide = function(t, n) {
|
6348 |
+
var r = e(this), i = ["position", "top", "bottom", "left", "right", "width", "height"], s = e.effects.setMode(r, t.mode || "show"), o = s === "show", u = t.direction || "left", a = u === "up" || u === "down" ? "top" : "left", f = u === "up" || u === "left", l, c = {};
|
6349 |
+
e.effects.save(r, i), r.show(), l = t.distance || r[a==="top"?"outerHeight":"outerWidth"](!0), e.effects.createWrapper(r).css({
|
6350 |
+
overflow : "hidden"
|
6351 |
+
}), o && r.css(a, f ? isNaN(l) ? "-" + l : -l : l), c[a] = ( o ? f ? "+=" : "-=" : f ? "-=" : "+=") + l, r.animate(c, {
|
6352 |
+
queue : !1,
|
6353 |
+
duration : t.duration,
|
6354 |
+
easing : t.easing,
|
6355 |
+
complete : function() {
|
6356 |
+
s === "hide" && r.hide(), e.effects.restore(r, i), e.effects.removeWrapper(r), n()
|
6357 |
+
}
|
6358 |
+
})
|
6359 |
+
}
|
6360 |
+
})(jQuery);
|
6361 |
+
(function(e, t) {
|
6362 |
+
e.effects.effect.transfer = function(t, n) {
|
6363 |
+
var r = e(this), i = e(t.to), s = i.css("position") === "fixed", o = e("body"), u = s ? o.scrollTop() : 0, a = s ? o.scrollLeft() : 0, f = i.offset(), l = {
|
6364 |
+
top : f.top - u,
|
6365 |
+
left : f.left - a,
|
6366 |
+
height : i.innerHeight(),
|
6367 |
+
width : i.innerWidth()
|
6368 |
+
}, c = r.offset(), h = e('<div class="ui-effects-transfer"></div>').appendTo(document.body).addClass(t.className).css({
|
6369 |
+
top : c.top - u,
|
6370 |
+
left : c.left - a,
|
6371 |
+
height : r.innerHeight(),
|
6372 |
+
width : r.innerWidth(),
|
6373 |
+
position : s ? "fixed" : "absolute"
|
6374 |
+
}).animate(l, t.duration, t.easing, function() {
|
6375 |
+
h.remove(), n()
|
6376 |
+
})
|
6377 |
+
}
|
6378 |
+
})(jQuery);
|
{js → assets/js/plugins/bootstrap}/bootstrap-bootbox.min.js
RENAMED
File without changes
|
assets/js/plugins/bootstrap/bootstrap-colorpicker.js
ADDED
@@ -0,0 +1,541 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* =========================================================
|
2 |
+
* bootstrap-colorpicker.js
|
3 |
+
* http://www.eyecon.ro/bootstrap-colorpicker
|
4 |
+
* =========================================================
|
5 |
+
* Copyright 2012 Stefan Petre
|
6 |
+
*
|
7 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
8 |
+
* you may not use this file except in compliance with the License.
|
9 |
+
* You may obtain a copy of the License at
|
10 |
+
*
|
11 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
12 |
+
*
|
13 |
+
* Unless required by applicable law or agreed to in writing, software
|
14 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
15 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16 |
+
* See the License for the specific language governing permissions and
|
17 |
+
* limitations under the License.
|
18 |
+
* ========================================================= */
|
19 |
+
|
20 |
+
!function( $ ) {
|
21 |
+
|
22 |
+
// Color object
|
23 |
+
|
24 |
+
var Color = function(val) {
|
25 |
+
this.value = {
|
26 |
+
h: 1,
|
27 |
+
s: 1,
|
28 |
+
b: 1,
|
29 |
+
a: 1
|
30 |
+
};
|
31 |
+
this.setColor(val);
|
32 |
+
};
|
33 |
+
|
34 |
+
Color.prototype = {
|
35 |
+
constructor: Color,
|
36 |
+
|
37 |
+
//parse a string to HSB
|
38 |
+
setColor: function(val){
|
39 |
+
val = val.toLowerCase();
|
40 |
+
var that = this;
|
41 |
+
$.each( CPGlobal.stringParsers, function( i, parser ) {
|
42 |
+
var match = parser.re.exec( val ),
|
43 |
+
values = match && parser.parse( match ),
|
44 |
+
space = parser.space||'rgba';
|
45 |
+
if ( values ) {
|
46 |
+
if (space === 'hsla') {
|
47 |
+
that.value = CPGlobal.RGBtoHSB.apply(null, CPGlobal.HSLtoRGB.apply(null, values));
|
48 |
+
} else {
|
49 |
+
that.value = CPGlobal.RGBtoHSB.apply(null, values);
|
50 |
+
}
|
51 |
+
return false;
|
52 |
+
}
|
53 |
+
});
|
54 |
+
},
|
55 |
+
|
56 |
+
setHue: function(h) {
|
57 |
+
this.value.h = 1- h;
|
58 |
+
},
|
59 |
+
|
60 |
+
setSaturation: function(s) {
|
61 |
+
this.value.s = s;
|
62 |
+
},
|
63 |
+
|
64 |
+
setLightness: function(b) {
|
65 |
+
this.value.b = 1- b;
|
66 |
+
},
|
67 |
+
|
68 |
+
setAlpha: function(a) {
|
69 |
+
this.value.a = parseInt((1 - a)*100, 10)/100;
|
70 |
+
},
|
71 |
+
|
72 |
+
// HSBtoRGB from RaphaelJS
|
73 |
+
// https://github.com/DmitryBaranovskiy/raphael/
|
74 |
+
toRGB: function(h, s, b, a) {
|
75 |
+
if (!h) {
|
76 |
+
h = this.value.h;
|
77 |
+
s = this.value.s;
|
78 |
+
b = this.value.b;
|
79 |
+
}
|
80 |
+
h *= 360;
|
81 |
+
var R, G, B, X, C;
|
82 |
+
h = (h % 360) / 60;
|
83 |
+
C = b * s;
|
84 |
+
X = C * (1 - Math.abs(h % 2 - 1));
|
85 |
+
R = G = B = b - C;
|
86 |
+
|
87 |
+
h = ~~h;
|
88 |
+
R += [C, X, 0, 0, X, C][h];
|
89 |
+
G += [X, C, C, X, 0, 0][h];
|
90 |
+
B += [0, 0, X, C, C, X][h];
|
91 |
+
return {
|
92 |
+
r: Math.round(R*255),
|
93 |
+
g: Math.round(G*255),
|
94 |
+
b: Math.round(B*255),
|
95 |
+
a: a||this.value.a
|
96 |
+
};
|
97 |
+
},
|
98 |
+
|
99 |
+
toHex: function(h, s, b, a){
|
100 |
+
var rgb = this.toRGB(h, s, b, a);
|
101 |
+
return '#'+((1 << 24) | (parseInt(rgb.r) << 16) | (parseInt(rgb.g) << 8) | parseInt(rgb.b)).toString(16).substr(1);
|
102 |
+
},
|
103 |
+
|
104 |
+
toHSL: function(h, s, b, a){
|
105 |
+
if (!h) {
|
106 |
+
h = this.value.h;
|
107 |
+
s = this.value.s;
|
108 |
+
b = this.value.b;
|
109 |
+
}
|
110 |
+
var H = h,
|
111 |
+
L = (2 - s) * b,
|
112 |
+
S = s * b;
|
113 |
+
if (L > 0 && L <= 1) {
|
114 |
+
S /= L;
|
115 |
+
} else {
|
116 |
+
S /= 2 - L;
|
117 |
+
}
|
118 |
+
L /= 2;
|
119 |
+
if (S > 1) {
|
120 |
+
S = 1;
|
121 |
+
}
|
122 |
+
return {
|
123 |
+
h: H,
|
124 |
+
s: S,
|
125 |
+
l: L,
|
126 |
+
a: a||this.value.a
|
127 |
+
};
|
128 |
+
}
|
129 |
+
};
|
130 |
+
|
131 |
+
// Picker object
|
132 |
+
|
133 |
+
var Colorpicker = function(element, options){
|
134 |
+
this.element = $(element);
|
135 |
+
|
136 |
+
var format = options.format||this.element.data('color-format')||'hex';
|
137 |
+
this.format = CPGlobal.translateFormats[format];
|
138 |
+
this.isInput = this.element.is('input');
|
139 |
+
this.component = this.element.is('.color') ? this.element.find('.add-on') : false;
|
140 |
+
|
141 |
+
this.picker = $(CPGlobal.template)
|
142 |
+
.appendTo('body')
|
143 |
+
.on('mousedown', $.proxy(this.mousedown, this));
|
144 |
+
|
145 |
+
if (this.isInput) {
|
146 |
+
this.element.on({
|
147 |
+
'focus': $.proxy(this.show, this),
|
148 |
+
'keyup': $.proxy(this.update, this)
|
149 |
+
});
|
150 |
+
} else if (this.component){
|
151 |
+
this.component.on({
|
152 |
+
'click': $.proxy(this.show, this)
|
153 |
+
});
|
154 |
+
} else {
|
155 |
+
this.element.on({
|
156 |
+
'click': $.proxy(this.show, this)
|
157 |
+
});
|
158 |
+
}
|
159 |
+
if (format === 'rgba' || format === 'hsla') {
|
160 |
+
this.picker.addClass('alpha');
|
161 |
+
this.alpha = this.picker.find('.colorpicker-alpha')[0].style;
|
162 |
+
}
|
163 |
+
|
164 |
+
if (this.component){
|
165 |
+
this.picker.find('.colorpicker-color').hide();
|
166 |
+
this.preview = this.element.find('i')[0].style;
|
167 |
+
} else {
|
168 |
+
this.preview = this.picker.find('div:last')[0].style;
|
169 |
+
}
|
170 |
+
|
171 |
+
this.base = this.picker.find('div:first')[0].style;
|
172 |
+
this.update();
|
173 |
+
};
|
174 |
+
|
175 |
+
Colorpicker.prototype = {
|
176 |
+
constructor: Colorpicker,
|
177 |
+
|
178 |
+
show: function(e) {
|
179 |
+
this.picker.show();
|
180 |
+
this.height = this.component ? this.component.outerHeight() : this.element.outerHeight();
|
181 |
+
this.place();
|
182 |
+
$(window).on('resize', $.proxy(this.place, this));
|
183 |
+
if (!this.isInput) {
|
184 |
+
if (e) {
|
185 |
+
e.stopPropagation();
|
186 |
+
e.preventDefault();
|
187 |
+
}
|
188 |
+
}
|
189 |
+
$(document).on({
|
190 |
+
'mousedown': $.proxy(this.hide, this)
|
191 |
+
});
|
192 |
+
this.element.trigger({
|
193 |
+
type: 'show',
|
194 |
+
color: this.color
|
195 |
+
});
|
196 |
+
},
|
197 |
+
|
198 |
+
update: function(){
|
199 |
+
this.color = new Color(this.isInput ? this.element.prop('value') : this.element.data('color'));
|
200 |
+
this.picker.find('i')
|
201 |
+
.eq(0).css({left: this.color.value.s*100, top: 100 - this.color.value.b*100}).end()
|
202 |
+
.eq(1).css('top', 100 * (1 - this.color.value.h)).end()
|
203 |
+
.eq(2).css('top', 100 * (1 - this.color.value.a));
|
204 |
+
this.previewColor();
|
205 |
+
},
|
206 |
+
|
207 |
+
setValue: function(newColor) {
|
208 |
+
this.color = new Color(newColor);
|
209 |
+
this.picker.find('i')
|
210 |
+
.eq(0).css({left: this.color.value.s*100, top: 100 - this.color.value.b*100}).end()
|
211 |
+
.eq(1).css('top', 100 * (1 - this.color.value.h)).end()
|
212 |
+
.eq(2).css('top', 100 * (1 - this.color.value.a));
|
213 |
+
this.previewColor();
|
214 |
+
this.element.trigger({
|
215 |
+
type: 'changeColor',
|
216 |
+
color: this.color
|
217 |
+
});
|
218 |
+
},
|
219 |
+
|
220 |
+
hide: function(){
|
221 |
+
this.picker.hide();
|
222 |
+
$(window).off('resize', this.place);
|
223 |
+
if (!this.isInput) {
|
224 |
+
$(document).off({
|
225 |
+
'mousedown': this.hide
|
226 |
+
});
|
227 |
+
if (this.component){
|
228 |
+
this.element.find('input').prop('value', this.format.call(this));
|
229 |
+
}
|
230 |
+
this.element.data('color', this.format.call(this));
|
231 |
+
} else {
|
232 |
+
this.element.prop('value', this.format.call(this));
|
233 |
+
}
|
234 |
+
this.element.trigger({
|
235 |
+
type: 'hide',
|
236 |
+
color: this.color
|
237 |
+
});
|
238 |
+
},
|
239 |
+
|
240 |
+
place: function(){
|
241 |
+
var offset = this.component ? this.component.offset() : this.element.offset();
|
242 |
+
this.picker.css({
|
243 |
+
top: offset.top + this.height,
|
244 |
+
left: offset.left
|
245 |
+
});
|
246 |
+
},
|
247 |
+
|
248 |
+
//preview color change
|
249 |
+
previewColor: function(){
|
250 |
+
try {
|
251 |
+
this.preview.backgroundColor = this.format.call(this);
|
252 |
+
} catch(e) {
|
253 |
+
this.preview.backgroundColor = this.color.toHex();
|
254 |
+
}
|
255 |
+
//set the color for brightness/saturation slider
|
256 |
+
this.base.backgroundColor = this.color.toHex(this.color.value.h, 1, 1, 1);
|
257 |
+
//set te color for alpha slider
|
258 |
+
if (this.alpha) {
|
259 |
+
this.alpha.backgroundColor = this.color.toHex();
|
260 |
+
}
|
261 |
+
},
|
262 |
+
|
263 |
+
pointer: null,
|
264 |
+
|
265 |
+
slider: null,
|
266 |
+
|
267 |
+
mousedown: function(e){
|
268 |
+
e.stopPropagation();
|
269 |
+
e.preventDefault();
|
270 |
+
|
271 |
+
var target = $(e.target);
|
272 |
+
|
273 |
+
//detect the slider and set the limits and callbacks
|
274 |
+
var zone = target.closest('div');
|
275 |
+
if (!zone.is('.colorpicker')) {
|
276 |
+
if (zone.is('.colorpicker-saturation')) {
|
277 |
+
this.slider = $.extend({}, CPGlobal.sliders.saturation);
|
278 |
+
}
|
279 |
+
else if (zone.is('.colorpicker-hue')) {
|
280 |
+
this.slider = $.extend({}, CPGlobal.sliders.hue);
|
281 |
+
}
|
282 |
+
else if (zone.is('.colorpicker-alpha')) {
|
283 |
+
this.slider = $.extend({}, CPGlobal.sliders.alpha);
|
284 |
+
} else {
|
285 |
+
return false;
|
286 |
+
}
|
287 |
+
var offset = zone.offset();
|
288 |
+
//reference to knob's style
|
289 |
+
this.slider.knob = zone.find('i')[0].style;
|
290 |
+
this.slider.left = e.pageX - offset.left;
|
291 |
+
this.slider.top = e.pageY - offset.top;
|
292 |
+
this.pointer = {
|
293 |
+
left: e.pageX,
|
294 |
+
top: e.pageY
|
295 |
+
};
|
296 |
+
//trigger mousemove to move the knob to the current position
|
297 |
+
$(document).on({
|
298 |
+
mousemove: $.proxy(this.mousemove, this),
|
299 |
+
mouseup: $.proxy(this.mouseup, this)
|
300 |
+
}).trigger('mousemove');
|
301 |
+
}
|
302 |
+
return false;
|
303 |
+
},
|
304 |
+
|
305 |
+
mousemove: function(e){
|
306 |
+
e.stopPropagation();
|
307 |
+
e.preventDefault();
|
308 |
+
var left = Math.max(
|
309 |
+
0,
|
310 |
+
Math.min(
|
311 |
+
this.slider.maxLeft,
|
312 |
+
this.slider.left + ((e.pageX||this.pointer.left) - this.pointer.left)
|
313 |
+
)
|
314 |
+
);
|
315 |
+
var top = Math.max(
|
316 |
+
0,
|
317 |
+
Math.min(
|
318 |
+
this.slider.maxTop,
|
319 |
+
this.slider.top + ((e.pageY||this.pointer.top) - this.pointer.top)
|
320 |
+
)
|
321 |
+
);
|
322 |
+
this.slider.knob.left = left + 'px';
|
323 |
+
this.slider.knob.top = top + 'px';
|
324 |
+
if (this.slider.callLeft) {
|
325 |
+
this.color[this.slider.callLeft].call(this.color, left/100);
|
326 |
+
}
|
327 |
+
if (this.slider.callTop) {
|
328 |
+
this.color[this.slider.callTop].call(this.color, top/100);
|
329 |
+
}
|
330 |
+
this.previewColor();
|
331 |
+
this.element.trigger({
|
332 |
+
type: 'changeColor',
|
333 |
+
color: this.color
|
334 |
+
});
|
335 |
+
return false;
|
336 |
+
},
|
337 |
+
|
338 |
+
mouseup: function(e){
|
339 |
+
e.stopPropagation();
|
340 |
+
e.preventDefault();
|
341 |
+
$(document).off({
|
342 |
+
mousemove: this.mousemove,
|
343 |
+
mouseup: this.mouseup
|
344 |
+
});
|
345 |
+
return false;
|
346 |
+
}
|
347 |
+
}
|
348 |
+
|
349 |
+
$.fn.colorpicker = function ( option ) {
|
350 |
+
return this.each(function () {
|
351 |
+
var $this = $(this),
|
352 |
+
data = $this.data('colorpicker'),
|
353 |
+
options = typeof option === 'object' && option;
|
354 |
+
if (!data) {
|
355 |
+
$this.data('colorpicker', (data = new Colorpicker(this, $.extend({}, $.fn.colorpicker.defaults,options))));
|
356 |
+
}
|
357 |
+
if (typeof option === 'string') data[option]();
|
358 |
+
});
|
359 |
+
};
|
360 |
+
|
361 |
+
$.fn.colorpicker.defaults = {
|
362 |
+
};
|
363 |
+
|
364 |
+
$.fn.colorpicker.Constructor = Colorpicker;
|
365 |
+
|
366 |
+
var CPGlobal = {
|
367 |
+
|
368 |
+
// translate a format from Color object to a string
|
369 |
+
translateFormats: {
|
370 |
+
'rgb': function(){
|
371 |
+
var rgb = this.color.toRGB();
|
372 |
+
return 'rgb('+rgb.r+','+rgb.g+','+rgb.b+')';
|
373 |
+
},
|
374 |
+
|
375 |
+
'rgba': function(){
|
376 |
+
var rgb = this.color.toRGB();
|
377 |
+
return 'rgba('+rgb.r+','+rgb.g+','+rgb.b+','+rgb.a+')';
|
378 |
+
},
|
379 |
+
|
380 |
+
'hsl': function(){
|
381 |
+
var hsl = this.color.toHSL();
|
382 |
+
return 'hsl('+Math.round(hsl.h*360)+','+Math.round(hsl.s*100)+'%,'+Math.round(hsl.l*100)+'%)';
|
383 |
+
},
|
384 |
+
|
385 |
+
'hsla': function(){
|
386 |
+
var hsl = this.color.toHSL();
|
387 |
+
return 'hsla('+Math.round(hsl.h*360)+','+Math.round(hsl.s*100)+'%,'+Math.round(hsl.l*100)+'%,'+hsl.a+')';
|
388 |
+
},
|
389 |
+
|
390 |
+
'hex': function(){
|
391 |
+
return this.color.toHex();
|
392 |
+
}
|
393 |
+
},
|
394 |
+
|
395 |
+
sliders: {
|
396 |
+
saturation: {
|
397 |
+
maxLeft: 100,
|
398 |
+
maxTop: 100,
|
399 |
+
callLeft: 'setSaturation',
|
400 |
+
callTop: 'setLightness'
|
401 |
+
},
|
402 |
+
|
403 |
+
hue: {
|
404 |
+
maxLeft: 0,
|
405 |
+
maxTop: 100,
|
406 |
+
callLeft: false,
|
407 |
+
callTop: 'setHue'
|
408 |
+
},
|
409 |
+
|
410 |
+
alpha: {
|
411 |
+
maxLeft: 0,
|
412 |
+
maxTop: 100,
|
413 |
+
callLeft: false,
|
414 |
+
callTop: 'setAlpha'
|
415 |
+
}
|
416 |
+
},
|
417 |
+
|
418 |
+
// HSBtoRGB from RaphaelJS
|
419 |
+
// https://github.com/DmitryBaranovskiy/raphael/
|
420 |
+
RGBtoHSB: function (r, g, b, a){
|
421 |
+
r /= 255;
|
422 |
+
g /= 255;
|
423 |
+
b /= 255;
|
424 |
+
|
425 |
+
var H, S, V, C;
|
426 |
+
V = Math.max(r, g, b);
|
427 |
+
C = V - Math.min(r, g, b);
|
428 |
+
H = (C === 0 ? null :
|
429 |
+
V == r ? (g - b) / C :
|
430 |
+
V == g ? (b - r) / C + 2 :
|
431 |
+
(r - g) / C + 4
|
432 |
+
);
|
433 |
+
H = ((H + 360) % 6) * 60 / 360;
|
434 |
+
S = C === 0 ? 0 : C / V;
|
435 |
+
return {h: H||1, s: S, b: V, a: a||1};
|
436 |
+
},
|
437 |
+
|
438 |
+
HueToRGB: function (p, q, h) {
|
439 |
+
if (h < 0)
|
440 |
+
h += 1;
|
441 |
+
else if (h > 1)
|
442 |
+
h -= 1;
|
443 |
+
|
444 |
+
if ((h * 6) < 1)
|
445 |
+
return p + (q - p) * h * 6;
|
446 |
+
else if ((h * 2) < 1)
|
447 |
+
return q;
|
448 |
+
else if ((h * 3) < 2)
|
449 |
+
return p + (q - p) * ((2 / 3) - h) * 6;
|
450 |
+
else
|
451 |
+
return p;
|
452 |
+
},
|
453 |
+
|
454 |
+
HSLtoRGB: function (h, s, l, a)
|
455 |
+
{
|
456 |
+
if (s < 0) {
|
457 |
+
s = 0;
|
458 |
+
}
|
459 |
+
var q;
|
460 |
+
if (l <= 0.5) {
|
461 |
+
q = l * (1 + s);
|
462 |
+
} else {
|
463 |
+
q = l + s - (l * s);
|
464 |
+
}
|
465 |
+
|
466 |
+
var p = 2 * l - q;
|
467 |
+
|
468 |
+
var tr = h + (1 / 3);
|
469 |
+
var tg = h;
|
470 |
+
var tb = h - (1 / 3);
|
471 |
+
|
472 |
+
var r = Math.round(CPGlobal.HueToRGB(p, q, tr) * 255);
|
473 |
+
var g = Math.round(CPGlobal.HueToRGB(p, q, tg) * 255);
|
474 |
+
var b = Math.round(CPGlobal.HueToRGB(p, q, tb) * 255);
|
475 |
+
return [r, g, b, a||1];
|
476 |
+
},
|
477 |
+
|
478 |
+
// a set of RE's that can match strings and generate color tuples.
|
479 |
+
// from John Resig color plugin
|
480 |
+
// https://github.com/jquery/jquery-color/
|
481 |
+
stringParsers: [
|
482 |
+
{
|
483 |
+
re: /rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
484 |
+
parse: function( execResult ) {
|
485 |
+
return [
|
486 |
+
execResult[ 1 ],
|
487 |
+
execResult[ 2 ],
|
488 |
+
execResult[ 3 ],
|
489 |
+
execResult[ 4 ]
|
490 |
+
];
|
491 |
+
}
|
492 |
+
}, {
|
493 |
+
re: /rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
494 |
+
parse: function( execResult ) {
|
495 |
+
return [
|
496 |
+
2.55 * execResult[1],
|
497 |
+
2.55 * execResult[2],
|
498 |
+
2.55 * execResult[3],
|
499 |
+
execResult[ 4 ]
|
500 |
+
];
|
501 |
+
}
|
502 |
+
}, {
|
503 |
+
re: /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,
|
504 |
+
parse: function( execResult ) {
|
505 |
+
return [
|
506 |
+
parseInt( execResult[ 1 ], 16 ),
|
507 |
+
parseInt( execResult[ 2 ], 16 ),
|
508 |
+
parseInt( execResult[ 3 ], 16 )
|
509 |
+
];
|
510 |
+
}
|
511 |
+
}, {
|
512 |
+
re: /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,
|
513 |
+
parse: function( execResult ) {
|
514 |
+
return [
|
515 |
+
parseInt( execResult[ 1 ] + execResult[ 1 ], 16 ),
|
516 |
+
parseInt( execResult[ 2 ] + execResult[ 2 ], 16 ),
|
517 |
+
parseInt( execResult[ 3 ] + execResult[ 3 ], 16 )
|
518 |
+
];
|
519 |
+
}
|
520 |
+
}, {
|
521 |
+
re: /hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,
|
522 |
+
space: 'hsla',
|
523 |
+
parse: function( execResult ) {
|
524 |
+
return [
|
525 |
+
execResult[1]/360,
|
526 |
+
execResult[2] / 100,
|
527 |
+
execResult[3] / 100,
|
528 |
+
execResult[4]
|
529 |
+
];
|
530 |
+
}
|
531 |
+
}
|
532 |
+
],
|
533 |
+
template: '<div class="colorpicker dropdown-menu">'+
|
534 |
+
'<div class="colorpicker-saturation"><i><b></b></i></div>'+
|
535 |
+
'<div class="colorpicker-hue"><i></i></div>'+
|
536 |
+
'<div class="colorpicker-alpha"><i></i></div>'+
|
537 |
+
'<div class="colorpicker-color"><div /></div>'+
|
538 |
+
'</div>'
|
539 |
+
};
|
540 |
+
|
541 |
+
}( window.jQuery )
|
assets/js/plugins/bootstrap/bootstrap-progressbar.js
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* ========================================================
|
2 |
+
* bootstrap-progressbar v0.5.0
|
3 |
+
* ========================================================
|
4 |
+
* Copyright 2012 minddust.com
|
5 |
+
*
|
6 |
+
* bootstrap-progressbar is published under Apache License,
|
7 |
+
* Version 2.0 (see LICENSE file).
|
8 |
+
*
|
9 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
+
* ======================================================== */
|
11 |
+
|
12 |
+
(function($) {
|
13 |
+
|
14 |
+
"use strict";
|
15 |
+
|
16 |
+
/* PROGRESSBAR CLASS DEFINITION
|
17 |
+
* ============================ */
|
18 |
+
|
19 |
+
var Progressbar = function (element, options) {
|
20 |
+
this.element = $(element);
|
21 |
+
this.options = $.extend({}, $.fn.progressbar.defaults, options);
|
22 |
+
};
|
23 |
+
|
24 |
+
Progressbar.prototype = {
|
25 |
+
|
26 |
+
constructor: Progressbar,
|
27 |
+
|
28 |
+
transition: function() {
|
29 |
+
var $this = this.element,
|
30 |
+
$parent = $this.parent(),
|
31 |
+
$back = this.back,
|
32 |
+
$front = this.front,
|
33 |
+
options = this.options,
|
34 |
+
percentage = $this.attr('data-percentage'),
|
35 |
+
amount_part = $this.attr('data-amount-part'),
|
36 |
+
amount_total = $this.attr('data-amount-total'),
|
37 |
+
is_vertical,
|
38 |
+
update,
|
39 |
+
done,
|
40 |
+
fail;
|
41 |
+
|
42 |
+
is_vertical = $parent.hasClass('vertical');
|
43 |
+
|
44 |
+
update = (options.update && typeof(options.update) === 'function') ? options.update : $.fn.progressbar.defaults.update;
|
45 |
+
done = (options.done && typeof(options.done) === 'function') ? options.done : $.fn.progressbar.defaults.done;
|
46 |
+
fail = (options.fail && typeof(options.fail) === 'function') ? options.fail : $.fn.progressbar.defaults.fail;
|
47 |
+
|
48 |
+
if (options.use_percentage && !percentage) {
|
49 |
+
fail("bootstrap-progressbar: you can't use percentage without data-percentage being set");
|
50 |
+
return;
|
51 |
+
}
|
52 |
+
else if (!options.use_percentage) {
|
53 |
+
if (!amount_part && !amount_total) {
|
54 |
+
fail("bootstrap-progressbar: you can't use values without data-amount-part and data-amount-total being set");
|
55 |
+
return;
|
56 |
+
}
|
57 |
+
else {
|
58 |
+
percentage = Math.round(100 * amount_part / amount_total);
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
if (options.display_text === $.fn.progressbar.display_text.center && !$front && !$back) {
|
63 |
+
this.back = $back = $('<span>').addClass('progressbar-back-text');
|
64 |
+
this.front = $front = $('<span>').addClass('progressbar-front-text');
|
65 |
+
|
66 |
+
$parent.prepend($back);
|
67 |
+
$this.prepend($front);
|
68 |
+
|
69 |
+
var parent_size;
|
70 |
+
|
71 |
+
if (is_vertical) {
|
72 |
+
parent_size = $parent.css('height');
|
73 |
+
$back.css('height', parent_size);
|
74 |
+
$back.css('line-height', parent_size);
|
75 |
+
$front.css('height', parent_size);
|
76 |
+
$front.css('line-height', parent_size);
|
77 |
+
|
78 |
+
$(window).resize(function() {
|
79 |
+
parent_size = $parent.css('height');
|
80 |
+
$back.css('height', parent_size);
|
81 |
+
$back.css('line-height', parent_size);
|
82 |
+
$front.css('height', parent_size);
|
83 |
+
$front.css('line-height', parent_size);
|
84 |
+
}); // normal resizing would brick the structure because width is in px
|
85 |
+
}
|
86 |
+
else {
|
87 |
+
parent_size = $parent.css('width');
|
88 |
+
$front.css('width', parent_size);
|
89 |
+
|
90 |
+
$(window).resize(function() {
|
91 |
+
parent_size = $parent.css('width');
|
92 |
+
$front.css('width', parent_size);
|
93 |
+
}); // normal resizing would brick the structure because width is in px
|
94 |
+
}
|
95 |
+
}
|
96 |
+
|
97 |
+
setTimeout(function() {
|
98 |
+
var current_percentage,
|
99 |
+
current_value,
|
100 |
+
this_size,
|
101 |
+
parent_size,
|
102 |
+
text;
|
103 |
+
|
104 |
+
if (is_vertical) {
|
105 |
+
$this.css('height', percentage+'%');
|
106 |
+
}
|
107 |
+
else {
|
108 |
+
$this.css('width', percentage+'%');
|
109 |
+
}
|
110 |
+
|
111 |
+
var progress = setInterval(function() {
|
112 |
+
if (is_vertical) {
|
113 |
+
this_size = $this.height();
|
114 |
+
parent_size = $parent.height();
|
115 |
+
}
|
116 |
+
else {
|
117 |
+
this_size = $this.width();
|
118 |
+
parent_size = $parent.width();
|
119 |
+
}
|
120 |
+
|
121 |
+
current_percentage = Math.round(100 * this_size / parent_size);
|
122 |
+
current_value = Math.round(this_size / parent_size * amount_total);
|
123 |
+
|
124 |
+
if (current_percentage >= percentage) {
|
125 |
+
current_percentage = percentage;
|
126 |
+
current_value = amount_part;
|
127 |
+
done();
|
128 |
+
clearInterval(progress);
|
129 |
+
}
|
130 |
+
|
131 |
+
if (options.display_text !== $.fn.progressbar.display_text.none) {
|
132 |
+
text = options.use_percentage ? (current_percentage +'%') : (current_value + ' / ' + amount_total);
|
133 |
+
|
134 |
+
if (options.display_text === $.fn.progressbar.display_text.filled){
|
135 |
+
$this.text(text);
|
136 |
+
}
|
137 |
+
else if (options.display_text === $.fn.progressbar.display_text.center) {
|
138 |
+
$back.text(text);
|
139 |
+
$front.text(text);
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
update(current_percentage);
|
144 |
+
}, options.refresh_speed);
|
145 |
+
}, options.transition_delay);
|
146 |
+
}
|
147 |
+
};
|
148 |
+
|
149 |
+
/* PROGRESSBAR PLUGIN DEFINITION
|
150 |
+
* ============================= */
|
151 |
+
|
152 |
+
$.fn.progressbar = function (option) {
|
153 |
+
return this.each(function () {
|
154 |
+
var $this = $(this),
|
155 |
+
data = $this.data('progressbar'),
|
156 |
+
options = typeof option === 'object' && option;
|
157 |
+
if (!data) {
|
158 |
+
$this.data('progressbar', (data = new Progressbar(this, options)));
|
159 |
+
}
|
160 |
+
if (typeof option === 'string') {
|
161 |
+
data[option]();
|
162 |
+
}
|
163 |
+
data.transition();
|
164 |
+
});
|
165 |
+
};
|
166 |
+
|
167 |
+
$.fn.progressbar.display_text = {
|
168 |
+
none: 0,
|
169 |
+
filled: 1,
|
170 |
+
center: 2
|
171 |
+
};
|
172 |
+
|
173 |
+
$.fn.progressbar.defaults = {
|
174 |
+
transition_delay: 300,
|
175 |
+
refresh_speed: 50,
|
176 |
+
display_text: $.fn.progressbar.display_text.none,
|
177 |
+
use_percentage: true,
|
178 |
+
update: $.noop,
|
179 |
+
done: $.noop,
|
180 |
+
fail: $.noop
|
181 |
+
};
|
182 |
+
|
183 |
+
$.fn.progressbar.Constructor = Progressbar;
|
184 |
+
|
185 |
+
})(window.jQuery);
|
{js → assets/js/plugins/bootstrap}/bootstrap.min.js
RENAMED
File without changes
|
assets/js/plugins/forms/jquery.ibutton.js
ADDED
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* iButton jQuery Plug-in
|
3 |
+
*
|
4 |
+
* Copyright 2011 Giva, Inc. (http://www.givainc.com/labs/)
|
5 |
+
*
|
6 |
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
7 |
+
* you may not use this file except in compliance with the License.
|
8 |
+
* You may obtain a copy of the License at
|
9 |
+
*
|
10 |
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11 |
+
*
|
12 |
+
* Unless required by applicable law or agreed to in writing, software
|
13 |
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
14 |
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15 |
+
* See the License for the specific language governing permissions and
|
16 |
+
* limitations under the License.
|
17 |
+
*
|
18 |
+
* Date: 2011-07-26
|
19 |
+
* Rev: 1.0.03
|
20 |
+
*/
|
21 |
+
;(function($){
|
22 |
+
// set default options
|
23 |
+
$.iButton = {
|
24 |
+
version: "1.0.03",
|
25 |
+
setDefaults: function(options){
|
26 |
+
$.extend(defaults, options);
|
27 |
+
}
|
28 |
+
};
|
29 |
+
|
30 |
+
$.fn.iButton = function(options) {
|
31 |
+
var method = typeof arguments[0] == "string" && arguments[0];
|
32 |
+
var args = method && Array.prototype.slice.call(arguments, 1) || arguments;
|
33 |
+
// get a reference to the first iButton found
|
34 |
+
var self = (this.length == 0) ? null : $.data(this[0], "iButton");
|
35 |
+
|
36 |
+
// if a method is supplied, execute it for non-empty results
|
37 |
+
if( self && method && this.length ){
|
38 |
+
|
39 |
+
// if request a copy of the object, return it
|
40 |
+
if( method.toLowerCase() == "object" ) return self;
|
41 |
+
// if method is defined, run it and return either it's results or the chain
|
42 |
+
else if( self[method] ){
|
43 |
+
// define a result variable to return to the jQuery chain
|
44 |
+
var result;
|
45 |
+
this.each(function (i){
|
46 |
+
// apply the method to the current element
|
47 |
+
var r = $.data(this, "iButton")[method].apply(self, args);
|
48 |
+
// if first iteration we need to check if we're done processing or need to add it to the jquery chain
|
49 |
+
if( i == 0 && r ){
|
50 |
+
// if this is a jQuery item, we need to store them in a collection
|
51 |
+
if( !!r.jquery ){
|
52 |
+
result = $([]).add(r);
|
53 |
+
// otherwise, just store the result and stop executing
|
54 |
+
} else {
|
55 |
+
result = r;
|
56 |
+
// since we're a non-jQuery item, just cancel processing further items
|
57 |
+
return false;
|
58 |
+
}
|
59 |
+
// keep adding jQuery objects to the results
|
60 |
+
} else if( !!r && !!r.jquery ){
|
61 |
+
result = result.add(r);
|
62 |
+
}
|
63 |
+
});
|
64 |
+
|
65 |
+
// return either the results (which could be a jQuery object) or the original chain
|
66 |
+
return result || this;
|
67 |
+
// everything else, return the chain
|
68 |
+
} else return this;
|
69 |
+
// initializing request (only do if iButton not already initialized)
|
70 |
+
} else {
|
71 |
+
// create a new iButton for each object found
|
72 |
+
return this.each(function (){
|
73 |
+
new iButton(this, options);
|
74 |
+
});
|
75 |
+
};
|
76 |
+
};
|
77 |
+
|
78 |
+
// count instances
|
79 |
+
var counter = 0;
|
80 |
+
// detect iPhone
|
81 |
+
$.browser.iphone = (navigator.userAgent.toLowerCase().indexOf("iphone") > -1);
|
82 |
+
|
83 |
+
var iButton = function (input, options){
|
84 |
+
var self = this
|
85 |
+
, $input = $(input)
|
86 |
+
, id = ++counter
|
87 |
+
, disabled = false
|
88 |
+
, width = {}
|
89 |
+
, mouse = {dragging: false, clicked: null}
|
90 |
+
, dragStart = {position: null, offset: null, time: null }
|
91 |
+
// make a copy of the options and use the metadata if provided
|
92 |
+
, options = $.extend({}, defaults, options, (!!$.metadata ? $input.metadata() : {}))
|
93 |
+
// check to see if we're using the default labels
|
94 |
+
, bDefaultLabelsUsed = (options.labelOn == ON && options.labelOff == OFF)
|
95 |
+
// set valid field types
|
96 |
+
, allow = ":checkbox, :radio";
|
97 |
+
|
98 |
+
// only do for checkboxes buttons, if matches inside that node
|
99 |
+
if( !$input.is(allow) ) return $input.find(allow).iButton(options);
|
100 |
+
// if iButton already exists, stop processing
|
101 |
+
else if($.data($input[0], "iButton") ) return;
|
102 |
+
|
103 |
+
// store a reference to this marquee
|
104 |
+
$.data($input[0], "iButton", self);
|
105 |
+
|
106 |
+
// if using the "auto" setting, then don't resize handle or container if using the default label (since we'll trust the CSS)
|
107 |
+
if( options.resizeHandle == "auto" ) options.resizeHandle = !bDefaultLabelsUsed;
|
108 |
+
if( options.resizeContainer == "auto" ) options.resizeContainer = !bDefaultLabelsUsed;
|
109 |
+
|
110 |
+
// toggles the state of a button (or can turn on/off)
|
111 |
+
this.toggle = function (t){
|
112 |
+
var toggle = (arguments.length > 0) ? t : !$input[0].checked;
|
113 |
+
$input.attr("checked", toggle).trigger("change");
|
114 |
+
};
|
115 |
+
|
116 |
+
// disable/enable the control
|
117 |
+
this.disable = function (t){
|
118 |
+
var toggle = (arguments.length > 0) ? t : !disabled;
|
119 |
+
// mark the control disabled
|
120 |
+
disabled = toggle;
|
121 |
+
// mark the input disabled
|
122 |
+
$input.attr("disabled", toggle);
|
123 |
+
// set the diabled styles
|
124 |
+
$container[toggle ? "addClass" : "removeClass"](options.classDisabled);
|
125 |
+
// run callback
|
126 |
+
if( $.isFunction(options.disable) ) options.disable.apply(self, [disabled, $input, options]);
|
127 |
+
};
|
128 |
+
|
129 |
+
// repaint the button
|
130 |
+
this.repaint = function (){
|
131 |
+
positionHandle();
|
132 |
+
};
|
133 |
+
|
134 |
+
// this will destroy the iButton style
|
135 |
+
this.destroy = function (){
|
136 |
+
// remove behaviors
|
137 |
+
$([$input[0], $container[0]]).unbind(".iButton");
|
138 |
+
$(document).unbind(".iButton_" + id);
|
139 |
+
// move the checkbox to it's original location
|
140 |
+
$container.after($input).remove();
|
141 |
+
// kill the reference
|
142 |
+
$.data($input[0], "iButton", null);
|
143 |
+
// run callback
|
144 |
+
if( $.isFunction(options.destroy) ) options.destroy.apply(self, [$input, options]);
|
145 |
+
};
|
146 |
+
|
147 |
+
$input
|
148 |
+
// create the wrapper code
|
149 |
+
.wrap('<div class="' + $.trim(options.classContainer + ' ' + options.className) + '" />')
|
150 |
+
.after(
|
151 |
+
'<div class="' + options.classHandle + '"><div class="' + options.classHandleRight + '"><div class="' + options.classHandleMiddle + '" /></div></div>'
|
152 |
+
+ '<div class="' + options.classLabelOff + '"><span><label>'+ options.labelOff + '</label></span></div>'
|
153 |
+
+ '<div class="' + options.classLabelOn + '"><span><label>' + options.labelOn + '</label></span></div>'
|
154 |
+
+ '<div class="' + options.classPaddingLeft + '"></div><div class="' + options.classPaddingRight + '"></div>'
|
155 |
+
);
|
156 |
+
|
157 |
+
var $container = $input.parent()
|
158 |
+
, $handle = $input.siblings("." + options.classHandle)
|
159 |
+
, $offlabel = $input.siblings("." + options.classLabelOff)
|
160 |
+
, $offspan = $offlabel.children("span")
|
161 |
+
, $onlabel = $input.siblings("." + options.classLabelOn)
|
162 |
+
, $onspan = $onlabel.children("span");
|
163 |
+
|
164 |
+
|
165 |
+
// if we need to do some resizing, get the widths only once
|
166 |
+
if( options.resizeHandle || options.resizeContainer ){
|
167 |
+
width.onspan = $onspan.outerWidth();
|
168 |
+
width.offspan = $offspan.outerWidth();
|
169 |
+
}
|
170 |
+
|
171 |
+
// automatically resize the handle
|
172 |
+
if( options.resizeHandle ){
|
173 |
+
width.handle = Math.min(width.onspan, width.offspan);
|
174 |
+
$handle.css("width", width.handle);
|
175 |
+
} else {
|
176 |
+
width.handle = $handle.width();
|
177 |
+
}
|
178 |
+
|
179 |
+
// automatically resize the control
|
180 |
+
if( options.resizeContainer ){
|
181 |
+
width.container = (Math.max(width.onspan, width.offspan) + width.handle + 16);
|
182 |
+
$container.css("width", width.container);
|
183 |
+
// adjust the off label to match the new container size
|
184 |
+
$offlabel.css("width", width.container - 5);
|
185 |
+
} else {
|
186 |
+
width.container = $container.width();
|
187 |
+
}
|
188 |
+
|
189 |
+
var handleRight = width.container - width.handle - 6;
|
190 |
+
|
191 |
+
var positionHandle = function (animate){
|
192 |
+
var checked = $input[0].checked
|
193 |
+
, x = (checked) ? handleRight : 0
|
194 |
+
, animate = (arguments.length > 0) ? arguments[0] : true;
|
195 |
+
|
196 |
+
if( animate && options.enableFx ){
|
197 |
+
$handle.stop().animate({left: x}, options.duration, options.easing);
|
198 |
+
$onlabel.stop().animate({width: x + 0}, options.duration, options.easing);
|
199 |
+
$onspan.stop().animate({marginLeft: x - handleRight}, options.duration, options.easing);
|
200 |
+
$offspan.stop().animate({marginRight: -x}, options.duration, options.easing);
|
201 |
+
} else {
|
202 |
+
$handle.css("left", x);
|
203 |
+
$onlabel.css("width", x + 0);
|
204 |
+
$onspan.css("marginLeft", x - handleRight);
|
205 |
+
$offspan.css("marginRight", -x);
|
206 |
+
}
|
207 |
+
};
|
208 |
+
|
209 |
+
// place the buttons in their default location
|
210 |
+
positionHandle(false);
|
211 |
+
|
212 |
+
var getDragPos = function(e){
|
213 |
+
return e.pageX || ((e.originalEvent.changedTouches) ? e.originalEvent.changedTouches[0].pageX : 0);
|
214 |
+
};
|
215 |
+
|
216 |
+
// monitor mouse clicks in the container
|
217 |
+
$container.bind("mousedown.iButton touchstart.iButton", function(e) {
|
218 |
+
// abort if disabled or allow clicking the input to toggle the status (if input is visible)
|
219 |
+
if( $(e.target).is(allow) || disabled || (!options.allowRadioUncheck && $input.is(":radio:checked")) ) return;
|
220 |
+
|
221 |
+
e.preventDefault();
|
222 |
+
mouse.clicked = $handle;
|
223 |
+
dragStart.position = getDragPos(e);
|
224 |
+
dragStart.offset = dragStart.position - (parseInt($handle.css("left"), 10) || 0);
|
225 |
+
dragStart.time = (new Date()).getTime();
|
226 |
+
return false;
|
227 |
+
});
|
228 |
+
|
229 |
+
// make sure dragging support is enabled
|
230 |
+
if( options.enableDrag ){
|
231 |
+
// monitor mouse movement on the page
|
232 |
+
$(document).bind("mousemove.iButton_" + id + " touchmove.iButton_" + id, function(e) {
|
233 |
+
// if we haven't clicked on the container, cancel event
|
234 |
+
if( mouse.clicked != $handle ){ return }
|
235 |
+
e.preventDefault();
|
236 |
+
|
237 |
+
var x = getDragPos(e);
|
238 |
+
if( x != dragStart.offset ){
|
239 |
+
mouse.dragging = true;
|
240 |
+
$container.addClass(options.classHandleActive);
|
241 |
+
}
|
242 |
+
|
243 |
+
// make sure number is between 0 and 1
|
244 |
+
var pct = Math.min(1, Math.max(0, (x - dragStart.offset) / handleRight));
|
245 |
+
|
246 |
+
$handle.css("left", pct * handleRight);
|
247 |
+
$onlabel.css("width", pct * handleRight + 4);
|
248 |
+
$offspan.css("marginRight", -pct * handleRight);
|
249 |
+
$onspan.css("marginLeft", -(1 - pct) * handleRight);
|
250 |
+
|
251 |
+
return false;
|
252 |
+
});
|
253 |
+
}
|
254 |
+
|
255 |
+
// monitor when the mouse button is released
|
256 |
+
$(document).bind("mouseup.iButton_" + id + " touchend.iButton_" + id, function(e) {
|
257 |
+
if( mouse.clicked != $handle ){ return false }
|
258 |
+
e.preventDefault();
|
259 |
+
|
260 |
+
// track if the value has changed
|
261 |
+
var changed = true;
|
262 |
+
|
263 |
+
// if not dragging or click time under a certain millisecond, then just toggle
|
264 |
+
if( !mouse.dragging || (((new Date()).getTime() - dragStart.time) < options.clickOffset ) ){
|
265 |
+
var checked = $input[0].checked;
|
266 |
+
$input.attr("checked", !checked);
|
267 |
+
|
268 |
+
// run callback
|
269 |
+
if( $.isFunction(options.click) ) options.click.apply(self, [!checked, $input, options]);
|
270 |
+
} else {
|
271 |
+
var x = getDragPos(e);
|
272 |
+
|
273 |
+
var pct = (x - dragStart.offset) / handleRight;
|
274 |
+
var checked = (pct >= 0.5);
|
275 |
+
|
276 |
+
// if the value is the same, don't run change event
|
277 |
+
if( $input[0].checked == checked ) changed = false;
|
278 |
+
|
279 |
+
$input.attr("checked", checked);
|
280 |
+
}
|
281 |
+
|
282 |
+
// remove the active handler class
|
283 |
+
$container.removeClass(options.classHandleActive);
|
284 |
+
mouse.clicked = null;
|
285 |
+
mouse.dragging = null;
|
286 |
+
// run any change event for the element
|
287 |
+
if( changed ) $input.trigger("change");
|
288 |
+
// if the value didn't change, just reset the handle
|
289 |
+
else positionHandle();
|
290 |
+
|
291 |
+
return false;
|
292 |
+
});
|
293 |
+
|
294 |
+
// animate when we get a change event
|
295 |
+
$input
|
296 |
+
.bind("change.iButton", function (){
|
297 |
+
// move handle
|
298 |
+
positionHandle();
|
299 |
+
|
300 |
+
// if a radio element, then we must repaint the other elements in it's group to show them as not selected
|
301 |
+
if( $input.is(":radio") ){
|
302 |
+
var el = $input[0];
|
303 |
+
|
304 |
+
// try to use the DOM to get the grouped elements, but if not in a form get by name attr
|
305 |
+
var $radio = $(el.form ? el.form[el.name] : ":radio[name=" + el.name + "]");
|
306 |
+
|
307 |
+
// repaint the radio elements that are not checked
|
308 |
+
$radio.filter(":not(:checked)").iButton("repaint");
|
309 |
+
}
|
310 |
+
|
311 |
+
// run callback
|
312 |
+
if( $.isFunction(options.change) ) options.change.apply(self, [$input, options]);
|
313 |
+
})
|
314 |
+
// if the element has focus, we need to highlight the container
|
315 |
+
.bind("focus.iButton", function (){
|
316 |
+
$container.addClass(options.classFocus);
|
317 |
+
})
|
318 |
+
// if the element has focus, we need to highlight the container
|
319 |
+
.bind("blur.iButton", function (){
|
320 |
+
$container.removeClass(options.classFocus);
|
321 |
+
});
|
322 |
+
|
323 |
+
// if a click event is registered, we must register on the checkbox so it's fired if triggered on the checkbox itself
|
324 |
+
if( $.isFunction(options.click) ){
|
325 |
+
$input.bind("click.iButton", function (){
|
326 |
+
options.click.apply(self, [$input[0].checked, $input, options]);
|
327 |
+
});
|
328 |
+
}
|
329 |
+
|
330 |
+
// if the field is disabled, mark it as such
|
331 |
+
if( $input.is(":disabled") ) this.disable(true);
|
332 |
+
|
333 |
+
// special behaviors for IE
|
334 |
+
if( $.browser.msie ){
|
335 |
+
// disable text selection in IE, other browsers are controlled via CSS
|
336 |
+
$container.find("*").andSelf().attr("unselectable", "on");
|
337 |
+
// IE needs to register to the "click" event to make changes immediately (the change event only occurs on blur)
|
338 |
+
$input.bind("click.iButton", function (){ $input.triggerHandler("change.iButton"); });
|
339 |
+
}
|
340 |
+
|
341 |
+
// run the init callback
|
342 |
+
if( $.isFunction(options.init) ) options.init.apply(self, [$input, options]);
|
343 |
+
};
|
344 |
+
|
345 |
+
var defaults = {
|
346 |
+
duration: 100 // the speed of the animation
|
347 |
+
, easing: "swing" // the easing animation to use
|
348 |
+
, labelOn: "ON" // the text to show when toggled on
|
349 |
+
, labelOff: "OFF" // the text to show when toggled off
|
350 |
+
, resizeHandle: "auto" // determines if handle should be resized
|
351 |
+
, resizeContainer: "auto" // determines if container should be resized
|
352 |
+
, enableDrag: true // determines if we allow dragging
|
353 |
+
, enableFx: true // determines if we show animation
|
354 |
+
, allowRadioUncheck: false // determine if a radio button should be able to be unchecked
|
355 |
+
, clickOffset: 120 // if millseconds between a mousedown & mouseup event this value, then considered a mouse click
|
356 |
+
|
357 |
+
// define the class statements
|
358 |
+
, className: ""
|
359 |
+
, classContainer: "ibutton-container"
|
360 |
+
, classDisabled: "ibutton-disabled"
|
361 |
+
, classFocus: "ibutton-focus"
|
362 |
+
, classLabelOn: "ibutton-label-on"
|
363 |
+
, classLabelOff: "ibutton-label-off"
|
364 |
+
, classHandle: "ibutton-handle"
|
365 |
+
, classHandleMiddle: "ibutton-handle-middle"
|
366 |
+
, classHandleRight: "ibutton-handle-right"
|
367 |
+
, classHandleActive: "ibutton-active-handle"
|
368 |
+
, classPaddingLeft: "ibutton-padding-left"
|
369 |
+
, classPaddingRight: "ibutton-padding-right"
|
370 |
+
|
371 |
+
// event handlers
|
372 |
+
, init: null // callback that occurs when a iButton is initialized
|
373 |
+
, change: null // callback that occurs when the button state is changed
|
374 |
+
, click: null // callback that occurs when the button is clicked
|
375 |
+
, disable: null // callback that occurs when the button is disabled/enabled
|
376 |
+
, destroy: null // callback that occurs when the button is destroyed
|
377 |
+
}, ON = defaults.labelOn, OFF = defaults.labelOff;
|
378 |
+
|
379 |
+
})(jQuery);
|
assets/js/plugins/forms/jquery.maskedinput.min.js
ADDED
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Masked Input plugin for jQuery
|
3 |
+
Copyright (c) 2007-2011 Josh Bush (digitalbush.com)
|
4 |
+
Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license)
|
5 |
+
Version: 1.3
|
6 |
+
*/
|
7 |
+
(function($) {
|
8 |
+
var pasteEventName = ($.browser.msie ? 'paste' : 'input') + ".mask";
|
9 |
+
var iPhone = (window.orientation != undefined);
|
10 |
+
|
11 |
+
$.mask = {
|
12 |
+
//Predefined character definitions
|
13 |
+
definitions: {
|
14 |
+
'9': "[0-9]",
|
15 |
+
'a': "[A-Za-z]",
|
16 |
+
'*': "[A-Za-z0-9]"
|
17 |
+
},
|
18 |
+
dataName:"rawMaskFn"
|
19 |
+
};
|
20 |
+
|
21 |
+
$.fn.extend({
|
22 |
+
//Helper Function for Caret positioning
|
23 |
+
caret: function(begin, end) {
|
24 |
+
if (this.length == 0) return;
|
25 |
+
if (typeof begin == 'number') {
|
26 |
+
end = (typeof end == 'number') ? end : begin;
|
27 |
+
return this.each(function() {
|
28 |
+
if (this.setSelectionRange) {
|
29 |
+
this.setSelectionRange(begin, end);
|
30 |
+
} else if (this.createTextRange) {
|
31 |
+
var range = this.createTextRange();
|
32 |
+
range.collapse(true);
|
33 |
+
range.moveEnd('character', end);
|
34 |
+
range.moveStart('character', begin);
|
35 |
+
range.select();
|
36 |
+
}
|
37 |
+
});
|
38 |
+
} else {
|
39 |
+
if (this[0].setSelectionRange) {
|
40 |
+
begin = this[0].selectionStart;
|
41 |
+
end = this[0].selectionEnd;
|
42 |
+
} else if (document.selection && document.selection.createRange) {
|
43 |
+
var range = document.selection.createRange();
|
44 |
+
begin = 0 - range.duplicate().moveStart('character', -100000);
|
45 |
+
end = begin + range.text.length;
|
46 |
+
}
|
47 |
+
return { begin: begin, end: end };
|
48 |
+
}
|
49 |
+
},
|
50 |
+
unmask: function() { return this.trigger("unmask"); },
|
51 |
+
mask: function(mask, settings) {
|
52 |
+
if (!mask && this.length > 0) {
|
53 |
+
var input = $(this[0]);
|
54 |
+
return input.data($.mask.dataName)();
|
55 |
+
}
|
56 |
+
settings = $.extend({
|
57 |
+
placeholder: "_",
|
58 |
+
completed: null
|
59 |
+
}, settings);
|
60 |
+
|
61 |
+
var defs = $.mask.definitions;
|
62 |
+
var tests = [];
|
63 |
+
var partialPosition = mask.length;
|
64 |
+
var firstNonMaskPos = null;
|
65 |
+
var len = mask.length;
|
66 |
+
|
67 |
+
$.each(mask.split(""), function(i, c) {
|
68 |
+
if (c == '?') {
|
69 |
+
len--;
|
70 |
+
partialPosition = i;
|
71 |
+
} else if (defs[c]) {
|
72 |
+
tests.push(new RegExp(defs[c]));
|
73 |
+
if(firstNonMaskPos==null)
|
74 |
+
firstNonMaskPos = tests.length - 1;
|
75 |
+
} else {
|
76 |
+
tests.push(null);
|
77 |
+
}
|
78 |
+
});
|
79 |
+
|
80 |
+
return this.trigger("unmask").each(function() {
|
81 |
+
var input = $(this);
|
82 |
+
var buffer = $.map(mask.split(""), function(c, i) { if (c != '?') return defs[c] ? settings.placeholder : c });
|
83 |
+
var focusText = input.val();
|
84 |
+
|
85 |
+
function seekNext(pos) {
|
86 |
+
while (++pos <= len && !tests[pos]);
|
87 |
+
return pos;
|
88 |
+
};
|
89 |
+
function seekPrev(pos) {
|
90 |
+
while (--pos >= 0 && !tests[pos]);
|
91 |
+
return pos;
|
92 |
+
};
|
93 |
+
|
94 |
+
function shiftL(begin,end) {
|
95 |
+
if(begin<0)
|
96 |
+
return;
|
97 |
+
for (var i = begin,j = seekNext(end); i < len; i++) {
|
98 |
+
if (tests[i]) {
|
99 |
+
if (j < len && tests[i].test(buffer[j])) {
|
100 |
+
buffer[i] = buffer[j];
|
101 |
+
buffer[j] = settings.placeholder;
|
102 |
+
} else
|
103 |
+
break;
|
104 |
+
j = seekNext(j);
|
105 |
+
}
|
106 |
+
}
|
107 |
+
writeBuffer();
|
108 |
+
input.caret(Math.max(firstNonMaskPos, begin));
|
109 |
+
};
|
110 |
+
|
111 |
+
function shiftR(pos) {
|
112 |
+
for (var i = pos, c = settings.placeholder; i < len; i++) {
|
113 |
+
if (tests[i]) {
|
114 |
+
var j = seekNext(i);
|
115 |
+
var t = buffer[i];
|
116 |
+
buffer[i] = c;
|
117 |
+
if (j < len && tests[j].test(t))
|
118 |
+
c = t;
|
119 |
+
else
|
120 |
+
break;
|
121 |
+
}
|
122 |
+
}
|
123 |
+
};
|
124 |
+
|
125 |
+
function keydownEvent(e) {
|
126 |
+
var k=e.which;
|
127 |
+
|
128 |
+
//backspace, delete, and escape get special treatment
|
129 |
+
if(k == 8 || k == 46 || (iPhone && k == 127)){
|
130 |
+
var pos = input.caret(),
|
131 |
+
begin = pos.begin,
|
132 |
+
end = pos.end;
|
133 |
+
|
134 |
+
if(end-begin==0){
|
135 |
+
begin=k!=46?seekPrev(begin):(end=seekNext(begin-1));
|
136 |
+
end=k==46?seekNext(end):end;
|
137 |
+
}
|
138 |
+
clearBuffer(begin, end);
|
139 |
+
shiftL(begin,end-1);
|
140 |
+
|
141 |
+
return false;
|
142 |
+
} else if (k == 27) {//escape
|
143 |
+
input.val(focusText);
|
144 |
+
input.caret(0, checkVal());
|
145 |
+
return false;
|
146 |
+
}
|
147 |
+
};
|
148 |
+
|
149 |
+
function keypressEvent(e) {
|
150 |
+
var k = e.which,
|
151 |
+
pos = input.caret();
|
152 |
+
if (e.ctrlKey || e.altKey || e.metaKey || k<32) {//Ignore
|
153 |
+
return true;
|
154 |
+
} else if (k) {
|
155 |
+
if(pos.end-pos.begin!=0){
|
156 |
+
clearBuffer(pos.begin, pos.end);
|
157 |
+
shiftL(pos.begin, pos.end-1);
|
158 |
+
}
|
159 |
+
|
160 |
+
var p = seekNext(pos.begin - 1);
|
161 |
+
if (p < len) {
|
162 |
+
var c = String.fromCharCode(k);
|
163 |
+
if (tests[p].test(c)) {
|
164 |
+
shiftR(p);
|
165 |
+
buffer[p] = c;
|
166 |
+
writeBuffer();
|
167 |
+
var next = seekNext(p);
|
168 |
+
input.caret(next);
|
169 |
+
if (settings.completed && next >= len)
|
170 |
+
settings.completed.call(input);
|
171 |
+
}
|
172 |
+
}
|
173 |
+
return false;
|
174 |
+
}
|
175 |
+
};
|
176 |
+
|
177 |
+
function clearBuffer(start, end) {
|
178 |
+
for (var i = start; i < end && i < len; i++) {
|
179 |
+
if (tests[i])
|
180 |
+
buffer[i] = settings.placeholder;
|
181 |
+
}
|
182 |
+
};
|
183 |
+
|
184 |
+
function writeBuffer() { return input.val(buffer.join('')).val(); };
|
185 |
+
|
186 |
+
function checkVal(allow) {
|
187 |
+
//try to place characters where they belong
|
188 |
+
var test = input.val();
|
189 |
+
var lastMatch = -1;
|
190 |
+
for (var i = 0, pos = 0; i < len; i++) {
|
191 |
+
if (tests[i]) {
|
192 |
+
buffer[i] = settings.placeholder;
|
193 |
+
while (pos++ < test.length) {
|
194 |
+
var c = test.charAt(pos - 1);
|
195 |
+
if (tests[i].test(c)) {
|
196 |
+
buffer[i] = c;
|
197 |
+
lastMatch = i;
|
198 |
+
break;
|
199 |
+
}
|
200 |
+
}
|
201 |
+
if (pos > test.length)
|
202 |
+
break;
|
203 |
+
} else if (buffer[i] == test.charAt(pos) && i!=partialPosition) {
|
204 |
+
pos++;
|
205 |
+
lastMatch = i;
|
206 |
+
}
|
207 |
+
}
|
208 |
+
if (!allow && lastMatch + 1 < partialPosition) {
|
209 |
+
input.val("");
|
210 |
+
clearBuffer(0, len);
|
211 |
+
} else if (allow || lastMatch + 1 >= partialPosition) {
|
212 |
+
writeBuffer();
|
213 |
+
if (!allow) input.val(input.val().substring(0, lastMatch + 1));
|
214 |
+
}
|
215 |
+
return (partialPosition ? i : firstNonMaskPos);
|
216 |
+
};
|
217 |
+
|
218 |
+
input.data($.mask.dataName,function(){
|
219 |
+
return $.map(buffer, function(c, i) {
|
220 |
+
return tests[i]&&c!=settings.placeholder ? c : null;
|
221 |
+
}).join('');
|
222 |
+
})
|
223 |
+
|
224 |
+
if (!input.attr("readonly"))
|
225 |
+
input
|
226 |
+
.one("unmask", function() {
|
227 |
+
input
|
228 |
+
.unbind(".mask")
|
229 |
+
.removeData($.mask.dataName);
|
230 |
+
})
|
231 |
+
.bind("focus.mask", function() {
|
232 |
+
focusText = input.val();
|
233 |
+
var pos = checkVal();
|
234 |
+
writeBuffer();
|
235 |
+
var moveCaret=function(){
|
236 |
+
if (pos == mask.length)
|
237 |
+
input.caret(0, pos);
|
238 |
+
else
|
239 |
+
input.caret(pos);
|
240 |
+
};
|
241 |
+
($.browser.msie ? moveCaret:function(){setTimeout(moveCaret,0)})();
|
242 |
+
})
|
243 |
+
.bind("blur.mask", function() {
|
244 |
+
checkVal();
|
245 |
+
if (input.val() != focusText)
|
246 |
+
input.change();
|
247 |
+
})
|
248 |
+
.bind("keydown.mask", keydownEvent)
|
249 |
+
.bind("keypress.mask", keypressEvent)
|
250 |
+
.bind(pasteEventName, function() {
|
251 |
+
setTimeout(function() { input.caret(checkVal(true)); }, 0);
|
252 |
+
});
|
253 |
+
|
254 |
+
checkVal(); //Perform initial check for existing values
|
255 |
+
});
|
256 |
+
}
|
257 |
+
});
|
258 |
+
})(jQuery);
|
assets/js/plugins/forms/jquery.select2.min.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Copyright 2012 Igor Vaynberg
|
3 |
+
|
4 |
+
Version: 3.1 Timestamp: Tue Aug 14 09:05:17 PDT 2012
|
5 |
+
|
6 |
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in
|
7 |
+
compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
|
8 |
+
|
9 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
10 |
+
|
11 |
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
12 |
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 |
+
See the License for the specific language governing permissions and limitations under the License.
|
14 |
+
*/
|
15 |
+
(function(e){"undefined"==typeof e.fn.each2&&e.fn.extend({each2:function(g){for(var n=e([0]),h=-1,m=this.length;++h<m&&(n.context=n[0]=this[h])&&!1!==g.call(n[0],h,n););return this}})})(jQuery);
|
16 |
+
(function(e,g){function n(a){return a&&"string"===typeof a?a.replace(/&/g,"&"):a}function h(a,b){var c=0,d=b.length,i;if("undefined"===typeof a)return-1;if(a.constructor===String)for(;c<d;c+=1){if(0===a.localeCompare(b[c]))return c}else for(;c<d;c+=1)if(i=b[c],i.constructor===String){if(0===i.localeCompare(a))return c}else if(i===a)return c;return-1}function m(a,b){return a===b?!0:a===g||b===g||null===a||null===b?!1:a.constructor===String?0===a.localeCompare(b):b.constructor===String?0===b.localeCompare(a):
|
17 |
+
!1}function z(a,b){var c,d,i;if(null===a||1>a.length)return[];c=a.split(b);d=0;for(i=c.length;d<i;d+=1)c[d]=e.trim(c[d]);return c}function A(a,b){var c;return function(){window.clearTimeout(c);c=window.setTimeout(b,a)}}function k(a){a.preventDefault();a.stopPropagation()}function B(a,b,c){var d=a.toUpperCase().indexOf(b.toUpperCase()),b=b.length;0>d?c.push(a):(c.push(a.substring(0,d)),c.push("<span class='select2-match'>"),c.push(a.substring(d,d+b)),c.push("</span>"),c.push(a.substring(d+b,a.length)))}
|
18 |
+
function C(a){var b,c=0,d=null,i=a.quietMillis||100;return function(j){window.clearTimeout(b);b=window.setTimeout(function(){var b=c+=1,i=a.data,f=a.transport||e.ajax,g=a.traditional||!1,I=a.type||"GET",i=i.call(this,j.term,j.page,j.context);null!==d&&d.abort();d=f.call(null,{url:a.url,dataType:a.dataType,data:i,type:I,traditional:g,success:function(d){b<c||(d=a.results(d,j.page),j.callback(d))}})},i)}}function D(a){var b=a,c,d=function(a){return""+a.text};e.isArray(b)||(d=b.text,e.isFunction(d)||
|
19 |
+
(c=b.text,d=function(a){return a[c]}),b=b.results);return function(a){var c=a.term,f={};if(c==="")a.callback({results:b});else{f.results=e(b).filter(function(){return a.matcher(c,d(this))}).get();a.callback(f)}}}function E(a){return e.isFunction(a)?a:function(b){var c=b.term,d={results:[]};e(a).each(function(){var a=this.text!==g,e=a?this.text:this;if(""===c||b.matcher(c,e))d.results.push(a?this:{id:this,text:this})});b.callback(d)}}function t(a){if(e.isFunction(a))return!0;if(!a)return!1;throw Error("formatterName must be a function or a falsy value");
|
20 |
+
}function u(a){return e.isFunction(a)?a():a}function F(a){var b=0;e.each(a,function(a,d){d.children?b+=F(d.children):b++});return b}function J(a,b,c,d){var i=a,e=!1,f,r,o,l;if(!d.createSearchChoice||!d.tokenSeparators||1>d.tokenSeparators.length)return g;for(;;){e=-1;r=0;for(o=d.tokenSeparators.length;r<o&&!(l=d.tokenSeparators[r],e=a.indexOf(l),0<=e);r++);if(0>e)break;f=a.substring(0,e);a=a.substring(e+l.length);if(0<f.length&&(f=d.createSearchChoice(f,b),f!==g&&null!==f&&d.id(f)!==g&&null!==d.id(f))){e=
|
21 |
+
!1;r=0;for(o=b.length;r<o;r++)if(m(d.id(f),d.id(b[r]))){e=!0;break}e||c(f)}}if(0!=i.localeCompare(a))return a}function w(a,b){var c=function(){};c.prototype=new a;c.prototype.constructor=c;c.prototype.parent=a.prototype;c.prototype=e.extend(c.prototype,b);return c}if(window.Select2===g){var f,v,x,y,G,q;f={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){a=a.which?a.which:a;switch(a){case f.LEFT:case f.RIGHT:case f.UP:case f.DOWN:return!0}return!1},
|
22 |
+
isControl:function(a){switch(a.which){case f.SHIFT:case f.CTRL:case f.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){a=a.which?a.which:a;return 112<=a&&123>=a}};var K=1;G=function(){return K++};e(document).delegate("*","mousemove",function(a){e.data(document,"select2-lastpos",{x:a.pageX,y:a.pageY})});e(document).ready(function(){e(document).delegate("*","mousedown touchend",function(a){var b=e(a.target).closest("div.select2-container").get(0),c;b?e(document).find("div.select2-container-active").each(function(){this!==
|
23 |
+
b&&e(this).data("select2").blur()}):(b=e(a.target).closest("div.select2-drop").get(0),e(document).find("div.select2-drop-active").each(function(){this!==b&&e(this).data("select2").blur()}));b=e(a.target);c=b.attr("for");"LABEL"===a.target.tagName&&(c&&0<c.length)&&(b=e("#"+c),b=b.data("select2"),b!==g&&(b.focus(),a.preventDefault()))})});v=w(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(a){var b,c;this.opts=a=this.prepareOpts(a);this.id=a.id;a.element.data("select2")!==
|
24 |
+
g&&null!==a.element.data("select2")&&this.destroy();this.enabled=!0;this.container=this.createContainer();this.containerId="s2id"+G();this.container.attr("id",this.containerId);var d=!1,i;this.body=function(){!1===d&&(i=a.element.closest("body"),d=!0);return i};a.element.attr("class")!==g&&this.container.addClass(a.element.attr("class"));this.container.css(u(a.containerCss));this.container.addClass(u(a.containerCssClass));this.opts.element.data("select2",this).hide().before(this.container);this.container.data("select2",
|
25 |
+
this);this.dropdown=this.container.find(".select2-drop");this.dropdown.addClass(u(a.dropdownCssClass));this.dropdown.data("select2",this);this.results=b=this.container.find(".select2-results");this.search=c=this.container.find("input.select2-input");c.attr("tabIndex",this.opts.element.attr("tabIndex"));this.resultsPage=0;this.context=null;this.initContainer();this.initContainerWidth();this.results.bind("mousemove",function(a){var b=e.data(document,"select2-lastpos");(b===g||b.x!==a.pageX||b.y!==a.pageY)&&
|
26 |
+
e(a.target).trigger("mousemove-filtered",a)});this.dropdown.delegate(".select2-results","mousemove-filtered",this.bind(this.highlightUnderEvent));var f=this.results,H=A(80,function(a){f.trigger("scroll-debounced",a)});f.bind("scroll",function(a){0<=h(a.target,f.get())&&H(a)});this.dropdown.delegate(".select2-results","scroll-debounced",this.bind(this.loadMoreIfNeeded));e.fn.mousewheel&&b.mousewheel(function(a,c,d,e){c=b.scrollTop();0<e&&0>=c-e?(b.scrollTop(0),k(a)):0>e&&b.get(0).scrollHeight-b.scrollTop()+
|
27 |
+
e<=b.height()&&(b.scrollTop(b.get(0).scrollHeight-b.height()),k(a))});c.bind("keydown",function(){e.data(c,"keyup-change-value")===g&&e.data(c,"keyup-change-value",c.val())});c.bind("keyup",function(){var a=e.data(c,"keyup-change-value");a!==g&&c.val()!==a&&(e.removeData(c,"keyup-change-value"),c.trigger("keyup-change"))});c.bind("keyup-change",this.bind(this.updateResults));c.bind("focus",function(){c.addClass("select2-focused");" "===c.val()&&c.val("")});c.bind("blur",function(){c.removeClass("select2-focused")});
|
28 |
+
this.dropdown.delegate(".select2-results","mouseup",this.bind(function(a){0<e(a.target).closest(".select2-result-selectable:not(.select2-disabled)").length?(this.highlightUnderEvent(a),this.selectHighlighted(a)):this.focusSearch();k(a)}));this.dropdown.bind("click mouseup mousedown",function(a){a.stopPropagation()});e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource());(a.element.is(":disabled")||a.element.is("[readonly='readonly']"))&&this.disable()},destroy:function(){var a=
|
29 |
+
this.opts.element.data("select2");a!==g&&(a.container.remove(),a.dropdown.remove(),a.opts.element.removeData("select2").unbind(".select2").show())},prepareOpts:function(a){var b,c,d;b=a.element;"select"===b.get(0).tagName.toLowerCase()&&(this.select=c=a.element);c&&e.each("id multiple ajax query createSearchChoice initSelection data tags".split(" "),function(){if(this in a)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.");});a=e.extend({},{populateResults:function(b,
|
30 |
+
c,d){var f,o=this.opts.id,l=this;f=function(b,c,i){var j,k,h,m,s,p,q;j=0;for(k=b.length;j<k;j=j+1){h=b[j];m=o(h)!==g;s="children"in h&&h.children.length>0;p=e("<li></li>");p.addClass("select2-results-dept-"+i);p.addClass("select2-result");p.addClass(m?"select2-result-selectable":"select2-result-unselectable");s&&p.addClass("select2-result-with-children");p.addClass(l.opts.formatResultCssClass(h));m=e("<div></div>");m.addClass("select2-result-label");q=a.formatResult(h,m,d);q!==g&&m.html(n(q));p.append(m);
|
31 |
+
if(s){s=e("<ul></ul>");s.addClass("select2-result-sub");f(h.children,s,i+1);p.append(s)}p.data("select2-data",h);c.append(p)}};f(c,b,0)}},e.fn.select2.defaults,a);"function"!==typeof a.id&&(d=a.id,a.id=function(a){return a[d]});if(c)a.query=this.bind(function(a){var c={results:[],more:false},d=a.term,f,o,l;l=function(b,c){var e;if(b.is("option"))a.matcher(d,b.text(),b)&&c.push({id:b.attr("value"),text:b.text(),element:b.get(),css:b.attr("class")});else if(b.is("optgroup")){e={text:b.attr("label"),
|
32 |
+
children:[],element:b.get(),css:b.attr("class")};b.children().each2(function(a,b){l(b,e.children)});e.children.length>0&&c.push(e)}};f=b.children();if(this.getPlaceholder()!==g&&f.length>0){o=f[0];e(o).text()===""&&(f=f.not(o))}f.each2(function(a,b){l(b,c.results)});a.callback(c)}),a.id=function(a){return a.id},a.formatResultCssClass=function(a){return a.css};else if(!("query"in a))if("ajax"in a){if((c=a.element.data("ajax-url"))&&0<c.length)a.ajax.url=c;a.query=C(a.ajax)}else"data"in a?a.query=D(a.data):
|
33 |
+
"tags"in a&&(a.query=E(a.tags),a.createSearchChoice=function(a){return{id:a,text:a}},a.initSelection=function(b,c){var d=[];e(z(b.val(),a.separator)).each(function(){var b=this,c=this,i=a.tags;e.isFunction(i)&&(i=i());e(i).each(function(){if(m(this.id,b)){c=this.text;return false}});d.push({id:b,text:c})});c(d)});if("function"!==typeof a.query)throw"query function not defined for Select2 "+a.element.attr("id");return a},monitorSource:function(){this.opts.element.bind("change.select2",this.bind(function(){!0!==
|
34 |
+
this.opts.element.data("select2-change-triggered")&&this.initSelection()}))},triggerChange:function(a){a=a||{};a=e.extend({},a,{type:"change",val:this.val()});this.opts.element.data("select2-change-triggered",!0);this.opts.element.trigger(a);this.opts.element.data("select2-change-triggered",!1);this.opts.element.click()},enable:function(){this.enabled||(this.enabled=!0,this.container.removeClass("select2-container-disabled"))},disable:function(){this.enabled&&(this.close(),this.enabled=!1,this.container.addClass("select2-container-disabled"))},
|
35 |
+
opened:function(){return this.container.hasClass("select2-dropdown-open")},positionDropdown:function(){var a=this.container.offset(),b=this.container.outerHeight(),c=this.container.outerWidth(),d=this.dropdown.outerHeight(),i=e(window).scrollTop()+document.documentElement.clientHeight,b=a.top+b,i=b+d<=i,f=a.top-d>=this.body().scrollTop(),g;this.dropdown.hasClass("select2-drop-above")?(g=!0,!f&&i&&(g=!1)):(g=!1,!i&&f&&(g=!0));g?(b=a.top-d,this.container.addClass("select2-drop-above"),this.dropdown.addClass("select2-drop-above")):
|
36 |
+
(this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above"));this.dropdown.css({top:b,left:a.left,width:c})},shouldOpen:function(){var a;if(this.opened())return!1;a=jQuery.Event("open");this.opts.element.trigger(a);return!a.isDefaultPrevented()},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above");this.dropdown.removeClass("select2-drop-above")},open:function(){if(!this.shouldOpen())return!1;window.setTimeout(this.bind(this.opening),
|
37 |
+
1);return!0},opening:function(){var a=this.containerId,b="#"+a,c="scroll."+a,d="resize."+a;this.container.parents().each(function(){e(this).bind(c,function(){var a=e(b);0==a.length&&e(this).unbind(c);a.select2("close")})});e(window).bind(d,function(){var a=e(b);0==a.length&&e(window).unbind(d);a.select2("close")});this.clearDropdownAlignmentPreference();" "===this.search.val()&&this.search.val("");this.dropdown.css(u(this.opts.dropdownCss));this.dropdown.addClass("select2-drop-active");this.container.addClass("select2-dropdown-open").addClass("select2-container-active");
|
38 |
+
this.updateResults(!0);this.dropdown[0]!==this.body().children().last()[0]&&this.dropdown.detach().appendTo(this.body());this.dropdown.show();this.ensureHighlightVisible();this.positionDropdown();this.focusSearch()},close:function(){if(this.opened()){var a=this;this.container.parents().each(function(){e(this).unbind("scroll."+a.containerId)});e(window).unbind("resize."+this.containerId);this.clearDropdownAlignmentPreference();this.dropdown.hide();this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active");
|
39 |
+
this.results.empty();this.clearSearch();this.opts.element.trigger(jQuery.Event("close"))}},clearSearch:function(){},ensureHighlightVisible:function(){var a=this.results,b,c,d,f;c=this.highlight();0>c||(0==c?a.scrollTop(0):(b=a.find(".select2-result-selectable"),d=e(b[c]),f=d.offset().top+d.outerHeight(),c===b.length-1&&(b=a.find("li.select2-more-results"),0<b.length&&(f=b.offset().top+b.outerHeight())),b=a.offset().top+a.outerHeight(),f>b&&a.scrollTop(a.scrollTop()+(f-b)),d=d.offset().top-a.offset().top,
|
40 |
+
0>d&&a.scrollTop(a.scrollTop()+d)))},moveHighlight:function(a){for(var b=this.results.find(".select2-result-selectable"),c=this.highlight();-1<c&&c<b.length;){var c=c+a,d=e(b[c]);if(d.hasClass("select2-result-selectable")&&!d.hasClass("select2-disabled")){this.highlight(c);break}}},highlight:function(a){var b=this.results.find(".select2-result-selectable").not(".select2-disabled");if(0===arguments.length)return h(b.filter(".select2-highlighted")[0],b.get());a>=b.length&&(a=b.length-1);0>a&&(a=0);
|
41 |
+
b.removeClass("select2-highlighted");e(b[a]).addClass("select2-highlighted");this.ensureHighlightVisible()},countSelectableResults:function(){return this.results.find(".select2-result-selectable").not(".select2-disabled").length},highlightUnderEvent:function(a){a=e(a.target).closest(".select2-result-selectable");if(0<a.length&&!a.is(".select2-highlighted")){var b=this.results.find(".select2-result-selectable");this.highlight(b.index(a))}else 0==a.length&&this.results.find(".select2-highlighted").removeClass("select2-highlighted")},
|
42 |
+
loadMoreIfNeeded:function(){var a=this.results,b=a.find("li.select2-more-results"),c,d=this.resultsPage+1,e=this,f=this.search.val(),g=this.context;0!==b.length&&(c=b.offset().top-a.offset().top-a.height(),0>=c&&(b.addClass("select2-active"),this.opts.query({term:f,page:d,context:g,matcher:this.opts.matcher,callback:this.bind(function(c){e.opts.populateResults.call(this,a,c.results,{term:f,page:d,context:g});!0===c.more?(b.detach().appendTo(a).text(e.opts.formatLoadMore(d+1)),window.setTimeout(function(){e.loadMoreIfNeeded()},
|
43 |
+
10)):b.remove();e.positionDropdown();e.resultsPage=d})})))},tokenize:function(){},updateResults:function(a){function b(){f.scrollTop(0);d.removeClass("select2-active");k.positionDropdown()}function c(a){f.html(n(a));b()}var d=this.search,f=this.results,j=this.opts,h,k=this;if(!(!0!==a&&(!1===this.showSearchInput||!this.opened()))){d.addClass("select2-active");if(1<=j.maximumSelectionSize&&(h=this.data(),e.isArray(h)&&h.length>=j.maximumSelectionSize&&t(j.formatSelectionTooBig,"formatSelectionTooBig"))){c("<li class='select2-selection-limit'>"+
|
44 |
+
j.formatSelectionTooBig(j.maximumSelectionSize)+"</li>");return}d.val().length<j.minimumInputLength&&t(j.formatInputTooShort,"formatInputTooShort")?c("<li class='select2-no-results'>"+j.formatInputTooShort(d.val(),j.minimumInputLength)+"</li>"):(c("<li class='select2-searching'>"+j.formatSearching()+"</li>"),h=this.tokenize(),h!=g&&null!=h&&d.val(h),this.resultsPage=1,j.query({term:d.val(),page:this.resultsPage,context:null,matcher:j.matcher,callback:this.bind(function(h){var l;this.context=h.context===
|
45 |
+
g?null:h.context;this.opts.createSearchChoice&&""!==d.val()&&(l=this.opts.createSearchChoice.call(null,d.val(),h.results),l!==g&&null!==l&&k.id(l)!==g&&null!==k.id(l)&&0===e(h.results).filter(function(){return m(k.id(this),k.id(l))}).length&&h.results.unshift(l));0===h.results.length&&t(j.formatNoMatches,"formatNoMatches")?c("<li class='select2-no-results'>"+j.formatNoMatches(d.val())+"</li>"):(f.empty(),k.opts.populateResults.call(this,f,h.results,{term:d.val(),page:this.resultsPage,context:null}),
|
46 |
+
!0===h.more&&t(j.formatLoadMore,"formatLoadMore")&&(f.append("<li class='select2-more-results'>"+n(j.formatLoadMore(this.resultsPage))+"</li>"),window.setTimeout(function(){k.loadMoreIfNeeded()},10)),this.postprocessResults(h,a),b())})}))}},cancel:function(){this.close()},blur:function(){this.close();this.container.removeClass("select2-container-active");this.dropdown.removeClass("select2-drop-active");this.search[0]===document.activeElement&&this.search.blur();this.clearSearch();this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},
|
47 |
+
focusSearch:function(){window.setTimeout(this.bind(function(){this.search.focus();this.search.val(this.search.val())}),10)},selectHighlighted:function(){var a=this.highlight(),b=this.results.find(".select2-highlighted").not(".select2-disabled"),c=b.closest(".select2-result-selectable").data("select2-data");c&&(b.addClass("select2-disabled"),this.highlight(a),this.onSelect(c))},getPlaceholder:function(){return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||
|
48 |
+
this.opts.placeholder},initContainerWidth:function(){var a=function(){var a,c,d,f;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth()?"auto":this.opts.element.outerWidth()+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){a=this.opts.element.attr("style");if(a!==g){a=a.split(";");d=0;for(f=a.length;d<f;d+=1)if(c=a[d].replace(/\s/g,"").match(/width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/),null!==c&&1<=c.length)return c[1]}return"resolve"===
|
49 |
+
this.opts.width?(a=this.opts.element.css("width"),0<a.indexOf("%")?a:0===this.opts.element.outerWidth()?"auto":this.opts.element.outerWidth()+"px"):null}return e.isFunction(this.opts.width)?this.opts.width():this.opts.width}.call(this);null!==a&&this.container.attr("style","width: "+a)}});x=w(v,{createContainer:function(){return e("<div></div>",{"class":"select2-container"}).html(" <a href='javascript:void(0)' class='select2-choice'> <span></span><abbr class='select2-search-choice-close' style='display:none;'></abbr> <div><b></b></div></a> <div class='select2-drop select2-offscreen'> <div class='select2-search'> <input type='text' autocomplete='off' class='select2-input'/> </div> <ul class='select2-results'> </ul></div>")},
|
50 |
+
opening:function(){this.search.show();this.parent.opening.apply(this,arguments);this.dropdown.removeClass("select2-offscreen")},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.dropdown.removeAttr("style").addClass("select2-offscreen").insertAfter(this.selection).show())},focus:function(){this.close();this.selection.focus()},isFocused:function(){return this.selection[0]===document.activeElement},cancel:function(){this.parent.cancel.apply(this,arguments);this.selection.focus()},
|
51 |
+
initContainer:function(){var a,b=this.dropdown;this.selection=a=this.container.find(".select2-choice");this.search.bind("keydown",this.bind(function(a){if(this.enabled)if(a.which===f.PAGE_UP||a.which===f.PAGE_DOWN)k(a);else if(this.opened())switch(a.which){case f.UP:case f.DOWN:this.moveHighlight(a.which===f.UP?-1:1);k(a);break;case f.TAB:case f.ENTER:this.selectHighlighted();k(a);break;case f.ESC:this.cancel(a),k(a)}else a.which===f.TAB||f.isControl(a)||f.isFunctionKey(a)||a.which===f.ESC||!1===
|
52 |
+
this.opts.openOnEnter&&a.which===f.ENTER||this.open()}));this.search.bind("focus",this.bind(function(){this.selection.attr("tabIndex","-1")}));this.search.bind("blur",this.bind(function(){this.opened()||this.container.removeClass("select2-container-active");window.setTimeout(this.bind(function(){this.selection.attr("tabIndex",this.opts.element.attr("tabIndex"))}),10)}));a.bind("mousedown",this.bind(function(){this.opened()?(this.close(),this.selection.focus()):this.enabled&&this.open()}));b.bind("mousedown",
|
53 |
+
this.bind(function(){this.search.focus()}));a.bind("focus",this.bind(function(){this.container.addClass("select2-container-active");this.search.attr("tabIndex","-1")}));a.bind("blur",this.bind(function(){this.opened()||this.container.removeClass("select2-container-active");window.setTimeout(this.bind(function(){this.search.attr("tabIndex",this.opts.element.attr("tabIndex"))}),10)}));a.bind("keydown",this.bind(function(a){if(this.enabled)if(a.which===f.PAGE_UP||a.which===f.PAGE_DOWN)k(a);else if(!(a.which===
|
54 |
+
f.TAB||f.isControl(a)||f.isFunctionKey(a)||a.which===f.ESC)&&!(!1===this.opts.openOnEnter&&a.which===f.ENTER))if(a.which==f.DELETE)this.opts.allowClear&&this.clear();else{this.open();if(a.which!==f.ENTER&&!(48>a.which)){var b=String.fromCharCode(a.which).toLowerCase();a.shiftKey&&(b=b.toUpperCase());this.search.focus();this.search.val(b)}k(a)}}));a.delegate("abbr","mousedown",this.bind(function(a){this.enabled&&(this.clear(),k(a),this.close(),this.triggerChange(),this.selection.focus())}));this.setPlaceholder();
|
55 |
+
this.search.bind("focus",this.bind(function(){this.container.addClass("select2-container-active")}))},clear:function(){this.opts.element.val("");this.selection.find("span").empty();this.selection.removeData("select2-data");this.setPlaceholder()},initSelection:function(){if(""===this.opts.element.val())this.close(),this.setPlaceholder();else{var a=this;this.opts.initSelection.call(null,this.opts.element,function(b){b!==g&&null!==b&&(a.updateSelection(b),a.close(),a.setPlaceholder())})}},prepareOpts:function(){var a=
|
56 |
+
this.parent.prepareOpts.apply(this,arguments);"select"===a.element.get(0).tagName.toLowerCase()&&(a.initSelection=function(a,c){var d=a.find(":selected");e.isFunction(c)&&c({id:d.attr("value"),text:d.text()})});return a},setPlaceholder:function(){var a=this.getPlaceholder();""===this.opts.element.val()&&a!==g&&!(this.select&&""!==this.select.find("option:first").text())&&(this.selection.find("span").html(n(a)),this.selection.addClass("select2-default"),this.selection.find("abbr").hide())},postprocessResults:function(a,
|
57 |
+
b){var c=0,d=this,f=!0;this.results.find(".select2-result-selectable").each2(function(a,b){if(m(d.id(b.data("select2-data")),d.opts.element.val()))return c=a,!1});this.highlight(c);!0===b&&(f=this.showSearchInput=F(a.results)>=this.opts.minimumResultsForSearch,this.dropdown.find(".select2-search")[f?"removeClass":"addClass"]("select2-search-hidden"),e(this.dropdown,this.container)[f?"addClass":"removeClass"]("select2-with-searchbox"))},onSelect:function(a){var b=this.opts.element.val();this.opts.element.val(this.id(a));
|
58 |
+
this.updateSelection(a);this.close();this.selection.focus();m(b,this.id(a))||this.triggerChange()},updateSelection:function(a){var b=this.selection.find("span");this.selection.data("select2-data",a);b.empty();a=this.opts.formatSelection(a,b);a!==g&&b.append(n(a));this.selection.removeClass("select2-default");this.opts.allowClear&&this.getPlaceholder()!==g&&this.selection.find("abbr").show()},val:function(){var a,b=null,c=this;if(0===arguments.length)return this.opts.element.val();a=arguments[0];if(this.select)this.select.val(a).find(":selected").each2(function(a,
|
59 |
+
c){b={id:c.attr("value"),text:c.text()};return!1}),this.updateSelection(b),this.setPlaceholder();else{if(this.opts.initSelection===g)throw Error("cannot call val() if initSelection() is not defined");a?this.opts.initSelection(this.opts.element,function(a){c.opts.element.val(!a?"":c.id(a));c.updateSelection(a);c.setPlaceholder()}):this.clear()}},clearSearch:function(){this.search.val("")},data:function(a){var b;if(0===arguments.length)return b=this.selection.data("select2-data"),b==g&&(b=null),b;!a||
|
60 |
+
""===a?this.clear():(this.opts.element.val(!a?"":this.id(a)),this.updateSelection(a))}});y=w(v,{createContainer:function(){return e("<div></div>",{"class":"select2-container select2-container-multi"}).html(" <ul class='select2-choices'> <li class='select2-search-field'> <input type='text' autocomplete='off' class='select2-input'> </li></ul><div class='select2-drop select2-drop-multi' style='display:none;'> <ul class='select2-results'> </ul></div>")},prepareOpts:function(){var a=this.parent.prepareOpts.apply(this,
|
61 |
+
arguments);"select"===a.element.get(0).tagName.toLowerCase()&&(a.initSelection=function(a,c){var d=[];a.find(":selected").each2(function(a,b){d.push({id:b.attr("value"),text:b.text()})});e.isFunction(c)&&c(d)});return a},initContainer:function(){var a;this.searchContainer=this.container.find(".select2-search-field");this.selection=a=this.container.find(".select2-choices");this.search.bind("keydown",this.bind(function(b){if(this.enabled){if(b.which===f.BACKSPACE&&""===this.search.val()){this.close();
|
62 |
+
var c;c=a.find(".select2-search-choice-focus");if(0<c.length){this.unselect(c.first());this.search.width(10);k(b);return}c=a.find(".select2-search-choice");0<c.length&&c.last().addClass("select2-search-choice-focus")}else a.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");if(this.opened())switch(b.which){case f.UP:case f.DOWN:this.moveHighlight(b.which===f.UP?-1:1);k(b);return;case f.ENTER:case f.TAB:this.selectHighlighted();k(b);return;case f.ESC:this.cancel(b);k(b);
|
63 |
+
return}if(!(b.which===f.TAB||f.isControl(b)||f.isFunctionKey(b)||b.which===f.BACKSPACE||b.which===f.ESC)&&!(!1===this.opts.openOnEnter&&b.which===f.ENTER))this.open(),(b.which===f.PAGE_UP||b.which===f.PAGE_DOWN)&&k(b)}}));this.search.bind("keyup",this.bind(this.resizeSearch));this.search.bind("blur",this.bind(function(){this.container.removeClass("select2-container-active")}));this.container.delegate(".select2-choices","mousedown",this.bind(function(a){this.enabled&&(this.clearPlaceholder(),this.open(),
|
64 |
+
this.focusSearch(),a.preventDefault())}));this.container.delegate(".select2-choices","focus",this.bind(function(){this.enabled&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())}));this.clearSearch()},enable:function(){this.enabled||(this.parent.enable.apply(this,arguments),this.search.removeAttr("disabled"))},disable:function(){this.enabled&&(this.parent.disable.apply(this,arguments),this.search.attr("disabled",!0))},initSelection:function(){""===
|
65 |
+
this.opts.element.val()&&(this.updateSelection([]),this.close(),this.clearSearch());if(this.select||""!==this.opts.element.val()){var a=this;this.opts.initSelection.call(null,this.opts.element,function(b){if(b!==g&&b!==null){a.updateSelection(b);a.close();a.clearSearch()}})}},clearSearch:function(){var a=this.getPlaceholder();a!==g&&0===this.getVal().length&&!1===this.search.hasClass("select2-focused")?(this.search.val(a).addClass("select2-default"),this.resizeSearch()):this.search.val(" ").width(10)},
|
66 |
+
clearPlaceholder:function(){this.search.hasClass("select2-default")?this.search.val("").removeClass("select2-default"):" "===this.search.val()&&this.search.val("")},opening:function(){this.parent.opening.apply(this,arguments);this.clearPlaceholder();this.resizeSearch();this.focusSearch()},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close();this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(a){var b=
|
67 |
+
[],c=[],d=this;e(a).each(function(){0>h(d.id(this),b)&&(b.push(d.id(this)),c.push(this))});a=c;this.selection.find(".select2-search-choice").remove();e(a).each(function(){d.addSelectedChoice(this)});d.postprocessResults()},tokenize:function(){var a=this.search.val(),a=this.opts.tokenizer(a,this.data(),this.bind(this.onSelect),this.opts);null!=a&&a!=g&&(this.search.val(a),0<a.length&&this.open())},onSelect:function(a){this.addSelectedChoice(a);this.select&&this.postprocessResults();this.opts.closeOnSelect?
|
68 |
+
(this.close(),this.search.width(10)):0<this.countSelectableResults()?(this.search.width(10),this.resizeSearch(),this.positionDropdown()):this.close();this.triggerChange({added:a});this.focusSearch()},cancel:function(){this.close();this.focusSearch()},addSelectedChoice:function(a){var b=e("<li class='select2-search-choice'> <div></div> <a href='javascript:void(0)' class='select2-search-choice-close' tabindex='-1'></a></li>"),c=this.id(a),d=this.getVal(),f;f=this.opts.formatSelection(a,b);b.find("div").replaceWith("<div>"+
|
69 |
+
n(f)+"</div>");b.find(".select2-search-choice-close").bind("mousedown",k).bind("click dblclick",this.bind(function(a){this.enabled&&(e(a.target).closest(".select2-search-choice").fadeOut("fast").animate({width:"hide"},50,this.bind(function(){this.unselect(e(a.target));this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus");this.close();this.focusSearch()})).dequeue(),k(a))})).bind("focus",this.bind(function(){this.enabled&&(this.container.addClass("select2-container-active"),
|
70 |
+
this.dropdown.addClass("select2-drop-active"))}));b.data("select2-data",a);b.insertBefore(this.searchContainer);d.push(c);this.setVal(d)},unselect:function(a){var b=this.getVal(),c,d,a=a.closest(".select2-search-choice");if(0===a.length)throw"Invalid argument: "+a+". Must be .select2-search-choice";c=a.data("select2-data");d=h(this.id(c),b);0<=d&&(b.splice(d,1),this.setVal(b),this.select&&this.postprocessResults());a.remove();this.triggerChange({removed:c})},postprocessResults:function(){var a=this.getVal(),
|
71 |
+
b=this.results.find(".select2-result-selectable"),c=this.results.find(".select2-result-with-children"),d=this;b.each2(function(b,c){var e=d.id(c.data("select2-data"));0<=h(e,a)?c.addClass("select2-disabled").removeClass("select2-result-selectable"):c.removeClass("select2-disabled").addClass("select2-result-selectable")});c.each2(function(a,b){0==b.find(".select2-result-selectable").length?b.addClass("select2-disabled"):b.removeClass("select2-disabled")});b.each2(function(a,b){if(!b.hasClass("select2-disabled")&&
|
72 |
+
b.hasClass("select2-result-selectable"))return d.highlight(0),!1})},resizeSearch:function(){var a,b,c,d,f=this.search.outerWidth()-this.search.width();a=this.search;q||(c=a[0].currentStyle||window.getComputedStyle(a[0],null),q=e("<div></div>").css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),e("body").append(q));
|
73 |
+
q.text(a.val());a=q.width()+10;b=this.search.offset().left;c=this.selection.width();d=this.selection.offset().left;b=c-(b-d)-f;b<a&&(b=c-f);40>b&&(b=c-f);this.search.width(b)},getVal:function(){var a;if(this.select)return a=this.select.val(),null===a?[]:a;a=this.opts.element.val();return z(a,this.opts.separator)},setVal:function(a){var b;this.select?this.select.val(a):(b=[],e(a).each(function(){0>h(this,b)&&b.push(this)}),this.opts.element.val(0===b.length?"":b.join(this.opts.separator)))},val:function(){var a,
|
74 |
+
b=[],c=this;if(0===arguments.length)return this.getVal();if(a=arguments[0])if(this.setVal(a),this.select)this.select.find(":selected").each(function(){b.push({id:e(this).attr("value"),text:e(this).text()})}),this.updateSelection(b);else{if(this.opts.initSelection===g)throw Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(a){var b=e(a).map(c.id);c.setVal(b);c.updateSelection(a);c.clearSearch()})}else this.opts.element.val(""),this.updateSelection([]);
|
75 |
+
this.clearSearch()},onSortStart:function(){if(this.select)throw Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0);this.searchContainer.hide()},onSortEnd:function(){var a=[],b=this;this.searchContainer.show();this.searchContainer.appendTo(this.searchContainer.parent());this.resizeSearch();this.selection.find(".select2-search-choice").each(function(){a.push(b.opts.id(e(this).data("select2-data")))});this.setVal(a);
|
76 |
+
this.triggerChange()},data:function(a){var b=this,c;if(0===arguments.length)return this.selection.find(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get();a||(a=[]);c=e.map(a,function(a){return b.opts.id(a)});this.setVal(c);this.updateSelection(a);this.clearSearch()}});e.fn.select2=function(){var a=Array.prototype.slice.call(arguments,0),b,c,d,f,j="val destroy opened open close focus isFocused container onSortStart onSortEnd enable disable positionDropdown data".split(" ");
|
77 |
+
this.each(function(){if(0===a.length||"object"===typeof a[0])b=0===a.length?{}:e.extend({},a[0]),b.element=e(this),"select"===b.element.get(0).tagName.toLowerCase()?f=b.element.attr("multiple"):(f=b.multiple||!1,"tags"in b&&(b.multiple=f=!0)),c=f?new y:new x,c.init(b);else if("string"===typeof a[0]){if(0>h(a[0],j))throw"Unknown method: "+a[0];d=g;c=e(this).data("select2");if(c!==g&&(d="container"===a[0]?c.container:c[a[0]].apply(c,a.slice(1)),d!==g))return!1}else throw"Invalid arguments to select2 plugin: "+
|
78 |
+
a;});return d===g?this:d};e.fn.select2.defaults={width:"copy",closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c){b=[];B(a.text,c.term,b);return b.join("")},formatSelection:function(a){return a.text},formatResultCssClass:function(){return g},formatNoMatches:function(){return"No matches found"},formatInputTooShort:function(a,b){return"Please enter "+(b-a.length)+" more characters"},formatSelectionTooBig:function(a){return"You can only select "+
|
79 |
+
a+" items"},formatLoadMore:function(){return"Loading more results..."},formatSearching:function(){return"Searching..."},minimumResultsForSearch:0,minimumInputLength:0,maximumSelectionSize:0,id:function(a){return a.id},matcher:function(a,b){return 0<=b.toUpperCase().indexOf(a.toUpperCase())},separator:",",tokenSeparators:[],tokenizer:J};window.Select2={query:{ajax:C,local:D,tags:E},util:{debounce:A,markMatch:B},"class":{"abstract":v,single:x,multi:y}}}})(jQuery);
|
assets/js/plugins/forms/jquery.uniform.min.js
ADDED
@@ -0,0 +1,535 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(a) {
|
2 |
+
a.uniform = {
|
3 |
+
options : {
|
4 |
+
selectClass : "selector",
|
5 |
+
radioClass : "radio",
|
6 |
+
checkboxClass : "checker",
|
7 |
+
fileClass : "uploader",
|
8 |
+
filenameClass : "filename",
|
9 |
+
fileBtnClass : "action",
|
10 |
+
fileDefaultText : "No file selected",
|
11 |
+
fileBtnText : "Choose File",
|
12 |
+
checkedClass : "checked",
|
13 |
+
focusClass : "focus",
|
14 |
+
disabledClass : "disabled",
|
15 |
+
buttonClass : "button",
|
16 |
+
activeClass : "active",
|
17 |
+
hoverClass : "hover",
|
18 |
+
useID : true,
|
19 |
+
idPrefix : "uniform",
|
20 |
+
resetSelector : false,
|
21 |
+
autoHide : true
|
22 |
+
},
|
23 |
+
elements : []
|
24 |
+
};
|
25 |
+
if (a.browser.msie && a.browser.version < 7) {
|
26 |
+
a.support.selectOpacity = false
|
27 |
+
} else {
|
28 |
+
a.support.selectOpacity = true
|
29 |
+
}
|
30 |
+
a.fn.uniform = function(k) {
|
31 |
+
k = a.extend(a.uniform.options, k);
|
32 |
+
var d = this;
|
33 |
+
if (k.resetSelector != false) {
|
34 |
+
a(k.resetSelector).mouseup(function() {
|
35 |
+
function l() {
|
36 |
+
a.uniform.update(d)
|
37 |
+
}
|
38 |
+
|
39 |
+
setTimeout(l, 10)
|
40 |
+
})
|
41 |
+
}
|
42 |
+
function j(l) {
|
43 |
+
$el = a(l);
|
44 |
+
$el.addClass($el.attr("type"));
|
45 |
+
b(l)
|
46 |
+
}
|
47 |
+
|
48 |
+
function g(l) {
|
49 |
+
a(l).addClass("uniform");
|
50 |
+
b(l)
|
51 |
+
}
|
52 |
+
|
53 |
+
function i(o) {
|
54 |
+
var checkExistingCongtrol = document.getElementById(k.idPrefix + "-" + m.attr("id"));
|
55 |
+
if(checkExistingCongtrol == null)
|
56 |
+
{
|
57 |
+
var m = a(o);
|
58 |
+
var p = a("<div>"), l = a("<span>");
|
59 |
+
p.addClass(k.buttonClass);
|
60 |
+
if (k.useID && m.attr("id") != "") {
|
61 |
+
p.attr("id", k.idPrefix + "-" + m.attr("id"))
|
62 |
+
}
|
63 |
+
var n;
|
64 |
+
if (m.is("a") || m.is("button")) {
|
65 |
+
n = m.text()
|
66 |
+
} else {
|
67 |
+
if (m.is(":submit") || m.is(":reset") || m.is("input[type=button]")) {
|
68 |
+
n = m.attr("value")
|
69 |
+
}
|
70 |
+
}
|
71 |
+
n = n == "" ? m.is(":reset") ? "Reset" : "Submit" : n;
|
72 |
+
l.html(n);
|
73 |
+
m.css("opacity", 0);
|
74 |
+
m.wrap(p);
|
75 |
+
m.wrap(l);
|
76 |
+
p = m.closest("div");
|
77 |
+
l = m.closest("span");
|
78 |
+
if (m.is(":disabled")) {
|
79 |
+
p.addClass(k.disabledClass)
|
80 |
+
}
|
81 |
+
p.bind({
|
82 |
+
"mouseenter.uniform" : function() {
|
83 |
+
p.addClass(k.hoverClass)
|
84 |
+
},
|
85 |
+
"mouseleave.uniform" : function() {
|
86 |
+
p.removeClass(k.hoverClass);
|
87 |
+
p.removeClass(k.activeClass)
|
88 |
+
},
|
89 |
+
"mousedown.uniform touchbegin.uniform" : function() {
|
90 |
+
p.addClass(k.activeClass)
|
91 |
+
},
|
92 |
+
"mouseup.uniform touchend.uniform" : function() {
|
93 |
+
p.removeClass(k.activeClass)
|
94 |
+
},
|
95 |
+
"click.uniform touchend.uniform" : function(r) {
|
96 |
+
if (a(r.target).is("span") || a(r.target).is("div")) {
|
97 |
+
if (o[0].dispatchEvent) {
|
98 |
+
var q = document.createEvent("MouseEvents");
|
99 |
+
q.initEvent("click", true, true);
|
100 |
+
o[0].dispatchEvent(q)
|
101 |
+
} else {
|
102 |
+
o[0].click()
|
103 |
+
}
|
104 |
+
}
|
105 |
+
}
|
106 |
+
});
|
107 |
+
o.bind({
|
108 |
+
"focus.uniform" : function() {
|
109 |
+
p.addClass(k.focusClass)
|
110 |
+
},
|
111 |
+
"blur.uniform" : function() {
|
112 |
+
p.removeClass(k.focusClass)
|
113 |
+
}
|
114 |
+
});
|
115 |
+
a.uniform.noSelect(p);
|
116 |
+
b(o)
|
117 |
+
}
|
118 |
+
}
|
119 |
+
|
120 |
+
function e(o) {
|
121 |
+
var checkExistingCongtrol = document.getElementById(k.idPrefix + "-" + o.attr("id"));
|
122 |
+
|
123 |
+
if(checkExistingCongtrol == null)
|
124 |
+
{
|
125 |
+
var m = a(o);
|
126 |
+
var p = a("<div />"), l = a("<span />");
|
127 |
+
if (!m.css("display") == "none" && k.autoHide) {
|
128 |
+
p.hide()
|
129 |
+
}
|
130 |
+
p.addClass(k.selectClass);
|
131 |
+
if (k.useID && o.attr("id") != "") {
|
132 |
+
p.attr("id", k.idPrefix + "-" + o.attr("id"))
|
133 |
+
}
|
134 |
+
var n = o.find(":selected:first");
|
135 |
+
if (n.length == 0) {
|
136 |
+
n = o.find("option:first")
|
137 |
+
}
|
138 |
+
l.html(n.html());
|
139 |
+
o.css("opacity", 0);
|
140 |
+
o.wrap(p);
|
141 |
+
o.before(l);
|
142 |
+
p = o.parent("div");
|
143 |
+
l = o.siblings("span");
|
144 |
+
o.bind({
|
145 |
+
"change.uniform" : function() {
|
146 |
+
l.text(o.find(":selected").html());
|
147 |
+
p.removeClass(k.activeClass)
|
148 |
+
},
|
149 |
+
"focus.uniform" : function() {
|
150 |
+
p.addClass(k.focusClass)
|
151 |
+
},
|
152 |
+
"blur.uniform" : function() {
|
153 |
+
p.removeClass(k.focusClass);
|
154 |
+
p.removeClass(k.activeClass)
|
155 |
+
},
|
156 |
+
"mousedown.uniform touchbegin.uniform" : function() {
|
157 |
+
p.addClass(k.activeClass)
|
158 |
+
},
|
159 |
+
"mouseup.uniform touchend.uniform" : function() {
|
160 |
+
p.removeClass(k.activeClass)
|
161 |
+
},
|
162 |
+
"click.uniform touchend.uniform" : function() {
|
163 |
+
p.removeClass(k.activeClass)
|
164 |
+
},
|
165 |
+
"mouseenter.uniform" : function() {
|
166 |
+
p.addClass(k.hoverClass)
|
167 |
+
},
|
168 |
+
"mouseleave.uniform" : function() {
|
169 |
+
p.removeClass(k.hoverClass);
|
170 |
+
p.removeClass(k.activeClass)
|
171 |
+
},
|
172 |
+
"keyup.uniform" : function() {
|
173 |
+
l.text(o.find(":selected").html())
|
174 |
+
}
|
175 |
+
});
|
176 |
+
if (a(o).attr("disabled")) {
|
177 |
+
p.addClass(k.disabledClass)
|
178 |
+
}
|
179 |
+
a.uniform.noSelect(l);
|
180 |
+
b(o)
|
181 |
+
}
|
182 |
+
}
|
183 |
+
|
184 |
+
function f(n) {
|
185 |
+
var checkExistingCongtrol = document.getElementById(k.idPrefix + "-" + n.attr("id"));
|
186 |
+
if(checkExistingCongtrol == null)
|
187 |
+
{
|
188 |
+
var m = a(n);
|
189 |
+
var o = a("<div />"), l = a("<span />");
|
190 |
+
if (!m.css("display") == "none" && k.autoHide) {
|
191 |
+
o.hide()
|
192 |
+
}
|
193 |
+
o.addClass(k.checkboxClass);
|
194 |
+
if (k.useID && n.attr("id") != "") {
|
195 |
+
o.attr("id", k.idPrefix + "-" + n.attr("id"))
|
196 |
+
}
|
197 |
+
a(n).wrap(o);
|
198 |
+
a(n).wrap(l);
|
199 |
+
l = n.parent();
|
200 |
+
o = l.parent();
|
201 |
+
a(n).css("opacity", 0).bind({
|
202 |
+
"focus.uniform" : function() {
|
203 |
+
o.addClass(k.focusClass)
|
204 |
+
},
|
205 |
+
"blur.uniform" : function() {
|
206 |
+
o.removeClass(k.focusClass)
|
207 |
+
},
|
208 |
+
"click.uniform touchend.uniform" : function() {
|
209 |
+
if (!a(n).attr("checked")) {
|
210 |
+
l.removeClass(k.checkedClass)
|
211 |
+
} else {
|
212 |
+
l.addClass(k.checkedClass)
|
213 |
+
}
|
214 |
+
},
|
215 |
+
"mousedown.uniform touchbegin.uniform" : function() {
|
216 |
+
o.addClass(k.activeClass)
|
217 |
+
},
|
218 |
+
"mouseup.uniform touchend.uniform" : function() {
|
219 |
+
o.removeClass(k.activeClass)
|
220 |
+
},
|
221 |
+
"mouseenter.uniform" : function() {
|
222 |
+
o.addClass(k.hoverClass)
|
223 |
+
},
|
224 |
+
"mouseleave.uniform" : function() {
|
225 |
+
o.removeClass(k.hoverClass);
|
226 |
+
o.removeClass(k.activeClass)
|
227 |
+
}
|
228 |
+
});
|
229 |
+
if (a(n).attr("checked")) {
|
230 |
+
l.addClass(k.checkedClass)
|
231 |
+
}
|
232 |
+
if (a(n).attr("disabled")) {
|
233 |
+
o.addClass(k.disabledClass)
|
234 |
+
}
|
235 |
+
b(n)
|
236 |
+
}
|
237 |
+
}
|
238 |
+
|
239 |
+
function c(n) {
|
240 |
+
var checkExistingCongtrol = document.getElementById(k.idPrefix + "-" + n.attr("id"));
|
241 |
+
if(checkExistingCongtrol == null)
|
242 |
+
{
|
243 |
+
var m = a(n);
|
244 |
+
var o = a("<div />"), l = a("<span />");
|
245 |
+
if (!m.css("display") == "none" && k.autoHide) {
|
246 |
+
o.hide()
|
247 |
+
}
|
248 |
+
o.addClass(k.radioClass);
|
249 |
+
if (k.useID && n.attr("id") != "") {
|
250 |
+
o.attr("id", k.idPrefix + "-" + n.attr("id"))
|
251 |
+
}
|
252 |
+
a(n).wrap(o);
|
253 |
+
a(n).wrap(l);
|
254 |
+
l = n.parent();
|
255 |
+
o = l.parent();
|
256 |
+
a(n).css("opacity", 0).bind({
|
257 |
+
"focus.uniform" : function() {
|
258 |
+
o.addClass(k.focusClass)
|
259 |
+
},
|
260 |
+
"blur.uniform" : function() {
|
261 |
+
o.removeClass(k.focusClass)
|
262 |
+
},
|
263 |
+
"click.uniform touchend.uniform" : function() {
|
264 |
+
if (!a(n).attr("checked")) {
|
265 |
+
l.removeClass(k.checkedClass)
|
266 |
+
} else {
|
267 |
+
var p = k.radioClass.split(" ")[0];
|
268 |
+
a("." + p + " span." + k.checkedClass + ":has([name='" + a(n).attr("name") + "'])").removeClass(k.checkedClass);
|
269 |
+
l.addClass(k.checkedClass)
|
270 |
+
}
|
271 |
+
},
|
272 |
+
"mousedown.uniform touchend.uniform" : function() {
|
273 |
+
if (!a(n).is(":disabled")) {
|
274 |
+
o.addClass(k.activeClass)
|
275 |
+
}
|
276 |
+
},
|
277 |
+
"mouseup.uniform touchbegin.uniform" : function() {
|
278 |
+
o.removeClass(k.activeClass)
|
279 |
+
},
|
280 |
+
"mouseenter.uniform touchend.uniform" : function() {
|
281 |
+
o.addClass(k.hoverClass)
|
282 |
+
},
|
283 |
+
"mouseleave.uniform" : function() {
|
284 |
+
o.removeClass(k.hoverClass);
|
285 |
+
o.removeClass(k.activeClass)
|
286 |
+
}
|
287 |
+
});
|
288 |
+
if (a(n).attr("checked")) {
|
289 |
+
l.addClass(k.checkedClass)
|
290 |
+
}
|
291 |
+
if (a(n).attr("disabled")) {
|
292 |
+
o.addClass(k.disabledClass)
|
293 |
+
}
|
294 |
+
b(n)
|
295 |
+
}
|
296 |
+
}
|
297 |
+
|
298 |
+
function h(q) {
|
299 |
+
var checkExistingCongtrol = document.getElementById(k.idPrefix + "-" + o.attr("id"));
|
300 |
+
if(checkExistingCongtrol == null)
|
301 |
+
{
|
302 |
+
var o = a(q);
|
303 |
+
var r = a("<div />"), p = a("<span>" + k.fileDefaultText + "</span>"), m = a("<span>" + k.fileBtnText + "</span>");
|
304 |
+
if (!o.css("display") == "none" && k.autoHide) {
|
305 |
+
r.hide()
|
306 |
+
}
|
307 |
+
r.addClass(k.fileClass);
|
308 |
+
p.addClass(k.filenameClass);
|
309 |
+
m.addClass(k.fileBtnClass);
|
310 |
+
if (k.useID && o.attr("id") != "") {
|
311 |
+
r.attr("id", k.idPrefix + "-" + o.attr("id"))
|
312 |
+
}
|
313 |
+
o.wrap(r);
|
314 |
+
o.after(m);
|
315 |
+
o.after(p);
|
316 |
+
r = o.closest("div");
|
317 |
+
p = o.siblings("." + k.filenameClass);
|
318 |
+
m = o.siblings("." + k.fileBtnClass);
|
319 |
+
if (!o.attr("size")) {
|
320 |
+
var l = r.width();
|
321 |
+
o.attr("size", l / 10)
|
322 |
+
}
|
323 |
+
var n = function() {
|
324 |
+
var s = o.val();
|
325 |
+
if (s === "") {
|
326 |
+
s = k.fileDefaultText
|
327 |
+
} else {
|
328 |
+
s = s.split(/[\/\\]+/);
|
329 |
+
s = s[(s.length - 1)]
|
330 |
+
}
|
331 |
+
p.text(s)
|
332 |
+
};
|
333 |
+
n();
|
334 |
+
o.css("opacity", 0).bind({
|
335 |
+
"focus.uniform" : function() {
|
336 |
+
r.addClass(k.focusClass)
|
337 |
+
},
|
338 |
+
"blur.uniform" : function() {
|
339 |
+
r.removeClass(k.focusClass)
|
340 |
+
},
|
341 |
+
"mousedown.uniform" : function() {
|
342 |
+
if (!a(q).is(":disabled")) {
|
343 |
+
r.addClass(k.activeClass)
|
344 |
+
}
|
345 |
+
},
|
346 |
+
"mouseup.uniform" : function() {
|
347 |
+
r.removeClass(k.activeClass)
|
348 |
+
},
|
349 |
+
"mouseenter.uniform" : function() {
|
350 |
+
r.addClass(k.hoverClass)
|
351 |
+
},
|
352 |
+
"mouseleave.uniform" : function() {
|
353 |
+
r.removeClass(k.hoverClass);
|
354 |
+
r.removeClass(k.activeClass)
|
355 |
+
}
|
356 |
+
});
|
357 |
+
if (a.browser.msie) {
|
358 |
+
o.bind("click.uniform.ie7", function() {
|
359 |
+
setTimeout(n, 0)
|
360 |
+
})
|
361 |
+
} else {
|
362 |
+
o.bind("change.uniform", n)
|
363 |
+
}
|
364 |
+
if (o.attr("disabled")) {
|
365 |
+
r.addClass(k.disabledClass)
|
366 |
+
}
|
367 |
+
a.uniform.noSelect(p);
|
368 |
+
a.uniform.noSelect(m);
|
369 |
+
b(q)
|
370 |
+
}
|
371 |
+
}
|
372 |
+
a.uniform.restore = function(l) {
|
373 |
+
if (l == undefined) {
|
374 |
+
l = a(a.uniform.elements)
|
375 |
+
}
|
376 |
+
a(l).each(function() {
|
377 |
+
if (a(this).is(":checkbox")) {
|
378 |
+
a(this).unwrap().unwrap()
|
379 |
+
} else {
|
380 |
+
if (a(this).is("select")) {
|
381 |
+
a(this).siblings("span").remove();
|
382 |
+
a(this).unwrap()
|
383 |
+
} else {
|
384 |
+
if (a(this).is(":radio")) {
|
385 |
+
a(this).unwrap().unwrap()
|
386 |
+
} else {
|
387 |
+
if (a(this).is(":file")) {
|
388 |
+
a(this).siblings("span").remove();
|
389 |
+
a(this).unwrap()
|
390 |
+
} else {
|
391 |
+
if (a(this).is("button, :submit, :reset, a, input[type='button']")) {
|
392 |
+
a(this).unwrap().unwrap()
|
393 |
+
}
|
394 |
+
}
|
395 |
+
}
|
396 |
+
}
|
397 |
+
}
|
398 |
+
a(this).unbind(".uniform");
|
399 |
+
a(this).css("opacity", "1");
|
400 |
+
var m = a.inArray(a(l), a.uniform.elements);
|
401 |
+
a.uniform.elements.splice(m, 1)
|
402 |
+
})
|
403 |
+
};
|
404 |
+
function b(l) {
|
405 |
+
l = a(l).get();
|
406 |
+
if (l.length > 1) {
|
407 |
+
a.each(l, function(m, n) {
|
408 |
+
a.uniform.elements.push(n)
|
409 |
+
})
|
410 |
+
} else {
|
411 |
+
a.uniform.elements.push(l)
|
412 |
+
}
|
413 |
+
}
|
414 |
+
a.uniform.noSelect = function(l) {
|
415 |
+
function m() {
|
416 |
+
return false
|
417 |
+
}
|
418 |
+
a(l).each(function() {
|
419 |
+
this.onselectstart = this.ondragstart = m;
|
420 |
+
a(this).mousedown(m).css({
|
421 |
+
MozUserSelect : "none"
|
422 |
+
})
|
423 |
+
})
|
424 |
+
};
|
425 |
+
a.uniform.update = function(l) {
|
426 |
+
if (l == undefined) {
|
427 |
+
l = a(a.uniform.elements)
|
428 |
+
}
|
429 |
+
l = a(l);
|
430 |
+
l.each(function() {
|
431 |
+
var n = a(this);
|
432 |
+
if (n.is("select")) {
|
433 |
+
var m = n.siblings("span");
|
434 |
+
var p = n.parent("div");
|
435 |
+
p.removeClass(k.hoverClass + " " + k.focusClass + " " + k.activeClass);
|
436 |
+
m.html(n.find(":selected").html());
|
437 |
+
if (n.is(":disabled")) {
|
438 |
+
p.addClass(k.disabledClass)
|
439 |
+
} else {
|
440 |
+
p.removeClass(k.disabledClass)
|
441 |
+
}
|
442 |
+
} else {
|
443 |
+
if (n.is(":checkbox")) {
|
444 |
+
var m = n.closest("span");
|
445 |
+
var p = n.closest("div");
|
446 |
+
p.removeClass(k.hoverClass + " " + k.focusClass + " " + k.activeClass);
|
447 |
+
m.removeClass(k.checkedClass);
|
448 |
+
if (n.is(":checked")) {
|
449 |
+
m.addClass(k.checkedClass)
|
450 |
+
}
|
451 |
+
if (n.is(":disabled")) {
|
452 |
+
p.addClass(k.disabledClass)
|
453 |
+
} else {
|
454 |
+
p.removeClass(k.disabledClass)
|
455 |
+
}
|
456 |
+
} else {
|
457 |
+
if (n.is(":radio")) {
|
458 |
+
var m = n.closest("span");
|
459 |
+
var p = n.closest("div");
|
460 |
+
p.removeClass(k.hoverClass + " " + k.focusClass + " " + k.activeClass);
|
461 |
+
m.removeClass(k.checkedClass);
|
462 |
+
if (n.is(":checked")) {
|
463 |
+
m.addClass(k.checkedClass)
|
464 |
+
}
|
465 |
+
if (n.is(":disabled")) {
|
466 |
+
p.addClass(k.disabledClass)
|
467 |
+
} else {
|
468 |
+
p.removeClass(k.disabledClass)
|
469 |
+
}
|
470 |
+
} else {
|
471 |
+
if (n.is(":file")) {
|
472 |
+
var p = n.parent("div");
|
473 |
+
var o = n.siblings(k.filenameClass);
|
474 |
+
btnTag = n.siblings(k.fileBtnClass);
|
475 |
+
p.removeClass(k.hoverClass + " " + k.focusClass + " " + k.activeClass);
|
476 |
+
o.text(n.val());
|
477 |
+
if (n.is(":disabled")) {
|
478 |
+
p.addClass(k.disabledClass)
|
479 |
+
} else {
|
480 |
+
p.removeClass(k.disabledClass)
|
481 |
+
}
|
482 |
+
} else {
|
483 |
+
if (n.is(":submit") || n.is(":reset") || n.is("button") || n.is("a") || l.is("input[type=button]")) {
|
484 |
+
var p = n.closest("div");
|
485 |
+
p.removeClass(k.hoverClass + " " + k.focusClass + " " + k.activeClass);
|
486 |
+
if (n.is(":disabled")) {
|
487 |
+
p.addClass(k.disabledClass)
|
488 |
+
} else {
|
489 |
+
p.removeClass(k.disabledClass)
|
490 |
+
}
|
491 |
+
}
|
492 |
+
}
|
493 |
+
}
|
494 |
+
}
|
495 |
+
}
|
496 |
+
})
|
497 |
+
};
|
498 |
+
return this.each(function() {
|
499 |
+
if (a.support.selectOpacity) {
|
500 |
+
var l = a(this);
|
501 |
+
if (l.is("select")) {
|
502 |
+
if (l.attr("multiple") != true) {
|
503 |
+
if (l.attr("size") == undefined || l.attr("size") <= 1) {
|
504 |
+
e(l)
|
505 |
+
}
|
506 |
+
}
|
507 |
+
} else {
|
508 |
+
if (l.is(":checkbox")) {
|
509 |
+
f(l)
|
510 |
+
} else {
|
511 |
+
if (l.is(":radio")) {
|
512 |
+
c(l)
|
513 |
+
} else {
|
514 |
+
if (l.is(":file")) {
|
515 |
+
h(l)
|
516 |
+
} else {
|
517 |
+
if (l.is(":text, :password, input[type='email']")) {
|
518 |
+
j(l)
|
519 |
+
} else {
|
520 |
+
if (l.is("textarea")) {
|
521 |
+
g(l)
|
522 |
+
} else {
|
523 |
+
if (l.is("a") || l.is(":submit") || l.is(":reset") || l.is("button") || l.is("input[type=button]")) {
|
524 |
+
i(l)
|
525 |
+
}
|
526 |
+
}
|
527 |
+
}
|
528 |
+
}
|
529 |
+
}
|
530 |
+
}
|
531 |
+
}
|
532 |
+
}
|
533 |
+
})
|
534 |
+
}
|
535 |
+
})(jQuery);
|
{js → assets/js/plugins/forms}/jquery.validate.min.js
RENAMED
File without changes
|
assets/js/plugins/tables/jquery.dataTables.min.js
ADDED
@@ -0,0 +1,3960 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function(window, document, undefined) {( function(factory) {"use strict";
|
2 |
+
if ( typeof define === 'function' && define.amd) {
|
3 |
+
define(['jquery'], factory)
|
4 |
+
} else if (jQuery && !jQuery.fn.dataTable) {
|
5 |
+
factory(jQuery)
|
6 |
+
}
|
7 |
+
}(function($) {"use strict";
|
8 |
+
var DataTable = function(oInit) {
|
9 |
+
function _fnAddColumn(oSettings, nTh) {
|
10 |
+
var oDefaults = DataTable.defaults.columns;
|
11 |
+
var iCol = oSettings.aoColumns.length;
|
12 |
+
var oCol = $.extend({}, DataTable.models.oColumn, oDefaults, {
|
13 |
+
"sSortingClass" : oSettings.oClasses.sSortable,
|
14 |
+
"sSortingClassJUI" : oSettings.oClasses.sSortJUI,
|
15 |
+
"nTh" : nTh ? nTh : document.createElement('th'),
|
16 |
+
"sTitle" : oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '',
|
17 |
+
"aDataSort" : oDefaults.aDataSort ? oDefaults.aDataSort : [iCol],
|
18 |
+
"mData" : oDefaults.mData ? oDefaults.oDefaults : iCol
|
19 |
+
});
|
20 |
+
oSettings.aoColumns.push(oCol);
|
21 |
+
if (oSettings.aoPreSearchCols[iCol] === undefined || oSettings.aoPreSearchCols[iCol] === null) {
|
22 |
+
oSettings.aoPreSearchCols[iCol] = $.extend({}, DataTable.models.oSearch)
|
23 |
+
} else {
|
24 |
+
var oPre = oSettings.aoPreSearchCols[iCol];
|
25 |
+
if (oPre.bRegex === undefined) {
|
26 |
+
oPre.bRegex = true
|
27 |
+
}
|
28 |
+
if (oPre.bSmart === undefined) {
|
29 |
+
oPre.bSmart = true
|
30 |
+
}
|
31 |
+
if (oPre.bCaseInsensitive === undefined) {
|
32 |
+
oPre.bCaseInsensitive = true
|
33 |
+
}
|
34 |
+
}
|
35 |
+
_fnColumnOptions(oSettings, iCol, null)
|
36 |
+
}
|
37 |
+
|
38 |
+
function _fnColumnOptions(oSettings, iCol, oOptions) {
|
39 |
+
var oCol = oSettings.aoColumns[iCol];
|
40 |
+
if (oOptions !== undefined && oOptions !== null) {
|
41 |
+
if (oOptions.mDataProp && !oOptions.mData) {
|
42 |
+
oOptions.mData = oOptions.mDataProp
|
43 |
+
}
|
44 |
+
if (oOptions.sType !== undefined) {
|
45 |
+
oCol.sType = oOptions.sType;
|
46 |
+
oCol._bAutoType = false
|
47 |
+
}
|
48 |
+
$.extend(oCol, oOptions);
|
49 |
+
_fnMap(oCol, oOptions, "sWidth", "sWidthOrig");
|
50 |
+
if (oOptions.iDataSort !== undefined) {
|
51 |
+
oCol.aDataSort = [oOptions.iDataSort]
|
52 |
+
}
|
53 |
+
_fnMap(oCol, oOptions, "aDataSort")
|
54 |
+
}
|
55 |
+
var mRender = oCol.mRender ? _fnGetObjectDataFn(oCol.mRender) : null;
|
56 |
+
var mData = _fnGetObjectDataFn(oCol.mData);
|
57 |
+
oCol.fnGetData = function(oData, sSpecific) {
|
58 |
+
var innerData = mData(oData, sSpecific);
|
59 |
+
if (oCol.mRender && (sSpecific && sSpecific !== '')) {
|
60 |
+
return mRender(innerData, sSpecific, oData)
|
61 |
+
}
|
62 |
+
return innerData
|
63 |
+
};
|
64 |
+
oCol.fnSetData = _fnSetObjectDataFn(oCol.mData);
|
65 |
+
if (!oSettings.oFeatures.bSort) {
|
66 |
+
oCol.bSortable = false
|
67 |
+
}
|
68 |
+
if (!oCol.bSortable || ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1)) {
|
69 |
+
oCol.sSortingClass = oSettings.oClasses.sSortableNone;
|
70 |
+
oCol.sSortingClassJUI = ""
|
71 |
+
} else if ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1) {
|
72 |
+
oCol.sSortingClass = oSettings.oClasses.sSortable;
|
73 |
+
oCol.sSortingClassJUI = oSettings.oClasses.sSortJUI
|
74 |
+
} else if ($.inArray('asc', oCol.asSorting) != -1 && $.inArray('desc', oCol.asSorting) == -1) {
|
75 |
+
oCol.sSortingClass = oSettings.oClasses.sSortableAsc;
|
76 |
+
oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIAscAllowed
|
77 |
+
} else if ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) != -1) {
|
78 |
+
oCol.sSortingClass = oSettings.oClasses.sSortableDesc;
|
79 |
+
oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIDescAllowed
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
function _fnAdjustColumnSizing(oSettings) {
|
84 |
+
if (oSettings.oFeatures.bAutoWidth === false) {
|
85 |
+
return false
|
86 |
+
}
|
87 |
+
_fnCalculateColumnWidths(oSettings);
|
88 |
+
for (var i = 0, iLen = oSettings.aoColumns.length; i < iLen; i++) {
|
89 |
+
oSettings.aoColumns[i].nTh.style.width = oSettings.aoColumns[i].sWidth
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
function _fnVisibleToColumnIndex(oSettings, iMatch) {
|
94 |
+
var aiVis = _fnGetColumns(oSettings, 'bVisible');
|
95 |
+
return typeof aiVis[iMatch] === 'number' ? aiVis[iMatch] : null
|
96 |
+
}
|
97 |
+
|
98 |
+
function _fnColumnIndexToVisible(oSettings, iMatch) {
|
99 |
+
var aiVis = _fnGetColumns(oSettings, 'bVisible');
|
100 |
+
var iPos = $.inArray(iMatch, aiVis);
|
101 |
+
return iPos !== -1 ? iPos : null
|
102 |
+
}
|
103 |
+
|
104 |
+
function _fnVisbleColumns(oSettings) {
|
105 |
+
return _fnGetColumns(oSettings, 'bVisible').length
|
106 |
+
}
|
107 |
+
|
108 |
+
function _fnGetColumns(oSettings, sParam) {
|
109 |
+
var a = [];
|
110 |
+
$.map(oSettings.aoColumns, function(val, i) {
|
111 |
+
if (val[sParam]) {
|
112 |
+
a.push(i)
|
113 |
+
}
|
114 |
+
});
|
115 |
+
return a
|
116 |
+
}
|
117 |
+
|
118 |
+
function _fnDetectType(sData) {
|
119 |
+
var aTypes = DataTable.ext.aTypes;
|
120 |
+
var iLen = aTypes.length;
|
121 |
+
for (var i = 0; i < iLen; i++) {
|
122 |
+
var sType = aTypes[i](sData);
|
123 |
+
if (sType !== null) {
|
124 |
+
return sType
|
125 |
+
}
|
126 |
+
}
|
127 |
+
return 'string'
|
128 |
+
}
|
129 |
+
|
130 |
+
function _fnReOrderIndex(oSettings, sColumns) {
|
131 |
+
var aColumns = sColumns.split(',');
|
132 |
+
var aiReturn = [];
|
133 |
+
for (var i = 0, iLen = oSettings.aoColumns.length; i < iLen; i++) {
|
134 |
+
for (var j = 0; j < iLen; j++) {
|
135 |
+
if (oSettings.aoColumns[i].sName == aColumns[j]) {
|
136 |
+
aiReturn.push(j);
|
137 |
+
break
|
138 |
+
}
|
139 |
+
}
|
140 |
+
}
|
141 |
+
return aiReturn
|
142 |
+
}
|
143 |
+
|
144 |
+
function _fnColumnOrdering(oSettings) {
|
145 |
+
var sNames = '';
|
146 |
+
for (var i = 0, iLen = oSettings.aoColumns.length; i < iLen; i++) {
|
147 |
+
sNames += oSettings.aoColumns[i].sName + ','
|
148 |
+
}
|
149 |
+
if (sNames.length == iLen) {
|
150 |
+
return ""
|
151 |
+
}
|
152 |
+
return sNames.slice(0, -1)
|
153 |
+
}
|
154 |
+
|
155 |
+
function _fnApplyColumnDefs(oSettings, aoColDefs, aoCols, fn) {
|
156 |
+
var i, iLen, j, jLen, k, kLen;
|
157 |
+
if (aoColDefs) {
|
158 |
+
for ( i = aoColDefs.length - 1; i >= 0; i--) {
|
159 |
+
var aTargets = aoColDefs[i].aTargets;
|
160 |
+
if (!$.isArray(aTargets)) {
|
161 |
+
_fnLog(oSettings, 1, 'aTargets must be an array of targets, not a ' + ( typeof aTargets))
|
162 |
+
}
|
163 |
+
for ( j = 0, jLen = aTargets.length; j < jLen; j++) {
|
164 |
+
if ( typeof aTargets[j] === 'number' && aTargets[j] >= 0) {
|
165 |
+
while (oSettings.aoColumns.length <= aTargets[j]) {
|
166 |
+
_fnAddColumn(oSettings)
|
167 |
+
}
|
168 |
+
fn(aTargets[j], aoColDefs[i])
|
169 |
+
} else if ( typeof aTargets[j] === 'number' && aTargets[j] < 0) {
|
170 |
+
fn(oSettings.aoColumns.length + aTargets[j], aoColDefs[i])
|
171 |
+
} else if ( typeof aTargets[j] === 'string') {
|
172 |
+
for ( k = 0, kLen = oSettings.aoColumns.length; k < kLen; k++) {
|
173 |
+
if (aTargets[j] == "_all" || $(oSettings.aoColumns[k].nTh).hasClass(aTargets[j])) {
|
174 |
+
fn(k, aoColDefs[i])
|
175 |
+
}
|
176 |
+
}
|
177 |
+
}
|
178 |
+
}
|
179 |
+
}
|
180 |
+
}
|
181 |
+
if (aoCols) {
|
182 |
+
for ( i = 0, iLen = aoCols.length; i < iLen; i++) {
|
183 |
+
fn(i, aoCols[i])
|
184 |
+
}
|
185 |
+
}
|
186 |
+
}
|
187 |
+
|
188 |
+
function _fnAddData(oSettings, aDataSupplied) {
|
189 |
+
var oCol;
|
190 |
+
var aDataIn = ($.isArray(aDataSupplied)) ? aDataSupplied.slice() : $.extend(true, {}, aDataSupplied);
|
191 |
+
var iRow = oSettings.aoData.length;
|
192 |
+
var oData = $.extend(true, {}, DataTable.models.oRow);
|
193 |
+
oData._aData = aDataIn;
|
194 |
+
oSettings.aoData.push(oData);
|
195 |
+
var nTd, sThisType;
|
196 |
+
for (var i = 0, iLen = oSettings.aoColumns.length; i < iLen; i++) {
|
197 |
+
oCol = oSettings.aoColumns[i];
|
198 |
+
if ( typeof oCol.fnRender === 'function' && oCol.bUseRendered && oCol.mData !== null) {
|
199 |
+
_fnSetCellData(oSettings, iRow, i, _fnRender(oSettings, iRow, i))
|
200 |
+
} else {
|
201 |
+
_fnSetCellData(oSettings, iRow, i, _fnGetCellData(oSettings, iRow, i))
|
202 |
+
}
|
203 |
+
if (oCol._bAutoType && oCol.sType != 'string') {
|
204 |
+
var sVarType = _fnGetCellData(oSettings, iRow, i, 'type');
|
205 |
+
if (sVarType !== null && sVarType !== '') {
|
206 |
+
sThisType = _fnDetectType(sVarType);
|
207 |
+
if (oCol.sType === null) {
|
208 |
+
oCol.sType = sThisType
|
209 |
+
} else if (oCol.sType != sThisType && oCol.sType != "html") {
|
210 |
+
oCol.sType = 'string'
|
211 |
+
}
|
212 |
+
}
|
213 |
+
}
|
214 |
+
}
|
215 |
+
oSettings.aiDisplayMaster.push(iRow);
|
216 |
+
if (!oSettings.oFeatures.bDeferRender) {
|
217 |
+
_fnCreateTr(oSettings, iRow)
|
218 |
+
}
|
219 |
+
return iRow
|
220 |
+
}
|
221 |
+
|
222 |
+
function _fnGatherData(oSettings) {
|
223 |
+
var iLoop, i, iLen, j, jLen, jInner, nTds, nTrs, nTd, nTr, aLocalData, iThisIndex, iRow, iRows, iColumn, iColumns, sNodeName, oCol, oData;
|
224 |
+
if (oSettings.bDeferLoading || oSettings.sAjaxSource === null) {
|
225 |
+
nTr = oSettings.nTBody.firstChild;
|
226 |
+
while (nTr) {
|
227 |
+
if (nTr.nodeName.toUpperCase() == "TR") {
|
228 |
+
iThisIndex = oSettings.aoData.length;
|
229 |
+
nTr._DT_RowIndex = iThisIndex;
|
230 |
+
oSettings.aoData.push($.extend(true, {}, DataTable.models.oRow, {
|
231 |
+
"nTr" : nTr
|
232 |
+
}));
|
233 |
+
oSettings.aiDisplayMaster.push(iThisIndex);
|
234 |
+
nTd = nTr.firstChild;
|
235 |
+
jInner = 0;
|
236 |
+
while (nTd) {
|
237 |
+
sNodeName = nTd.nodeName.toUpperCase();
|
238 |
+
if (sNodeName == "TD" || sNodeName == "TH") {
|
239 |
+
_fnSetCellData(oSettings, iThisIndex, jInner, $.trim(nTd.innerHTML));
|
240 |
+
jInner++
|
241 |
+
}
|
242 |
+
nTd = nTd.nextSibling
|
243 |
+
}
|
244 |
+
}
|
245 |
+
nTr = nTr.nextSibling
|
246 |
+
}
|
247 |
+
}
|
248 |
+
nTrs = _fnGetTrNodes(oSettings);
|
249 |
+
nTds = [];
|
250 |
+
for ( i = 0, iLen = nTrs.length; i < iLen; i++) {
|
251 |
+
nTd = nTrs[i].firstChild;
|
252 |
+
while (nTd) {
|
253 |
+
sNodeName = nTd.nodeName.toUpperCase();
|
254 |
+
if (sNodeName == "TD" || sNodeName == "TH") {
|
255 |
+
nTds.push(nTd)
|
256 |
+
}
|
257 |
+
nTd = nTd.nextSibling
|
258 |
+
}
|
259 |
+
}
|
260 |
+
for ( iColumn = 0, iColumns = oSettings.aoColumns.length; iColumn < iColumns; iColumn++) {
|
261 |
+
oCol = oSettings.aoColumns[iColumn];
|
262 |
+
if (oCol.sTitle === null) {
|
263 |
+
oCol.sTitle = oCol.nTh.innerHTML
|
264 |
+
}
|
265 |
+
var bAutoType = oCol._bAutoType, bRender = typeof oCol.fnRender === 'function', bClass = oCol.sClass !== null, bVisible = oCol.bVisible, nCell, sThisType, sRendered, sValType;
|
266 |
+
if (bAutoType || bRender || bClass || !bVisible) {
|
267 |
+
for ( iRow = 0, iRows = oSettings.aoData.length; iRow < iRows; iRow++) {
|
268 |
+
oData = oSettings.aoData[iRow];
|
269 |
+
nCell = nTds[(iRow * iColumns) + iColumn];
|
270 |
+
if (bAutoType && oCol.sType != 'string') {
|
271 |
+
sValType = _fnGetCellData(oSettings, iRow, iColumn, 'type');
|
272 |
+
if (sValType !== '') {
|
273 |
+
sThisType = _fnDetectType(sValType);
|
274 |
+
if (oCol.sType === null) {
|
275 |
+
oCol.sType = sThisType
|
276 |
+
} else if (oCol.sType != sThisType && oCol.sType != "html") {
|
277 |
+
oCol.sType = 'string'
|
278 |
+
}
|
279 |
+
}
|
280 |
+
}
|
281 |
+
if (oCol.mRender) {
|
282 |
+
nCell.innerHTML = _fnGetCellData(oSettings, iRow, iColumn, 'display')
|
283 |
+
} else
|