Customisation

Материал из WiKi - UserSide

en | uk | ru

The client can add custom JavaScript files to the system, add custom CSS styles, or override existing styles.

Use the following files for this:

For versions 3.21 and later:

/public/assets/js/client-custom.js
/public/assets/css/client-custom.css

For versions 3.19-3.20:

/public/main/js/user_script.js
/public/main/css/user_style.css

For versions earlier than 3.19:

/userside3/main/js/user_script.js
/userside3/main/skins/user_style.css

If these files do not exist, create them. They are not overwritten during updates.

For version 3.21 and later, you can configure a custom logo on the login page:

body#login_page {
   --login-client-slot-width: 320px;
   --login-client-slot-gap: 28px;
   --login-client-logo-height: 96px;
   --login-client-slot-mobile-gap: 14px;
}

#login_page_client_logo {
   background-image: url('../picture/client-login-logo.svg');
}