@import "components/variable"; @import "components/mixins"; /*============================================================================= These forms have their own CSS files : - user-login - user-profile - user-register The other forms are styled here ( without the views of the exposed filters) ========================================================================== */ /*============================================================================= Asking for password (#user-pass) Page : /user/password ========================================================================== */ #user-pass { background-color: #5783A2; color: #8C7B74; margin: 10% auto; max-height: 195px; max-width: 507px; padding: 10px; } #user-pass div:first-child { background-color: #FFF; margin: 0; padding: 0; } #user-pass > div:first-child { min-height: 170px; } #modalContent .popups-body form.ctools-use-modal-processed input[type=text], #user-pass input[type=text] { height: 31px; border: 2px solid #CBC6C5; width: 288px; } #modalContent .popups-body form.ctools-use-modal-processed input[type=submit], #user-pass input[type=submit] { background-color: #5783A2; border: medium none; color: #FFFFFF; height: 31px; line-height: 23px; } form .password-guide .password-guide-title, #user-pass .password-guide .password-guide-title { font-family: 'Bree Serif',serif; color: #8C7B74; font-size: 16px; font-weight: normal; text-align: center; text-transform: uppercase; } form .password-guide .password-guide-description, #user-pass .password-guide .password-guide-description { font-family: Deibi; font-size: 16px; font-weight: normal; text-align: center; color: #8C7B74; } form#user-pass { div.password-guide { padding-top: 0; } div.form-item-name > label { font-weight: normal; } div.form-item-name, div.form-item-name > label, div.form-item-name #edit-name, div.form-item-name #edit-actions { float: left; } div.form-actions { margin-top: 1.48em; } #edit-actions { padding-top: 0; } div.form-item-name { margin-right: 10px; margin-left: 20px; } div.form-item-name > label { margin: 3px 10px 0px 0px; } } body.page-user-password form#user-pass { max-width: 460px; } /*============================================================================= Sending new page thru mail #forward-form Example : /forward?path=cuisine/test-article-2/mar-04/02/2014-1713 ========================================================================== */ #forward-form { background-color: #FFF; padding: 20px; } #forward-form input[type=text] { color: #8C7B74; max-width: 255px; border: 2px solid #CAC6C3; border-right-width: 3px; border-left-width: 3px; border-radius: 0; } #forward-form textarea { color: #8C7B74; max-width: 255px; border: 2px solid #CAC6C3; border-right-width: 3px; border-left-width: 3px; border-radius: 0; /*margin-left: 474px;*/ } #forward-form .form-item { } /*============================================================================= Display clientside validation errors (js) ========================================================================== */ div#edit-account { div.password-suggestions.description { background-color: #aea19b; border: none 0; border-radius: 5px; color: white; font-size: 14px; margin-left: 432px; padding: 10px; width: 255px; z-index: auto; &:before { background: url('../images/fleche_pwd-sugg.png') no-repeat center center white; content: " "; height: 10px; margin-left: 110px; margin-top: -20px; position: absolute; width: 20px; } & div.item-list { margin: 0; background: none; position: inherit; min-width: 0; top: 0; } & ul { list-style: none inside; padding: 0; li { font-size: 12px; font-weight: normal; line-height: 14px; &:before { content: '- '; } } } } } form div.error { background-image: none; background-color: transparent; font-size: 12px; color: #d81c1b; margin-left: 410px; } form#user-profile-form div.error { line-height: 1.2; margin-left: 408px; margin-top: 5px; width: 255px; } form span.error { background-color: transparent; } #user-register-form .form-item div.error { font-size: 12px; color: #d81c1b; margin-left: 431px; } #user-profile-form #user-user-form-group-your-children .form-item-field-user-child-number-und div.error { margin-top: 40px; position: absolute; } #user-register-form #user-user-form-group-user-birth-date-children .form-item div.error { margin-left: 0; margin-top: 35px; min-width: 230px; position: absolute; // to avoid the error message to interfere with the desc. } #user-register-form #user-user-form-group-user-newsletters .form-item div.error { clear: left; height: 20px; margin: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 360px; } #edit-field-user-child-number .select-clv-style ~ span.valid, #edit-field-user-title-und span.valid { // goes with the chosen JS plugin background: url("../images/message-24-ok.png") no-repeat scroll right center transparent; display: inline-block; padding-left: 15px; padding-top: 20px; width: 10px; position: relative; left: 10px; top: 0; } #edit-field-user-title-und span.valid { left: 0; top: 5px; } #page #main .form-item input.valid { background: url('../images/message-24-ok.png') no-repeat right center transparent !important; padding: 5px; color: #8C7B74; } //override bg colors for radios in register news #page #main #user-user-form-group-user-newsletters .form-item input[type=radio].valid { background-color: transparent; background-image: none; } #page #main .form-item input[type="text"].error, #page #main .form-item input[type="password"].error { background: #FFF none; border: 2px #d81c1b solid; } #user-register-form .form-item-captcha-response div.error { left: 0; position: absolute; top: 75px; } #user-register-form .field-name-field-user-child-number .error { padding-top: 10px; } #user-register-form .field-name-field-user-title .error { margin-top: 0; } #user-register-form .form-item-captcha-response .error { top: 103px; } #user-register-form .form-type-password .error { margin-top: -3px; } /* here we target only the error div, not the input that has the same CSS class */ #user-register-form .form-item-field-user-child-number-und div.error { background-color: transparent; margin: 37px 0 0 0px; position: absolute; width: 310px; } #user-register-form #user_user_form_group_user_birth_date_children div.error { margin-top: 45px; } #modalContent input[type="text"].error { background-color: white; } #user-register-form #edit-field-user-child-number { min-height: 50px; } /* pour IE */ #user-register-form #user_user_form_group_user_birth_date_children label { float: left; } .chosen-container-single.chosen-error { border: 2px solid #d81c1b; } /*============================================================================= Sort-out form in the pages ========================================================================== */ body.page-confirmation .header-with-gender, body.page-user .header-with-gender, body.page-inscription .header-with-gender { background: url("../images/user-edit-icon.png") 20px top no-repeat #5782A2; color: #FFF; height: 40px; padding: 5px; padding-top: 5px; min-width: 930px; } body.page-confirmation .header-with-gender:before, body.page-user .header-with-gender:before, body.page-inscription .header-with-gender:before { background: url("../images/user-edit-icon_top.png") center top no-repeat transparent; content: " "; display: inline-block; height: 3px; left: 15px; position: relative; top: -23px; width: 41px; } body.page-confirmation .header-with-gender .profil-label, body.page-user .header-with-gender .profil-label, body.page-inscription .header-with-gender .profil-label { font-weight: normal; font-size: 21px; margin-left: 75px; text-transform: uppercase; min-width: 220px; position: relative; top: -12px; } body.page-user .header-with-gender .profil-label h1, body.page-inscription .header-with-gender .profil-label h1 { font-weight: normal; font-size: 21px; margin-left: 0; text-transform: uppercase; min-width: 220px; position: relative; top: -20px; } body.page-confirmation .header-with-gender a.log-out , body.page-user .header-with-gender a.log-out, body.page-inscription .header-with-gender a.log-out { color: #FFF; float: right; margin-right: 40px; position: relative; font-size: 13px; top: -40px; } body.page-confirmation .header-with-gender-body:after, body.page-user .header-with-gender-body:after, body.page-inscription .header-with-gender-body:after { background-color: #FFF; } body.page-confirmation .header-with-gender-body p, body.page-user .header-with-gender-body p, body.page-inscription .header-with-gender-body p { margin: 0; } #user_user_form_group_user_account .description { max-width: 400px; margin-left: 281px; } #result-total { color: #5783A2; } #user-register-form .form-item-mail { margin-bottom: 0; } #user-register-form .form-item-pass { margin-top: 25px; } body.page-user .profile, body.page-inscription .profile { width: 635px; } /* footers & headers personnalised in register & confirmation */ body.page-user-edit .conso-block, body.page-user .conso-block p, body.page-user .conso-block, body.page-inscription .conso-block, body.page-inscription .conso-block p{ margin: 0; padding: 0; } body.page-confirmation .header-with-gender-body, body.page-confirmation .conso-block, body.page-user .conso-block, body.page-inscription .conso-block { background-color: #FFF; width: 100%; position: relative; top: -11px; } body.page-user .header-with-gender-body, body.page-inscription .header-with-gender-body { top: -2px; margin-bottom: 0; padding-bottom: 0; & + .item-list { background: #fff; top: -7px; } } body.page-user-edit .conso-block { top: -43px; } body.page-user .header-with-gender-body table tbody tr td p img, body.page-user .header-with-gender-body table tbody tr td img, body.page-user .conso-block table tbody tr td p img, body.page-user .conso-block table tbody tr td img, body.page-inscription .header-with-gender-body table tbody tr td p img, body.page-inscription .header-with-gender-body table tbody tr td img, body.page-inscription .conso-block table tbody tr td p img, body.page-inscription .conso-block table tbody tr td img { max-width: 100%; } body.page-user .header-with-gender-body img, body.page-user .conso-block img, body.page-inscription .header-with-gender-body img, body.page-inscription .conso-block img { max-width: 100%; } /* legal */ #mandatory_fields, #cnil_terms { color: #8C7B74; font-size: 11px; font-family: sans-serif; background-color: #FFF; margin: 0; padding: 10px; position: relative; } body.page-confirmation .region-sidebar-second #block-ft-common-user-ft-common-user-block-user { display: none; } #user-profile-form input[type=submit]#edit-skip, #user-profile-form input[type=submit]#edit-return-step-2, #user-profile-form input[type=submit]#edit-return-step-3 { margin-bottom: 10px; float: right; background: none; color: #5783A2; line-height: 1.4; outline: none; padding-top: 0; padding-right: 12px; text-align: right; text-decoration: underline; &:hover { text-decoration: none; } } #user-profile-form input[type=submit]#edit-skip { float: right; padding-right: 35px; } #user-profile-form input[type=submit]#edit-return-step-2, #user-profile-form input[type=submit]#edit-return-step-3 { float: left; text-align: left; padding-left: 12px; padding-left: 35px; } body.page-user-edit #user-profile-form input[type=submit]#edit-skip { position: absolute; right: 0; } body.page-user-edit #user-profile-form input[type=submit]#edit-return-step-2, body.page-user-edit #user-profile-form input[type=submit]#edit-return-step-3 { position: absolute; left: 0; } /*Hide the * */ form.ctools-use-modal-processed .form-item-name .form-required, #user-pass .form-item-name .form-required { display: none; } /*placeholders*/ #edit-search::-webkit-input-placeholder { /* WebKit browsers */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-search:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-search::-moz-placeholder { /* Mozilla Firefox 19+ */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-search:-ms-input-placeholder { /* Internet Explorer 10+ */ font-weight: normal !important; color: #BFB4B4 !important; font-style: italic; } /**/ #edit-keys::-webkit-input-placeholder { /* WebKit browsers */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-keys:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-keys::-moz-placeholder { /* Mozilla Firefox 19+ */ font-weight: normal; color: #BFB4B4; font-style: italic; } #edit-keys:-ms-input-placeholder { /* Internet Explorer 10+ */ font-weight: normal !important; color: #BFB4B4 !important; font-style: italic; } /* chosen plugin for select */ .chosen-container-single .chosen-single div b { display: block; width: 100%; height: 100%; background: url('../images/select_ibutton_blue.png') no-repeat center 3px; } /*chosen selects arrows colours*/ .chosen-container-single .chosen-single div b { background: url('../images/select_button_blue_chosen.png') no-repeat center 3px; } .views-widget-per-page .chosen-container-single .chosen-single span { margin-right: 25px; } .chosen-container { position: relative; display: inline-block; vertical-align: middle; zoom: 1; *display: inline; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .chosen-container .chosen-drop { position: absolute; top: 100%; left: -9999px; z-index: 1010; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; border: 1px solid #aaa; border-top: 0; background: #fff; box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); } .chosen-container.chosen-with-drop .chosen-drop { left: 0; } .chosen-container.chosen-disabled a { cursor: initial; opacity: .5; } .chosen-container a { cursor: default; } .chosen-container-single .chosen-single { position: relative; display: block; overflow: hidden; color: #826F68; text-decoration: none; white-space: nowrap; /*max-width: 228px;*/ font-size: 16px; line-height: 1; border: 4px solid #CAC6C3; border-radius: 0; height: 34px; margin-top: 1px; } .chosen-container-single .chosen-single { border: solid 2px #CAC6C3; background-color: #FFF; } .chosen-container-single .chosen-default { color: #999; } .chosen-container-single .chosen-single span { display: block; overflow: hidden; margin-right: 26px; //margin-top: 2px; padding: 9px 0 9px 9px; text-overflow: ellipsis; white-space: nowrap; } .chosen-container-single .chosen-single-with-deselect span { margin-right: 38px; } .chosen-container-single .chosen-single abbr:hover { background-position: -42px -10px; } .chosen-container-single.chosen-disabled .chosen-single abbr:hover { background-position: -42px -10px; } .chosen-container-single .chosen-single div { position: absolute; top: 0; right: 0; display: block; width: 26px; height: 100%; } .chosen-container-single .chosen-search { position: relative; z-index: 1010; margin: 0; padding: 3px 4px; white-space: nowrap; } .chosen-container-single .chosen-drop { margin-top: -1px; border-radius: 0 0 4px 4px; background-clip: padding-box; } .chosen-container-single.chosen-container-single-nosearch .chosen-search { position: absolute; left: -9999px; } .chosen-container .chosen-results { color: #826F68; font-weight: normal; font-size: 16px; position: relative; overflow-x: hidden; overflow-y: auto; margin: 0 4px 4px 0; padding: 0 0 0 4px; max-height: 240px; -webkit-overflow-scrolling: touch; } .chosen-container .chosen-results li { display: none; margin: 0; padding: 5px 6px; list-style: none; line-height: 15px; -webkit-touch-callout: none; } .chosen-container .chosen-results li.active-result { color: #826F68; font-weight: normal; font-size: 16px; display: list-item; cursor: default; } .chosen-container .chosen-results li.disabled-result { display: list-item; color: #ccc; cursor: default; } .chosen-container .chosen-results li.highlighted { background-color: #ccc; } /* forgotten password popup blocks override the module css */ div.ctools-modal-content .modal-content { padding-top:0; } div.ctools-modal-content .modal-content .modal-throbber-wrapper img { margin-top: 60px; } /* reset your password page */ #ft-common-user-user-pass-reset { .header-with-gender { height: 48px; padding: 0; margin-top: 30px; .gender-unknown { float: left; .profil-label { top: 0; margin-left: 50px; h1 { line-height: 48px; margin: 0; top: 0; } } } &:before { float:left; top: -3px; left: 20px; } } .message, .help, #edit-actions, [class^='reminder-'] { padding: 10px 20px; color: @grisPolice; font-weight: normal; background: #FFF; margin:0; font-size: 13px; &:last-of-type { padding-bottom: 30px; } } .message { padding-top: 30px; font-size: 18px; em.placeholder { color: @blue; } } .help { } #edit-actions { input { background: url("../images/arrow_right_white.png") no-repeat scroll 150px center @red; color: #fff; display: block; font-weight: normal; line-height: 30px; height: 35px; text-decoration: none; width: 165px; border: none; } } } .page-forward #forward-form { padding-top: 40px!important; } body.page-user-reset { form#ft-common-user-user-pass-reset { background: white; > div { > .header-with-gender { margin-top: 0 !important; } > .help { padding-bottom: 0; padding-top: 10px; margin-bottom: 0; } #edit-account { .form-type-password-confirm { color: #826F68; margin: 10px 0 0 0 !important; > .form-item-pass-pass1, > .form-item-pass-pass2 { position: relative; padding-left: 354px; } > .form-item-pass-pass1, > .form-item-pass-pass2 { .password-strength, .password-confirm { width: 240px; } } > .form-item-pass-pass1, > .form-item-pass-pass2 { > label { position: absolute; top: 14px; left: 130px; font-size: 14px; font-weight: normal; } } > .form-item-pass-pass1, > .form-item-pass-pass2 { input.password-field, input.password-confirm { display: inline-block; margin: 10px 0 0 0; width: 255px; height: 33px; color: #8C7B74; border: 2px solid #CAC6C3; border-right-width: 3px; border-left-width: 3px; border-radius: 0; font-size: 14px; } } > .form-item-pass-pass1 { .password-strength { margin: 0 40px 0 0; .password-strength-title { font-size: 12px; } .password-indicator { height: 0.2em; } .password-strength-text { float: right; font-weight: bold; } } } > .form-item-pass-pass2 { clear: right; .password-confirm { margin: 10px 40px 0 0; font-size: 12px; > .error { color: red; } > .ok { color: green; } } } > .password-suggestions { margin-top: 10px; margin-left: 354px; max-width: 235px; > :before { margin-left: 110px; } > ul { margin-top: 10px; } } > :last-child { clear: left; margin: 10px 20px 0 20px; } } } > .form-actions { padding: 20px 20px 10px 20px !important; } > .reminder-1, > .reminder-2 { padding: 10px 20px; } > .reminder-3 { padding-bottom: 20px; } } } }