2013-12-05 04:56:09 +08:00
|
|
|
.gap {
|
2014-05-19 13:17:59 +08:00
|
|
|
background-color: scale-color-diff();
|
2014-03-23 05:39:47 +08:00
|
|
|
padding: 5px 0;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: lighten($primary, 35%);
|
2013-12-05 04:56:09 +08:00
|
|
|
cursor: pointer;
|
2013-12-07 01:51:00 +08:00
|
|
|
text-align: center;
|
2014-03-23 05:39:47 +08:00
|
|
|
width: 80%;
|
2013-12-05 04:56:09 +08:00
|
|
|
|
|
|
|
&:hover {
|
2014-05-19 13:17:59 +08:00
|
|
|
background-color: scale-color-diff();
|
2013-12-05 04:56:09 +08:00
|
|
|
}
|
|
|
|
|
2013-12-07 01:51:00 +08:00
|
|
|
@include medium-width {
|
2014-04-08 07:02:33 +08:00
|
|
|
width: 795px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include small-width {
|
|
|
|
width: 815px;
|
2013-12-05 04:56:09 +08:00
|
|
|
}
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
.container {
|
|
|
|
@extend .clearfix;
|
|
|
|
max-width: $large-width;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-23 12:22:24 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.full-width {
|
2014-03-06 14:14:51 +08:00
|
|
|
margin-left: 0;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2014-04-10 11:27:05 +08:00
|
|
|
h1 .topic-statuses .topic-status i {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
2013-10-31 00:40:16 +08:00
|
|
|
|
2014-02-27 11:00:22 +08:00
|
|
|
.logo-small {
|
|
|
|
margin-right: 8px;
|
|
|
|
width: auto;
|
|
|
|
max-width: 80px;
|
|
|
|
height: auto;
|
|
|
|
max-height: 40px;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2013-11-21 05:33:36 +08:00
|
|
|
.post-cloak {
|
2013-10-22 03:15:32 +08:00
|
|
|
padding: 0;
|
2013-10-23 12:22:24 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
&:first-of-type {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2013-10-17 02:09:48 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.reply-to-tab {
|
2013-10-22 01:53:34 +08:00
|
|
|
position: absolute;
|
2014-06-03 10:32:33 +08:00
|
|
|
right: 350px;
|
2013-10-20 06:18:25 +08:00
|
|
|
z-index: 400;
|
2014-05-10 14:09:04 +08:00
|
|
|
padding: 13px 6px 5px;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-top: 1px solid scale-color-diff();
|
2013-10-20 06:18:25 +08:00
|
|
|
font-size: 12px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2014-03-03 14:16:30 +08:00
|
|
|
@include medium-width {
|
2014-05-23 16:29:23 +08:00
|
|
|
right: 320px;
|
2014-03-03 14:16:30 +08:00
|
|
|
}
|
|
|
|
@include small-width {
|
2014-04-30 22:14:27 +08:00
|
|
|
right: 230px;
|
2014-03-03 14:16:30 +08:00
|
|
|
}
|
2013-10-17 02:09:48 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.gutter {
|
2013-10-31 00:40:16 +08:00
|
|
|
.reply-new {
|
|
|
|
.discourse-no-touch & {
|
|
|
|
opacity:0;
|
2014-03-03 14:16:30 +08:00
|
|
|
transition: opacity linear 0.4s;
|
|
|
|
-webkit-transition: opacity linear 0.4s;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-31 00:40:16 +08:00
|
|
|
.discourse-touch & {opacity: 1;}
|
|
|
|
}
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2013-10-23 03:37:44 +08:00
|
|
|
section.post-menu-area, .post-actions {
|
2013-10-20 06:18:25 +08:00
|
|
|
.discourse-no-touch & {
|
|
|
|
opacity: 0.2;
|
2014-03-03 14:16:30 +08:00
|
|
|
transition: opacity linear 0.4s;
|
|
|
|
-webkit-transition: opacity linear 0.4s;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-31 00:40:16 +08:00
|
|
|
.discourse-touch & {opacity: 1;}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-23 03:37:44 +08:00
|
|
|
&:hover section.post-menu-area, &:hover .post-actions {
|
2013-10-20 06:18:25 +08:00
|
|
|
opacity: 1;
|
2013-02-06 03:16:51 +08:00
|
|
|
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
&:hover .gutter {
|
2013-02-06 03:16:51 +08:00
|
|
|
.reply-new,
|
|
|
|
.track-link {
|
2013-03-07 03:26:38 +08:00
|
|
|
opacity:1;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
2013-10-23 06:31:40 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-05-27 04:19:28 +08:00
|
|
|
section.post-menu-area {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
nav.post-controls {
|
2013-10-22 03:15:32 +08:00
|
|
|
padding: 0;
|
2014-03-23 05:39:47 +08:00
|
|
|
button {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: scale-color($primary, $lightness: 60%);
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-right: 2px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
span.badge-posts {
|
|
|
|
margin-right: 5px;
|
2014-03-23 05:39:47 +08:00
|
|
|
transition: all linear 0.15s;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.show-replies {
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2014-03-23 05:39:47 +08:00
|
|
|
padding: 8px 15px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
margin-left: 0;
|
2014-05-06 13:50:51 +08:00
|
|
|
span.badge-posts {color: scale-color($primary, $lightness: 60%);}
|
2014-03-23 05:39:47 +08:00
|
|
|
&:hover {
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2014-05-06 13:50:51 +08:00
|
|
|
span.badge-posts {color: $primary;}
|
2014-03-23 05:39:47 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
i {
|
|
|
|
margin-left: 5px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button.create {
|
|
|
|
margin-right: 0;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $tertiary;
|
|
|
|
background: scale-color($tertiary, $lightness: 90%);
|
2013-10-23 03:37:44 +08:00
|
|
|
padding: 8px 20px;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-left: 10px;
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2014-05-06 13:50:51 +08:00
|
|
|
&:hover { color: $secondary;
|
|
|
|
background: $tertiary;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-29 01:46:59 +08:00
|
|
|
&:active {
|
2014-05-07 00:30:05 +08:00
|
|
|
background: scale-color($tertiary, $lightness: 50%);
|
2014-05-06 13:50:51 +08:00
|
|
|
@include box-shadow(inset 0 1px 3px rgba($primary, .3));
|
2013-10-29 01:46:59 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.create i {
|
|
|
|
margin-right: 5px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button {
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 8px 10px;
|
|
|
|
vertical-align: top;
|
|
|
|
background: transparent;
|
2013-10-23 04:36:32 +08:00
|
|
|
border: none;
|
2013-10-23 03:37:44 +08:00
|
|
|
margin-left: 3px;
|
2013-10-21 12:45:19 +08:00
|
|
|
transition: all linear 0.15s;
|
2014-03-07 19:43:50 +08:00
|
|
|
&:hover {
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
&:active {
|
2014-05-06 13:50:51 +08:00
|
|
|
@include box-shadow(inset 0 1px 3px rgba($primary, .4));
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-05-13 20:53:11 +08:00
|
|
|
&.admin {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
&.like, &.edit, &.flag, &.delete, &.share, &.bookmark, &.create, &.admin {
|
2014-03-07 19:43:50 +08:00
|
|
|
float: right;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
&.delete:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: $danger;
|
|
|
|
color: $secondary;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2014-03-07 13:29:58 +08:00
|
|
|
|
2014-05-06 13:50:51 +08:00
|
|
|
&.like:hover {color: $love;
|
|
|
|
background: scale-color($love, $lightness: 75%);
|
2013-06-19 02:34:28 +08:00
|
|
|
}
|
2014-03-07 19:43:50 +08:00
|
|
|
|
|
|
|
&.bookmark {padding: 8px 11px; }
|
|
|
|
|
|
|
|
.read-icon {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f02e";
|
|
|
|
}
|
|
|
|
&.unseen {
|
|
|
|
&:before {
|
|
|
|
content: "\f097";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.last-read {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
|
|
|
&.bookmarked {
|
|
|
|
&:before {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $tertiary;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
|
|
|
}
|
2014-03-07 13:29:58 +08:00
|
|
|
}
|
|
|
|
}
|
2014-05-13 20:53:11 +08:00
|
|
|
|
|
|
|
.post-admin-menu {
|
|
|
|
background-color: $secondary;
|
|
|
|
width: 205px;
|
|
|
|
padding: 10px;
|
2014-05-19 13:17:59 +08:00
|
|
|
border: 1px solid scale-color-diff();
|
2014-05-13 20:53:11 +08:00
|
|
|
position: absolute;
|
|
|
|
text-align: left;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
color: $primary;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 176px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
i.fa {
|
|
|
|
width: 14px;
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.embedded-posts {
|
|
|
|
h1, h2, h3 {margin: 10px 0;}
|
2014-05-27 23:42:59 +08:00
|
|
|
a.mention {background: darken(scale-color-diff(), 10%);}
|
2014-04-30 10:13:16 +08:00
|
|
|
&.bottom {
|
|
|
|
&.hidden {display: block; opacity: 0; }
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2014-04-30 10:13:16 +08:00
|
|
|
&.bottom .arrow {float: right; margin: 0 0 0 0;}
|
|
|
|
&.top {
|
2013-10-22 01:53:34 +08:00
|
|
|
|
2014-04-30 12:45:11 +08:00
|
|
|
margin-left: 66px;
|
|
|
|
max-width: 713px;
|
2014-04-30 10:13:16 +08:00
|
|
|
|
|
|
|
@include medium-width {
|
2014-04-30 22:14:27 +08:00
|
|
|
margin-left: 59px;
|
2014-02-25 11:36:30 +08:00
|
|
|
}
|
2014-03-23 05:39:47 +08:00
|
|
|
|
2014-04-30 10:13:16 +08:00
|
|
|
@include small-width {
|
2014-04-30 22:14:27 +08:00
|
|
|
margin-left: 57px;
|
2014-04-30 10:13:16 +08:00
|
|
|
max-width: 720px;
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
|
|
|
}
|
2014-04-30 10:13:16 +08:00
|
|
|
&.top.span14 {padding-left: 0;}
|
2014-05-10 14:09:04 +08:00
|
|
|
.topic-body, .topic-avatar {border: none;}
|
|
|
|
.topic-avatar {padding-left: 15px;}
|
|
|
|
.post-date {color: scale-color($primary, $lightness: 50%);}
|
|
|
|
.fa-arrow-up {margin-left: 5px;}
|
2014-05-22 09:18:25 +08:00
|
|
|
.row {border-top: 1px solid darken(scale-color-diff(), 10%); padding-top: 7px;}
|
2014-05-10 14:09:04 +08:00
|
|
|
.reply:first-of-type .row {border-top: none;}
|
2014-05-23 09:55:50 +08:00
|
|
|
.quote {margin-top: 0 !important;}
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2014-04-30 10:13:16 +08:00
|
|
|
.quote .title, blockquote, .onebox, .onebox-result {
|
2014-05-22 09:18:25 +08:00
|
|
|
background: darken(scale-color-diff(), 5%);
|
|
|
|
border-left: 5px solid darken(scale-color-diff(), 12%);
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom { margin-top: -11px;}
|
|
|
|
.topic-meta-data {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.topic-meta-data h5 {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
2014-04-30 12:45:11 +08:00
|
|
|
font-size: 13px;
|
2014-04-30 10:13:16 +08:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: scale-color($primary, $lightness: 30%);
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
|
|
|
}
|
2014-05-07 11:53:04 +08:00
|
|
|
.arrow {color: scale-color($primary, $lightness: 50%);}
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2014-03-23 05:39:47 +08:00
|
|
|
.bottom-round nav.post-controls .show-replies {
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2014-03-23 05:39:47 +08:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 8px;
|
2014-05-19 13:17:59 +08:00
|
|
|
&:hover {background: scale-color-diff();
|
2014-03-23 05:39:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.post-action {
|
|
|
|
.relative-date {
|
|
|
|
margin-left: 5px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-23 06:31:40 +08:00
|
|
|
.avatar { margin-right: 2px; }
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2013-09-04 23:53:00 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
a.star {
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
#main a.star.starred {
|
|
|
|
text-shadow: none !important;
|
|
|
|
}
|
2013-03-24 18:03:46 +08:00
|
|
|
|
2013-11-16 02:30:24 +08:00
|
|
|
.topic-map {
|
2013-10-31 00:40:16 +08:00
|
|
|
margin: 20px 0 0 0;
|
2014-05-19 13:17:59 +08:00
|
|
|
border: 1px solid scale-color-diff();
|
2013-10-31 00:40:16 +08:00
|
|
|
|
2014-02-24 09:47:44 +08:00
|
|
|
.buttons .btn {
|
2014-05-06 13:50:51 +08:00
|
|
|
&:hover {border: 1px solid $primary !important;}
|
2014-02-10 14:04:21 +08:00
|
|
|
}
|
2013-10-22 01:53:34 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.topic-links li {
|
|
|
|
word-wrap: break-word;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 4px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-02-06 03:16:51 +08:00
|
|
|
line-height: 23px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
h4 {
|
2013-03-24 17:07:37 +08:00
|
|
|
margin: 0 0 3px 0;
|
2014-05-29 14:53:34 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2013-02-06 03:16:51 +08:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 15px;
|
2014-05-29 14:53:34 +08:00
|
|
|
text-transform: lowercase;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
p,
|
|
|
|
.participants {
|
|
|
|
margin: 0 0 7px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-04-06 02:47:25 +08:00
|
|
|
span.domain {
|
|
|
|
font-size: 10px;
|
2014-05-15 16:34:43 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2014-04-06 02:47:25 +08:00
|
|
|
}
|
|
|
|
|
2014-04-10 09:19:04 +08:00
|
|
|
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.avatars {
|
|
|
|
> div {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
.post-count {
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
right: 6px;
|
|
|
|
padding: 0 4px;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 14px;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-11-16 04:46:26 +08:00
|
|
|
.map {
|
2013-02-06 03:16:51 +08:00
|
|
|
li {
|
|
|
|
float: left;
|
2013-10-20 06:18:25 +08:00
|
|
|
padding: 7px 11px;
|
2013-02-06 03:16:51 +08:00
|
|
|
&:last-of-type {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2013-11-29 00:45:16 +08:00
|
|
|
a, .number {
|
2013-02-06 03:16:51 +08:00
|
|
|
line-height: 20px;
|
|
|
|
}
|
2014-04-10 09:19:04 +08:00
|
|
|
.number, i {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
.avatar a {
|
2013-02-06 03:16:51 +08:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.avatars,
|
|
|
|
.links,
|
|
|
|
.information {
|
|
|
|
padding: 7px 14px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
.information {
|
2014-05-19 13:17:59 +08:00
|
|
|
border-top: 1px solid scale-color-diff();
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-21 09:59:46 +08:00
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
.participants { // PMs //
|
|
|
|
.user {float: left; margin: 7px 20px 7px 0;}
|
2013-10-21 09:59:46 +08:00
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.topic-links {
|
2013-10-22 22:41:09 +08:00
|
|
|
li > a {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
.badge-notification {
|
|
|
|
margin: 0 0 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.buttons {
|
|
|
|
float: right;
|
|
|
|
.btn {
|
|
|
|
border: 0;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-bottom: 1px solid scale-color-diff();
|
2013-02-06 03:16:51 +08:00
|
|
|
padding: 0 23px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2013-02-06 03:16:51 +08:00
|
|
|
&:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: scale-color($primary, $lightness: 75%);
|
|
|
|
color: $primary;
|
2014-02-24 09:47:44 +08:00
|
|
|
border: none !important;
|
2014-05-06 13:50:51 +08:00
|
|
|
border-bottom: 1px solid scale-color($primary, $lightness: 75%) !important;
|
|
|
|
span.badge-posts {color: $primary;}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-29 01:46:59 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
&.collapsed {
|
2013-10-20 06:18:25 +08:00
|
|
|
border-bottom: 0;
|
|
|
|
padding-bottom: 1px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-12-10 05:27:49 +08:00
|
|
|
.fa {
|
2013-02-06 03:16:51 +08:00
|
|
|
margin: 0;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 52px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
#topic-footer-buttons {
|
2014-03-08 04:04:18 +08:00
|
|
|
padding: 10px 10px 0 0;
|
2013-10-20 06:18:25 +08:00
|
|
|
p {
|
2013-10-22 01:53:34 +08:00
|
|
|
line-height: 32px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#suggested-topics {
|
|
|
|
clear: left;
|
2014-03-08 04:04:18 +08:00
|
|
|
padding: 20px 0 15px 0;
|
2014-03-14 04:49:44 +08:00
|
|
|
#topic-list > tbody > tr:nth-child(even) {
|
2014-05-23 09:55:50 +08:00
|
|
|
background-color: darken($secondary, 3%);
|
2014-03-14 04:49:44 +08:00
|
|
|
}
|
|
|
|
#topic-list > tbody > tr:nth-child(odd) {
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
table {
|
2013-10-22 01:53:34 +08:00
|
|
|
box-shadow: none;
|
2013-10-20 06:18:25 +08:00
|
|
|
border-radius: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-23 12:22:24 +08:00
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
.title {
|
2013-10-20 06:18:25 +08:00
|
|
|
font-size: 14px; line-height: 8px;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.post-count {
|
2014-05-06 13:50:51 +08:00
|
|
|
background: $primary;
|
|
|
|
color: $secondary;
|
2013-10-20 06:18:25 +08:00
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
|
2014-04-03 03:54:21 +08:00
|
|
|
button.expand-post {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
#topic-footer-buttons {
|
|
|
|
.btn {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-right: 10px;
|
2013-12-10 05:27:49 +08:00
|
|
|
.fa-star {margin-right: 5px;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quote-button {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($primary, $lightness: 50%);
|
|
|
|
color: $secondary;
|
2013-10-20 06:18:25 +08:00
|
|
|
padding: 10px;
|
2013-10-22 14:31:11 +08:00
|
|
|
z-index: 401;
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
&:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($primary, $lightness: 40%);
|
2013-10-20 06:18:25 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.quote-button.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
.extra-info-wrapper {
|
2013-11-02 03:48:28 +08:00
|
|
|
float: left;
|
2013-10-31 00:40:16 +08:00
|
|
|
width: 78%;
|
2014-02-27 11:00:22 +08:00
|
|
|
max-width: 800px;
|
2014-04-10 11:27:05 +08:00
|
|
|
.topic-statuses {
|
2014-05-03 05:46:03 +08:00
|
|
|
i { color: $header_primary; }
|
|
|
|
.unpinned { color: $header_primary; }
|
2014-04-10 11:27:05 +08:00
|
|
|
}
|
2014-05-03 05:46:03 +08:00
|
|
|
.topic-link { color: $header_primary; }
|
2013-10-23 03:37:44 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-03-03 14:16:30 +08:00
|
|
|
|
|
|
|
@include medium-width {
|
|
|
|
.extra-info-wrapper {
|
2014-04-02 02:09:41 +08:00
|
|
|
max-width: 740px;
|
2014-03-07 19:43:50 +08:00
|
|
|
}
|
2014-03-03 14:16:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@include small-width {
|
2014-03-07 19:43:50 +08:00
|
|
|
.extra-info-wrapper {
|
|
|
|
max-width: 680px;
|
|
|
|
}
|
2014-03-03 14:16:30 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.extra-info {
|
|
|
|
h1 {
|
2013-10-30 08:47:37 +08:00
|
|
|
margin: 5px 0 0 0;
|
2014-03-11 14:24:01 +08:00
|
|
|
font-size: 1.8em;
|
2013-10-30 21:57:56 +08:00
|
|
|
line-height: 1.2em;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2013-10-23 15:52:15 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
a.star {
|
2014-04-10 11:27:05 +08:00
|
|
|
margin-right: 7px;
|
2013-10-30 05:15:56 +08:00
|
|
|
font-size: 20px;
|
2014-03-19 21:38:35 +08:00
|
|
|
margin-top: 6px;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
2014-04-10 11:27:05 +08:00
|
|
|
.topic-statuses {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
2013-10-30 05:15:56 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.badge-category {
|
2013-10-30 05:15:56 +08:00
|
|
|
vertical-align: top;
|
2014-05-23 14:40:55 +08:00
|
|
|
margin-top: 2px;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2014-04-02 21:21:18 +08:00
|
|
|
.open >.dropdown-menu {
|
2013-10-20 06:18:25 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
.dropdown-menu li {
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
2013-10-22 14:56:46 +08:00
|
|
|
margin-top: 25px;
|
2013-02-06 03:16:51 +08:00
|
|
|
position: relative;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contents .cooked a {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.contents .cooked {
|
2013-11-13 17:28:36 +08:00
|
|
|
word-wrap: break-word;
|
2014-02-23 16:22:11 +08:00
|
|
|
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
2013-11-05 01:45:18 +08:00
|
|
|
a.mention {
|
|
|
|
padding: 2px 4px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-05-19 13:17:59 +08:00
|
|
|
background: scale-color-diff();
|
2013-11-05 01:45:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.modal-body {
|
|
|
|
input[type=text] {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-22 06:22:43 +08:00
|
|
|
.post-hidden {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2013-10-22 03:15:32 +08:00
|
|
|
.moderator {
|
|
|
|
.topic-body {
|
2014-05-07 11:53:04 +08:00
|
|
|
background-color: scale-color($highlight, $lightness: 75%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.deleted {
|
|
|
|
.topic-body {
|
|
|
|
background-color: scale-color($danger, $lightness: 75%);
|
2013-10-23 06:31:40 +08:00
|
|
|
}
|
2013-10-22 03:15:32 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
#share-link {
|
2014-05-23 15:46:39 +08:00
|
|
|
width: 365px;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-left: -4px;
|
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
h3 {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-03-07 19:43:50 +08:00
|
|
|
input[type=text] {
|
|
|
|
font-size: 16px;
|
|
|
|
width: 92%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-select {
|
|
|
|
float: right;
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#show-topic-admin {
|
|
|
|
right: 20px;
|
|
|
|
padding: 5px 8px;
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-admin-menu {
|
2014-03-06 14:14:51 +08:00
|
|
|
h3 {margin-top: 0;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-user-avatar {
|
|
|
|
font-size: 36px;
|
|
|
|
}
|
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
.info-line {
|
|
|
|
margin: 10px 0;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
|
|
|
|
blockquote { /* solo quotes */
|
2014-05-23 09:55:50 +08:00
|
|
|
margin: 0;
|
2013-10-20 06:18:25 +08:00
|
|
|
padding: 12px;
|
2014-01-29 22:43:24 +08:00
|
|
|
|
2014-05-27 23:42:59 +08:00
|
|
|
a.mention {background: darken(scale-color-diff(), 10%);}
|
2014-03-07 19:43:50 +08:00
|
|
|
p:first-of-type {margin-top: 0;}
|
|
|
|
p:last-of-type {margin-bottom: 0;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
.quote { /* quotes with attribution */
|
2014-05-28 10:46:31 +08:00
|
|
|
&>blockquote {
|
2014-05-23 09:55:50 +08:00
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
p:first-of-type {margin:0;}
|
|
|
|
.onebox-result {
|
|
|
|
background-color: scale-color-diff();
|
|
|
|
}
|
2013-11-14 12:10:47 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
2014-05-23 09:55:50 +08:00
|
|
|
border-left: 5px solid darken(scale-color-diff(), 10%);
|
|
|
|
background-color: scale-color-diff();
|
|
|
|
padding: 12px;
|
2014-03-07 19:43:50 +08:00
|
|
|
.avatar { margin-right: 7px; }
|
2014-05-23 09:55:50 +08:00
|
|
|
img { margin-top: -4px; }
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
.quote, .title, blockquote, .onebox, .onebox-result {
|
|
|
|
background: darken(scale-color-diff(), 5%);
|
|
|
|
border-left: 5px solid darken(scale-color-diff(), 12%);
|
|
|
|
}
|
2014-05-28 10:46:31 +08:00
|
|
|
|
|
|
|
aside.quote>blockquote, aside.quote>.title {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2014-05-23 09:55:50 +08:00
|
|
|
}
|
2013-11-14 12:10:47 +08:00
|
|
|
|
2013-10-22 04:23:55 +08:00
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.quote-controls {
|
|
|
|
float: right;
|
2014-05-07 11:53:04 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2013-10-20 06:18:25 +08:00
|
|
|
a {
|
2014-03-07 19:43:50 +08:00
|
|
|
margin: 0;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.back:before,
|
|
|
|
.quote-other-topic:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 8px;
|
2014-05-07 11:53:04 +08:00
|
|
|
color: scale-color($primary, $lightness: 50%);
|
2014-03-07 19:43:50 +08:00
|
|
|
font-family: "FontAwesome";
|
|
|
|
position: relative;
|
|
|
|
z-index: 20;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.back:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
content: "\f062";
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.quote-other-topic:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
content: "\f061";
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gutter {
|
|
|
|
float: left;
|
2014-05-10 14:09:04 +08:00
|
|
|
margin-top: 15px;
|
2014-03-07 19:43:50 +08:00
|
|
|
ul {margin: 0;}
|
|
|
|
padding-left: 10px;
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-10-23 03:37:44 +08:00
|
|
|
i {font-size: 12px;}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.post-links {
|
|
|
|
list-style-type: none;
|
2013-10-23 03:37:44 +08:00
|
|
|
padding-left: 19px;
|
2013-10-20 06:18:25 +08:00
|
|
|
position: relative;
|
|
|
|
margin-left: 5px;
|
2014-01-29 10:39:09 +08:00
|
|
|
line-height: 18px;
|
2013-10-20 06:18:25 +08:00
|
|
|
a i {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin-right: 15px;
|
|
|
|
margin-bottom: 20px;
|
2014-01-29 10:39:09 +08:00
|
|
|
margin-top: 2px;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2014-05-07 02:10:56 +08:00
|
|
|
a.track-link {color: scale-color($primary, $lightness: 50%);}
|
|
|
|
a.toggle-more {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-01-29 10:39:09 +08:00
|
|
|
li {margin-bottom: 10px;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-body {
|
2013-10-22 01:53:34 +08:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-top: 1px solid scale-color-diff();
|
2014-05-10 14:09:04 +08:00
|
|
|
padding: 12px 0 15px 0;
|
2014-03-28 17:05:19 +08:00
|
|
|
&.highlighted {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($tertiary, $lightness: 85%);
|
2014-01-02 19:15:47 +08:00
|
|
|
}
|
2014-05-23 14:40:55 +08:00
|
|
|
img:not(.avatar), svg {
|
2014-01-02 19:15:47 +08:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
2013-11-08 12:12:18 +08:00
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
.topic-avatar {
|
2014-05-19 13:17:59 +08:00
|
|
|
border-top: 1px solid scale-color-diff();
|
2014-05-10 14:09:04 +08:00
|
|
|
padding-top: 16px;
|
2014-05-13 20:53:11 +08:00
|
|
|
|
|
|
|
.wiki {
|
|
|
|
margin-top: 14px;
|
|
|
|
color: scale-color($primary, $lightness: 60%);
|
2014-06-01 06:02:54 +08:00
|
|
|
margin-left: 5px;
|
2014-05-13 20:53:11 +08:00
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
2013-11-08 12:12:18 +08:00
|
|
|
|
2013-10-22 04:54:53 +08:00
|
|
|
.posts-wrapper {
|
|
|
|
position: relative;
|
2013-10-22 03:15:32 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-10-22 01:53:34 +08:00
|
|
|
//columns
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-05-23 14:40:55 +08:00
|
|
|
.span14 {
|
|
|
|
width: 68%;
|
|
|
|
padding-left: 1%;
|
|
|
|
padding-right: 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.span2 { width: 5%; }
|
|
|
|
|
|
|
|
.span11 {
|
|
|
|
width: 84%;
|
|
|
|
padding-left: 4%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.span5 {
|
|
|
|
width: 19%;
|
|
|
|
padding-left: 1%;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 966px) {
|
2013-10-31 00:40:16 +08:00
|
|
|
.gutter {display: none;}
|
2014-05-23 14:40:55 +08:00
|
|
|
.span14 {
|
|
|
|
width: 78%;
|
|
|
|
padding-left: 1%;
|
|
|
|
padding-right: 1%;
|
|
|
|
max-width: 720px;
|
|
|
|
} //main content
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-05-23 14:40:55 +08:00
|
|
|
.row:before, .row:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
.row:after {clear: both;}
|
2013-10-31 00:40:16 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.dropdown {
|
2013-07-12 04:38:46 +08:00
|
|
|
position: relative;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: middle;
|
2014-05-06 13:50:51 +08:00
|
|
|
border-top: 4px solid $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 115%;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 550px;
|
|
|
|
padding: 4px 0;
|
|
|
|
margin: 1px 0 0;
|
|
|
|
list-style: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2014-05-19 13:17:59 +08:00
|
|
|
border: 1px solid scale-color-diff();
|
2014-05-06 13:50:51 +08:00
|
|
|
box-shadow: 0 1px 5px rgba($primary, .4);
|
2013-10-20 06:18:25 +08:00
|
|
|
background-clip: padding-box;
|
|
|
|
span {font-size: 12px;}
|
2014-03-07 19:43:50 +08:00
|
|
|
.title {font-weight: bold; display: block; font-size: 14px;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
|
|
|
padding: 3px 15px;
|
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 18px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-04-02 21:21:18 +08:00
|
|
|
|
|
|
|
& > div {
|
|
|
|
margin-left: 26px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu li > a:hover,
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2013-10-20 06:18:25 +08:00
|
|
|
text-decoration: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($tertiary, $lightness: 50%);
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2014-04-02 21:21:18 +08:00
|
|
|
|
|
|
|
.dropdown-menu .disabled > a,
|
|
|
|
.dropdown-menu .disabled > a:hover {
|
|
|
|
text-decoration: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
|
|
|
background-color: scale-color($highlight, $lightness: 25%);
|
2014-04-02 21:21:18 +08:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .icon {
|
|
|
|
margin-top: 3px;
|
|
|
|
float: left;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
2014-04-02 21:21:18 +08:00
|
|
|
clear: both;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2014-04-02 21:21:18 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.fade {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transition: opacity 0.15s linear;
|
|
|
|
transition: opacity 0.15s linear;
|
|
|
|
}
|
2014-04-02 21:21:18 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.fade.in {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#selected-posts {
|
|
|
|
|
2014-03-28 09:28:14 +08:00
|
|
|
padding-left: 20px;
|
2013-10-31 00:40:16 +08:00
|
|
|
margin-left: 330px;
|
2014-03-28 09:28:14 +08:00
|
|
|
width: 200px;
|
2013-10-20 06:18:25 +08:00
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
|
|
|
left: 50%;
|
2014-05-07 00:30:05 +08:00
|
|
|
background-color: scale-color($tertiary, $lightness: 50%);
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 1px solid $tertiary;
|
2013-10-20 06:18:25 +08:00
|
|
|
padding: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button {
|
2014-03-28 09:28:14 +08:00
|
|
|
width: 180px;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 4px auto;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
p {
|
2013-10-31 00:40:16 +08:00
|
|
|
font-size: 13px;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
p.cancel {
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 25px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-bottom: 5px;
|
|
|
|
i {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
2013-07-12 04:38:46 +08:00
|
|
|
}
|
2013-10-31 00:40:16 +08:00
|
|
|
.btn {
|
|
|
|
border: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2013-10-31 00:40:16 +08:00
|
|
|
font-weight: normal;
|
2014-03-28 09:28:14 +08:00
|
|
|
margin-bottom: 10px;
|
2014-05-07 00:30:05 +08:00
|
|
|
background: scale-color($tertiary, $lightness: 50%);
|
2013-10-31 00:40:16 +08:00
|
|
|
|
|
|
|
&[href] {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
|
|
|
&:hover
|
|
|
|
{
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
|
|
|
background: scale-color($tertiary, $lightness: 20%);
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
|
|
|
&:active {
|
2014-05-06 13:50:51 +08:00
|
|
|
@include linear-gradient(darken($tertiary, 18%), darken($tertiary, 12%));
|
|
|
|
@include box-shadow(inset 0 1px 3px rgba($primary, 0.2));
|
|
|
|
color: $secondary;
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
|
|
|
&[disabled] {
|
2014-05-06 13:50:51 +08:00
|
|
|
text-shadow: 0 1px 0 rgba($primary, 0.2);
|
|
|
|
@include linear-gradient($tertiary, darken($tertiary, 20%));
|
|
|
|
@include box-shadow((inset 0 1px 0 rgba($primary, 0.33), inset 0 -1px 2px rgba($primary, 0.2)));
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
|
|
|
}
|
2013-07-12 04:38:46 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
.topic-post {
|
|
|
|
&.selected {
|
|
|
|
article.boxed {
|
|
|
|
.select-posts {
|
|
|
|
button.select-post {
|
2014-05-07 00:30:05 +08:00
|
|
|
background-color: scale-color($tertiary, $lightness: 50%);
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $secondary;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.topic-body {
|
|
|
|
.contents:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-05 21:29:45 +08:00
|
|
|
article.boxed {
|
2013-10-20 06:18:25 +08:00
|
|
|
position: relative;
|
2013-07-12 04:38:46 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.select-posts {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
z-index: 490;
|
|
|
|
top: 4px;
|
2013-07-12 04:38:46 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: scale-color($primary, $lightness: 70%);
|
|
|
|
border-top: 1px solid $tertiary;
|
|
|
|
border-left: 1px solid $tertiary;
|
2014-05-19 13:17:59 +08:00
|
|
|
border-bottom: 1px solid scale-color-diff();
|
|
|
|
border-right: 1px solid scale-color-diff();
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
2013-05-16 14:55:07 +08:00
|
|
|
}
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-10-23 15:52:15 +08:00
|
|
|
a.attachment:before {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 4px;
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f019";
|
|
|
|
}
|
2013-10-30 21:11:05 +08:00
|
|
|
|
2013-11-11 14:11:16 +08:00
|
|
|
.private_message .gutter, .deleted-topic .gutter,.read_restricted .gutter {
|
2014-03-07 19:43:50 +08:00
|
|
|
position: relative;
|
2013-11-11 14:11:16 +08:00
|
|
|
}
|
2013-10-30 21:11:05 +08:00
|
|
|
|
2013-11-11 14:11:16 +08:00
|
|
|
.private_message .gutter:before, .deleted-topic .gutter:before, .read_restricted .gutter:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 10px;
|
2014-05-19 13:17:59 +08:00
|
|
|
color: scale-color-diff();
|
2014-03-07 19:43:50 +08:00
|
|
|
font: 90px/1 FontAwesome;
|
|
|
|
content: "\f05c";
|
|
|
|
z-index: -5;
|
2013-11-11 14:11:16 +08:00
|
|
|
}
|
2013-10-30 21:11:05 +08:00
|
|
|
|
2013-11-11 14:11:16 +08:00
|
|
|
.read_restricted .gutter:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
content: "\f0c0";
|
2013-11-11 14:11:16 +08:00
|
|
|
}
|
2013-10-30 21:11:05 +08:00
|
|
|
|
2013-11-11 14:11:16 +08:00
|
|
|
.private_message .gutter:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
content: "\f0e0";
|
2013-11-11 14:11:16 +08:00
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
|
2014-05-14 01:08:37 +08:00
|
|
|
.topic-meta-data {
|
2014-05-10 14:09:04 +08:00
|
|
|
|
2014-05-14 01:08:37 +08:00
|
|
|
&:after {
|
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
|
|
|
}
|
2014-05-10 14:09:04 +08:00
|
|
|
|
2014-05-14 01:08:37 +08:00
|
|
|
.post-info {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-top: 1px;
|
|
|
|
a {color: scale-color($primary, $lightness: 50%);}
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
2014-05-14 01:08:37 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span.highlighted {
|
2014-05-14 01:16:13 +08:00
|
|
|
background-color: scale-color($highlight, $lightness: 70%);
|
2014-05-14 16:05:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.username.new-user a {
|
|
|
|
color: scale-color($primary, $lightness: 70%);
|
|
|
|
}
|
2014-06-03 09:48:52 +08:00
|
|
|
|
|
|
|
.read-state {
|
|
|
|
color: scale-color($tertiary, $lightness: 50%);
|
2014-06-03 10:32:33 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
top: 13px;
|
|
|
|
font-size: 8px;
|
2014-06-03 09:48:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.read-state.read {
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transition: opacity 1s ease-out;
|
|
|
|
transition: opacity 1s ease-out;
|
|
|
|
}
|