ui: tweaks
This commit is contained in:
parent
b260627d9a
commit
b15262c54a
|
@ -25,15 +25,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bar__brandItem {
|
.bar__brandItem {
|
||||||
|
align-items: center;
|
||||||
color: $color-muted;
|
color: $color-muted;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
font-family: var(--thick-title-font-family);
|
font-family: var(--thick-title-font-family);
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
.closed & {
|
.closed & {
|
||||||
|
flex-direction: column;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 1em 0 0.5em;
|
padding: 1em 0 0.5em;
|
||||||
|
|
|
@ -29,7 +29,19 @@ export default function ChatLeft() {
|
||||||
className={classnames('left', 'flexed', showsAsOpen ? 'open' : 'closed')}
|
className={classnames('left', 'flexed', showsAsOpen ? 'open' : 'closed')}
|
||||||
>
|
>
|
||||||
<Bar
|
<Bar
|
||||||
branding={<li className="bar__brandItem">reddichat</li>}
|
branding={(
|
||||||
|
<li className="bar__brandItem">
|
||||||
|
<div>
|
||||||
|
reddi
|
||||||
|
<span className="muted">?</span>
|
||||||
|
</div>
|
||||||
|
{' '}
|
||||||
|
<div>
|
||||||
|
chat
|
||||||
|
<span className="muted">!</span>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
)}
|
||||||
buttons={buttons}
|
buttons={buttons}
|
||||||
isHorizontal={showsAsOpen}
|
isHorizontal={showsAsOpen}
|
||||||
onActive={(active, i) => {
|
onActive={(active, i) => {
|
||||||
|
|
|
@ -13,3 +13,7 @@
|
||||||
.left.open {
|
.left.open {
|
||||||
width: 18em;
|
width: 18em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bar__brandItem .muted {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
|
@ -10,10 +10,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.right .bar--vertical {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.right.open {
|
.right.open {
|
||||||
width: 18em;
|
width: 18em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user