diff --git a/.gitignore b/.gitignore index 1e0e8b4..7780007 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,15 @@ Homestead.json /vagrant/Vagrantfile /vagrant/.vagrant /vagrant/puphpet -/vagrant/html \ No newline at end of file +/vagrant/html +.idea/blade.xml + +.idea/copyright/profiles_settings.xml + +.idea/modules.xml + +.idea/workspace.xml + +.idea/vcs.xml + +.idea/W4P.iml diff --git a/resources/assets/sass/_mediaqueries.scss b/resources/assets/sass/_mediaqueries.scss new file mode 100644 index 0000000..3268207 --- /dev/null +++ b/resources/assets/sass/_mediaqueries.scss @@ -0,0 +1,94 @@ +/* + These are the media queries in which we include all our responsive code if it's necessary. Please note that these + have the same breakpoints as Twitter Bootstrap does, considering we use Twitter Bootstrap. +*/ + + +@media (min-width : 1200px) { + + #donation__start-form{ + .about{ + padding-top:0; + padding-bottom:0; + } + } +} + +@media (min-width : 992px) and (max-width: 1199px) { + + #donation__start-form { + .about:nth-of-type(1) { + padding-top: 0; + } + .about { + padding-top: 40px; + } + + //Donation Start Page - Form - col-md-10 + .donation__form__item-margin-top { + margin-top: 40px; + } + } +} + +@media (min-width : 768px) and (max-width: 991px) { + + #donation__start-form { + .about:nth-of-type(1) { + padding-top: 0; + } + .about { + padding-top: 40px; + } + + //Donation Start Page - Form - col-md-10 + .donation__form__item-margin-top { + margin-top: 40px; + } + } +} + +@media (min-width : 480px) and (max-width: 767px) { + + .goals .numbers-container { + height:500px !important; + } + + + #donation__start-form { + .about:nth-of-type(1) { + padding-top:0; + } + .about{ + padding-top: 40px; + } + + //Donation Start Page - Form - col-md-10 + .donation__form__item-margin-top { + margin-top:40px; + } + } +} + +@media (min-width : 320px) and (max-width: 479px) { + + .goals .numbers-container { + height:500px !important; + } + + + #donation__start-form { + .about:nth-of-type(1) { + padding-top:0; + } + .about{ + padding-top: 40px; + } + + //Donation Start Page - Form - col-md-10 + .donation__form__item-margin-top { + margin-top:40px; + } + } +} + diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss index 4eb8fa5..92851ec 100644 --- a/resources/assets/sass/app.scss +++ b/resources/assets/sass/app.scss @@ -3,6 +3,7 @@ @import "config"; @import "colors"; @import "setup"; +@import "mediaqueries"; // Libraries @import "bootstrap"; @@ -11,6 +12,7 @@ @import "pages/home"; @import "pages/post"; @import "pages/previous"; +@import "pages/donation"; // Components @import "components/form"; diff --git a/resources/assets/sass/components/_form.scss b/resources/assets/sass/components/_form.scss index 47ecfaa..d89bebb 100644 --- a/resources/assets/sass/components/_form.scss +++ b/resources/assets/sass/components/_form.scss @@ -28,4 +28,8 @@ input[type=file]{ font-size: 14px; font-weight: normal; } +} + +#donation__start-form .row { + margin-bottom:40px; } \ No newline at end of file diff --git a/resources/assets/sass/components/_icons.scss b/resources/assets/sass/components/_icons.scss index c471064..2a482ff 100644 --- a/resources/assets/sass/components/_icons.scss +++ b/resources/assets/sass/components/_icons.scss @@ -5,7 +5,7 @@ i.icon { height: 23px; background-size: contain; display: inline-block; - margin: 0; + margin:15px 0 0 0; padding: 0; background-repeat: no-repeat; background-position: center; diff --git a/resources/assets/sass/pages/_donation.scss b/resources/assets/sass/pages/_donation.scss new file mode 100644 index 0000000..099e09f --- /dev/null +++ b/resources/assets/sass/pages/_donation.scss @@ -0,0 +1,12 @@ +#donation__start{ + margin-bottom: 0; + + #donation__start-title { + padding:50px 7% 50px 7%; + } + + #donation__start-options { + padding:7%; + background-color: $color-gray; + } +} diff --git a/resources/assets/sass/pages/_home.scss b/resources/assets/sass/pages/_home.scss index 391712f..28e3fda 100644 --- a/resources/assets/sass/pages/_home.scss +++ b/resources/assets/sass/pages/_home.scss @@ -78,8 +78,7 @@ .meta { position: relative; z-index: 0; - padding: 38px 0; - padding-right: 34px; + padding: 38px 34px; &:first-child{ diff --git a/resources/assets/sass/partials/_footer.scss b/resources/assets/sass/partials/_footer.scss index b06cd8c..902de20 100644 --- a/resources/assets/sass/partials/_footer.scss +++ b/resources/assets/sass/partials/_footer.scss @@ -28,5 +28,10 @@ footer { .gray { color: #8A8A8A; } + + .newsletter__textbox-icon { + padding:3px 5px; + background-color:$color-primary; + } } diff --git a/resources/views/front/donation/start.blade.php b/resources/views/front/donation/start.blade.php index 4bd73cf..e2664ef 100644 --- a/resources/views/front/donation/start.blade.php +++ b/resources/views/front/donation/start.blade.php @@ -3,20 +3,19 @@ @section('title', trans('generic.donate')) @section('content') -
{{ trans('donation.description') }}
-