@marginBottom: 16px; /* Da vanityfair style.css (per rendere iframe modifica dati indipendente) */ .date, .role { color: #8a8a8a; margin-bottom: 8px; letter-spacing: 1px; text-transform: uppercase; } .form-group, .list-filter { .futura(); .dropdown-menu { margin-top: 12px; min-width: 100%; font-size: 11px; } } /* Da vanityfair style.css */ /* Buttons */ .btn-login { position: relative; border: 0; color: @white; line-height: 30px; padding: 9px 0; display: block; width: 100%; text-align: right; @iconWidth: 58px; .icon { position: absolute; display: block; z-index: 1; border-right: 1px solid @white; text-align: center; width: @iconWidth; line-height: inherit; font-size: 18px; &.icon-google { border-right: 1px solid @grayd5; } } .label { display: block; padding-left: @iconWidth; text-align: center; .futura(); font-size: 16px; } &.fb { background-color: @facebook; } &.tw { background-color: @twitter; } &.gp { background-color: @gplus; } &.g { color: @black; background-color: @google; border: solid 1px @grayd5; } } .btn-solid { display: block; padding: 12px 15px 8px; .futura(); border: 0 none; background-color: @red; color: @white; margin: 0 auto; min-width: 220px; max-width: 266px; font-size: 16px; &.black { background-color: @black; } &.white { background-color: @white !important; color: @gray !important; } &.full { width: 100%; max-width: none; } } /* Buttons */ /* Form elements */ .form-step { display: block; } .separator { margin-bottom: 40px; border-top: 1px solid @grayd5; @media(min-width: @screen-sm-min) { margin-top: 60px; } } .form-actions { margin: 40px 0; @media(min-width: @screen-sm-min) { margin: 80px 0; } } .form-error-summary { color: @red; text-align: center; margin-bottom: 20px; font-size: 20px; .flama(); .light(); } p.error { text-align: left; color: @red; .flama(); .light(); font-size: 17px; [class^="icon-"], [class*=" icon-"] { font-size: 9px; vertical-align: middle; margin-right: 4px; } a { text-decoration: underline; color: @red; } .input-group+& { margin-top: -8px; } } @inputHeight: 55px; @inputHeight-xs: 28px; .form-control-text, input[type="text"], input[type="email"], input[type="password"], .input-group-select { border: solid 1px @grayd5; width: 100%; padding: 12px 15px; text-align: left; width: 100%; height: @inputHeight; line-height: @inputHeight; color: @black; .placeholder(@black); letter-spacing: 0; border-radius: 0; font-size: 16px; .flama(); .error & { color: @red; } } .input-group { position: relative; font-size: 16px; .form-control-text, input[type="text"], input[type="email"], input[type="password"] { padding-right: 100px; margin-bottom: 0; } .submit { position: absolute; right: 0; top: 0; bottom: 0; padding-left: 15px; padding-right: 15px; vertical-align: middle; background-color: @red; color: white; border: none; .futura(); min-width: 100px; } .icon { display: block; position: absolute; top: 50%; right: 10px; margin-top: -7px; line-height: 1em; } &.date { .input-group-addon { display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 1; } } } .form-group, .form-group-wrapper { letter-spacing: 0; position: relative; .valid-status-icon { display: none; position: absolute; top: 21px; left: 0; } &.valid { .valid-status-icon { display: block; } } &.focus { .valid-status-icon { display: none; } } /* padding-bottom: 60px; @media(min-width: @screen-sm-min){ padding-bottom: 60px; min-height: 165px; } */ &.form-group-low { min-height: 0; margin-bottom: 0; } //nested form-group (es phone number) .form-group { min-height: 0; padding-bottom: 0; margin-bottom: 0; } p { a, .underline { text-decoration: underline; } } .form-group-valid { color: @green; position: absolute; right: 0; top: 35px; } .btn-password-toggle { position: absolute; top: 19px; right: 12px; font-size: 11px; padding: 0; text-transform: uppercase; letter-spacing: 1px; } .onvalid-visible { display: none; } p.help { color: @black; } p.help, p.error { text-transform: none; margin-top: 0; margin-bottom: 0; display: block; text-align: left; font-size: 15px; line-height: 18px; padding: 12px 0; } &.left, &.right { @media(min-width: @screen-sm-min) { p.help, p.error { padding: 0 12px; position: absolute; top: 50%; .translateY(-50%); width: 200px; right: -200px; &.top { top: 0; .translateY(0); } } } } &.left { @media(min-width: @screen-sm-min) { p.help, p.error { right: auto; left: -200px; text-align: right; } } } &.focus, &.error { &:after { content: ""; display: block; position: absolute; top: (@inputHeight - 2px); left: 0; right: 0; height: 2px; background-color: @red; } &.option-wrapper { &:after { top: inherit; bottom: (@inputHeight-xs + 2px); } } } &.error { .onerror-hidden, .help { display: none !important; } /*input[type="text"],input[type="email"],input[type="password"], .input-group-select{ border-color: @red; color: @red; }*/ } &.valid { .error { display: none !important; } .onvalid-hidden { display: none; } .onvalid-visible { display: block; } } p.error~p.onerror-hidden { display: none; } .input-group-select { border-bottom-color: @grayd5; padding-top: 0; padding-bottom: 0; } .fleft { float: left; margin-top: 0 !important; margin-right: 30px !important; } label.checkbox { display: block; position: relative; color: @black; line-height: 20px; margin: 0; padding-left: 30px; padding-bottom: 13px; text-align: left; &.privacybox { display: inline; padding-left: 22px; } input[type="checkbox"] { position: absolute; margin: 0; top: 0; left: 0; .opacity(0); } span[class^="icon-"], span[class*=" icon-"] { display: block; position: absolute; border: 1px solid @grayd5; width: 16px; height: 16px; text-align: center; line-height: 16px; font-size: 10px; left: 0; top: 0; margin-top: 0; .border-radius(0); &:before { display: none; } } input[type="checkbox"]:checked+span[class^="icon-"], input[type="checkbox"]:checked+span[class*=" icon-"] { background: @white; color: @black; &:before { display: block; color: @black; } } } &.checkbox-group { @media(min-width: @screen-sm-min) { padding-top: 23px; } &.right { @media(min-width: @screen-sm-min) { padding-left: 45px; label.checkbox { padding-right: 76px; span.icon { right: 0; } } } } .label { color: @red; } label.checkbox { color: @red; .small { color: @black; font-size: 14px; } padding:7px 120px 0 0; @media(min-width: @screen-sm-min) { padding: 7px 120px 37px 0; } span.icon { display: block; position: absolute; cursor: pointer; border: 1px solid @black; width: 66px; height: 22px; line-height: 22px; text-align: center; font-size: 10px; left: auto; right: 0; @media(min-width: @screen-sm-min) { right: 35px; } top:4px; margin-top:0; background:@black; .border-radius(0); .futura(); span { display: block; color: @white; &.sel { display: none; } } } input[type="checkbox"]:checked+span.icon { background: @white; color: @black; span { display: none; &.sel { display: block; color: @black; } } } } } .radio-group { overflow: hidden; >.radio { float: left; margin-top: 0; margin-right: 30px; } } label.radio { @height: 20px; position: relative; color: @black; line-height: @height; padding-left: 30px; margin: 13px 0 0; text-align: left; height: @height; input[type="radio"] { position: absolute; margin: 0; top: 0; left: 0; .opacity(0); } span[class^="icon-"], span[class*=" icon-"] { display: block; position: absolute; border: 1px solid @grayd5; width: 16px; height: 16px; text-align: center; line-height: 16px; font-size: 10px; left: 0; top: 0; margin-top: 0; .border-radius(0); &:before { display: none; } } input[type="radio"]:checked+span[class^="icon-"], input[type="radio"]:checked+span[class*=" icon-"] { background: @white; color: @black; &:before { display: block; color: @black; } } span.icon, span.icon-tick { display: block; position: absolute; border: 1px solid @grayd5; width: @height; height: @height; text-align: center; line-height: @height; font-size: 10px; left: 0; top: 50%; margin-top: -10px; .border-radius(0); } span.icon { &:before { display: none; content: ""; width: 12px; height: 12px; background: @black; margin: 3px; } } input[type="radio"]:checked+span.icon { &:before { display: block; } } } input[readonly], input[readonly="readonly"] { color: @graya8; } textarea { font-size: 16px; width: 100%; border: 1px solid @black; padding: 15px; min-height: 280px; } input.file { border: none; line-height: 1em; } .array-item { position: relative; min-height: 72px; p.error { margin-top: 7px; padding-right: 64px; } .btn-clone-item, .btn-remove { position: absolute; right: 0; top: 36px; padding: 6px 0; font-size: 16px; .label { text-decoration: underline; } } &.col-sm-6 { .btn-clone-item, .btn-remove { right: 20px; } } } img.newsletter-subscribe { display: block; margin: 10px 0; max-width: 100%; height: auto; @media(min-width: @screen-sm-min) { margin: 30px 0; } } .twitter-typeahead { width: 100%; .tt-menu { background: @grayf1; padding: 7px 15px; border: 1px solid @black; border-top: 0 none; width: 100%; font-size: 16px; .tt-suggestion { padding: 7px 0; &.tt-selectable { cursor: pointer; &:hover { text-decoration: underline; } } } } .tt-highlight { color: @red; } } &.valid.fb { select, .valid-status-icon, .form-control-text, input[type="text"], input[type="email"], input[type="password"] { color: @facebook; } } &.valid.tw { select, .valid-status-icon, .form-control-text, input[type="text"], input[type="email"], input[type="password"] { color: @twitter; } } &.valid.gp { select, .valid-status-icon, .form-control-text, input[type="text"], input[type="email"], input[type="password"] { color: @gplus; } } span.auth_marketing-warning { color: @red; font-weight: bold !important; display: none; } } /* Form box (avatar cropper, newsletter subscribe) */ .form-box { position: relative; border: solid 1px @grayd5; padding: 12px 15px; height: 100px; vertical-align: middle; label.checkbox { padding-top: 13px; span[class^="icon-"] { top: 28px; } } .small { margin-bottom: 0; } .abs-right { position: absolute; top: 10px; right: 10px; height: 81px; width: auto; } .valid-status-icon { display: none; margin-left: 5px; } &.valid { .valid-status-icon { display: inline; } } &.valid.fb { .label { color: @facebook; } } &.valid.tw { .label { color: @twitter; } } &.valid.gp { .label { color: @gplus; } } &.email-box { margin-top: 0; height: auto; padding: 23px 45px 35px; .label { text-transform: none; } .form-group { margin: 0 !important; .btn { position: absolute; right: 0; top: 0; color: @gray97; font-size: 10px; padding-right: 0; padding-top: 5px; } &:after { content: ""; display: block; position: absolute; top: (@inputHeight-xs - 1px); left: 0; right: 0; height: 1px; background-color: @black; } &.focus, &.error { &:after { content: ""; display: block; position: absolute; top: (@inputHeight-xs - 2px); left: 0; right: 0; height: 2px; background-color: @red; } } input { border: none; padding: 0; display: block; font-size: 14px; height: @inputHeight-xs; line-height: @inputHeight-xs; .serif(); font-style: italic; .normal(); text-transform: none; } } } } .avatarUploadControl { position: relative; .avatarUpload { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; .opacity(0); overflow: hidden; cursor: pointer; z-index: 10; } .currentAvatar { // .grayscale(); position: absolute; width: 80px; height: 80px; top: 10px; right: 10px; border-radius: 50%; } .action { color: @black; text-decoration: underline; } } .input-group-select { .inline-me(); position: relative; padding-top: 0 !important; padding-bottom: 0 !important; select { text-transform: none; outline: none; overflow: hidden; padding-right: 30px; border: none; background: @white; width: 100%; height: (@inputHeight - 2px); /* padding reset in ie */ .lt-ie10 & { padding-right: 10px; } -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; -o-appearance: none; appearance: none; &::-ms-expand { display: none; } } &:after { .icomoon(); content: "\e91f"; font-size: 10px; color: @grayd5; display: block; position: absolute; top: 50%; right: 10px; margin-top: -7px; pointer-events: none; line-height: 1em; .lt-ie10 & { display: none; } } } .input-group-date { position: relative; input[type="text"], input[type="email"], input[type="password"] { padding-right: 34px; } .btn-calendar { position: absolute; right: 0; top: 0; padding-right: 0; } } /* default datepicker template */ .glyphicon { color: @graya8; .icomoon(); &.glyphicon-chevron-left { &:before { content: "\e904"; } } &.glyphicon-chevron-right { &:before { content: "\e905"; } } } .uib-daypicker { &:focus { outline: 0 none; } .btn { border: 0 none; } .uib-title {} .btn-info.active, .btn-info:active { color: @red; &:hover { background: transparent; } } } .bootstrap-datetimepicker-widget { &.dropdown-menu { margin: 0; border: 1px solid @grayd5; padding: 10px 20px; &.bottom:before, &.bottom:after { display: none; } } .table-condensed { white-space: normal; &>thead>tr>th { padding: 10px 5px; } thead tr:first-child th { cursor: pointer; color: @red; .bold(); } thead { border-bottom: 1px solid @grayd5; } td { span.month, span.year { width: 20%; &.active, &:hover { .bold(); color: @white; background: @black; border-radius: 10px; } } &.day { width: 14.285%; padding: 8px 5px; font-size: 12px; color: @black; &.active, &:hover { .bold(); color: @white; background: transparent url('../img/datepicker-day-active.png') no-repeat center center; } &.old, &.new { visibility: hidden; cursor: default; &:hover { color: transparent; background: transparent none; } } } } } } /* Cropper box */ .cropper { // .grayscale(); position: relative; height: 300px; margin-left: (-@modalContentPadding); margin-right: (-@modalContentPadding); overflow: hidden; background-repeat: no-repeat; cursor: move; .thumbBox { position: absolute; top: 50%; left: 50%; width: 258px; height: 258px; margin-top: -129px; margin-left: -129px; box-sizing: border-box; border-radius: 50%; box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.5); background: none repeat scroll 0% 0% transparent; } .spinner { position: absolute; top: 0; left: 0; bottom: 0; right: 0; text-align: center; line-height: 400px; background: rgba(0, 0, 0, 0.7); } } .cropper-controller { margin: 40px 0; position: relative; button { position: absolute; top: -8px; border: 0; outline: 0; background-color: transparent; height: 24px; line-height: 24px; width: 20px; font-size: 16px; &#btnZoomIn { right: 16px; } &#btnZoomOut { left: 16px; } } } @import "jquery.nouislider.less"; .noUi-target { .border-radius(0); margin: 20px 40px; border: 1px solid @black; } .noUi-handle { .border-radius(0); } .noUi-horizontal { height: 6px; .noUi-handle { width: 24px; height: 24px; left: -12px; top: -10px; border: 1px solid @black; border-radius: 50%; &:after, &:before { display: none; } } } /* Form step */ #form-step-header { padding: 10px 0 30px; .step { padding: 0 10px; line-height: 22px; font-size: 10px; @media(min-width: @screen-sm-min) { font-size: 11px; } &:before { content: "●"; padding-right: 8px; font-size: 22px; vertical-align: bottom; } &.current { color: @black; &:before { color: @red; } } &.next { color: @graya8; } } } /* Form (side error messages on focus) */ .form-registration, .form-login { label, .label { display: block; font-size: 16px; .flama(); letter-spacing: 0; line-height: 1.5em; text-transform: uppercase; color: @black; .medium(); .small { display: block; font-size: 12px; .serif(); font-style: italic; .normal(); text-transform: none; &.privacybox { display: inline; font-style: normal; } } &.red { color: @red; } } h5, h6 { &.label { font-size: 17px; } } .row { @media(max-width: @screen-xs-max) { .form-group, .form-box { margin-bottom: (@grid-gutter-width + 10px); } } @media(min-width: @screen-sm-min) { margin-bottom: @grid-gutter-width; } .form-control-text, input[type="text"], input[type="email"], input[type="password"], .input-group-select { margin-bottom: 0; } .input-group { margin-bottom: 0; } .product-review-box { background-image: url(/img/product-review.png); background-position: center right; background-repeat: no-repeat; } @media(max-width: @screen-xs-max) { .product-review-box { background-image: none; } } } .form-group, .form-group-wrapper { @media(max-width: @screen-xs-max) { p.help { //, p.error display: none !important; } &.focus-message { p.help { display: block !important; } &.error { p.help { display: none !important; } p.error { display: block !important; } } } p.error { color: @black; padding: 5px 0; &:before { color: @red; content: "\e928"; .icomoon(); font-size: 10px; margin-right: 5px; } } } @media(min-width: @screen-sm-min) { p.help { //, p.error .transition(opacity .3s ease-in-out); .opacity(0); } &.focus-message { p.help, p.error { .opacity(1); } } &.left, &.right { p.error { color: @black; padding-right: 20px; &:before { color: @red; content: "\e928"; .icomoon(); font-size: 10px; position: absolute; top: 5px; right: 5px; } } } &.right { p.error { padding-left: 20px; &:before { content: "\e927"; right: auto; left: 5px; } } } } } } /* Form (bottom error messages) */ .form-login { .form-group, .form-group-wrapper { p.error { &:before { content: "\e928"; .icomoon(); font-size: 10px; margin-right: 5px; } } } } /* Narrow form (reset password template) */ .form-narrow { max-width: 360px; margin: 0 auto; .form-actions { margin: 40px 0; @media(min-width: @screen-sm-min) { .btn-border { min-width: 240px; } } } } .form-narrow, .container-modal { .form-group { min-height: 0; margin-bottom: @marginBottom; } .btn-login, .form-group { margin-bottom: @marginBottom; } } .social-connect { li { position: relative; padding-right: 122px; @media(min-width: @screen-sm-min) { padding-right: 162px; } .futura(); font-size:16px; line-height:1em; >span.username { @media(max-width: @screen-xs-max) { white-space: nowrap; padding-top: 10px; padding-bottom: 10px; .inline-me(); vertical-align: middle; } .serif(); font-style: italic; .normal(); text-transform: none; font-size:14px; } @media(min-width: @screen-sm-min) { &:first-child { margin-top: 0; } margin-top:17px; } @media(max-width: @screen-xs-max) { margin-bottom: (@grid-gutter-width + 10px); } .icon { width: 50px; height: 50px; margin-right: 10px; @media(min-width: @screen-sm-min) { margin-right: 20px; } line-height:50px; .inline-me(); text-align:center; font-size:20px; vertical-align:middle; color:@white; &.icon-facebook { background: @facebook; } &.icon-twitter { background: @twitter; } &.icon-google-plus { background: @gplus; } } &.connected { >span.social { @media(min-width: 480px) { &:after { content: ''; .inline-me(); vertical-align: middle; background: @gray97; height: 50px; width: 1px; margin: 0 20px; } } } .btn-login { background: @black; span { color: @white; } } } .btn-login { width: 122px; @media(min-width: @screen-sm-min) { width: 142px; } height:22px; line-height:20px; padding:0; background:@white; position:absolute; border:1px solid @black; top:25px; margin-top:-11px; right:0; span { display: block; text-align: center; line-height: 22px; color: @black; .futura(); font-size: 10px; padding: 0; } } } } .recaptcha { text-align: center; .g-recaptcha{ display: inline-block; } } .customer-campaign { label.checkbox { padding-top: 0px; padding-bottom: 0px; // height: 20px; height: auto; span[class^="icon-"], span[class*=" icon-"] { width: 20px; height: 20px; line-height: 20px; top: 50%; margin-top: -10px; } } span.small { display: inline; font-style: normal; } label.consent-text { p.small { font-style: normal; } } }