From 4c871b7e55763c5b61fc6fcf29dd5ad0f58fc0bf Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Fri, 8 Sep 2017 14:23:00 +0300 Subject: [PATCH] new modal styles+script --- frontend/assets/AppAsset.php | 2 ++ frontend/views/layouts/main.php | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------- frontend/web/css/custom.css | 13 ++++++++----- frontend/web/css/modal.css | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ frontend/web/js/modal.js | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 227 insertions(+), 70 deletions(-) create mode 100644 frontend/web/css/modal.css create mode 100644 frontend/web/js/modal.js diff --git a/frontend/assets/AppAsset.php b/frontend/assets/AppAsset.php index 43e0171..b43ffb8 100755 --- a/frontend/assets/AppAsset.php +++ b/frontend/assets/AppAsset.php @@ -20,6 +20,7 @@ 'css/owl.theme.css', '//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,500,700,800', 'css/custom.css', + 'css/modal.css', ]; public $js = [ 'js/jquery.cookie.js', @@ -29,6 +30,7 @@ 'js/front.js', 'js/owl.carousel.min.js', 'js/script.js', + 'js/modal.js', ]; public $depends = [ 'yii\web\YiiAsset', diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 8424d2b..c9f3d7d 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -344,79 +344,72 @@ _________________________________________________________ --> - -