diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..effc303 --- /dev/null +++ b/.htaccess @@ -0,0 +1,70 @@ + + + Options +FollowSymlinks + + RewriteEngine On + + + + + + RewriteBase / + # deal with admin first + RewriteRule ^storage/(.*)?$ /storage/$1 [L,PT] + + RewriteCond %{REQUEST_URI} ^/(admin) + + + + RewriteRule ^admin/assets/(.*)$ backend/web/assets/$1 [L] + + RewriteRule ^admin/css/(.*)$ backend/web/css/$1 [L] + + RewriteRule ^admin/js/(.*)$ backend/web/js/$1 [L] + + RewriteRule ^admin/images/(.*)$ backend/web/images/$1 [L] + + RewriteRule ^admin/fonts/(.*)$ backend/web/fonts/$1 [L] + + + + + + RewriteCond %{REQUEST_URI} !^/backend/web/(assets|css|js|images|fonts)/ + + RewriteCond %{REQUEST_URI} ^/(admin) + + RewriteRule ^.*$ backend/web/index.php [L] + + + + RewriteCond %{REQUEST_URI} ^/(assets|css) + + RewriteRule ^assets/(.*)$ frontend/web/assets/$1 [L] + + RewriteRule ^css/(.*)$ frontend/web/css/$1 [L] + + RewriteRule ^js/(.*)$ frontend/web/js/$1 [L] + + RewriteRule ^images/(.*)$ frontend/web/images/$1 [L] + + RewriteRule ^fonts/(.*)$ frontend/web/fonts/$1 [L] + + + RewriteCond %{REQUEST_URI} !^/(frontend|backend)/web/(assets|css|js|images|fonts)/ + + RewriteCond %{REQUEST_URI} !index.php + + RewriteCond %{REQUEST_FILENAME} !-f [OR] + + RewriteCond %{REQUEST_FILENAME} !-d + + RewriteRule ^.*$ frontend/web/index.php + + + +#для возможности загрузки файлов парсера + + php_value upload_max_filesize 20M + php_value post_max_size 30M + \ No newline at end of file diff --git a/composer.lock b/composer.lock index efa182e..d4bc347 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "0a46956b2ac16c603963c69e1b1f078c", - "content-hash": "1827ea8c78463126c172696034e7e2aa", + "hash": "7f5c25d428fdc1b8171eeefb33740f46", + "content-hash": "269319a9b7db2499c82b3ac2409e9b8d", "packages": [ { "name": "almasaeed2010/adminlte", @@ -138,12 +138,12 @@ "version": "2.1.4", "source": { "type": "git", - "url": "https://github.com/jquery/jquery.git", + "url": "https://github.com/jquery/jquery-dist.git", "reference": "7751e69b615c6eca6f783a81e292a55725af6b85" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jquery/jquery/zipball/7751e69b615c6eca6f783a81e292a55725af6b85", + "url": "https://api.github.com/repos/jquery/jquery-dist/zipball/7751e69b615c6eca6f783a81e292a55725af6b85", "reference": "7751e69b615c6eca6f783a81e292a55725af6b85", "shasum": "" }, @@ -204,16 +204,16 @@ }, { "name": "bower-asset/jquery.inputmask", - "version": "3.1.63", + "version": "3.2.5", "source": { "type": "git", "url": "https://github.com/RobinHerbots/jquery.inputmask.git", - "reference": "c40c7287eadc31e341ebbf0c02352eb55b9cbc48" + "reference": "d08264a678865849c808359d126e3bddb9ec87a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/c40c7287eadc31e341ebbf0c02352eb55b9cbc48", - "reference": "c40c7287eadc31e341ebbf0c02352eb55b9cbc48", + "url": "https://api.github.com/repos/RobinHerbots/jquery.inputmask/zipball/d08264a678865849c808359d126e3bddb9ec87a6", + "reference": "d08264a678865849c808359d126e3bddb9ec87a6", "shasum": "" }, "require": { @@ -222,23 +222,17 @@ "type": "bower-asset-library", "extra": { "bower-asset-main": [ - "./dist/inputmask/jquery.inputmask.js", - "./dist/inputmask/jquery.inputmask.extensions.js", - "./dist/inputmask/jquery.inputmask.date.extensions.js", - "./dist/inputmask/jquery.inputmask.numeric.extensions.js", - "./dist/inputmask/jquery.inputmask.phone.extensions.js", - "./dist/inputmask/jquery.inputmask.regex.extensions.js" + "./dist/inputmask/inputmask.js" ], "bower-asset-ignore": [ - "**/.*", - "qunit/", - "nuget/", - "tools/", - "js/", - "*.md", - "build.properties", - "build.xml", - "jquery.inputmask.jquery.json" + "**/*", + "!dist/*", + "!dist/inputmask/*", + "!dist/min/*", + "!dist/min/inputmask/*", + "!extra/bindings/*", + "!extra/dependencyLibs/*", + "!extra/phone-codes/*" ] }, "license": [ @@ -284,16 +278,16 @@ }, { "name": "bower-asset/yii2-pjax", - "version": "v2.0.5", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/jquery-pjax.git", - "reference": "6818718408086db6bdcf33649cecb86b6b4f9b67" + "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/6818718408086db6bdcf33649cecb86b6b4f9b67", - "reference": "6818718408086db6bdcf33649cecb86b6b4f9b67", + "url": "https://api.github.com/repos/yiisoft/jquery-pjax/zipball/3bceef03fa80ceee8da5854fa3249df1afc871cd", + "reference": "3bceef03fa80ceee8da5854fa3249df1afc871cd", "shasum": "" }, "require": { @@ -306,27 +300,32 @@ ".travis.yml", "Gemfile", "Gemfile.lock", + "CONTRIBUTING.md", "vendor/", "script/", "test/" - ] + ], + "branch-alias": { + "dev-master": "2.0.3-dev" + } }, "license": [ "MIT" - ] + ], + "time": "2015-12-31 08:33:51" }, { "name": "cebe/markdown", - "version": "1.1.0", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/cebe/markdown.git", - "reference": "54a2c49de31cc44e864ebf0500a35ef21d0010b2" + "reference": "d7b6f46cd423174c8a86c7f816dea45008dbf454" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cebe/markdown/zipball/54a2c49de31cc44e864ebf0500a35ef21d0010b2", - "reference": "54a2c49de31cc44e864ebf0500a35ef21d0010b2", + "url": "https://api.github.com/repos/cebe/markdown/zipball/d7b6f46cd423174c8a86c7f816dea45008dbf454", + "reference": "d7b6f46cd423174c8a86c7f816dea45008dbf454", "shasum": "" }, "require": { @@ -373,7 +372,7 @@ "markdown", "markdown-extra" ], - "time": "2015-03-06 05:28:07" + "time": "2016-01-21 11:46:58" }, { "name": "cebe/yii2-gravatar", @@ -420,7 +419,7 @@ }, { "name": "developeruz/yii2-db-rbac", - "version": "1.0.8", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/developeruz/yii2-db-rbac.git", @@ -559,16 +558,16 @@ }, { "name": "kartik-v/yii2-krajee-base", - "version": "v1.7.9", + "version": "1.8.2", "source": { "type": "git", "url": "https://github.com/kartik-v/yii2-krajee-base.git", - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9" + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9", - "reference": "6f10fd0a0bfccd729764c65fa65eb4ccf2cbade9", + "url": "https://api.github.com/repos/kartik-v/yii2-krajee-base/zipball/0c274e31e4392cbafc5fe158eae81738794e02ce", + "reference": "0c274e31e4392cbafc5fe158eae81738794e02ce", "shasum": "" }, "require": { @@ -601,7 +600,7 @@ "widget", "yii2" ], - "time": "2015-11-25 07:03:35" + "time": "2016-01-10 12:26:29" }, { "name": "kartik-v/yii2-widget-select2", @@ -609,12 +608,12 @@ "source": { "type": "git", "url": "https://github.com/kartik-v/yii2-widget-select2.git", - "reference": "fa0175d936012eac3f7a382792cbb13948015c4e" + "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/fa0175d936012eac3f7a382792cbb13948015c4e", - "reference": "fa0175d936012eac3f7a382792cbb13948015c4e", + "url": "https://api.github.com/repos/kartik-v/yii2-widget-select2/zipball/701bf8069a85fafbac1ced54dcd00e579e60471b", + "reference": "701bf8069a85fafbac1ced54dcd00e579e60471b", "shasum": "" }, "require": { @@ -649,7 +648,7 @@ "widget", "yii2" ], - "time": "2015-09-22 03:10:57" + "time": "2016-01-10 16:51:42" }, { "name": "lusitanian/oauth", @@ -715,7 +714,7 @@ }, { "name": "mihaildev/yii2-ckeditor", - "version": "1.0.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/MihailDev/yii2-ckeditor.git", @@ -812,16 +811,16 @@ }, { "name": "nodge/yii2-eauth", - "version": "2.3.0", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/Nodge/yii2-eauth.git", - "reference": "25963e78c6083734736187bff992dd9da60fd125" + "reference": "f45efd95e3853db33153cc1b856d1f648d221938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Nodge/yii2-eauth/zipball/25963e78c6083734736187bff992dd9da60fd125", - "reference": "25963e78c6083734736187bff992dd9da60fd125", + "url": "https://api.github.com/repos/Nodge/yii2-eauth/zipball/f45efd95e3853db33153cc1b856d1f648d221938", + "reference": "f45efd95e3853db33153cc1b856d1f648d221938", "shasum": "" }, "require": { @@ -861,7 +860,7 @@ "oauth", "yii2" ], - "time": "2015-10-17 16:51:17" + "time": "2016-01-13 18:15:48" }, { "name": "rmrevin/yii2-fontawesome", @@ -917,16 +916,16 @@ }, { "name": "swiftmailer/swiftmailer", - "version": "v5.4.1", + "version": "5.x-dev", "source": { "type": "git", "url": "https://github.com/swiftmailer/swiftmailer.git", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421" + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/0697e6aa65c83edf97bb0f23d8763f94e3f11421", - "reference": "0697e6aa65c83edf97bb0f23d8763f94e3f11421", + "url": "https://api.github.com/repos/swiftmailer/swiftmailer/zipball/fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9", + "reference": "fffbc0e2a7e376dbb0a4b5f2ff6847330f20ccf9", "shasum": "" }, "require": { @@ -966,28 +965,29 @@ "mail", "mailer" ], - "time": "2015-06-06 14:19:39" + "time": "2016-01-03 15:42:47" }, { "name": "yiisoft/yii2", - "version": "2.0.6", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-framework.git", - "reference": "f42b2eb80f61992438661b01d0d74c6738e2ff38" + "reference": "b2e6f32de516b43238db0ed36b1c16bf9f22d2db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/f42b2eb80f61992438661b01d0d74c6738e2ff38", - "reference": "f42b2eb80f61992438661b01d0d74c6738e2ff38", + "url": "https://api.github.com/repos/yiisoft/yii2-framework/zipball/b2e6f32de516b43238db0ed36b1c16bf9f22d2db", + "reference": "b2e6f32de516b43238db0ed36b1c16bf9f22d2db", "shasum": "" }, "require": { "bower-asset/jquery": "2.1.*@stable | 1.11.*@stable", - "bower-asset/jquery.inputmask": "3.1.*", + "bower-asset/jquery.inputmask": "~3.2.2", "bower-asset/punycode": "1.3.*", "bower-asset/yii2-pjax": ">=2.0.1", "cebe/markdown": "~1.0.0 | ~1.1.0", + "ext-ctype": "*", "ext-mbstring": "*", "ezyang/htmlpurifier": "4.6.*", "lib-pcre": "*", @@ -1046,6 +1046,11 @@ "name": "Paul Klimov", "email": "klimov.paul@gmail.com", "role": "Core framework development" + }, + { + "name": "Dmitry Naumenko", + "email": "d.naumenko.a@gmail.com", + "role": "Core framework development" } ], "description": "Yii PHP Framework Version 2", @@ -1054,20 +1059,20 @@ "framework", "yii2" ], - "time": "2015-08-05 22:00:30" + "time": "2016-01-21 07:55:52" }, { "name": "yiisoft/yii2-bootstrap", - "version": "2.0.5", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-bootstrap.git", - "reference": "1464f93834b1d5edb1f5625f7ffd6c3723fa4923" + "reference": "7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/1464f93834b1d5edb1f5625f7ffd6c3723fa4923", - "reference": "1464f93834b1d5edb1f5625f7ffd6c3723fa4923", + "url": "https://api.github.com/repos/yiisoft/yii2-bootstrap/zipball/7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0", + "reference": "7de7d5d63d655c0c69764f80f2dfc549e9b1d9f0", "shasum": "" }, "require": { @@ -1104,24 +1109,24 @@ "bootstrap", "yii2" ], - "time": "2015-09-23 17:48:24" + "time": "2015-12-19 19:45:57" }, { "name": "yiisoft/yii2-composer", - "version": "2.0.3", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-composer.git", - "reference": "ca8d23707ae47d20b0454e4b135c156f6da6d7be" + "reference": "574dcb1d101ae55be230e0c00a2428af6ec4c5c1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/ca8d23707ae47d20b0454e4b135c156f6da6d7be", - "reference": "ca8d23707ae47d20b0454e4b135c156f6da6d7be", + "url": "https://api.github.com/repos/yiisoft/yii2-composer/zipball/574dcb1d101ae55be230e0c00a2428af6ec4c5c1", + "reference": "574dcb1d101ae55be230e0c00a2428af6ec4c5c1", "shasum": "" }, "require": { - "composer-plugin-api": "1.0.0" + "composer-plugin-api": "^1.0" }, "type": "composer-plugin", "extra": { @@ -1151,20 +1156,20 @@ "extension installer", "yii2" ], - "time": "2015-03-01 06:22:44" + "time": "2015-12-01 20:06:03" }, { "name": "yiisoft/yii2-jui", - "version": "2.0.4", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-jui.git", - "reference": "ce16f29cca654702c2ee500ccad9657a2d2e6a09" + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/ce16f29cca654702c2ee500ccad9657a2d2e6a09", - "reference": "ce16f29cca654702c2ee500ccad9657a2d2e6a09", + "url": "https://api.github.com/repos/yiisoft/yii2-jui/zipball/1425ab29929dd195f468d3c4eb340ab509f28b83", + "reference": "1425ab29929dd195f468d3c4eb340ab509f28b83", "shasum": "" }, "require": { @@ -1201,20 +1206,20 @@ "jQuery UI", "yii2" ], - "time": "2015-05-10 22:09:43" + "time": "2015-12-24 06:23:53" }, { "name": "yiisoft/yii2-swiftmailer", - "version": "2.0.4", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-swiftmailer.git", - "reference": "4ec435a89e30b203cea99770910fb5499cb3627a" + "reference": "2cca1bb86444a6438b0720f8c60120a400982366" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/4ec435a89e30b203cea99770910fb5499cb3627a", - "reference": "4ec435a89e30b203cea99770910fb5499cb3627a", + "url": "https://api.github.com/repos/yiisoft/yii2-swiftmailer/zipball/2cca1bb86444a6438b0720f8c60120a400982366", + "reference": "2cca1bb86444a6438b0720f8c60120a400982366", "shasum": "" }, "require": { @@ -1251,22 +1256,22 @@ "swiftmailer", "yii2" ], - "time": "2015-05-10 22:12:32" + "time": "2015-12-07 11:40:31" } ], "packages-dev": [ { "name": "bower-asset/typeahead.js", - "version": "v0.10.5", + "version": "v0.11.1", "source": { "type": "git", "url": "https://github.com/twitter/typeahead.js.git", - "reference": "5f198b87d1af845da502ea9df93a5e84801ce742" + "reference": "588440f66559714280628a4f9799f0c4eb880a4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twitter/typeahead.js/zipball/5f198b87d1af845da502ea9df93a5e84801ce742", - "reference": "5f198b87d1af845da502ea9df93a5e84801ce742", + "url": "https://api.github.com/repos/twitter/typeahead.js/zipball/588440f66559714280628a4f9799f0c4eb880a4a", + "reference": "588440f66559714280628a4f9799f0c4eb880a4a", "shasum": "" }, "require": { @@ -1284,32 +1289,30 @@ }, { "name": "fzaninotto/faker", - "version": "v1.5.0", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/fzaninotto/Faker.git", - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d" + "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/d0190b156bcca848d401fb80f31f504f37141c8d", - "reference": "d0190b156bcca848d401fb80f31f504f37141c8d", + "url": "https://api.github.com/repos/fzaninotto/Faker/zipball/de2ed3bbe68254efeff68db60092fc8ed5298055", + "reference": "de2ed3bbe68254efeff68db60092fc8ed5298055", "shasum": "" }, "require": { "php": ">=5.3.3" }, "require-dev": { + "ext-intl": "*", "phpunit/phpunit": "~4.0", "squizlabs/php_codesniffer": "~1.5" }, - "suggest": { - "ext-intl": "*" - }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.5.x-dev" + "dev-master": "1.6.x-dev" } }, "autoload": { @@ -1332,11 +1335,11 @@ "faker", "fixtures" ], - "time": "2015-05-29 06:29:14" + "time": "2016-01-08 14:16:18" }, { "name": "phpspec/php-diff", - "version": "v1.0.2", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/phpspec/php-diff.git", @@ -1370,16 +1373,16 @@ }, { "name": "yiisoft/yii2-codeception", - "version": "2.0.4", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-codeception.git", - "reference": "de5007e7a99359597abbfe1c88dca3ce620061c5" + "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/de5007e7a99359597abbfe1c88dca3ce620061c5", - "reference": "de5007e7a99359597abbfe1c88dca3ce620061c5", + "url": "https://api.github.com/repos/yiisoft/yii2-codeception/zipball/ee239c244fd011f11c8827f97ebe7600d03f1841", + "reference": "ee239c244fd011f11c8827f97ebe7600d03f1841", "shasum": "" }, "require": { @@ -1411,20 +1414,20 @@ "codeception", "yii2" ], - "time": "2015-05-10 22:08:30" + "time": "2015-11-20 08:52:21" }, { "name": "yiisoft/yii2-debug", - "version": "2.0.5", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-debug.git", - "reference": "1b302e67521d46feb2413d9d96ca94ed82b39b0e" + "reference": "7a28977497e43bf7180a793389e6a5739ec52756" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/1b302e67521d46feb2413d9d96ca94ed82b39b0e", - "reference": "1b302e67521d46feb2413d9d96ca94ed82b39b0e", + "url": "https://api.github.com/repos/yiisoft/yii2-debug/zipball/7a28977497e43bf7180a793389e6a5739ec52756", + "reference": "7a28977497e43bf7180a793389e6a5739ec52756", "shasum": "" }, "require": { @@ -1458,24 +1461,24 @@ "debugger", "yii2" ], - "time": "2015-08-06 16:14:06" + "time": "2015-12-31 16:25:50" }, { "name": "yiisoft/yii2-faker", - "version": "2.0.3", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-faker.git", - "reference": "b88ca69ee226a3610b2c26c026c3203d7ac50f6c" + "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/b88ca69ee226a3610b2c26c026c3203d7ac50f6c", - "reference": "b88ca69ee226a3610b2c26c026c3203d7ac50f6c", + "url": "https://api.github.com/repos/yiisoft/yii2-faker/zipball/186c77214e0a4b75f10380b4e6e5f82788922cb7", + "reference": "186c77214e0a4b75f10380b4e6e5f82788922cb7", "shasum": "" }, "require": { - "fzaninotto/faker": "*", + "fzaninotto/faker": "~1.4", "yiisoft/yii2": "*" }, "type": "yii2-extension", @@ -1505,24 +1508,24 @@ "faker", "yii2" ], - "time": "2015-03-01 06:22:44" + "time": "2015-12-18 01:52:12" }, { "name": "yiisoft/yii2-gii", - "version": "2.0.4", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/yiisoft/yii2-gii.git", - "reference": "e5a023e8779bd774194842ec1b8fb4917cf04007" + "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/e5a023e8779bd774194842ec1b8fb4917cf04007", - "reference": "e5a023e8779bd774194842ec1b8fb4917cf04007", + "url": "https://api.github.com/repos/yiisoft/yii2-gii/zipball/d1a58d8c64f9075960665dc5347f5906ecb063cf", + "reference": "d1a58d8c64f9075960665dc5347f5906ecb063cf", "shasum": "" }, "require": { - "bower-asset/typeahead.js": "0.10.*", + "bower-asset/typeahead.js": "0.10.* | ~0.11.0", "phpspec/php-diff": ">=1.0.2", "yiisoft/yii2": ">=2.0.4", "yiisoft/yii2-bootstrap": "~2.0" @@ -1558,11 +1561,11 @@ "gii", "yii2" ], - "time": "2015-05-10 22:09:31" + "time": "2016-01-15 17:12:14" } ], "aliases": [], - "minimum-stability": "stable", + "minimum-stability": "dev", "stability-flags": { "kartik-v/yii2-widget-select2": 20 }, diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index f6ac539..03580a4 100644 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -18,15 +18,18 @@ class AppAsset extends AssetBundle public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ - 'css/site.css', - 'css/flags32.css' + 'css/style.css', ]; public $js = [ - 'js/option.js' + 'js/script.js', + 'http://maps.google.com/maps/api/js?sensor=false', + 'js/markerclusterer.js', + 'js/jquery.scrollbox.min.js', + 'js/slider.js', + 'js/jquery.rating.js' ]; public $depends = [ - 'yii\web\YiiAsset', - 'yii\bootstrap\BootstrapAsset', + 'yii\web\YiiAsset' ]; public $jsOptions = array( 'position' => \yii\web\View::POS_HEAD diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 8f8b8d5..4257359 100644 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -9,94 +9,222 @@ use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use frontend\assets\AppAsset; use common\widgets\Alert; -use common\models\MenuTree; +use \yii\widgets\Menu; +use \yii\helpers\Url; AppAsset::register($this); ?> + beginPage() ?> + + + + - + + <?= Html::encode($this->title) ?> + head() ?> + - + + + beginBody() ?> -
- [ - 'class' => 'navbar-inverse navbar-fixed-top', - ] - ]); - - echo Nav::widget([ - 'options' => ['class' => 'navbar-nav navbar-right'], - 'items' => (new MenuTree())->build('TOP') - ]); -/* - - $menuItems = [ - ['label' => 'Home', 'url' => ['/site/index']], - ['label' => 'About', 'url' => ['/site/about']], - ['label' => 'Contact', 'url' => ['/site/contact']], - ]; - - // меню с базы - $menuItems = []; - - foreach ((new \frontend\models\Front())->actionMenu('TOP') as $row) - { - $menuItems[] = ['label' => $row['page_title'], 'url' => $row['page_alias']]; - } - - if (Yii::$app->user->isGuest) - { - $menuItems[] = ['label' => 'Signup', 'url' => ['/site/signup']]; - $menuItems[] = ['label' => 'Login', 'url' => ['/site/login']]; - } - else - { - $menuItems[] = [ - 'label' => 'Logout (' . Yii::$app->user->identity->username . ')', - 'url' => ['/site/logout'], - 'linkOptions' => ['data-method' => 'post'] - ]; - } - - echo Nav::widget([ - 'options' => ['class' => 'navbar-nav navbar-right'], - 'items' => $menuItems, - ]); -*/ - NavBar::end(); - - ?> - - -
- isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [], - ]) ?> - - +
+
+
+
+ +
Международная Федерация Проектантов
+ +
+
+
Профиль
+ Личный кабинет +
+
+
+
+
+ + - + +
+ endBody() ?> + + + endPage() ?> diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php index 0abef59..e2df569 100644 --- a/frontend/views/site/index.php +++ b/frontend/views/site/index.php @@ -4,51 +4,173 @@ $this->title = 'My Yii Application'; ?> -
-
-

Congratulations!

- -

You have successfully created your Yii-powered application.

- -

Get started with Yii

+ + +
+
+
+
+
+
+
Познякижилстрой
+ +
+
+ + + + +
+
+
30 отзывов
+ написать отзыв +
+
+
+
+
    +
  • +
  • +
  • +
  • +
+
+
+
    +
  • 2562 просмотра
  • +
  • Статус: свободен
  • +
  • На сайте: 1г. 8 мес.
  • +
  • Последний визит:
    2 дня назад
  • +
  • Трудовой стаж:
    10 лет 6 месяцев
  • +
  • Звание в МФП:
    кандидат в МФП
  • +
  • Последнее обновление: 1 ноября 2015
  • +
  • Стоимость работ:
    от 500 грн за час
  • +
  • Наличный, безналичный расчет, электронные деньги
  • +
  • Текущее место работы:
    ООО “Дизайнер”
  • -
    - -
    -
    -

    Heading

    - -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu - fugiat nulla pariatur.

    - -

    Yii Documentation »

    +
+
+
+
-
-

Heading

- -

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu - fugiat nulla pariatur.

+ -
-

Heading

+
+
+

Как обшить балкон вагонкой своими руками: пошаговая инструкция

+
+ +
+

240

+
+
+

12

+
+
+
+ +

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.

+

Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно

+

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.

+
+ Подробнее +
-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et - dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip - ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu - fugiat nulla pariatur.

+
+

Как обшить балкон вагонкой своими руками: пошаговая инструкция

+
+ +
+

240

+
+
+

12

+
+
+
+ +

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.

+

Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно

+

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.

+
+ Подробнее +
-

Yii Extensions »

+
+

Как обшить балкон вагонкой своими руками: пошаговая инструкция

+
+ +
+

240

+
+
+

12

+
+
+
+ +

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ.

+

Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно

+

Балкон, обшитый вагонкой, выглядит аккуратно, стильно и уютно. Монтаж обшивки вполне возможно выполнить своими силами — достаточно иметь в распоряжении необходимые инструменты и владеть базовыми навыками строительно-ремонтных работ. Евровагонка — удобная в монтаже фасонная доска, которая позволяет создать обшивку из плотно пригнанных элементов с качественно обработанной поверхностью. Толщина евровагонки составляет 125 мм, общая ширина (с гребнем) 960 мм, рабочая ширина 880 мм.

+
+ Подробнее +
+
+
-
-
- + +
\ No newline at end of file diff --git a/frontend/web/css/flags32.css b/frontend/web/css/flags32.css deleted file mode 100644 index ba24b4f..0000000 --- a/frontend/web/css/flags32.css +++ /dev/null @@ -1,253 +0,0 @@ -.f32 .flag{display:inline-block;height:32px;width:32px;vertical-align:text-top;line-height:32px;background:url(../images/flags32.png) no-repeat;} -.f32 ._African_Union{background-position:0 -32px;} -.f32 ._Arab_League{background-position:0 -64px;} -.f32 ._ASEAN{background-position:0 -96px;} -.f32 ._CARICOM{background-position:0 -128px;} -.f32 ._CIS{background-position:0 -160px;} -.f32 ._Commonwealth{background-position:0 -192px;} -.f32 ._England{background-position:0 -224px;} -.f32 ._European_Union, .f32 .eu{background-position:0 -256px;} -.f32 ._Islamic_Conference{background-position:0 -288px;} -.f32 ._Kosovo{background-position:0 -320px;} -.f32 ._NATO{background-position:0 -352px;} -.f32 ._Northern_Cyprus{background-position:0 -384px;} -.f32 ._Northern_Ireland{background-position:0 -416px;} -.f32 ._Olimpic_Movement{background-position:0 -448px;} -.f32 ._OPEC{background-position:0 -480px;} -.f32 ._Red_Cross{background-position:0 -512px;} -.f32 ._Scotland{background-position:0 -544px;} -.f32 ._Somaliland{background-position:0 -576px;} -.f32 ._Tibet{background-position:0 -608px;} -.f32 ._United_Nations{background-position:0 -640px;} -.f32 ._Wales{background-position:0 -672px;} -.f32 .ad{background-position:0 -704px;} -.f32 .ae{background-position:0 -736px;} -.f32 .af{background-position:0 -768px;} -.f32 .ag{background-position:0 -800px;} -.f32 .ai{background-position:0 -832px;} -.f32 .al{background-position:0 -864px;} -.f32 .am{background-position:0 -896px;} -.f32 .ao{background-position:0 -928px;} -.f32 .aq{background-position:0 -960px;} -.f32 .ar{background-position:0 -992px;} -.f32 .as{background-position:0 -1024px;} -.f32 .at{background-position:0 -1056px;} -.f32 .au{background-position:0 -1088px;} -.f32 .aw{background-position:0 -1120px;} -.f32 .ax{background-position:0 -1152px;} -.f32 .az{background-position:0 -1184px;} -.f32 .ba{background-position:0 -1216px;} -.f32 .bb{background-position:0 -1248px;} -.f32 .bd{background-position:0 -1280px;} -.f32 .be{background-position:0 -1312px;} -.f32 .bf{background-position:0 -1344px;} -.f32 .bg{background-position:0 -1376px;} -.f32 .bh{background-position:0 -1408px;} -.f32 .bi{background-position:0 -1440px;} -.f32 .bj{background-position:0 -1472px;} -.f32 .bm{background-position:0 -1504px;} -.f32 .bn{background-position:0 -1536px;} -.f32 .bo{background-position:0 -1568px;} -.f32 .br{background-position:0 -1600px;} -.f32 .bs{background-position:0 -1632px;} -.f32 .bt{background-position:0 -1664px;} -.f32 .bw{background-position:0 -1696px;} -.f32 .by{background-position:0 -1728px;} -.f32 .bz{background-position:0 -1760px;} -.f32 .ca{background-position:0 -1792px;} -.f32 .cd{background-position:0 -1824px;} -.f32 .cf{background-position:0 -1856px;} -.f32 .cg{background-position:0 -1888px;} -.f32 .ch{background-position:0 -1920px;} -.f32 .ci{background-position:0 -1952px;} -.f32 .ck{background-position:0 -1984px;} -.f32 .cl{background-position:0 -2016px;} -.f32 .cm{background-position:0 -2048px;} -.f32 .cn{background-position:0 -2080px;} -.f32 .co{background-position:0 -2112px;} -.f32 .cr{background-position:0 -2144px;} -.f32 .cu{background-position:0 -2176px;} -.f32 .cv{background-position:0 -2208px;} -.f32 .cy{background-position:0 -2240px;} -.f32 .cz{background-position:0 -2272px;} -.f32 .de{background-position:0 -2304px;} -.f32 .dj{background-position:0 -2336px;} -.f32 .dk{background-position:0 -2368px;} -.f32 .dm{background-position:0 -2400px;} -.f32 .do{background-position:0 -2432px;} -.f32 .dz{background-position:0 -2464px;} -.f32 .ec{background-position:0 -2496px;} -.f32 .ee{background-position:0 -2528px;} -.f32 .eg{background-position:0 -2560px;} -.f32 .eh{background-position:0 -2592px;} -.f32 .er{background-position:0 -2624px;} -.f32 .es{background-position:0 -2656px;} -.f32 .et{background-position:0 -2688px;} -.f32 .fi{background-position:0 -2720px;} -.f32 .fj{background-position:0 -2752px;} -.f32 .fm{background-position:0 -2784px;} -.f32 .fo{background-position:0 -2816px;} -.f32 .fr{background-position:0 -2848px;} .f32 .bl, .f32 .cp, .f32 .mf, .f32 .yt{background-position:0 -2848px;} -.f32 .ga{background-position:0 -2880px;} -.f32 .gb{background-position:0 -2912px;} .f32 .sh{background-position:0 -2912px;} -.f32 .gd{background-position:0 -2944px;} -.f32 .ge{background-position:0 -2976px;} -.f32 .gg{background-position:0 -3008px;} -.f32 .gh{background-position:0 -3040px;} -.f32 .gi{background-position:0 -3072px;} -.f32 .gl{background-position:0 -3104px;} -.f32 .gm{background-position:0 -3136px;} -.f32 .gn{background-position:0 -3168px;} -.f32 .gp{background-position:0 -3200px;} -.f32 .gq{background-position:0 -3232px;} -.f32 .gr{background-position:0 -3264px;} -.f32 .gt{background-position:0 -3296px;} -.f32 .gu{background-position:0 -3328px;} -.f32 .gw{background-position:0 -3360px;} -.f32 .gy{background-position:0 -3392px;} -.f32 .hk{background-position:0 -3424px;} -.f32 .hn{background-position:0 -3456px;} -.f32 .hr{background-position:0 -3488px;} -.f32 .ht{background-position:0 -3520px;} -.f32 .hu{background-position:0 -3552px;} -.f32 .id{background-position:0 -3584px;} -.f32 .mc{background-position:0 -3584px;} -.f32 .ie{background-position:0 -3616px;} -.f32 .il{background-position:0 -3648px;} -.f32 .im{background-position:0 -3680px;} -.f32 .in{background-position:0 -3712px;} -.f32 .iq{background-position:0 -3744px;} -.f32 .ir{background-position:0 -3776px;} -.f32 .is{background-position:0 -3808px;} -.f32 .it{background-position:0 -3840px;} -.f32 .je{background-position:0 -3872px;} -.f32 .jm{background-position:0 -3904px;} -.f32 .jo{background-position:0 -3936px;} -.f32 .jp{background-position:0 -3968px;} -.f32 .ke{background-position:0 -4000px;} -.f32 .kg{background-position:0 -4032px;} -.f32 .kh{background-position:0 -4064px;} -.f32 .ki{background-position:0 -4096px;} -.f32 .km{background-position:0 -4128px;} -.f32 .kn{background-position:0 -4160px;} -.f32 .kp{background-position:0 -4192px;} -.f32 .kr{background-position:0 -4224px;} -.f32 .kw{background-position:0 -4256px;} -.f32 .ky{background-position:0 -4288px;} -.f32 .kz{background-position:0 -4320px;} -.f32 .la{background-position:0 -4352px;} -.f32 .lb{background-position:0 -4384px;} -.f32 .lc{background-position:0 -4416px;} -.f32 .li{background-position:0 -4448px;} -.f32 .lk{background-position:0 -4480px;} -.f32 .lr{background-position:0 -4512px;} -.f32 .ls{background-position:0 -4544px;} -.f32 .lt{background-position:0 -4576px;} -.f32 .lu{background-position:0 -4608px;} -.f32 .lv{background-position:0 -4640px;} -.f32 .ly{background-position:0 -4672px;} -.f32 .ma{background-position:0 -4704px;} -.f32 .md{background-position:0 -4736px;} -.f32 .me{background-position:0 -4768px;} -.f32 .mg{background-position:0 -4800px;} -.f32 .mh{background-position:0 -4832px;} -.f32 .mk{background-position:0 -4864px;} -.f32 .ml{background-position:0 -4896px;} -.f32 .mm{background-position:0 -4928px;} -.f32 .mn{background-position:0 -4960px;} -.f32 .mo{background-position:0 -4992px;} -.f32 .mq{background-position:0 -5024px;} -.f32 .mr{background-position:0 -5056px;} -.f32 .ms{background-position:0 -5088px;} -.f32 .mt{background-position:0 -5120px;} -.f32 .mu{background-position:0 -5152px;} -.f32 .mv{background-position:0 -5184px;} -.f32 .mw{background-position:0 -5216px;} -.f32 .mx{background-position:0 -5248px;} -.f32 .my{background-position:0 -5280px;} -.f32 .mz{background-position:0 -5312px;} -.f32 .na{background-position:0 -5344px;} -.f32 .nc{background-position:0 -5376px;} -.f32 .ne{background-position:0 -5408px;} -.f32 .ng{background-position:0 -5440px;} -.f32 .ni{background-position:0 -5472px;} -.f32 .nl{background-position:0 -5504px;} .f32 .bq{background-position:0 -5504px;} -.f32 .no{background-position:0 -5536px;} .f32 .bv, .f32 .nq, .f32 .sj{background-position:0 -5536px;} -.f32 .np{background-position:0 -5568px;} -.f32 .nr{background-position:0 -5600px;} -.f32 .nz{background-position:0 -5632px;} -.f32 .om{background-position:0 -5664px;} -.f32 .pa{background-position:0 -5696px;} -.f32 .pe{background-position:0 -5728px;} -.f32 .pf{background-position:0 -5760px;} -.f32 .pg{background-position:0 -5792px;} -.f32 .ph{background-position:0 -5824px;} -.f32 .pk{background-position:0 -5856px;} -.f32 .pl{background-position:0 -5888px;} -.f32 .pr{background-position:0 -5920px;} -.f32 .ps{background-position:0 -5952px;} -.f32 .pt{background-position:0 -5984px;} -.f32 .pw{background-position:0 -6016px;} -.f32 .py{background-position:0 -6048px;} -.f32 .qa{background-position:0 -6080px;} -.f32 .re{background-position:0 -6112px;} -.f32 .ro{background-position:0 -6144px;} -.f32 .rs{background-position:0 -6176px;} -.f32 .ru{background-position:0 -6208px;} -.f32 .rw{background-position:0 -6240px;} -.f32 .sa{background-position:0 -6272px;} -.f32 .sb{background-position:0 -6304px;} -.f32 .sc{background-position:0 -6336px;} -.f32 .sd{background-position:0 -6368px;} -.f32 .se{background-position:0 -6400px;} -.f32 .sg{background-position:0 -6432px;} -.f32 .si{background-position:0 -6464px;} -.f32 .sk{background-position:0 -6496px;} -.f32 .sl{background-position:0 -6528px;} -.f32 .sm{background-position:0 -6560px;} -.f32 .sn{background-position:0 -6592px;} -.f32 .so{background-position:0 -6624px;} -.f32 .sr{background-position:0 -6656px;} -.f32 .st{background-position:0 -6688px;} -.f32 .sv{background-position:0 -6720px;} -.f32 .sy{background-position:0 -6752px;} -.f32 .sz{background-position:0 -6784px;} -.f32 .tc{background-position:0 -6816px;} -.f32 .td{background-position:0 -6848px;} -.f32 .tg{background-position:0 -6880px;} -.f32 .th{background-position:0 -6912px;} -.f32 .tj{background-position:0 -6944px;} -.f32 .tl{background-position:0 -6976px;} -.f32 .tm{background-position:0 -7008px;} -.f32 .tn{background-position:0 -7040px;} -.f32 .to{background-position:0 -7072px;} -.f32 .tr{background-position:0 -7104px;} -.f32 .tt{background-position:0 -7136px;} -.f32 .tv{background-position:0 -7168px;} -.f32 .tw{background-position:0 -7200px;} -.f32 .tz{background-position:0 -7232px;} -.f32 .ua{background-position:0 -7264px;} -.f32 .ug{background-position:0 -7296px;} -.f32 .us{background-position:0 -7328px;} -.f32 .uy{background-position:0 -7360px;} -.f32 .uz{background-position:0 -7392px;} -.f32 .va{background-position:0 -7424px;} -.f32 .vc{background-position:0 -7456px;} -.f32 .ve{background-position:0 -7488px;} -.f32 .vg{background-position:0 -7520px;} -.f32 .vi{background-position:0 -7552px;} -.f32 .vn{background-position:0 -7584px;} -.f32 .vu{background-position:0 -7616px;} -.f32 .ws{background-position:0 -7648px;} -.f32 .ye{background-position:0 -7680px;} -.f32 .za{background-position:0 -7712px;} -.f32 .zm{background-position:0 -7744px;} -.f32 .zw{background-position:0 -7776px;} -.f32 .sx{background-position:0 -7808px;} -.f32 .cw{background-position:0 -7840px;} -.f32 .ss{background-position:0 -7872px;} -<<<<<<< 1fd2bdb43fc5cfdcf100cac8b72e67fd81e7f0fa -.f32 .nu{background-position:0 -7904px;} -======= -.f32 .nu{background-position:0 -7904px;} ->>>>>>> 0e0edb85a79343e4d020ff05378179e2323b21bd diff --git a/frontend/web/css/site.css b/frontend/web/css/site.css deleted file mode 100644 index cf7a38a..0000000 --- a/frontend/web/css/site.css +++ /dev/null @@ -1,96 +0,0 @@ -html, -body { - height: 100%; -} - -.wrap { - min-height: 100%; - height: auto; - margin: 0 auto -60px; - padding: 0 0 60px; -} - -.wrap > .container { - padding: 70px 15px 20px; -} - -.footer { - height: 60px; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - padding-top: 20px; -} - -.jumbotron { - text-align: center; - background-color: transparent; -} - -.jumbotron .btn { - font-size: 21px; - padding: 14px 24px; -} - -.not-set { - color: #c55; - font-style: italic; -} - -/* add sorting icons to gridview sort links */ -a.asc:after, a.desc:after { - position: relative; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; - padding-left: 5px; -} - -a.asc:after { - content: /*"\e113"*/ "\e151"; -} - -a.desc:after { - content: /*"\e114"*/ "\e152"; -} - -.sort-numerical a.asc:after { - content: "\e153"; -} - -.sort-numerical a.desc:after { - content: "\e154"; -} - -.sort-ordinal a.asc:after { - content: "\e155"; -} - -.sort-ordinal a.desc:after { - content: "\e156"; -} - -.grid-view th { - white-space: nowrap; -} - -.hint-block { - display: block; - margin-top: 5px; - color: #999; -} - -.error-summary { - color: #a94442; - background: #fdf7f7; - border-left: 3px solid #eed3d7; - padding: 10px 20px; - margin: 0 0 15px 0; -} -.remove-lang { - position: absolute; - right: 0; - cursor: pointer; -} \ No newline at end of file diff --git a/frontend/web/css/style.css b/frontend/web/css/style.css new file mode 100644 index 0000000..3bddac5 --- /dev/null +++ b/frontend/web/css/style.css @@ -0,0 +1,4506 @@ +*{ + margin: 0; + padding: 0;} +body { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-size: 15px; + color: #333; +} +img { + border: none; +} + +input::-webkit-input-placeholder{color:#777}input::-moz-placeholder{color:#777}input:-moz-placeholder{color:#777}input:-ms-input-placeholder{color:#777}textarea::-webkit-input-placeholder{color:#777}textarea::-moz-placeholder{color:#777}textarea:-moz-placeholder{color:#777}textarea:-ms-input-placeholder{color:#777} +input, textarea{color: #777} +[class*="section-box"] { + width: 100%; + position: relative; + float: left; +} +.box-wr {margin: 0 auto; width: 960px;} +.box-all {width: 960px; float: left; box-sizing: border-box; padding: 0 10px; position: relative} +.section-box.header { + height: 114px; +} +.section-box-1 { + height: 500px; + background: url("../images/sect-bg-1.jpg") 50% no-repeat; +} +.section-box-3 { + height: 601px; + background: #fff; + box-sizing: border-box; + padding-top: 40px; +} +.section-box-4 { + height: 424px; + background: url("../images/sect-bg-4.jpg") 50% no-repeat; +} +.section-box-map {height: 500px; margin-top: 21px} +.section-box.footer { + height: 272px; +} +.section-box.first-header { + height: 114px; + background: #fff; +} +.section-box.first-header .box-all { + height: 114px; +} +.section-box.menu-header-all { + height: 41px; + background: #0072bc; +} +.section-box.footer-all { + height: 232px; + background: #f1f1f1; + box-sizing: border-box; +} +.section-box.artweb-footer-all { + height: 40px; + background: #757575; +} +img.logo { + position: absolute; + top: 50%; + margin-top: -34px; + left: 10px; +} +.header-proektant-slogan { + width: 620px; + padding:23px 0 0 120px; + box-sizing: border-box; + font-size: 28px; + line-height: 35px; + float: left; +} +ul.header-contacts-menu { + width: 136px; + float: left; + height: 114px; + margin-left: 20px; + box-sizing: border-box; + padding-top: 30px; +} +ul.header-contacts-menu li { + list-style: none; + position: relative; + box-sizing: border-box; + padding-left: 22px; + height: 20px; + transition: 0.3s; + margin-top: 11px; +} +ul.header-contacts-menu li:first-child { + margin-top: 0; +} +ul.header-contacts-menu li:hover a { + opacity: 0.9; +} +ul.header-contacts-menu li span { + width: 16px; + height: 16px; + position: absolute; + left: 0; + top: 50%; + margin-top: -8px; +} +ul.header-contacts-menu li a { + color: #0072bc; + text-decoration: underline; + font-size: 13px; + height: 20px; + display: block; + line-height: 20px; +} +ul.header-contacts-menu li:last-child a { + text-decoration: dashed; +} +.header-cabinet-wr { + width: 164px; + float: left; + height: 114px; + box-sizing: border-box; + padding-top: 33px; +} +.header-cabinet-foto { + width: 48px; + height: 48px; + float: left; + overflow: hidden; + border-radius: 4px; + background: url("../images/ico-profile.png") no-repeat; +} +.header-cabinet-foto img { + width: 48px; + height: 48px; + max-width: 48px; + max-height: 48px; +} +.header-cabinet-profile { + float: left; + font-size: 18px; + margin-right: 26px; + margin-top: 5px; + margin-left: 13px; +} +.header-cabinet-wr a { + float: left; + text-decoration: underline; + color: #0072bc; + font-size: 13px; + transition: 0.3s; + margin-left: 14px; +} +.header-cabinet-wr a:hover{opacity: 0.9} +ul.main-menu { + width: 620px; + float: left; + height: 41px; +} +ul.main-menu li { + float: left; + list-style: none; + height: 100%; + border-right: 1px solid #338ec9; + padding: 0 35px 0 20px; + position: relative; +} +ul.main-menu li:first-child{ + border-left: 1px solid #338ec9; +} +ul.main-menu li span { + cursor: pointer; + color: #fff; + display: block; + height: 100%; + line-height: 41px; + position: relative; +} +ul.main-menu li span:after{ + content: ''; + width: 9px; + height: 6px; + position: absolute; + right: 0; + margin-right: -15px; + top: 50%; + margin-top: -3px; + background: url("../images/arrow-main-menu.png") no-repeat; +} +.main-menu-hover { + display: none; + background: #fff; + width: 218px; + border: 1px solid #d7d7d7; + position: absolute; + top: 41px; + left: 0; + z-index: 333; +} +.main-menu li ul{ + width: 218px; + float: left; + border-bottom:1px solid #d7d7d7; + +} +.main-menu li ul li { + width: 100%; + float: left; + border-right: 0; + padding: 0; + text-align: center; + height: 40px; + line-height: 40px; +} +.main-menu li ul li a { + text-decoration: none; + width: 100%; + height: 40px; + line-height: 40px; + color: inherit; +} +.main-menu li ul li:hover{ + background: #62b8ef; +} +.main-menu li ul li:hover a{ + color: #fff; +} +.main-menu li ul li:first-child{border-left: none} +.main-menu li:hover .main-menu-hover{display: block !important;} +.main-menu-category{color: #0072bc !important;} +.main-menu-category:hover { + color: #0072bc !important; + background: #fff !important; +} +.main-menu-hover ul:last-child { + border-bottom: none; +} + + +.search-main-menu { + float: right; + width: 300px; + height: 41px; +} +.search-main-menu form { + width: 100%; + height: 100%; + position: relative; + margin-top: 6px; +} +.search-main-menu form input { + width: 100%; + height: 29px; + border: none; + box-sizing: border-box; + padding: 0 32px 0 10px; +} +.search-main-menu form input[type="submit"] { + width: 29px; + height: 27px; + margin-top: 1px; + position: absolute; + top: 0; + right: 1px; + background: #fff url("../images/ico-search.png") 7px 6px no-repeat; + border: none; + outline: none; + cursor: pointer; + padding: 0 !important; +} +.section-box-base { + font-size: 40px; + font-weight: 700; + color: #fff; + text-align: center; + margin-top: 42px; + line-height: 48px; +} +.section-box-base-block { + height: 282px; + overflow: hidden; + margin-top: 80px; +} +.base-blocks { + width: 300px; + height: 100%; + float: left; + margin-left: 20px; + text-align: center; +} +.base-blocks:first-child{margin-left: 0} +.base-blocks-button { + width: 248px; + height: 62px; + border-radius: 4px; + display: block; + text-align: center; + color: #fff; + font-size: 18px; + text-decoration: none; + line-height: 65px; + margin: 0 auto; + transition: 0.3s; +} +.base-blocks-button:hover{font-size: 20px} +.base-blocks-button.first_butt{ + background: #fc9b28; + border-bottom: 3px solid #ef8505; +} +.base-blocks-button.second_butt{ + background: #64c04a; + border-bottom: 3px solid #3e9825; +} +.base-blocks-button.third_butt{ + background: #0e83cf; + border-bottom: 3px solid #0054a6; +} +.base-blocks-button.first_butt:hover{ + background: #ef8505; + border-bottom: 3px solid #fc9b28; +} +.base-blocks-button.second_butt:hover{ + background: #3e9825; + border-bottom: 3px solid #64c04a; +} +.base-blocks-button.third_butt:hover{ + background: #0054a6; + border-bottom: 3px solid #0e83cf; +} +.base-blocks-text { + width: 100%; +} +.base-blocks-text p { + width: 100%; + color: #fff; + font-size: 18px; + line-height: 22px; + margin-top: 20px; +} +.base-blocks-text p:first-child{margin-top: 17px} +.base-blocks-text p a { + width: 100%; + text-decoration: underline; + color: #69d34b; + transition: 0.3s; + display: block; +} +.base-blocks-text p a:hover{opacity: 0.9} +.menu-two-wrapp-title { + width: 100%; + float: left; + font-size: 28px; + font-weight: 700; + text-align: center; + margin-top: 44px; +} +.menu-two-wrapp { + width: 100%; + float: left; + border-radius: 4px; + /*min-height: 322px;*/ + height: 323px; + position: relative; + overflow: hidden; + margin-top: 23px; + border-top: 1px solid #dfdfdf; + border-bottom: 1px solid #dfdfdf; + border-right: 1px solid #dfdfdf; +} +ul.content-menu-first { + width: 235px; + float: left; + position: relative; +} +ul.content-menu-first li { + width: 100%; + list-style: none; + box-sizing: border-box; + border-top: 1px solid #dfdfdf; + border-right: 1px solid #dfdfdf; + height: 36px; + line-height: 36px; + cursor: pointer; + transition: 0.3s; + background: #fff; +} +ul.content-menu-first li:first-child {border-top: 0} +ul.content-menu-first li:hover { + background: #bb0f3f; +} + +ul.content-menu-first li a { + text-decoration: none; + color: #333333; + display: block; +} +ul.content-menu-first li:hover a{ + color: #fff !important; +} +ul.content-menu-first li span { + width: 5px; + height: 100%; + display: block; + margin-right: 13px; + float: left; +} +ul.content-menu-first li > ul { + position: absolute; + top: 0; + left: 235px; + width: 235px; + height: 100%; + display: none; +} + +ul.content-menu-first li:hover ul { + display: block; +} +ul.content-menu-first li ul li:hover { + background: #f3f3f3 !important; +} +ul.content-menu-first li ul li:hover a { + color: #333333 !important; +} +ul.content-menu-first li > ul li{box-sizing: border-box;padding-left: 19px} +ul.content-menu-first li > ul li a{color: #fff !important} +.remove-link, .remove-link-two {position: relative} +.hack-arrow { + width: 6px; + height: 100%; + background: url("../images/arrow-menu-two.png") center center no-repeat; + position: absolute; + right: 8px; + top: 0; +} +.yes-after:hover .hack-arrow { + background: url("../images/arrow-menu-two-hov.png") center center no-repeat; +} +.remove-link-two .hack-arrow { + background: url("../images/arrow-menu-two-hov.png") center center no-repeat; +} +/*.yes-after-two:hover .new-arow {*/ +/*background: url("../images/arrow-menu-two.png") no-repeat;*/ +/*}*/ +li.hov-arrow:after{ background: url("../images/arrow-menu-two-hov.png") no-repeat !important;} +ul.third-ul-menu{display: none !important;} +ul.content-menu-first li ul li:hover ul.third-ul-menu{display: block !important;} +.third-ul-menu li:last-child{border-bottom: 1px solid #dfdfdf;} +ul.last-ul-menu{display: none!important;} +.last-display-imp{display: block !important;} +.last-ul-menu li{border-right: none !important} +ul.third-ul-menu li:hover ul.last-ul-menu {display: block !important;} +ul.content-menu-first li ul li:last-child, ul.content-menu-first li:last-child{border-bottom: 1px solid #dfdfdf;} +ul.third-ul-menu li {background: #fff !important; height: auto; line-height: 18px; min-height: 36px; padding: 9px 0 8px 0;} +ul.third-ul-menu li:after{margin-top: -13px; } +/*ul.third-ul-menu li:after{margin-top: -13px; height: 100% !important; background: red !important;}*/ +/***************************/ + + +.all-project-home-title_menu { + width: 100%; + float: left; + text-align: center; +} +.all-project-home-title_menu p { + font-weight: 700; + font-size: 28px; + float: left; + display: block; + height: 40px; + line-height: 40px; + margin-left: 182px; + margin-right: 29px; +} +.all-project-home-title_menu ul {float: left; height: 40px; box-sizing: border-box; padding-top: 10px} +.all-project-home-title_menu ul li { + float: left; + list-style: none; + height: 27px; + line-height: 27px; + color: #0072bc; + cursor: pointer; + padding: 0 17px; +} +.all-project-home-title_menu ul li span { + border-bottom: 1px dashed #0072bc; + font-size: 15px; +} +li.project-home-active { + background:#0072bc; + cursor: default !important; + border-radius: 27px; +} +li.project-home-active span { + border-bottom: none !important; +} +li.project-home-active span{ + color: #fff; +} +.shadow-map { + width: 100%; + height: 6px; + background: url("../images/shadow-map.png"); + position: absolute; + top: 0; + left: 0; + z-index: 3; +} +.federation-home-title { + width: 100%; + float: left; + font-size: 28px; + font-weight: 700; + color: #fff; + margin-top: 44px; + text-align: center; +} +.federation-home-list { + + height: 27px; + width: 502px; + margin: 0 auto; +} +.federation-home-list li { + list-style: none; + float: left; + + padding: 0 20px; + height: 27px; + line-height: 27px; + cursor: pointer; +} +.federation-home-list li span { + border-bottom: 1px dashed #0072bc; + color: #fff; +} +.federation-home-list li:last-child span { + border-bottom: 1px dashed #fff200; + color: #fff200; +} +.federation-home-list-active { + color: inherit !important; + background: #fff; + border-radius: 27px; + cursor: default !important; +} +.federation-home-list-active span { + border-bottom: none !important; + color: inherit !important; +} +.federation-home-list-wr { + width: 100%; + float: left; + margin-top: 22px; + position: relative; + height: 27px; +} +.federation-home-blocks { + width: 300px; + height: 134px; + float: left; + margin-left: 20px; + margin-top: 122px; +} +.federation-home-blocks:first-child{margin-left: 0} +.federation-home-blocks-wr-blocks {display: none} +.federation-home-blocks-wr-blocks:first-child {display: block} +.federation-home-blocks-wr, .federation-home-blocks-wr-blocks{width: 100%;float: left} +.federation-home-ico, .federation-home-text {width: 100%; float: left; text-align: center} +.federation-home-ico{height: 46px} +.federation-home-text { + font-size: 18px; + color: #fff; + margin-top: 28px; + box-sizing: border-box; + padding: 0 27px; +} +.footer-all-wr { + width: 100%; + float: left; + margin-top: 34px; +} +.footer-menu { + width: 100%; + float: left; +} +.footer-menu li { + width: 100%; + float: left; + list-style: none; + height: 31px; +} +.footer-menu li a { + color: #555; + font-size: 13px; + text-decoration: none; +} +.footer-menu li a:hover{ + text-decoration: underline; +} +.footer-menu-wrapper { + width: 207px; + float: left; + height: 198px; +} +.first-footer-menu { + margin-right: 13px; +} +.second-footer-menu .footer-menu li, .third-footer-menu .footer-menu li {height: 28px} +.footer-menu-project { + width: 125px; + height: 72px; + border-radius: 4px; + border: 1px solid #c1c1c1;float: left; + margin-top: 27px; +} +.footer-menu-project-ico { + width: 100%; + box-sizing: border-box; + padding: 7px 0 0 23px; + float: left; +} +.footer-menu-project-ico a { + width: 36px; + height: 36px; + float: left; + margin-left: 8px; +} +.footer-menu-project-ico img { + width: 36px; + height: 36px; +} +.footer-menu-project-ico a:first-child{margin-left: 0} +.footer-menu-project-ico-txt { + width: 100%; + float: left; + text-align: center; + font-size: 13px; + color: #555; + line-height: 16px; + margin-top: 6px; +} +.footer-menu-project-two { + width: 151px; + height: 72px; + border-radius: 4px; + border: 1px solid #c1c1c1;float: left; + margin-top: 27px; +} +.footer-menu-project-two .footer-menu-project-ico { + padding: 7px 0 0 14px; +} +.last-footer-menu { + width: 300px; + float: right; +} +.last-footer-menu .footer-menu li { + text-align: right; + height: 22px; +} +.last-footer-menu .footer-menu li:last-child { + margin-top: 20px; + margin-top: 22px; +} +.copyright { + width: 50%; + float: left; + height: 40px; + line-height: 40px; + font-size: 11px; + color: #fff; +} +.artweb-wr { + width: 50%; + float: right; + height: 40px; + position: relative; +} +.artweb-wr a { + height: 40px; + line-height: 40px; + text-decoration: underline; + color: #fff; + opacity: 0.3; + font-size: 11px; + float: right; + margin-right: 36px; +} +.artweb-img { + width: 24px; + height: 23px; + position: absolute; + right: 0; + top: 50%; + margin-top: -11px; + opacity: 0.3; + cursor: default; +} +.artweb-img img { + width: 24px; + height: 23px; +} +.artweb-img a { + margin: 0; + padding: 0; + width: 24px; + height: 23px; + display: block; +} + +.style {width: 100%;float: left} +.form-questions-wrapp { + width: 502px; + height: 347px; + border-radius: 4px; + background: #fff; + opacity: 0.5; + position: absolute; + top: 111px; + left: 50%; + margin-left: -251px; +} +.form-questions { + width: 502px; + position: absolute; + top: 111px; + left: 50%; + margin-left: -251px; + box-sizing: border-box; + padding: 40px 40px 0 20px; +} +.form-questions textarea { + width: 420px; + height: 142px; + max-height: 142px; + background: #fff; + border: none; + border-radius: 4px; + float: left; + resize: none; + box-sizing: border-box; + padding: 8px 0 0 10px; + margin-left: 20px; + +} +.form-questions input { + width: 200px; + height: 32px; + float: left; + background: #fff; + border: none; + border-radius: 4px; + box-sizing: border-box; + margin-left: 20px; + margin-top: 22px; + padding-left: 8px; +} +.form-questions input[type="submit"] { + width: 190px; + height: 40px; + color: #fff; + line-height: 42px; + background: #077cc6; + border-bottom: 2px solid #0054a6; + font-size: 13px; + font-weight: 700; + text-transform: uppercase; + margin-top: 30px; + cursor: pointer; + outline: none; + transition: 0.2s; + margin-left: 136px; +} +.form-questions input[type="submit"]:hover { + background: #0054a6; + border-bottom: 2px solid #077cc6; +} +.callback { + width: 100%; + float: left; + padding: 0 20px; + box-sizing: border-box; + margin-top: 8px; +} +.callback input { + width: 100%; + height: 29px; + float: left; + background: #fff; + box-sizing: border-box; + border: 1px solid #dcdcdc; + margin-top: 5px; + padding-left: 10px; +} +.callback input[type="submit"] { + background: #0072bc; + color: #fff; + cursor: pointer; + transition: 0.3s; + margin-top: 20px; + font-size: 13px; + border-radius: 4px; + border: none; + padding: 0; +} +.callback label { + width: 100%; + float: left; + font-weight: 700; + font-size: 13px; + margin-top: 13px; +} +.callback input[type="submit"]:hover { + background: #0c81cc; +} +.performance-vacancy-call-back-conf { + width: 180px; + margin-top: 20px; + border-top: 1px solid #dbdbdb; + font-size: 11px; + color: #636363; + height: 45px; + line-height: 45px; + text-align: center; + float: left; + margin-left: 20px; +} +#overlay{ + position: fixed; + width: 100%;height: 100%; + background: #000; + opacity: 0.95; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=95)"; + display: none; + z-index: 9991; +} + +#modal_form { + width: 460px; + height: 533px; + position: fixed; + top: 30%; + left: 50%; + margin-top: -230px; + margin-left: -267px; + display: none; + opacity: 0; + z-index: 9992; + +} +.closed-form { + width: 15px;height: 15px; + background: url("../images/modal-close.png") no-repeat; + position: absolute; + top: -39px; + right: -50px; + cursor: pointer; + transition: 0.3s; +} +.closed-form:hover{opacity: 0.8} +.form-resume-wr { + width: 100%; + height: 100%; + float: left; + display: block; + position: relative; + border-radius: 4px; + overflow: hidden; + background: #fff; + position: relative; +} +.form-resume-sub { + height: 73px; + line-height: 73px; + color: #fff; + background: #0c81cc; + text-align: center; + font-size: 18px; +} +.form-resume-wr form { + width: 240px; + float: left; + position: absolute; + top: 73px; + left: 50%; + margin-left: -120px; + margin-top: 22px; +} +.form-resume-wr form label { + font-size: 13px; + font-weight: 700; + width: 100%; + float: left; + margin-bottom: 5px; +} +.form-resume-wr form input { + width: 240px; + height: 29px; + border: 1px solid #dcdcdc; + box-sizing: border-box; + padding-left: 10px; + margin-bottom: 13px; +} +.form-resume-wr form textarea { + width: 240px; + height: 123px; + max-height: 123px; + min-height: 123px; + resize: none; + border: 1px solid #dcdcdc; + box-sizing: border-box; + padding: 5px 0 0 10px; +} +.form-resume-wr form input[type="submit"] { + background: #0072bc; + color: #fff; + cursor: pointer; + height: 29px; + border: 1px solid #0072bc; + padding: 0 32px; + outline: none; + transition: 0.2s; + border-radius: 4px; + font-size: 13px; + width: auto; + margin-top: 48px; + margin-left: 30px; +} +.form-resume-wr form input[type="submit"]:hover { + background: #fff; + color: #0072bc; +} +.form-resume-wr form input[type="file"] { + border: none;outline: none; +} +.label-file {position: relative; width: 100%; float: left; height: 29px; margin-top: 10px} +.label-file label { + width: 96px !important; + line-height: 31px; +} +.label-file input { + position: absolute; + z-index: 9993; + width: 90px !important; + height: 29px !important; + background: #fff; + border: 1px solid #0072bc !important; + opacity: 0; + filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); + top: 1px; + left: 96px; + cursor: pointer; +} +.label-file input[type="file"] { + cursor: pointer; +} +.label-file a { + position: absolute; + z-index: 9992; + width: 88px; + height: 27px; + background: #fff; + border: 1px solid #0072bc !important; + color: #0072bc; + font-size: 13px; + text-decoration: none; + display: block; + line-height: 27px; + text-align: center; + top: 1px; + left: 96px; + cursor: pointer; + border-radius: 4px; +} +[role="button"] { + cursor: pointer; +} +input[type=file]::-webkit-file-upload-button { + cursor: pointer; +} +.res-wrapper-mb { + width: 100%; + float: left; + margin-top: 8px; + margin-left: 104px; + position: relative; +} +.res-wrapper-mb p { + width: 250px; + background: #fff; + position: absolute; + top: 0; + left: -10px; + font-size: 11px; + color: #636363; + z-index: 2; + box-sizing: border-box; + padding-left: 10px; + height: 29px; + overflow: hidden; +} +.res_form_line { + width: 100%; + height: 1px; + background: #dbdbdb; + position: absolute; + left: 0;bottom: 89px; + z-index: 1; +} +/***rating***/ +.section-box-15 .rating {padding-left: 0;margin-left: -4px} +.section-box-15 .vote-stars, .section-box-15 .vote-active {cursor: default !important} +.section-box-15 .rating .vote-result, .section-box-15 .rating .vote-success {display: none} +.rating{width:150px; overflow: hidden; height:16px;float:left;box-sizing: border-box;padding-left: 9px;}div.vote-wrap{overflow:hidden}div.vote-block{position:relative}div.vote-hover{float:left;cursor:default}div.vote-stars,div.vote-active{position:absolute;left:0;top:0;cursor:pointer}div.vote-result{color:#ccc;font-size:14px;margin-top:12px;padding-left:190px}div.vote-success{clear:both;color:#ccc;font-size:14px;margin:10px 0 0 10px} +/***end-rating***/ +.section-box-9 .vote-success, .section-box-9 .vote-result{display: none} +/****pagination****/ +.navi-buttons-wr { + margin-top: 29px; +} +.pagination { + display: block; + padding:0; + margin:0; + float: right; +} +.pagination li { + display: block; + border: 1px solid #dcdcdc; + float: left; + margin-left: 6px; + border-radius: 4px; + height: 29px; +} +.pagination li.active {background: #f1f1f1; border: 1px solid #f1f1f1;} +.pagination li.active a {cursor: default} +.pagination li:first-child{margin-left: 0} +.pagination > li a { + padding: 0 11px; + height: 100%; + line-height: 31px; + display: block; + text-decoration: none; + font-weight: 700; + color: inherit; +} +.pagination li.dots-next { + border: 1px solid #fff; +} +.pagination li:hover { + border: 1px solid #0072bc; +} +.pagination li:hover a { + color: #0072bc; +} +.pagination li.active:hover { + border: 1px solid #f1f1f1; +} +.pagination li.active:hover a { + color: inherit; +} +.pagination li.dots-next:hover { + border: 1px solid #fff; +} +/**************landingCompany**************/ + +.section-box-5 { + height: 500px; + background: url("../images/landing/bg-5.jpg") 50% no-repeat; +} +.landing-reg-title{ + text-align: center; + color: #fff; + font-size: 48px; + font-weight: 700; + margin-top: 124px; + float: left; + width: 100%; + text-shadow: 0px 0px 12px rgba(115, 115, 115, 0.75); +} +.landing-reg-button { + height: 65px; + margin-top: 94px; +} +.landing-reg-button a { + width: 288px; + height: 62px; + text-align: center; + display: block; + background: #0276c0; + border-bottom: 3px solid #0054a6; + color: #fff; + text-decoration: none; + font-size: 18px; + line-height: 65px; + transition: 0.2s; + border-radius: 4px; + margin: 0 auto; +} +.landing-reg-button a:hover{ + background: #0054a6; + border-bottom: 3px solid #0276c0; +} +.landing-reg-txt {text-align: center; font-size: 18px; color: #fff; margin-top: 27px;} +.section-box-6 { + height: 579px; + background: #fff; +} +.section-box-7 { + height: 275px; + background: #f1f1f1; +} +.section-box-8 { + height: 444px; + background: url("../images/landing/bg-8.jpg") 50% no-repeat; +} +.section-box-8.landing-work-our-wr-section { + height: 273px; + background: url("../images/landing-order-project/bg-30.jpg") 50% no-repeat; +} +.section-box-9 { + height: 341px; + background: #fff; +} +.landing-your-buisnes-tit { + text-align: center; + font-weight: 700; + font-size: 28px; + margin-top: 44px; +} +.section-box-6 .box-all { + overflow: hidden; +} +.landing-your-buisnes-anim-wr { + width: 960px !important; + overflow: hidden; + margin-left: -20px; + margin-top: 32px; + position: relative; + perspective: 1000px;-webkit-perspective: 1000px; +} +.landing-your-buisnes-blocks { + width: 300px; + height: 218px; + float: left; + position: relative; + margin-left: 20px; +} +.lan_yo_buis_img { + background: url("../images/landing/landing-ico-1.png") no-repeat; + height: 163px; +} +.lan_yo_buis_txt { + text-align: center; + box-sizing: border-box; + padding: 0 50px; + line-height: 18px; + position: absolute; + height: 36px; + left: 0; + bottom: 35px; +} +.lan_yo_buis_arr { + width: 88px; + height: 35px; + background: url("../images/landing/landing-ico-2.png") no-repeat; + position: absolute; +} +.lan_yo_buis_arr:last-child{ + height: 110px; +} +.landing-your-buisnes-blocks { + transform: rotateY(-180deg) ; + -moz-transform: rotateY(-180deg); + -webkit-transform: rotateY(-180deg); + -o-transform: rotateY(-180deg); + -ms-transform: rotateY(-180deg); + transition: 1.2s; +} +.landing-best-jobs { + height: 111px; + text-align: center; + line-height: 122px; + font-size: 28px; + font-weight: 700; +} +.logos-slider { + width: 100%; + float: left; + height: 130px; + position: relative; +} +.scroll-img { + width: 870px; + height: 100%; + margin: 0 auto; + position: relative; + overflow: hidden; +} +.scroll-img ul { + margin: 0 auto; + width: 1870px; + height: 100%; + +} +.scroll-img ul li:first-child{margin-left: 0} +.scroll-img ul li { + width: 150px; + height: 100%; + float: left; + list-style: none; + margin-left: 30px; +} +.buttons-slider-best { + position: absolute; + width: 35px; + height: 75px; + background: red; + top: 0; + opacity: 0.3; + transition: 0.3s; +} +.buttons-slider-best:hover {opacity: 1} +#prew.buttons-slider-best{ + left: 0; + background: url("../images/landing/arrow-best-1.png") 0 50% no-repeat; +} +#next.buttons-slider-best{ + right: 0; + background: url("../images/landing/arrow-best-2.png") 100% 50% no-repeat; +} +.scroll-img ul li p { + width: 100%; + float: left; + line-height: 16px; + text-align: center; + font-size: 13px; + color: #666666; + margin-top: 8px; +} +.section-box-8 .landing-best-jobs {color: #fff} +.landing-work-our { + width: 300px; + height: 153px; + float: left; + margin-left: 20px; + position: relative; + overflow: hidden; +} +.land-wrk-wr { + width: 100%; + overflow: hidden; +} +.landing-work-our-wr { + width: 960px; + float: left; + margin-left: -20px; +} +.landing-work-our-img { + width: 100%; + height: 64px; + float: left; +} +.lnd-wrk-img { + width: 64px; + height: 64px; + margin: 0 auto; + background: url("../images/landing/ico-circle-1.png") no-repeat; +} +.landing-work-our-img p { + width: 100%; + text-align: center; + color: #fff; + line-height: 18px; + float: left; + margin-top: 17px; + cursor: default; + transition: 0.3s; +} +.landing-work-our:hover p{font-size: 18px} +.landing-work-our-img-text { + width: 100%; + float: left; + height: 100%; +} +.landing-slider-comments-wr { + height: 180px; + position: relative; +} +.landing-slider-comments { + width: 860px; + height: 100%; + background: #f5f5f5; + margin: 0 auto; + border-radius: 4px; + overflow: hidden; +} +.prev-slide, .next-slide { + width: 40px; + height: 100%; + position: absolute; + top: 0; + opacity: 0.3; + transition: 0.3s; +} +.prev-slide {left:0; background: url("../images/landing/arrow-best-1.png") 0 50% no-repeat;} +.next-slide {right:0;background: url("../images/landing/arrow-best-2.png") 100% 50% no-repeat;} +.prev-slide:hover, .next-slide:hover {opacity: 1} +.slider-wrapper { + width: 100%; + height: 100%; + overflow: hidden; + margin: 0 auto; + position: relative; +} +.slider_timer {height: 100%;position: relative;width: 100%;} +.slide_t { + width: 100%; + height: 100%; + float: left; +} +.land-sld-blocks-wr { + width: 100%; + height: 100%; + float: left; + box-sizing: border-box; + padding: 30px 19px 30px 30px; +} +.land-sld-blocks-wr img{ + width: 120px;height: 120px;border-radius: 100%;float: left; +} +.land-sld-txt { + width: 421px; + float: right; + position: relative; + padding-top: 13px; + line-height: 16px; +} +.land-sld-txt p { + font-size: 13px; +} +.land-sld-txt:before{ + content: '“'; + font-size: 111px; + font-family: georgia; + color: #c6c6c6; + position: absolute; + left: -56px; + top: 46px; + width: 35px; + height: 28px; +} +.land-sld-name-tit { + float: left; + width: 100%; + font-size: 20px; + height: 24px; + line-height: 24px; + margin-top: 15px; +} +.land-sld-autor-comm-wr { + float: left; + width: 230px; + margin-left: 19px; +} +.land-stars-wr {height: 16px;margin-top: 8px} +.land-stars-pro, .land-stars-new { + height: 16px; + border-radius: 4px; + background: #0e84cf; + color: #fff; + text-align: center; + line-height: 17px; + text-transform: uppercase; + font-size: 11px; + float: left; + padding: 0 6px; +} +.land-stars-new { + background: #64c04a !important; +} +.land-comments-a { + text-decoration: underline; + color: #0072bc; + transition: 0.3s; + margin-top: 7px; + line-height: 12px; +} +.land-comments-a:hover{opacity: 0.9} +.section-box-10 { + height: 398px; + background: url("../images/landing/bg-10.jpg") 50% no-repeat; +} +.section-box-11 { + height: 537px; + background: url("../images/landing/bg-11.jpg") 50% no-repeat; +} + +.section-box-10 .landing-best-jobs, .section-box-11 .landing-best-jobs{color: #fff} +.section-box-10 .box-all {padding: 0; overflow: hidden} +.land-numbers-wr {margin-left: -10px} +.land-numbers { + width: 300px; + margin-left: 20px; + height: 136px; + overflow: hidden; + float: left; + margin-bottom: 2px; +} +.land-numbers-num, .land-numbers-txt { + width: 100%; + color: #fff; + text-align: center; +} +.land-numbers-num {font-size: 60px; font-weight: 700;line-height: 60px} +.land-numbers-txt { + margin-top: 6px; + box-sizing: border-box; + padding: 0 33px; + line-height: 18px; +} +.wrong { + border: 1px solid #ff0042!important; +} +.normal { + border: 1px solid #00ff6c!important; +} + + +/****landig-freelance****/ +.section-box-12 { + height: 500px; + background: url("../images/landing-freelance/bg-12.jpg") 50% no-repeat; +} +.section-box-12 .landing-reg-button a { + background: #68c64d; + border-bottom: 3px solid #3e9825; + width: 248px; +} +.section-box-12 .landing-reg-button a:hover { + background: #3e9825; + border-bottom: 3px solid #68c64d; +} +.new-buisnes-freelance .lan_yo_buis_img { + background: url("../images/landing-freelance/landing-fr-ico-1.png") no-repeat; + height: 163px; +} +.landing-work-our-wr.freelance .lnd-wrk-img { + background: url("../images/landing-freelance/landing-free-ico-1.png") no-repeat; +} +.order-landing-anim .lan_yo_buis_img { + background: url("../images/landing-order-project/landing-or-1.png") no-repeat; + height: 163px; +} +/****landig-work****/ +.section-box-13 { + height: 500px; + background: url("../images/landing-work/bg-13.jpg") 50% no-repeat !important; +} +/****perform-vacancy****/ +.section-box-14 { + height: 380px; +} +.performance-vacancy-call-back { + width: 220px; + height: 320px; + float: right; + background: #fff; + border-radius: 4px; + margin-top: 30px; + overflow: hidden; + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); +} +.performance-vacancy-call-back-title { + width: 100%; + height: 73px; + background: #0c81cc; + color: #fff; + font-size: 18px; + line-height: 18px; + box-sizing: border-box; + padding-left: 17px; + padding-top: 23px; +} +.performance-vacancy-add-favorite { + width: 44px; + height: 380px; + float: right; + margin-right: 20px; + position: relative; +} +.performance-vacancy-add-favorite a{ + width: 44px; + height: 125px; + background: url("../images/add_favorite.png") no-repeat; + position: absolute; + left: 0;bottom: 0; + display: block; + transition: 0.3s; +} +.performance-vacancy-add-favorite a:hover{opacity: 0.95} +.menu-content-wr { + height: 43px; + background: #f1f1f1; +} +.menu-content { + width: 720px; + float: right; + height: 43px; +} +.menu-content li { + list-style: none; + float: left; + height: 40px; + padding: 0 16px; + border-top: 3px solid #f1f1f1; + background: #f1f1f1; +} +.menu-content li a { + float: left; + height: 100%; + line-height: 38px; + text-decoration: none; + color: inherit; +} +.active-menu-content{ + transition: 0.3s; + border-top: 3px solid #0072bc !important; + background: #fff !important; +} +.active-menu-content a { + color: #0072bc !important; +} +.section-box-15 { + background: #fff; + padding-top: 27px; + padding-bottom: 50px; +} +.performer-vacancy-vacant-wr { + width: 720px; + float: right; +} +.performer-vacancy-vacant-title { + font-size: 18px; + margin-top: 1px; +} +.performer-vacant-reclam-bl { + width: 100%; + float: left; + border-bottom: 1px solid #dcdcdc; + padding-bottom: 10px; +} +.performer-vacant-reclam-bl-title { + width: 100%;float: left; + color: #0072bc; + font-size: 16px; + text-decoration: none; + margin-top: 12px; +} +.performer-vacant-reclam-bl-title:hover{ + text-decoration: underline; +} +.performer-vacant-reclam-bl-title-two { + width: 100%; + float: left; + font-size: 15px; + margin-top: 6px; +} +.performer-vacant-reclam-bl-content { + width: 100%;float: left; + font-size: 13px; + margin-top: 7px; + line-height: 18px; +} +.performer-vacant-reclam-bl-content-read img{ + width: 4px; + height: 7px; +} +.performer-vacancy-sidebar-left-wr { + width: 200px; + float: left; + background: #fff; + position: relative; +} +.performer-vacancy-sidebar-left { + width: 200px; + background: #fff; + position: absolute; + top: -319px; + border-radius: 4px; + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); + float: left; +} +.performer-vacancy-sidebar-img{text-align: center; margin-top: 10px} +.performer-vacancy-sidebar-img img{ + max-width: 180px; + max-height: 180px; +} +.performer-vacancy-sidebar-soc { + +} +.performer-vacancy-sidebar-soc ul{ + width: 100%; + float: left; + height: 24px; +} +.performer-vacancy-sidebar-soc ul li { + width: 24px; + height: 100%; + display: block; + margin-left: 4px; + float: left; + list-style: none; +} +.performer-vacancy-sidebar-soc ul li:first-child{margin-left: 0} +.performer-vacancy-sidebar-soc ul li a img {width: 24px;height: 24px} +.performer-vacancy-sidebar-all { + box-sizing: border-box; + padding-left: 20px; + padding-top: 27px; +} +.performer-vacancy-sidebar-views ul {margin-top: 19px; padding-bottom: 17px} +.performer-vacancy-sidebar-views ul li { + list-style: none; + width: 100%; + float: left; + margin-top: 18px; + line-height: 16px; +} +.performer-vacancy-sidebar-views ul li img { + float: left; + max-width: 20px; +} +.performer-vacancy-sidebar-views ul li:first-child{margin-top: 0} +.sidebarvievstxt { + font-size: 13px; + width: 156px; + float: right; + margin-top: -2px; + box-sizing: border-box; + padding-right: 5px; +} +.sidebar-views-ico { + width: 24px; + float: left; + height: 100%; +} +.sidebar-views-txt { + font-weight: 700; +} +.performer-vacancy-sidebar-views ul li a{text-decoration: none; color: inherit;} +.performer-vacancy-sidebar-views ul li a:hover {text-decoration: underline} +.sidebarvievs-phone {font-size: 15px} +.performance-vacancy-sidebar-company-wr { + width: 230px; + float: left; + position: absolute; + top: 0; + left: 220px; + padding-top: 82px; +} +.performance-vacancy-sidebar-company-title { + font-size: 24px; + color: #fff; + margin-bottom: 1px; +} +.performance-vacancy-sidebar-company-job ul li{ + position: relative; + list-style: none; +} +.performance-vacancy-sidebar-company-job ul li a { + text-decoration: underline; + color: #69d34b; + position: relative; + height: 22px; + line-height: 22px; + transition: 0.4s; +} +.performance-vacancy-sidebar-company-job ul li a:after{ + content: ''; + width: 8px; + height: 4px; + display: block; + background: url("../images/sidebar-ico/arrow-ico.png") no-repeat; + position: absolute; + right: -15px; + top: 50%; + margin-top: -1px; +} +.sidebar-droped-wr a {color: inherit !important; text-decoration: none !important; +} +.sidebar-droped-wr li a:hover{text-decoration: underline !important;} +.sidebar-droped-wr { + display: none; + position: absolute; + z-index: 9; +} +.sidebar-droped-wr ul li a:after {display: none} +.sidebar-droped-wr ul li {background: #fff; padding-bottom: 7px; + border-bottom-right-radius: 4px; + border-bottom-left-radius: 4px;} +.performance-vacancy-sidebar-comm {color: #fff; margin-top: 10px} +.performance-vacancy-sidebar-write {text-decoration: underline; color: #69d34b; margin-top: 1px} + +.active-dropped-ul { + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); + background: #fff; + width: 120px; + float: left; + border-top-left-radius: 4px; + border-top-right-radius: 4px; +} +.active-dropped-ul a{margin-left: 10px} +.sidebar-droped-wr.act{display: block} +.performance-vacancy-sidebar-stars {margin-top: 24px} + +/****perform-vacancy-page****/ +.performer-vacancy-list { + border-bottom: 1px solid #dcdcdc; + padding-bottom: 16px; +} +.performer-vacancy-list a{ + font-size: 13px; + color: #0072bc; + float: left; + margin-top: 1px; + position: relative; + margin-left: 10px; +} +.performer-vacancy-list a:before { + width: 4px; + height: 7px; + content: ''; + display: block; + background: url("../images/performar_vacancy/arrow-list-prev.png") no-repeat; + position: absolute; + top: 50%; + margin-top: -3px; + left: 0; + margin-left: -10px +} +.performer-vacancy-date { + font-size: 11px;color: #636363;margin-top: 18px; +} +.performance-vacancy-page-title { + font-size: 18px;color: #0072bc; + margin-top: 13px; +} +.performance-vacancy-page-options {margin-top: 9px} +.performance-vacancy-page-options ul{ + width: 100%;float: left; +} +.performance-vacancy-page-options ul li { + width: 100%; + float: left; + list-style: none; + line-height: 24px; +} +.performance-vacancy-page-options ul li:first-child{margin-top: 0} +.performance-vacancy-page-options ul li span { + display: block; + float: left; + color: #636363; +} +.performance-vacancy-page-options ul li p {width: 556px; float: right} +.performance-vacancy-description { + font-size: 18px; + margin-top: 25px; +} +.performance-vacancy-desc-txt {font-size: 13px;margin-top: 7px} +.performance-vacancy-desc-txt p { + font-size: 13px; + margin-top: 15px; + line-height: 16px; +} +.performance-vacancy-desc-txt p:first-child{margin-top: 0} +.performance-vacancy-desc-form { + margin-top: 25px; +} +.performance-vacancy-desc-form a { + display: block; + background: #0072bc; + text-decoration: none; + color: #fff; + height: 29px; + line-height: 29px; + float: left; + border-radius: 4px; + transition: 0.3s; + padding: 0 19px; + font-size: 13px; +} +.performance-vacancy-desc-form a:hover{opacity: 0.9} +.performer-vacancy-blocks-desk-wr { + border-bottom: 1px solid #dcdcdc; + padding-bottom: 20px; +} +.performance-vacancy-similar-title { + font-size: 18px; +} +.performance-vacancy-similar { + padding-top: 36px; +} +.performance-vacancy-similar-blocks-wr .performer-vacant-reclam-bl-title-two {margin-top: 0} +.performance-vacancy-similar-blocks-wr {margin-top: 6px} +.performance-vacancy-similar-blocks-wr:first-child {margin-top: 0} + +/***blog****/ +.section-box-16 { + height: 235px; +} +.blog-buttons-wr { + margin-top: 160px; + width: 526px; + float: right; +} +.blog-buttons-wr a { + float: left; + color: #fff; + font-size: 13px; + position: relative; + width: 170px; + height: 45px; + border-radius: 4px; + display: block; + transition: 0.2s; + text-decoration: none; + margin-left: 8px; + box-sizing: border-box; + padding-left: 59px; + padding-top: 8px; + line-height: 14px; + border-bottom: 2px solid #3e9825; + background: rgb(107,203,80); + background: -moz-linear-gradient(top, rgba(107,203,80,1) 0%, rgba(96,187,70,1) 100%); + background: -webkit-linear-gradient(top, rgba(107,203,80,1) 0%,rgba(96,187,70,1) 100%); + background: linear-gradient(to bottom, rgba(107,203,80,1) 0%,rgba(96,187,70,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6bcb50', endColorstr='#60bb46',GradientType=0 ); + +} +.blog-buttons-wr a:hover { + font-size: 15px; + background: rgb(96,187,70); + background: -moz-linear-gradient(top, rgba(96,187,70,1) 0%, rgba(107,203,80,1) 100%); + background: -webkit-linear-gradient(top, rgba(96,187,70,1) 0%,rgba(107,203,80,1) 100%); + background: linear-gradient(to bottom, rgba(96,187,70,1) 0%,rgba(107,203,80,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#60bb46', endColorstr='#6bcb50',GradientType=0 ); +} +.blog-buttons-wr a:first-child{ + margin-left: 0; + border-bottom: 2px solid #ef8505; + background: rgb(253,157,43); + background: -moz-linear-gradient(top, rgba(253,157,43,1) 0%, rgba(248,148,30,1) 100%); + background: -webkit-linear-gradient(top, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%); + background: linear-gradient(to bottom, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 ); +} +.blog-buttons-wr a:first-child:hover { + background: rgb(248,148,30); + background: -moz-linear-gradient(top, rgba(248,148,30,1) 0%, rgba(253,157,43,1) 100%); + background: -webkit-linear-gradient(top, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%); + background: linear-gradient(to bottom, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); +} +.blog-buttons-wr a.blog-buttons-add-favorite { + border-bottom: 2px solid #0054a6; + background: rgb(20,138,214); + background: -moz-linear-gradient(top, rgba(20,138,214,1) 0%, rgba(0,114,188,1) 100%); + background: -webkit-linear-gradient(top, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%); + background: linear-gradient(to bottom, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 ); +} +.blog-buttons-wr a.blog-buttons-add-favorite:hover { + background: rgb(0,114,188); + background: -moz-linear-gradient(top, rgba(0,114,188,1) 0%, rgba(20,138,214,1) 100%); + background: -webkit-linear-gradient(top, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%); + background: linear-gradient(to bottom, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 ); +} +.blog-buttons-wr a:after { + width: 20px; + height: 24px; + display: block; + content: ''; + background: url("../images/blog/ico-buttons-2.png") no-repeat; + position: absolute; + top: 50%; + margin-top: -12px; + left: 15px; +} +.blog-buttons-wr a:first-child::after { + background: url("../images/blog/ico-buttons-1.png") no-repeat; + width: 24px; +} +.blog-buttons-wr a:last-child::after { + background: url("../images/blog/ico-buttons-3.png") no-repeat; +} +.blog-post-wr { + width: 100%; + float: left; + border-bottom: 1px solid #dcdcdc; + padding-bottom: 17px; + transition: 0.2s; + margin-top: 27px; +} +.blog-post-wr:first-child{margin-top: -1px} +.blog-post-title p { + font-size: 18px; +} +.blog-post-icons-wr { + height: 16px; + margin-top: 9px; +} +.blog-post-date { + width: 97px; + height: 100%; + float: left; +} +.blog-post-date span, .blog-post-views span, .blog-post-comm-num span { + width: 16px; + height: 16px; + margin-right: 7px; + display: block; + background: url("../images/blog/ico-post.png") 0 0 no-repeat; + float: left; +} +.blog-post-date p, .blog-post-views p, .blog-post-comm-num p { + height: 100%; + line-height: 18px; + float: left; + color: #888888; + font-size: 12px; +} +.blog-post-views { + height: 100%; + float: left; +} +.blog-post-views span { + background-position: -16px 0; + margin-right: 4px !important; +} + +.blog-post-comm-num { + height: 100%; + float: left; + margin-left: 15px; +} +.blog-post-comm-num span { + background-position: -32px 0; + margin-right: 6px !important; +} +.blog-post-content img{ + max-width: 340px; + float: left; + margin-right: 30px; + margin-top: 4px; +} +.blog-post-content {margin-top: 7px; overflow: hidden; } +.blog-post-content p { + font-size: 13px; + line-height: 20px; +} +.blog-post-see-all { + font-size: 13px; + color: #0072bc; + text-decoration: none; + height: 16px; + margin-top: 10px; +} +.blog-post-see-all span { + border-bottom: 1px dashed #0072bc; + position: relative; + height: 100%; +} +.blog-post-see-all span:after { + display: none; + position: absolute; + content: ''; + width: 8px; + height: 4px; + background: url("../images/blog/ico-see-all-dawn.png") no-repeat; + top: 50%; + margin-top: -2px; + right: -13px; +} +.blog-post-see-all.blog-expand span:after { + transform: rotate(180deg); +} +.section-box-17 .performer-vacancy-sidebar-left{ + top: -217px; +} +.section-box-17 .performance-vacancy-sidebar-company-wr { + padding-top: 0; + margin-top: -6px; +} + +/***company-performer****/ +.company-performer-title { + font-size: 18px; +} +.company-performer-txt p { + width: 100%; + font-size: 13px; + margin-top: 18px; + line-height: 18px; +} +.company-performer-txt p:first-child{margin-top: 0} +.company-performer-type-title { + text-align: center; + font-size: 18px; + margin-top: -18px; +} +.company-performer-type-map .section-box-map { + height: 460px; + margin-top: 25px; + position: relative; +} +.section-box-19{margin-top: 36px; margin-bottom: 50px} +.company-performer-comm-title { + text-align: center; + font-size: 18px; +} +.company-performer-map-menu { + position: absolute; + width: 235px; + height: 324px; + top: 20px; + left: 20px; +} +.company-performer-map-menu .content-menu-first li:first-child{ + border-top: 1px solid #dfdfdf;; +} +.company-performer-comments-wr { + margin-top: 15px; +} +.company-performer-comments-bl { + width: 220px; + float: left; + margin-left: 20px; +} +.company-performer-comments-bl:first-child{margin-left: 0} +.company-performer-comments-bl .rating {padding-left: 0; margin-left: -4px; width: 130px; overflow: hidden} +.company-performer-comments-autor, .company-performer-comments-txt { + width: 100%;float: left;font-size: 13px; +} +.company-performer-comments-autor{margin-top: 6px; font-weight: 700} +.company-performer-comments-txt {color: #636363; line-height: 16px; margin-top: 2px; max-height: 80px; overflow: hidden} +.company-comm-see-all { + width: 100%; + float: left; + color: #0072bc; + text-decoration: none; + font-size: 13px; +} +.company-comm-see-all span{border-bottom: 1px dashed #0072bc; position: relative} +.company-performer-comments-txt.auto-height-blog-post {height: auto !important; max-height: none} +.company-comm-see-all span:after{ + background: url("../images/ico-see-all-dawn.png") no-repeat; + width: 8px; + height: 4px; + display: block; + content: ''; + position: absolute; + top: 50%; + margin-top: -2px; + right: -14px; +} +.company-comm-expand span:after{transform: rotate(180deg)} +.company-performer-comments-bl .vote-stars, .company-performer-comments-bl .vote-active { + cursor: default !important; +} +.company-performer-comm-see-all-butt { + height: 45px; + margin-top: 27px; +} +.company-performer-comm-see-all-butt a{ + display: block; + margin: 0 auto; + width: 168px; + height: 43px; + border: 1px solid #0072bc;text-align: center; + line-height: 45px; + text-decoration: none; + color: #0072bc; + font-size: 13px; + border-radius: 4px; + transition: 0.2s; +} +.company-performer-comm-see-all-butt a:hover{background: #0072bc; color: #fff} +/****command****/ +.command-block-wrapper { + width: 220px; + height: 325px; + float: left; + margin-left: 20px; +} +.command-blocks-wr {margin-top: 3px} +.command-block-foto { + width: 220px; + height:220px; + overflow: hidden; + background: #f1f1f1 url("../images/command/bg-command.png") 50% 100% no-repeat; + text-align: center; + position: relative; + text-align: center; +} +.command-block-foto img { + width: 220px; + height: 220px; + max-width: 220px; + max-height: 220px; +} +.hover-command-bg { + width: 220px; + height: 220px; + position: absolute; + top: 0; + left: 0; + background: #0072bc; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + transition: 0.3s; +} +.command-block-wr-two { + width: 100%; + height: 295px; + float: left; +} +.command-block-name, .command-block-job { + width: 100%; + float: left; + text-align: center; + font-size: 18px; +} +.command-block-name { + margin-top: 10px; +} +.command-block-job{font-size: 13px !important;margin-top: 3px;line-height: 16px; height: 32px;overflow: hidden} +.command-block-line { + width: 100%; + height: 5px; + background: #e1e1e1; + position: relative; + float: left; + margin-top: 3px; + overflow: hidden; +} +.command-block-line-left, .command-block-line-right { + width: 50%; + height: 100%; + background: #0072bc; + position: absolute; + top: 0; +} +.command-block-line-left { + left: -50%; +} +.command-block-line-right { + right: -50%; +} + + +.command-block-wr-two:hover .hover-command-bg{ + opacity: 0.2; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; +} +.command-block-wr-two:hover .command-block-line-left { + left: 0; + transition: 0.2s ease-in; +} +.command-block-wr-two:hover .command-block-line-right { + right: 0; + transition: 0.2s ease-in; +} +.commands-performer-wr { + width: 720px; + float: right; +} +.section-box-19.command-command-style {} +.command-command-style.navi-buttons-wr { + margin-top: 0; !important; +} +.section-box-line-command { + height: 1px; + margin-top: -20px; +} +.section-box-line-command .box-all { + border-bottom: 1px solid #dcdcdc; +} +/****gallery****/ +.gallery-title {font-size: 18px; margin-bottom: 17px} +.video-performer-wrapper {margin-top: 56px} +.slider-video-wr {height: 143px; width: 100%; float: left} +.video-slider { + width: 860px; + height: 143px; + position: absolute; + margin-left: 40px; + z-index: 1; +} +.slider-video-wr #demo5-btn{ + height: 143px; + width: 100%; + position: relative; +} +.slider-video-wr #demo5-backward { + position: absolute; + left: 0; + z-index: 2; + width: 16px; + height: 24px; + background: url("../images/gallery-left.png") no-repeat; + top: 50%; + margin-top: -12px; + border: none; + cursor: pointer; + outline: none; +} +.slider-video-wr #demo5-forward { + position: absolute; + right: 0; + z-index: 2; + width: 16px; + height: 24px; + background: url("../images/gallery-right.png") no-repeat; + top: 50%; + margin-top: -12px; + border: none; + cursor: pointer; + outline: none; +} +.video-slider ul {min-width: 860px} +.video-slider li { + position: relative; + width: 200px !important; + height: 143px !important; + margin-left: 20px !important; + overflow: hidden; +} +.video-slider li:first-child {margin-left: 0 !important;} +.ytp-large-play-button.ytp-button {display: none!important;} +.video-slider iframe {width: 100%!important; height: 100%!important; z-index: 1} +.video-slider li a { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 4; + background: url("../images/button_video_01.png") 50% 50% no-repeat; + transition: 0.3s; +} +.video-slider li a:hover {background: url("../images/button_video_02.png") 50% 50% no-repeat;} +.video-slider li span { + display: block; + width: 100%; + height: 100%; + background: #000; + opacity: 0.6; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; + position: absolute; + top: 0; + left: 0; + z-index: 3; +} +.video-full { + width: 840px; + height: 560px; + position: fixed; + top: 0; + left: 50%; + margin-left: -420px; + z-index: 9992; + margin-top: -280px; + opacity: 0; + display: none; +} +.video-full-iframe {width: 100%; height: 100%; display: block} +.video-full .closed-form {top: 17px; right: -13px} +.section-box-20 .performer-vacancy-sidebar-img {margin-bottom: 6px} +.gallery-performer-wrapper {overflow: hidden;margin-top: 32px} +.gallery-performer-margin { + float: left; + width: 973px; + margin-left: -33px; +} +.navi-buttons-wr.gallery-style {margin-bottom: 50px;margin-top: 0} + + +.gallery-box { + width: 210px; + height: 150px; + float: left; + background: #f1f1f1; + margin-left: 33px; + margin-bottom: 40px; + transition: 0.3s; +} +.gallery-box:hover{opacity: 0.8} +.gallery-box:nth-child(4n) { + margin-left: 34px; +} +.gallery-box-min img{ + width: 210px; + height: 150px; +} +.gallery-box-hidden, .gallery-box-preview, .gallery-box-big {display: none} +.gallery-box-min{display: block} + +.gallery-page { + width: 940px; + height: 710px; + float: left; + display: none; + z-index: 9992; + position: fixed; + left: 50%; + margin-left: -470px; + top: 0; +} +.gallery-box-big-wrapper-first { + width: 840px; + height: 560px; + margin: 0 auto; +} +.gallery-show-big-wrp { + width: 840px;height: 560px; margin: 0 auto;position: relative; +} +.gallery-show-big { + +} +.galley-show-min-wrapper { + width: 840px; + margin: 0 auto; + overflow: hidden; + padding-top: 40px; + height: 108px; +} +.gallery-show-big tr{display: none} +.gallery-show-big tr:first-child{display: block} +.gallery-show-big tr td{ + vertical-align: middle; + width: 840px; + height: 560px; + text-align: center; +} +.gallery-show-big img{max-width: 100%; max-height: 100%; vertical-align: middle; position: relative} + +.gallery-show-min img{ + margin-right: 20px;cursor: pointer; +} +.gallery-show-min img:last-child{margin-right: 0} +.gallery-show-min {float: left; position: relative; height: 108px} +.border-gallery { + position: absolute; + top: 0; + left: 0; + width: 148px; + height: 104px; + border: 2px solid greenyellow; +} +.gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right { + width: 35px; + height: 108px; + position: absolute; + bottom: 0; + cursor: pointer; + transition: 0.3s; + z-index: 2; +} +.copy-gallery-min-left, .copy-gallery-min-right, .copy-gallery-big-left, .copy-gallery-big-right { + z-index: 1 !important; +} +.copy-gallery-min-left, .copy-gallery-min-right, .copy-gallery-big-left, .copy-gallery-big-right {opacity: 0.35} +.gallery-min-left, .copy-gallery-min-left { + left: 0; + background: url("../images/gallery-left.png") 0 50% no-repeat; +} +.gallery-min-right, .copy-gallery-min-right { + right: 0; + background: url("../images/gallery-right.png") 100% 50% no-repeat; +} +.copy-gallery-big-left, .copy-gallery-big-right, .gallery-big-left, .gallery-big-right { + width: 35px; + height: 100%; + position: absolute; + cursor: pointer; + z-index: 2; + top: 0; +} +.gallery-big-left, .copy-gallery-big-left { + left: -50px; + background: url("../images/gallery-left.png") 0 50% no-repeat; +} +.gallery-big-right, .copy-gallery-big-right { + right: -50px; + background: url("../images/gallery-right.png") 100% 50% no-repeat; +} + + +.gallery-page-sidebar .performer-vacancy-sidebar-left{ + top: -190px; +} +.gallery-page-sidebar .performance-vacancy-sidebar-company-wr { + padding-top: 0; + margin-top: -6px; +} +.gallery-page-sidebar .vote-hover, .blocks-check-list-wrapp .vote-hover{padding: 0!important;} +.gallery-page-sidebar .rating, .blocks-check-list-wrapp .rating{padding-left: 0!important;} +/****search-work***/ +.blocks-check-list-wrapp .rating {margin-bottom: 16px} +.blocks-check-list-wrapp .vote-result, .blocks-check-list-wrapp .vote-success {display: none} +.section-box-22 {margin-top: 30px} +.left-search-work { + width: 200px; + float: left; + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); + border-radius: 4px; + box-sizing: border-box; + padding: 17px 10px 20px 10px; + margin-bottom: 50px; +} +.right-search-work { + width: 720px; + float: right; + padding-bottom: 50px; +} +.blocks-check-list-wrapp { + width: 100%; + float: left; + position: relative; + margin-top: 1px; +} +.blocks-check-list-wrapp:first-child {margin-top: 0} +.blocks-check-title { + width: 100%; + float: left; + font-size: 13px; + font-weight: 700; + margin-bottom: 5px; +} + +.search-work-form select { + border: 1px solid #dcdcdc; + height: 29px; + width: 180px; + float: left; + cursor: pointer; + color: #636363; + font-size: 13px; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: transparent; + margin-bottom: 16px; +} + +.search-work-form select option:first-child{border-top: none} +.select-after { + position: absolute; + width: 8px; + height:4px; + display: block; + margin-top: -0px; + right: 9px; + background: url("../images/arrow-select.png") no-repeat; + bottom: 28px; +} + +.blocks-check-list input[type="checkbox"], .blocks-check-list input[type="radio"] { + display: none; +} + +.search-work-form input[type="checkbox"] + label, .search-work-form input[type="radio"] + label { + color: #0072bc; + text-decoration: underline; + font-size: 13px; + cursor: pointer; + margin-left: 6px; +} +.search-work-form input[type="checkbox"] + label span { + width: 12px; + height: 12px; + background: url('../images/check.png') no-repeat; + float: left; + transition: 0.2s; + margin-top: 4px; +} +.search-work-form input[type="checkbox"]:checked + label span { + background: url('../images/check-active.png') no-repeat; +} +.search-work-form input[type="radio"] + label span { + width: 12px; + height: 12px; + background: url('../images/radio.png') no-repeat; + float: left; + transition: 0.2s; + margin-top: 4px; +} +.search-work-form input[type="radio"]:checked + label span { + background: url('../images/radio-active.png') no-repeat; +} + +.blocks-check-list { + margin-bottom: 3px; +} +.blocks-check-list:last-child { + margin-bottom: 14px; +} +.blocks-check-list-submit { + width: 100%; + float: left; + margin-top: 6px; +} +.blocks-check-list-submit input[type="submit"] { + width: 82px; + height: 29px; + border: 1px solid #0072bc; + background: #0072bc; + color: #fff; + text-align: center; + margin: 0 auto; + border-radius: 4px; + display: block; + font-size: 13px; + cursor: pointer; + transition: 0.2s; +} +.blocks-check-list-submit input[type="submit"]:hover { + background: #fff; + color: #0072bc; +} +.search-worker-title {font-size: 18px; margin-top: -3px} +.search-worker-title-two {font-size: 13px; font-weight: 700; margin-top: 4px} +.search-worker-title-two span {color: #fc9b28} +.search-worker-search-wr { + border-bottom: 1px solid #dcdcdc; + margin-top: 17px; + padding-bottom: 12px; +} +.search-worker-form {float: left} +.search-worker-form input { + width: 300px; + height: 29px; + color: #636363; + background: #fff; + border: 1px solid #dcdcdc; + box-sizing: border-box; + padding-left: 8px; + float: left; +} +.search-worker-form input[type="submit"] { + float: left; + width: 82px; + height: 29px; + border: 1px solid #0072bc; + background: #0072bc; + color: #fff; + text-align: center; + border-radius: 4px; + display: block; + font-size: 13px; + cursor: pointer; + transition: 0.2s; + padding-left: 0; + margin-left: 6px; +} +.search-worker-form input[type="submit"]:hover { + background: #fff; + color: #0072bc; +} + +.add-to-catalog-search-worker { + float: right; + width: 197px; + height: 29px; + border-bottom: 1px solid #3e9825; + background: #63bf49; + color: #fff; + line-height: 29px; + box-sizing: border-box; + position: relative; + border-radius: 4px; + padding-left: 34px; + font-size: 13px; + display: block; + text-decoration: none; + transition: 0.2s; +} +.add-to-catalog-search-worker:after { + position: absolute; + width: 18px; + height: 18px; + top: 50%; + margin-top: -9px; + left: 10px; + content: ''; + display: block; + background: url("../images/add_catalog.png") no-repeat; +} +.add-to-catalog-search-worker:hover { + border-bottom: 1px solid #63bf49; + background: #3e9825; +} +.search-worker-sort { + float: left; + font-size: 13px; + color: #636363; +} +.search-worker-sort-wr ul { + float: left; + margin-top: -2px; +} +.search-worker-sort-wr ul li {list-style: none} +.search-worker-sort-wr ul li a { + font-size: 13px; + color: #0072bc; + text-decoration: none; + position: relative; + border-bottom: 1px dashed #0072bc; +} +.activejob a:after { + position: absolute; + display: block; + content: ''; + width: 8px; + height: 4px; + right: -14px; + top: 6px; + background: url("../images/arrow-select.png") no-repeat; +} +.search-worker-sort-wr { + margin-top: 17px; +} +.search-worker-sort-wr .sidebar-droped-wr a { + text-decoration: none; + border-bottom: none; +} +.search-worker-sort-wr .sidebar-droped-wr ul li { + padding-bottom: 4px; + border-radius: 0; +} +.search-worker-sort-wr .sidebar-droped-wr ul li a {padding: 0 10px} +.search-worker-sort-wr .sidebar-droped-wr.act { + margin-left: -10px; +} +.search-worker-blocks { + width: 100%; + float: left; + padding-bottom: 20px; + border-bottom: 1px solid #dcdcdc; + margin-top: 30px; +} +.search-worker-blocks:first-child{margin-top: 20px} +.search-worker-blocks-foto-wr { + width: 318px; + + float: left; +} +.search-worker-blocks-text-wr { + width: 382px; + float: right; +} +.search-worker-blocks-ico-wr { + width: 48px; + float: left; +} +.search-worker-blocks-title-wr { + width: 322px; + float: right; +} +.search-worker-blocks-title-pro, .search-worker-blocks-title {float: left} +.search-worker-blocks-title-pro { + margin-right: 12px; + color: #fff; + width: 33px; + height: 16px; + background: #0e84cf; + border-radius: 4px; + font-size: 11px; + line-height: 17px; + text-align: center; +} +.search-worker-blocks-title { + font-size: 18px; margin-top: -4px; +} +.rating-new { + float: left; + margin-right: 12px; + margin-top: 5px; +} +.rating-new .vote-result, .rating-new .vote-success {display: none} +.rating-new .vote-hover {padding: 0!important;} +.search-worker-blocks-atr { + float: left; + margin-top: 5px; +} +.search-worker-blocks-buttons a { + float: right; + height: 28px; + color: #fff; + text-decoration: none; + font-size: 13px; + line-height: 29px; + border-radius: 4px; + margin-left: 4px; + position: relative; +} +.get-project, .get-project-new { + border-bottom: 1px solid #ef8505; + background: rgb(253,157,43); + background: -moz-linear-gradient(top, rgba(253,157,43,1) 0%, rgba(248,148,30,1) 100%); + background: -webkit-linear-gradient(top, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%); + background: linear-gradient(to bottom, rgba(253,157,43,1) 0%,rgba(248,148,30,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 ); + padding: 0 10px 0 34px; +} +.get-project:after { + width: 18px; + height: 18px; + content: ''; + display: block; + background: url("../images/search-warker/ico-1.png") no-repeat; + top: 50%; + margin-top: -9px; + left: 10px; + position: absolute; +} +.get-list, .get-list-new{ + border-bottom: 1px solid #0054a6; + background: rgb(20,138,214); + background: -moz-linear-gradient(top, rgba(20,138,214,1) 0%, rgba(0,114,188,1) 100%); + background: -webkit-linear-gradient(top, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%); + background: linear-gradient(to bottom, rgba(20,138,214,1) 0%,rgba(0,114,188,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 ); + padding: 0 10px 0 31px; +} +.get-list:after { + width: 15px; + height: 18px; + content: ''; + display: block; + background: url("../images/search-warker/ico-2.png") no-repeat; + top: 50%; + margin-top: -9px; + left: 10px; + position: absolute; +} +.get-project:hover, .get-project-new:hover { + background: rgb(248,148,30); + background: -moz-linear-gradient(top, rgba(248,148,30,1) 0%, rgba(253,157,43,1) 100%); + background: -webkit-linear-gradient(top, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%); + background: linear-gradient(to bottom, rgba(248,148,30,1) 0%,rgba(253,157,43,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); +} + +.get-list:hover, .get-list-new:hover { + background: rgb(0,114,188); + background: -moz-linear-gradient(top, rgba(0,114,188,1) 0%, rgba(20,138,214,1) 100%); + background: -webkit-linear-gradient(top, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%); + background: linear-gradient(to bottom, rgba(0,114,188,1) 0%,rgba(20,138,214,1) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 ); +} +.search-worker-blocks-status { + font-size: 13px; + height: 16px; + margin-top: 6px; +} +.search-worker-blocks-status img {float: left; margin-right: 6px} +.search-worker-blocks-status span { + height: 16px; + display: block; + line-height: 16px; + float: left; +} +.search-worker-blocks-visit { + font-size: 13px; +} +.search-worker-blocks-visit, .search-worker-blocks-geographic {font-size: 13px; line-height: 16px} +.search-worker-blocks-visit span, .search-worker-blocks-geographic span {font-weight: 700} +.search-worker-blocks-geographic {margin-top: 13px; } +.search-worker-blocks-visit {margin-top: 17px} +.search-worker-blocks-tags a{ + font-size: 13px; + color: #636363; + text-decoration: underline; +} +.search-worker-blocks-tags a:hover { + text-decoration: none; +} +.search-worker-blocks-jobs-portfolio { + float: left; + font-size: 13px; + color: #0072bc; + text-decoration: underline; + margin-top: 16px; + line-height: 16px; + +} +.search-worker-blocks .land-stars-pro, .search-worker-blocks .land-stars-new { + margin-right: 11px; +} +.search-worker-blocks-tags { + margin-top: 18px; + line-height: 17px; +} +.search-worker-blocks-buttons { + margin-top: 49px; +} + + + +.gallery-box-search { + width: 100%; + float: left; + height: auto; + margin-left: 0; + background: none; + margin-bottom: 0; + transition: none; +} +.big-img-search { + width: 100%; + float: left; + text-align: center; + display: block; + max-height: 228px; + height: 228px; +} +.big-img-search img{ + width: 318px; + height: 228px; +} +.small-img-search { + width: 100px; + height: 72px; + float: left; + margin-top: 20px; + margin-right: 9px; +} +.small-img-search img { + width: 100%; + height: 100%; +} +.small-img-search:last-of-type {margin-right: 0} +/***landing-order-project****/ +.section-box-23 { + height: 500px; + background: url("../images/landing-order-project/bg-23.jpg") 50% no-repeat; +} +.section-box-23 .landing-reg-button a { + border-bottom: 3px solid #ef8505; + width: 248px; + background: #fd9d2b; + background: -moz-linear-gradient(top, #fd9d2b 0%, #f8941e 100%); + background: -webkit-linear-gradient(top, #fd9d2b 0%,#f8941e 100%); + background: linear-gradient(to bottom, #fd9d2b 0%,#f8941e 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 ); +} +.section-box-23 .landing-reg-button a:hover { + border-bottom: 3px solid #fd9d2b; + width: 248px; + background: #f8941e; + background: -moz-linear-gradient(top, #f8941e 0%, #fd9d2b 100%); + background: -webkit-linear-gradient(top, #f8941e 0%,#fd9d2b 100%); + background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); + +} +.workplace-wr { + width: 100%; + float: left; + margin-top: -1px; +} +.workplace-title { + font-size: 18px; +} +.workplace-experience-post { + width: 100%; + float: left; + margin-top: 17px; +} +.workplace-experience-post:first-child{margin-top: 0} +.workplace-experience-post-title, .workplace-experience-post-date, .workplace-experience-post-vacancy {font-size: 13px; line-height: 18px} +.workplace-experience-post-title {font-weight: 700;} +.workplace-experience-wr {margin-top: 16px} +/***portfolio-project***/ +.portfolio-project-tags { + margin-top: 9px; + padding-right: 90px; + box-sizing: border-box; + margin-left: -16px; +} +.portfolio-project-tags a { + color: #636363; + font-size: 13px; + text-decoration: underline; + margin-left: 16px; + display: block; + float: left; + line-height: 20px; + transition: 0.3s; +} +.portfolio-project-tags a:hover{opacity: 0.8} +.portfolio-project-tags a.active-tag { + color: #0072bc; + text-decoration: none; + cursor: default; +} +.portfolio-project-tags a.active-tag:hover{opacity: 1} +.portfolio-project-blocks-wrapper { + width: 750px; + float: left; + margin: 6px 0 0 -20px; +} +.portfolio-project-blocks-wr { + width: 230px; + height: 270px; + border: 1px solid #dfdfdf;float: left; + margin: 20px 0 0 18px; + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); + border-radius: 6px; +} +.portfolio-project-blocks-img-title { + width: 100%; + height: 201px; + background: #f1f1f1; + float: left; + box-sizing: border-box; + padding: 10px 10px 0 10px; +} +.portfolio-project-blocks-img { + width: 210px; + height: 150px; + text-align: center; + display: table-cell; + vertical-align: middle; + transition: 0.3s; +} +.portfolio-project-blocks-img img { + vertical-align: middle; + max-width: 210px; + max-height: 150px; +} +.portfolio-project-blocks-title-wr { + height: 41px; + width: 100%; + box-sizing: border-box; + padding-left: 11px; +} +.portfolio-project-blocks-title { + width: 210px; + height: 41px; + display: table-cell; + vertical-align: middle; + line-height: 16px; +} +.portfolio-project-blocks-title a { + vertical-align: middle; + text-decoration: none; + color: inherit; +} +.portfolio-project-blocks-wr:hover .portfolio-project-blocks-title a{text-decoration: underline} +.portfolio-project-blocks-wr:hover .portfolio-project-blocks-img{opacity: 0.85; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";} +.portfolio-project-views-wr { + border-bottom: 1px solid #dbdbdb; + margin: 10px 10px 0 10px; + width: 210px; + float: left; + box-sizing: border-box; + padding: 0 0 8px 10px; + overflow: hidden; +} +.ico-views-bl { + height: 18px; + float: left; + box-sizing: border-box; + padding-right: 4px; +} +.portfolio-project-views { + min-width: 64px; +} +.portfolio-project-rati { + min-width: 62px; +} +.portfolio-project-views-img-wr { + float: left; + height: 18px; +} +.portfolio-project-views-img { + height: 18px; + display: table-cell; + vertical-align: middle; +} +.portfolio-project-views-img img {vertical-align: middle} +.portfolio-project-views-txt { + height: 100%; + line-height: 21px; + float: left; + margin-left: 6px; + font-size: 13px; +} +.portfolio-project-blocks-tags { + width: 100%; + float: left; + box-sizing: border-box; + padding-left: 21px; + line-height: 30px; +} +.portfolio-project-blocks-tags a { + font-size: 13px; + color: #636363; +} +.portfolio-project-blocks-tags a:hover{text-decoration: none} +/***proektant-profile***/ +.proektant-profile-content { + width: 480px; + float: left; +} +.proektant-profile-sidebar-right { + width: 220px; + float: right; +} + +.proektant-profile-hidden-txt { + width: 100%; + float: left; + overflow: hidden; +} +.proektant-profile-hidden-txt p { + font-size: 13px; + line-height: 18px; +} +.profile-see-all {display: none; float: left; font-size: 13px; color: #0072bc; text-decoration: none; border-bottom: 1px dashed #0072bc; position: relative;} +.profile-see-all:before { + background: url("../images/ico-see-all-dawn.png") no-repeat; + width: 8px; + height: 4px; + display: block; + content: ''; + position: absolute; + top: 50%; + margin-top: -2px; + right: -14px; +} +.profile-see-all.profile-txt-big:before { + transform: rotate(180deg); +} +.proektant-profile-courses-wr { + border-bottom: 1px solid #dcdcdc; + padding-bottom: 15px; +} +.proektant-profile-courses { + width: 100%;float: left; + margin-top: 18px; +} +.proektant-profile-courses-title, .proektant-profile-courses-year, .proektant-profile-courses-content {font-size: 13px; line-height: 18px; width: 100%; float: left} +.proektant-profile-courses-title { + font-weight: 700; +} +.proektant-profile-stat-table {margin-top: 9px} +.proektant-profile-stat-table table td { + height: 33px; +} +.proektant-profile-stat-table table tr:first-child td{ + height: 35px; + background: #f1f1f1; + border-top: none; + font-weight: 700; +} +.proektant-profile-stat-table table td{ + border-left: 1px solid #dfdfdf; + font-size: 13px; +} +.proektant-profile-stat-table table tr td{ + border-top: 1px solid #f1f1f1; + text-align: center; +} +.proektant-profile-stat-table table tr td:first-child { + text-align: left; + padding-left: 11px; +} +.proektant-profile-stat-title { + font-size: 18px; + margin-top: 2px; +} +.proektant-profile-stat-title-h2 { + font-size: 13px; + font-weight: 700; + margin-top: 4px; +} +.proektant-profile-statistic-wr { + margin-top: 26px; +} +.proektant-profile-tb-blocks { + width: 100%; + float: left; + margin-top: 23px; +} +.proektant-profile-tb-blocks:first-child{margin-top: 0} +.proektant-profile-tb-blocks:first-child .proektant-profile-stat-title{margin-top: 0} +.proektant-profile-tb-blocks:first-child .proektant-profile-stat-table{margin-top: 12px} +table.last-tabl-profile tr:first-child td { + height: 41px; +} +img.flag-ico-profile {margin-left: -3px} +.profile-phone-site>div {height: 18px; display: table-cell; vertical-align: middle; margin-top: 10px} +.profile-phone-site>div:first-child{margin-top: 0} +.profile-phone-site img {vertical-align: middle; margin-right: 4px} +.profile-phone span {font-size: 15px; color: #000; vertical-align: middle} +.profile-site a {color: #636363; text-decoration: none; vertical-align: middle} +.profile-site a:hover{text-decoration: underline} +.profile-phone-site{ + padding-bottom: 19px; + border-bottom: 1px solid #dbdbdb; +} +.profile-features ul{width: 100%; float: left; margin-top: 26px; border-bottom: 1px solid #dbdbdb; padding-bottom: 13px} +.profile-features li{ + list-style: none; + font-size: 13px; + line-height: 16px; + margin-top: 17px; +} +.profile-features li:first-child{margin-top: 0} +.profile-features li span {font-weight: 700} +.features-tags .features-tags-left{color: #0072bc; border-bottom: 1px dashed #0072bc; text-decoration: none; font-size: 13px; position: relative} +.features-tags .features-tags-left:after{ + position: absolute; + display: block; + content: ''; + width: 8px; + height: 4px; + right: -14px; + top: 6px; + background: url("../images/arrow-select.png") no-repeat; +} +.features-tags span:first-child{margin-left: 0} +.features-tags span.features-tags-display { + display: none; +} +.features-tags {width: 100%; float: left; line-height: 18px; margin-bottom: 17px} +.features-tags a { + color: #636363; + font-size: 13px; +} +.profile-comments {margin-top: 26px} +.profile-comments .company-performer-comm-title{text-align: left} +.profile-comments .company-performer-comments-wr{margin-top: 9px} +.profile-comments .company-performer-comments-bl{margin-left: 0; margin-top: 21px} +.profile-comments .company-performer-comments-bl:first-child{margin-top: 0} +.profile-comments .company-performer-comm-see-all-butt {margin-top: 27px} +/***proektant_comments***/ +ul.proektant-comments {margin-top: 15px} +.proektant-comments li { + width: 100%; + float: left; + list-style: none; + border-bottom: 1px solid #dcdcdc; + padding-bottom: 17px; + margin-top: 27px; +} +.proektant-comments li:first-child{margin-top: 0} +.proektant-comments li>div{float: left; width: 100%; font-size: 13px} +.comments-name {font-weight: 700} +.comments-project-link a{ + color: #0073bc; + text-decoration: underline; + +} +.comments-status span { + color: #0072bc; + border-bottom: 1px dashed #0072bc; +} +.comments-status, .comments-date, .proektant-comments .rating {margin-top: 3px} +.comments-content {line-height: 18px; margin-top: 11px} +.comments-project-link {margin-top: 19px} +/***search-company***/ +.search-company-block { + width: 100%; + float: left; + padding-bottom: 20px; + border-bottom: 1px solid #dcdcdc; + margin-top: 18px; +} +.search-company-block:first-child{margin-top: 0} +.search-company-block:first-child{margin-top: 0} +.search-company-block-left { + width: 400px; + float: left; +} +.search-company-block-right { + width: 320px; + float: right; +} +.search-company-block-left .search-worker-blocks-title-wr {float: left; width: 100% !important;} +.search-company-block-left .land-stars-pro, .land-stars-new {margin-right: 11px} +.search-company-worker {font-size: 18px; margin-top: 6px; display: block} +.search-company-geography, .search-company-visit {font-size: 13px; line-height: 16px} +.search-company-geography span, .search-company-visit span { + font-weight: 700; +} +.search-company-geography {margin-top: 17px} +.search-company-visit {margin-top: 14px} +.search-company-blocks-wr { + margin-top: 18px; +} +.search-company-blocks-wr .rating-new, .search-company-blocks-wr .search-worker-blocks-atr {margin-top: 6px} +.search-company-blocks-wr .features-tags { + margin-top: 15px; + margin-bottom: 0; +} +.search-company-blocks-wr .search-worker-blocks-buttons { + margin-top: 38px; + box-sizing: border-box; + padding-left: 35px; +} +.search-company-blocks-wr .search-worker-blocks-buttons a {float: left} +.search-company-blocks-wr .search-worker-blocks-foto-wr {float: right} +.search-company-blocks-wr .gallery-box:hover{opacity: 1} +.logo-img-search-company-wrapper, .logo-img-search-company {height: 228px;width: 100%;} +.logo-img-search-company-wrapper { + float: left; + text-align: center; + display: block; + max-height: 228px; +} +.logo-img-search-company-wrapper table{ + height: 228px +} +.logo-img-search-company-wrapper table img {vertical-align: middle; max-width: 318px; max-height: 228px; text-align: center} +/***proektant-client***/ +.proektant-client-txt, .proektant-client-txt p{ + width: 100%; + float: left; + font-size: 13px; + line-height: 18px; +} +.proektant-client-txt p { + margin-top: 18px; +} +.proektant-client-txt p:first-child{margin-top: 0} +.proektant-client-wr .features-tags{ + margin-bottom: 0; +} +.proektant-client-address-title, .proektant-client-address-coordinates { + width: 100%; + float: left; +} +.proektant-client-address-title {font-size: 18px;} +.proektant-client-address-coordinates {font-weight: 700; margin-top: 10px} +.proektant-client-address-map { + width: 100%; + height: 280px; + float: left; + margin-top: 22px; +} +.proektant-client-address-map iframe, .video-full iframe { + width: 100% !important; + height: 100% !important; +} +.proektant-client-address-wr {margin-top: 31px} +/***vacancy-general***/ +.vacancy-general-sidebar-wr .left-search-work{ + margin-top: 2px; +} +.main-menu.main-menu-buttons {width: 440px;} +.main-menu-icons-wr { + width: 104px; + height: 41px; + float: right; + margin-right: 20px; + position: relative; +} +.main-menu-icons-wr a{ + height: 24px; + float: left; + margin-left: 20px; + margin-top: 9px; +} +.main-menu-icons-wr a:first-child{margin-left: 0} +.main-menu-icons-home { + width: 24px; + background:url("../images/menu_icons.png") no-repeat; +} +.main-menu-icons-edit { + width: 20px; + background:url("../images/menu_icons.png") -24px 0 no-repeat; +} +.main-menu-icons-copy { + width: 20px; + background:url("../images/menu_icons.png") -44px 0 no-repeat; +} +/***modal***/ +#modal_form_favorite, #modal_form_offer, #modal_form_question { + width: 460px; + height: 263px; + position: absolute; + top: 30%; + left: 50%; + margin-left: -267px; + display: none; + opacity: 0; + z-index: 9992; +} +#modal_form_question {height: 533px} +#modal_form_favorite .res_form_line {bottom: 85px} +.page-favorite { + height: 85px; + width: 100%; + position: absolute; + bottom: 0; + text-align: center; +} +.page-favorite a { + color: #0c81cc; + font-size: 13px; + text-decoration: underline; + line-height: 85px; +} +.page-favorite a:hover{text-decoration: none} +.favorite-user-wr { + margin-top: 26px; + float: left; +} +.favorite-user-wr img {max-width: 48px;max-height: 48px; margin-left: 156px; float: left; margin-right: 13px} +.favorite-user-profile {float: left; width: 240px; overflow: hidden; font-size: 13px; margin-top: 17px} +.favorite-user-profile-add {float: left; width: 240px; overflow: hidden; font-size: 13px } +.favorite-user-profile-add img{float: left; width: 16px; height: 16px; margin-right: 10px; margin-left: 0} +.favorite-user-profile-add span{line-height: 18px} + +form.offer-project { + height: 531px; +} +#off_submit { + bottom: 25px; + width: 180px; + left: 50%; + margin: 0 0 0 -90px; + position: absolute; +} +/***cabinet-message***/ +.cabinet-message-blocks-wr {margin-top: 3px} +.cabinet-message-blocks { + width: 100%; + height: 180px; + box-sizing: border-box; + border: 1px solid #b7b7b7; + float: left; + margin-top: 30px; +} +.cabinet-message-blocks:first-child {margin-top: 0} +.ico-sender-wrapper { + width: 160px; + height: 160px; + float: left; + margin: 9px 0 0 9px; +} +.ico-sender { + width: 160px; + height: 160px; + display: table-cell; + vertical-align: middle; + text-align: center; +} +.ico-sender img { + max-width: 100%;max-height: 100%; + vertical-align: middle; +} +.cabinet-message-text-wrapper { + width: 540px; + height: 100%; + box-sizing: border-box; + margin-left: 30px; + float: left; +} +.cabinet-message-title { + font-size: 18px; + color: #b7b7b7; + margin-top: 56px; + line-height: 18px; +} +.cabinet-message-message { + height: 32px; + margin-top: 21px; +} +.cabinet-message-message-ico { + width: 44px; + height: 32px; + float: left; + margin-right: 26px; + background: url("../images/cabinet-message/ico-1.png") no-repeat; +} +.cabinet-message-message a { + line-height: 32px; + color: #b7b7b7; + text-decoration: none; +} +.cabinet-message-status { + font-size: 13px; + color: #b7b7b7; + margin-left: 70px; + margin-top: 1px; +} +.cabinet-message-write { + width: 179px; + height: 178px; + display: block; + float: right; + background: #b7b7b7; + text-align: center; + text-decoration: none; +} + +.cabinet-message-write-ico{ + width: 42px; + height: 40px; + margin-top: 65px; + margin-left: 72px; + background: url("../images/cabinet-message/ico-3.png") no-repeat; +} +.cabinet-message-write-txt {color: #fff; text-decoration: underline;margin-top: 11px} +.cabinet-message-write:hover .cabinet-message-write-txt {text-decoration: none} +.cabinet-message-blocks.new-message-cabinet-blocks {border: 1px solid #0072bc} +.new-message-cabinet-blocks .cabinet-message-title {color: #0072bc} +.new-message-cabinet-blocks .cabinet-message-message a{color: #0072bc; font-weight: 700} +.new-message-cabinet-blocks .cabinet-message-message-ico{background: url("../images/cabinet-message/ico-1.png") -44px 0 no-repeat} +.new-message-cabinet-blocks .cabinet-message-write{background: #0072bc} +/***search-performers***/ +.search-worker-title span{color: #fc9b28; font-weight: 700;margin-top: 28px;display: block;} +.search-performer-button-bookmark { + width: 100%; + height: 54px; + position: relative; + margin-top: -2px; +} +.search-performer-button-bookmark a { + position: absolute; + right: -10px; + top: 0; + width: 214px; + height: 53px; + border-bottom: 1px solid #0054a6; + line-height: 54px; + font-size: 18px; + color: #fff; + background: #148ad6; + background: -moz-linear-gradient(top, #148ad6 0%, #0072bc 100%); + background: -webkit-linear-gradient(top, #148ad6 0%,#0072bc 100%); + background: linear-gradient(to bottom, #148ad6 0%,#0072bc 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 ); + transition: 0.2s; + text-decoration: none; + text-align: center; +} +.search-performer-button-bookmark a:hover { + background: #0072bc; + background: -moz-linear-gradient(top, #0072bc 0%, #148ad6 100%); + background: -webkit-linear-gradient(top, #0072bc 0%,#148ad6 100%); + background: linear-gradient(to bottom, #0072bc 0%,#148ad6 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 ); +} +.search-performer-button-bookmark a:before { + display: block; + content: ''; + position: absolute; + left: 16px; + border: 27px solid transparent; + border-top: 7px solid #fff; + transform: rotate(270deg); + height: 52px; + top: -16px; +} +.search-performer-button-performers, .search-performer-button-customers, .search-performer-button-project { + width: 170px; + height: 43px; + line-height: 45px; + text-align: center; + color: #fff; + text-decoration: none; + font-size: 16px; + margin-top: 15px; + display: block; + transition: 0.2s; + border-radius: 4px; +} +.search-performer-button-performers { + margin-top: 30px; + border-bottom: 2px solid #ef8505; + background: #fd9d2b; + background: -moz-linear-gradient(top, #fd9d2b 0%, #f8941e 100%); + background: -webkit-linear-gradient(top, #fd9d2b 0%,#f8941e 100%); + background: linear-gradient(to bottom, #fd9d2b 0%,#f8941e 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fd9d2b', endColorstr='#f8941e',GradientType=0 ); +} +.search-performer-button-performers:hover { + background: #f8941e; + background: -moz-linear-gradient(top, #f8941e 0%, #fd9d2b 100%); + background: -webkit-linear-gradient(top, #f8941e 0%,#fd9d2b 100%); + background: linear-gradient(to bottom, #f8941e 0%,#fd9d2b 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8941e', endColorstr='#fd9d2b',GradientType=0 ); +} +.search-performer-button-customers { + border-bottom: 2px solid #3e9825; + background: #6bcb50; + background: -moz-linear-gradient(top, #6bcb50 0%, #60bb46 100%); + background: -webkit-linear-gradient(top, #6bcb50 0%,#60bb46 100%); + background: linear-gradient(to bottom, #6bcb50 0%,#60bb46 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6bcb50', endColorstr='#60bb46',GradientType=0 ); + +} +.search-performer-button-customers:hover { + background: #60bb46; + background: -moz-linear-gradient(top, #60bb46 0%, #6bcb50 100%); + background: -webkit-linear-gradient(top, #60bb46 0%,#6bcb50 100%); + background: linear-gradient(to bottom, #60bb46 0%,#6bcb50 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#60bb46', endColorstr='#6bcb50',GradientType=0 ); + +} +.search-performer-button-project{ + border-bottom: 2px solid #0054a6; + background: #148ad6; + background: -moz-linear-gradient(top, #148ad6 0%, #0072bc 100%); + background: -webkit-linear-gradient(top, #148ad6 0%,#0072bc 100%); + background: linear-gradient(to bottom, #148ad6 0%,#0072bc 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#148ad6', endColorstr='#0072bc',GradientType=0 ); +} +.search-performer-button-project:hover{ + background: #0072bc; + background: -moz-linear-gradient(top, #0072bc 0%, #148ad6 100%); + background: -webkit-linear-gradient(top, #0072bc 0%,#148ad6 100%); + background: linear-gradient(to bottom, #0072bc 0%,#148ad6 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#148ad6',GradientType=0 ); +} +/***message-read***/ +.cabinet-message-read-autor-wr { + margin-top: 3px; + height: 200px; + box-shadow: 0px 0px 5px 0px rgba(149, 149, 149, 0.75); +} +.cabinet-message-read-foto-wr { + width: 180px; + height: 180px; + float: left; + margin:10px 0 0 10px; +} +.cabinet-message-read-foto { + width: 180px; + height: 180px; + text-align: center; + display: table-cell; + vertical-align: middle; +} +.cabinet-message-read-foto img { + max-width: 100%; + max-height: 100%; + vertical-align: middle; +} +.cab-mes-read-cont { + width: 214px; + float: left; + overflow: hidden; + margin-left: 30px; +} +.cab-mes-read-cont>div{width: 100%} +.cab-mes-read-cont-title {color: #0072bc; font-size: 24px;margin-top: 13px; text-decoration: none} +.cab-mes-read-cont-com {color: #0072bc;margin-top: 10px;text-decoration: none} +.cab-mes-read-cont-stars {height: 16px;margin-top: 14px} +.cab-mes-read-cont-soc a {margin-right: 1px} +.cab-mes-read-cont-soc {width: 135px!important; margin-top: 11px} +.cabinet-message-read-autor-wr .performance-vacancy-add-favorite { + height: 100%; + float: left; + margin-left: 2px; +} +.cab-mes-read-last-visit { + width: 390px; + float: right; + height: 100%; + box-sizing: border-box; + padding-top: 42px; +} +.cab-mes-read-min-bl { + width: 170px; + float: left; + margin-top: 15px; +} +.cab-mes-read-min-bl .profile-phone-site {padding-bottom: 0; border-bottom: 0} +.cab-mes-read-min-bl .profile-site img {margin-right: 7px} +.cab-mes-read-min-bl p {padding-left: 18px;box-sizing: border-box; font-size: 13px} +.cabinet-message-read-wr {margin-top: 30px} +/***search-profile***/ +.search-profile-blocks { + background: #fcfcfc; + margin-top: 30px; + box-sizing: border-box; + border-radius: 4px; + padding: 10px 0 11px 15px; + float: left; +} +.search-profile-blocks:first-child{margin-top: 0} +.search-profile-blocks-wr {margin-top: 46px} +.srch-prof-title{font-size: 21px; text-decoration: none; color: inherit} +.search-profile-blocks:hover .srch-prof-title{text-decoration: underline;} +.srch-prof-budget{font-size: 18px; margin-top: 11px} +.srch-prof-budget span {width: 10px;height: 10px;display: block; background: #0072bc; float: left; margin-top: 6px; margin-right: 15px} +.srch-prof-contract-wr {margin-top: 28px} +.srch-prof-contract-button { + text-transform: uppercase; + height: 23px; + line-height: 23px; + color: #fff; + cursor: default; + padding: 0 13px; + font-size: 12px; + background: #62b8ef; + float: left; + margin:0 12px 0 -15px; +} +.srch-prof-contract-txt { + line-height: 23px; +} +.srch-prof-contract-txt span {font-weight: 700} +.srch-prof-contract-txt a {text-decoration: underline; color: inherit} +.srch-prof-text {margin-top: 37px} +.srch-prof-text p{ + font-size: 13px; + width: 100%; + line-height: 16px; + margin-top: 16px; +} +.srch-prof-text p:first-child{margin-top: 0} +.srch-prof-params {float: left; height: 18px; line-height: 18px; color: #b7b7b7} +.srch-prof-params-city {margin-right:63px} +.srch-prof-params-city img {margin: 3px 10px 0 0} +.srch-prof-params-wr {margin-top: 22px; height: 18px} +.srch-prof-params-clock {margin-right: 62px} +.srch-prof-params img {margin:3px 10px 0 0} +.navi-buttons-yet-wr {position: relative; height: 50px;} +.navi-buttons-yet-wr .pagination {margin-top: 10px} +.navi-buttons-yet { + display: block; + float: right; + margin-right: 29px; + line-height: 50px; + color: #333; + font-size: 24px; + text-decoration: none; + padding: 0 39px; + background: #f1f1f1; + height: 48px; + border-radius: 25px; + border: 1px solid #f1f1f1; + transition: 0.2s; +} +.navi-buttons-yet:hover{background: #fff; border: 1px solid #0072bc} +.reset-filter {text-align: center; text-decoration: none; color: #a1a1a1; font-size: 13px; width: 100%; float: left; display: block} +.form-price-wr {width: 100%; float: left; margin-bottom: 5px} +.check-valuta {width: 40px; height: 20px; float: right} +.check-valuta select{ + width: 100%; + height: 20px; +} +.check-valuta .select-after {right: 4px; bottom: 7px} +.form-price-wr input{ + width: 53px; + height: 18px; + border: 1px solid #dcdcdc; + float: left; + margin-left: 10px; + text-align: center; +} +.form-price-wr input:first-child{margin-left: 0} + +/*maps*/ +.map-settings-opacity,.map-settings-wrapp +{ + width:220px; + position:absolute; + left:0; + top:0; + bottom:0; + box-sizing:border-box; + padding-top:62px; + z-index:998 +} + +.map-settings-opacity +{ + background:#000; + opacity:.85; + -ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=85) +} +.min_markers-wrapp { + width: 160px; + height: 489px; + position: absolute; + top: 50%; + margin-top: -214px; + left: 30px; +} + +ul.min_markers,ul.min_markers_two +{ + width:160px; + float:left; + padding-bottom:26px; + border-bottom:1px solid #636363 +} + +ul.min_markers_two +{ + border-bottom:none; + margin-top:26px +} + +.min_markers li:first-child,.min_markers_two li:first-child +{ + margin-top:0 +} + +.min_markers li,.min_markers_two li +{ + cursor:pointer; + list-style:none; + height:26px; + margin-top:10px; + width:160px +} + +.min_markers li.active_m,.min_markers_two li.active_m +{ + border:1px solid #636363; + border-radius:24px; + height:24px; + width:158px +} + +.min_markers li.active_m span,.min_markers_two li.active_m span +{ + margin-left:9px; + padding-top:3px +} + +.min_markers li.active_m p,.min_markers_two li.active_m p +{ + line-height:24px +} + +.min_markers span,.min_markers_two span +{ + float:left; + padding-top:4px; + width:24px; + display:block; + height:24px; + box-sizing:border-box; + margin-left:10px +} + +.min_markers p,.min_markers_two p +{ + color:#ebebeb; + font-size:12px; + text-transform:uppercase; + float:left; + line-height:26px +} + +.min_markers:last-child .min_markers_two:last-child +{ + padding-bottom:0; + border-bottom:none; + margin-top:26px +} + +.min_markers li.last_m .min_markers_two li.last_m +{ + height:50px +} + +.min_markers li.last_m p,.min_markers_two li.last_m p +{ + float:none; + line-height:18px; + padding-top:7px +} + +.min_markers li.last_m span,.min_markers_two li.last_m span +{ + margin-top:3px +} + +.min_markers-wrapp +{ + width:160px; + height:489px; + position:absolute; + top:50%; + margin-top:-214px; + left:30px +} + +.navi-circle-offset +{ + position:absolute; + top:0; + left:0; + display:block; + float:left +} + +.slider_map-wr +{ + height:150px; + width:100%; + position:absolute; + left:220px; + bottom:0; + overflow:hidden +} + +.slider_map_overlay +{ + opacity:.4; + height:100%; + width:100%; + background:#000; + position:absolute; + left:0; + bottom:0 +} + +.slider_map +{ + height:150px; + width:100%; + position:absolute; + left:0; + bottom:0; + overflow:hidden +} + +.slider_map .scroll-img +{ + height:110px; + width:100%; + overflow:hidden; + position:absolute; + top:50%; + margin-top:-55px; + left:0; + z-index:10 +} + +.slider_map #demo5.scroll-img ul +{ + width:300000px; + height:100% +} + +.slider_map .scroll-img ul li +{ + width:300px; + height:110px; + display:inline-block; + margin:0 10px 0 0; + background:#fff; + border-radius:4px +} + +.slider_map #demo5-backward +{ + width:15px; + height:24px; + display:block; + background:url(../images/slider-arrow-prev.png); + cursor:pointer; + position:absolute; + top:50%; + margin-top:-12px; + left:25px; + z-index:333 +} + +.slider_map #demo5-forward +{ + background:url(../images/slider-arrow-next.png); + width:15px; + height:24px; + display:block; + cursor:pointer; + position:absolute; + top:50%; + margin-top:-12px; + right:25px; + z-index:333 +} + +.slider-marker-bl +{ + width:100%; + height:100% +} + +.slider-marker-bl-img +{ + width:110px; + height:90px; + margin:10px 10px 0; + float:left +} + +.slider-marker-bl-text +{ + width:155px; + height:90px; + margin-top:10px; + float:left +} + +.slider_a +{ + text-decoration:none +} + +.slider-marker-bl-text-title +{ + width:100%; + font-weight: 700; + color:#333; + font-size:13px; + height:15px +} + +.slider-marker-bl-text-p +{ + height:75px; + width:100%; + color:#333; + font-size:11px; + margin-top:8px +} +/***proektant-cabinet***/ +.left-proektant-cabinet { + width: 100%; + float: left; +} +.left-left-proektant-cabinet { + width: 700px; + box-sizing: border-box; + padding-right: 19px; + float: left; +} +.right-proektant-cabinet { + width: 216px; + float: right; + box-sizing: border-box; + padding-right: 9px; + +} +.left-proektant-cabinet .srch-prof-text {margin-top: 11px} +.left-proektant-cabinet .srch-prof-title {color: #0072bc} +.left-proektant-cabinet .srch-prof-budget {margin-left: -10px} +.left-proektant-cabinet .srch-prof-budget span {margin-right: 9px} +.left-proektant-cabinet .srch-prof-params-wr {margin-top: 13px} +.left-proektant-cabinet .search-profile-blocks {margin-top: 26px; width: 100%; padding-bottom: 19px} +.left-proektant-cabinet .search-profile-blocks:first-child {margin-top: 0} +.left-proektant-cabinet-title { + font-size: 21px; + font-weight: 700; + margin-top: -4px; +} +.cabinet-list {margin:15px 0 12px 0} +.cabinet-list li { + list-style: none; + float: left; + height: 18px; + line-height: 18px; + font-size: 13px; + margin-left: 19px; +} +.cabinet-list li:first-child{margin-left: 0} +.cabinet-list li img {margin-top: 4px; float: left; margin-right: 10px} +.cabinet-list li span{ border-bottom: 1px solid #333333;} +.left-proektant-cabinet .navi-buttons-yet-wr {margin-bottom: 50px} +.right-proektant-cabinet-candidate, .right-proektant-cabinet-message, .right-proektant-cabinet-message-new { + float: right; +} +.right-proektant-cabinet-candidate { + margin-top: 3px; +} +.right-proektant-cabinet-candidate img{ + float: left; + margin-top: 10px; + margin-right: 6px; +} +.right-proektant-cabinet-candidate span { + font-size: 11px; + color: #0072bc; + border-bottom: 1px solid #0072bc; + padding-bottom: 2px; +} +.right-proektant-cabinet-message { + font-size: 11px; + color: #959595; + margin-top: 8px; +} +.right-proektant-cabinet-message-new {margin-top: 2px} +.right-proektant-cabinet-message-new img { + margin-top: 7px; + float: left; + margin-right: 9px; +} +.right-proektant-cabinet-message-new a{ + font-size: 11px; + color: #0072bc; +} +/***js_scroll***/ +.jspContainer{overflow:hidden;position:relative}.jspPane{position:absolute}.jspVerticalBar{position:absolute;top:0;right:0;width:16px;height:100%;background:red}.jspHorizontalBar{position:absolute;bottom:0;left:0;width:100%;height:16px;background:red}.jspCap{display:none}.jspHorizontalBar .jspCap{float:left}.jspTrack{background:#dde;position:relative}.jspDrag{background:#bbd;position:relative;top:0;left:0;cursor:pointer}.jspHorizontalBar .jspTrack,.jspHorizontalBar .jspDrag{float:left;height:100%}.jspArrow{background:#50506d;text-indent:-20000px;display:block;cursor:pointer;padding:0;margin:0}.jspArrow.jspDisabled{cursor:default;background:#80808d}.jspVerticalBar .jspArrow{height:16px}.jspHorizontalBar .jspArrow{width:16px;float:left;height:100%}.jspVerticalBar .jspArrow:focus{outline:none}.jspCorner{background:#eeeef4;float:left;height:100%}* html .jspCorner{margin:0 -3px 0 0} +/*** message-read***/ +.comments_block{width:938px;height:498px;background-color:#fcfcfc;border:1px solid #b7b7b7;border-right:none;margin-bottom:57px;color:#333;font-family:Roboto;font-size:13px;position:relative;overflow:hidden;outline:none}.comment_type{width:940px}.comment_type .pole{width:660px;margin:0 auto;position:relative}.comment_type .mes_title{font-size:18px;color:#333;margin:18px 0}.message_text{width:638px;height:78px;resize:none;border:1px solid #c2c2c2;margin:0 auto;margin-bottom:26px;margin-top:18px;padding:10px;font-family:Roboto}.send_mess_but{outline:none;border:none;cursor:pointer;font-size:12px!important;padding-top:2px;width:170px;height:43px;text-align:center;text-transform:uppercase;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc');-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr = '#148ad6',endColorstr = '#0072bc')";background-image:-moz-linear-gradient(top,#148ad6,#0072bc);background-image:-ms-linear-gradient(top,#148ad6,#0072bc);background-image:-o-linear-gradient(top,#148ad6,#0072bc);background-image:-webkit-gradient(linear,center top,center bottom,from(#148ad6),to(#0072bc));background-image:-webkit-linear-gradient(top,#148ad6,#0072bc);background-image:linear-gradient(top,#148ad6,#0072bc);color:#fff;border-bottom:2px solid #0054a6;border-radius:4px;transition:.1s;top:170px;line-height:3.5}.send_mess_but:hover{opacity:.9}.send_mess_but:active{line-height:3.7}.pick_file{position:absolute;top:170px;right:0;width:130px}.pick_file .link:after{content:'';background:url(../images/skrpk.png) left center no-repeat;position:absolute;width:19px;height:21px;left:-28px;top:0}.pick_file .link{text-transform:uppercase;color:#0276c0;font-size:13px;cursor:pointer;text-decoration:none;border-bottom:1px solid #70b2db;position:relative}.pick_file .capt{color:#c2c2c2;font-size:11px;line-height:16px;margin-top:3px}.comment_text{position:relative;padding:12px 13px;width:602px;border:1px solid #c2c2c2;min-height:74px;left:10px;line-height:1.3;background-color:#fff}.comment.left .comment_text{float:left}.comment.right .comment_text{float:right}.comment.left .comment_text:before{content:'';background:url(../images/mes_bord_left.png);position:absolute;width:11px;height:11px;top:-1px;left:-11px}.comment.right .comment_text:before{content:'';background:url(../images/mes_bord_right.png);position:absolute;width:11px;height:11px;top:-1px;right:-11px}.comment.left .author_pic{float:left;margin:0 10px}.comment.right .author_pic{float:right;margin:0 25px 0 30px}.comment_time{color:#c6c6c6;font-family:Roboto;font-size:13px;font-weight:600;line-height:32px;position:absolute}.comment.left .comment_time{top:17px;right:-64px}.comment.right .comment_time{top:18px;left:-64px}.comment{position:relative;margin:30px 21px 30px 1px}.comment .offer_link a{color:#0173bd;position:relative}.comment .offer_link a:before{content:'';position:absolute;background:url(../images/skrpk_sm.png) left center no-repeat;width:19px;height:21px;left:-26px;top:-3px}.comment.right .offer_link{float:right;margin-right:94px;margin-top:12px;margin-bottom:-17px}.comment.left .offer_link{left:104px;bottom:-27px}.comment_block .content{overflow:auto;width:938px;height:498px}.fileform{background-color:#FFF;border:1px solid #CCC;border-radius:2px;cursor:pointer;height:26px;overflow:hidden;padding:2px;position:relative;text-align:left;vertical-align:middle;width:230px}.comment_type form{width:660px;margin:0 auto}.comment_type form label{color:#333;font-family:Roboto;font-size:18px}.input_file_text{color:#c2c2c2;font-size:11px;font-family:Roboto;width:125px;position:absolute;right:0;line-height:16px;top:18px;overflow:hidden;text-overflow:ellipsis;white-space:pre-line}.inputfile{float:right;position:relative;width:153px;padding-bottom:10px;background:url(../images/skrpk.png);background-repeat:no-repeat}.input_file{opacity:0;cursor:pointer;width:160px}.inputfile .file_input_title{position:absolute;color:#0276c0;border-bottom:1px solid #0276c0;text-transform:uppercase;font-family:Roboto;font-size:13px;right:0}.jspArrow{background-color:#0173bd;width:20px;height:20px}.jspVerticalBar{width:20px}.jspVerticalBar .jspArrow{height:20px}.jspTrack{background:#ebebeb;position:relative}.jspDrag{background:#c2c2c2;position:relative;top:0;left:0;cursor:pointer;border-left:2px solid #ebebeb;border-right:2px solid #ebebeb}.jspVerticalBar{background:#ebebeb}.jspArrowUp{background:#0173bd url(../images/scroll_up.png) center center no-repeat}.jspArrowUp:hover{opacity:.8}.jspArrowUp:active{background-position-y:1px!important}.jspDisabled.jspArrowUp{background:#80808d url(../images/scroll_up_grey.png) center center no-repeat}.jspArrowDown{background:#0173bd url(../images/scroll_down.png) center center no-repeat}.jspArrowDown:hover{opacity:.8}.jspArrowDown:active{background-position-y:1px!important}.jspArrowDown{background:#0173bd url(../images/scroll_down.png) center center no-repeat}.jspDisabled.jspArrowDown{background:#80808d url(../images/scroll_down_grey.png) center center no-repeat}.jspContainer{outline:none;border:none} +/***form-order***/ +#modal_form_offer {height: 505px;} +#modal_form_offer,#modal_form_question{margin-top: 70px;} +.form-resume-wr form input[type="submit"]{margin-left: 55px;} +.form-resume-wr form{top:72px;} +.form-resume-wr.offer form textarea { + height: 60px; + max-height: 60px; + min-height: 60px; + margin-bottom: 13px; +} +.form-resume-wr.question form textarea { + height: 185px; + max-height: 185px; + min-height: 185px; +} +.form-resume-sub{line-height:73px;} +.closed-form{top: -46px;right: -45px;} +.list_item .pr_title{ + font-weight: 700; + margin-bottom:3px; +} +.list_item{ + font-size: 13px; + border: 1px solid #dcdcdc; + position: relative; + cursor:pointer; +} +.list_item.title{margin-bottom: 15px;} +.list_item .arrow{ + position: absolute; + height: 100%; + width: 25px; + background-color: #0072bc; + top: 0; + right: 0; + transition:0.15s; + transform: rotate(180deg); +} +.list_item:hover .arrow{opacity:0.6;} +.list_item .arrow.up:after{ + content: ''; + position: absolute; + top: 22px; + left: 9px; + border: 4px solid transparent; + border-bottom-color: white; +} +.list_item .arrow.down:after{ + content: ''; + position: absolute; + top: 26px; + left: 9px; + border: 4px solid transparent; + border-top-color: white; +} +form.offer-project {height: 406px;} +.list_item .main_item{padding: 10px 37px 12px 12px;transition:0.3s;} +.off_list ul li:hover{background-color: #fffccc; } +.act-offer-li{opacity: 0.6; cursor: default } +.act-offer-li:hover{background-color: #fff !important; } +.off_list{ + position: absolute; + width: 100%; + width: 238px; + background-color: white; + border: 1px solid #dcdcdc; + left: -1px; + height: 109px; + bottom: -110px; + overflow: hidden; + outline:none; +} +.off_list .content li{ + list-style: none; + line-height: 18px; + font-size: 13px; + padding: 9px 0px 10px 12px; + border-bottom: 1px solid #dcdcdc; + width: 100%; + transition:0.2s; +} +.off_list .content li:last-child{border-bottom:none;} +.off_list .content li .title1{font-weight:700;} +/*SCROLL*/ +#modal_form_offer .jspVerticalBar{ + position: absolute; + top: 0; + right: 0px; + width: 25px; + height: 100%; + background: #f1f1f1; +} +#modal_form_offer .jspTrack{background: #f1f1f1;} +#modal_form_offer .jspDrag{ + background: #d7d7d7; + border-left: 3px solid #f1f1f1; + border-right: 2px solid #f1f1f1; + box-shadow: inset 0px 0px 0px 1px #dcdcdc; +} +#modal_form_offer .jspVerticalBar #modal_form_offer .jspArrow{background-color:#f1f1f1;} +#modal_form_offer .jspArrowUp, #modal_form_offer .jspArrowUp.jspDisabled{background:url('../images/arrow-scroll-up.png') center center no-repeat;width: 25px} +#modal_form_offer .jspDisabled{opacity: 0.5; width: 25px} +#modal_form_offer .jspArrowDown, #modal_form_offer .jspArrowDown.jspDisabled{background:url('../images/arrow-select.png') center center no-repeat; width: 25px} +#modal_form_offer .jspArrow:active{background-position-y:7px;} +#modal_form_offer .jspArrow.jspDisabled{background-position:center center!important;} +/****/ +.features-tags.features-tags-profile span{font-weight: normal} +/***cabinet_profile***/ +.cabinet-profile .search-profile-blocks{ + width: 100%; +} +.cabinet-profile .search-profile-blocks-left { + width: 460px; + float: left; +} +.cabinet-profile .srch-prof-params-wr { + width: 150px; + float: right; + margin-top: 8px; + height: auto; +} +.cabinet-profile .srch-prof-params-wr > div { + margin: 0; +} +.cabinet-profile .srch-prof-params-wr .srch-prof-params { + width: 100%; + float: left; + font-weight: 700; +} +/***tender***/ +.section-box-tender-title {font-size: 21px; text-align: center; margin-top: 25px} +.tender-contract-wr { + height: 23px; + margin-top: 30px; +} +.tender-contract-left, .tender-contract-right {height: 100%; width: 50%; float: left} +.tender-contract-right { + float:right !important; +} +.tender-contract-left .srch-prof-contract-button { + margin: 0 12px 0 0; +} +.tender-contract-right span { + float: right; + display: block; + height: 100%; + line-height: 23px; +} +.tender-contract-right img { + width: 23px; + height: 23px; + float: right; + margin-right: 10px; +} +.tender-date {margin-top: 6px} +.tender-date img{float: left} +.tender-date span{float: left; height: 18px; line-height: 18px; display: block} + +.cab-mes-read-min-bl .profile-phone { + font-size: 13px; +} +.section-box-15.tender-page { + padding-top: 6px; + padding-bottom: 0; +} +.tender-page .cabinet-message-read-autor-wr {margin-top: 0} +.section-box-tender-navi {margin-top: 16px; height: 25px} +.section-box-tender-navi span{font-size: 18px;color: #0072bc; height: 100%; display: block; float: left; line-height: 25px} +.section-box-tender-navi a{font-size: 18px; color: #0072bc; text-decoration: underline; height: 100%; display: block; float: left; line-height: 25px} +.section-box-tender-navi img {width: 40px; height: 25px; float: left; margin: 0 15px} +.tender-info-title {font-size: 18px; margin-bottom: 2px} +.section-box-tender-info-wr {line-height: 18px; font-size: 13px; margin-top: 37px} +.section-box-tender-txt ul {list-style: none} +.section-box-tender-tags-title {font-size: 20px} +.section-box-tender-tags a{ + font-size: 13px; + color: #636363; +} +.section-box-tender-tags-wr {margin-top: 24px} +.section-box-tender-tags { + line-height: 18px; + margin-top: 4px; +} +.tender-map {margin-top: 15px} +.tender-offer-proj-title-all {text-align: center; font-size: 20px; margin-top: 78px;} +.tender-offer-proj-blocks-wr {padding-bottom: 50px} +.tender-offer-proj-blocks .performer-vacancy-sidebar-left {top: -10px} +.tender-offer-proj-blocks {padding-bottom: 17px; border-bottom: 1px solid #bababa; margin-top: 50px} +.tender-offer-proj-blocks:first-child{margin-top: 47px} +.tender-see-profile { + text-decoration: none; + text-align: center; + color: #bfbfbf; + font-size: 13px; + transition: 0.2s; + margin-left: -20px; + width: 200px; + margin-top: -8px; + padding-bottom: 8px; +} +.tender-see-profile:hover {text-decoration: underline} +.tender-offer-proj-block-right-wr { + width: 740px; + float: right; +} +.tender-offer-proj-block-right { + width: 100px; + height: 100px; + float: right; + background: #62b8ef; +} +.tender-offer-proj-min-blocks { + width: 98px; + height: 49px; + margin-top: 1px; + margin-left: 1px; +} +.tender-offer-proj-min-blocks:first-child{background: #fff} +.tender-offer-proj-min-blocks span { + color: #fff; + font-size: 15px; + text-transform: uppercase; + text-align: center; + line-height: 49px; + display: block; +} +.tender-offer-proj-min-blocks:first-child span { + color: #62b8ef; + text-transform: none; +} +.tender-offer-proj-block-left { + width: 625px; + float: left; + min-height: 387px; + box-sizing: border-box; + padding-left: 18px; +} +.tender-offer-proj-block-left .search-worker-blocks-title-wr { + width: 100%; + float: left; + margin-top: 14px; +} +.search-worker-blocks-title-title { + font-size: 24px; + float: left; + margin-right: 30px; +} +.tender-offer-proj-block-left .rating-new { + margin-right: 30px; +} +.link-to-comm { + color: #bfbfbf; + text-decoration: underline; + float: left; +} +.tender-offer-proj-block-left .rating-new, .tender-offer-proj-block-left .link-to-comm {margin-top: 9px} +.tender-offer-proj-txt { + line-height: 18px; + font-size: 13px; + float: left; + margin-top: 18px; + margin-bottom: 21px; +} +ul.download-list-files { + width: 100%; + float: left; + margin-bottom: 21px; +} +ul.download-list-files li { + list-style: none; + width: 100%; + float: left; + height: 18px; +} +ul.download-list-files li span { + width: 10px; + height: 8px; + background: url("../images/tender/ico-3.png") no-repeat; + display: block; + float: left; + margin-top: 3px; + margin-left: 3px; +} +ul.download-list-files li a {float: left; font-size: 13px; text-decoration: none; color: inherit; margin-left: 16px} +ul.download-list-files li .download-link {font-size: 11px; color: #c2c2c2; margin-left: 14px; margin-top: 2px; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";} +ul.download-list-files li {margin-top: 7px} +ul.download-list-files li:first-child {margin-top: 0} +ul.download-list-files li:hover .download-link {transition: 0.2s; opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";} +.tender-more-buttons-wr { + height: 29px; + width: 600px; + float: left; + box-sizing: border-box; + padding-left: 18px; +} +.tender-more-buttons-wr a:after{display: none} +.tender-more-buttons-wr a{ + padding: 0; + height: 28px; + color: #fff; + text-decoration: none; + font-size: 13px; + line-height: 29px; + border-radius: 4px; + width: 167px; + text-align: center; + display: block; + float: left; + margin-right: 4px; +} +.tender-add-answer-title { + text-align: center; + font-size: 20px; + margin-top: 30px; +} +.form-value-wr { + height: 48px; + margin-top: 26px; +} +.form-value-ded-name { + height: 48px; + float: left; + line-height: 48px; + margin-left: 18px; + font-size: 13px; + font-weight: 700; +} +.form-value-price-wr {float: left;} +.form-value-price-wr .blocks-check-list-wrapp { + margin-top: 0; + margin-left: 20px; +} +.form-value-price-wr select{ + border: 1px solid #dcdcdc; + height: 20px; + width: 40px; + float: left; + cursor: pointer; + color: #636363; + font-size: 13px; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: transparent; +} +.form-value-price-wr .check-valuta {float: left} +.form-value-price-wr .form-price-wr {width: auto; margin: 14px 0 0 0;} +.form-value-price-title {float: left; height: 48px; line-height: 48px; margin-right: 9px; font-size: 13px; font-weight: 700} +.form-ico-ded-wr {width: 320px; float: left} +.form-tender-txt {margin-top: 21px} +.form-tender-txt textarea{ + width: 100%; + max-width: 100%; + border: 1px solid #c2c2c2; + /*min-height: 98px;*/ + height: 100px; + box-sizing: border-box; + padding: 8px 0 10px 11px; + font-size: 13px; +} +.tender-form-buttons-wr { + width: 620px; + float: left; + margin-top: 18px; +} +.form-tender-answer form input[type="submit"] { + height: 45px; + outline: none; + color: #fff; + text-transform: uppercase; + font-size: 13px; + padding: 0; + border-top: none; + border-left: none; + border-right: none; + width: 170px; + border-radius: 4px; + cursor: pointer; + margin-right: 10px; + float: left; +} +.tender-form-buttons-wr a { + height: 45px; + line-height: 45px; + float: left; + font-size: 13px; + color: #bfbfbf; + text-decoration: none; +} +.tender-form-buttons-wr a:hover{text-decoration: underline} +.tender-file-wr { + float: right; + position: relative; + width: 200px; +} +.tender-file-wr input[type="file"] { + width: 131px; + height: 16px; + position: absolute; + right: 0; + top: 2px; + opacity: 0; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + z-index: 2; +} +.tender-file-wr .addfilemulti { + position: absolute; + right: 0; + top: 2px; + color: #0276c0; + font-size: 13px; + text-decoration: underline; + height: 16px; + line-height: 16px; + z-index: 1; +} +.tender-file-wr .addfilemulti:before { + position: absolute; + content: ''; + display: block; + width: 13px; + height: 14px; + left: -23px; + top: 50%; + margin-top: -7px; + background: url("../images/skrpk_min.png") no-repeat; +} +.MultiFile-remove:before{display: none !important;} +.MultiFile-label {height: 18px} +.MultiFile-list {margin-top: 25px;float: right} +.MultiFile-remove {float: right; margin-left: 31px; margin-top: 3px; width: 12px; height: 12px; background: url("../images/delet-file.png") no-repeat} +.MultiFile-title {font-size: 13px; position: relative} +.MultiFile-title:before { + position: absolute; + content: ''; + width: 10px; + height: 8px; + background: url("../images/tender/ico-3.png") no-repeat; + top: 4px; + left: -17px; +} +.max-size { + float: right; color: #c2c2c2; font-size: 11px; margin-top: 20px; +} +.settings-map-ul { width: 100%;float: left; height: 27px; text-align: center;margin-top: 13px;} +.settings-map-ul ul{height: 100%; display: inline-block} +.settings-map-ul ul li{float: left; list-style: none; height: 100%;margin-left: 4px} +.settings-map-ul ul li:first-child{margin-left: 0} +.settings-map-ul ul li a{height: 100%; display: block; text-decoration: none; color: #0072bc; line-height: 27px; padding: 0 15px;} +.settings-map-ul ul li a.active {background: #0072bc;color: #fff; border-radius: 27px} +.settings-map-ul ul li a span {border-bottom: 1px dashed #0072bc;} +.settings-map-ul ul li a.active span{border-bottom: none} + +.min-post-wr {width: 100%; float: left; } +.min-post-block {padding-bottom: 20px; border-bottom: 1px solid #dcdcdc; width: 450px; margin-left: 40px; float: left} +.min-post-block:first-child{margin-left: 0} +.min-post-block a, .min-post-block a img{width: 200px;height: 153px;display: block; float: left} +.min-post-txt {width: 230px;float: right;} +.min-post-txt .blog-post-icons-wr {margin-top: 0} +.min-post-txt a {text-decoration: none; color: inherit; height: 123px; margin-top: 14px;} +.min-post-block:hover a {text-decoration: underline} +.section-box-232{margin-top: 40px} +.table-team-title {font-size: 18px; text-align: center;} + +.section-box-233{margin-top: 36px} +.table-team-left {width: 450px; float: left} +.table-team-right {width: 450px; float: right} +.tb-team-wr {width: 100%; float: left;} +.tb-team-wr table {width: 100%; float: left; font-size: 13px;} +.tb-team-wr table tr{height: 33px} +.title-table {background: #0072bc; color: #fff; border-top-left-radius: 5px; border-top-right-radius: 5px} +.title-table td:first-child{padding-left: 20px} +.all-table {border-left:1px solid #dfdfdf; border-right: 1px solid #dfdfdf; border-bottom: 1px solid #dfdfdf; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;} +.all-table-first {background: #f1f1f1; font-weight: 700;border-left:1px solid #dfdfdf; border-right: 1px solid #dfdfdf;} +.all-table tr td, .all-table-first tr td {border-left: 1px solid #dfdfdf} +.all-table tr td:first-child, .all-table-first tr td:first-child{border-left: none} +.all-table td {border-top: 1px solid #dfdfdf} +.all-table tr:first-child td {border-top: none} + +.tb-team-wr {margin-top: 15px} +.tb-team-wr table img{vertical-align: middle} \ No newline at end of file diff --git a/frontend/web/js/autoresize.jquery.js b/frontend/web/js/autoresize.jquery.js new file mode 100644 index 0000000..eed5d41 --- /dev/null +++ b/frontend/web/js/autoresize.jquery.js @@ -0,0 +1,73 @@ +(function($){ + $.fn.autoResize = function(options) { + + var settings = $.extend({ + onResize : function(){ + + }, + animate : true, + animateDuration : 150, + animateCallback : function(){}, + extraSpace : 20, + limit: 1000 + }, options); + + this.filter('textarea').each(function(){ + + // Get rid of scrollbars and disable WebKit resizing: + var textarea = $(this).css({resize:'none','overflow-y':'hidden'}), + + origHeight = textarea.height(), + + clone = (function(){ + + var props = ['height','width','lineHeight','textDecoration','letterSpacing'], + propOb = {}; + + $.each(props, function(i, prop){ + propOb[prop] = textarea.css(prop); + }); + + return textarea.clone().removeAttr('id').removeAttr('name').css({ + position: 'absolute', + top: 0, + left: -9999 + }).css(propOb).attr('tabIndex','-1').insertBefore(textarea); + + })(), + lastScrollTop = null, + updateSize = function() { + clone.height(0).val($(this).val()).scrollTop(10000); + + var scrollTop = Math.max(clone.scrollTop(), origHeight) + settings.extraSpace, + toChange = $(this).add(clone); + + if (lastScrollTop === scrollTop) { return; } + lastScrollTop = scrollTop; + + if ( scrollTop >= settings.limit ) { + $(this).css('overflow-y',''); + return; + } + + settings.onResize.call(this); + + settings.animate && textarea.css('display') === 'block' ? + toChange.stop().animate({height:scrollTop}, settings.animateDuration, settings.animateCallback) + : toChange.height(scrollTop); + + + }; + + textarea + .unbind('.dynSiz') + .bind('keyup.dynSiz', updateSize) + .bind('keydown.dynSiz', updateSize) + .bind('change.dynSiz', updateSize); + + }); + + return this; + + }; +})(jQuery); \ No newline at end of file diff --git a/frontend/web/js/forms.js b/frontend/web/js/forms.js new file mode 100644 index 0000000..ad3c75a --- /dev/null +++ b/frontend/web/js/forms.js @@ -0,0 +1 @@ +$(document).ready(function(){function o(){$(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_favorite").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}function n(){$(".blog-buttons-offer, .get-project, .main-menu-icons-home").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_offer").css({display:"block",marginTop:-313+n}).animate({opacity:1,top:"50%"},200)})})}function a(){$(".header-contacts-menu li:last-child").click(function(o){var n=$(window).scrollTop();o.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form_question").css({display:"block",marginTop:-230+n}).animate({opacity:1,top:"50%"},200)})})}if($(".blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home").length>0){var t=$("#overlay").length;$.post("forms-modal.html",function(o){!t>0&&$("body").append('
'),$("body").append(o)}).complete(function(){$(".closed-form, #overlay").on("click",function(){$("#modal_form_favorite, #modal_form_offer, #modal_form_question").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})})}o(),n(),a()}); \ No newline at end of file diff --git a/frontend/web/js/jmousewhell.js b/frontend/web/js/jmousewhell.js new file mode 100644 index 0000000..57cdf62 --- /dev/null +++ b/frontend/web/js/jmousewhell.js @@ -0,0 +1 @@ +!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var s=t||window.event,a=h.call(arguments,1),r=0,f=0,d=0,c=0,m=0,g=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(d=-1*s.detail),"wheelDelta"in s&&(d=s.wheelDelta),"wheelDeltaY"in s&&(d=s.wheelDeltaY),"wheelDeltaX"in s&&(f=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(f=-1*d,d=0),r=0===d?f:d,"deltaY"in s&&(d=-1*s.deltaY,r=d),"deltaX"in s&&(f=s.deltaX,0===d&&(r=-1*f)),0!==d||0!==f){if(1===s.deltaMode){var w=e.data(this,"mousewheel-line-height");r*=w,d*=w,f*=w}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");r*=v,d*=v,f*=v}if(c=Math.max(Math.abs(d),Math.abs(f)),(!l||l>c)&&(l=c,i(s,c)&&(l/=40)),i(s,c)&&(r/=40,f/=40,d/=40),r=Math[r>=1?"floor":"ceil"](r/l),f=Math[f>=1?"floor":"ceil"](f/l),d=Math[d>=1?"floor":"ceil"](d/l),u.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=t.clientX-p.left,g=t.clientY-p.top}return t.deltaX=f,t.deltaY=d,t.deltaFactor=l,t.offsetX=m,t.offsetY=g,t.deltaMode=0,a.unshift(t,r,f,d),o&&clearTimeout(o),o=setTimeout(n,200),(e.event.dispatch||e.event.handle).apply(this,a)}}function n(){l=null}function i(e,t){return u.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var o,l,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],h=Array.prototype.slice;if(e.event.fixHooks)for(var r=s.length;r;)e.event.fixHooks[s[--r]]=e.event.mouseHooks;var u=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var n=a.length;n;)this.addEventListener(a[--n],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",u.getLineHeight(this)),e.data(this,"mousewheel-page-height",u.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var n=a.length;n;)this.removeEventListener(a[--n],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}); \ No newline at end of file diff --git a/frontend/web/js/jquery.MultiFile.js b/frontend/web/js/jquery.MultiFile.js new file mode 100644 index 0000000..9afa71c --- /dev/null +++ b/frontend/web/js/jquery.MultiFile.js @@ -0,0 +1,544 @@ +/* + ### jQuery Multiple File Upload Plugin v1.48 - 2012-07-19 ### + * Home: http://www.fyneworks.com/jquery/multiple-file-upload/ + * Code: http://code.google.com/p/jquery-multifile-plugin/ + * + * Licensed under http://en.wikipedia.org/wiki/MIT_License + ### +*/ + +/*# AVOID COLLISIONS #*/ +;if(window.jQuery) (function($){ +/*# AVOID COLLISIONS #*/ + + // plugin initialization + $.fn.MultiFile = function(options){ + if(this.length==0) return this; // quick fail + + // Handle API methods + if(typeof arguments[0]=='string'){ + // Perform API methods on individual elements + if(this.length>1){ + var args = arguments; + return this.each(function(){ + $.fn.MultiFile.apply($(this), args); + }); + }; + // Invoke API method handler + $.fn.MultiFile[arguments[0]].apply(this, $.makeArray(arguments).slice(1) || []); + // Quick exit... + return this; + }; + + // Initialize options for this call + var options = $.extend( + {}/* new object */, + $.fn.MultiFile.options/* default options */, + options || {} /* just-in-time options */ + ); + + // Empty Element Fix!!! + // this code will automatically intercept native form submissions + // and disable empty file elements + $('form') + .not('MultiFile-intercepted') + .addClass('MultiFile-intercepted') + .submit($.fn.MultiFile.disableEmpty); + + //### http://plugins.jquery.com/node/1363 + // utility method to integrate this plugin with others... + if($.fn.MultiFile.options.autoIntercept){ + $.fn.MultiFile.intercept( $.fn.MultiFile.options.autoIntercept /* array of methods to intercept */ ); + $.fn.MultiFile.options.autoIntercept = null; /* only run this once */ + }; + + // loop through each matched element + this + .not('.MultiFile-applied') + .addClass('MultiFile-applied') + .each(function(){ + //##################################################################### + // MAIN PLUGIN FUNCTIONALITY - START + //##################################################################### + + // BUG 1251 FIX: http://plugins.jquery.com/project/comments/add/1251 + // variable group_count would repeat itself on multiple calls to the plugin. + // this would cause a conflict with multiple elements + // changes scope of variable to global so id will be unique over n calls + window.MultiFile = (window.MultiFile || 0) + 1; + var group_count = window.MultiFile; + + // Copy parent attributes - Thanks to Jonas Wagner + // we will use this one to create new input elements + var MultiFile = {e:this, E:$(this), clone:$(this).clone()}; + + //=== + + //# USE CONFIGURATION + if(typeof options=='number') options = {max:options}; + var o = $.extend({}, + $.fn.MultiFile.options, + options || {}, + ($.metadata? MultiFile.E.metadata(): ($.meta?MultiFile.E.data():null)) || {}, /* metadata options */ + {} /* internals */ + ); + // limit number of files that can be selected? + if(!(o.max>0) /*IsNull(MultiFile.max)*/){ + o.max = MultiFile.E.attr('maxlength'); + }; + if(!(o.max>0) /*IsNull(MultiFile.max)*/){ + o.max = (String(MultiFile.e.className.match(/\b(max|limit)\-([0-9]+)\b/gi) || ['']).match(/[0-9]+/gi) || [''])[0]; + if(!(o.max>0)) o.max = -1; + else o.max = String(o.max).match(/[0-9]+/gi)[0]; + } + o.max = new Number(o.max); + // limit extensions? + o.accept = o.accept || MultiFile.E.attr('accept') || ''; + if(!o.accept){ + o.accept = (MultiFile.e.className.match(/\b(accept\-[\w\|]+)\b/gi)) || ''; + o.accept = new String(o.accept).replace(/^(accept|ext)\-/i,''); + }; + + //=== + + // APPLY CONFIGURATION + $.extend(MultiFile, o || {}); + MultiFile.STRING = $.extend({},$.fn.MultiFile.options.STRING,MultiFile.STRING); + + //=== + + //######################################### + // PRIVATE PROPERTIES/METHODS + $.extend(MultiFile, { + n: 0, // How many elements are currently selected? + slaves: [], files: [], + instanceKey: MultiFile.e.id || 'MultiFile'+String(group_count), // Instance Key? + generateID: function(z){ return MultiFile.instanceKey + (z>0 ?'_F'+String(z):''); }, + trigger: function(event, element){ + var handler = MultiFile[event], value = $(element).attr('value'); + if(handler){ + var returnValue = handler(element, value, MultiFile); + if( returnValue!=null ) return returnValue; + } + return true; + } + }); + + //=== + + // Setup dynamic regular expression for extension validation + // - thanks to John-Paul Bader: http://smyck.de/2006/08/11/javascript-dynamic-regular-expresions/ + if(String(MultiFile.accept).length>1){ + MultiFile.accept = MultiFile.accept.replace(/\W+/g,'|').replace(/^\W|\W$/g,''); + MultiFile.rxAccept = new RegExp('\\.('+(MultiFile.accept?MultiFile.accept:'')+')$','gi'); + }; + + //=== + + // Create wrapper to hold our file list + MultiFile.wrapID = MultiFile.instanceKey+'_wrap'; // Wrapper ID? + MultiFile.E.wrap('
'); + MultiFile.wrapper = $('#'+MultiFile.wrapID+''); + + //=== + + // MultiFile MUST have a name - default: file1[], file2[], file3[] + MultiFile.e.name = MultiFile.e.name || 'file'+ group_count +'[]'; + + //=== + + if(!MultiFile.list){ + // Create a wrapper for the list + // * OPERA BUG: NO_MODIFICATION_ALLOWED_ERR ('list' is a read-only property) + // this change allows us to keep the files in the order they were selected + MultiFile.wrapper.append( '
' ); + MultiFile.list = $('#'+MultiFile.wrapID+'_list'); + }; + MultiFile.list = $(MultiFile.list); + + //=== + + // Bind a new element + MultiFile.addSlave = function( slave, slave_count ){ + //if(window.console) console.log('MultiFile.addSlave',slave_count); + + // Keep track of how many elements have been displayed + MultiFile.n++; + // Add reference to master element + slave.MultiFile = MultiFile; + + // BUG FIX: http://plugins.jquery.com/node/1495 + // Clear identifying properties from clones + if(slave_count>0) slave.id = slave.name = ''; + + // Define element's ID and name (upload components need this!) + //slave.id = slave.id || MultiFile.generateID(slave_count); + if(slave_count>0) slave.id = MultiFile.generateID(slave_count); + //FIX for: http://code.google.com/p/jquery-multifile-plugin/issues/detail?id=23 + + // 2008-Apr-29: New customizable naming convention (see url below) + // http://groups.google.com/group/jquery-dev/browse_frm/thread/765c73e41b34f924# + slave.name = String(MultiFile.namePattern + /*master name*/.replace(/\$name/gi,$(MultiFile.clone).attr('name')) + /*master id */.replace(/\$id/gi, $(MultiFile.clone).attr('id')) + /*group count*/.replace(/\$g/gi, group_count)//(group_count>0?group_count:'')) + /*slave count*/.replace(/\$i/gi, slave_count)//(slave_count>0?slave_count:'')) + ); + + // If we've reached maximum number, disable input slave + if( (MultiFile.max > 0) && ((MultiFile.n-1) > (MultiFile.max)) )//{ // MultiFile.n Starts at 1, so subtract 1 to find true count + slave.disabled = true; + //}; + + // Remember most recent slave + MultiFile.current = MultiFile.slaves[slave_count] = slave; + + // We'll use jQuery from now on + slave = $(slave); + + // Clear value + slave.val('').attr('value','')[0].value = ''; + + // Stop plugin initializing on slaves + slave.addClass('MultiFile-applied'); + + // Triggered when a file is selected + slave.change(function(){ + //if(window.console) console.log('MultiFile.slave.change',slave_count); + + // Lose focus to stop IE7 firing onchange again + $(this).blur(); + + //# Trigger Event! onFileSelect + if(!MultiFile.trigger('onFileSelect', this, MultiFile)) return false; + //# End Event! + + //# Retrive value of selected file from element + var ERROR = '', v = String(this.value || ''/*.attr('value)*/); + + // check extension + if(MultiFile.accept && v && !v.match(MultiFile.rxAccept))//{ + ERROR = MultiFile.STRING.denied.replace('$ext', String(v.match(/\.\w{1,4}$/gi))); + //} + //}; + + // Disallow duplicates + for(var f in MultiFile.slaves)//{ + if(MultiFile.slaves[f] && MultiFile.slaves[f]!=this)//{ + //console.log(MultiFile.slaves[f],MultiFile.slaves[f].value); + if(MultiFile.slaves[f].value==v)//{ + ERROR = MultiFile.STRING.duplicate.replace('$file', v.match(/[^\/\\]+$/gi)); + //}; + //}; + //}; + + // Create a new file input element + var newEle = $(MultiFile.clone).clone();// Copy parent attributes - Thanks to Jonas Wagner + //# Let's remember which input we've generated so + // we can disable the empty ones before submission + // See: http://plugins.jquery.com/node/1495 + newEle.addClass('MultiFile'); + + // Handle error + if(ERROR!=''){ + // Handle error + MultiFile.error(ERROR); + + // 2007-06-24: BUG FIX - Thanks to Adrian Wr�bel + // Ditch the trouble maker and add a fresh new element + MultiFile.n--; + MultiFile.addSlave(newEle[0], slave_count); + slave.parent().prepend(newEle); + slave.remove(); + return false; + }; + + // Hide this element (NB: display:none is evil!) + $(this).css({ position:'absolute', top: '-3000px' }); + + // Add new element to the form + slave.after(newEle); + + // Update list + MultiFile.addToList( this, slave_count ); + + // Bind functionality + MultiFile.addSlave( newEle[0], slave_count+1 ); + + //# Trigger Event! afterFileSelect + if(!MultiFile.trigger('afterFileSelect', this, MultiFile)) return false; + //# End Event! + + }); // slave.change() + + // Save control to element + $(slave).data('MultiFile', MultiFile); + + };// MultiFile.addSlave + // Bind a new element + + + + // Add a new file to the list + MultiFile.addToList = function( slave, slave_count ){ + //if(window.console) console.log('MultiFile.addToList',slave_count); + + //# Trigger Event! onFileAppend + if(!MultiFile.trigger('onFileAppend', slave, MultiFile)) return false; + //# End Event! + + // Create label elements + var r = $('
'); + var v = String(slave.value || ''/*.attr('value)*/); + var mulTxt = MultiFile.STRING.file.replace('$file', v.match(/[^\/\\]+$/gi)[0]); + if(mulTxt.length>20){ + var nMulTxt = mulTxt.slice(0,20)+'...'; + var a = $(''+nMulTxt+''); + } else { + var a = $(''+mulTxt+''); + } + var b = $(''); + + // Insert label + MultiFile.list.append( + r.append(b, ' ', a) + ); + + b + .click(function(){ + + //# Trigger Event! onFileRemove + if(!MultiFile.trigger('onFileRemove', slave, MultiFile)) return false; + //# End Event! + + MultiFile.n--; + MultiFile.current.disabled = false; + + // Remove element, remove label, point to current + MultiFile.slaves[slave_count] = null; + $(slave).remove(); + $(this).parent().remove(); + + // Show most current element again (move into view) and clear selection + $(MultiFile.current).css({ position:'', top: '' }); + $(MultiFile.current).reset().val('').attr('value', '')[0].value = ''; + + //# Trigger Event! afterFileRemove + if(!MultiFile.trigger('afterFileRemove', slave, MultiFile)) return false; + //# End Event! + + return false; + }); + + //# Trigger Event! afterFileAppend + if(!MultiFile.trigger('afterFileAppend', slave, MultiFile)) return false; + //# End Event! + + }; // MultiFile.addToList + // Add element to selected files list + + + + // Bind functionality to the first element + if(!MultiFile.MultiFile) MultiFile.addSlave(MultiFile.e, 0); + + // Increment control count + //MultiFile.I++; // using window.MultiFile + MultiFile.n++; + + // Save control to element + MultiFile.E.data('MultiFile', MultiFile); + + + //##################################################################### + // MAIN PLUGIN FUNCTIONALITY - END + //##################################################################### + }); // each element + }; + + /*--------------------------------------------------------*/ + + /* + ### Core functionality and API ### + */ + $.extend($.fn.MultiFile, { + /** + * This method removes all selected files + * + * Returns a jQuery collection of all affected elements. + * + * @name reset + * @type jQuery + * @cat Plugins/MultiFile + * @author Diego A. (http://www.fyneworks.com/) + * + * @example $.fn.MultiFile.reset(); + */ + reset: function(){ + var settings = $(this).data('MultiFile'); + //if(settings) settings.wrapper.find('a.MultiFile-remove').click(); + if(settings) settings.list.find('a.MultiFile-remove').click(); + return $(this); + }, + + + /** + * This utility makes it easy to disable all 'empty' file elements in the document before submitting a form. + * It marks the affected elements so they can be easily re-enabled after the form submission or validation. + * + * Returns a jQuery collection of all affected elements. + * + * @name disableEmpty + * @type jQuery + * @cat Plugins/MultiFile + * @author Diego A. (http://www.fyneworks.com/) + * + * @example $.fn.MultiFile.disableEmpty(); + * @param String class (optional) A string specifying a class to be applied to all affected elements - Default: 'mfD'. + */ + disableEmpty: function(klass){ klass = (typeof(klass)=='string'?klass:'')||'mfD'; + var o = []; + $('input:file.MultiFile').each(function(){ if($(this).val()=='') o[o.length] = this; }); + return $(o).each(function(){ this.disabled = true }).addClass(klass); + }, + + + /** + * This method re-enables 'empty' file elements that were disabled (and marked) with the $.fn.MultiFile.disableEmpty method. + * + * Returns a jQuery collection of all affected elements. + * + * @name reEnableEmpty + * @type jQuery + * @cat Plugins/MultiFile + * @author Diego A. (http://www.fyneworks.com/) + * + * @example $.fn.MultiFile.reEnableEmpty(); + * @param String klass (optional) A string specifying the class that was used to mark affected elements - Default: 'mfD'. + */ + reEnableEmpty: function(klass){ klass = (typeof(klass)=='string'?klass:'')||'mfD'; + return $('input:file.'+klass).removeClass(klass).each(function(){ this.disabled = false }); + }, + + + /** + * This method will intercept other jQuery plugins and disable empty file input elements prior to form submission + * + + * @name intercept + * @cat Plugins/MultiFile + * @author Diego A. (http://www.fyneworks.com/) + * + * @example $.fn.MultiFile.intercept(); + * @param Array methods (optional) Array of method names to be intercepted + */ + intercepted: {}, + intercept: function(methods, context, args){ + var method, value; args = args || []; + if(args.constructor.toString().indexOf("Array")<0) args = [ args ]; + if(typeof(methods)=='function'){ + $.fn.MultiFile.disableEmpty(); + value = methods.apply(context || window, args); + //SEE-http://code.google.com/p/jquery-multifile-plugin/issues/detail?id=27 + setTimeout(function(){ $.fn.MultiFile.reEnableEmpty() },1000); + return value; + }; + if(methods.constructor.toString().indexOf("Array")<0) methods = [methods]; + for(var i=0;i'), + css: { + border:'none', padding:'15px', size:'12.0pt', + backgroundColor:'#900', color:'#fff', + opacity:'.8','-webkit-border-radius': '10px','-moz-border-radius': '10px' + } + }); + window.setTimeout($.unblockUI, 2000); + } + else//{// save a byte! + */ + alert(s); + //}// save a byte! + } + }; //} }); + + /*--------------------------------------------------------*/ + + /* + ### Additional Methods ### + Required functionality outside the plugin's scope + */ + + // Native input reset method - because this alone doesn't always work: $(element).val('').attr('value', '')[0].value = ''; + $.fn.reset = function(){ return this.each(function(){ try{ this.reset(); }catch(e){} }); }; + + /*--------------------------------------------------------*/ + + /* + ### Default implementation ### + The plugin will attach itself to file inputs + with the class 'multi' when the page loads + */ + $(function(){ + //$("input:file.multi").MultiFile(); + $("input[type=file].multi").MultiFile(); + }); + + + +/*# AVOID COLLISIONS #*/ +})(jQuery); +/*# AVOID COLLISIONS #*/ diff --git a/frontend/web/js/jquery.rating.js b/frontend/web/js/jquery.rating.js new file mode 100644 index 0000000..3714a32 --- /dev/null +++ b/frontend/web/js/jquery.rating.js @@ -0,0 +1 @@ +!function(t){t.rating=function(s,i){this.options=t.extend({fx:"float",image:"images/stars.png",width:15,stars:5,minimal:0,titles:["голос","голоса","голосов"],readOnly:!1,url:"",type:"post",loader:"images/ajax-loader.gif",click:function(){}},i||{}),this.el=t(s),this.left=0,this.val=parseFloat(t(".val",s).val())||0,this.val>this.options.stars&&(this.val=this.options.stars),this.val<0&&(this.val=0),this.old=this.val,this.votes=parseInt(t(".votes",s).val())||"",this.voteID=t(".vote-id",s).val()||"",this.vote_wrap=t('
'),this.vote_block=t('
'),this.vote_hover=t('
'),this.vote_stars=t('
'),this.vote_active=t('
'),this.vote_result=t('
'),this.vote_success=t('
'),this.loader=t('load...'),this.init()};var s=t.rating;s.fn=s.prototype={rating:"0.1"},s.fn.extend=s.extend=t.extend,s.fn.extend({init:function(){if(this.render(),!this.options.readOnly){var s=this,i=0,o=0;this.vote_hover.bind("mousemove mouseover",function(e){if(!s.options.readOnly){var n=t(this),a=0;i=e.clientX>0?e.clientX:e.pageX,o=i-n.offset().left-2;var h=s.options.width*s.options.stars,v=s.options.minimal*s.options.width;o>h&&(o=h),v>o&&(o=v),a=Math.round(o/s.options.width*10)/10,"half"==s.options.fx?o=Math.ceil(o/s.options.width*2)*s.options.width/2:"float"!=s.options.fx&&(o=Math.ceil(o/s.options.width)*s.options.width),a=Math.round(o/s.options.width*10)/10,s.vote_active.css({width:o,"background-position":"0 15px"}),s.vote_success.html("Оценка: "+a+"из 5")}}).bind("mouseout",function(){s.options.readOnly||(s.reset(),s.vote_success.empty())}).bind("click.rating",function(){if(!s.options.readOnly){var t=Math.round(o/s.options.width*10)/10;t>s.options.stars&&(t=s.options.stars),0>t&&(t=0),s.old=s.val,s.val=(s.val*s.votes+t)/(s.votes+1),s.val.toFixed(1),s.vote_success.html("Ваша оценка: "+t),""!=s.options.url&&s.send(t),s.options.readOnly=!0,s.options.click.apply(this,[t])}})}},set:function(){this.vote_active.css({width:this.val*this.options.width,"background-position":"0 15px"})},reset:function(){this.vote_active.css({width:this.old*this.options.width,"background-position":"0 15px"})},setvoters:function(){this.vote_result.html(this.declOfNum(this.votes))},render:function(){this.el.html(this.vote_wrap.append(this.vote_hover.css({padding:"0 4px",height:this.options.width,width:this.options.width*this.options.stars}),this.vote_result.text(this.declOfNum(this.votes)),this.vote_success)),this.vote_block.append(this.vote_stars.css({height:this.options.width,width:this.options.width*this.options.stars,background:"url('"+this.options.image+"') 0 0"}),this.vote_active.css({height:this.options.width,width:this.val*this.options.width,background:"url('"+this.options.image+"') 0 15px"})).appendTo(this.vote_hover)},send:function(s){var i=this;this.vote_result.html(this.loader),t.ajax({url:i.options.url,type:i.options.type,data:{id:this.voteID,score:s},dataType:"json",success:function(t){"OK"==t.status?(i.votes++,i.set()):i.reset(),i.setvoters(),t.msg&&i.vote_success.html(t.msg)}})},declOfNum:function(t){return 0>=t?"":(t=Math.abs(Math.floor(t)),cases=[2,0,1,1,1,2],t+" "+this.options.titles[t%100>4&&20>t%100?2:cases[5>t%10?t%10:5]])}}),t.fn.rating=function(i){if("string"==typeof i){var o=t(this).data("rating"),e=Array.prototype.slice.call(arguments,1);return o[i].apply(o,e)}return this.each(function(){var o=t(this).data("rating");o?(i&&t.extend(o.options,i),o.init()):t(this).data("rating",new s(this,i))})}}(jQuery); \ No newline at end of file diff --git a/frontend/web/js/jquery.scrollbox.min.js b/frontend/web/js/jquery.scrollbox.min.js new file mode 100644 index 0000000..94569a0 --- /dev/null +++ b/frontend/web/js/jquery.scrollbox.min.js @@ -0,0 +1 @@ +(function($){$.fn.scrollbox=function(config){var defConfig={linear:false,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:true,onMouseOverPause:true,paused:false,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:true,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:false};config=$.extend(defConfig,config);config.scrollOffset=config.direction==="vertical"?"scrollTop":"scrollLeft";if(config.queue){config.queue=$("#"+config.queue)}return this.each(function(){var container=$(this),containerUL,scrollingId=null,nextScrollId=null,paused=false,releaseStack,backward,forward,resetClock,scrollForward,scrollBackward,forwardHover,pauseHover,switchCount=0,stackedTriggerIndex=0;if(config.onMouseOverPause){container.bind("mouseover",function(){paused=true});container.bind("mouseout",function(){paused=false})}containerUL=container.children(config.listElement+":first-child");if(config.infiniteLoop===false&&config.switchAmount===0){config.switchAmount=containerUL.children().length}scrollForward=function(){if(paused){return}var curLi,i,newScrollOffset,scrollDistance,theStep;curLi=containerUL.children(config.listItemElement+":first-child");scrollDistance=config.distance!=="auto"?config.distance:config.direction==="vertical"?curLi.outerHeight(true):curLi.outerWidth(true);if(!config.linear){theStep=Math.max(3,parseInt((scrollDistance-container[0][config.scrollOffset])*.3,10));newScrollOffset=Math.min(container[0][config.scrollOffset]+theStep,scrollDistance)}else{newScrollOffset=Math.min(container[0][config.scrollOffset]+config.step,scrollDistance)}container[0][config.scrollOffset]=newScrollOffset;if(newScrollOffset>=scrollDistance){for(i=0;i0){containerUL.append(config.queue.find(config.listItemElement)[0]);containerUL.children(config.listItemElement+":first-child").remove()}else{containerUL.append(containerUL.children(config.listItemElement+":first-child"))}++switchCount}container[0][config.scrollOffset]=0;clearInterval(scrollingId);scrollingId=null;if($.isFunction(config.afterForward)){config.afterForward.call(container,{switchCount:switchCount,currentFirstChild:containerUL.children(config.listItemElement+":first-child")})}if(config.triggerStackable&&stackedTriggerIndex!==0){releaseStack();return}if(config.infiniteLoop===false&&switchCount>=config.switchAmount){return}if(config.autoPlay){nextScrollId=setTimeout(forward,config.delay*1e3)}}};scrollBackward=function(){if(paused){return}var curLi,i,newScrollOffset,scrollDistance,theStep;if(container[0][config.scrollOffset]===0){for(i=0;i0){stackedTriggerIndex--;nextScrollId=setTimeout(forward,0)}else{stackedTriggerIndex++;nextScrollId=setTimeout(backward,0)}};forward=function(){clearInterval(scrollingId);scrollingId=setInterval(scrollForward,config.speed)};backward=function(){clearInterval(scrollingId);scrollingId=setInterval(scrollBackward,config.speed)};forwardHover=function(){config.autoPlay=true;paused=false;clearInterval(scrollingId);scrollingId=setInterval(scrollForward,config.speed)};pauseHover=function(){paused=true};resetClock=function(delay){config.delay=delay||config.delay;clearTimeout(nextScrollId);if(config.autoPlay){nextScrollId=setTimeout(forward,config.delay*1e3)}};if(config.autoPlay){nextScrollId=setTimeout(forward,config.startDelay*1e3)}container.bind("resetClock",function(delay){resetClock(delay)});container.bind("forward",function(){if(config.triggerStackable){if(scrollingId!==null){stackedTriggerIndex++}else{forward()}}else{clearTimeout(nextScrollId);forward()}});container.bind("backward",function(){if(config.triggerStackable){if(scrollingId!==null){stackedTriggerIndex--}else{backward()}}else{clearTimeout(nextScrollId);backward()}});container.bind("pauseHover",function(){pauseHover()});container.bind("forwardHover",function(){forwardHover()});container.bind("speedUp",function(speed){if(speed==="undefined"){speed=Math.max(1,parseInt(config.speed/2,10))}config.speed=speed});container.bind("speedDown",function(speed){if(speed==="undefined"){speed=config.speed*2}config.speed=speed});container.bind("updateConfig",function(options){config=$.extend(config,options)})})}})(jQuery); \ No newline at end of file diff --git a/frontend/web/js/jscroll.js b/frontend/web/js/jscroll.js new file mode 100644 index 0000000..188499d --- /dev/null +++ b/frontend/web/js/jscroll.js @@ -0,0 +1 @@ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.fn.jScrollPane=function(b){function c(b,c){function d(c){var f,h,j,k,l,o,p=!1,q=!1;if(N=c,void 0===O)l=b.scrollTop(),o=b.scrollLeft(),b.css({overflow:"hidden",padding:0}),P=b.innerWidth()+ra,Q=b.innerHeight(),b.width(P),O=a('
').css("padding",qa).append(b.children()),R=a('
').css({width:P+"px",height:Q+"px"}).append(O).appendTo(b);else{if(b.css("width",""),p=N.stickToBottom&&A(),q=N.stickToRight&&B(),k=b.innerWidth()+ra!=P||b.outerHeight()!=Q,k&&(P=b.innerWidth()+ra,Q=b.innerHeight(),R.css({width:P+"px",height:Q+"px"})),!k&&sa==S&&O.outerHeight()==T)return void b.width(P);sa=S,O.css("width",""),b.width(P),R.find(">.jspVerticalBar,>.jspHorizontalBar").remove().end()}O.css("overflow","auto"),S=c.contentWidth?c.contentWidth:O[0].scrollWidth,T=O[0].scrollHeight,O.css("overflow",""),U=S/P,V=T/Q,W=V>1,X=U>1,X||W?(b.addClass("jspScrollable"),f=N.maintainPosition&&($||ba),f&&(h=y(),j=z()),e(),g(),i(),f&&(w(q?S-P:h,!1),v(p?T-Q:j,!1)),F(),C(),L(),N.enableKeyboardNavigation&&H(),N.clickOnTrack&&m(),J(),N.hijackInternalLinks&&K()):(b.removeClass("jspScrollable"),O.css({top:0,left:0,width:R.width()-ra}),D(),G(),I(),n()),N.autoReinitialise&&!pa?pa=setInterval(function(){d(N)},N.autoReinitialiseDelay):!N.autoReinitialise&&pa&&clearInterval(pa),l&&b.scrollTop(0)&&v(l,!1),o&&b.scrollLeft(0)&&w(o,!1),b.trigger("jsp-initialised",[X||W])}function e(){W&&(R.append(a('
').append(a('
'),a('
').append(a('
').append(a('
'),a('
'))),a('
'))),ca=R.find(">.jspVerticalBar"),da=ca.find(">.jspTrack"),Y=da.find(">.jspDrag"),N.showArrows&&(ha=a('').bind("mousedown.jsp",k(0,-1)).bind("click.jsp",E),ia=a('').bind("mousedown.jsp",k(0,1)).bind("click.jsp",E),N.arrowScrollOnHover&&(ha.bind("mouseover.jsp",k(0,-1,ha)),ia.bind("mouseover.jsp",k(0,1,ia))),j(da,N.verticalArrowPositions,ha,ia)),fa=Q,R.find(">.jspVerticalBar>.jspCap:visible,>.jspVerticalBar>.jspArrow").each(function(){fa-=a(this).outerHeight()}),Y.hover(function(){Y.addClass("jspHover")},function(){Y.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),Y.addClass("jspActive");var c=b.pageY-Y.position().top;return a("html").bind("mousemove.jsp",function(a){p(a.pageY-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),f())}function f(){da.height(fa+"px"),$=0,ea=N.verticalGutter+da.outerWidth(),O.width(P-ea-ra);try{0===ca.position().left&&O.css("margin-left",ea+"px")}catch(a){}}function g(){X&&(R.append(a('
').append(a('
'),a('
').append(a('
').append(a('
'),a('
'))),a('
'))),ja=R.find(">.jspHorizontalBar"),ka=ja.find(">.jspTrack"),_=ka.find(">.jspDrag"),N.showArrows&&(na=a('').bind("mousedown.jsp",k(-1,0)).bind("click.jsp",E),oa=a('').bind("mousedown.jsp",k(1,0)).bind("click.jsp",E),N.arrowScrollOnHover&&(na.bind("mouseover.jsp",k(-1,0,na)),oa.bind("mouseover.jsp",k(1,0,oa))),j(ka,N.horizontalArrowPositions,na,oa)),_.hover(function(){_.addClass("jspHover")},function(){_.removeClass("jspHover")}).bind("mousedown.jsp",function(b){a("html").bind("dragstart.jsp selectstart.jsp",E),_.addClass("jspActive");var c=b.pageX-_.position().left;return a("html").bind("mousemove.jsp",function(a){r(a.pageX-c,!1)}).bind("mouseup.jsp mouseleave.jsp",o),!1}),la=R.innerWidth(),h())}function h(){R.find(">.jspHorizontalBar>.jspCap:visible,>.jspHorizontalBar>.jspArrow").each(function(){la-=a(this).outerWidth()}),ka.width(la+"px"),ba=0}function i(){if(X&&W){var b=ka.outerHeight(),c=da.outerWidth();fa-=b,a(ja).find(">.jspCap:visible,>.jspArrow").each(function(){la+=a(this).outerWidth()}),la-=c,Q-=c,P-=b,ka.parent().append(a('
').css("width",b+"px")),f(),h()}X&&O.width(R.outerWidth()-ra+"px"),T=O.outerHeight(),V=T/Q,X&&(ma=Math.ceil(1/U*la),ma>N.horizontalDragMaxWidth?ma=N.horizontalDragMaxWidth:maN.verticalDragMaxHeight?ga=N.verticalDragMaxHeight:gaf)$-k>e?ta.scrollByY(-j):p(e);else{if(!(f>0))return void i();e>$+k?ta.scrollByY(j):p(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}}),X&&ka.bind("mousedown.jsp",function(b){if(void 0===b.originalTarget||b.originalTarget==b.currentTarget){var c,d=a(this),e=d.offset(),f=b.pageX-e.left-ba,g=!0,h=function(){var a=d.offset(),e=b.pageX-a.left-ma/2,j=P*N.scrollPagePercent,k=aa*j/(S-P);if(0>f)ba-k>e?ta.scrollByX(-j):r(e);else{if(!(f>0))return void i();e>ba+k?ta.scrollByX(j):r(e)}c=setTimeout(h,g?N.initialDelay:N.trackClickRepeatFreq),g=!1},i=function(){c&&clearTimeout(c),c=null,a(document).unbind("mouseup.jsp",i)};return h(),a(document).bind("mouseup.jsp",i),!1}})}function n(){ka&&ka.unbind("mousedown.jsp"),da&&da.unbind("mousedown.jsp")}function o(){a("html").unbind("dragstart.jsp selectstart.jsp mousemove.jsp mouseup.jsp mouseleave.jsp"),Y&&Y.removeClass("jspActive"),_&&_.removeClass("jspActive")}function p(a,b){W&&(0>a?a=0:a>Z&&(a=Z),void 0===b&&(b=N.animateScroll),b?ta.animate(Y,"top",a,q):(Y.css("top",a),q(a)))}function q(a){void 0===a&&(a=Y.position().top),R.scrollTop(0),$=a||0;var c=0===$,d=$==Z,e=a/Z,f=-e*(T-Q);(ua!=c||wa!=d)&&(ua=c,wa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),t(c,d),O.css("top",f),b.trigger("jsp-scroll-y",[-f,c,d]).trigger("scroll")}function r(a,b){X&&(0>a?a=0:a>aa&&(a=aa),void 0===b&&(b=N.animateScroll),b?ta.animate(_,"left",a,s):(_.css("left",a),s(a)))}function s(a){void 0===a&&(a=_.position().left),R.scrollTop(0),ba=a||0;var c=0===ba,d=ba==aa,e=a/aa,f=-e*(S-P);(va!=c||xa!=d)&&(va=c,xa=d,b.trigger("jsp-arrow-change",[ua,wa,va,xa])),u(c,d),O.css("left",f),b.trigger("jsp-scroll-x",[-f,c,d]).trigger("scroll")}function t(a,b){N.showArrows&&(ha[a?"addClass":"removeClass"]("jspDisabled"),ia[b?"addClass":"removeClass"]("jspDisabled"))}function u(a,b){N.showArrows&&(na[a?"addClass":"removeClass"]("jspDisabled"),oa[b?"addClass":"removeClass"]("jspDisabled"))}function v(a,b){var c=a/(T-Q);p(c*Z,b)}function w(a,b){var c=a/(S-P);r(c*aa,b)}function x(b,c,d){var e,f,g,h,i,j,k,l,m,n=0,o=0;try{e=a(b)}catch(p){return}for(f=e.outerHeight(),g=e.outerWidth(),R.scrollTop(0),R.scrollLeft(0);!e.is(".jspPane");)if(n+=e.position().top,o+=e.position().left,e=e.offsetParent(),/^body|html$/i.test(e[0].nodeName))return;h=z(),j=h+Q,h>n||c?l=n-N.horizontalGutter:n+f>j&&(l=n-Q+f+N.horizontalGutter),isNaN(l)||v(l,d),i=y(),k=i+P,i>o||c?m=o-N.horizontalGutter:o+g>k&&(m=o-P+g+N.horizontalGutter),isNaN(m)||w(m,d)}function y(){return-O.position().left}function z(){return-O.position().top}function A(){var a=T-Q;return a>20&&a-z()<10}function B(){var a=S-P;return a>20&&a-y()<10}function C(){R.unbind(za).bind(za,function(a,b,c,d){ba||(ba=0),$||($=0);var e=ba,f=$,g=a.deltaFactor||N.mouseWheelSpeed;return ta.scrollBy(c*g,-d*g,!1),e==ba&&f==$})}function D(){R.unbind(za)}function E(){return!1}function F(){O.find(":input,a").unbind("focus.jsp").bind("focus.jsp",function(a){x(a.target,!1)})}function G(){O.find(":input,a").unbind("focus.jsp")}function H(){function c(){var a=ba,b=$;switch(d){case 40:ta.scrollByY(N.keyboardSpeed,!1);break;case 38:ta.scrollByY(-N.keyboardSpeed,!1);break;case 34:case 32:ta.scrollByY(Q*N.scrollPagePercent,!1);break;case 33:ta.scrollByY(-Q*N.scrollPagePercent,!1);break;case 39:ta.scrollByX(N.keyboardSpeed,!1);break;case 37:ta.scrollByX(-N.keyboardSpeed,!1)}return e=a!=ba||b!=$}var d,e,f=[];X&&f.push(ja[0]),W&&f.push(ca[0]),O.bind("focus.jsp",function(){b.focus()}),b.attr("tabindex",0).unbind("keydown.jsp keypress.jsp").bind("keydown.jsp",function(b){if(b.target===this||f.length&&a(b.target).closest(f).length){var g=ba,h=$;switch(b.keyCode){case 40:case 38:case 34:case 32:case 33:case 39:case 37:d=b.keyCode,c();break;case 35:v(T-Q),d=null;break;case 36:v(0),d=null}return e=b.keyCode==d&&g!=ba||h!=$,!e}}).bind("keypress.jsp",function(a){return a.keyCode==d&&c(),!e}),N.hideFocus?(b.css("outline","none"),"hideFocus"in R[0]&&b.attr("hideFocus",!0)):(b.css("outline",""),"hideFocus"in R[0]&&b.attr("hideFocus",!1))}function I(){b.attr("tabindex","-1").removeAttr("tabindex").unbind("keydown.jsp keypress.jsp"),O.unbind(".jsp")}function J(){if(location.hash&&location.hash.length>1){var b,c,d=escape(location.hash.substr(1));try{b=a("#"+d+', a[name="'+d+'"]')}catch(e){return}b.length&&O.find(d)&&(0===R.scrollTop()?c=setInterval(function(){R.scrollTop()>0&&(x(b,!0),a(document).scrollTop(R.position().top),clearInterval(c))},50):(x(b,!0),a(document).scrollTop(R.position().top)))}}function K(){a(document.body).data("jspHijack")||(a(document.body).data("jspHijack",!0),a(document.body).delegate("a[href*=#]","click",function(b){var c,d,e,f,g,h,i=this.href.substr(0,this.href.indexOf("#")),j=location.href;if(-1!==location.href.indexOf("#")&&(j=location.href.substr(0,location.href.indexOf("#"))),i===j){c=escape(this.href.substr(this.href.indexOf("#")+1));try{d=a("#"+c+', a[name="'+c+'"]')}catch(k){return}d.length&&(e=d.closest(".jspScrollable"),f=e.data("jsp"),f.scrollToElement(d,!0),e[0].scrollIntoView&&(g=a(window).scrollTop(),h=d.offset().top,(g>h||h>g+a(window).height())&&e[0].scrollIntoView()),b.preventDefault())}}))}function L(){var a,b,c,d,e,f=!1;R.unbind("touchstart.jsp touchmove.jsp touchend.jsp click.jsp-touchclick").bind("touchstart.jsp",function(g){var h=g.originalEvent.touches[0];a=y(),b=z(),c=h.pageX,d=h.pageY,e=!1,f=!0}).bind("touchmove.jsp",function(g){if(f){var h=g.originalEvent.touches[0],i=ba,j=$;return ta.scrollTo(a+c-h.pageX,b+d-h.pageY),e=e||Math.abs(c-h.pageX)>5||Math.abs(d-h.pageY)>5,i==ba&&j==$}}).bind("touchend.jsp",function(a){f=!1}).bind("click.jsp-touchclick",function(a){return e?(e=!1,!1):void 0})}function M(){var a=z(),c=y();b.removeClass("jspScrollable").unbind(".jsp"),O.unbind(".jsp"),b.replaceWith(ya.append(O.children())),ya.scrollTop(a),ya.scrollLeft(c),pa&&clearInterval(pa)}var N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,aa,ba,ca,da,ea,fa,ga,ha,ia,ja,ka,la,ma,na,oa,pa,qa,ra,sa,ta=this,ua=!0,va=!0,wa=!1,xa=!1,ya=b.clone(!1,!1).empty(),za=a.fn.mwheelIntent?"mwheelIntent.jsp":"mousewheel.jsp";"border-box"===b.css("box-sizing")?(qa=0,ra=0):(qa=b.css("paddingTop")+" "+b.css("paddingRight")+" "+b.css("paddingBottom")+" "+b.css("paddingLeft"),ra=(parseInt(b.css("paddingLeft"),10)||0)+(parseInt(b.css("paddingRight"),10)||0)),a.extend(ta,{reinitialise:function(b){b=a.extend({},N,b),d(b)},scrollToElement:function(a,b,c){x(a,b,c)},scrollTo:function(a,b,c){w(a,c),v(b,c)},scrollToX:function(a,b){w(a,b)},scrollToY:function(a,b){v(a,b)},scrollToPercentX:function(a,b){w(a*(S-P),b)},scrollToPercentY:function(a,b){v(a*(T-Q),b)},scrollBy:function(a,b,c){ta.scrollByX(a,c),ta.scrollByY(b,c)},scrollByX:function(a,b){var c=y()+Math[0>a?"floor":"ceil"](a),d=c/(S-P);r(d*aa,b)},scrollByY:function(a,b){var c=z()+Math[0>a?"floor":"ceil"](a),d=c/(T-Q);p(d*Z,b)},positionDragX:function(a,b){r(a,b)},positionDragY:function(a,b){p(a,b)},animate:function(a,b,c,d){var e={};e[b]=c,a.animate(e,{duration:N.animateDuration,easing:N.animateEase,queue:!1,step:d})},getContentPositionX:function(){return y()},getContentPositionY:function(){return z()},getContentWidth:function(){return S},getContentHeight:function(){return T},getPercentScrolledX:function(){return y()/(S-P)},getPercentScrolledY:function(){return z()/(T-Q)},getIsScrollableH:function(){return X},getIsScrollableV:function(){return W},getContentPane:function(){return O},scrollToBottom:function(a){p(Z,a)},hijackInternalLinks:a.noop,destroy:function(){M()}}),d(c)}return b=a.extend({},a.fn.jScrollPane.defaults,b),a.each(["arrowButtonSpeed","trackClickSpeed","keyboardSpeed"],function(){b[this]=b[this]||b.speed}),this.each(function(){var d=a(this),e=d.data("jsp");e?e.reinitialise(b):(a("script",d).filter('[type="text/javascript"],:not([type])').remove(),e=new c(d,b),d.data("jsp",e))})},a.fn.jScrollPane.defaults={showArrows:!1,maintainPosition:!0,stickToBottom:!1,stickToRight:!1,clickOnTrack:!0,autoReinitialise:!1,autoReinitialiseDelay:500,verticalDragMinHeight:0,verticalDragMaxHeight:99999,horizontalDragMinWidth:0,horizontalDragMaxWidth:99999,contentWidth:void 0,animateScroll:!1,animateDuration:300,animateEase:"linear",hijackInternalLinks:!1,verticalGutter:4,horizontalGutter:4,mouseWheelSpeed:3,arrowButtonSpeed:0,arrowRepeatFreq:50,arrowScrollOnHover:!1,trackClickSpeed:0,trackClickRepeatFreq:70,verticalArrowPositions:"split",horizontalArrowPositions:"split",enableKeyboardNavigation:!0,hideFocus:!1,keyboardSpeed:0,initialDelay:300,speed:30,scrollPagePercent:.8}}); \ No newline at end of file diff --git a/frontend/web/js/markerclusterer.js b/frontend/web/js/markerclusterer.js new file mode 100644 index 0000000..a7fab15 --- /dev/null +++ b/frontend/web/js/markerclusterer.js @@ -0,0 +1 @@ +function d(a){return function(b){this[a]=b}}function f(a){return function(){return this[a]}}var h; function i(a,b,c){this.extend(i,google.maps.OverlayView);this.b=a;this.a=[];this.l=[];this.V=[36,36,36,36,36];this.j=[];this.v=false;c=c||{};this.f=c.gridSize||60;this.R=c.maxZoom||null;this.j=c.styles||[];this.Q=c.imagePath||this.J;this.P=c.imageExtension||this.I;this.W=c.zoomOnClick||true;l(this);this.setMap(a);this.D=this.b.getZoom();var e=this;google.maps.event.addListener(this.b,"zoom_changed",function(){var g=e.b.mapTypes[e.b.getMapTypeId()].maxZoom,k=e.b.getZoom();if(!(k<0||k>g))if(e.D!=k){e.D= e.b.getZoom();e.m()}});google.maps.event.addListener(this.b,"bounds_changed",function(){e.i()});b&&b.length&&this.z(b,false)}h=i.prototype;h.J="images/markers/clasters";h.I="png";h.extend=function(a,b){return function(c){for(property in c.prototype)this.prototype[property]=c.prototype[property];return this}.apply(a,[b])};h.onAdd=function(){if(!this.v){this.v=true;m(this)}};h.O=function(){};h.draw=function(){}; function l(a){for(var b=0,c;c=a.V[b];b++)a.j.push({url:a.Q+(b+1)+"."+a.P,height:c,width:c})}h=i.prototype;h.u=f("j");h.L=f("a");h.N=f("a");h.C=function(){return this.R||this.b.mapTypes[this.b.getMapTypeId()].maxZoom};h.A=function(a,b){for(var c=0,e=a.length,g=e;g!==0;){g=parseInt(g/10,10);c++}c=Math.min(c,b);return{text:e,index:c}};h.T=d("A");h.B=f("A");h.z=function(a,b){for(var c=0,e;e=a[c];c++)n(this,e);b||this.i()}; function n(a,b){b.setVisible(false);b.setMap(null);b.q=false;b.draggable&&google.maps.event.addListener(b,"dragend",function(){b.q=false;a.m();a.i()});a.a.push(b)}h=i.prototype;h.o=function(a,b){n(this,a);b||this.i()};h.S=function(a){var b=-1;if(this.a.indexOf)b=this.a.indexOf(a);else for(var c=0,e;e=this.a[c];c++)if(e==a)b=c;if(b==-1)return false;this.a.splice(b,1);a.setVisible(false);a.setMap(null);this.m();this.i();return true};h.M=function(){return this.l.length};h.getMap=f("b");h.setMap=d("b"); h.t=f("f");h.U=d("f");function o(a,b){var c=a.getProjection(),e=new google.maps.LatLng(b.getNorthEast().lat(),b.getNorthEast().lng()),g=new google.maps.LatLng(b.getSouthWest().lat(),b.getSouthWest().lng());e=c.fromLatLngToDivPixel(e);e.x+=a.f;e.y-=a.f;g=c.fromLatLngToDivPixel(g);g.x-=a.f;g.y+=a.f;e=c.fromDivPixelToLatLng(e);c=c.fromDivPixelToLatLng(g);b.extend(e);b.extend(c);return b}i.prototype.K=function(){this.m();this.a=[]}; i.prototype.m=function(){for(var a=0,b;b=this.l[a];a++)b.remove();for(a=0;b=this.a[a];a++){b.q=false;b.setMap(null);b.setVisible(false)}this.l=[]};i.prototype.i=function(){m(this)}; function m(a){if(a.v)for(var b=o(a,new google.maps.LatLngBounds(a.b.getBounds().getSouthWest(),a.b.getBounds().getNorthEast())),c=0,e;e=a.a[c];c++){var g=false;if(!e.q&&b.contains(e.getPosition())){for(var k=0,j;j=a.l[k];k++)if(!g&&j.getCenter()&&j.s.contains(e.getPosition())){g=true;j.o(e);break}if(!g){j=new p(a);j.o(e);a.l.push(j)}}}}function p(a){this.h=a;this.b=a.getMap();this.f=a.t();this.d=null;this.a=[];this.s=null;this.k=new q(this,a.u(),a.t())} p.prototype.o=function(a){var b;a:if(this.a.indexOf)b=this.a.indexOf(a)!=-1;else{b=0;for(var c;c=this.a[b];b++)if(c==a){b=true;break a}b=false}if(b)return false;if(!this.d){this.d=a.getPosition();r(this)}if(this.a.length==0){a.setMap(this.b);a.setVisible(true)}else if(this.a.length==1){this.a[0].setMap(null);this.a[0].setVisible(false)}a.q=true;this.a.push(a);if(this.b.getZoom()>this.h.C())for(a=0;b=this.a[a];a++){b.setMap(this.b);b.setVisible(true)}else if(this.a.length<2)s(this.k);else{a=this.h.u().length; b=this.h.B()(this.a,a);this.k.setCenter(this.d);a=this.k;a.w=b;a.ba=b.text;a.X=b.index;if(a.c)a.c.innerHTML=b.text;b=Math.max(0,a.w.index-1);b=Math.min(a.j.length-1,b);b=a.j[b];a.H=b.url;a.g=b.height;a.n=b.width;a.F=b.Z;a.anchor=b.Y;a.G=b.$;this.k.show()}return true};p.prototype.getBounds=function(){r(this);return this.s};p.prototype.remove=function(){this.k.remove();delete this.a};p.prototype.getCenter=f("d");function r(a){a.s=o(a.h,new google.maps.LatLngBounds(a.d,a.d))}p.prototype.getMap=f("b"); function q(a,b,c){a.h.extend(q,google.maps.OverlayView);this.j=b;this.aa=c||0;this.p=a;this.d=null;this.b=a.getMap();this.w=this.c=null;this.r=false;this.setMap(this.b)} q.prototype.onAdd=function(){this.c=document.createElement("DIV");if(this.r){this.c.style.cssText=t(this,u(this,this.d));this.c.innerHTML=this.w.text}this.getPanes().overlayImage.appendChild(this.c);var a=this;google.maps.event.addDomListener(this.c,"click",function(){var b=a.p.h;google.maps.event.trigger(b,"clusterclick",[a.p]);if(b.W){a.b.panTo(a.p.getCenter());a.b.fitBounds(a.p.getBounds())}})}; function u(a,b){var c=a.getProjection().fromLatLngToDivPixel(b);c.x-=parseInt(a.n/2,10);c.y-=parseInt(a.g/2,10);return c}q.prototype.draw=function(){if(this.r){var a=u(this,this.d);this.c.style.top=a.y+"px";this.c.style.left=a.x+"px"}};function s(a){if(a.c)a.c.style.display="none";a.r=false}q.prototype.show=function(){if(this.c){this.c.style.cssText=t(this,u(this,this.d));this.c.style.display=""}this.r=true};q.prototype.remove=function(){this.setMap(null)}; q.prototype.onRemove=function(){if(this.c&&this.c.parentNode){s(this);this.c.parentNode.removeChild(this.c);this.c=null}};q.prototype.setCenter=d("d"); function t(a,b){var c=[];document.all?c.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="'+a.H+'");'):c.push("background:url("+a.H+");");if(typeof a.e==="object"){typeof a.e[0]==="number"&&a.e[0]>0&&a.e[0]0&&a.e[1]')}$(".gallery-show-min img:first-child").addClass("gallery-active-pic"),$(".gallery-show-min img:last-child").css({marginRight:0}),$(".gallery-show-min").append('');for(var o=0;o')}var d=$(".gallery-show-big tr:first-child").find("img"),h=d.attr("data-link");d.attr("src",h);var p=m,f=$(window).height();$(".gallery-page");755>f&&($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td").css({height:f/p+"px"}),$(".gallery-show-big img").css({height:f/p+"px"})),i();var v=$(".gallery-show-min img");$(v).removeClass("gallery-active-pic"),$(v[s]).addClass("gallery-active-pic"),$(".border-gallery").css({left:c*s}),a(),0==s?$(".gallery-big-left").css({display:"none"}):$(".gallery-big-left").css({display:"block"})}function i(){var l=$(".gallery-show-min img"),i=$(".gallery-show-min img").length;n>=i?$(".gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right").css({display:"none"}):($(".gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right").css({display:"block"}),$(".gallery-min-left").css({display:"none"})),$(".gallery-show-min img").on("click",function(){function a(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var s=l,e=$(".gallery-show-min").offset().left;s=$(s[2]).offset().left-e,$(".gallery-show-min img").removeClass("gallery-active-pic"),$(this).addClass("gallery-active-pic");var r=$(".gallery-active-pic").offset().left-e,g=$(".gallery-active-pic").index(),t=i-(g+1);2>=g&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-left").css({display:"none"})),2==g&&(a(),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o),$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list")),n-1>=g&&(a(),$(".border-gallery").css({left:r}),g>3&&$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o)),g>=n-1&&($(".gallery-min-left").css({display:"block"}),i==n&&g==n-1&&($(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:0},o)),0==t&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().prev().prev().addClass("act-list"),setTimeout(function(){$(".gallery-min-right").css({display:"none"})},o)),1==t&&(a(),$(".gallery-show-min").stop().animate({marginLeft:-(r-s-c)},o,function(){$(".gallery-min-right").css({display:"none"})}),$(".border-gallery").css({left:r}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().prev().addClass("act-list")),2==t&&(a(),$(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o,function(){$(".gallery-min-right").css({display:"none"})}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list")),t>2&&(console.log(">2"),a(),$(".border-gallery").css({left:r}),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o,function(){$(".gallery-min-right").css({display:"block"})}),$(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list")),n>=i&&$(".gallery-min-left").css({display:"none"})),i>n&&t>2&&$(".gallery-min-right").css({display:"block"}),3==g&&($(".gallery-show-min img").removeClass("act-list"),$(this).prev().prev().addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-(r-s)},o),$(l[1]).click(function(){$(".gallery-show-min").stop().animate({marginLeft:0},o)}),n>=i?$(".gallery-show-min").stop().animate({marginLeft:0},o):$(".gallery-min-left").attr("style",'disply:"block"')),g>=1&&i-1>g&&$(".gallery-big-left, .gallery-big-right").css({display:"block"}),g==i-1&&$(".gallery-big-right").css({display:"none"}),0==g&&$(".gallery-big-left").css({display:"none"})})}function a(){var l=$(".gallery-show-min img");$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-right").on("click",function(){var i=$(".act-list"),a=i.index()+1,s=$(".gallery-show-min img").length,e=s-a;if($(this).css("display","none"),e>=2*n-1&&($(".gallery-show-min img").removeClass("act-list"),$(l[a+(n-1)]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-((a+(n-1))*c)},o,function(){$(".gallery-min-right").css("display","block"),2*n>e&&$(".gallery-min-right").css("display","none")})),2*n-1>e){var r=s-(a+4);r=a+r-1,$(".gallery-show-min img").removeClass("act-list"),$(l[r]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-(r*c)},o,function(){})}a>0&&setTimeout(function(){$(".gallery-min-left").css({display:"block"})},o)})}function s(){var l=$(".gallery-show-min img");$(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-min-left").on("click",function(){var i=$(".act-list"),a=i.index()+1,s=a-1;s>0&&($(this).css("display","none"),n-1>=s&&($(".gallery-show-min img").removeClass("act-list"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:0},o,function(){n+1>=a?$(".gallery-min-right").css({display:"block"}):$(".gallery-min-left").css("display","block")})),s>n-1&&($(".gallery-show-min img").removeClass("act-list"),$(l[a-(n+1)]).addClass("act-list"),$(".gallery-show-min").stop().animate({marginLeft:-((a-(n+1))*c)},o,function(){n+1>=a||($(".gallery-min-right").css("display","block"),$(".gallery-min-left").css("display","block"))})))})}function e(){var l=$(".gallery-show-min img").length,i=$(".gallery-show-min img"),a=3*c;$(".gallery-big-right").on("click",function(){function s(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var e=$(".gallery-active-pic"),r=e.index()+1,g=r;2>=r&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s(),$(".gallery-show-min").stop().animate({marginLeft:0},o)),l-r>0&&r>2&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(i[r]).prev().prev().addClass("act-list"),s(),$(".border-gallery").css({left:c*r}),l-r>2&&$(".gallery-show-min").stop().animate({marginLeft:-(r*c-a+c)},o),r>=n-2&&r>l&&setTimeout(function(){$(".gallery-min-left").css({display:"block"})},o),r>=l-3&&$(".gallery-min-right").css({display:"none"}),r>=3&&l-4>=r&&$(".gallery-min-right").css({display:"block"})),r>=1&&($(".gallery-big-left").css({display:"block"}),l>n&&r>2&&$(".gallery-min-left").css({display:"block"})),r+1>=l&&$(".gallery-big-right").css({display:"none"})})}function r(){var l=$(".gallery-show-min img").length,i=$(".gallery-show-min img"),a=3*c;$(".gallery-big-left").on("click",function(){function s(){var l=$(".gallery-show-big tr");$(".gallery-show-big tr").css({display:"none"}),$(l[g]).fadeIn(100);var i=$(l[g]).find("img"),a=i.attr("data-link");i.attr("src",a)}var e=$(".gallery-active-pic"),r=e.index()-1,g=r;2>=r&&(r>0&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s(),$(".gallery-show-min").stop().animate({marginLeft:0},o)),0==r&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[0]).addClass("gallery-active-pic"),$(".gallery-show-min img:first-child").addClass("act-list"),$(".border-gallery").css({left:c*r}),s())),3>r&&setTimeout(function(){$(".gallery-min-left").css({display:"none"})},o),l-r>0&&r>2&&($(".gallery-show-min img").removeClass("gallery-active-pic act-list"),$(i[r]).addClass("gallery-active-pic"),$(i[r]).prev().prev().addClass("act-list"),s(),$(".border-gallery").css({left:c*r}),l-r>2&&$(".gallery-show-min").stop().animate({marginLeft:-(r*c-a+c)},o),r>=3&&l-4>=r&&$(".gallery-min-right").css({display:"block"})),1>r&&$(".gallery-big-left").css({display:"none"}),l-2>=r&&$(".gallery-big-right").css({display:"block"})})}$("body").append('
');var g=152,t=20,n=5,o=500,c=g+t,y=$(".gallery-page"),m=1.68;$(".gallery-box-min").click(function(g){g.preventDefault();var t=$(this).parent().find(".gallery-box-hidden");if($(t).hasClass("gallery-box-hidden")){var n=m,o=$(window).height(),c=$(".gallery-page");if(755>o)$("#overlay").fadeIn(400,function(){$(".gallery-page").css({display:"block",marginTop:-(y/2)}).animate({opacity:1,top:"50%"},200)}),c.css({height:o/n+148+"px",marginTop:-((o/n+148)/2)+"px"});else{var y=$(".gallery-show-big-wrp").height()+$(".galley-show-min-wrapper").height();$("#overlay").fadeIn(400,function(){$(".gallery-page").css({display:"block",marginTop:-(y/2)}).animate({opacity:1,top:"50%"},200)})}l(this),i(),$(".gallery-min-right").unbind("click"),$(".gallery-min-left").unbind("click"),$(".gallery-min-right").bind("click",a()),$(".gallery-min-left").bind("click",s()),$(".gallery-big-right").unbind("click"),$(".gallery-big-left").unbind("click"),$(".gallery-big-right").bind("click",e()),$(".gallery-big-left").bind("click",r())}}),$(".closed-form, #overlay").click(function(){$(".gallery-page").animate({opacity:0,top:255},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)}),$(".gallery-big-left, .gallery-big-right").attr("style",""),$(".gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big").empty()});var d=m;$(window).resize(function(){var l=$(window).height();755>l?($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td").css({height:l/d+"px"}),$(".gallery-show-big img").css({height:l/d+"px"}),y.css({height:l/d+148+"px",marginTop:-((l/d+148)/2)+"px"})):($(".gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td, .gallery-show-big img").css({height:560}),y.css({height:710,marginTop:"-355px"}))})}); \ No newline at end of file diff --git a/frontend/web/js/no-comprss/forms-nocompress.js b/frontend/web/js/no-comprss/forms-nocompress.js new file mode 100644 index 0000000..4b192e5 --- /dev/null +++ b/frontend/web/js/no-comprss/forms-nocompress.js @@ -0,0 +1,64 @@ +$(document).ready(function(){ + if($('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy, .blog-buttons-offer, .get-project, .main-menu-icons-home').length>0) { + var overlayLength = $('#overlay').length + $.post("forms-modal.html", function (data) { + if ( !overlayLength>0 ){ + $("body").append('
'); + } + $("body").append(data); + }).complete(function() { + $('.closed-form, #overlay').on('click', function(){ + $('#modal_form_favorite, #modal_form_offer, #modal_form_question') + .animate({opacity: 0, top: '30%'}, 200, + function(){ + $(this).css('display', 'none'); + $('#overlay').fadeOut(400); + } + ); + }); + }); + } + + addToFavorites(); + addToOffer(); + addCuestions(); + + function addToFavorites(){ + $('.blog-buttons-add-favorite, .performance-vacancy-add-favorite a, .get-list, .main-menu-icons-copy').click(function(e){ + var newMarg = $(window).scrollTop(); + e.preventDefault() + $('#overlay').fadeIn(400, + function(){ + $('#modal_form_favorite') + .css({display:'block', marginTop:-230+newMarg}) + .animate({opacity: 1, top: '50%'}, 200); + }); + }) + } + + function addToOffer(){ + $('.blog-buttons-offer, .get-project, .main-menu-icons-home').click(function(e){ + var newMarg = $(window).scrollTop(); + e.preventDefault() + $('#overlay').fadeIn(400, + function(){ + $('#modal_form_offer') + .css({display:'block', marginTop:-313+newMarg}) + .animate({opacity: 1, top: '50%'}, 200); + }); + }) + } + + function addCuestions() { + $('.header-contacts-menu li:last-child').click(function(e){ + var newMarg = $(window).scrollTop(); + e.preventDefault() + $('#overlay').fadeIn(400, + function(){ + $('#modal_form_question') + .css({display:'block', marginTop:-230+newMarg}) + .animate({opacity: 1, top: '50%'}, 200); + }); + }) + } +}); \ No newline at end of file diff --git a/frontend/web/js/no-comprss/jquery.rating-nocompress.js b/frontend/web/js/no-comprss/jquery.rating-nocompress.js new file mode 100644 index 0000000..5b3a4c9 --- /dev/null +++ b/frontend/web/js/no-comprss/jquery.rating-nocompress.js @@ -0,0 +1,227 @@ +/** http://biznesguide.ru/coding/156.html*/ + +;(function($){ + $.rating = function(e, o){ + + this.options = $.extend({ + fx: 'float', + image: 'images/stars.png', + width: 15, + stars: 5, + minimal: 0, + titles: ['голос','голоса','голосов'], + readOnly: false, + url: '', + type: 'post', + loader: 'images/ajax-loader.gif', + click: function(){} + }, o || {}); + + this.el = $(e); + this.left = 0; + + this.val = parseFloat($('.val',e).val()) || 0; + + if(this.val > this.options.stars) this.val = this.options.stars; + if(this.val < 0) this.val = 0; + + this.old = this.val; + + this.votes = parseInt($('.votes',e).val()) || ''; + this.voteID = $('.vote-id',e).val() || ''; + + this.vote_wrap = $('
'); + this.vote_block = $('
'); + this.vote_hover = $('
'); + this.vote_stars = $('
'); + this.vote_active = $('
'); + this.vote_result = $('
'); + this.vote_success = $('
'); + this.loader = $('load...'); + + this.init(); + }; + + + var $r = $.rating; + + $r.fn = $r.prototype = { + rating: '0.1' + }; + + $r.fn.extend = $r.extend = $.extend; + + $r.fn.extend({ + + init: function(){ + + this.render(); + + if(this.options.readOnly) return; + + var self = this, left = 0, width = 0; + + this.vote_hover.bind('mousemove mouseover',function(e){ + + if(self.options.readOnly) return; + + var $this = $(this), + score = 0; + + left = e.clientX>0 ? e.clientX: e.pageX; + width = left - $this.offset().left - 2; + + var max = self.options.width*self.options.stars, + min = self.options.minimal*self.options.width; + + if(width > max) width = max; + if(width < min) width = min; + + score = Math.round( width/self.options.width * 10 ) / 10; //округляем до 1 знака после запятой + + if(self.options.fx == 'half'){ + width = Math.ceil(width/self.options.width*2)*self.options.width/2; + } + else if(self.options.fx != 'float'){ + width = Math.ceil(width/self.options.width) * self.options.width; + } + + score = Math.round( width/self.options.width * 10 ) / 10; + + self.vote_active.css({ + 'width':width, + 'background-position':'0 15px' + }); + + self.vote_success.html('Оценка: '+score + 'из 5'); + + }) + .bind('mouseout',function(){ + if(self.options.readOnly) return; + self.reset(); + self.vote_success.empty(); + }). + bind('click.rating',function(){ + + if(self.options.readOnly) return; + + var score = Math.round( width/self.options.width * 10 ) / 10; + + if(score > self.options.stars) score = self.options.stars; + if(score < 0) score = 0; + + self.old = self.val; + self.val = (self.val*self.votes +score)/(self.votes + 1); + self.val.toFixed(1); + self.vote_success.html('Ваша оценка: '+score); + if(self.options.url != ''){ + + self.send(score); + } + + self.options.readOnly = true; + self.options.click.apply(this,[score]); + }); + + }, + set: function(){ + this.vote_active.css({ + 'width':this.val*this.options.width, + 'background-position':'0 15px' + }); + }, + reset: function(){ + this.vote_active.css({ + 'width':this.old*this.options.width, + 'background-position':'0 15px' + }); + }, + setvoters: function(){ + this.vote_result.html(this.declOfNum(this.votes)); + }, + render: function(){ + + this.el.html(this.vote_wrap.append( + this.vote_hover.css({ + padding:'0 4px', + height:this.options.width, + width:this.options.width*this.options.stars + }), + this.vote_result.text(this.declOfNum(this.votes)), + this.vote_success + )); + + + this.vote_block.append( + this.vote_stars.css({ + height:this.options.width, + width:this.options.width*this.options.stars, + background:"url('"+this.options.image+"') 0 0" + }), + this.vote_active.css({ + height:this.options.width, + width:this.val*this.options.width, + background:"url('"+this.options.image+"') 0 15px" + }) + ).appendTo(this.vote_hover); + + }, + send: function(score){ + + var self = this; + this.vote_result.html(this.loader); + + $.ajax({ + url: self.options.url, + type: self.options.type, + data:{id:this.voteID,score:score}, + dataType: 'json', + success: function(data){ + if(data.status == 'OK') { + self.votes++; + self.set(); + } + else{ + self.reset(); + } + + self.setvoters(); + + if(data.msg)self.vote_success.html(data.msg); + } + }); + + }, + declOfNum: function(number){ + if(number <= 0) return ''; + number = Math.abs(Math.floor(number)); + cases = [2, 0, 1, 1, 1, 2]; + return number+' '+ this.options.titles[ (number%100>4 && number%100<20)? 2 : cases[(number%10<5)?number%10:5] ]; + } + }); + + + $.fn.rating = function(o){ + + if (typeof o == 'string') { + var instance = $(this).data('rating'), args = Array.prototype.slice.call(arguments, 1); + return instance[o].apply(instance, args); + } else { + return this.each(function() { + var instance = $(this).data('rating'); + if (instance) { + if (o) { + $.extend(instance.options, o); + } + + instance.init(); + + } else { + + $(this).data('rating', new $r(this, o)); + } + }); + } + }; + +})(jQuery); \ No newline at end of file diff --git a/frontend/web/js/no-comprss/myGallery.js b/frontend/web/js/no-comprss/myGallery.js new file mode 100644 index 0000000..fee2443 --- /dev/null +++ b/frontend/web/js/no-comprss/myGallery.js @@ -0,0 +1,471 @@ +$(document).ready(function(){ + $('body').append('
'); + + var previewImgWidth = 152; + var previewImgMargin = 20; + var minPicLenght = 5; + + var timeAnimate = 500; + var newPrevScrl = previewImgWidth+previewImgMargin; + var gallery = $('.gallery-page'); + var procent = 1.68; + $('.gallery-box-min').click(function(e){ + e.preventDefault(); + var galleryWindowShow = $(this).parent().find('.gallery-box-hidden'); + if($(galleryWindowShow).hasClass('gallery-box-hidden')) { + var newHeight = procent; + var windH = $(window).height(); + var gallery = $('.gallery-page'); + if (windH<755){ + $('#overlay').fadeIn(400, + function(){$('.gallery-page').css({display:'block', marginTop:-(gallShowHeight/2)}).animate({opacity: 1, top:'50%'}, 200);}); + gallery.css({height:((windH/newHeight)+148)+'px', marginTop:-(((windH/newHeight)+148)/2)+'px'}); + } + else { + var gallShowHeight = ($('.gallery-show-big-wrp').height())+($('.galley-show-min-wrapper').height()); + $('#overlay').fadeIn(400, + function(){$('.gallery-page').css({display:'block', marginTop:-(gallShowHeight/2)}).animate({opacity: 1, top:'50%'}, 200);}); + } + + addImgToModal(this); + clickSmallImg(); + $('.gallery-min-right').unbind("click"); + $('.gallery-min-left').unbind("click"); + $('.gallery-min-right').bind("click", arrowNaviRight()); + $('.gallery-min-left').bind("click", arrowNaviLeft()); + + $('.gallery-big-right').unbind("click"); + $('.gallery-big-left').unbind("click"); + $('.gallery-big-right').bind("click", bigClickRight()); + $('.gallery-big-left').bind("click", bigClickLeft()); + } + }); + + $('.closed-form, #overlay').click( function(){ + $('.gallery-page') + .animate({opacity: 0, top: 255}, 200, + function(){ + $(this).css('display', 'none'); + $('#overlay').fadeOut(400); + } + ); + $('.gallery-big-left, .gallery-big-right').attr('style',''); + $('.gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big').empty(); + }); + function addImgToModal(label){ + $('.gallery-show-wr .gallery-show-min, .gallery-show-wr .gallery-show-big').empty(); + var minClickIndex = $(label).index(); + $('.gallery-show-min').css({marginLeft:0}); + var previewImg = $(label).parent().find('.gallery-box-preview span'); + var bigImg = $(label).parent().find('.gallery-box-big span'); + for(var pi=0;pi'); + } + $('.gallery-show-min img:first-child').addClass('gallery-active-pic'); + $('.gallery-show-min img:last-child').css({marginRight:0}); + $('.gallery-show-min').append(''); + + + for (var px = 0; px< bigImg.length; px++) { + var bigImgLink = $(bigImg[px]).attr('data-link'); + $('.gallery-show-big').append(''); + } + var bigImgFirstShow = $('.gallery-show-big tr:first-child').find('img'); + var newBigImgFirstShow=bigImgFirstShow.attr('data-link'); + bigImgFirstShow.attr('src',newBigImgFirstShow); + + var newHeight = procent; + var windH = $(window).height(); + var gallery = $('.gallery-page'); + if (windH<755){ + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td').css({height:(windH/newHeight)+'px'}); + $('.gallery-show-big img').css({height:(windH/newHeight)+'px'}); + } + + sizeMinBlock(); + function sizeMinBlock(){ + var sizeimmin = $('.gallery-show-min img').length; + $('.gallery-show-min').css({width:(newPrevScrl*sizeimmin)-previewImgMargin}); + } + + var previewImgMin = $('.gallery-show-min img'); + $(previewImgMin).removeClass('gallery-active-pic'); + $(previewImgMin[minClickIndex]).addClass('gallery-active-pic'); + $('.border-gallery').css({left:newPrevScrl*minClickIndex}); + + function test(){ + var indexBigImg = $('.gallery-show-big tr'); + $('.gallery-show-big tr').css({display:'none'}); + + $(indexBigImg[minClickIndex]).fadeIn(100); + var bigImgShow = $(indexBigImg[minClickIndex]).find('img'); + var newBigImgShow=bigImgShow.attr('data-link'); + bigImgShow.attr('src',newBigImgShow); + } + test() + + if(minClickIndex==0) { + $('.gallery-big-left').css({display:'none'}) + } + else {$('.gallery-big-left').css({display:'block'})} + } + + function clickSmallImg(){ + var img2 = $('.gallery-show-min img'); + + var allMinImgLenght = $('.gallery-show-min img').length; + + if(allMinImgLenght<=minPicLenght){ + $('.gallery-min-left, .gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right').css({display:'none'}) + } + else { + $('.gallery-min-right, .copy-gallery-min-left, .copy-gallery-min-right').css({display:'block'}) + $('.gallery-min-left').css({display:'none'}) + } + + $('.gallery-show-min img').on('click', function(){ + var img3 = img2; + var wrappOffset = $('.gallery-show-min').offset().left; + img3 = ($(img3[2]).offset().left)-wrappOffset; + + $('.gallery-show-min img').removeClass('gallery-active-pic'); + $(this).addClass('gallery-active-pic'); + + var offsetParent = ($('.gallery-active-pic').offset().left)-wrappOffset; + var smallImgIndex = $('.gallery-active-pic').index(); + //console.log('---------/'+offsetParent) + + function test(){ + var indexBigImg = $('.gallery-show-big tr'); + $('.gallery-show-big tr').css({display:'none'}); + + $(indexBigImg[smallImgIndex]).fadeIn(100); + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img'); + var newBigImgShow=bigImgShow.attr('data-link'); + bigImgShow.attr('src',newBigImgShow); + } + + var lenghtLeft = allMinImgLenght-(smallImgIndex+1); + //console.log(lenghtLeft) + + if(smallImgIndex<=3-1) { + test(); + $('.border-gallery').css({left:offsetParent}); + $('.gallery-show-min img').removeClass('act-list'); + $('.gallery-show-min img:first-child').addClass('act-list') + $('.gallery-min-left').css({display:'none'}) + } + if(smallImgIndex==3-1){ + test(); + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate) + $('.gallery-show-min img').removeClass('act-list'); + $('.gallery-show-min img:first-child').addClass('act-list') + } + + if(smallImgIndex<=minPicLenght-1) { + test(); + $('.border-gallery').css({left:offsetParent}); + if(smallImgIndex>3) { + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate) + } + } + + if(smallImgIndex>=minPicLenght-1) { + $('.gallery-min-left').css({display:'block'}); + if(allMinImgLenght==minPicLenght){ + if(smallImgIndex==minPicLenght-1){ + $('.border-gallery').css({left:offsetParent}); + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate) + } + } + if(lenghtLeft==0) { + test(); + $('.border-gallery').css({left:offsetParent}); + + $('.gallery-show-min img').removeClass('act-list'); + $(this).prev().prev().prev().prev().addClass('act-list') + setTimeout(function(){ + $('.gallery-min-right').css({display:'none'}) + },timeAnimate) + } + if( lenghtLeft==1) { + test(); + $('.gallery-show-min').stop().animate({marginLeft:-((offsetParent-img3)-newPrevScrl)},timeAnimate, function(){ + $('.gallery-min-right').css({display:'none'}) + + }) + $('.border-gallery').css({left:offsetParent}); + + $('.gallery-show-min img').removeClass('act-list'); + $(this).prev().prev().prev().addClass('act-list') + } + if (lenghtLeft==2) { + test(); + $('.border-gallery').css({left:offsetParent}); + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate, function(){$('.gallery-min-right').css({display:'none'})}) + + $('.gallery-show-min img').removeClass('act-list'); + $(this).prev().prev().addClass('act-list') + } + + if (lenghtLeft>2) { + console.log('>2') + test(); + $('.border-gallery').css({left:offsetParent}); + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate, function(){$('.gallery-min-right').css({display:'block'})}) + + $('.gallery-show-min img').removeClass('act-list'); + $(this).prev().prev().addClass('act-list') + } + if(allMinImgLenght<=minPicLenght) { + $('.gallery-min-left').css({display:'none'}) + } + } + + if(allMinImgLenght>minPicLenght && lenghtLeft>2) { + $('.gallery-min-right').css({display:'block'}) + } + + if(smallImgIndex==4-1){ + $('.gallery-show-min img').removeClass('act-list'); + $(this).prev().prev().addClass('act-list') + $('.gallery-show-min').stop().animate({marginLeft:-(offsetParent-img3)},timeAnimate) + $(img2[1]).click(function(){ + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate); + }); + if (allMinImgLenght<=minPicLenght) { + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate); + } + else { + $('.gallery-min-left').attr('style', 'disply:"block"'); + } + } + if(smallImgIndex>=1 && smallImgIndex=(minPicLenght*2)-1) { + $('.gallery-show-min img').removeClass('act-list'); + $(minList[actListIndex+(minPicLenght-1)]).addClass('act-list'); + $('.gallery-show-min').stop().animate({marginLeft:-((actListIndex+(minPicLenght-1))*newPrevScrl)},timeAnimate, function(){ + $('.gallery-min-right').css('display','block') + if (howLeft<(minPicLenght*2)) { + $('.gallery-min-right').css('display','none') + } + }); + } + if (howLeft<(minPicLenght*2)-1) { + var newActlistIndex = newAllMinImgLenght-(actListIndex+4); + newActlistIndex = (actListIndex+newActlistIndex)-1; + $('.gallery-show-min img').removeClass('act-list'); + $(minList[newActlistIndex]).addClass('act-list'); + $('.gallery-show-min').stop().animate({marginLeft:-((newActlistIndex)*newPrevScrl)},timeAnimate, function(){ + //$('.copy-gallery-min-right').css('display','none') + }); + } + + if(actListIndex>0) { + setTimeout(function(){ + $('.gallery-min-left').css({display:'block'}) + },timeAnimate) + } + }) + } + + function arrowNaviLeft(){ + var minList = $('.gallery-show-min img'); + $('.gallery-show-min img').removeClass('act-list'); + $('.gallery-show-min img:first-child').addClass('act-list'); + + $('.gallery-min-left').on('click', function(){ + var actList = $('.act-list'); + var actListIndex = actList.index()+1; + var howLeft = actListIndex-1; + if (howLeft>0) { + $(this).css('display','none'); + if(howLeft<=minPicLenght-1) { + $('.gallery-show-min img').removeClass('act-list'); + $('.gallery-show-min img:first-child').addClass('act-list'); + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate, function(){ + if(actListIndex<=minPicLenght+1) { + //$('.copy-gallery-min-right').attr('style', '') + $('.gallery-min-right').css({display:'block'}) + } else { + $('.gallery-min-left').css('display','block')} + }); + } + if (howLeft>minPicLenght-1) { + $('.gallery-show-min img').removeClass('act-list'); + $(minList[actListIndex-(minPicLenght+1)]).addClass('act-list'); + $('.gallery-show-min').stop().animate({marginLeft:-((actListIndex-(minPicLenght+1))*newPrevScrl)},timeAnimate, function(){ + if(actListIndex<=minPicLenght+1) { + //$('.copy-gallery-min-left').css({display:'none'}) + } else { + $('.gallery-min-right').css('display','block') + $('.gallery-min-left').css('display','block')} + }); + } + } + }); + } + + function bigClickRight() { + var allMinImgLenght = $('.gallery-show-min img').length; + var img2 = $('.gallery-show-min img'); + var img3 = newPrevScrl*3; + $('.gallery-big-right').on('click', function(){ + var oneClick = $('.gallery-active-pic'); + var oneClickIndex = oneClick.index()+1; + var smallImgIndex = oneClickIndex; + function test(){ + var indexBigImg = $('.gallery-show-big tr'); + $('.gallery-show-big tr').css({display:'none'}); + $(indexBigImg[smallImgIndex]).fadeIn(100); + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img'); + var newBigImgShow=bigImgShow.attr('data-link'); + bigImgShow.attr('src',newBigImgShow); + } + if(oneClickIndex<=3-1){ + $('.gallery-show-min img').removeClass('gallery-active-pic act-list'); + $(img2[oneClickIndex]).addClass('gallery-active-pic'); + $('.gallery-show-min img:first-child').addClass('act-list') + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)}); + test(); + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate) + } + if (allMinImgLenght-oneClickIndex>0 && oneClickIndex>3-1){ + $('.gallery-show-min img').removeClass('gallery-active-pic act-list'); + $(img2[oneClickIndex]).addClass('gallery-active-pic'); + $(img2[oneClickIndex]).prev().prev().addClass('act-list'); + test(); + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)}); + if(allMinImgLenght-oneClickIndex>2) { + $('.gallery-show-min').stop().animate({marginLeft:-((oneClickIndex*newPrevScrl)-img3+newPrevScrl)},timeAnimate) + } + if(oneClickIndex>=minPicLenght-2) { + if(oneClickIndex>allMinImgLenght) { + setTimeout(function(){ + $('.gallery-min-left').css({display:'block'}) + },timeAnimate) + } + } + if(oneClickIndex>=allMinImgLenght-3) { + $('.gallery-min-right').css({display:'none'}) + } + if(oneClickIndex>=3 && oneClickIndex<=allMinImgLenght-4){ + $('.gallery-min-right').css({display:'block'}) + } + } + if(oneClickIndex>=1) { + $('.gallery-big-left').css({display:'block'}) + if(allMinImgLenght>minPicLenght){ + if(oneClickIndex>3-1){ + $('.gallery-min-left').css({display:'block'}) + } + } + } + if(oneClickIndex+1>=allMinImgLenght) { + $('.gallery-big-right').css({display:'none'}) + } + }) + } + function bigClickLeft() { + var allMinImgLenght = $('.gallery-show-min img').length; + var img2 = $('.gallery-show-min img'); + var img3 = newPrevScrl*3; + $('.gallery-big-left').on('click', function(){ + var oneClick = $('.gallery-active-pic'); + var oneClickIndex = oneClick.index()-1; + var smallImgIndex = oneClickIndex; + function test(){ + var indexBigImg = $('.gallery-show-big tr'); + $('.gallery-show-big tr').css({display:'none'}); + $(indexBigImg[smallImgIndex]).fadeIn(100); + var bigImgShow = $(indexBigImg[smallImgIndex]).find('img'); + var newBigImgShow=bigImgShow.attr('data-link'); + bigImgShow.attr('src',newBigImgShow); + } + if(oneClickIndex<=3-1){ + if(oneClickIndex>0){ + $('.gallery-show-min img').removeClass('gallery-active-pic act-list'); + $(img2[oneClickIndex]).addClass('gallery-active-pic'); + $('.gallery-show-min img:first-child').addClass('act-list') + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)}); + test(); + $('.gallery-show-min').stop().animate({marginLeft:0},timeAnimate) + } + if(oneClickIndex==0) { + $('.gallery-show-min img').removeClass('gallery-active-pic act-list'); + $(img2[0]).addClass('gallery-active-pic'); + $('.gallery-show-min img:first-child').addClass('act-list') + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)}); + test() + } + } + if(oneClickIndex<3){ + setTimeout(function(){ + $('.gallery-min-left').css({display:'none'}) + },timeAnimate) + } + if (allMinImgLenght-oneClickIndex>0 && oneClickIndex>3-1){ + $('.gallery-show-min img').removeClass('gallery-active-pic act-list'); + $(img2[oneClickIndex]).addClass('gallery-active-pic'); + $(img2[oneClickIndex]).prev().prev().addClass('act-list'); + test(); + $('.border-gallery').css({left:(newPrevScrl*oneClickIndex)}); + if(allMinImgLenght-oneClickIndex>2) { + $('.gallery-show-min').stop().animate({marginLeft:-((oneClickIndex*newPrevScrl)-img3+newPrevScrl)},timeAnimate) + } + + if(oneClickIndex>=3 && oneClickIndex<=allMinImgLenght-4){ + $('.gallery-min-right').css({display:'block'}) + } + } + if(oneClickIndex<1) { + $('.gallery-big-left').css({display:'none'}) + } + if(oneClickIndex<=allMinImgLenght-2) { + $('.gallery-big-right').css({display:'block'}) + } + + }) + } + var newHeight = procent; + $(window).resize(function(){ + var windowHeight = ($(window).height()); + if (windowHeight<755){ + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td').css({height:(windowHeight/newHeight)+'px'}) + $('.gallery-show-big img').css({height:(windowHeight/newHeight)+'px'}) + gallery.css({height:((windowHeight/newHeight)+148)+'px', marginTop:-(((windowHeight/newHeight)+148)/2)+'px'}) + } + else { + $('.gallery-show-big-wrp, .gallery-show-big, .gallery-show-big tr td, .gallery-show-big img').css({height:560}) + gallery.css({height:710, marginTop:-(710/2)+'px'}) + } + }) +}); \ No newline at end of file diff --git a/frontend/web/js/no-comprss/script-nocompress.js b/frontend/web/js/no-comprss/script-nocompress.js new file mode 100644 index 0000000..8de5b52 --- /dev/null +++ b/frontend/web/js/no-comprss/script-nocompress.js @@ -0,0 +1,827 @@ +$(document).ready(function(){ + var checkscroll = []; + for(var ch=0;ch<2;ch++) { + checkscroll[checkscroll.length] = false; + } + contentHeight(); + resizeWindow(); + scrolling(); + menuBg(); + projectAllMenu(); + mapLoad(); + federationHome(); + validationForms(); + menuContent(); + jobClick(); + box15Height(); + formRezume(); + fileVal(); + newMenuMap(); + seeAllComm(); + gallerPage(); + selectAfter(); + tagPortfolio(); + seeAllProfile(); + featuresTags(); + inputNumber(); + videoFull(); + function resizeWindow(){ + $(window).resize(function(){ + contentHeight(); + }); + } + function contentHeight(){ + //прижимаем футер + var headerHeight = document.getElementsByClassName('section-box header'); + var menuHeight = document.getElementsByClassName('section-box menu-header-all'); + var contentHeight = document.getElementsByClassName('section-box content'); + var footerHeight = document.getElementsByClassName('section-box footer'); + $(contentHeight).css({minHeight:($(window).height())-($(footerHeight).height())-($(headerHeight).height())-($(menuHeight).height())}); + } + function scrolling(){ + //проверка браузера + var sUsrAg = navigator.userAgent; + if(sUsrAg.indexOf("Chrome") > -1) { + } else if (sUsrAg.indexOf("Safari") > -1) { + $('body').css({fontFamily:'arial'}); + } + var _browser = navigator.userAgent; + _browser = _browser.indexOf("WebKit"); + //scroll + var tempScrollTop = 0; + var currentScrollTop = 0; + + $(window).scroll(function(){ + if (_browser>=0) { + currentScrollTop = $('body').scrollTop(); + } else { + currentScrollTop = $('html').scrollTop(); + } + if (tempScrollTop < currentScrollTop ){ + if (currentScrollTop>=114) { + $('.menu-header-all').css({position:'fixed', zIndex:999}); + $('.section-box.content').css({marginTop:41}); + } + + if($('.section-box-6').hasClass('section-box-6')) { + if (currentScrollTop>offsetSect6 && !checkscroll[0]) { + checkscroll[0]=true; + landingAnimation(); + } + } + + if($('.section-box-8').hasClass('section-box-8')) { + if (currentScrollTop>offsetSect8 && !checkscroll[1]) { + checkscroll[1]=true; + landingAnimationWhyWork(); + } + if (currentScrollTop>(offsetSect8+300) && !checkscroll[2]) { + checkscroll[2]=true; + landingAnimationWhyWorkTwo(); + + } + } + } + + else if (tempScrollTop > currentScrollTop ){ + //console.log('вверх'); + if (currentScrollTop<=114) { + $('.menu-header-all').css({position:'relative'}); + $('.section-box.content').css({marginTop:0}); + } + + } + tempScrollTop = currentScrollTop; + }); + } + + function menuBg(){ + + var heightUlTwoMenu = $('ul.content-menu-first').height(); + $('.menu-two-wrapp').css({height:heightUlTwoMenu-1}); + + $('ul.content-menu-first').hover(function(){ + + },function(){ + $('.content-menu-first li').css({backgroundColor:'#fff'}); + }); + $('.content-menu-first li').hover(function(){ + var dataMenuBg = $(this).find('span').attr('data-menu-bg'); + + $('.content-menu-first li').css({backgroundColor:'#fff'}); + $('.content-menu-first li a').css({color:'#333333'}); + + $(this).css({backgroundColor:dataMenuBg}).find('ul li').css({backgroundColor:dataMenuBg}); + $('.content-menu-first li >ul li').mouseover(function(){ + $(this).parent().parent().css({backgroundColor:dataMenuBg}); + $('.content-menu-first li >ul li').css({backgroundColor:dataMenuBg}); + $('.content-menu-first li >ul li').removeClass('hov-arrow'); + $(this).addClass('hov-arrow'); + }) + + },function(){ + $('.hov-arrow').removeClass('hov-arrow'); + }); + var thirdUlMenu = $('ul.content-menu-first li ul li ul'); + thirdUlMenu.addClass('third-ul-menu'); + if( thirdUlMenu.hasClass('third-ul-menu') ) { + thirdUlMenu.parent().find('a').addClass('remove-link'); + $('.third-ul-menu li a').removeClass('remove-link'); + $('.remove-link').parent().addClass('yes-after'); + + var remLink = $('.remove-link'); + for (var ixx=0;ixx
') + } + } + + $('ul.content-menu-first li ul li ul li ul').removeClass('third-ul-menu').addClass('last-ul-menu'); + var lastUlMenu = $('ul.content-menu-first li ul li ul li ul'); + if( lastUlMenu.hasClass('last-ul-menu') ) { + lastUlMenu.parent().find('a').addClass('remove-link-two'); + $('.remove-link-two').parent().addClass('yes-after yes-after-two'); + + var remLastLink = $('ul.content-menu-first li ul li ul li.yes-after-two ul'); + remLastLink.find('li').removeClass('yes-after yes-after-two'); + remLastLink.find('a').removeClass('.remove-link-two'); + + var remLinkT = $('.remove-link-two'); + $('.last-ul-menu .remove-link-two').removeClass('remove-link-two') + for (var ixx=0;ixx
') + $('.last-ul-menu .hack-arrow').removeClass('hack-arrow') + } + } + + + $('ul.last-ul-menu').find('a').removeClass('remove-link-two'); + $('.remove-link, .remove-link-two').click(function(e){ + e.preventDefault(); + }); + + $('ul.content-menu-first > li').hover(function(){ + var dataImgThis = $(this).attr('data-img'); + $('.menu-two-wrapp').css({backgroundImage:'url('+dataImgThis+')'}) + }); + } + + function newMenuMap(){ + $('.company-performer-map-menu .content-menu-first>li>ul').addClass('content-menu-map-first'); + $('.company-performer-map-menu .content-menu-first>li>ul>li').addClass('content-menu-map-second'); + $('.company-performer-map-menu .content-menu-first>li').addClass('old-content-menu-map-zero'); + $('.company-performer-map-menu .content-menu-map-first').parent().removeClass('old-content-menu-map-zero').addClass('content-menu-map-zero'); + $('.company-performer-map-menu .content-menu-map-zero').click(function(e){ + e.preventDefault(); + }); + $('.company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero').click(function(e){ + e.preventDefault() + $.post("maps/maps.php", function (data) { + $("#map_cloud").empty(); + $("#map_cloud").append(data); + initialize(); + }); + }); + } + + function projectAllMenu() { + $('.all-project-home-title_menu li').click(function(){ + $('.all-project-home-title_menu li').removeClass('project-home-active') + $(this).addClass('project-home-active') + }) + } + + function mapLoad(){ + $('.settings-map-ul ul li a').click(function (e) { + e.preventDefault(); + $('.settings-map-ul ul li a').removeClass('active') + $(this).addClass('active') + $.post("maps/maps.php", function (data) { + $("#map_cloud").empty(); + $("#map_cloud").append(data); + initialize(); + }); + }); + } + mapLoadNewMenus() + function mapLoadNewMenus(){ + $('.all-project-home-title_menu ul li').click(function () { + $.post("maps/maps.php", function (data) { + $("#map_cloud").empty(); + $("#map_cloud").append(data); + initialize(); + }); + }); + } + + function federationHome(){ + var menu_width = 0; + $('.federation-home-list li').each(function(){ menu_width = menu_width + $(this).outerWidth()+9 }); + $('.federation-home-list').css({width:menu_width}); + + $('.federation-home-list li').click(function(){ + $('.federation-home-list li').removeClass('federation-home-list-active') + $(this).addClass('federation-home-list-active') + var fedTisIndex = $(this).index() + var fedBlocks = $('.federation-home-blocks-wr-blocks') + $(fedBlocks).css({display:'none'}) + $(fedBlocks[fedTisIndex]).css({display:'block'}) + }); + } + + if($('.section-box-6').hasClass('section-box-6')) { + var offsetSect6 = $('.section-box-6').offset().top; + offsetSect6 = offsetSect6-($(window).height()/2); + } + $('.lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr').css({opacity:0}) + function landingAnimation(){ + + var animBlockLand = $('.landing-your-buisnes-blocks'); + var animBlockLandArrow = $('.lan_yo_buis_arr'); + $(animBlockLand[0]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[0]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + setTimeout(function(){ + $(animBlockLand[1]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[1]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + },500) + setTimeout(function(){ + $(animBlockLand[2]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[2]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + },1000) + setTimeout(function(){ + $(animBlockLand[5]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[5]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + },1500) + setTimeout(function(){ + $(animBlockLand[4]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[4]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + },2000) + setTimeout(function(){ + $(animBlockLand[3]).css({transform:'rotateY(0deg)'}).find('.lan_yo_buis_img ').css({transition:'2s', opacity:1}); + $(animBlockLand[3]).find('.lan_yo_buis_txt').css({transition:'2s', opacity:1}); + },2500) + setTimeout(function(){ + $(animBlockLandArrow[0]).css({transition:'1s', opacity:1}); + },300); + setTimeout(function(){ + $(animBlockLandArrow[1]).css({transition:'1s', opacity:1}); + },650); + setTimeout(function(){ + $(animBlockLandArrow[4]).css({transition:'1s', opacity:1}); + },1300); + setTimeout(function(){ + $(animBlockLandArrow[2]).css({transition:'1s', opacity:1}); + },1950); + setTimeout(function(){ + $(animBlockLandArrow[3]).css({transition:'1s', opacity:1}); + },2600); + } + + if($('.section-box-8').hasClass('section-box-8')) { + var offsetSect8 = $('.section-box-8').offset().top; + offsetSect8 = offsetSect8-(($(window).height())-264); + } + var whyWorkImg = $('.landing-work-our-img-text'); + var whyWorkText = $('.landing-work-our-img p'); + whyWorkImg.css({marginTop:155, opacity:0}); + whyWorkText.css({display:'none'}); + + function landingAnimationWhyWork(){ + whyWorkImg.css({transition:'0.8s'}); + + $(whyWorkImg[0]).css({marginTop:0, opacity:1}); + $(whyWorkText[0]).delay(600).fadeIn(350); + + setTimeout(function(){ + $(whyWorkImg[1]).css({marginTop:0, opacity:1}); + $(whyWorkText[1]).delay(600).fadeIn(350) + },250); + + setTimeout(function(){ + $(whyWorkImg[2]).css({marginTop:0, opacity:1}); + $(whyWorkText[2]).delay(600).fadeIn(350) + },500); + } + + function landingAnimationWhyWorkTwo(){ + $(whyWorkImg[3]).css({marginTop:0, opacity:1}); + $(whyWorkText[3]).delay(600).fadeIn(350); + + setTimeout(function(){ + $(whyWorkImg[4]).css({marginTop:0, opacity:1}); + $(whyWorkText[4]).delay(600).fadeIn(350) + },250); + + setTimeout(function(){ + $(whyWorkImg[5]).css({marginTop:0, opacity:1}); + $(whyWorkText[5]).delay(600).fadeIn(350) + },500); + } + + function validationForms(){ + var jVal_two = { + + 'comments' : function() { + var ele = $('#comments_two'); + if(ele.val().length < 6) { + jVal_two.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'phone' : function (){ + var ele = $('#phone_two'); + var patt = /[0-9]/g; + if(!patt.test(ele.val())) { + jVal_two.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + + 'email' : function() { + var ele = $('#email_two'); + var patt = /^.+@.+[.].{2,}$/i; + if(!patt.test(ele.val())) { + jVal_two.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + + 'sendIt' : function (){ + if(!jVal_two.errors) { + $('.form-questions').submit(); + } + } + }; +// ====================================================== // + $('#send_two').click(function (){ + var obj = $('body, html'); + obj.animate({ scrollTop: $('.form-questions').offset().top-151 }, 750, function (){ + jVal_two.errors = false; + jVal_two.comments(); + jVal_two.phone(); + jVal_two.email(); + jVal_two.sendIt(); + }); + return false; + }); + + $('#comments_two').focusout(function(){ + jVal_two.comments(); + }); + $('#phone_two').focusout(function(){ + jVal_two.phone(); + }); + $('#email_two').focusout(function(){ + jVal_two.email(); + }); + + var jVal_cb = { + + 'cbName' : function() { + var ele = $('#callbac_name'); + if(ele.val().length < 2) { + jVal_cb.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'cbPhone' : function (){ + var ele = $('#callbac_phone'); + var patt = /[0-9]/g; + if(!patt.test(ele.val())) { + jVal_cb.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'cbSendIt' : function (){ + if(!jVal_cb.errors) { + $('.callback').submit(); + } + } + }; +// ====================================================== // + $('#callbac_submit').click(function (){ + var obj = $('body, html'); + obj.animate({ scrollTop: $('.callback').offset().top-151 }, 750, function (){ + jVal_cb.errors = false; + jVal_cb.cbName(); + jVal_cb.cbPhone(); + jVal_cb.cbSendIt(); + }); + return false; + }); + $('#callbac_name').focusout(function(){ + jVal_cb.cbName(); + }); + $('#callbac_phone').focusout(function(){ + jVal_cb.cbPhone(); + }); + + var jVal_res = { + 'resNsme' : function() { + var ele = $('#res_name'); + if(ele.val().length < 2) { + jVal_res.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'resPhone' : function (){ + var ele = $('#res_phone'); + var patt = /[0-9]/g; + if(!patt.test(ele.val())) { + jVal_res.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'resComm' : function() { + var ele = $('#res_text'); + if(ele.val().length < 6) { + jVal_res.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'resSendIt' : function (){ + if(!jVal_res.errors) { + $('.resforms').submit(); + } + } + }; +// ====================================================== // + $('#res_submit').click(function (){ + jVal_res.errors = false; + jVal_res.resNsme(); + jVal_res.resPhone(); + jVal_res.resComm(); + jVal_res.resSendIt(); + return false; + }); + + $('#res_name').focusout(function(){ + jVal_res.resNsme(); + }); + $('#res_phone').focusout(function(){ + jVal_res.resPhone(); + }); + $('#res_text').focusout(function(){ + jVal_res.resComm(); + }); + } + + function menuContent(){ + $('.menu-content li a').click(function(e){ + e.preventDefault() + $('.menu-content li').removeClass('active-menu-content') + $(this).parent().addClass('active-menu-content') + }); + } + + function jobClick(){ + $('.activejob a').click(function(e){ + e.preventDefault(); + $('.sidebar-droped-wr').toggleClass('act') + $('.performance-vacancy-sidebar-company-job>ul').addClass('active-dropped-ul') + if( !($('.sidebar-droped-wr').hasClass('act')) ) { + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul') + } + }); + + $('.sidebar-droped-wr li').click(function(){ + if( $('.sidebar-droped-wr').hasClass('act') ) { + $('.sidebar-droped-wr').removeClass('act') + } + $('.performance-vacancy-sidebar-company-job>ul').removeClass('active-dropped-ul') + $('.sidebar-droped-wr li').css({display:'block'}) + $(this).css({display:'none'}) + var thisTxtSidebar = $(this).text() + $('.activejob>a').text(thisTxtSidebar); + }); + } + function box15Height(){ + $('.section-box-15').css({minHeight:($('.performer-vacancy-sidebar-views ul').height()-50) }) + $('.section-box-17').css({minHeight:($('.performer-vacancy-sidebar-left').height())-164 }) + } + + function formRezume(){ + $('.performance-vacancy-desc-form a').click(function(e){ + e.preventDefault(); + $('#overlay').fadeIn(400, + function(){ + $('#modal_form') + .css('display', 'block') + .animate({opacity: 1, top: '50%'}, 200); + }); + }); + + $('.closed-form, #overlay').on('click', function(){ + $('#modal_form') + .animate({opacity: 0, top: '30%'}, 200, + function(){ + $(this).css('display', 'none'); + $('#overlay').fadeOut(400); + } + ); + }); + + } + function fileVal(){ + $('#res_file').change(function(){ + var fileVal = $(this).val(); + if(fileVal.indexOf('C:\\fakepath\\')+1) + fileVal = fileVal.substr(12); + var e = $(this).next().find('.fake_file_input'); + e.val(t); + $('.res-wrapper-mb p').text(fileVal) + }); + $('.label-file a').click(function(e){ + e.preventDefault() + }) + } + fileValMulti(); + function fileValMulti(){ + $('.tender-file-wr input[type="file"]').change(function(){ + $('.max-size').css({marginTop:20}) + }) + if($('.tender-file-wr input[type="file"]').val==0) { + alert('fdg') + } + var txtMulti = $('.MultiFile-title').text() + console.log(txtMulti) + $('.tender-file-wr a').click(function(e){ + e.preventDefault() + }) + } + $('.tender-form-buttons-wr a').click(function(e){ + e.preventDefault() + window.location.reload() + }) + + + function seeAllComm(){ + var comNum = $('.company-performer-comments-bl').length; + var strComm = document.getElementsByClassName('company-performer-comments-txt'); + for(var azz=0; azz
') + } + + function tagPortfolio(){ + $('.portfolio-project-tags a').click(function(){ + $('.portfolio-project-tags a').removeClass('active-tag') + $(this).addClass('active-tag') + }) + + $('.portfolio-project-tags a.active-tag').click(function(e){ + e.preventDefault(); + }) + } + function seeAllProfile() { + $('.proektant-profile-hidden-txt').css({height:306}); + var txtLenght = $('.proektant-profile-hidden-txt p').text().length; + + var profileSee = $('.profile-see-all'); + var expand = 'Развернуть'; + var rolUp = 'Свернуть'; + if(txtLenght>=1000) { + profileSee.text(expand).css({display:'block'}) + profileSee.click(function(e){ + e.preventDefault() + $(this).toggleClass('profile-txt-big'); + if($(this).hasClass('profile-txt-big')) { + $(this).text(rolUp) + $('.proektant-profile-hidden-txt').css({height:'auto'}) + } else { + $(this).text(expand); + $('.proektant-profile-hidden-txt').css({height:306}) + } + }) + } + } + + function featuresTags(){ + + if($('.features-tags-profile').hasClass('features-tags-profile')) { + var replaceLast = $('.features-tags span:last-child').html() + var newReplaceLast = replaceLast.replace(/,(?![^,]*,)/m, '') + $('.features-tags span:last-child').empty().html(newReplaceLast) + + var featuresTags = $('.features-tags span') + var featuresTagsLangth = featuresTags.length + var featuresTagsLeft = featuresTagsLangth-6 + featuresTagsDisplay() + function featuresTagsDisplay(){ + for(var i = 6; i<=featuresTagsLangth+1; i++) { + $(featuresTags[i]).addClass('features-tags-display') + } + } + $(featuresTags[6]).after('еще '+ featuresTagsLeft +'') + + $('.features-tags-left').click(function(e){ + e.preventDefault() + featuresTags.removeClass('features-tags-display') + $('.features-tags-left').remove() + }) + } + if($('.features-tags-company').hasClass('features-tags-company')) { + var replaceLastTwo = $('.features-tags-company'); + + for(var i=0; iеще '+ repLenghtLeftTwo +'') + + for(var iq = 6; iq<=repLenghtLenTwo+1; iq++) { + $(repLenghtTwo[iq]).addClass('features-tags-display') + } + + } + + $('.features-tags-left').click(function(e){ + e.preventDefault() + var newClickTags = $(this).parent().parent().parent().parent(); + newClickTags.find('.features-tags-left').remove(); + newClickTags.find('.features-tags-display').removeClass('features-tags-display') + }) + } + } + + function include(url) { + var script = document.createElement('script'); + script.src = url; + document.getElementsByTagName('head')[0].appendChild(script); + } + include("js/forms.js"); + include("js/jmousewhell.js"); + include("js/jscroll.js"); + + function inputNumber(){ + $('.form-price-wr input').keypress(function(e) { + if (!(e.which==8 ||(e.which>47 && e.which<58))) return false; + }); + } + + $('.min_markers li').click(function(){ + $('.min_markers li').removeClass('active_m'); + $(this).addClass('active_m'); + $('.min_markers_two li').removeClass('active_m'); + }); + $('.min_markers_two li').click(function(){ + $('.min_markers li').removeClass('active_m'); + $('.min_markers_two li').removeClass('active_m'); + $(this).addClass('active_m'); + }) +//подгрузка карты + $('.min_markers li, .min_markers_two li').click(function () { + $.post("maps/maps-all-markers.php", function (data) { + $("#map_cloud").empty(); + $("#map_cloud").append(data); + initialize(); + $('#demo5 ul').empty(); + var slider_append = $('.slider_for_maps').children(); + $('#demo5 ul').append(slider_append) + }); + }); + messagePage(); + function messagePage(){ + $(".input_file").change(function(){ + var filename = $(".input_file").val().replace(/.+[\\\/]/, ""); + if (filename == ""){var filename = "Максимальный размер файла 5 МБ";} + $(".input_file_text").text(filename); + }); + if($('.comments_block').hasClass('comments_block')) { + $(function(){ + $('.comments_block').jScrollPane({showArrows: true, scrollbarWidth: 20, arrowSize: 20}); + }); + } + } + + $('.main-menu').hover(function(){ + $('select').blur() + }) + + if($('.section-box-tender-tags-wr').hasClass('section-box-tender-tags-wr')) { + var lastTagTender = $('.section-box-tender-tags span') + var lastTagTenderLenght = lastTagTender.length + var lastTagTenderHtml = $(lastTagTender[lastTagTenderLenght-1]).html() + $(lastTagTender[lastTagTenderLenght-1]).empty().html(lastTagTenderHtml.replace(/,(?![^,]*,)/m, '.')) + } + + var jVal_res_f = { + + 'resComm' : function() { + var ele = $('#res_f_text'); + if(ele.val().length < 2) { + jVal_res_f.errors = true; + ele.removeClass('normal').addClass('wrong'); + } else { + ele.removeClass('wrong').addClass('normal'); + } + }, + 'resSendItF' : function (){ + if(!jVal_res_f.errors) { + $('.resformsfile').submit(); + } + } + }; +// ====================================================== // + $('#res_f_submit').click(function (){ + jVal_res_f.errors = false; + jVal_res_f.resComm(); + jVal_res_f.resSendItF(); + return false; + }); + $('#res_f_submit2').click(function (){ + jVal_res_f.errors = false; + jVal_res_f.resComm(); + jVal_res_f.resSendItF(); + return false; + }); + + $('#res_f_text').focusout(function(){ + jVal_res_f.resComm(); + }); + + var video_slider = $('.video-slider li').length; + $('.video-slider ul').css({width:(video_slider*220)-20}) + + function videoFull(){ + if($('.scroll-img').hasClass('video-slider')) { + $("body").append('
'); + $('.video-slider ul li').click(function(e){ + $('.video-full').append('
') + e.preventDefault() + $('#overlay').fadeIn(400, + function(){ + $('.video-full') + .css('display', 'block') + .animate({opacity: 1, top: '50%'}, 200); + }); + + var thisIframe = $(this).find('.iframe-video').html(); + + $('.video-full').append('
') + $('.video-full-iframe').append(thisIframe) + var iframeSrc = $('.video-full-iframe iframe').attr('src') + iframeSrc = iframeSrc.replace('showinfo=0','showinfo=1') + $('.video-full-iframe').empty() + $('.video-full-iframe').append('') + + $('.closed-form, #overlay').on('click', function(){ + $('#overlay').fadeOut(400) + $('.video-full') + .animate({opacity: 0, top: '30%'}, 200, + function(){ + $(this).css('display', 'none'); + $(this).empty(); + } + ); + }); + }) + } + } +}); \ No newline at end of file diff --git a/frontend/web/js/option.js b/frontend/web/js/option.js deleted file mode 100644 index 1520807..0000000 --- a/frontend/web/js/option.js +++ /dev/null @@ -1,134 +0,0 @@ -function readURL(input) { - $(input).parents('.tab-pane').find('.image_inputs_prev').remove(); - var urls = []; - if (input.files) { - $.each(input.files, function(key, value) { - var reader = new FileReader(); - reader.onload = function(e) { - $(input).parent().append(''); - } - reader.readAsDataURL(value); - }); - } - return urls; -} -function checkboxerInit() { - $.each($('.checkboxer input[type=radio]:checked'), function(index, value) { - console.log(value); - $(value).trigger('change'); - }); -} -$(function() { - var counter = 0; - $(document).on('click', '.add_row', function() { - counter++; - var clone = $('#main_row').clone().html().replace(new RegExp("Option\\[0\\]", 'g'), "Option["+counter+"]"); - console.log(form); - $(clone).appendTo('#'+form); - $('#'+form+' button[type=submit]').parent().appendTo('#'+form); - }); - $(document).on('click', '.add_lang', function() { - var field_block = $(this).parent().parent(); - if($(this).hasClass('active')) { - $(field_block).find('.main_input').attr('required', '').show(); - $(field_block).find('.lang_inputs').hide(); - $(this).removeClass('active'); - } else { - $(field_block).find('.main_input').removeAttr('required').hide(); - $(field_block).find('.lang_inputs').show(); - $(this).addClass('active'); - } - }); - $(document).on('click', '.remove_lang', function() { - $(this).parents('.form-wrapper').remove(); - }); - $(document).on('change', '.image_inputs_field', function() { - readURL(this); - }); - $('a.remove_image').on('click', function(e) { - var el = $(this); - e.preventDefault(); - if(confirm(confirm_message)) { - $.ajax({ - type: 'post', - url: $(this).attr('href'), - data: $(this).data('params') - }).done(function() { - $(el).parents('.additional_image_container').remove(); - }); - } - return false; - }); - $.each($('.nav-tabs.f32'), function(key, value) { - if($(value).find('li').length > 1) { - $(value).find('li').append(''); - } - }); - $(document).on('click', '.dropdown-menu.f32:not(.old) li a[data-lang]', function() { - var lang = $(this).data('lang'); - var flag = $(this).find('span').first().clone(); - var el = $(this); - var id = $(this).attr('href').substr(1); - var path = form[id].handler; - var view = form[id].view; - var model = form[id].model; - $.get(path, { language_id: lang, widget_id: id, ajaxView: view, model: model }, function(data) { - $('#'+id+'-tabs li').removeClass('active'); - $('#'+id+'-tabs').append('
  • '+$('

    ').append($(flag)).html()+'

  • '); - $('#tab-content-'+id+' .tab-pane.active').removeClass('active'); - $('#tab-content-'+id).append($(data).find('.ajax-loaded').first()); - $('body').append($(data).filter('script')); - $(el).parent().remove(); - if(!$('#lang-'+id+' li').length) { - $('#'+id+'Lang').addClass('disabled'); - } - if($('#'+id+'-tabs li').length > 1) { - $('#'+id+'-tabs li').append('') - } - }); - }); - $(document).on('click', '.dropdown-menu.f32.old li a[data-lang]', function() { - var lang = $(this).data('lang'); - var flag = $(this).find('span').first().clone(); - var el = $(this); - var id = $(this).attr('href').substr(1); - $.get(form[id], { language_id: lang, widget_id: id }, function(data) { - $('#'+id+'-tabs li').removeClass('active'); - $('#'+id+'-tabs').append('
  • '+$('

    ').append($(flag)).html()+'

  • '); - $('#tab-content-'+id+' .tab-pane.active').removeClass('active'); - $('#tab-content-'+id).append($(data).find('.ajax-loaded').first()); - $('body').append($(data).filter('script')); - $(el).parent().remove(); - if(!$('#lang-'+id+' li').length) { - $('#'+id+'Lang').addClass('disabled'); - } - if($('#'+id+'-tabs li').length > 1) { - $('#'+id+'-tabs li').append('') - } - }); - }); - $(document).on('click', '.remove-lang', function() { - var lang = $(this).parent().data('lang'); - var flag = $(this).parent().find('span.flag').first().clone(); - var id = $(this).parent().find('a[aria-controls]').first().attr('aria-controls').substr(0,8); - $('#'+id+'-'+lang).remove(); - $('#lang-'+id).append('
  • '+$('

    ').append($(flag)).html()+'

  • '); - $('#'+id+'Lang').removeClass('disabled'); - $(this).parent().remove(); - if($('#'+id+'-tabs li').length <= 1) { - $('#'+id+'-tabs li').find('.remove-lang').remove(); - } - if(!$('#'+id+'-tabs>li.active').length) { - $('#'+id+'-tabs>li').first().find('a').tab('show'); - } - }); - $(document).on('change', '.checkboxer .checkboxer_label input[type=radio]', function() { - console.log($(this).val()); - $(this).parents('.checkboxer').find('.checkboxer_container').removeClass('active'); - $(this).parents('.checkboxer_container').addClass('active'); - }); - $.each($('.f32'), function(i, val) { - $(val).find('a[role=tab]').first().trigger('click'); - }); - checkboxerInit(); -}); \ No newline at end of file diff --git a/frontend/web/js/script.js b/frontend/web/js/script.js new file mode 100644 index 0000000..6036086 --- /dev/null +++ b/frontend/web/js/script.js @@ -0,0 +1 @@ +$(document).ready(function(){function e(){$(window).resize(function(){n()})}function n(){var e=document.getElementsByClassName("section-box header"),t=document.getElementsByClassName("section-box menu-header-all"),n=document.getElementsByClassName("section-box content"),s=document.getElementsByClassName("section-box footer");$(n).css({minHeight:$(window).height()-$(s).height()-$(e).height()-$(t).height()})}function s(){var e=navigator.userAgent;e.indexOf("Chrome")>-1||e.indexOf("Safari")>-1&&$("body").css({fontFamily:"arial"});var t=navigator.userAgent;t=t.indexOf("WebKit");var n=0,s=0;$(window).scroll(function(){s=t>=0?$("body").scrollTop():$("html").scrollTop(),s>n?(s>=114&&($(".menu-header-all").css({position:"fixed",zIndex:999}),$(".section-box.content").css({marginTop:41})),$(".section-box-6").hasClass("section-box-6")&&s>E&&!N[0]&&(N[0]=!0,m()),$(".section-box-8").hasClass("section-box-8")&&(s>P&&!N[1]&&(N[1]=!0,u()),s>P+300&&!N[2]&&(N[2]=!0,f()))):n>s&&114>=s&&($(".menu-header-all").css({position:"relative"}),$(".section-box.content").css({marginTop:0})),n=s})}function o(){var e=$("ul.content-menu-first").height();$(".menu-two-wrapp").css({height:e-1}),$("ul.content-menu-first").hover(function(){},function(){$(".content-menu-first li").css({backgroundColor:"#fff"})}),$(".content-menu-first li").hover(function(){var e=$(this).find("span").attr("data-menu-bg");$(".content-menu-first li").css({backgroundColor:"#fff"}),$(".content-menu-first li a").css({color:"#333333"}),$(this).css({backgroundColor:e}).find("ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").mouseover(function(){$(this).parent().parent().css({backgroundColor:e}),$(".content-menu-first li >ul li").css({backgroundColor:e}),$(".content-menu-first li >ul li").removeClass("hov-arrow"),$(this).addClass("hov-arrow")})},function(){$(".hov-arrow").removeClass("hov-arrow")});var t=$("ul.content-menu-first li ul li ul");if(t.addClass("third-ul-menu"),t.hasClass("third-ul-menu")){t.parent().find("a").addClass("remove-link"),$(".third-ul-menu li a").removeClass("remove-link"),$(".remove-link").parent().addClass("yes-after");for(var n=$(".remove-link"),s=0;s
    ')}$("ul.content-menu-first li ul li ul li ul").removeClass("third-ul-menu").addClass("last-ul-menu");var o=$("ul.content-menu-first li ul li ul li ul");if(o.hasClass("last-ul-menu")){o.parent().find("a").addClass("remove-link-two"),$(".remove-link-two").parent().addClass("yes-after yes-after-two");var a=$("ul.content-menu-first li ul li ul li.yes-after-two ul");a.find("li").removeClass("yes-after yes-after-two"),a.find("a").removeClass(".remove-link-two");var i=$(".remove-link-two");$(".last-ul-menu .remove-link-two").removeClass("remove-link-two");for(var s=0;s
    '),$(".last-ul-menu .hack-arrow").removeClass("hack-arrow")}$("ul.last-ul-menu").find("a").removeClass("remove-link-two"),$(".remove-link, .remove-link-two").click(function(e){e.preventDefault()}),$("ul.content-menu-first > li").hover(function(){var e=$(this).attr("data-img");$(".menu-two-wrapp").css({backgroundImage:"url("+e+")"})})}function a(){$(".company-performer-map-menu .content-menu-first>li>ul").addClass("content-menu-map-first"),$(".company-performer-map-menu .content-menu-first>li>ul>li").addClass("content-menu-map-second"),$(".company-performer-map-menu .content-menu-first>li").addClass("old-content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-first").parent().removeClass("old-content-menu-map-zero").addClass("content-menu-map-zero"),$(".company-performer-map-menu .content-menu-map-zero").click(function(e){e.preventDefault()}),$(".company-performer-map-menu .content-menu-map-second, .company-performer-map-menu .old-content-menu-map-zero").click(function(e){e.preventDefault(),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function i(){$(".all-project-home-title_menu li").click(function(){$(".all-project-home-title_menu li").removeClass("project-home-active"),$(this).addClass("project-home-active")})}function r(){$(".settings-map-ul ul li a").click(function(e){e.preventDefault(),$(".settings-map-ul ul li a").removeClass("active"),$(this).addClass("active"),$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function l(){$(".all-project-home-title_menu ul li").click(function(){$.post("maps/maps.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize()})})}function c(){var e=0;$(".federation-home-list li").each(function(){e=e+$(this).outerWidth()+9}),$(".federation-home-list").css({width:e}),$(".federation-home-list li").click(function(){$(".federation-home-list li").removeClass("federation-home-list-active"),$(this).addClass("federation-home-list-active");var e=$(this).index(),t=$(".federation-home-blocks-wr-blocks");$(t).css({display:"none"}),$(t[e]).css({display:"block"})})}function m(){var e=$(".landing-your-buisnes-blocks"),t=$(".lan_yo_buis_arr");$(e[0]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[0]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1}),setTimeout(function(){$(e[1]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[1]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},500),setTimeout(function(){$(e[2]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[2]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1e3),setTimeout(function(){$(e[5]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[5]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},1500),setTimeout(function(){$(e[4]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[4]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2e3),setTimeout(function(){$(e[3]).css({transform:"rotateY(0deg)"}).find(".lan_yo_buis_img ").css({transition:"2s",opacity:1}),$(e[3]).find(".lan_yo_buis_txt").css({transition:"2s",opacity:1})},2500),setTimeout(function(){$(t[0]).css({transition:"1s",opacity:1})},300),setTimeout(function(){$(t[1]).css({transition:"1s",opacity:1})},650),setTimeout(function(){$(t[4]).css({transition:"1s",opacity:1})},1300),setTimeout(function(){$(t[2]).css({transition:"1s",opacity:1})},1950),setTimeout(function(){$(t[3]).css({transition:"1s",opacity:1})},2600)}function u(){B.css({transition:"0.8s"}),$(B[0]).css({marginTop:0,opacity:1}),$(O[0]).delay(600).fadeIn(350),setTimeout(function(){$(B[1]).css({marginTop:0,opacity:1}),$(O[1]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[2]).css({marginTop:0,opacity:1}),$(O[2]).delay(600).fadeIn(350)},500)}function f(){$(B[3]).css({marginTop:0,opacity:1}),$(O[3]).delay(600).fadeIn(350),setTimeout(function(){$(B[4]).css({marginTop:0,opacity:1}),$(O[4]).delay(600).fadeIn(350)},250),setTimeout(function(){$(B[5]).css({marginTop:0,opacity:1}),$(O[5]).delay(600).fadeIn(350)},500)}function d(){var e={comments:function(){var t=$("#comments_two");t.val().length<6?(e.errors=!0,t.removeClass("normal").addClass("wrong")):t.removeClass("wrong").addClass("normal")},phone:function(){var t=$("#phone_two"),n=/[0-9]/g;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},email:function(){var t=$("#email_two"),n=/^.+@.+[.].{2,}$/i;n.test(t.val())?t.removeClass("wrong").addClass("normal"):(e.errors=!0,t.removeClass("normal").addClass("wrong"))},sendIt:function(){e.errors||$(".form-questions").submit()}};$("#send_two").click(function(){var t=$("body, html");return t.animate({scrollTop:$(".form-questions").offset().top-151},750,function(){e.errors=!1,e.comments(),e.phone(),e.email(),e.sendIt()}),!1}),$("#comments_two").focusout(function(){e.comments()}),$("#phone_two").focusout(function(){e.phone()}),$("#email_two").focusout(function(){e.email()});var t={cbName:function(){var e=$("#callbac_name");e.val().length<2?(t.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},cbPhone:function(){var e=$("#callbac_phone"),n=/[0-9]/g;n.test(e.val())?e.removeClass("wrong").addClass("normal"):(t.errors=!0,e.removeClass("normal").addClass("wrong"))},cbSendIt:function(){t.errors||$(".callback").submit()}};$("#callbac_submit").click(function(){var e=$("body, html");return e.animate({scrollTop:$(".callback").offset().top-151},750,function(){t.errors=!1,t.cbName(),t.cbPhone(),t.cbSendIt()}),!1}),$("#callbac_name").focusout(function(){t.cbName()}),$("#callbac_phone").focusout(function(){t.cbPhone()});var n={resNsme:function(){var e=$("#res_name");e.val().length<2?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resPhone:function(){var e=$("#res_phone"),t=/[0-9]/g;t.test(e.val())?e.removeClass("wrong").addClass("normal"):(n.errors=!0,e.removeClass("normal").addClass("wrong"))},resComm:function(){var e=$("#res_text");e.val().length<6?(n.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendIt:function(){n.errors||$(".resforms").submit()}};$("#res_submit").click(function(){return n.errors=!1,n.resNsme(),n.resPhone(),n.resComm(),n.resSendIt(),!1}),$("#res_name").focusout(function(){n.resNsme()}),$("#res_phone").focusout(function(){n.resPhone()}),$("#res_text").focusout(function(){n.resComm()})}function p(){$(".menu-content li a").click(function(e){e.preventDefault(),$(".menu-content li").removeClass("active-menu-content"),$(this).parent().addClass("active-menu-content")})}function v(){$(".activejob a").click(function(e){e.preventDefault(),$(".sidebar-droped-wr").toggleClass("act"),$(".performance-vacancy-sidebar-company-job>ul").addClass("active-dropped-ul"),$(".sidebar-droped-wr").hasClass("act")||$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul")}),$(".sidebar-droped-wr li").click(function(){$(".sidebar-droped-wr").hasClass("act")&&$(".sidebar-droped-wr").removeClass("act"),$(".performance-vacancy-sidebar-company-job>ul").removeClass("active-dropped-ul"),$(".sidebar-droped-wr li").css({display:"block"}),$(this).css({display:"none"});var e=$(this).text();$(".activejob>a").text(e)})}function h(){$(".section-box-15").css({minHeight:$(".performer-vacancy-sidebar-views ul").height()-50}),$(".section-box-17").css({minHeight:$(".performer-vacancy-sidebar-left").height()-164})}function g(){$(".performance-vacancy-desc-form a").click(function(e){e.preventDefault(),$("#overlay").fadeIn(400,function(){$("#modal_form").css("display","block").animate({opacity:1,top:"50%"},200)})}),$(".closed-form, #overlay").on("click",function(){$("#modal_form").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$("#overlay").fadeOut(400)})})}function y(){$("#res_file").change(function(){var e=$(this).val();e.indexOf("C:\\fakepath\\")+1&&(e=e.substr(12));var n=$(this).next().find(".fake_file_input");n.val(t),$(".res-wrapper-mb p").text(e)}),$(".label-file a").click(function(e){e.preventDefault()})}function C(){$('.tender-file-wr input[type="file"]').change(function(){$(".max-size").css({marginTop:20})}),0==$('.tender-file-wr input[type="file"]').val&&alert("fdg");var e=$(".MultiFile-title").text();console.log(e),$(".tender-file-wr a").click(function(e){e.preventDefault()})}function _(){for(var e=$(".company-performer-comments-bl").length,t=document.getElementsByClassName("company-performer-comments-txt"),n=0;e>n;n++){var s=$(t[n]).text().length;220>s&&$(t[n]).next().css({display:"none"})}$(".company-comm-see-all").click(function(e){e.preventDefault();var t=$(this).prev();t.toggleClass("auto-height-blog-post"),$(this).toggleClass("company-comm-expand");var n="Развернуть",s="Свернуть",o=$(this).find("span");t.hasClass("auto-height-blog-post")?o.text(s):o.text(n)})}function b(){for(var e=$(".gallery-box"),t=1;t
    ')}function k(){$(".portfolio-project-tags a").click(function(){$(".portfolio-project-tags a").removeClass("active-tag"),$(this).addClass("active-tag")}),$(".portfolio-project-tags a.active-tag").click(function(e){e.preventDefault()})}function x(){$(".proektant-profile-hidden-txt").css({height:306});var e=$(".proektant-profile-hidden-txt p").text().length,t=$(".profile-see-all"),n="Развернуть",s="Свернуть";e>=1e3&&(t.text(n).css({display:"block"}),t.click(function(e){e.preventDefault(),$(this).toggleClass("profile-txt-big"),$(this).hasClass("profile-txt-big")?($(this).text(s),$(".proektant-profile-hidden-txt").css({height:"auto"})):($(this).text(n),$(".proektant-profile-hidden-txt").css({height:306}))}))}function T(){function e(){for(var e=6;o+1>=e;e++)$(s[e]).addClass("features-tags-display")}if($(".features-tags-profile").hasClass("features-tags-profile")){var t=$(".features-tags span:last-child").html(),n=t.replace(/,(?![^,]*,)/m,"");$(".features-tags span:last-child").empty().html(n);var s=$(".features-tags span"),o=s.length,a=o-6;e(),$(s[6]).after('еще '+a+""),$(".features-tags-left").click(function(e){e.preventDefault(),s.removeClass("features-tags-display"),$(".features-tags-left").remove()})}if($(".features-tags-company").hasClass("features-tags-company")){for(var i=$(".features-tags-company"),r=0;rеще '+u+"");for(var f=6;m+1>=f;f++)$(c[f]).addClass("features-tags-display")}$(".features-tags-left").click(function(e){e.preventDefault();var t=$(this).parent().parent().parent().parent();t.find(".features-tags-left").remove(),t.find(".features-tags-display").removeClass("features-tags-display")})}}function j(e){var t=document.createElement("script");t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}function I(){$(".form-price-wr input").keypress(function(e){return 8==e.which||e.which>47&&e.which<58?void 0:!1})}function D(){$(".input_file").change(function(){var e=$(".input_file").val().replace(/.+[\\\/]/,"");if(""==e)var e="Максимальный размер файла 5 МБ";$(".input_file_text").text(e)}),$(".comments_block").hasClass("comments_block")&&$(function(){$(".comments_block").jScrollPane({showArrows:!0,scrollbarWidth:20,arrowSize:20})})}function z(){$(".scroll-img").hasClass("video-slider")&&($("body").append('
    '),$(".video-slider ul li").click(function(e){$(".video-full").append('
    '),e.preventDefault(),$("#overlay").fadeIn(400,function(){$(".video-full").css("display","block").animate({opacity:1,top:"50%"},200)});var t=$(this).find(".iframe-video").html();$(".video-full").append('
    '),$(".video-full-iframe").append(t);var n=$(".video-full-iframe iframe").attr("src");n=n.replace("showinfo=0","showinfo=1"),$(".video-full-iframe").empty(),$(".video-full-iframe").append(''),$(".closed-form, #overlay").on("click",function(){$("#overlay").fadeOut(400),$(".video-full").animate({opacity:0,top:"30%"},200,function(){$(this).css("display","none"),$(this).empty()})})}))}for(var N=[],S=0;2>S;S++)N[N.length]=!1;if(n(),e(),s(),o(),i(),r(),c(),d(),p(),v(),h(),g(),y(),a(),_(),b(),w(),k(),x(),T(),I(),z(),l(),$(".section-box-6").hasClass("section-box-6")){var E=$(".section-box-6").offset().top;E-=$(window).height()/2}if($(".lan_yo_buis_txt, .lan_yo_buis_img, .lan_yo_buis_arr").css({opacity:0}),$(".section-box-8").hasClass("section-box-8")){var P=$(".section-box-8").offset().top;P-=$(window).height()-264}var B=$(".landing-work-our-img-text"),O=$(".landing-work-our-img p");if(B.css({marginTop:155,opacity:0}),O.css({display:"none"}),C(),$(".tender-form-buttons-wr a").click(function(e){e.preventDefault(),window.location.reload()}),j("js/forms.js"),j("js/jmousewhell.js"),j("js/jscroll.js"),$(".min_markers li").click(function(){$(".min_markers li").removeClass("active_m"),$(this).addClass("active_m"),$(".min_markers_two li").removeClass("active_m")}),$(".min_markers_two li").click(function(){$(".min_markers li").removeClass("active_m"),$(".min_markers_two li").removeClass("active_m"),$(this).addClass("active_m")}),$(".min_markers li, .min_markers_two li").click(function(){$.post("maps/maps-all-markers.php",function(e){$("#map_cloud").empty(),$("#map_cloud").append(e),initialize(),$("#demo5 ul").empty();var t=$(".slider_for_maps").children();$("#demo5 ul").append(t)})}),D(),$(".main-menu").hover(function(){$("select").blur()}),$(".section-box-tender-tags-wr").hasClass("section-box-tender-tags-wr")){var Y=$(".section-box-tender-tags span"),F=Y.length,A=$(Y[F-1]).html();$(Y[F-1]).empty().html(A.replace(/,(?![^,]*,)/m,"."))}var H={resComm:function(){var e=$("#res_f_text");e.val().length<2?(H.errors=!0,e.removeClass("normal").addClass("wrong")):e.removeClass("wrong").addClass("normal")},resSendItF:function(){H.errors||$(".resformsfile").submit()}};$("#res_f_submit").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_submit2").click(function(){return H.errors=!1,H.resComm(),H.resSendItF(),!1}),$("#res_f_text").focusout(function(){H.resComm()});var W=$(".video-slider li").length;$(".video-slider ul").css({width:220*W-20})}); \ No newline at end of file diff --git a/frontend/web/js/slider.js b/frontend/web/js/slider.js new file mode 100644 index 0000000..537124d --- /dev/null +++ b/frontend/web/js/slider.js @@ -0,0 +1 @@ +$(document).ready(function(){function i(){function i(){var i=$(".active_slide").attr("data-id");if(i-=1,-1==i)$(".slider-navi-circle li").removeClass("active-circle"),$(".slider-navi-circle li:first-child").addClass("active-circle");else{var e=$(".slider-navi-circle li")[i];$(".slider-navi-circle li").removeClass("active-circle"),$(e).addClass("active-circle")}}function l(){if(m)return!1;m=!0;var l=$(".slider_timer .active_slide").next();$(".slider_timer .active_slide").removeClass("active_slide"),l.addClass("active_slide");var s=$(".slider_timer .slide_t").index($(".active_slide"));-1==s&&($(".slide_t").removeClass("active_slide"),e.addClass("active_slide"));var t=c-1;if(s==t)_=d*(c-1),$(".slider_timer").animate({marginLeft:-_},a,function(){$(this).css({marginLeft:0}),$(".slider_timer, .slide-clone").removeClass("active_slide"),$(".slide_t:first-child").addClass("active_slide")});else{var r=d*s;$(".slider_timer").animate({marginLeft:-r},a)}i(),setTimeout(function(){m=!1},a)}function s(){if(m)return!1;m=!0;var e=$(".slider_timer .slide_t").index($(".active_slide"));if(0==e){$(".slide_t").removeClass("active_slide"),$(".slide_t:last-child").prev().addClass("active_slide");var l=d*(c-1),s=d*(c-2);$(".slider_timer").css({marginLeft:-l}),$(".slider_timer").animate({marginLeft:-s},a)}else{var t=$(".slider_timer").find(".active_slide");$(".active_slide").prev().addClass("active_slide"),t.removeClass("active_slide");var r=d*(e-1);$(".slider_timer").animate({marginLeft:-r},a)}i(),setTimeout(function(){m=!1},a)}function t(){var i=setInterval(function(){l()},r);$(".landing-slider-comments-wr").hover(function(){clearInterval(i)},function(){i=setInterval(function(){l()},r)})}var a=550,r=4e3,d=$(".slider-wrapper").width(),c=$(".slider_timer .slide_t").length;$(".slide_t").css({width:d});for(var n=1;c>n;n++)$(".slide_t").attr("data-id",function(){return+n++}),$(".slide-clone").attr("data-id","0");$(".slider_timer").css({width:d*c}),$(".slider-navi-circle").append("
      ");for(var v=1;c>v;v++)$(".slider-navi-circle ul").append('');$(".slider-navi-circle li:first-child").addClass("active-circle");var _=0,m=!1;$(".slider-navi-circle li").click(function(){if(m)return!1;m=!0,$(".slider-navi-circle li").removeClass("active-circle"),$(this).addClass("active-circle");var i=($(".slider-navi-circle ul li").index($(".active-circle")),$(this).attr("data-id")),e=i-1;$(".slide_t").removeClass("active_slide");var l=$(".slide_t")[e];$(l).addClass("active_slide");var s=$(".slider_timer .slide_t").index($(".active_slide")),t=d*s;$(".slider_timer").animate({marginLeft:-t},a),setTimeout(function(){m=!1},a)}),$(".next-slide").click(function(i){i.preventDefault(),l()}),$(".prev-slide").click(function(i){i.preventDefault(),s()}),t()}$(".slide_t:first-child").clone().appendTo(".slider_timer").addClass("slide-clone");var e=$(".slide_t:first-child").addClass("active_slide");i()}); \ No newline at end of file -- libgit2 0.21.4