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.

361 lines
4.8 KiB
Plaintext

10 years ago
.topic {
h1 {
line-height: 24px;
margin-bottom: 30px;
.topic-title {
font-size: 28px;
color:inherit;
}
> span {
text-transform: uppercase;
color: @gray-light;
font-size: 12px;
display: inline-block;
margin-top: 8px;
> span {
vertical-align: middle;
margin-right: 8px;
}
}
10 years ago
.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;
10 years ago
img {
margin-right: 15px;
width: 46px;
height: 46px;
border-radius: 50%;
10 years ago
}
}
.group-label {
text-transform: uppercase;
vertical-align: 6%;
padding: 4px;
border-radius: 2px;
}
}
10 years ago
.votes {
position: absolute;
top: 1px;
right: 25px;
}
10 years ago
[component="post/upvote"], [component="post/downvote"] {
color: @gray-light;
}
[component="post/upvote"].upvoted, [component="post/downvote"].downvoted {
color: @brand-primary;
}
.stats {
width: 60px;
float: left;
margin-top: -5px;
}
10 years ago
.topic-main-buttons a.btn {
margin-left: 20px;
10 years ago
}
.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;
10 years ago
word-wrap: break-word;
}
.post-tools {
text-transform: lowercase;
:before {
content: "\2022\0020";
}
a {
.pointer;
}
}
.moderator-tools {
position: absolute;
10 years ago
right: -5px;
top: 0;
10 years ago
font-size: 14px;
> a {
padding: 0.25em;
}
a {
color: @gray-light;
outline: none;
&[role="menuitem"] {
color: @gray-dark;
}
}
// temporary until we build component toggling
.favourite.btn-warning, .follow.btn-success {
background: white !important;
color: #333;
&:hover {
background: @brand-primary !important;
}
}
}
10 years ago
.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;
}
}
10 years ago
.post-signature {
font-size: 12px;
border-top: 1px dashed #dedede;
padding: 1px;
padding-top: 5px;
display: inline-block;
font-style: italic;
}
@media (max-width: @screen-sm-max) {
.content {
margin-left: 0;
margin-top: -10px;
}
.posts .icon {
min-width: 0;
min-height: 0;
10 years ago
margin-top: 5px;
img {
width: 23px;
height: 23px;
}
}
}
}
10 years ago
.topic {
10 years ago
&.deleted {
10 years ago
.opacity(0.3);
10 years ago
.votes {
display: none;
}
10 years ago
}
.posts {
list-style-type: none;
padding: 0;
> li {
position: relative;
.status {
vertical-align: -2%;
}
10 years ago
&.deleted {
10 years ago
.content {
.opacity(0.3);
}
10 years ago
.votes {
display: none;
}
10 years ago
}
10 years ago
> hr {
.transition(0.75s ease-in-out border-color);
}
10 years ago
&.highlight > hr {
border-color: darken(@brand-info, 20%);
box-shadow: 0px 0px 1px @brand-info;
}
10 years ago
}
.content {
ul {
> li {
list-style-type: disc;
10 years ago
ul > li {
list-style-type: circle;
10 years ago
ul > li {
list-style-type: square;
}
}
10 years ago
}
10 years ago
margin-bottom: 10px;
10 years ago
}
blockquote {
font-size: 85%;
}
> blockquote {
> *:not(:first-child) {
display: none;
10 years ago
}
> blockquote {
display: block!important;
> *:not(:first-child) {
display: none;
}
10 years ago
}
}
> blockquote.uncollapsed {
> *:not(:first-child) {
display: block;
10 years ago
}
> blockquote {
display: block!important;
> *:not(:first-child) {
display: block;
10 years ago
}
}
}
iframe, .img-responsive {
max-width: 85%;
}
.toggle {
padding: 0px 5px;
border: 1px solid #e0e0e0;
background: #fcfcfc;
width: 50px;
text-align: center;
display:block!important;
10 years ago
}
pre {
max-height: 350px;
10 years ago
code {
white-space: pre;
word-wrap: normal;
10 years ago
}
}
10 years ago
@media (max-width: @screen-sm-min) {
pre {
max-height: 250px;
10 years ago
}
}
}
}
}
.thread_active_users {
10 years ago
text-transform: initial;
10 years ago
a[data-uid] {
10 years ago
position: relative;
margin-left: 14px;
10 years ago
img {
border-radius: 50%;
width: 20px;
height: 20px;
vertical-align: middle;
10 years ago
}
&::after {
10 years ago
position: absolute;
10 years ago
z-index: 0;
opacity: 0;
10 years ago
font-family: "FontAwesome";
content: "\f11c";
padding: 4px 0.25em;
10 years ago
top: 0px;
10 years ago
left: 0px;
10 years ago
.transition(~"opacity ease 250ms, top ease 250ms")
10 years ago
}
&.replying::after {
10 years ago
opacity: 1;
10 years ago
top: -24px;
10 years ago
.animation(topic-reply-pulse 2s ease-in infinite);
10 years ago
}
}
.anonymous-box {
border: 1px solid #ddd;
width: 24px;
height: 24px;
position: relative;
text-align: center;
}
}