misterjtc
(Jordan Cook)
30 Octubre, 2020 16:41
1
Me gusta mucho el nuevo botón de tema en el foro principal de Discourse.
¿Puedo hacer esto en mi sitio?
ondrej
30 Octubre, 2020 16:42
2
Hola
Esta es una característica del tema Material Design
Tendrás que instalarlo en tu sitio. Consulta el enlace a continuación si no estás seguro de cómo hacerlo.
This is a guide for installing and managing themes and theme components in Discourse.
Required user level: Administrator
Installing and customizing themes can significantly improve the look and feel of your Discourse site. You can easily import and manage themes and their components through the Discourse admin panel.
This guide covers:
Importing new themes and theme components
Adding theme components to a theme
Managing automatic updates
Additional resourc…
3 Me gusta
Esto ya se ha preguntado antes. Proporcioné una respuesta detallada aquí:
I can do better than that … I believe this is the CSS (UPDATED):
@mixin buttonShadow {
box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}
@mixin buttonTransition {
transition: right 0.5s, bottom 0.5s, border-radius 0.5s, text-indent 0.2s,
visibility 1s, width 0.2s ease, height 0.5s ease 0.4s, color 0.5s,
background-color 2s, transform 0.5s;
}
//New Topic Fab
#create-topic.btn-default {
display: flex;
align-items: center;
justify-content: center;
@inc…
Es posible que el código haya sido modificado desde entonces…
3 Me gusta
misterjtc
(Jordan Cook)
30 Octubre, 2020 16:45
4
Gracias @ondrej .
He estado utilizando el tema Material Design en este foro como prueba. No me di cuenta de que era específico de ese tema. Lo tengo instalado en mi instancia, pero no lo uso.
Me interesaría saber cómo hacerlo de manera general.
Actualmente lo hago con enlaces de encabezado personalizados, pero prefiero el flotante.
misterjtc
(Jordan Cook)
30 Octubre, 2020 16:47
5
Gracias por la respuesta, @merefield .
¡Esto sería genial como un plugin o un componente de tema!
1 me gusta
system
(system)
Cerrado
29 Noviembre, 2020 16:50
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.