diff --git a/ADMIN/links.php b/ADMIN/links.php index 85e7b34..f72ecde 100644 --- a/ADMIN/links.php +++ b/ADMIN/links.php @@ -23,7 +23,7 @@ section if(sizeof($_POST)){ - $query = "INSERT INTO links VALUES(0, '".$_POST['title']."', '".$_POST['text']."', '".$_POST['section']."')"; + $query = "INSERT INTO links VALUES(0, '".addslashes($_POST['title'])."', '".addslashes($_POST['text'])."', '".$_POST['section']."')"; $q = mysqli_query($conn, $query); echo $query; diff --git a/blocks/contactFormSubmit.php b/blocks/contactFormSubmit.php index 0090e37..1a29f5b 100755 --- a/blocks/contactFormSubmit.php +++ b/blocks/contactFormSubmit.php @@ -6,8 +6,6 @@ @include '../cgi-bin/functions.inc'; @include '../cgi-bin/params.inc'; - $GLOBALS['getQ'][0]="home"; - $GLOBALS['isHome'] = true; $GLOBALS['conn']; $conn=@mysqli_connect($DATAhst,$DATAusr,$DATApwd,$DATAdtb)or die("CONNECTION ERROR"); @@ -30,7 +28,7 @@ if(sizeof($_GET)>0 && $_GET['g-recaptcha-response']){ - $SM_email = $_GET['aaa']; + $SM_email = $_GET['dest']; $SM_email2 = 0; $SM_email_CC = 0; $SM_subject = $_GET['subject']; diff --git a/blocks/login.php b/blocks/login.php index 6e6c352..18b1bd0 100644 --- a/blocks/login.php +++ b/blocks/login.php @@ -5,25 +5,25 @@
- +
-
  • Richiedi dati di accesso
  • -
  • Recupera password
  • +
  • Richiedi dati di accesso
  • +
  • Recupera password
  • - +
  • Accesso effettuato per:

  • - + diff --git a/blocks/registerFormSubmit.php b/blocks/registerFormSubmit.php new file mode 100755 index 0000000..16afdd6 --- /dev/null +++ b/blocks/registerFormSubmit.php @@ -0,0 +1,172 @@ + + + + + + Ordine dei Farmacisti della Provincia di Salerno + + + + + + +
    + +0){ + $err = 0; + $mess = ""; + + if(!$_GET['first_name']){ + $err += 1; + $mess .= "

    Il campo \"Nome\" è obbligatorio.

    "; + } + if(!$_GET['last_name']){ + $err += 1; + $mess .= "

    Il campo \"Cognome\" è obbligatorio.

    "; + } + if(strlen($_GET['pwd'])<8){ + $err += 1; + $mess .= "

    La password deve contenere almeno 8 caratteri.

    "; + } + if($_GET['pwd']!=$_GET['rpwd']){ + $err += 1; + $mess .= "

    Le password inserite non corrispondono.

    "; + } + if(!$_GET['tax_code']){ + $err += 1; + $mess .= "

    Il campo \"Codice fiscale\" è obbligatorio.

    "; + } + if(!$_GET['email'] || !filter_var($_GET['email'], FILTER_VALIDATE_EMAIL)){ + $err += 1; + $mess .= "

    Il campo \"Email\" è obbligatorio, controlla che l'indirizzo sia corretto.

    "; + } + if(!$_GET['board_id']){ + $err += 1; + $mess .= "

    Devi inserire il numero di iscrizione all'Albo.

    "; + } + if(!$_GET['privacy']){ + $err += 1; + $mess .= "

    Devi effettuare acconsentire al trattamento dei dati.

    "; + } + if(!$_GET['g-recaptcha-response']){ + $err += 1; + $mess .= "

    Devi effettuare il controllo di sicurezza.

    "; + } + + if($err!=0){ + echo "
    ". + "

    ". + $mess."
    "; + }else{ + + $q=mysqli_query($conn, "SELECT COUNT(id) FROM board WHERE + first_name='".trim($_GET['first_name'])."' AND + last_name='".trim($_GET['last_name'])."' AND + id='".trim($_GET['board_id'])."' + "); + $r=mysqli_fetch_array($q); + + if(!$r[0]){ + echo "
    ". + "

    ". + "ATTENZIONE: L'utente non risulta presente in database, controlla i dati inseriti e riprova.". + "
    "; + }else{ + $q=mysqli_query($conn, "UPDATE board SET + usr='".trim($_GET['usr'])."', + pwd='".md5(trim($_GET['pwd']))."', + email='".trim($_GET['email'])."' + WHERE id='".trim($_GET['board_id'])."' + "); + + $SM_email = $_GET['email']; + $SM_email2 = 0; + $SM_email_CC = 0; + $SM_subject = "Richiesta di registrazione"; + $SM_messageH1 = "Ricevi questa email perchè hai richiesto l'iscrizione al portale dell'Ordine dei Farmacisti della Provincia di Salerno.

    I tuoi dati saranno controllati ed in caso di esito positivo provvederemo ad abilitare il tuo account.

    Per accedere al portale è necessario attendere la mail di conferma.

    "; + $SM_messageH2 = "Un utente ha richiesto di iscriversi al portale dell'Ordine, accedi al pannello di amministrazione per effettuare l'abilitazione.

    "; + $SM_message = "Riepilogo dati
    ". + "Nome: ".trim($_GET['first_name'])."
    ". + "Cognome: ".trim($_GET['last_name'])."
    ". + "Username: ".trim($_GET['usr'])."
    ". + "Password: ".trim($_GET['pwd'])."
    ". + "Email: ".trim($_GET['email'])."
    ". + "N. iscrizione: ".trim($_GET['board_id']).""; + $SM_showalert = 0; + $SM_append = 0; + + sendMail($SM_email,$SM_email2,$SM_email_CC,$SM_subject,$SM_messageH1."".$SM_message,$SM_showalert,$SM_append); + sendMail("dslaky@gmail.com",$SM_email2,$SM_email_CC,$SM_subject,$SM_messageH2."".$SM_message,$SM_showalert,$SM_append); + + echo "
    ". + "

    ". + "Dati inviati correttamente.
    ". + "Ti abbiamo inviato una mail all'indirizzo da te indicato, i tuoi dati saranno controllati ed in caso di esito positivo provvederemo ad abilitare il tuo account.
    ". + "Per accedere al portale è necessario attendere la mail di conferma.". + "
    "; + } + } + + } +/* + if(sizeof($_GET)>0 && $_GET['g-recaptcha-response']){ + + $SM_email = $_GET['email']; + $SM_email2 = 0; + $SM_email_CC = 0; + $SM_subject = "Richiesta di registrazione"; + $SM_message = "Nome del mittente:". $_GET['name']."
    "; + $SM_message .= "Email del mittente:". $_GET['email']."

    "; + $SM_message .= $_GET['message']; + $SM_showalert = 0; + $SM_append = 0; + + sendMail($SM_email,$SM_email2,$SM_email_CC,$SM_subject,$SM_message,$SM_showalert,$SM_append); + +?> + + +
    +

    + E-mail inviata correttamente a +
    + + +0 && + (!$_GET['g-recaptcha-response'] || + strlen($_GET['first_name']) < 5 || + strlen($_GET['last_name']) < 5 || + strlen($_GET['usr']) < 5 || + strlen($_GET['pwd']) < 5 || + strlen($_GET['pwd']) < 5 || + strlen($_GET['email']) < 5 || + strlen($_GET['message']) < 5)){ + echo "
    +

    + ATTENZIONE: Ricorda ti compilare tutti i campi ed effettuare il controllo si sicurezza.
    "; + } + }*/ +?> + +
    + + diff --git a/cgi-bin/functions.inc b/cgi-bin/functions.inc index 8c36f05..70451be 100755 --- a/cgi-bin/functions.inc +++ b/cgi-bin/functions.inc @@ -93,17 +93,17 @@ $top=<<
    +
    - - - + + +"; -$bottom.="
    -Ordine dei Farmacisti di Salerno

    $SM_subject$send_date
    +Ordine dei Farmacisti di Salerno

    $SM_subject$send_date
    ttop; $bottom="

    ". +$bottom.="

    ". "Questa e-mail contiene informazioni di proprietà e di natura confidenziale. Se non siete il destinatario corretto di questo messaggio, vi ricordiamo che ogni diffusione, distribuzione o copia di questo messaggio è severamente proibita. Se avete ricevuto questo messaggio per errore, siete pregati di cancellarlo immediatamente. Quanto precede ai fini del rispetto del D.L. n. 196/03 sulla tutela dei dati personali.
    -
    ". "This e-mail (and any attachments) is strictly confidential and for use only by intendend recipients. If you are not an intended recipients, we point you that any diffusion, distribution or copy of this message is severely forbidden. If you have received t his message by mistake please destroy it immediately (under the observance of D.L. n. 196/03 which protects personal data).". "
    Rispetta l'ambiente. Non stampare questa mail se non è necessaria."; @@ -170,11 +170,10 @@ $msg=""; } } - /* + $of=fopen("../mailoutput.html","w"); fwrite($of, "Email:".$SM_email."\n
    Email:".$SM_email2."\n
    Email CC:".$SM_email_CC."\n
    Subject:".$SM_subject."\n

    CONTENT:\n".$msg); fclose($of); - */ } diff --git a/contents/amministrazione-trasparente.php b/contents/amministrazione-trasparente.php new file mode 100644 index 0000000..8075e91 --- /dev/null +++ b/contents/amministrazione-trasparente.php @@ -0,0 +1,21 @@ +
    +
    +
    Amministrazione trasparente
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/consigli-sanitari.php b/contents/consigli-sanitari.php new file mode 100644 index 0000000..3cf0443 --- /dev/null +++ b/contents/consigli-sanitari.php @@ -0,0 +1,21 @@ +
    +
    +
    Consigli sanitari
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/farmacovigilanza.php b/contents/farmacovigilanza.php new file mode 100644 index 0000000..c2d6c17 --- /dev/null +++ b/contents/farmacovigilanza.php @@ -0,0 +1,21 @@ +
    +
    +
    Farmacovigilanza
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/leggi-decreti-normative.php b/contents/leggi-decreti-normative.php new file mode 100644 index 0000000..142746b --- /dev/null +++ b/contents/leggi-decreti-normative.php @@ -0,0 +1,21 @@ +
    +
    +
    Leggi, dectreti e normative UE
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/ordinanze.php b/contents/ordinanze.php new file mode 100644 index 0000000..ff68e6e --- /dev/null +++ b/contents/ordinanze.php @@ -0,0 +1,21 @@ +
    +
    +
    Ordinanze T.A.R. Campania
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/rassegna-stampa.php b/contents/rassegna-stampa.php new file mode 100644 index 0000000..369f065 --- /dev/null +++ b/contents/rassegna-stampa.php @@ -0,0 +1,21 @@ +
    +
    +
    Rassegna stampa
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/contents/ricette-e-timbri.php b/contents/ricette-e-timbri.php index d7b9d88..889c79c 100644 --- a/contents/ricette-e-timbri.php +++ b/contents/ricette-e-timbri.php @@ -25,10 +25,10 @@ if($_SESSION['AUTH']){ ?> -
    +
    + -
    Segnalazioni anno $current
      "; - + $qs=mysqli_query($conn,"SELECT * FROM files WHERE path='/docs/ricette-e-timbri' AND date LIKE '$current-%' ORDER BY date DESC"); while($rs=mysqli_fetch_array($qs)){ echo "
    • "; item_file($rs); echo "
    • "; } - + echo "
    "; $active=""; } } ?>
    - + diff --git a/contents/ricette-veterinarie.php b/contents/ricette-veterinarie.php new file mode 100644 index 0000000..2aa09c4 --- /dev/null +++ b/contents/ricette-veterinarie.php @@ -0,0 +1,21 @@ +
    +
    +
    Guida rapida alla spedizione delle ricette veterinarie
    +
    + +
    +
    +
    +
    nome del file
    +
    dimensione
    +
    ultima mod.
    +
    +
    + +
    +
    diff --git a/css/styles.css b/css/styles.css index 4f0c30f..7cef4c2 100644 --- a/css/styles.css +++ b/css/styles.css @@ -14288,40 +14288,43 @@ label { a { color: #666; text-decoration: none; + outline: none !important; + -moz-outline: none !important; + -webkit-outline: none !important; transition: .4s; } -/* line 15, global.scss */ +/* line 18, global.scss */ a:hover { color: #4e984a; text-decoration: none; } -/* line 21, global.scss */ +/* line 24, global.scss */ .box { background: #d1efb5; border-radius: 3px; } -/* line 26, global.scss */ +/* line 29, global.scss */ .container { width: 100%; max-width: 1366px; padding: 0 20px; } -/* line 32, global.scss */ +/* line 35, global.scss */ .border { border: 1px solid red; } -/* line 37, global.scss */ +/* line 40, global.scss */ .middle { position: absolute; top: 50%; transform: translateY(-50%); } -/* line 43, global.scss */ +/* line 46, global.scss */ .middle-right { position: absolute; right: 0; @@ -14329,7 +14332,7 @@ a:hover { transform: translateY(-50%); } -/* line 50, global.scss */ +/* line 53, global.scss */ .full-middle { position: absolute; left: 50%; @@ -14337,22 +14340,22 @@ a:hover { transform: translate(-50%, -50%); } -/* line 59, global.scss */ +/* line 62, global.scss */ .bg-alpha { background: rgba(255, 255, 255, 0.5); } -/* line 63, global.scss */ +/* line 66, global.scss */ .radius { border-radius: 3px; } -/* line 67, global.scss */ +/* line 70, global.scss */ .radius-bottom { border-radius: 0 0 3px 3px; } -/* line 71, global.scss */ +/* line 74, global.scss */ .section-title { font-size: 0.75rem; text-transform: uppercase; @@ -14363,7 +14366,7 @@ a:hover { border-radius: 3px; } -/* line 81, global.scss */ +/* line 84, global.scss */ .section-title { font-size: 0.75rem; color: white; @@ -14377,34 +14380,34 @@ a:hover { line-height: 35px; } -/* line 96, global.scss */ +/* line 99, global.scss */ .items-list .item { padding: 10px; transition: .4s; font-size: 0.875rem; border-bottom: 1px solid #d1efb5; } -/* line 102, global.scss */ +/* line 105, global.scss */ .items-list .item .fa-angle-right { padding: 0 5px; transition: .4s; } -/* line 108, global.scss */ +/* line 111, global.scss */ .items-list .item a:after { content: '\f0c1'; font-family: 'FontAwesome'; padding: 0 5px; } -/* line 115, global.scss */ +/* line 118, global.scss */ .items-list .item:hover { background: #d1efb5; } -/* line 117, global.scss */ +/* line 120, global.scss */ .items-list .item:hover .fa-angle-right { margin-left: 5px; } -/* line 124, global.scss */ +/* line 127, global.scss */ #MainContent { position: absolute; top: 40px; @@ -14413,7 +14416,7 @@ a:hover { overflow: hidden; } -/* line 132, global.scss */ +/* line 135, global.scss */ #map { width: 100%; border-radius: 3px; @@ -14517,22 +14520,29 @@ input[type="radio"] + label::before, input[type="checkbox"] + label::before { content: ""; display: inline-block; - width: 12px; - height: 12px; - border: solid 1px black; + width: 16px; + height: 16px; + border: solid 1px #aaa; background: transparent; cursor: pointer; vertical-align: middle; margin: -4px 4px 0 0; font-size: 1rem; - line-height: 10px; + line-height: 14px; + border-radius: 2px; } -/* line 89, forms.scss */ +/* line 90, forms.scss */ input[type="radio"]:checked + label::before, input[type="checkbox"]:checked + label::before { font-family: 'FontAwesome'; content: "\f00c"; padding: 0 0 1px 0; + color: #4e984a; +} + +/* line 100, forms.scss */ +input[type="radio"] + label::before { + border-radius: 16px; } /* line 2, header.scss */ @@ -14739,8 +14749,9 @@ header .breadcrumb .container .crumbs a:hover { height: 0px; padding: 0 10px; margin: 0; + transition: .4s; } -/* line 78, navigation.scss */ +/* line 79, navigation.scss */ .dropdown > .items li { font-size: 0.75rem; text-align: left; @@ -14748,44 +14759,44 @@ header .breadcrumb .container .crumbs a:hover { padding: 10px 0; list-style: none; } -/* line 85, navigation.scss */ +/* line 86, navigation.scss */ .dropdown > .items li a { color: #666; text-decoration: none; transition: .4s; cursor: pointer; } -/* line 90, navigation.scss */ +/* line 91, navigation.scss */ .dropdown > .items li a:hover { color: #aaa; } -/* line 94, navigation.scss */ +/* line 95, navigation.scss */ .dropdown > .items li:last-child { border-bottom: none; } -/* line 101, navigation.scss */ +/* line 102, navigation.scss */ .dropdown.active { border-top: 3px solid #4e984a; border-bottom: 3px solid #4e984a; } -/* line 105, navigation.scss */ +/* line 106, navigation.scss */ .dropdown.active > .title { background: #4e984a; } -/* line 107, navigation.scss */ +/* line 108, navigation.scss */ .dropdown.active > .title:after { transform: rotate(90deg); } -/* line 111, navigation.scss */ +/* line 112, navigation.scss */ .dropdown.active > .items { height: auto; } -/* line 120, navigation.scss */ +/* line 121, navigation.scss */ .pages { text-align: center; } -/* line 122, navigation.scss */ +/* line 123, navigation.scss */ .pages a { display: inline-block; background: #d1efb5; @@ -14795,7 +14806,7 @@ header .breadcrumb .container .crumbs a:hover { color: #4e984a; padding: 4px 8px; } -/* line 131, navigation.scss */ +/* line 132, navigation.scss */ .pages a:hover, .pages a.selected { color: white; background: #4e984a; diff --git a/images/logo-white.png b/images/logo-white.png new file mode 100644 index 0000000..3483232 Binary files /dev/null and b/images/logo-white.png differ diff --git a/js/scripts.js b/js/scripts.js index 85e99de..62f2ddf 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -3,7 +3,7 @@ $(document).ready(function(){ $('.cboxElement').colorbox({height: '80%',transition: 'elastic', close: ''}); - $('#contact-form').on('submit', function(event) { + $('#contact-form, #register-form').on('submit', function(event) { $.colorbox({width:"60%", height:"60%",transition: 'elastic', close: '', iframe: true, href:$(this).attr('action')+"?" + $(this).serialize()}); event.preventDefault(); }); diff --git a/mailoutput.html b/mailoutput.html new file mode 100644 index 0000000..8ff0c27 --- /dev/null +++ b/mailoutput.html @@ -0,0 +1,16 @@ +Email:dslaky@gmail.com +
    Email:0 +
    Email CC:0 +
    Subject:Richiesta di registrazione +

    CONTENT: +
    + + + + +
    +Ordine dei Farmacisti di Salerno

    Richiesta di registrazione11/02/2018
    Un utente ha richiesto di iscriversi al portale dell'Ordine, accedi al pannello di amministrazione per effettuare l'abilitazione.

    Riepilogo dati
    Nome: giancarmine
    Cognome: abate
    Username: gianco1
    Password: 123456781
    Email: dslaky@gmail.com
    N. iscrizione: 1921

    Questa e-mail contiene informazioni di proprietà e di natura confidenziale. Se non siete il destinatario corretto di questo messaggio, vi ricordiamo che ogni diffusione, distribuzione o copia di questo messaggio è severamente proibita. Se avete ricevuto questo messaggio per errore, siete pregati di cancellarlo immediatamente. Quanto precede ai fini del rispetto del D.L. n. 196/03 sulla tutela dei dati personali.
    -
    This e-mail (and any attachments) is strictly confidential and for use only by intendend recipients. If you are not an intended recipients, we point you that any diffusion, distribution or copy of this message is severely forbidden. If you have received t his message by mistake please destroy it immediately (under the observance of D.L. n. 196/03 which protects personal data).
    Rispetta l'ambiente. Non stampare questa mail se non è necessaria.
    + diff --git a/recupera-password.php b/recupera-password.php new file mode 100644 index 0000000..949fd87 --- /dev/null +++ b/recupera-password.php @@ -0,0 +1,34 @@ +
    +
    +
    Contatti
    +
    + +
    + Sede: Via Settimio Mobilio, 17 - SALERNO
    + Telefono: 089.405080 - 089.795900
    + Fax: 089.798628
    + E-Mail: info@ordinefarmacistisalerno.it
    + E-Mail certificata: ordinefarmacistisa@pec.fofi.it
    +
    + + +
    +
    Richiedi informazioni
    +
    +
    + +
    + + +
    +
    Come raggiungerci
    +
    +
    +
    + +
    +
    + +
    diff --git a/registrati.php b/registrati.php new file mode 100644 index 0000000..a9ca6d4 --- /dev/null +++ b/registrati.php @@ -0,0 +1,89 @@ +
    +
    +
    Richiedi dati di accesso
    +
    + +
    +

    Per accedere ai servizi è necessario essere iscritti all'Ordine dei Farmacisti della provincia di Salerno. Per registrarti, compila i campi del seguente modulo con i tuoi dati e clicca sul pulsante iscriviti.

    +
    +
    + +
    +
    + +
    + Nome + +
    +
    + Cognome + +
    + + +
    + Username + +
    +
    +
    + Password + +
    +
    + Ripeti password + +
    + +
    + Email + +
    +
    + Codice fiscale + +
    + +
    + N. di iscrizione all'Albo + +
    + +
    + + +
    + +
    + + +
    +

    + + +

    +

    + + +

    +
    +
    + Controllo di sicurezza +
    +
    + + +
    +
    + +
    +
    +
    + +
    + +
    diff --git a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc index 4c032ef..3de220a 100644 Binary files a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc and b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/forms.scssc differ diff --git a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc index 506556a..7eeee71 100644 Binary files a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc and b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc differ diff --git a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/navigation.scssc b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/navigation.scssc index 7ca8467..f334d25 100644 Binary files a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/navigation.scssc and b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/navigation.scssc differ diff --git a/scss/forms.scss b/scss/forms.scss index 21ec9b7..b1737b1 100644 --- a/scss/forms.scss +++ b/scss/forms.scss @@ -74,15 +74,16 @@ input[type="checkbox"]{ &+label::before { content: ""; display: inline-block; - width: 12px; - height: 12px; - border: solid 1px black; + width: 16px; + height: 16px; + border: solid 1px $grey; background: transparent; cursor: pointer; vertical-align: middle; margin: -4px 4px 0 0; font-size: 1rem; - line-height: 10px; + line-height: 14px; + border-radius: 2px; } &:checked{ @@ -90,6 +91,13 @@ input[type="checkbox"]{ font-family: 'FontAwesome'; content: "\f00c"; padding: 0 0 1px 0; + color: $green; } } } + +input[type="radio"]{ + &+label::before { + border-radius: 16px; + } +} diff --git a/scss/global.scss b/scss/global.scss index 784e79e..026a04b 100644 --- a/scss/global.scss +++ b/scss/global.scss @@ -11,6 +11,9 @@ label{ a{ color: $dark-grey; text-decoration: none; + outline: none !important; + -moz-outline: none !important; + -webkit-outline: none !important; transition: .4s; &:hover{ color: $green; diff --git a/scss/navigation.scss b/scss/navigation.scss index e830301..8a139d4 100644 --- a/scss/navigation.scss +++ b/scss/navigation.scss @@ -4,14 +4,14 @@ border-top: 3px solid $light-green; border-bottom: 3px solid $light-green; background: $light-grey; - + border-top: 3px solid $green; border-bottom: 3px solid $green; - + border-radius: 3px; margin-bottom: 4px; transition: .4s; - + &.static{ border-top: 3px solid $light-grey; border-bottom: 3px solid $light-grey; @@ -38,7 +38,7 @@ } } } - + > .title{ font-size: $font-12; font-weight: bold; @@ -49,7 +49,7 @@ background: $green; color: white; transition: .4s; - + &:after{ content: '\f105'; font-family: 'FontAwesome'; @@ -60,7 +60,7 @@ } - + &:hover{ border-top: 3px solid $green; border-bottom: 3px solid $green; @@ -68,20 +68,21 @@ background: $green; } } - + > .items{ overflow: hidden; height: 0px; padding: 0 10px; margin: 0; - + transition: .4s; + li{ font-size: $font-12; text-align: left; border-bottom: 1px solid $grey; padding: 10px 0; list-style: none; - + a{ color: $dark-grey; text-decoration: none; @@ -96,8 +97,8 @@ } } } - - + + &.active{ border-top: 3px solid $green; border-bottom: 3px solid $green; @@ -112,7 +113,7 @@ height: auto; } } -} +} @@ -127,7 +128,7 @@ margin: 4px; color: $green; padding: 4px 8px; - + &:hover, &.selected{ color: white; diff --git a/tmp/LogoOrdineScrittaW.png b/tmp/LogoOrdineScrittaW.png new file mode 100644 index 0000000..3483232 Binary files /dev/null and b/tmp/LogoOrdineScrittaW.png differ