Hi,
this is more a potentially annoying user experience than a real bug in the default Intranet web template.
In CMSdesk I set visibility of search box on the Logon page to authenticated role only in order to disable search funtion for unauthenticated users. But apparently nothing changed, the input box was still visible. Than I found out that search was indeed disabled but the background image still remained on screen.
The search box GUI element is implemented as a background image in CSS in CSS "Intranet Portal - Blue" as follows:
.SearchBox
{
float: right;
height: 31px;
line-height: 31px;
background: url('~/App_Themes/IntranetPortal/Images/BackgroundSearchBox.png') no-repeat left center;
margin: 4px 30px 0px 0px;
width: 147px;
}
After moving the background definition from ".SearchBox" to ".SearchTextBox"
and adjusting the padding I achieved the intended result/behaviour:
.SearchBox
{
float: right;
height: 31px;
line-height: 31px;
background: url('~/App_Themes/IntranetPortal/Images/BackgroundSearchBox.png') no-repeat left center;
margin: 4px 30px 0px 0px;
width: 147px;
}
.SearchTextBox
{
width: 112px;
height: 21px;
line-height: 21px;
border: none;
background: url('~/App_Themes/IntranetPortal/Images/BackgroundSearchBox.png') no-repeat left center;
padding: 0px 3px;
padding:0px 30px 0px 3px;
color: #000;
margin-top: 3px;
}
Best regards,
Jim