misterjtc
(Jordan Cook)
October 30, 2020, 4:41pm
1
I really like the new topic button on the main discourse forum.
Can I do this on my site?
ondrej
October 30, 2020, 4:42pm
2
Hi
This is a feature of the material design theme
You will have to install it on your site. See kink below if you are not sure how.
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)
October 30, 2020, 4:44pm
3
This has been asked before. I provided a detailed answer here:
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…
The code might have been tweaked since …
misterjtc
(Jordan Cook)
October 30, 2020, 4:45pm
4
Thank you @ondrej .
I have been using the material design theme on this forum as a test. I didn’t realize it was specific to that theme. I have it installed on my instance but I don’t use it.
I’d be interested on how to do this across the board.
I currently do this with custom header links but prefer the floating one.
misterjtc
(Jordan Cook)
October 30, 2020, 4:47pm
5
Thanks the reply @merefield .
This would be awesome as a plugin or theme component!