/****************************************************************************************** FRONTEND.LESS interfacce frontend ******************************************************************************************/ /****************************************************************************************** IMPORT LESS ******************************************************************************************/ @import "../assets/bootstrap-3.0.0/less/variables.less"; @import "../assets/bootstrap-3.0.0/less/mixins.less"; /****************************************************************************************** GENERAL VARIABLES ******************************************************************************************/ @container_width: 1170px; @gold_medium: #ab7c00; @yellow_lighter: #fdf89f; @yellow_light: #f3d76c; @yellow_medium: #FCC80D; @yellow_dark: #a38f44; @red_medium: #AA1402; @red_dark: #690300; @gray_medium: #989898; @gray_dark: #5e5e5e; @gray_darker: #232222; /****************************************************************************************** MIXINS ******************************************************************************************/ .border() { border-bottom: 2px solid @gold_medium; } .button() { .button-variant(@gray_darker, @yellow_lighter, @gold_medium); .button-size(10px, 20px, 26px, 26px, 10px); .box-shadow(0 2px 10px @gray_darker); #gradient > .horizontal-three-colors(@yellow_light, @yellow_lighter, 50%, @yellow_light); .reset-filter(); border-width: 2px; border-style: solid; display: block; text-decoration: none; text-align: center; position: relative; &:hover { .box-shadow(0 2px 5px @gray_darker); } } /****************************************************************************************** HTML LAYOUT ******************************************************************************************/ /* Non-responsive overrides * * Utilitze the following CSS to disable the responsive-ness of the container, * grid system, and navbar. */ /* Reset the container */ .container { max-width: none !important; width: @container_width; } .col-lg-offset-1 { margin-left: 8.333333333333332%; } .col-lg-offset-2 { margin-left: 16.666666666666664%; } .col-lg-offset-3 { margin-left: 25%; } .col-lg-offset-4 { margin-left: 33.33333333333333%; } .col-lg-offset-5 { margin-left: 41.66666666666667%; } .col-lg-offset-6 { margin-left: 50%; } .col-lg-offset-7 { margin-left: 58.333333333333336%; } .col-lg-offset-8 { margin-left: 66.66666666666666%; } .col-lg-offset-9 { margin-left: 75%; } .col-lg-offset-10 { margin-left: 83.33333333333334%; } .col-lg-offset-11 { margin-left: 91.66666666666666%; } /* end */ html { body { line-height: normal; .section { min-width: @container_width; } ul { margin: 0; padding-left: 0; -webkit-margin-after: 0; -webkit-margin-before: 0; -webkit-padding-start: 0; li { list-style: none; } } //stile per i bottoni tondi color oro .button { .button(); &.portfolio { .size(248px, 47px); } &.skype { .size(248px, 47px); img { position: absolute; top: -10px; left: -10px; } strong { margin-left: 35px; } } &.mail { width: 100%; margin-top: 35px; font-size: 25px; img { float: left; margin: 2px 10px 2px 0; } strong { display: block; margin-top: 3px; } } &.presentazione { text-align: right; padding-top: 15px; padding-bottom: 18px; img { position: absolute; top: -8px; left: -17px; } } } //banner invio presentazione in footer .banner-presentation { width: 245px; height: 110px; padding: 17px 20px 20px 20px; font-size: 23px; font-family: Times, serif; color: @red_dark; text-decoration: none; text-align: right; display: block; #gradient > .horizontal-three-colors(@yellow_light, @yellow_lighter, 50%, @yellow_light); border-radius: 10px; .box-shadow(0 5px 15px rgba(0, 0, 0, 0.6)); &:hover { .box-shadow(0 3px 5px rgba(0, 0, 0, 0.4)); } } } } /****************************************************************************************** HEADER ******************************************************************************************/ #header { height: 798px; background: url("/images/landing-page/header-circo-bg.jpg") no-repeat center top; border-bottom: @gold_medium solid 2px; .border(); .logo { margin-top: -43px; } h2 { text-align: center; margin-top: 25px; strong { color: @yellow_light; font-size: 54px; line-height: 65px; text-shadow: 0px 2px 3px black; filter: dropshadow(color=#000000, offx=0, offy=2); } } hr { .size(640px, 1px); .center-block(); margin-top: 25px; margin-bottom: 20px; border: none; #gradient > .horizontal-three-colors(rgba(255, 255, 255, 0), white, 50%, rgba(255, 255, 255, 0)); } p { text-align: center; color: white; font-size: 28px; line-height: 40px; text-shadow: 0px 2px 2px black; filter: dropshadow(color=#000000, offx=0, offy=2); .reset-filter(); margin-bottom: 65px; } } /****************************************************************************************** HEADER SPECIFICI PER ALCUNE PAGINE ******************************************************************************************/ #header.specific-header { .logo { margin: 0 0 0 -96px; } h2 { margin-top: -120px; } h2, p { text-align: left; } &.agenzia-pubblicita { h2 strong, p { text-shadow: none; color: black; } hr { #gradient > .horizontal-three-colors(rgba(5, 124, 69, 0), #057c45, 50%, rgba(5, 124, 69, 0)); } } &.agenzia-pubblicita-frama { h2 strong, p { color: white; } h2 strong { font-size: 50px; } hr { #gradient > .horizontal-three-colors(rgba(0, 0, 0, 0), #FFF, 50%, rgba(0, 0, 0, 0)); } } &.agenzia-comunicazione-it, &.comunicazione-pubblicita { h2 strong, p { text-shadow: none; color: #004522; } h2 strong { font-size: 50px; } hr { #gradient > .horizontal-three-colors(rgba(5, 124, 69, 0), #057c45, 50%, rgba(5, 124, 69, 0)); } } &.sviluppo-progettazione-design-packaging { h2 strong, p { text-shadow: none; color: black; } hr { #gradient > .horizontal-three-colors(rgba(0, 0, 0, 0), black, 50%, rgba(0, 0, 0, 0)); } } &.realizzazione-catalogo-aziendale { h2 strong { font-size: 50px; } } &.agenzia-comunicazione-pubblicitaria { background: url('/images/landing-page/header-mocio-tonkita-bg.jpg') no-repeat center top; } &.sviluppo-progettazione-design-packaging { background: white url('/images/landing-page/header-pack-mengazzoli-bg.jpg') no-repeat center top; } &.realizzazione-catalogo-aziendale { background: white url('/images/landing-page/header-catalogo-aziendale-bg.jpg') no-repeat center top; } &.agenzia-comunicazione-pubblicitaria, &.sviluppo-progettazione-design-packaging, &.realizzazione-catalogo-aziendale, &.agenzia-pubblicita, &.agenzia-pubblicita-frama, &.agenzia-comunicazione-it, &.comunicazione-pubblicita, &.realizzazione-packaging { h2 { margin-top: -210px; } } } /****************************************************************************************** CONTENT ******************************************************************************************/ #content { padding: 80px 0 90px; .border(); .button { margin-bottom: 40px; &.skype { width: 100%; } &.home { margin-bottom: 35px; } } ul#nav-menu { padding-top: 30px; border-top: 1px solid @gray_dark; li { line-height: 20px; &:nth-child(5) { margin-top: 15px; } &:nth-child(7) { margin-top: 15px; } a { font-size: 15px; color: @gray_medium; padding-left: 20px; &:hover { color: white; text-decoration: none; background: url('/images/landing-page/star.png') no-repeat left center; } } } } h1 { color: @yellow_light; font-size: 40px; margin: 0 0 8px 0; } h2 { font-size: 22px; margin: 0; } hr { margin-top: 25px; margin-bottom: 25px; border-color: @gray_dark; } p { font-size: 15px; margin-top: 25px; margin-bottom: 0; &:first-child { margin: 0; } a { color: @yellow_light; text-decoration: underline; } } h4 { font-size: 20px; color: @yellow_light; margin-bottom: 25px; } ul.list { margin-top: 25px; li { list-style-type: disc; list-style-position: outside; margin-left: 15px; } } ul.copiaincolla-tag { > li { margin-top: 10px; &:first-child { margin: 0; } ul { border-left: 17px solid white; padding: 16px 0 16px 5px; &.first { border-color: @gray_darker; } &.second { border-color: #433f3e; } &.third { border-color: #6e6867; } &.four { border-color: #ada5a3; } &.five { border-color: white; } li { display: inline; padding: 0 10px; border-left: 1px solid white; &:first-child { border: none; } a { font-size: 13px; color: white; &:hover { color: @yellow_light; text-decoration: none; } } } } } } } /****************************************************************************************** PORTFOLIO ******************************************************************************************/ #portfolio-container { padding: 55px 0 50px; text-align: center; .border(); h3 { font-size: 28px; margin-top: 0; margin-bottom: 60px; em { color: @yellow_light; font-style: normal; } } #image-carousel { .size(100%, 240px); position: relative; .caroufredsel_wrapper { .center-block(); width: 1171px !important; height: 240px !important; margin-left: -31px !important; ul { padding-left: 10px; height: 220px; li { float: left; width: 200px; margin-left: 30px; text-align: center; a { display: block; &.img { img { border: 3px solid @gold_medium; margin-bottom: 15px; } } strong { color: white; display: block; .text-overflow(); } &:hover { text-decoration: none; } } } } } a { &.prev, &.next { .size(9px, 17px); background: url('/images/landing-page/arrows-carousel.png') no-repeat transparent; display: block; position: absolute; top: 75px; &:hover { .opacity(60); } } &.prev { left: 0; background-position: 0 0; } &.next { right: 0; background-position: -13px 0; } span { display: none; } } } .button { margin: 20px auto 0; } } /****************************************************************************************** SOCIAL ******************************************************************************************/ #social-container { padding: 60px 0 200px; .nav { border: none; @gap: 55px; li { margin-left: 20px; padding-bottom: 15px; &:first-child { margin-left: 35px; } a { .square(55px); .hide-text(); margin: 0; border: none; background: url('/images/landing-page/icon-social-circle.png') no-repeat transparent; &[href="#facebook"]{ background-position: 0 0; &:hover { background-position: 0 -@gap; } } &[href="#twitter"]{ background-position: -@gap 0; &:hover { background-position: -@gap -@gap; } } &[href="#youtube"]{ background-position: (-@gap * 2) 0; &:hover { background-position: (-@gap * 2) -@gap; } } &[href="#gplus"]{ background-position: (-@gap * 3) 0; &:hover { background-position: (-@gap * 3) -@gap; } } } &.active { border-bottom: 1px solid white; a { &[href="#facebook"]{ background-position: 0 -@gap; } &[href="#twitter"]{ background-position: -@gap -@gap; } &[href="#youtube"]{ background-position: (-@gap * 2) -@gap; } &[href="#gplus"]{ background-position: (-@gap * 3) -@gap; } } } } } .tab-content { background-color: @gray_darker; padding: 30px 35px; margin-top: 40px; h2 { color: @yellow_light; font-size: 40px; margin: 0; } p { font-size: 15px; margin-top: 25px; } #facebook { iframe { background-color: white; } } #yunero { border: none; background-color: white; } } } /****************************************************************************************** FOOTER ******************************************************************************************/ #footer-container { width: 100%; #footer { .size(100%, 184px); border-top: 2px solid @yellow_dark; border-bottom: 2px solid @yellow_dark; #gradient > .radial(#c40518, #5a050b); filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(#c40518),argb(#5a050b))); .box-shadow(inset 0 3px 10px 0 rgba(0, 0, 0, 0.6)); #footer-content { .size(@container_width, 180px); padding: 30px 0; margin: 0 auto; position: relative; #logo-copiaincolla-footer { float: left; margin: 15px 40px 0 0; } #footer-menu-block { ul { li { a { font-size: 16px; } } } } #footer-portfolio-block { padding-left: 18px; border-left: 1px solid #FFF; position: relative; ul { li { margin-bottom: 1px; line-height: 14px; a { font-size: 12px; } } } .fb-like { position: absolute; height: 27px; bottom: -15px; left: 100px; } } #footer-menu-block, #footer-portfolio-block { font-family: Times, serif; float: left; text-align: left; strong { font-size: 17px; color: @yellow_light; display: block; } ul { margin: 10px 25px 0 0; float: left; li { a { color: white; text-decoration: none; &:hover { .opacity(.6); } } } } } #banner-presentation-footer { margin-top: 5px; float: right; } #pagliaccio-footer { position: absolute; bottom: 0; right: 190px; } } } #site-info { .size(@container_width, 60px); padding-top: 15px; text-align: center; background-color: black; margin: 0 auto; font-family: Times, sans-serif; position: relative; p { color: #FFF; font-size: 11px; strong { color: @yellow_light; } a { color: white; text-decoration: none; &:hover { color: @yellow_medium; text-decoration: underline; } } } ul#footer-social { position: absolute; top: 10px; right: 170px; li { float: left; margin-left: 11px; a { text-indent: -9999px; background: url("/images/icons-social.png") no-repeat left top; .size(21px, 22px); display: block; &:hover { .opacity(.6); } } &#footer-social-fb a { background-position: 0 0; } &#footer-social-twitter a { background-position: -32px 0; } &#footer-social-yt a { background-position: -65px 0; } } } } } /****************************************************************************************** MODAL ******************************************************************************************/ /*Lightbox background */ .hidden { display: none; } .box_modale { .opacity(.8); .square(100%); background: black; position: fixed; top: 0px; left: 0px; z-index: 1003; } /* Lightbox panel with some content */ #modalbox_content { top: 3em; } .box_content { position: absolute; top: 100px; width: 100%; text-align: center; z-index: 1003; font-family: Times, serif; .modalbox { .square(700px); position: relative; margin: 0 auto; } } /* pop up invio presentazione*/ .box_content { #modalbox-info { .square(442px); margin: auto; background: url(/images/backgrounds/back-popup-presentation.jpg) no-repeat top left; position: relative; h2 { color: #883c39; font-size: 17px; font-weight: bold; position: relative; top: 210px; } p { a { position: relative; top: 210px; font-size: 15px; color: black; text-decoration: none; } } span { width: 120px; color: @red_dark; font-weight: bold; font-size: 11px; text-decoration: none; text-transform: uppercase; position: absolute; top: 30px; left: 193px; .rotate(-5deg); } h4 { color: #5a5a5a; font-size: 16px; font-weight: bold; line-height: 19px; position: relative; top: 110px; margin: 0; } form { position: absolute; top: 190px; left: 0; padding: 0 40px; label { float: left; clear: both; font-size: 13px; color: #5a5a5a; margin: 4px 10px 6px 0; text-align: left; } input { float: right; border: 1px solid #5a5a5a; .size(260px, 17px); margin-bottom: 6px; } button { .size(97px, 45px); padding-top: 6px; background: url(/images/btn-submit-presentation.png) no-repeat top left; border: 0; cursor: pointer; position: absolute; top: 180px; left: 170px; color: #FFF; text-transform: uppercase; font-family: Times, serif; font-size: 13px; &:hover { color: #e09d9a; } em { font-size: 23px; line-height: 17px; display: block; font-style: normal; } } p { clear: both; text-align: left; color: #5a5a5a; width: 280px; float: right; font-size: 10px; } } #modal-dialog-validation-msg { color: #883c39; position: absolute; font-size: 12px; font-weight: bold; position: relative; top: 117px; } } #modalbox-info-close { background: none; color: #883c39; position: absolute; top: 10px; left: 50%; margin-left: 200px; width: 10px; height: auto; font-size: 15px; text-decoration: none; &:hover { text-decoration: underline; } } .message-success { font-size: 26px; top: 210px; position: relative; color: @red_dark; } } /* COOKIE BAR ----------------------------------------------------- */ body { margin-top: 0 !important; #cookie-bar { border-top: 2px solid #a38f44; border-bottom: 2px solid #a38f44; padding: 10px 0; background: #2b5f65; #cookie-bar-content { width: 1280px; margin: 0 auto; > p { margin: 5px 0 0 340px; font-family: Times, serif; font-size: 14px; text-align: center; #cookie-bar-prompt-button { display: none; } } .btn { background: #f3d76b; color: #690300 !important; font-family: Times, serif; font-size: 16px; text-shadow: none; margin: 0 10px; border: 0; border-radius: 5px; cursor: pointer; display: inline-block; float: right; font-weight: bold; line-height: 1; padding: 5px 10px 6px; position: relative; &:hover { text-decoration: none; opacity: .6; } } } } }