Hello!
I'm a user of Ultima, and I really need some inputText to be bordered as in other themes.
inputText
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Do you want to use label animation with inputText component that has border?
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<style type="text/css">
body.layout-compact .WithBorder.ui-inputfield {
border: 1px solid #bdbdbd;
border-radius: 3px;
padding: 4px;
}
body.layout-compact .WithBorder.ui-inputfield.ui-state-focus {
border-width: 1px;
border-color: #3F51B5;
}
</style>
<p:inputText styleClass="WithBorder"/>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please try;
Code: Select all
<style type="text/css">
body.layout-compact .ui-inputfield {
border: 1px solid #bdbdbd;
border-radius: 3px;
padding: 4px;
}
body.layout-compact .ui-inputfield.ui-state-focus,
body.layout-compact .ui-selectonemenu.ui-state-focus {
border-width: 1px;
border-color: #3F51B5;
}
body.layout-compact .ui-selectonemenu .ui-selectonemenu-trigger.ui-state-focus > .ui-icon{
color: #3F51B5;
}
body.layout-compact .ui-selectonemenu {
border: 1px solid #bdbdbd;
border-radius: 3px;
}
body.layout-compact .ui-selectonemenu .ui-selectonemenu-label {
border: none;
}
body.layout-compact .ui-selectonemenu .ui-selectonemenu-trigger {
top: 6px;
}
body .ui-fluid .ui-selectonemenu .ui-selectonemenu-trigger {
margin-right: 10px;
}
</style>
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
You're welcome!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 14 guests