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.

409 lines
5.6 KiB
Plaintext

10 years ago
.topic {
h1 {
line-height: 40px;
margin-bottom: 30px;
9 years ago
.topic-title {
word-wrap: break-word;
font-size: 28px;
color:inherit;
10 years ago
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;
}
}
10 years ago
.topic-title {
text-transform: initial;
}
.browsing-users {
margin-top: 3px;
}
}
.posts {
h1 {
font-size: 22px;
margin: 10px 0;
}
h2 {
font-size: 20px;
}
h3 {
text-transform: uppercase;
font-size: 16px;
font-weight: 900;
}
h4 {
font-size: 17px;
}
h5 {
font-weight: 800;
text-transform: uppercase;
}
h4, h5, h6 {
margin-top: 15px
}
.icon {
position: relative;
border-radius: 50%;
min-width: 46px;
min-height: 46px;
margin-top: 2px;
10 years ago
> a > .status {
position: absolute;
right: 12px;
font-size: 12px;
top: 0px;
@media (min-width: @screen-md-min) {
top: 2px;
font-size: 16px;
}
}
9 years ago
img, .user-icon {
margin-right: 15px;
.user-icon-style(46px, 2.4rem, 50%);
10 years ago
}
}
.status {
vertical-align: 0%;
}
.group-label {
text-transform: uppercase;
9 years ago
vertical-align: 5%;
padding: 4px;
border-radius: 2px;
}
}
10 years ago
.bookmarked {
position: absolute;
9 years ago
top: -2px;
right: 6px;
font-size: 16px;
color: darken(@brand-info, 20%);
opacity: 0;
.transition(0.75s ease-in-out opacity);
}
10 years ago
[component="post/upvote"], [component="post/downvote"] {
color: @gray-light;
&:focus {
text-decoration: none;
}
10 years ago
}
[component="post/upvote"].upvoted, [component="post/downvote"].downvoted {
color: @brand-primary;
}
.stats {
9 years ago
margin: 0px 10px 0px 10px;
float: left;
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;
overflow: hidden;
}
.post-tools {
text-transform: lowercase;
9 years ago
a {
9 years ago
padding-right: 10px;
.pointer;
}
}
.moderator-tools {
9 years ago
margin-left: 10px;
10 years ago
font-size: 14px;
> a {
padding: 0.25em;
}
a {
color: @gray-light;
outline: none;
&[role="menuitem"] {
9 years ago
color: inherit;
}
}
// 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;
margin-left: 61px;
10 years ago
}
@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;
9 years ago
img, .user-icon {
.user-icon-style(23px, 1.3rem, 50%);
}
}
}
}
.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;
.edit-icon {
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;
}
&.highlight .bookmarked {
opacity: 1;
}
10 years ago
}
.content {
.fix-lists;
10 years ago
blockquote {
9 years ago
font-size: 12px;
}
> blockquote {
> blockquote {
> *:not(.blockquote) {
display: none;
}
10 years ago
}
> blockquote.uncollapsed {
> *:not(.blockquote) {
display: block;
10 years ago
}
}
}
iframe, .img-responsive {
max-width: 85%;
9 years ago
display: inline;
}
.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;
min-width: 100%;
10 years ago
}
}
10 years ago
@media (max-width: @screen-sm-min) {
pre {
max-height: 250px;
10 years ago
}
}
}
}
9 years ago
.pagination-block {
position: fixed;
width: 100%;
background-color: @gray-lighter;
9 years ago
bottom: 0px;
left: 0px;
z-index: 100;
transition: opacity 250ms ease-in;
opacity: 0;
&.ready {
opacity: 1;
}
9 years ago
.wrapper {
padding: 5px 0px 5px 0px;
}
.progress-bar {
background-color: @brand-info;
display:block;
z-index: -1;
position: absolute;
}
}
10 years ago
}
.thread_active_users {
10 years ago
text-transform: initial;
10 years ago
a[data-uid] {
10 years ago
position: relative;
9 years ago
img, .user-icon {
.user-icon-style(20px, 1rem, 50%);
vertical-align: middle;
9 years ago
margin: 0 7px;
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;
9 years ago
top: -36px;
left: 7px;
10 years ago
.transition(~"opacity ease 250ms, top ease 250ms")
10 years ago
}
&.replying::after {
10 years ago
opacity: 1;
9 years ago
top: -50px;
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;
}
}