diff --git a/XLS_export.php b/XLS_export.php index bf409f8..6facb8c 100755 --- a/XLS_export.php +++ b/XLS_export.php @@ -29,13 +29,13 @@ case "board": $fields=array("last_name","first_name","address","zip_code","city","province"); $order="last_name"; break; -case "farmacie": -$fields=array("farmacia","via","comune"); -$order="farmacia"; +case "pharmacy": +$fields=array("pharmacy","address","city"); +$order="pharmacy"; break; -case "parafarmacie": -$fields=array("parafarmacia","via","comune"); -$order="parafarmacia"; +case "parapharmacy": +$fields=array("parapharmacy","address","city"); +$order="parapharmacy"; break; } diff --git a/css/styles.css b/css/styles.css index 8351d10..20abe12 100644 --- a/css/styles.css +++ b/css/styles.css @@ -14389,27 +14389,29 @@ a:hover { } /* line 3, forms.scss */ -input, button { +input, select, button { border-radius: 3px; margin: 5px 0; -webkit-appearance: none; + outline: none !important; } /* line 7, forms.scss */ -input::-ms-clear, button::-ms-clear { +input::-ms-clear, select::-ms-clear, button::-ms-clear { display: none; } /* line 10, forms.scss */ -input:focus, button:focus { +input:focus, select:focus, button:focus { outline: none; } /* line 11, forms.scss */ -input::-moz-focus-inner, button::-moz-focus-inner { +input::-moz-focus-inner, select::-moz-focus-inner, button::-moz-focus-inner { border: 0; } -/* line 14, forms.scss */ +/* line 16, forms.scss */ input[type=text], -input[type=password] { +input[type=password], +select { border: 1px solid #aaa; color: #aaa; padding: 5px 20px; @@ -14418,7 +14420,7 @@ input[type=password] { box-sizing: border-box; } -/* line 24, forms.scss */ +/* line 27, forms.scss */ input[type=button], input[type=submit], button { @@ -14427,11 +14429,12 @@ button { text-align: center; padding: 5px 20px; font-size: 0.75rem; + line-height: 23px; cursor: pointer; border: none; transition: .5s; } -/* line 37, forms.scss */ +/* line 41, forms.scss */ input[type=button]:hover, input[type=submit]:hover, button:hover { @@ -14439,12 +14442,24 @@ button:hover { background-color: #aaa; } -/* line 46, forms.scss */ +/* line 49, forms.scss */ +select { + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + background-color: white; + background-image: url(../images/angle-down.png); + background-position: right 5px center; + background-size: 20px; + background-repeat: no-repeat; +} + +/* line 61, forms.scss */ input[type="radio"], input[type="checkbox"] { display: none; } -/* line 50, forms.scss */ +/* line 65, forms.scss */ input[type="radio"] + label::before, input[type="checkbox"] + label::before { content: ""; @@ -14459,7 +14474,7 @@ input[type="checkbox"] + label::before { font-size: 1rem; line-height: 10px; } -/* line 65, forms.scss */ +/* line 80, forms.scss */ input[type="radio"]:checked + label::before, input[type="checkbox"]:checked + label::before { font-family: 'FontAwesome'; @@ -14964,6 +14979,27 @@ header .breadcrumb .container .crumbs a:hover { padding: 6px 0; } +/* line 4, sections/pharmacy.scss */ +.pharmacy .results .item { + padding: 10px; + transition: .4s; + font-size: 0.875rem; + border-bottom: 1px solid #d1efb5; +} +/* line 10, sections/pharmacy.scss */ +.pharmacy .results .item .fa-angle-right { + padding: 0 5px; + transition: .4s; +} +/* line 15, sections/pharmacy.scss */ +.pharmacy .results .item:hover { + background: #d1efb5; +} +/* line 17, sections/pharmacy.scss */ +.pharmacy .results .item:hover .fa-angle-right { + margin-left: 5px; +} + @media only screen and (min-width: 768px) { /* line 5, mediaqueries/viewports/_768up.scss */ header { diff --git a/farmacie.php b/farmacie.php new file mode 100644 index 0000000..7d79115 --- /dev/null +++ b/farmacie.php @@ -0,0 +1,63 @@ + + + +
+ +
+
Ricerca farmacie
+
+ + +
+
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+ "> + + +
+ + +
+ + ".$r['pharmacy']." +

".$r['address']." - ".$r['city']."

+

Telefono: ".$r['phone']."

"; + } + + + ?> + +
+ + + + + diff --git a/images/angle-down.png b/images/angle-down.png new file mode 100644 index 0000000..8acee93 Binary files /dev/null and b/images/angle-down.png differ diff --git a/parafarmacie.php b/parafarmacie.php new file mode 100644 index 0000000..2979f64 --- /dev/null +++ b/parafarmacie.php @@ -0,0 +1,63 @@ + + + +
+ +
+
Ricerca parafarmacie
+
+ + +
+
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+ "> + + +
+ + +
+ + ".$r['parapharmacy']." +

Parafarmacia ".$r['address']." - ".$r['city']."

+

Telefono: ".$r['phone']."

"; + } + + + ?> + +
+ + + + + diff --git a/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/pharmacy.scssc b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/pharmacy.scssc new file mode 100644 index 0000000..67fd004 Binary files /dev/null and b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/pharmacy.scssc differ diff --git a/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/sections.scssc b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/sections.scssc index 90640d1..6f28b7c 100644 Binary files a/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/sections.scssc and b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/sections.scssc differ diff --git a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc index f1287c6..5bbca39 100644 Binary files a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc and b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc differ diff --git a/scss/forms.scss b/scss/forms.scss index 73fcf15..385a59f 100644 --- a/scss/forms.scss +++ b/scss/forms.scss @@ -1,6 +1,6 @@ -input,button{ +input,select,button{ border-radius: 3px; margin: 5px 0; -webkit-appearance: none; @@ -9,10 +9,13 @@ input,button{ } &:focus {outline:none;} &::-moz-focus-inner {border:0;} + + outline: none !important; } input[type=text], -input[type=password]{ +input[type=password], +select{ border: 1px solid $grey; color: $grey; padding: 5px 20px; @@ -30,6 +33,7 @@ button{ text-align: center; padding: 5px 20px; font-size: $font-12; + line-height: 23px; cursor: pointer; border: none; transition: .5s; @@ -38,15 +42,26 @@ button{ color: white; background-color: $grey; } - + } +select{ + appearance: none; + -moz-appearance: none; + -webkit-appearance: none; + background-color: white; + background-image: url(../images/angle-down.png); + background-position: right 5px center; + background-size: 20px; + background-repeat: no-repeat; +} + input[type="radio"], input[type="checkbox"]{ display: none; - + &+label::before { content: ""; display: inline-block; diff --git a/scss/sections/pharmacy.scss b/scss/sections/pharmacy.scss new file mode 100644 index 0000000..0409e86 --- /dev/null +++ b/scss/sections/pharmacy.scss @@ -0,0 +1,23 @@ + +.pharmacy{ + .results{ + .item{ + padding: 10px; + transition: .4s; + font-size: $font-14; + border-bottom: 1px solid $light-grey; + + .fa-angle-right{ + padding: 0 5px; + transition: .4s; + } + + &:hover{ + background: $light-grey; + .fa-angle-right{ + margin-left: 5px; + } + } + } + } +} diff --git a/scss/sections/sections.scss b/scss/sections/sections.scss index eb7f659..4fd6d21 100644 --- a/scss/sections/sections.scss +++ b/scss/sections/sections.scss @@ -1,6 +1,7 @@ -@import "homepage"; -@import "news"; -@import "lists"; -@import "bod"; -@import "board"; +@import "homepage"; +@import "news"; +@import "lists"; +@import "bod"; +@import "board"; +@import "pharmacy";