mirror of
https://github.com/flarum/core.git
synced 2025-06-10 16:44:59 +02:00
Add Button--text class to create buttons that look like muted text
e.g. post actions
This commit is contained in:
parent
ff6d3114d7
commit
5e91401f13
@ -139,6 +139,19 @@
|
|||||||
color: @link-color;
|
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--primary {
|
||||||
.Button--color(@body-bg, @primary-color);
|
.Button--color(@body-bg, @primary-color);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user