Fórum

liferay-ui:custom-attribute

luiz sergio resende ferreira, modificado 6 Anos atrás.

liferay-ui:custom-attribute

New Member Postagens: 11 Data de Entrada: 09/03/17 Postagens Recentes
Hello,
I'm creating hook in create_account, but I'm not able to add css in custom-attributes, I want that custom attribute have the same style of aui: input.
Somebody may help me? thanks
luiz sergio resende ferreira, modificado 6 Anos atrás.

RE: liferay-ui:custom-attribute

New Member Postagens: 11 Data de Entrada: 09/03/17 Postagens Recentes
I solved, I just created a new class called, lfr-input-text, in aui_custoom.scss.

But now I have another question, how can I use "has-success class" in lfr-input-text

.has-success .lfr-input-text {
  border-color: #76BD4A;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); }