You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

353 lines
4.9 KiB
Plaintext

.topic {
h1 {
line-height: 40px;
margin-bottom: 30px;
.topic-title {
display: block;
word-wrap: break-word;
font-size: 28px;
color:inherit;
line-height: 32px;
}
> span {
text-transform: uppercase;
color: @gray-light;
font-size: 12px;
display: inline-block;
margin-top: 8px;
> span {
vertical-align: middle;
margin-right: 8px;
}
}
.topic-title {
text-transform: initial;
}
.browsing-users {
margin-top: 3px;
}
}
.posts {
.icon {
font-size: 17px;
line-height: 17px;
border-radius: 50%;
min-width: 46px;
min-height: 46px;
margin-top: 2px;
img, .user-icon {
margin-right: 15px;
.user-icon-style(46px, 2.4rem, 50%);
}
}
.group-label {
text-transform: uppercase;
vertical-align: 6%;
padding: 4px;
border-radius: 2px;
}
}
.bookmarked {
position: absolute;
top: 1px;
right: 0px;
font-size: 16px;
color: darken(@brand-info, 20%);
opacity: 0;
.transition(0.75s ease-in-out opacity);
}
[component="post/upvote"], [component="post/downvote"] {
color: @gray-light;
}
[component="post/upvote"].upvoted, [component="post/downvote"].downvoted {
color: @brand-primary;
}
.stats {
margin: 0px 10px 0px 10px;
float: left;
}
.title {
p {
margin-bottom: 4px;
}
small {
margin-top: 2px;
display: block;
color: @gray-light;
strong {
color: @gray-dark;
}
}
}
.content {
margin-top: 20px;
padding-bottom: 1px;
margin-top: -43px;
margin-left: 61px;
word-wrap: break-word;
overflow: hidden;
}
.post-tools {
text-transform: lowercase;
a {
padding-right: 10px;
.pointer;
}
}
.moderator-tools {
margin-left: 10px;
font-size: 14px;
> a {
padding: 0.25em;
}
a {
color: @gray-light;
outline: none;
&[role="menuitem"] {
color: @gray-light;
}
}
// temporary until we build component toggling
.favourite.btn-warning, .follow.btn-success {
background: white !important;
color: #333;
&:hover {
background: @brand-primary !important;
}
}
}
.tags {
vertical-align: -40%;
}
h1 {
.btn-group, .btn {
margin-left: 15px;
}
.btn {
background: @body-bg;
text-transform: uppercase;
font-weight: 600;
box-shadow: none !important;
font-size: 11px;
color: @gray-light;
padding: 0;
}
}
.post-signature {
font-size: 12px;
border-top: 1px dashed #dedede;
padding: 1px;
padding-top: 5px;
display: inline-block;
font-style: italic;
margin-left: 61px;
}
@media (max-width: @screen-sm-max) {
.content {
margin-left: 0;
margin-top: -10px;
}
.post-signature {
margin-left: 0px;
}
.posts .icon {
min-width: 0;
min-height: 0;
margin-top: -3px;
img, .user-icon {
.user-icon-style(23px, 1.3rem, 50%);
}
}
}
}
.topic {
&.deleted {
.opacity(0.3);
.votes {
display: none;
}
}
.posts {
list-style-type: none;
padding: 0;
> li {
position: relative;
.edit-icon, .status {
vertical-align: -2%;
}
&.deleted {
.content {
.opacity(0.3);
}
.votes {
display: none;
}
}
> hr {
.transition(0.75s ease-in-out border-color);
}
&.highlight > hr {
border-color: darken(@brand-info, 20%);
box-shadow: 0px 0px 1px @brand-info;
}
&.highlight .bookmarked {
opacity: 1;
}
}
.content {
.fix-lists;
blockquote {
font-size: 12px;
}
> blockquote {
> blockquote {
> *:not(.blockquote) {
display: none;
}
}
> blockquote.uncollapsed {
> *:not(.blockquote) {
display: block;
}
}
}
iframe, .img-responsive {
max-width: 85%;
}
.toggle {
padding: 0px 5px;
border: 1px solid #e0e0e0;
background: #fcfcfc;
width: 50px;
text-align: center;
display:block!important;
}
pre {
max-height: 350px;
code {
white-space: pre;
word-wrap: normal;
}
}
@media (max-width: @screen-sm-min) {
pre {
max-height: 250px;
}
}
}
}
.pagination-block {
position: fixed;
width: 100%;
background-color: #eee;
bottom: 0px;
left: 0px;
z-index: 100;
.wrapper {
padding: 5px 0px 5px 0px;
}
.progress-bar {
background-color: @brand-info;
display:block;
z-index: -1;
position: absolute;
}
}
}
.thread_active_users {
text-transform: initial;
a[data-uid] {
position: relative;
img, .user-icon {
.user-icon-style(20px, 1rem, 50%);
vertical-align: middle;
margin: 0 7px;
}
&::after {
position: absolute;
z-index: 0;
opacity: 0;
font-family: "FontAwesome";
content: "\f11c";
padding: 4px 0.25em;
top: -36px;
left: 7px;
.transition(~"opacity ease 250ms, top ease 250ms")
}
&.replying::after {
opacity: 1;
top: -50px;
.animation(topic-reply-pulse 2s ease-in infinite);
}
}
.anonymous-box {
border: 1px solid #ddd;
width: 24px;
height: 24px;
position: relative;
text-align: center;
}
}