From c17ddd48f8751cf515f3af468e6be228e8238562 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 20 Apr 2016 21:12:50 +0200 Subject: [PATCH 1/6] Some small graphical changes --- favicon.ico | Bin 0 -> 3638 bytes resources/views/visitor/cwbs/assets/script.js | 1 + resources/views/visitor/cwbs/assets/style.css | 8 ++++---- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 favicon.ico diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..570ea6114ecde8a56e61a9c53b7b65391f31da67 GIT binary patch literal 3638 zcmeH}cTiJl6vdAn71wUmC}QuucPw-WNkDjlfLKwnM>T6mai*LDrqoznpP)cDyq`?sxC~@)B-l&I!;6jnS?hD67D>8885V zy1KIVQUP44H;8(41=Qy6QTk%&%$)(Tfi@(BiC7==BnB{*au^a)FeXNX80MxDSeQv+ z!AP-yF@}}71Pd)CSY&06mCJ0gdc_jh+1g^ws%6-?b`^Fw>SEg#d+gl40*(%w;k0ub z_Uv}VAy;P{JA4QM!BY_s!Z8hjAu|vZIupTRvx&L5?0J#09zw#k5h~M0m`tBAK)6hV zh)6N~?>QhsE``sn8^ldSMK8de+ul&bE`*=25B%=>AU<&k;*-`QIPe~Vg930rWeZXs zY$LWKB0Llc@t2U9<%G11gUEh*3RyXBc=0kE`T1!mDUBoIQCP@QPQZ)jg?RNk1+QN} z#GA4-l$B@TRcR?ID_K-lRG_-L6z|@>!-o&$#0S*X)!<`YE#*3V{P^*Ud;ih=v4Q`> z2AFRSQzIQMLt{p_zp(o_df4otYQ1}__3PTCRjbCB%owQk={tDHfVQeFyNwq~dop^% z=1Ar-Jz961L3c-~m`FyekDWI2rw$V|8D?bjc4o}PUIPaX>N0%9-0_{7HJU`1^fjhV znbp2U(^e{NrciuFa180tXEA<}`d zkseGq#2lo*yaw0naDx_$U}nteu!z@U#zczw^Na{FAyH~G>9e^h>9bkAPMaB%PAj!~ z0b>Ho`4U)Jn8KQ{u@n;wmfBci*@WGpBmSWd-2kdg(3a1?oaB(rfUZ)+zPB`z~MC``N6MERcZx0SQ@4>+X&Nz2Y z7jAA6(tTHWTr$F$Q_eVh`Z(N9pMbZIKHSfqhP&G-@`Ney57esn1kM+x^WNZj!JYSq zpim85@j621S@85YPyR3sULF_fePa&Q8oYmad0wFNY(kUJLTH2*z0QNOF2Q+;KCWH4 z1ern;H?CcU_l>Iv4%vWPH?Jd7VG5bt26BZtqGF68k2Y`cn5Y;_C}OP1XKWB1y9jrE zZzJHI7ySKv$!ly7;O~pLgq4U(Tn>5EUWA3Y(b*0`<7lZW7 zBg9c;WFA9Ol8pT9B$AU7h(sjcPr{Szv&hPJ;7AQ6n*XHW6+r3^(xeqJt$ zisUFRjz)1wEJ{i^?@T}`@0-tg-+WURM|WT1^_x@_7ZstTxEN(+=_oJHMETonysgMZ z1yNa&TCl-dxw<&ELD0ag0XOWd+Nx#i{=qcAEcrCFva+7Q&4j`}y~poAbK&p^ZI;bFC$VCT%~r0r zx8Jx?6rNh?qA%~WD8XVLcugz(PKxm`hUQBX5%>y3+CTo*}E%7H>Xc3 zIL$pNa)W;T4ZV@l*;>DySUYK`kXsRUb7PiGyW?bR$%VP?*zP^m)YNE3q3Ws}bAKO% z`(C?r>t2kJawHUV>ND=jKjVheqZy4_woz@}bnx_F8os@TA$LgleYvK#=??Fte|0}E VvY$N3&i}me|2}{1cft4S{|#GBm{|Y- literal 0 HcmV?d00001 diff --git a/resources/views/visitor/cwbs/assets/script.js b/resources/views/visitor/cwbs/assets/script.js index 7b5e4e43..ecb86fa8 100644 --- a/resources/views/visitor/cwbs/assets/script.js +++ b/resources/views/visitor/cwbs/assets/script.js @@ -26,6 +26,7 @@ function hideResponsiveMenu() { } window.onresize = function() { + var menuHolder = document.getElementById('responsive-menu'); if(window.innerWidth >= 1023) { menuHolder.style.display="block"; menuHolder.style.height = "auto"; diff --git a/resources/views/visitor/cwbs/assets/style.css b/resources/views/visitor/cwbs/assets/style.css index 3fd5d93c..01e0ff54 100644 --- a/resources/views/visitor/cwbs/assets/style.css +++ b/resources/views/visitor/cwbs/assets/style.css @@ -95,9 +95,9 @@ hr {border-bottom: 0;width: 5%; margin: 0 auto; position: relative; top: -15px; .assortment-h5 {text-align: center; text-transform: uppercase; font-weight: 500; font-size: 1.1rem;} .assortment-p {font-size: 0.8rem; text-align: center; margin: 15px auto 10px; width: 50%;} .assortment-more-btn {color: #46c1be; text-transform: uppercase; font-style: italic; text-align: center; font-size: 0.85rem; width: 100%; display: inline-block; font-weight: 500;} -img.thumbnail {border-radius: 50%; width: 100%; height: auto; box-shadow: none; border-width: 2px; border-color: #ffffff;} +img.thumbnail {border-radius: 50%; width: 100%; height: auto; box-shadow: none; border-width: 2px; border-color: #cdccd0;} img.thumbnail.assortment {width: 250px;} -img.thumbnail:focus, img.thumbnail:hover {box-shadow: none; border-color: #ffffff;} +img.thumbnail:focus, img.thumbnail:hover {box-shadow: none; border-color: #cdccd0;} .sale-image-holder>img {width: 100%; height: auto; border: 1px solid #414042;} .sale-image-holder {margin-bottom: 15px; position: relative; cursor: pointer;} @@ -107,7 +107,7 @@ img.thumbnail:focus, img.thumbnail:hover {box-shadow: none; border-color: #fffff .sale-item-data p {margin: -5px auto 0; padding: 0 auto; text-align: center; font-size: 0.8rem;} .sale-item-data p.price {margin-top: 10px; font-weight: 700; font-size: 0.9rem;} -.gallery-image-holder>img {width: 100%; height: 250px; border: 1px solid #414042; border-radius: 50%;} +.gallery-image-holder>img {width: 100%; height: 250px; border: 1px solid #414042;} .gallery-image-holder {margin-bottom: 15px; height: 250px; position: relative; cursor: pointer;} .gallery-image-holder.column:last-child:not(:first-child), .gallery-image-holder.columns:last-child:not(:first-child), .product-category.column:last-child:not(:first-child), .product-category.columns:last-child:not(:first-child), @@ -255,4 +255,4 @@ footer a:hover {color: #46c1be !important;} .b-lightbox-direction.previous{left:0} .b-lightbox-direction:hover{background-color:rgba(242,242,242,0.1); text-decoration: none;} .b-lightbox-direction:before{content:'';height:35%;display:block;width:100%;} -.b-lightbox-label{box-sizing:border-box;display:none;z-index:1015;background-color:rgba(70, 193, 190, 0.2);color:rgba(246,246,246,0.95);font-weight:500;position:absolute;padding:10px;font-size:13px;} \ No newline at end of file +.b-lightbox-label{box-sizing:border-box;display:none;z-index:1015;background-color:rgba(70, 193, 190, 0.7);color:rgba(246,246,246,0.95);font-weight:500;position:absolute;padding:10px;font-size:13px;} \ No newline at end of file From 66f0873bc87e502750ac1afa5cd653598d191146 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 25 Apr 2016 17:55:05 +0200 Subject: [PATCH 2/6] FEATURE: fixed mobile design flaws --- resources/views/visitor/cwbs/assets/style.css | 20 +++++++++++++++---- .../visitor/cwbs/defaultLayout.blade.php | 4 +++- .../visitor/cwbs/homepageLayout.blade.php | 4 +++- .../modules/ContactForm/contact.blade.php | 2 +- .../cwbs/modules/Gallery/default.blade.php | 2 +- .../StaticPages/assortmentSubpage.blade.php | 2 +- .../modules/StaticPages/homepage.blade.php | 4 ++-- 7 files changed, 27 insertions(+), 11 deletions(-) diff --git a/resources/views/visitor/cwbs/assets/style.css b/resources/views/visitor/cwbs/assets/style.css index 01e0ff54..94ec221c 100644 --- a/resources/views/visitor/cwbs/assets/style.css +++ b/resources/views/visitor/cwbs/assets/style.css @@ -207,10 +207,12 @@ footer a:hover {color: #46c1be !important;} .orbit.header .orbit-bullets {display: none;} #chevron-down {display: none;} - .assortment-h5 {text-align: left; margin-left: 185px; font-size: 1.3rem;} - .assortment-p {text-align: left; margin-left: 185px; font-size: 0.75rem; width: 100%;} - .assortment-more-btn {text-align: left; margin-left: 185px; display: block;} - img.thumbnail {float: left; width: 150px; height: auto;} + .assortment-h5 {text-align: left; margin-left: 115px; font-size: 1.3rem;} + .assortment-p {text-align: left; margin-left: 115px; font-size: 0.75rem; width: 100%;} + .assortment-more-btn {text-align: left; margin-left: 115px; display: block;} + img.thumbnail {float: left; width: 100px; height: auto;} + + .gallery-image-holder, .gallery-image-holder>img {height: 150px;} #content h4 {font-size: 1rem; line-height: 1; width: 50%; float: left; padding-left: 30px; padding-right: 30px; text-align: left;} #questions .button { margin-top: 7px !important;} @@ -235,6 +237,11 @@ footer a:hover {color: #46c1be !important;} footer {padding-top: 20px;} .p-lr-50-sm {padding-left: 50px; padding-right: 50px;} + .p-lr-15-sm {padding-left: 15px; padding-right: 15px;} + + .footer-menu ul.menu li{display: block; } + .footer-info a {display: block;} + .footer-info span {display: none;} #responsive-menu {z-index: 500; width: 100%; height: 100%; min-height: 100%; position: absolute; top: 0; left: 0; background-color: rgba(70, 193, 190, 0.8); } #hidden-menu-divider {display: block; margin: 40px auto 20px; font-size: 1.8rem; color: #ffffff; text-align: center; font-weight: 500;} @@ -245,6 +252,11 @@ footer a:hover {color: #46c1be !important;} #unload-menu {position: absolute; top: 0; float: right; margin: 10px;} } +@media (max-width:430px) { + #content h4 {width: 100%;} + #questions .button { margin-top: 7px !important;} +} + /* BLightBox defaults */ .b-lightbox-holder{background-color:rgba(0,0,0,0.85);width:100%;height:100%;position:fixed;top:0;left:0;display:none;z-index:1000;} .b-lightbox-image{display:none;border-radius:0;max-height:90%;max-width:90%;position:fixed;margin:0 auto;z-index:1001;} diff --git a/resources/views/visitor/cwbs/defaultLayout.blade.php b/resources/views/visitor/cwbs/defaultLayout.blade.php index 3ec17ed9..f487ae62 100644 --- a/resources/views/visitor/cwbs/defaultLayout.blade.php +++ b/resources/views/visitor/cwbs/defaultLayout.blade.php @@ -92,7 +92,9 @@ --}}
- @widgetArea('mainMenu') +

@widgetArea('footer') diff --git a/resources/views/visitor/cwbs/homepageLayout.blade.php b/resources/views/visitor/cwbs/homepageLayout.blade.php index a980c055..5e64be00 100644 --- a/resources/views/visitor/cwbs/homepageLayout.blade.php +++ b/resources/views/visitor/cwbs/homepageLayout.blade.php @@ -154,7 +154,9 @@ --}}
- @widgetArea('mainMenu') +

@widgetArea('footer') diff --git a/resources/views/visitor/cwbs/modules/ContactForm/contact.blade.php b/resources/views/visitor/cwbs/modules/ContactForm/contact.blade.php index 4772cf88..4ce1e786 100644 --- a/resources/views/visitor/cwbs/modules/ContactForm/contact.blade.php +++ b/resources/views/visitor/cwbs/modules/ContactForm/contact.blade.php @@ -40,7 +40,7 @@
-
+
Napište nám
{!! csrf_field() !!} diff --git a/resources/views/visitor/cwbs/modules/Gallery/default.blade.php b/resources/views/visitor/cwbs/modules/Gallery/default.blade.php index 62c619ff..9d8ade18 100644 --- a/resources/views/visitor/cwbs/modules/Gallery/default.blade.php +++ b/resources/views/visitor/cwbs/modules/Gallery/default.blade.php @@ -6,7 +6,7 @@