mirror of https://framagit.org/tykayn/mastodon.git
icons for dropdown menu
This commit is contained in:
parent
e50cb7160a
commit
34f4a3f56a
|
@ -162,6 +162,7 @@ class DropdownMenu extends React.PureComponent {
|
||||||
{/*{i} )*/}
|
{/*{i} )*/}
|
||||||
|
|
||||||
{text}
|
{text}
|
||||||
|
<span> </span>
|
||||||
{i === 0 &&
|
{i === 0 &&
|
||||||
<i className='fa fa-eye-o' />
|
<i className='fa fa-eye-o' />
|
||||||
}
|
}
|
||||||
|
|
|
@ -205,7 +205,7 @@ export default class StatusContent extends React.PureComponent {
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='status.show_thread'
|
id='status.show_thread'
|
||||||
defaultMessage='Show thread'
|
defaultMessage='Show thread'
|
||||||
/>
|
/> <i className='fa fa-comment' />
|
||||||
</button >
|
</button >
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -218,10 +218,7 @@ export default class StatusContent extends React.PureComponent {
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='status.read_more'
|
id='status.read_more'
|
||||||
defaultMessage='Read more'
|
defaultMessage='Read more'
|
||||||
/><Icon
|
/> <i className='fa fa-comment' />
|
||||||
id='angle-right'
|
|
||||||
fixedWidth
|
|
||||||
/>
|
|
||||||
</button >
|
</button >
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -847,10 +847,9 @@
|
||||||
.status__content.status__content--collapsed {
|
.status__content.status__content--collapsed {
|
||||||
max-height: 20px * 15; // 15 lines is roughly above 500 characters
|
max-height: 20px * 15; // 15 lines is roughly above 500 characters
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__content__read-more-button {
|
.status__content__read-more-button {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 15px;
|
font-size: 0.85em;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: lighten($ui-highlight-color, 8%);
|
color: lighten($ui-highlight-color, 8%);
|
||||||
border: 0;
|
border: 0;
|
||||||
|
@ -870,6 +869,15 @@
|
||||||
|
|
||||||
margin-left: 1ch;
|
margin-left: 1ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span{
|
||||||
|
opacity: 0;
|
||||||
|
transition: all ease 0.5s;
|
||||||
|
&:hover{
|
||||||
|
opacity: 1;
|
||||||
|
transition: all ease 0.5s;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__content__spoiler-link {
|
.status__content__spoiler-link {
|
||||||
|
@ -1821,6 +1829,10 @@ a.account__display-name {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
i.fa{
|
||||||
|
margin-left: 1ch;
|
||||||
|
margin-right: 1ch;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown--active .dropdown__content {
|
.dropdown--active .dropdown__content {
|
||||||
|
|
Loading…
Reference in New Issue