diff --git a/css/styles.css b/css/styles.css index 4c6331e..c279c94 100644 --- a/css/styles.css +++ b/css/styles.css @@ -14556,7 +14556,7 @@ a:hover { #MainContent { top: 0; z-index: 0; - overflow: hidden; + overflow-x: hidden; } /* line 89, global.scss */ @@ -14741,17 +14741,26 @@ header .container .row .menu ul li.active a:hover, header .container .row .menu line-height: 36px; padding: 0 10px; background: white; - border: 2px solid #ddd; + border: 2px solid #f2f2f2; border-radius: 5px; position: relative; + transition: .4s; +} +/* line 51, sections/modules.scss */ +.modules .content .dropdown.droppable.drop-active { + border: 2px solid #bf0f3d; +} +/* line 55, sections/modules.scss */ +.modules .content .dropdown.drop-inactive { + opacity: .4; } -/* line 49, sections/modules.scss */ +/* line 59, sections/modules.scss */ .modules .content .dropdown .label { font-size: 0.75rem; font-weight: bold; color: black; } -/* line 55, sections/modules.scss */ +/* line 65, sections/modules.scss */ .modules .content .dropdown .data { position: absolute; font-size: 0.625rem; @@ -14760,17 +14769,49 @@ header .container .row .menu ul li.active a:hover, header .container .row .menu right: 10px; top: 0; } -/* line 64, sections/modules.scss */ +/* line 74, sections/modules.scss */ .modules .content .dropdown:after { content: '\f107'; font-family: "FontAwesome"; position: absolute; font-weight: bold; - color: #ddd; + color: #2f2f2f; top: 0; right: -25px; } -/* line 78, sections/modules.scss */ +/* line 84, sections/modules.scss */ +.modules .content .dropdown.active { + border: 2px solid #ddd; +} +/* line 86, sections/modules.scss */ +.modules .content .dropdown.active:after { + color: #ddd; +} +/* line 95, sections/modules.scss */ +.modules .content .dropdown-links .link { + width: 100%; + height: 20px; + border-top: 1px solid #ddd; + border-right: 1px solid #ddd; +} +/* line 100, sections/modules.scss */ +.modules .content .dropdown-links .link:first-child { + border-left: 1px solid #ddd; +} +/* line 104, sections/modules.scss */ +.modules .content .dropdown-links .link.source { + border: 0; + position: relative; +} +/* line 107, sections/modules.scss */ +.modules .content .dropdown-links .link.source:before { + content: ''; + position: absolute; + right: 50%; + height: 100%; + border-left: 1px solid #ddd; +} +/* line 118, sections/modules.scss */ .modules .content .div-drop { width: 100px; padding: 10px; diff --git a/js/scripts.js b/js/scripts.js index 0292181..0c79f9c 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -4,6 +4,8 @@ function allowDrop(ev) { function drag(ev) { ev.dataTransfer.setData("text", ev.target.id); + $('.dropdown').addClass('drop-inactive'); + $('.droppable').removeClass('drop-inactive').addClass('drop-active'); } function drop(ev) { @@ -17,3 +19,9 @@ function drop(ev) { // ev.target.appendChild(module.get(0)); console.log(module.text()); } + + +function dragLeave(ev) { + $('.dropdown').removeClass('drop-inactive'); + $('.droppable').removeClass('drop-active'); +} diff --git a/modules.php b/modules.php index 0c03ba2..62c4773 100644 --- a/modules.php +++ b/modules.php @@ -5,17 +5,17 @@
Sfruttare le differenze culturali per ottimizzare il processo di vendita
Mettere il cliente nella condizione ideale per compiere un acquisto
Ottimizzare il tempo di attesa per il pagamento delle merci
Company overview
-