misterjtc
(Jordan Cook)
2020 年 10 月 30 日午後 4:41
1
I really like the new topic button on the main discourse forum.
Can I do this on my site?
ondrej
2020 年 10 月 30 日午後 4:42
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.
Importing new themes and theme components
head to Admin → Customize → Themes and press the Install button.
[image]
[image]
From the Install dialog, you can …
choose popular Discourse themes and theme components
install from a Git repository URL link
install from your local device (rare)
If you are installing a complete theme, you’re done!
If you install a theme component , you will need to add that theme component to your active themes. Keep reading.
Add theme components to a …
「いいね!」 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 …
「いいね!」 3
misterjtc
(Jordan Cook)
2020 年 10 月 30 日午後 4:45
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)
2020 年 10 月 30 日午後 4:47
5
Thanks the reply @merefield .
This would be awesome as a plugin or theme component!
「いいね!」 1
system
(system)
クローズされました:
2020 年 11 月 29 日午後 4:50
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.