08-14-2019 1:16 PM - edited 02-03-2024 5:25 PM
hi Andrzej,
in the backoffice extension you can create your own css file with your custom styles:
testbackoffice/resources/cockpitng/cng/css/customWidgetsAndEditors.css
put into this css following styles:
.yw-fulltextsearch-search-button { background: #ffffff url("images/icon-full-text-search.png") no-repeat 5px -51px; }
.yw-fulltextsearch-container-collapsed .yw-fulltextsearch-search-button { border: 1px solid #0486e0; }
.yw-fulltextsearch-container-collapsed .yw-fulltextsearch-input-box { width: 201px; border-right: 1px solid #0486e0; }
.yw-fulltextsearch-container-collapsed .yw-fulltextsearch-input-wrapper { padding-left: 201px; }
.yw-fulltextsearch-container-collapsed .yw-fulltextsearch-clear-button { padding: 0 5px; position: relative; }
.yw-fulltextsearch-container-collapsed .yw-fulltextsearch-search-button { border: 1px solid #0486e0; }
copy default image and past it into your custom directory:
testbackoffice/resources/cockpitng/cng/css/images/icon-full-text-search.png
In the project.properties of backoffice extension specify the location of the stylesheet for the customization of widgets and editors:
backoffice.cockpitng.overridewidgetsandeditors.css=/cng/css/customWidgetsAndEditors.css
After this you will be able to see expanded search box by default, as you re-writed styles for collapsed input and changed it to styles using for expanded input.
Hope this helps.
Regards,
Igor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.