Title |
Acceder
if (typeof window.gutenberg_blocks === 'undefined') {window.gutenberg_quick_link_blocks = [];}window.gutenberg_quick_link_blocks['user_links'] = [{"ID":"profile","title":"Profile","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/profile-outlined.png","icon_val":"bbapp\/profile"},{"ID":"settings","title":"Account","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/settings-outlined.png","icon_val":"bbapp\/settings"},{"ID":"messages","title":"Messages","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/messages-outlined.png","icon_val":"bbapp\/messages"},{"ID":"photos","title":"Photos","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/photos-outlined.png","icon_val":"bbapp\/photos"},{"ID":"documents","title":"Documents","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/documents-outlined.png","icon_val":"bbapp\/documents"},{"ID":"curso","title":"Cursos","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/book-open-outlined.png","icon_val":"bbapp\/book-open"},{"ID":"certificates","title":"Certificates","icon":"https:\/\/sanfercampus.com\/wp-content\/plugins\/buddyboss-app\/assets\/app-icons\/bbapp\/certificates-outlined.png","icon_val":"bbapp\/certificates"}];
jQuery(document).ready(function(){ jQuery( "#pass1" ).data( "reveal", 0 ); });
jQuery( document ).ready( function () {
if ( jQuery('.popup-modal-register').length ) {
jQuery('.popup-modal-register').magnificPopup({
type: 'inline',
preloader: false,
fixedcontentPos: true,
modal: true
});
jQuery('.popup-modal-dismiss').click(function (e) {
e.preventDefault();
$.magnificPopup.close();
});
}
if ( jQuery('.popup-modal-login').length ) {
jQuery('.popup-modal-login').magnificPopup({
type: 'inline',
preloader: false,
fixedBgPos: true,
fixedcontentPos: true
});
jQuery('.popup-modal-dismiss').click(function (e) {
e.preventDefault();
$.magnificPopup.close();
});
}
});
jQuery( document ).ready( function () {
jQuery( '#loginform label[for="user_login"]' ).attr( 'id', 'user_label' );
jQuery( '#loginform label[for="user_pass"]' ).attr( 'id', 'pass_label' );
jQuery( '#registerform label[for="user_login"]' ).attr( 'id', 'user_label_register' );
jQuery( '#registerform label[for="user_email"]' ).attr( 'id', 'email_label_register' );
jQuery( '#lostpasswordform label[for="user_login"]' ).attr( 'id', 'user_label_lost' );
var $label_user_login = jQuery( 'label#user_label' );
$label_user_login.html( $label_user_login.find( 'input' ) );
var $label_user_pass = jQuery( 'label#pass_label' );
$label_user_pass.html( $label_user_pass.find( 'input' ) );
var $label_user_register = jQuery( 'label#user_label_register' );
$label_user_register.html( $label_user_register.find( 'input' ) );
var $label_email_register = jQuery( 'label#email_label_register' );
$label_email_register.html( $label_email_register.find( 'input' ) );
var $label_user_lost = jQuery( 'label#user_label_lost' );
$label_user_lost.html( $label_user_lost.find( 'input' ) );
jQuery( '#loginform #user_login' ).attr( 'placeholder', 'Correo Electrónico' );
jQuery( '#loginform #user_pass' ).attr( 'placeholder', 'Contraseña' );
jQuery( '#registerform #user_login' ).attr( 'placeholder', 'Nombre de usuario' );
jQuery( '#registerform #user_email' ).attr( 'placeholder', 'Correo Electrónico' );
jQuery( '#lostpasswordform #user_login' ).attr( 'placeholder', 'Correo Electrónico' );
jQuery( '#resetpassform #pass1' ).attr( 'placeholder', 'Añadir nueva contraseña' );
jQuery( '#resetpassform #bs-pass2' ).attr( 'placeholder', 'Retype new password' );
jQuery( '.login.bb-login p.message.reset-pass' ).text( "Reestablecer Contraseña" );
jQuery( '.login.login-action-lostpassword.bb-login #login > p.message' ).html( '¿Olvidaste tu contraseña? Por favor, introduzca su dirección de correo electrónico. Recibirá un correo electrónico con instrucciones sobre cómo restablecer su contraseña.' );
jQuery( '.login.login-action-lostpassword.bb-login #lostpasswordform input#wp-submit' ).attr( 'value', 'Solicitar enlace para reestablecer' );
jQuery( '.login.login-action-rp.bb-login #resetpassform input#wp-submit' ).attr( 'value', 'Guardar' );
if(!jQuery('#resetpassform').length) {
jQuery( '.login.login-action-resetpass.bb-login p#backtoblog' ).prepend( "Se actualizo la contraseña" );
}
var $signIn = jQuery( '.login.login-action-lostpassword.bb-login #login > p#nav > a' ).first().addClass('bs-sign-in').text('Volver para iniciar sesión');
jQuery( 'form#lostpasswordform' ).append( $signIn );
jQuery( '.login #loginform label#pass_label' ).append( "" );
var $forgetMeNot = jQuery( '.login.bb-login p.forgetmenot' );
var $lostMeNot = jQuery( '.login.bb-login p.lostmenot' );
jQuery( $lostMeNot ).before( $forgetMeNot );
jQuery( document ).on( 'click', '.login .label-switch', function ( e ) {
var $this = jQuery( this );
var $input = $this.closest( 'label' ).find( 'input#user_pass' );
$this.toggleClass( "bb-eye" );
if ( $this.hasClass( 'bb-eye' ) ) {
$input.attr( "type", "text" );
} else {
$input.attr( "type", "password" );
}
} );
var signinCheckboxes = function() {
// Checkbox Styling
jQuery('input[type=checkbox]#rememberme').each(function() {
var $this = jQuery(this);
$this.addClass('checkbox');
jQuery('').insertAfter($this);
if ($this.is(':checked')) {
$this.next('span.checkbox').addClass('on');
};
$this.fadeTo(0,0);
$this.change(function(){
$this.next('span.checkbox').toggleClass('on');
});
});
};
signinCheckboxes();
var loginLogoImage = function() {
jQuery('.login.bb-login #login > h1 > a').each(function() {
var $this = jQuery(this);
var bg = $this.css('background-image');
bgLogo = bg.replace('url(','').replace(')','').replace(/\"/gi, "");
$this.append( '' );
jQuery('#login h1 a img').unwrap();
});
};
var loginLogotitle = function() {
jQuery('.login.bb-login #login > h1 > a').each(function() {
var $this = jQuery(this);
$this.addClass('bb-login-title').append( 'Sanfer Campus' );
jQuery('#login h1 a span').unwrap();
});
};
loginLogoImage();
var loginHeight = function() {
jQuery( 'body.login.login-split-page #login' ).each(function() {
var $loginH = jQuery( 'body.login.login-split-page #login' ).height();
var $winH = jQuery( window ).height();
if ( $loginH > $winH ) {
jQuery( 'body.login.login-split-page' ).addClass('login-exh');
} else {
jQuery( 'body.login.login-split-page' ).removeClass('login-exh');
}
});
};
loginHeight();
jQuery( window ).on( 'resize', function () {
loginHeight();
} );
} )
Campus Virtual
Sanfer .login h1 a {
background-image: url(https://s3.sanfercampus.com/2019/07/SANFER-LOGO-RED.svg);
background-size: contain;
width:170px; }
.login #login h1 img.bs-cs-login-logo.private-on {
width:170px; }
.login-split {
background-image: url(https://s3.sanfercampus.com/2019/06/bkgd-polygons.jpg);
background-size: cover;
background-position: 50% 50%;
}
body.login {
background-color: #FAFBFD;
}
body.login #login,
body.login p.forgetmenot label {
color: #122B46;
}
body.login .login-popup.bb-modal {
color: #4D5C6D;
}
body.login .login-popup.bb-modal h1 {
color: #122B46;
}
body.login .login-heading a,
.login a,
.login h1 a.bb-login-title,
.login form .lostmenot a,
.login a.privacy-policy-link,
form#lostpasswordform a.bs-sign-in {
color: #ec0b29;
}
.login.wp-core-ui .button-primary {
background-color: #ec0b29;
border-color: #ec0b29;
}
.admin-email__actions .admin-email__actions-primary a.button {
color: #ec0b29;
border-color: #ec0b29;
}
body.login .login-heading a:hover,
body.login .login-heading a:focus,
.login a:hover,
.login a:focus,
.login h1 a.bb-login-title:hover,
.login h1 a.bb-login-title:focus,
.login form .lostmenot a:hover,
.login form .lostmenot a:focus,
.login a.privacy-policy-link:hover,
.login .button.wp-hide-pw:hover .dashicons,
.login .button.wp-hide-pw:focus .dashicons,
form#lostpasswordform a.bs-sign-in:hover {
color: #ec0b29;
}
.login.bb-login .button-primary:hover,
.login.bb-login .button-primary:focus,
.login.wp-core-ui .button-primary:hover {
background-color: #ec0b29;
border-color: #ec0b29;
}
.login.bb-login form .forgetmenot input[type=checkbox]:focus + .checkbox {
border-color: #ec0b29;
}
.admin-email__actions .admin-email__actions-primary a.button:hover {
color: #ec0b29;
border-color: #ec0b29;
}
.login.bb-login #pass-strength-result.short,
.login.bb-login #pass-strength-result.bad {
background-color: #EF3E46;
border-color: #EF3E46;
}
.login.bb-login #pass-strength-result.strong {
background-color: #1CD991;
border-color: #1CD991;
}
.login.bb-login #pass-strength-result.good {
background-color: #f7ba45;
border-color: #f7ba45;
}
@media( min-width: 992px ) {
body.login.login-split-page .login-split .split-overlay {
opacity: 0.3;
}
}
@media( min-width: 992px ) {
body.login.login-split-page .login-split div {
color: #FFFFFF;
}
}
.login #login_error {
background-color: #EF3E46;
border-left-color: #EF3E46;
}
.login:not(.login-action-lostpassword) .message:not(.reset-pass),
.login.login-action-lostpassword .message > .message {
background-color: #007CFF;
}
span.checkbox.on {
background-color: #ec0b29;
border-color: #ec0b29;
}
.login #login_error {
background-color: #EF3E46;
border-left-color: #EF3E46;
}
.login:not(.login-action-lostpassword) .message:not(.reset-pass),
.login.login-action-lostpassword .message > .message {
background-color: #007CFF;
}
span.checkbox.on {
background-color: #ec0b29;
border-color: #ec0b29;
}
|