mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 19:13:37 +08:00
Darken user card bg to make text more readable
Will also be handy when there’s an extension that implements cover photos
This commit is contained in:
parent
f3fab617da
commit
720fbd6ac6
|
@ -1,5 +1,17 @@
|
|||
.user-card {
|
||||
.drawer-components();
|
||||
|
||||
&, & .container {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
.darken-overlay {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
.user-hero {
|
||||
& .contextual-controls {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<div class="darken-overlay"></div>
|
||||
<div class="container">
|
||||
{{#if controls}}
|
||||
{{ui/dropdown-button items=controls class="contextual-controls" menuClass="pull-right" buttonClass=controlsButtonClass}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user