1
0
mirror of https://github.com/flarum/core.git synced 2025-02-24 19:23:01 +01:00

Add Button--text class to create buttons that look like muted text

e.g. post actions
This commit is contained in:
Toby Zerner 2015-07-22 10:00:02 +09:30
parent ff6d3114d7
commit 5e91401f13

View File

@ -139,6 +139,19 @@
color: @link-color;
}
}
.Button--text {
background: transparent !important;
padding: 0;
color: @muted-color !important;
&:hover {
text-decoration: underline;
}
&:active,
&.active {
.box-shadow(none);
}
}
.Button--primary {
.Button--color(@body-bg, @primary-color);
font-weight: bold;