misterjtc
(Jordan Cook)
Outubro 30, 2020, 4:41pm
1
Eu realmente gosto do novo botão de tópico no fórum principal do Discourse.
Posso fazer isso no meu site?
ondrej
Outubro 30, 2020, 4:42pm
2
Olá
Esta é uma funcionalidade do tema Material Design
Você precisará instalá-lo no seu site. Consulte o link abaixo caso não tenha certeza de como fazer.
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…
merefield
(Robert)
Outubro 30, 2020, 4:44pm
3
Isso já foi perguntado antes. Eu forneci uma resposta detalhada aqui:
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…
O código pode ter sido ajustado desde então…
misterjtc
(Jordan Cook)
Outubro 30, 2020, 4:45pm
4
Obrigado, @ondrej .
Tenho usado o tema Material Design neste fórum como teste. Não percebi que era específico daquele tema. Tenho-o instalado na minha instância, mas não o utilizo.
Gostaria de saber como fazer isso de forma geral.
Atualmente faço isso com links de cabeçalho personalizados, mas prefiro o flutuante.
misterjtc
(Jordan Cook)
Outubro 30, 2020, 4:47pm
5
Obrigado pela resposta, @merefield .
Isso seria incrível como um plugin ou componente de tema!