D
DevOpKinG
No recomendado
Verificado por Whatsapp
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Si, como dice el título, con esta modificación, tendrás en tu foro, en cada tema nuevo el iconito de NUEVO, así tus usuarios sabrán que hay un tema nuevo - respuesta nueva , dentro del sub-foro. Es muy simple, solo acceder al panel de administración ---> Estilos y Plantillas ---> Plantillas ---> buscar extra.less ---> Pegar este código completo
//By DevOpKinG
.node--unread .node-title:after {
content: "{{ phrase('NUEVO') }}";
color: #ffffff;
background: #ed7a16;
display: inline-block;
font-size: 9px;
line-height: 2;
border-radius: 3px;
padding: 0 4px;
margin-right: 4px;
vertical-align: middle;
-webkit-animation-name: blinker;
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: blinker;
-moz-animation-duration: 2s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
animation-name: blinker;
animation-duration: 2s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@-moz-keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
@-webkit-keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
@keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
.node--unread .node-title:after {
content: "{{ phrase('NUEVO') }}";
}
Le dan guardar, y comprobar que funciona en su lista de sub-foros.
PD : Se puede cambiar la frase, de NUEVO a cualquier otra que decidan, pero cuidado solo seleccionen la palabra "NUEVO"
//By DevOpKinG
.node--unread .node-title:after {
content: "{{ phrase('NUEVO') }}";
color: #ffffff;
background: #ed7a16;
display: inline-block;
font-size: 9px;
line-height: 2;
border-radius: 3px;
padding: 0 4px;
margin-right: 4px;
vertical-align: middle;
-webkit-animation-name: blinker;
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: blinker;
-moz-animation-duration: 2s;
-moz-animation-timing-function: linear;
-moz-animation-iteration-count: infinite;
animation-name: blinker;
animation-duration: 2s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@-moz-keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
@-webkit-keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
@keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
.node--unread .node-title:after {
content: "{{ phrase('NUEVO') }}";
}
Le dan guardar, y comprobar que funciona en su lista de sub-foros.
PD : Se puede cambiar la frase, de NUEVO a cualquier otra que decidan, pero cuidado solo seleccionen la palabra "NUEVO"