2015-07-20 15:47:53 +08:00
|
|
|
.wrap {
|
2013-10-20 06:18:25 +08:00
|
|
|
max-width: $large-width;
|
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 {
|
2014-12-19 16:35:02 +08:00
|
|
|
font-size: 0.8em;
|
2014-07-02 18:37:03 +08:00
|
|
|
vertical-align: middle;
|
2014-04-10 11:27:05 +08:00
|
|
|
}
|
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
|
|
|
|
2016-01-05 04:18:09 +08:00
|
|
|
.topic-body {
|
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
|
|
|
|
2015-07-08 13:10:53 +08:00
|
|
|
.reply-to-tab {
|
|
|
|
z-index: 400;
|
|
|
|
font-size: 0.929em;
|
|
|
|
float: right;
|
|
|
|
margin: 1px 25px 0 0;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-07-08 13:10:53 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2015-07-08 13:10:53 +08:00
|
|
|
.actions .fade-out {
|
|
|
|
.discourse-no-touch & {
|
|
|
|
opacity: 0.7;
|
|
|
|
transition: opacity 0.7s ease-in-out;
|
|
|
|
}
|
|
|
|
.discourse-touch & {opacity: 1;}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2015-07-08 13:10:53 +08:00
|
|
|
&:hover .actions .fade-out, .selected .actions .fade-out {
|
2013-10-20 06:18:25 +08:00
|
|
|
opacity: 1;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2016-02-10 03:23:12 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2016-02-10 03:23:12 +08:00
|
|
|
.topic-post {
|
|
|
|
.gutter {
|
|
|
|
.reply-new {
|
|
|
|
.discourse-no-touch & {
|
|
|
|
opacity:0;
|
|
|
|
transition: opacity 0.7s ease-in-out;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2016-02-10 03:23:12 +08:00
|
|
|
.discourse-touch & {opacity: 1;}
|
|
|
|
}
|
2015-07-08 13:10:53 +08:00
|
|
|
}
|
|
|
|
|
2016-02-10 03:23:12 +08:00
|
|
|
&:hover .gutter, .selected .gutter {
|
|
|
|
.reply-new,
|
|
|
|
.track-link {
|
|
|
|
opacity:1;
|
|
|
|
}
|
|
|
|
}
|
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 {
|
2015-07-08 13:10:53 +08:00
|
|
|
|
|
|
|
.like-count {
|
|
|
|
font-size: inherit;
|
|
|
|
margin-right: -5px;
|
|
|
|
}
|
|
|
|
|
2013-10-22 03:15:32 +08:00
|
|
|
padding: 0;
|
2015-07-08 13:10:53 +08:00
|
|
|
.highlight-action {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
|
2015-07-08 13:10:53 +08:00
|
|
|
}
|
|
|
|
a, button {
|
2015-08-20 16:29:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 75%), scale-color($secondary, $lightness: 25%));
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-right: 2px;
|
2015-07-08 13:10:53 +08:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.toggle-likes {
|
|
|
|
padding: 8px 0;
|
|
|
|
margin-right: -3px;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
span.badge-posts {
|
|
|
|
margin-right: 5px;
|
2014-12-23 19:09:17 +08:00
|
|
|
transition: all linear 0.15s;
|
2014-10-20 21:54:36 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
|
2014-05-31 23:18:53 +08:00
|
|
|
.actions {
|
|
|
|
text-align: right;
|
|
|
|
float: right;
|
|
|
|
display: inline-block;
|
|
|
|
.more-actions {
|
|
|
|
display: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-08 13:10:53 +08:00
|
|
|
.show-replies {
|
|
|
|
margin-left: -10px;
|
2015-06-30 07:25:53 +08:00
|
|
|
font-size: inherit;
|
2015-08-20 17:42:12 +08:00
|
|
|
span.badge-posts {color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); }
|
2014-03-23 05:39:47 +08:00
|
|
|
&:hover {
|
2014-08-06 21:31:13 +08:00
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -65%);
|
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;
|
2015-06-30 07:25:53 +08:00
|
|
|
font-size: 90%;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button.create {
|
|
|
|
margin-right: 0;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 20%), scale-color($secondary, $lightness: 80%));
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-left: 10px;
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.143em;
|
2013-10-20 06:18:25 +08:00
|
|
|
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;
|
2014-12-23 19:09:17 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.d-hover {
|
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
color: $primary;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&:active {
|
|
|
|
box-shadow: inset 0 1px 3px rgba(0,0,0, .4);
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.admin {
|
|
|
|
position: relative;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.delete.d-hover {
|
|
|
|
background: $danger;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2014-03-07 13:29:58 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.like.d-hover {
|
|
|
|
color: $love;
|
|
|
|
background: dark-light-diff($love, $secondary, 85%, -60%)
|
|
|
|
}
|
2014-03-07 19:43:50 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.has-like {color: $love;}
|
|
|
|
&.has-like[disabled]:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
&.has-like[disabled]:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2014-07-19 05:01:27 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.wikied {
|
|
|
|
color: green;
|
|
|
|
}
|
2016-01-11 23:26:00 +08:00
|
|
|
|
2016-02-10 06:45:32 +08:00
|
|
|
&.bookmark {padding: 8px 11px; }
|
|
|
|
|
|
|
|
.read-icon {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f02e";
|
|
|
|
}
|
|
|
|
&.unseen {
|
|
|
|
&:before {
|
|
|
|
content: "\f097";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.bookmarked {
|
|
|
|
&:before {
|
|
|
|
color: $tertiary;
|
2014-03-07 13:29:58 +08:00
|
|
|
}
|
|
|
|
}
|
2016-02-10 06:45:32 +08:00
|
|
|
}
|
|
|
|
}
|
2014-05-13 20:53:11 +08:00
|
|
|
|
|
|
|
.post-admin-menu {
|
|
|
|
background-color: $secondary;
|
|
|
|
width: 205px;
|
|
|
|
padding: 10px;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-05-13 20:53:11 +08:00
|
|
|
position: absolute;
|
|
|
|
text-align: left;
|
2014-10-14 04:38:22 +08:00
|
|
|
bottom: -2px;
|
|
|
|
right: 15px;
|
2014-05-13 20:53:11 +08:00
|
|
|
z-index: 1000;
|
|
|
|
|
|
|
|
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 {
|
2014-10-16 22:19:01 +08:00
|
|
|
h1, h2, h3 { margin: 10px 0; }
|
2014-07-22 09:00:43 +08:00
|
|
|
|
2014-07-10 23:40:31 +08:00
|
|
|
.topic-body {
|
2014-12-04 09:20:19 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: calc(100% - 60px); // [100% - .topic-avatar width]
|
2014-10-17 23:04:08 +08:00
|
|
|
// WARNING: overflow hide is required for quoted / embedded images
|
|
|
|
// which expect "normal" post width, but expansions are narrower
|
|
|
|
overflow: hidden;
|
2015-06-04 15:10:35 +08:00
|
|
|
padding: 15px 15px 0 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// this is covered by .topic-body .regular on a normal post
|
|
|
|
// but no such class structure exists for an embedded, expanded post
|
|
|
|
.cooked {
|
|
|
|
margin-top: 15px;
|
2014-10-16 13:34:56 +08:00
|
|
|
}
|
2014-07-10 23:40:31 +08:00
|
|
|
|
|
|
|
.topic-avatar {
|
2015-01-12 18:24:06 +08:00
|
|
|
padding-left: 15px;
|
2015-06-04 15:10:35 +08:00
|
|
|
padding-top: 15px;
|
2014-07-10 23:40:31 +08:00
|
|
|
}
|
|
|
|
|
2014-06-05 17:29:56 +08:00
|
|
|
// bottom means "reply expansion" below a post
|
2014-04-30 10:13:16 +08:00
|
|
|
&.bottom {
|
2014-10-17 23:04:08 +08:00
|
|
|
&.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2014-07-10 23:40:31 +08:00
|
|
|
&.bottom {
|
2014-12-04 09:20:19 +08:00
|
|
|
.row {
|
|
|
|
padding-top: 7px;
|
|
|
|
}
|
2014-08-02 15:10:40 +08:00
|
|
|
}
|
2013-10-22 01:53:34 +08:00
|
|
|
|
2014-06-05 17:29:56 +08:00
|
|
|
// top means "in reply to expansion" above a post
|
|
|
|
&.top {
|
2014-07-17 10:32:49 +08:00
|
|
|
margin-left: 56px;
|
2014-07-22 11:58:26 +08:00
|
|
|
width: 701px;
|
2013-10-31 00:40:16 +08:00
|
|
|
}
|
2014-10-16 22:19:01 +08:00
|
|
|
&.top.topic-body {
|
2016-01-27 09:03:18 +08:00
|
|
|
padding: 0;
|
2014-10-16 22:19:01 +08:00
|
|
|
}
|
|
|
|
|
2015-08-20 17:42:12 +08:00
|
|
|
.post-date { color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); }
|
2015-01-16 18:24:49 +08:00
|
|
|
.fa-arrow-up, .fa-arrow-down { margin-left: 5px; }
|
2014-10-16 22:19:01 +08:00
|
|
|
.reply:first-of-type .row { border-top: none; }
|
2014-06-05 17:29:56 +08:00
|
|
|
|
2014-04-30 10:13:16 +08:00
|
|
|
.topic-meta-data {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.topic-meta-data h5 {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2014-04-30 10:13:16 +08:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
|
|
|
}
|
2015-08-20 17:42:12 +08:00
|
|
|
.arrow {color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%)); }
|
2014-04-30 10:13:16 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +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-11-16 02:30:24 +08:00
|
|
|
.topic-map {
|
2013-10-31 00:40:16 +08:00
|
|
|
margin: 20px 0 0 0;
|
2015-08-21 07:47:34 +08:00
|
|
|
background: blend-primary-secondary(5%);
|
2015-05-22 07:40:39 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
2015-05-22 16:28:34 +08:00
|
|
|
border-top: none; // would cause double top border
|
2015-05-22 07:40:39 +08:00
|
|
|
|
|
|
|
section {
|
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
|
|
|
}
|
2013-10-22 01:53:34 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 4px;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 20%), scale-color($secondary, $lightness: 80%));
|
2013-02-06 03:16:51 +08:00
|
|
|
line-height: 23px;
|
2015-05-22 06:30:10 +08:00
|
|
|
font-weight: normal;
|
2015-05-22 16:28:34 +08:00
|
|
|
font-size: 1em;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
h4 {
|
2014-06-29 22:39:31 +08:00
|
|
|
margin: 1px 0 2px 0;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2013-02-06 03:16:51 +08:00
|
|
|
font-weight: normal;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.857em;
|
2013-02-06 03:16:51 +08:00
|
|
|
line-height: 15px;
|
|
|
|
}
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.714em;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-04-06 02:47:25 +08:00
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.avatars {
|
|
|
|
> div {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
|
|
|
.post-count {
|
|
|
|
position: absolute;
|
2015-04-09 04:31:19 +08:00
|
|
|
right: 3px;
|
|
|
|
border-radius: 100px;
|
|
|
|
padding: 4px 5px 2px 5px;
|
|
|
|
text-align: center;
|
2013-02-06 03:16:51 +08:00
|
|
|
font-weight: normal;
|
|
|
|
font-size: 11px;
|
2015-04-09 04:31:19 +08:00
|
|
|
line-height: 1;
|
2014-06-26 15:46:16 +08:00
|
|
|
}
|
2014-10-21 15:34:57 +08:00
|
|
|
}
|
2014-06-26 15:46:16 +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 {
|
2014-06-29 22:39:31 +08:00
|
|
|
.secondary {text-align: center;}
|
2013-02-06 03:16:51 +08:00
|
|
|
li {
|
|
|
|
float: left;
|
2014-07-23 04:30:32 +08:00
|
|
|
padding: 7px 10px;
|
2013-02-06 03:16:51 +08:00
|
|
|
&:last-of-type {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2014-06-29 22:39:31 +08:00
|
|
|
&:nth-child(3) { text-align:center; }
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
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 {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 20%), scale-color($secondary, $lightness: 80%));
|
2015-05-22 08:03:18 +08:00
|
|
|
font-size: 130%;
|
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 {
|
2014-10-02 10:54:03 +08:00
|
|
|
padding: 7px 10px 15px 10px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
2013-10-21 09:59:46 +08:00
|
|
|
|
2014-06-26 15:08:23 +08:00
|
|
|
.participants { // PMs //
|
2016-02-03 08:17:14 +08:00
|
|
|
.user { float: left; margin: 7px 20px 7px 0; }
|
|
|
|
.user a {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 30%), scale-color($secondary, $lightness: 70%));
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 0.929em;
|
|
|
|
}
|
|
|
|
i.fa-times {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 10%), scale-color($secondary, $lightness: 90%));
|
|
|
|
}
|
2014-06-26 15:08:23 +08:00
|
|
|
}
|
2013-10-21 09:59:46 +08:00
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.topic-links {
|
|
|
|
.badge-notification {
|
2014-07-09 05:47:58 +08:00
|
|
|
margin: 1px 5px 5px 0;
|
2013-02-06 03:16:51 +08:00
|
|
|
}
|
|
|
|
}
|
2014-06-26 15:46:16 +08:00
|
|
|
|
|
|
|
td {
|
|
|
|
vertical-align: top;
|
2014-08-27 17:58:32 +08:00
|
|
|
padding:1px;
|
2014-06-26 15:46:16 +08:00
|
|
|
}
|
|
|
|
|
2013-02-06 03:16:51 +08:00
|
|
|
.buttons {
|
|
|
|
float: right;
|
|
|
|
.btn {
|
|
|
|
border: 0;
|
|
|
|
padding: 0 23px;
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
|
2015-08-21 07:47:34 +08:00
|
|
|
background: blend-primary-secondary(5%);
|
2015-05-22 08:03:18 +08:00
|
|
|
border-left: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
2015-05-23 05:40:39 +08:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
2013-02-06 03:16:51 +08:00
|
|
|
&:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2015-06-02 09:13:37 +08:00
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -80%);
|
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
|
|
|
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;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2013-02-06 03:16:51 +08:00
|
|
|
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
|
|
|
}
|
2014-06-04 19:03:14 +08:00
|
|
|
.btn {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-right: 10px;
|
2015-01-13 00:48:54 +08:00
|
|
|
.fa-bookmark.bookmarked { color: $tertiary; }
|
2014-06-04 19:03:14 +08:00
|
|
|
}
|
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;
|
2013-10-20 06:18:25 +08:00
|
|
|
table {
|
2015-01-25 16:33:48 +08:00
|
|
|
table-layout: fixed;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2015-01-25 16:33:48 +08:00
|
|
|
.topics {
|
|
|
|
padding-bottom: 15px;
|
|
|
|
}
|
|
|
|
// this forces category to take less space in suggested topics
|
|
|
|
// as the poster list is not present at all there.
|
|
|
|
th.category {
|
|
|
|
width: 150px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#suggested-topics .topic-statuses .topic-status {
|
|
|
|
padding: 0;
|
|
|
|
i {
|
|
|
|
font-size:15px;
|
|
|
|
}
|
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
|
|
|
|
|
|
|
.quote-button.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-12-09 04:39:36 +08:00
|
|
|
video {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
2014-12-25 18:19:06 +08:00
|
|
|
@-webkit-keyframes fadein {
|
|
|
|
from {opacity: 0;}
|
|
|
|
to {opacity: 1;}
|
|
|
|
}
|
|
|
|
|
2014-10-09 00:20:44 +08:00
|
|
|
@keyframes fadein {
|
|
|
|
from {opacity: 0;}
|
|
|
|
to {opacity: 1;}
|
|
|
|
}
|
|
|
|
|
2013-10-31 00:40:16 +08:00
|
|
|
.extra-info-wrapper {
|
2014-09-11 16:21:19 +08:00
|
|
|
overflow: hidden;
|
2014-07-05 14:16:33 +08:00
|
|
|
|
2015-09-25 15:26:41 +08:00
|
|
|
.badge-wrapper, i, .topic-link {
|
2015-01-30 01:08:24 +08:00
|
|
|
-webkit-animation: fadein .7s;
|
|
|
|
animation: fadein .7s;
|
|
|
|
}
|
2014-10-09 00:20:44 +08:00
|
|
|
|
2014-04-10 11:27:05 +08:00
|
|
|
.topic-statuses {
|
2014-09-10 02:42:44 +08:00
|
|
|
i { color: $header_primary; }
|
2014-09-08 23:11:56 +08:00
|
|
|
i.fa-envelope { color: $danger; }
|
2014-05-03 05:46:03 +08:00
|
|
|
.unpinned { color: $header_primary; }
|
2014-04-10 11:27:05 +08:00
|
|
|
}
|
2014-07-05 14:16:33 +08:00
|
|
|
|
2014-09-10 02:42:44 +08:00
|
|
|
.topic-link {
|
|
|
|
color: $header_primary;
|
2015-09-25 15:49:04 +08:00
|
|
|
display: block;
|
2014-09-10 02:42:44 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-07-05 14:16:33 +08:00
|
|
|
}
|
2013-10-23 03:37:44 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-10-07 06:32:38 +08:00
|
|
|
/* default docked header CSS for all topics, including those without categories */
|
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-06-30 14:00:34 +08:00
|
|
|
font-size: 1.6em;
|
2014-07-03 11:21:45 +08:00
|
|
|
line-height: 1.3em;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2013-10-23 15:52:15 +08:00
|
|
|
|
2014-04-10 11:27:05 +08:00
|
|
|
.topic-statuses {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2013-02-06 03:16:51 +08:00
|
|
|
|
2014-10-07 06:32:38 +08:00
|
|
|
/* override docked header CSS for topics with categories */
|
2015-02-20 03:55:44 +08:00
|
|
|
.extra-info.two-rows {
|
2014-10-07 06:32:38 +08:00
|
|
|
h1 {
|
|
|
|
line-height: 1.1em;
|
2015-02-14 06:17:32 +08:00
|
|
|
margin: 0;
|
2014-10-07 06:32:38 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-04-02 21:21:18 +08:00
|
|
|
.open >.dropdown-menu {
|
2013-10-20 06:18:25 +08:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
2013-02-06 03:16:51 +08:00
|
|
|
position: relative;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-10-22 03:15:32 +08:00
|
|
|
.moderator {
|
|
|
|
.topic-body {
|
2014-09-12 00:53:31 +08:00
|
|
|
background-color: dark-light-diff($highlight, $secondary, 70%, -80%);
|
2014-05-07 11:53:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.deleted {
|
2016-02-12 03:21:22 +08:00
|
|
|
.topic-body {
|
2014-08-12 12:11:58 +08:00
|
|
|
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
|
2013-10-23 06:31:40 +08:00
|
|
|
}
|
2013-10-22 03:15:32 +08:00
|
|
|
}
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2016-02-12 03:21:22 +08:00
|
|
|
.small-action.deleted {
|
|
|
|
background-color: dark-light-diff(rgba($danger,.7), $secondary, 50%, -60%);
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-select {
|
|
|
|
float: right;
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
|
2015-09-16 01:28:50 +08:00
|
|
|
.popup-menu {
|
2014-03-06 14:14:51 +08:00
|
|
|
h3 {margin-top: 0;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-user-avatar {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 2.571em;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2014-06-30 15:58:27 +08:00
|
|
|
/* solo quotes */
|
|
|
|
blockquote {
|
2014-06-30 18:03:54 +08:00
|
|
|
/* leave browser defaults for top and bottom here */
|
2014-06-30 15:51:17 +08:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2013-10-20 06:18:25 +08:00
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
2014-06-30 15:58:27 +08:00
|
|
|
/* quotes with attribution */
|
|
|
|
.quote {
|
2014-05-28 10:46:31 +08:00
|
|
|
&>blockquote {
|
2014-05-23 09:55:50 +08:00
|
|
|
.onebox-result {
|
2015-08-21 07:47:34 +08:00
|
|
|
background-color: blend-primary-secondary(5%);
|
2014-05-23 09:55:50 +08:00
|
|
|
}
|
2013-11-14 12:10:47 +08:00
|
|
|
}
|
|
|
|
|
2014-05-23 09:55:50 +08:00
|
|
|
aside {
|
|
|
|
.quote, .title, blockquote, .onebox, .onebox-result {
|
2015-08-21 07:47:34 +08:00
|
|
|
background: blend-primary-secondary(5%);
|
2015-05-22 17:11:18 +08:00
|
|
|
border-left: 5px solid dark-light-diff($primary, $secondary, 90%, -65%);
|
2014-05-23 09:55:50 +08:00
|
|
|
}
|
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
|
|
|
}
|
|
|
|
|
2014-09-14 14:02:46 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
|
|
|
|
.gutter {
|
2014-07-23 08:33:21 +08:00
|
|
|
margin-top: 13px;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
z-index: 1;
|
2014-08-08 03:23:41 +08:00
|
|
|
padding-left: 757px;
|
2013-10-20 06:18:25 +08:00
|
|
|
|
2014-06-05 17:57:56 +08:00
|
|
|
ul {margin: 0;}
|
|
|
|
li {margin-bottom: 10px;}
|
2014-12-16 11:12:56 +08:00
|
|
|
i {font-size: 0.857em;}
|
2013-10-23 03:37:44 +08:00
|
|
|
|
2014-09-19 11:20:13 +08:00
|
|
|
.reply-new {
|
2014-07-23 08:33:21 +08:00
|
|
|
padding-left: 27px;
|
2015-09-25 02:22:15 +08:00
|
|
|
display: inline-block;
|
2014-09-19 11:20:13 +08:00
|
|
|
overflow:hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.track-link {
|
|
|
|
padding-left: 10px;
|
2015-09-25 02:22:15 +08:00
|
|
|
display: inline-block;
|
2014-07-23 08:33:21 +08:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.post-links {
|
|
|
|
list-style-type: none;
|
|
|
|
position: relative;
|
2014-01-29 10:39:09 +08:00
|
|
|
line-height: 18px;
|
2014-07-17 10:32:49 +08:00
|
|
|
word-wrap: break-word;
|
2013-10-20 06:18:25 +08:00
|
|
|
a i {
|
2014-07-23 08:33:21 +08:00
|
|
|
position: relative;
|
|
|
|
margin-right: 7px;
|
|
|
|
margin-top: -2px;
|
|
|
|
margin-left: -17px;
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
2014-10-02 10:54:03 +08:00
|
|
|
|
2014-05-07 02:10:56 +08:00
|
|
|
a.toggle-more {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-06-05 17:57:56 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-16 05:02:43 +08:00
|
|
|
// variables are used to calculate the width of .gap
|
|
|
|
$topic-body-width: 690px;
|
|
|
|
$topic-body-width-padding: 11px;
|
|
|
|
$topic-avatar-width: 45px;
|
2015-12-02 06:27:32 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
.topic-body {
|
2014-07-16 05:02:43 +08:00
|
|
|
width: $topic-body-width;
|
2013-10-22 01:53:34 +08:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
2014-07-23 08:33:21 +08:00
|
|
|
z-index: 2;
|
2014-08-06 21:31:13 +08:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%);
|
2014-07-16 05:02:43 +08:00
|
|
|
padding: 12px $topic-body-width-padding 15px $topic-body-width-padding;
|
2013-11-08 12:12:18 +08:00
|
|
|
}
|
2016-02-22 17:17:50 +08:00
|
|
|
|
2014-05-10 14:09:04 +08:00
|
|
|
.topic-avatar {
|
2014-09-10 21:25:31 +08:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%);
|
2014-12-04 09:20:19 +08:00
|
|
|
padding-top: 15px;
|
2014-09-10 21:25:31 +08:00
|
|
|
width: $topic-avatar-width;
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
2013-11-08 12:12:18 +08:00
|
|
|
|
2015-06-29 16:14:54 +08:00
|
|
|
.gap {
|
|
|
|
width: calc(#{$topic-avatar-width} + #{$topic-body-width} + 2 * #{$topic-body-width-padding});
|
|
|
|
}
|
|
|
|
|
2015-07-25 04:39:03 +08:00
|
|
|
.small-action {
|
2015-09-25 20:34:34 +08:00
|
|
|
max-width: 755px;
|
2015-08-22 07:57:19 +08:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -75%);
|
2015-06-19 05:06:25 +08:00
|
|
|
}
|
|
|
|
|
2013-10-22 04:54:53 +08:00
|
|
|
.posts-wrapper {
|
|
|
|
position: relative;
|
2015-05-29 10:02:09 +08:00
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
2015-07-25 04:39:03 +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;
|
2015-12-09 13:32:49 +08:00
|
|
|
z-index: 999;
|
2013-10-20 06:18:25 +08:00
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 550px;
|
|
|
|
margin: 1px 0 0;
|
|
|
|
list-style: none;
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: $secondary;
|
2015-06-15 10:59:49 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-08-06 21:31:13 +08:00
|
|
|
box-shadow: 0 1px 5px rgba(0,0,0, .4);
|
2013-10-20 06:18:25 +08:00
|
|
|
background-clip: padding-box;
|
2014-12-16 11:12:56 +08:00
|
|
|
span {font-size: 0.857em;}
|
|
|
|
.title {font-weight: bold; display: block; font-size: 1em;}
|
2013-10-20 06:18:25 +08:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
2014-06-28 07:42:43 +08:00
|
|
|
padding: 9px;
|
2013-10-20 06:18:25 +08:00
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 18px;
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2014-12-23 19:09:17 +08:00
|
|
|
transition: all linear .15s;
|
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-06-28 07:42:43 +08:00
|
|
|
color: $primary;
|
2013-10-20 06:18:25 +08:00
|
|
|
text-decoration: none;
|
2014-08-13 12:03:29 +08:00
|
|
|
background-color: dark-light-diff($highlight, $secondary, 50%, -70%);
|
2014-06-28 07:42:43 +08:00
|
|
|
|
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;
|
2015-05-20 09:10:40 +08:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
2014-04-02 21:21:18 +08:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .icon {
|
|
|
|
margin-top: 3px;
|
|
|
|
float: left;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.286em;
|
2014-04-02 21:21:18 +08:00
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2016-04-09 03:25:52 +08:00
|
|
|
.selected-posts {
|
2014-03-28 09:28:14 +08:00
|
|
|
width: 200px;
|
2013-10-20 06:18:25 +08:00
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
2015-05-20 09:10:40 +08:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
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;
|
2015-09-22 01:50:05 +08:00
|
|
|
right: 10px;
|
|
|
|
|
|
|
|
@include large-width {
|
|
|
|
right: auto;
|
|
|
|
margin-left: 330px;
|
|
|
|
left: 50%;
|
|
|
|
}
|
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 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2013-10-20 06:18:25 +08:00
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
p.cancel {
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
h3 {
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 1.786em;
|
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%));
|
2014-10-11 06:02:46 +08:00
|
|
|
box-shadow: inset 0 1px 3px rgba(0,0,0, 0.2);
|
2014-05-06 13:50:51 +08:00
|
|
|
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%));
|
2014-08-06 21:31:13 +08:00
|
|
|
@include box-shadow((inset 0 1px 0 rgba(0,0,0, 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
|
|
|
}
|
2015-07-10 12:48:44 +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;
|
2016-02-23 11:07:23 +08:00
|
|
|
right: 0;
|
2013-10-20 06:18:25 +08:00
|
|
|
z-index: 490;
|
2016-02-23 11:07:23 +08:00
|
|
|
top: 3em;
|
2014-10-07 13:53:19 +08:00
|
|
|
height: 100px;
|
2013-07-12 04:38:46 +08:00
|
|
|
|
2013-10-20 06:18:25 +08:00
|
|
|
button {
|
2014-10-07 13:53:19 +08:00
|
|
|
margin-left: 8px;
|
2015-08-20 17:42:12 +08:00
|
|
|
background-color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
|
|
|
border: 1px solid dark-light-choose(scale-color($primary, $lightness: 60%), scale-color($secondary, $lightness: 40%));
|
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
|
|
|
|
2014-08-12 02:44:15 +08:00
|
|
|
.deleted-topic .gutter:before {
|
2014-03-07 19:43:50 +08:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2014-07-23 08:33:21 +08:00
|
|
|
left: 767px;
|
2014-08-06 21:31:13 +08:00
|
|
|
color: rgba(dark-light-diff($primary, $secondary, 90%, -65%) , .8);
|
2014-12-16 11:12:56 +08:00
|
|
|
font: 6.429em/1 FontAwesome;
|
2014-10-07 15:24:24 +08:00
|
|
|
content: "\f014";
|
2014-03-07 19:43:50 +08:00
|
|
|
z-index: -5;
|
2013-11-11 14:11:16 +08:00
|
|
|
}
|
2013-10-30 21:11:05 +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;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.929em;
|
2014-05-14 01:08:37 +08:00
|
|
|
margin-top: 1px;
|
2015-08-20 17:42:12 +08:00
|
|
|
a {color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%)); }
|
2014-05-10 14:09:04 +08:00
|
|
|
}
|
2014-05-14 01:08:37 +08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-07-10 12:48:44 +08:00
|
|
|
.who-liked {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
width: 100%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-05-14 01:08:37 +08:00
|
|
|
span.highlighted {
|
2015-05-20 09:10:40 +08:00
|
|
|
background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);
|
2014-05-14 16:05:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.username.new-user a {
|
2015-08-20 17:42:12 +08:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 70%), scale-color($secondary, $lightness: 30%));
|
2014-05-14 16:05:24 +08:00
|
|
|
}
|
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;
|
2016-02-26 15:39:31 +08:00
|
|
|
right: 0px;
|
2014-06-03 10:32:33 +08:00
|
|
|
top: 13px;
|
2014-12-16 11:12:56 +08:00
|
|
|
font-size: 0.571em;
|
2014-06-03 09:48:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.read-state.read {
|
|
|
|
opacity: 0;
|
2014-12-23 19:09:17 +08:00
|
|
|
transition: opacity ease-out 1s;
|
2014-06-03 09:48:52 +08:00
|
|
|
}
|
2014-07-10 07:56:35 +08:00
|
|
|
|
2015-09-02 07:49:45 +08:00
|
|
|
.signup-cta {
|
|
|
|
width: $topic-body-width;
|
|
|
|
a {
|
|
|
|
float: right;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2014-07-10 07:56:35 +08:00
|
|
|
|
|
|
|
/* Tablet (portrait) ----------- */
|
|
|
|
|
|
|
|
|
2014-07-25 00:21:22 +08:00
|
|
|
@media all
|
2014-07-10 07:56:35 +08:00
|
|
|
and (max-width : 870px) {
|
2014-09-10 02:42:44 +08:00
|
|
|
|
2014-07-10 23:40:31 +08:00
|
|
|
.gutter {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-avatar {
|
2014-12-04 09:20:19 +08:00
|
|
|
width: 45px;
|
2014-07-10 23:40:31 +08:00
|
|
|
}
|
|
|
|
|
2016-01-05 04:18:09 +08:00
|
|
|
.topic-post .reply-to-tab {
|
2014-07-10 23:40:31 +08:00
|
|
|
right: 15%;
|
2016-01-05 04:18:09 +08:00
|
|
|
}
|
2014-07-10 23:40:31 +08:00
|
|
|
|
|
|
|
.topic-body {
|
2014-12-04 09:20:19 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: calc(100% - 47px); //100% - [width of .topic-avatar + 2px]
|
|
|
|
|
2014-07-17 10:32:49 +08:00
|
|
|
padding-left: 2%;
|
2014-07-10 23:40:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.embedded-posts {
|
|
|
|
// top means "in reply to expansion" above a post
|
|
|
|
&.top {
|
2014-12-04 09:20:19 +08:00
|
|
|
width: calc(100% - 56px); // [100% - margin-left]
|
2014-07-10 23:40:31 +08:00
|
|
|
}
|
|
|
|
}
|
2014-10-11 06:02:46 +08:00
|
|
|
|
2014-07-10 23:40:31 +08:00
|
|
|
}
|
2014-12-04 09:20:19 +08:00
|
|
|
|
2015-07-10 12:48:44 +08:00
|
|
|
|
|
|
|
|
2014-12-04 09:20:19 +08:00
|
|
|
/* below standard tablet portrait ----------- */
|
|
|
|
|
|
|
|
@media all
|
|
|
|
and (max-width : 767px) {
|
|
|
|
|
|
|
|
.reply-to-tab {
|
|
|
|
span {display: none;}
|
|
|
|
}
|
|
|
|
.names {
|
|
|
|
span {display: block;}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|