misuzu/assets/less/mio/classes/forum/topics.less

142 lines
3.1 KiB
Text
Raw Normal View History

2018-05-18 01:20:27 +00:00
.forum__topics {
2018-05-20 01:16:29 +00:00
&__listing {
2018-05-21 16:37:17 +00:00
margin: 1px;
2018-05-20 01:16:29 +00:00
}
&__none {
margin: 0 3px;
}
&__entry {
display: flex;
align-items: stretch;
2018-05-21 16:37:17 +00:00
min-height: 40px;
2018-05-20 01:16:29 +00:00
&:not(:first-child) {
margin-top: 1px;
padding-top: 1px;
border-top: 1px solid #9475b2;
}
&__icon {
flex-shrink: 0;
flex-grow: 0;
2018-05-21 16:37:17 +00:00
align-self: center;
2018-05-20 01:16:29 +00:00
}
&__info {
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
flex-shrink: 1;
padding: 0 2px;
2018-05-21 16:37:17 +00:00
word-wrap: break-word;
overflow: hidden;
2018-05-20 20:12:45 +00:00
}
2018-05-20 01:16:29 +00:00
&__stats,
&__activity {
display: flex;
flex-shrink: 0;
flex-grow: 0;
border-left: 1px solid #9475b2;
}
2018-05-20 20:12:45 +00:00
&__info,
&__activity {
&__datetime,
2018-05-20 01:16:29 +00:00
&__title {
2018-05-21 16:37:17 +00:00
line-height: 1.4em;
margin-bottom: 2px;
2018-05-20 01:16:29 +00:00
&__link {
text-decoration: none;
color: inherit;
&:hover {
text-decoration: underline;
}
}
&--unread {
font-weight: 700;
}
}
&__author {
font-size: .9em;
2018-05-21 16:37:17 +00:00
line-height: 1.2em;
2018-05-20 01:16:29 +00:00
2018-05-20 20:12:45 +00:00
&__name {
2018-05-20 01:16:29 +00:00
font-weight: 700;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
&__stat {
line-height: 1.2em;
&--posts {
font-size: 1.3em;
color: #111;
}
&--views {
font-size: 0.8em;
color: #555;
}
@media (max-width: @site-mobile-width) {
font-size: 1em;
margin: 0 4px;
}
2018-05-20 01:16:29 +00:00
}
&__stats {
text-align: center;
2018-05-20 20:12:45 +00:00
padding-left: 1px;
min-width: 70px;
flex-direction: column;
justify-content: center;
@media (max-width: @site-mobile-width) {
min-width: initial;
border-left-width: 0;
align-self: flex-end;
align-items: flex-end;
}
2018-05-20 01:16:29 +00:00
}
2018-05-20 20:12:45 +00:00
&__activity {
2018-05-20 01:16:29 +00:00
min-width: 200px;
2018-05-20 20:12:45 +00:00
padding-left: 3px;
align-items: center;
@media (max-width: @site-mobile-width) {
min-width: initial;
width: 120px;
}
&__info {
flex-grow: 1;
flex-shrink: 1;
margin-left: 3px;
}
&__avatar {
2018-07-10 00:40:37 +00:00
width: 40px;
height: 40px;
flex-grow: 0;
flex-shrink: 0;
2018-07-10 00:40:37 +00:00
margin: 1px;
}
2018-05-20 01:16:29 +00:00
}
}
2018-05-18 01:20:27 +00:00
}