2015-07-20 03:47:53 -04:00
|
|
|
.wrap {
|
2013-10-19 18:18:25 -04:00
|
|
|
max-width: $large-width;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2013-10-23 00:22:24 -04:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.full-width {
|
2014-03-06 01:14:51 -05:00
|
|
|
margin-left: 0;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2014-04-09 23:27:05 -04:00
|
|
|
h1 .topic-statuses .topic-status i {
|
2017-12-20 15:56:53 -05:00
|
|
|
font-size: 0.857em;
|
2014-07-02 06:37:03 -04:00
|
|
|
vertical-align: middle;
|
2014-04-09 23:27:05 -04:00
|
|
|
}
|
2013-10-30 12:40:16 -04:00
|
|
|
|
2014-02-26 22:00:22 -05:00
|
|
|
.logo-small {
|
|
|
|
margin-right: 8px;
|
|
|
|
width: auto;
|
|
|
|
max-width: 80px;
|
|
|
|
height: auto;
|
|
|
|
max-height: 40px;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2016-01-04 15:18:09 -05:00
|
|
|
.topic-body {
|
2013-10-21 15:15:32 -04:00
|
|
|
padding: 0;
|
2013-10-23 00:22:24 -04:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
&:first-of-type {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2013-10-16 14:09:48 -04:00
|
|
|
|
2015-07-08 01:10:53 -04:00
|
|
|
.reply-to-tab {
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base") + 1;
|
2015-07-08 01:10:53 -04:00
|
|
|
float: right;
|
2018-01-15 10:30:52 -05:00
|
|
|
margin: -2px 25px 0 0;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2015-07-08 01:10:53 -04:00
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2015-07-08 01:10:53 -04:00
|
|
|
.actions .fade-out {
|
2018-06-08 05:49:31 -04:00
|
|
|
.discourse-no-touch & {
|
|
|
|
opacity: 0.7;
|
|
|
|
transition: opacity 0.7s ease-in-out;
|
|
|
|
}
|
|
|
|
.discourse-touch & {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&:hover .actions .fade-out,
|
|
|
|
.selected .actions .fade-out {
|
2013-10-19 18:18:25 -04:00
|
|
|
opacity: 1;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2016-02-09 14:23:12 -05:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2014-05-26 16:19:28 -04:00
|
|
|
section.post-menu-area {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
nav.post-controls {
|
2017-07-25 11:59:29 -04:00
|
|
|
padding: 0;
|
2015-07-08 01:10:53 -04:00
|
|
|
|
2018-03-30 07:57:07 -04:00
|
|
|
.like-button {
|
2018-03-30 16:46:37 -04:00
|
|
|
display: inline-flex;
|
2018-03-30 21:51:18 -04:00
|
|
|
|
2018-03-30 16:46:37 -04:00
|
|
|
.like-count {
|
2018-03-30 21:51:18 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
2018-03-30 16:46:37 -04:00
|
|
|
}
|
2018-03-30 21:51:18 -04:00
|
|
|
|
2018-03-30 07:57:07 -04:00
|
|
|
.widget-button {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $primary-low;
|
2018-03-30 16:46:37 -04:00
|
|
|
.like-count {
|
2018-04-06 22:44:51 -04:00
|
|
|
color: $primary-medium;
|
2018-03-30 16:46:37 -04:00
|
|
|
&.d-hover {
|
2018-04-06 22:44:51 -04:00
|
|
|
color: $primary;
|
2018-03-30 21:51:18 -04:00
|
|
|
}
|
2018-03-30 16:46:37 -04:00
|
|
|
}
|
2018-03-30 07:57:07 -04:00
|
|
|
.d-hover {
|
|
|
|
background: none;
|
|
|
|
}
|
2018-03-29 23:18:15 -04:00
|
|
|
}
|
2018-03-30 16:46:37 -04:00
|
|
|
|
2018-03-30 07:57:07 -04:00
|
|
|
&:active {
|
2018-06-08 05:49:31 -04:00
|
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
|
2018-03-30 07:57:07 -04:00
|
|
|
|
|
|
|
.widget-button {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-03-30 00:40:55 -04:00
|
|
|
}
|
2018-03-30 07:57:07 -04:00
|
|
|
|
|
|
|
.like {
|
|
|
|
&:focus {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.like-count {
|
|
|
|
font-size: $font-up-1;
|
2018-06-08 05:49:31 -04:00
|
|
|
margin-left: 0;
|
2018-04-24 13:39:03 -04:00
|
|
|
i.d-icon {
|
|
|
|
padding-left: 10px;
|
2018-03-30 07:57:07 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
|
|
|
}
|
|
|
|
&.my-likes {
|
|
|
|
margin-right: -2px;
|
|
|
|
}
|
|
|
|
&.regular-likes {
|
|
|
|
margin-right: -12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-like {
|
|
|
|
padding: 8px 8px;
|
2018-04-02 12:17:50 -04:00
|
|
|
margin-left: 2px;
|
2018-03-30 00:40:55 -04:00
|
|
|
}
|
2017-07-25 11:59:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.highlight-action {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2017-07-25 11:59:29 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
a,
|
|
|
|
button {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
2017-07-25 11:59:29 -04:00
|
|
|
|
2017-07-27 15:03:41 -04:00
|
|
|
.d-icon {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 1;
|
2017-07-25 11:59:29 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
margin-right: 2px;
|
2015-07-08 01:10:53 -04:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.toggle-likes {
|
|
|
|
padding: 8px 0;
|
|
|
|
margin-right: -3px;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
|
|
|
span.badge-posts {
|
|
|
|
margin-right: 5px;
|
2014-12-23 06:09:17 -05:00
|
|
|
transition: all linear 0.15s;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2014-05-31 11:18:53 -04:00
|
|
|
.actions {
|
|
|
|
text-align: right;
|
|
|
|
float: right;
|
|
|
|
display: inline-block;
|
|
|
|
.more-actions {
|
|
|
|
display: none;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-08 01:10:53 -04:00
|
|
|
.show-replies {
|
|
|
|
margin-left: -10px;
|
2015-06-29 19:25:53 -04:00
|
|
|
font-size: inherit;
|
2018-06-08 05:49:31 -04:00
|
|
|
span.badge-posts {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
|
|
|
}
|
2014-03-22 17:39:47 -04:00
|
|
|
&:hover {
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $primary-low;
|
2018-06-08 05:49:31 -04:00
|
|
|
span.badge-posts {
|
|
|
|
color: $primary;
|
|
|
|
}
|
2014-03-22 17:39:47 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
i {
|
|
|
|
margin-left: 5px;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
button.create {
|
|
|
|
margin-right: 0;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2013-10-19 18:18:25 -04:00
|
|
|
margin-left: 10px;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.create i {
|
|
|
|
margin-right: 5px;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
button {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-1;
|
2013-10-19 18:18:25 -04:00
|
|
|
padding: 8px 10px;
|
|
|
|
vertical-align: top;
|
|
|
|
background: transparent;
|
2013-10-22 16:36:32 -04:00
|
|
|
border: none;
|
2013-10-22 15:37:44 -04:00
|
|
|
margin-left: 3px;
|
2014-12-23 06:09:17 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.d-hover,
|
|
|
|
&:focus {
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $primary-low;
|
2016-02-09 17:45:32 -05:00
|
|
|
color: $primary;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2016-02-09 17:45:32 -05:00
|
|
|
&:active {
|
2018-06-08 05:49:31 -04:00
|
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
|
2016-02-09 17:45:32 -05:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2016-02-09 17:45:32 -05:00
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
&.admin {
|
|
|
|
position: relative;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.delete.d-hover,
|
|
|
|
&.delete:focus {
|
2016-02-09 17:45:32 -05:00
|
|
|
background: $danger;
|
|
|
|
color: $secondary;
|
|
|
|
}
|
2014-03-07 00:29:58 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.like.d-hover,
|
|
|
|
&.like:focus {
|
2016-02-09 17:45:32 -05:00
|
|
|
color: $love;
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $love-low;
|
2016-02-09 17:45:32 -05:00
|
|
|
}
|
2014-03-07 06:43:50 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
&.has-like {
|
|
|
|
color: $love;
|
|
|
|
}
|
2016-02-09 17:45:32 -05:00
|
|
|
&.has-like[disabled]:hover {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
&.has-like[disabled]:active {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2014-07-18 17:01:27 -04:00
|
|
|
|
2017-09-07 11:41:19 -04:00
|
|
|
&.bookmark {
|
|
|
|
padding: 8px 11px;
|
2016-02-09 17:45:32 -05:00
|
|
|
&.bookmarked {
|
2017-09-07 11:41:19 -04:00
|
|
|
color: $tertiary;
|
2014-03-07 00:29:58 -05:00
|
|
|
}
|
2016-02-09 17:45:32 -05:00
|
|
|
}
|
|
|
|
}
|
2014-05-13 08:53:11 -04:00
|
|
|
|
|
|
|
.post-admin-menu {
|
|
|
|
background-color: $secondary;
|
|
|
|
width: 205px;
|
|
|
|
padding: 10px;
|
2017-06-11 22:20:14 -04:00
|
|
|
border: 1px solid $primary-low;
|
2014-05-13 08:53:11 -04:00
|
|
|
position: absolute;
|
|
|
|
text-align: left;
|
2014-10-13 16:38:22 -04:00
|
|
|
bottom: -2px;
|
|
|
|
right: 15px;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2014-05-13 08:53:11 -04:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
color: $primary;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2014-05-13 08:53:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
width: 176px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
2017-07-27 15:03:41 -04:00
|
|
|
.d-icon {
|
2014-05-13 08:53:11 -04:00
|
|
|
width: 14px;
|
|
|
|
margin-right: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-29 22:13:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.embedded-posts {
|
2018-06-08 05:49:31 -04:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
border: 1px solid $primary-low;
|
2018-03-29 17:32:56 -04:00
|
|
|
|
2014-07-10 11:40:31 -04:00
|
|
|
.topic-body {
|
2014-12-03 20:20:19 -05:00
|
|
|
box-sizing: border-box;
|
2018-01-16 15:48:47 -05:00
|
|
|
width: calc(100% - 70px); // [100% - .topic-avatar width]
|
2014-10-17 11:04:08 -04:00
|
|
|
// WARNING: overflow hide is required for quoted / embedded images
|
|
|
|
// which expect "normal" post width, but expansions are narrower
|
|
|
|
overflow: hidden;
|
2018-01-19 16:16:22 -05:00
|
|
|
padding: 15px 25px 0 15px;
|
2015-06-04 03:10:35 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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 01:34:56 -04:00
|
|
|
}
|
2014-07-10 11:40:31 -04:00
|
|
|
|
|
|
|
.topic-avatar {
|
2018-01-16 15:48:47 -05:00
|
|
|
padding-left: 25px;
|
2015-06-04 03:10:35 -04:00
|
|
|
padding-top: 15px;
|
2014-07-10 11:40:31 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.collapse-down,
|
|
|
|
.collapse-up {
|
2018-01-16 16:06:04 -05:00
|
|
|
position: absolute;
|
|
|
|
color: $primary-medium;
|
|
|
|
background: $secondary;
|
2018-06-08 05:49:31 -04:00
|
|
|
border: 1px solid $primary-low;
|
2018-01-16 16:06:04 -05:00
|
|
|
padding: 6px 9px 8px;
|
|
|
|
z-index: 99; // Needs to be higher than topic-avatar
|
|
|
|
&:hover {
|
|
|
|
background: $primary-low;
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-05 05:29:56 -04:00
|
|
|
// bottom means "reply expansion" below a post
|
2014-04-29 22:13:16 -04:00
|
|
|
&.bottom {
|
2018-01-19 16:16:22 -05:00
|
|
|
border-top: none;
|
|
|
|
margin-bottom: 20px;
|
2014-10-17 11:04:08 -04:00
|
|
|
&.hidden {
|
|
|
|
display: block;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2014-07-10 11:40:31 -04:00
|
|
|
&.bottom {
|
2018-01-16 15:48:47 -05:00
|
|
|
.collapse-up {
|
2018-01-16 16:06:04 -05:00
|
|
|
transform: translate(-50%, -164%);
|
2018-01-16 15:48:47 -05:00
|
|
|
}
|
2014-12-03 20:20:19 -05:00
|
|
|
.row {
|
2018-06-08 05:49:31 -04:00
|
|
|
padding-bottom: 0.5em;
|
|
|
|
.topic-avatar,
|
|
|
|
.topic-body {
|
2018-01-16 15:48:47 -05:00
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
}
|
2014-12-03 20:20:19 -05:00
|
|
|
}
|
2014-08-02 03:10:40 -04:00
|
|
|
}
|
2013-10-21 13:53:34 -04:00
|
|
|
|
2014-06-05 05:29:56 -04:00
|
|
|
// top means "in reply to expansion" above a post
|
|
|
|
&.top {
|
2018-01-19 16:16:22 -05:00
|
|
|
border-bottom: none;
|
2018-01-16 15:48:47 -05:00
|
|
|
.collapse-down {
|
|
|
|
transform: translate(-50%, 55%);
|
|
|
|
}
|
2014-07-16 22:32:49 -04:00
|
|
|
margin-left: 56px;
|
2018-01-19 16:16:22 -05:00
|
|
|
width: 699px;
|
2018-01-16 15:48:47 -05:00
|
|
|
.row {
|
|
|
|
border-bottom: none;
|
2018-06-08 05:49:31 -04:00
|
|
|
.topic-avatar,
|
|
|
|
.topic-body {
|
2018-01-16 15:48:47 -05:00
|
|
|
border-top: 1px solid $primary-low;
|
|
|
|
}
|
|
|
|
}
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
2014-10-16 10:19:01 -04:00
|
|
|
&.top.topic-body {
|
2016-01-26 20:03:18 -05:00
|
|
|
padding: 0;
|
2014-10-16 10:19:01 -04:00
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.post-date {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
|
|
|
}
|
|
|
|
.d-icon-arrow-up,
|
|
|
|
.d-icon-arrow-down {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.reply:first-of-type .row {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2014-06-05 05:29:56 -04:00
|
|
|
|
2014-04-29 22:13:16 -04:00
|
|
|
.topic-meta-data {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.topic-meta-data h5 {
|
|
|
|
position: absolute;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base");
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2014-04-29 22:13:16 -04:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
2014-04-29 22:13:16 -04:00
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.arrow {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
|
|
|
}
|
2014-04-29 22:13:16 -04:00
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.post-action {
|
|
|
|
.relative-date {
|
|
|
|
margin-left: 5px;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.avatar {
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2013-09-04 11:53:00 -04:00
|
|
|
|
2013-11-15 13:30:24 -05:00
|
|
|
.topic-map {
|
2018-01-19 11:06:21 -05:00
|
|
|
margin: 20px 0;
|
2014-04-05 14:47:25 -04:00
|
|
|
|
2013-11-15 15:46:26 -05:00
|
|
|
.map {
|
2018-06-08 05:49:31 -04:00
|
|
|
.secondary {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
li {
|
|
|
|
float: left;
|
2014-07-22 16:30:32 -04:00
|
|
|
padding: 7px 10px;
|
2013-02-05 14:16:51 -05:00
|
|
|
&:last-of-type {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
&:nth-child(3) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
a,
|
|
|
|
.number {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-large;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.number,
|
|
|
|
i {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
|
|
|
line-height: $line-height-medium;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
.avatar a {
|
2013-02-05 14:16:51 -05:00
|
|
|
float: left;
|
|
|
|
}
|
2018-01-12 17:27:38 -05:00
|
|
|
.topic-map-post {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
.avatars,
|
|
|
|
.links,
|
|
|
|
.information {
|
2014-10-01 22:54:03 -04:00
|
|
|
padding: 7px 10px 15px 10px;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2013-10-20 21:59:46 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.participants {
|
|
|
|
// PMs //
|
|
|
|
.user {
|
|
|
|
float: left;
|
|
|
|
margin: 7px 20px 7px 0;
|
|
|
|
}
|
2016-02-02 19:17:14 -05:00
|
|
|
.user a {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2016-02-02 19:17:14 -05:00
|
|
|
font-weight: bold;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2016-02-02 19:17:14 -05:00
|
|
|
}
|
2017-11-23 11:14:51 -05:00
|
|
|
.d-icon-times {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2016-02-02 19:17:14 -05:00
|
|
|
}
|
2014-06-26 03:08:23 -04:00
|
|
|
}
|
2013-10-20 21:59:46 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
.buttons {
|
|
|
|
float: right;
|
|
|
|
.btn {
|
|
|
|
border: 0;
|
|
|
|
padding: 0 23px;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2015-08-20 19:47:34 -04:00
|
|
|
background: blend-primary-secondary(5%);
|
2017-06-11 22:20:14 -04:00
|
|
|
border-left: 1px solid $primary-low;
|
2018-01-12 17:27:38 -05:00
|
|
|
border-top: 1px solid transparent;
|
2013-02-05 14:16:51 -05:00
|
|
|
&:hover {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2017-06-11 22:20:14 -04:00
|
|
|
background: $primary-low;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2013-10-28 13:46:59 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
&.collapsed {
|
2013-10-19 18:18:25 -04:00
|
|
|
padding-bottom: 1px;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
2013-12-09 16:27:49 -05:00
|
|
|
.fa {
|
2013-02-05 14:16:51 -05:00
|
|
|
margin: 0;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2013-02-05 14:16:51 -05:00
|
|
|
line-height: 52px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-07-21 13:51:56 -04:00
|
|
|
|
|
|
|
.link-summary .btn {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-high);
|
2017-07-21 13:51:56 -04:00
|
|
|
background: blend-primary-secondary(5%);
|
|
|
|
width: 100%;
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -80%);
|
|
|
|
}
|
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
|
2017-08-15 13:17:15 -04:00
|
|
|
@mixin topic-footer-button {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
#topic-footer-buttons {
|
2014-03-07 15:04:18 -05:00
|
|
|
padding: 10px 10px 0 0;
|
2017-08-01 19:47:52 -04:00
|
|
|
float: left;
|
2013-10-19 18:18:25 -04:00
|
|
|
p {
|
2018-01-12 17:27:38 -05:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2014-06-04 07:03:14 -04:00
|
|
|
.btn {
|
2017-08-15 13:17:15 -04:00
|
|
|
@include topic-footer-button;
|
2018-06-08 05:49:31 -04:00
|
|
|
.d-icon-bookmark.bookmarked {
|
|
|
|
color: $tertiary;
|
|
|
|
}
|
2014-06-04 07:03:14 -04:00
|
|
|
}
|
2016-10-27 14:45:57 -04:00
|
|
|
|
2017-11-23 11:14:51 -05:00
|
|
|
.bookmark.bookmarked .d-icon-bookmark {
|
2016-10-27 14:45:57 -04:00
|
|
|
color: $tertiary;
|
|
|
|
}
|
2017-08-15 13:17:15 -04:00
|
|
|
}
|
2016-10-27 14:45:57 -04:00
|
|
|
|
2017-02-10 11:10:24 -05:00
|
|
|
#topic-footer-button {
|
|
|
|
width: 757px;
|
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
#suggested-topics {
|
|
|
|
clear: left;
|
2014-03-07 15:04:18 -05:00
|
|
|
padding: 20px 0 15px 0;
|
2013-10-19 18:18:25 -04:00
|
|
|
table {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2017-06-12 15:46:01 -04:00
|
|
|
|
2015-01-25 03:33:48 -05:00
|
|
|
// 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 {
|
2018-06-08 05:49:31 -04:00
|
|
|
font-size: 1em;
|
2015-01-25 03:33:48 -05:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
span.post-count {
|
2014-05-06 01:50:51 -04:00
|
|
|
background: $primary;
|
|
|
|
color: $secondary;
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.8;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
|
2014-04-02 15:54:21 -04:00
|
|
|
button.expand-post {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
|
|
|
.quote-button.visible {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2014-12-08 15:39:36 -05:00
|
|
|
video {
|
|
|
|
max-height: 500px;
|
|
|
|
}
|
|
|
|
|
2014-12-25 05:19:06 -05:00
|
|
|
@-webkit-keyframes fadein {
|
2018-06-08 05:49:31 -04:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-12-25 05:19:06 -05:00
|
|
|
}
|
|
|
|
|
2014-10-08 12:20:44 -04:00
|
|
|
@keyframes fadein {
|
2018-06-08 05:49:31 -04:00
|
|
|
from {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-10-08 12:20:44 -04:00
|
|
|
}
|
|
|
|
|
2013-10-30 12:40:16 -04:00
|
|
|
.extra-info-wrapper {
|
2014-09-11 04:21:19 -04:00
|
|
|
overflow: hidden;
|
2014-07-05 02:16:33 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.badge-wrapper,
|
|
|
|
i,
|
|
|
|
.topic-link {
|
|
|
|
-webkit-animation: fadein 0.7s;
|
|
|
|
animation: fadein 0.7s;
|
2015-01-29 12:08:24 -05:00
|
|
|
}
|
2014-10-08 12:20:44 -04:00
|
|
|
|
2014-04-09 23:27:05 -04:00
|
|
|
.topic-statuses {
|
2018-06-08 05:49:31 -04:00
|
|
|
i {
|
|
|
|
color: $header_primary;
|
|
|
|
}
|
|
|
|
.d-icon-envelope {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
.d-icon-lock {
|
|
|
|
padding-top: 0.15em;
|
|
|
|
}
|
|
|
|
.unpinned {
|
|
|
|
color: $header_primary;
|
|
|
|
}
|
2014-04-09 23:27:05 -04:00
|
|
|
}
|
2014-07-05 02:16:33 -04:00
|
|
|
|
2014-09-09 14:42:44 -04:00
|
|
|
.topic-link {
|
|
|
|
color: $header_primary;
|
2015-09-25 03:49:04 -04:00
|
|
|
display: block;
|
2014-09-09 14:42:44 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2014-07-05 02:16:33 -04:00
|
|
|
}
|
2016-12-05 07:31:43 -05:00
|
|
|
|
|
|
|
.topic-header-extra {
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-06 18:32:38 -04:00
|
|
|
/* default docked header CSS for all topics, including those without categories */
|
2013-10-19 18:18:25 -04:00
|
|
|
.extra-info {
|
|
|
|
h1 {
|
2013-10-29 20:47:37 -04:00
|
|
|
margin: 5px 0 0 0;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-3;
|
2018-01-15 11:00:04 -05:00
|
|
|
line-height: $line-height-large;
|
2018-02-08 20:43:34 -05:00
|
|
|
width: 100%;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2013-10-23 03:52:15 -04:00
|
|
|
|
2014-04-09 23:27:05 -04:00
|
|
|
.topic-statuses {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2014-10-06 18:32:38 -04:00
|
|
|
/* override docked header CSS for topics with categories */
|
2015-02-19 14:55:44 -05:00
|
|
|
.extra-info.two-rows {
|
2014-10-06 18:32:38 -04:00
|
|
|
h1 {
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2015-02-13 17:17:32 -05:00
|
|
|
margin: 0;
|
2018-02-02 19:33:00 -05:00
|
|
|
width: 100%;
|
2014-10-06 18:32:38 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.open > .dropdown-menu {
|
2013-10-19 18:18:25 -04:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-group {
|
2013-02-05 14:16:51 -05:00
|
|
|
position: relative;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-05-06 23:53:04 -04:00
|
|
|
.deleted {
|
2016-02-11 14:21:22 -05:00
|
|
|
.topic-body {
|
2018-06-08 05:49:31 -04:00
|
|
|
background-color: dark-light-diff(
|
|
|
|
rgba($danger, 0.7),
|
|
|
|
$secondary,
|
|
|
|
50%,
|
|
|
|
-60%
|
|
|
|
);
|
2013-10-22 18:31:40 -04:00
|
|
|
}
|
2013-10-21 15:15:32 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
|
|
|
#share-link {
|
2014-05-23 03:46:39 -04:00
|
|
|
width: 365px;
|
2013-10-19 18:18:25 -04:00
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-select {
|
|
|
|
float: right;
|
|
|
|
margin-right: 20px;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.deleted-user-avatar {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-6;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
|
2013-10-30 12:40:16 -04:00
|
|
|
.info-line {
|
|
|
|
margin: 10px 0;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2014-06-30 03:58:27 -04:00
|
|
|
/* solo quotes */
|
|
|
|
blockquote {
|
2014-06-30 06:03:54 -04:00
|
|
|
/* leave browser defaults for top and bottom here */
|
2014-06-30 03:51:17 -04:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2013-10-19 18:18:25 -04:00
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
2014-06-30 03:58:27 -04:00
|
|
|
/* quotes with attribution */
|
|
|
|
.quote {
|
2018-06-08 05:49:31 -04:00
|
|
|
& > blockquote {
|
2014-05-22 21:55:50 -04:00
|
|
|
.onebox-result {
|
2015-08-20 19:47:34 -04:00
|
|
|
background-color: blend-primary-secondary(5%);
|
2014-05-22 21:55:50 -04:00
|
|
|
}
|
2013-11-13 23:10:47 -05:00
|
|
|
}
|
|
|
|
|
2014-05-22 21:55:50 -04:00
|
|
|
aside {
|
2018-06-08 05:49:31 -04:00
|
|
|
.quote,
|
|
|
|
.title,
|
|
|
|
blockquote,
|
|
|
|
.onebox,
|
|
|
|
.onebox-result {
|
2015-08-20 19:47:34 -04:00
|
|
|
background: blend-primary-secondary(5%);
|
2017-06-11 22:20:14 -04:00
|
|
|
border-left: 5px solid $primary-low;
|
2014-05-22 21:55:50 -04:00
|
|
|
}
|
2014-05-27 22:46:31 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
aside.quote > blockquote,
|
|
|
|
aside.quote > .title {
|
2014-05-27 22:46:31 -04:00
|
|
|
border-left: 0;
|
|
|
|
}
|
2014-05-22 21:55:50 -04:00
|
|
|
}
|
2013-10-21 16:23:55 -04:00
|
|
|
}
|
|
|
|
|
2014-07-15 17:02:43 -04: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-01 17:27:32 -05:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.topic-body {
|
2014-07-15 17:02:43 -04:00
|
|
|
width: $topic-body-width;
|
2013-10-21 13:53:34 -04:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base");
|
2017-06-11 22:20:14 -04:00
|
|
|
border-top: 1px solid $primary-low;
|
2018-01-16 15:48:47 -05:00
|
|
|
padding: 12px $topic-body-width-padding 0 $topic-body-width-padding;
|
2013-11-07 23:12:18 -05:00
|
|
|
}
|
2016-02-22 04:17:50 -05:00
|
|
|
|
2014-05-10 02:09:04 -04:00
|
|
|
.topic-avatar {
|
2017-06-11 22:20:14 -04:00
|
|
|
border-top: 1px solid $primary-low;
|
2014-12-03 20:20:19 -05:00
|
|
|
padding-top: 15px;
|
2014-09-10 09:25:31 -04:00
|
|
|
width: $topic-avatar-width;
|
|
|
|
float: left;
|
2018-01-18 13:38:27 -05:00
|
|
|
z-index: z("base") + 1;
|
2014-05-10 02:09:04 -04:00
|
|
|
}
|
2013-11-07 23:12:18 -05:00
|
|
|
|
2015-06-29 04:14:54 -04:00
|
|
|
.gap {
|
2018-06-08 05:49:31 -04:00
|
|
|
width: calc(
|
|
|
|
#{$topic-avatar-width} + #{$topic-body-width} + 2 * #{$topic-body-width-padding}
|
|
|
|
);
|
2015-06-29 04:14:54 -04:00
|
|
|
}
|
|
|
|
|
2016-05-13 05:45:34 -04:00
|
|
|
/* hide the reply border above the time gap notices */
|
|
|
|
.time-gap + .topic-post .topic-body,
|
|
|
|
.time-gap + .topic-post .topic-avatar {
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
2018-01-16 15:48:47 -05:00
|
|
|
.time-gap + .topic-post .embedded-posts.top {
|
|
|
|
border-bottom: 1px solid $primary-low;
|
2018-03-29 17:32:56 -04:00
|
|
|
}
|
2018-01-16 15:48:47 -05:00
|
|
|
|
2013-10-21 16:54:53 -04:00
|
|
|
.posts-wrapper {
|
|
|
|
position: relative;
|
2015-05-28 22:02:09 -04:00
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
2015-07-24 16:39:03 -04:00
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
|
|
|
.dropdown {
|
2013-07-11 16:38:46 -04:00
|
|
|
position: relative;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
.caret {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
vertical-align: middle;
|
2014-05-06 01:50:51 -04:00
|
|
|
border-top: 4px solid $primary;
|
2013-10-19 18:18:25 -04:00
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
content: "";
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.dropdown-menu {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 115%;
|
|
|
|
left: 0;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2013-10-19 18:18:25 -04:00
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 550px;
|
|
|
|
margin: 1px 0 0;
|
|
|
|
list-style: none;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2017-06-11 22:20:14 -04:00
|
|
|
border: 1px solid $primary-low;
|
2018-02-20 12:18:20 -05:00
|
|
|
box-shadow: shadow("dropdown");
|
2013-10-19 18:18:25 -04:00
|
|
|
background-clip: padding-box;
|
2016-05-23 06:36:26 -04:00
|
|
|
span {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-05-23 06:36:26 -04:00
|
|
|
}
|
|
|
|
span.title {
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-0;
|
2016-05-23 06:36:26 -04:00
|
|
|
color: $primary;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
.dropdown-menu a {
|
|
|
|
display: block;
|
2014-06-27 19:42:43 -04:00
|
|
|
padding: 9px;
|
2013-10-19 18:18:25 -04:00
|
|
|
clear: both;
|
|
|
|
font-weight: normal;
|
2018-01-12 17:27:38 -05:00
|
|
|
line-height: $line-height-medium;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2018-06-08 05:49:31 -04:00
|
|
|
transition: all linear 0.15s;
|
2014-04-02 09:21:18 -04:00
|
|
|
|
|
|
|
& > div {
|
|
|
|
margin-left: 26px;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
.dropdown-menu li > a:hover,
|
|
|
|
.dropdown-menu .active > a,
|
|
|
|
.dropdown-menu .active > a:hover {
|
2014-06-27 19:42:43 -04:00
|
|
|
color: $primary;
|
2013-10-19 18:18:25 -04:00
|
|
|
text-decoration: none;
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $highlight-medium;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2014-04-02 09:21:18 -04:00
|
|
|
|
|
|
|
.dropdown-menu .disabled > a,
|
|
|
|
.dropdown-menu .disabled > a:hover {
|
|
|
|
text-decoration: none;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2014-04-02 09:21:18 -04:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu .icon {
|
|
|
|
margin-top: 3px;
|
|
|
|
float: left;
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-2;
|
2014-04-02 09:21:18 -04:00
|
|
|
}
|
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.open > .dropdown-menu {
|
|
|
|
display: block;
|
2014-04-02 09:21:18 -04:00
|
|
|
clear: both;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
2014-04-02 09:21:18 -04:00
|
|
|
|
2016-04-08 15:25:52 -04:00
|
|
|
.selected-posts {
|
2014-03-27 21:28:14 -04:00
|
|
|
width: 200px;
|
2013-10-19 18:18:25 -04:00
|
|
|
position: fixed;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("dropdown");
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2014-05-06 01:50:51 -04:00
|
|
|
border: 1px solid $tertiary;
|
2013-10-19 18:18:25 -04:00
|
|
|
padding: 5px;
|
|
|
|
margin-bottom: 5px;
|
2015-09-21 13:50:05 -04:00
|
|
|
right: 10px;
|
|
|
|
|
|
|
|
@include large-width {
|
|
|
|
right: auto;
|
|
|
|
margin-left: 330px;
|
|
|
|
left: 50%;
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
|
|
|
button {
|
2014-03-27 21:28:14 -04:00
|
|
|
width: 180px;
|
2013-10-19 18:18:25 -04:00
|
|
|
margin: 4px auto;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.controls {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
p {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-down-1;
|
2013-10-19 18:18:25 -04:00
|
|
|
margin: 0 0 10px 0;
|
|
|
|
}
|
|
|
|
p.cancel {
|
|
|
|
margin: 10px 0 0 0;
|
|
|
|
}
|
|
|
|
h3 {
|
2018-01-12 17:27:38 -05:00
|
|
|
font-size: $font-up-4;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-10-19 18:18:25 -04:00
|
|
|
margin-bottom: 5px;
|
|
|
|
i {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
2013-07-11 16:38:46 -04:00
|
|
|
}
|
2013-10-30 12:40:16 -04:00
|
|
|
.btn {
|
|
|
|
border: none;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $secondary;
|
2013-10-30 12:40:16 -04:00
|
|
|
font-weight: normal;
|
2014-03-27 21:28:14 -04:00
|
|
|
margin-bottom: 10px;
|
2017-10-10 16:07:46 -04:00
|
|
|
background: $tertiary-medium;
|
2013-10-30 12:40:16 -04:00
|
|
|
|
|
|
|
&[href] {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $secondary;
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
&:hover {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $secondary;
|
2017-10-10 16:07:46 -04:00
|
|
|
background: $tertiary-high;
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
|
|
|
&:active {
|
2014-05-06 01:50:51 -04:00
|
|
|
@include linear-gradient(darken($tertiary, 18%), darken($tertiary, 12%));
|
|
|
|
color: $secondary;
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
|
|
|
&[disabled] {
|
2014-05-06 01:50:51 -04:00
|
|
|
text-shadow: 0 1px 0 rgba($primary, 0.2);
|
|
|
|
@include linear-gradient($tertiary, darken($tertiary, 20%));
|
2018-06-08 05:49:31 -04:00
|
|
|
@include box-shadow(inset 0 1px 0 rgba(0, 0, 0, 0.33));
|
2013-10-30 12:40:16 -04:00
|
|
|
}
|
|
|
|
}
|
2013-07-11 16:38:46 -04:00
|
|
|
}
|
2015-07-10 00:48:44 -04:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.topic-post {
|
|
|
|
&.selected {
|
|
|
|
article.boxed {
|
|
|
|
.select-posts {
|
|
|
|
button.select-post {
|
2017-10-10 16:07:46 -04:00
|
|
|
background-color: $tertiary-medium;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $secondary;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.topic-body {
|
|
|
|
.contents:after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-04-05 09:29:45 -04:00
|
|
|
article.boxed {
|
2013-10-19 18:18:25 -04:00
|
|
|
position: relative;
|
2013-07-11 16:38:46 -04:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
.select-posts {
|
|
|
|
position: absolute;
|
2016-02-22 22:07:23 -05:00
|
|
|
right: 0;
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base") + 1;
|
2016-02-22 22:07:23 -05:00
|
|
|
top: 3em;
|
2014-10-07 01:53:19 -04:00
|
|
|
height: 100px;
|
2013-07-11 16:38:46 -04:00
|
|
|
|
2013-10-19 18:18:25 -04:00
|
|
|
button {
|
2014-10-07 01:53:19 -04:00
|
|
|
margin-left: 8px;
|
2017-10-10 16:07:46 -04:00
|
|
|
background-color: dark-light-choose($primary-low-mid, $secondary-high);
|
|
|
|
border: 1px solid dark-light-choose($primary-medium, $secondary-high);
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2013-10-19 18:18:25 -04:00
|
|
|
}
|
|
|
|
}
|
2013-05-16 02:55:07 -04:00
|
|
|
}
|
|
|
|
}
|
2013-10-19 18:18:25 -04:00
|
|
|
|
2013-10-23 03:52:15 -04:00
|
|
|
a.attachment:before {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 4px;
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f019";
|
|
|
|
}
|
2013-10-30 09:11:05 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.private_message .gutter,
|
|
|
|
.deleted-topic .gutter,
|
|
|
|
.read_restricted .gutter {
|
2016-05-16 14:31:52 -04:00
|
|
|
position: relative;
|
2013-11-11 01:11:16 -05:00
|
|
|
}
|
2013-10-30 09:11:05 -04:00
|
|
|
|
2014-08-11 14:44:15 -04:00
|
|
|
.deleted-topic .gutter:before {
|
2016-05-16 14:31:52 -04:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 767px;
|
2018-06-08 05:49:31 -04:00
|
|
|
color: rgba($primary-low, 0.8);
|
2016-05-16 14:31:52 -04:00
|
|
|
font: 6.429em/1 FontAwesome;
|
|
|
|
content: "\f014";
|
2018-01-16 19:05:12 -05:00
|
|
|
z-index: z("base");
|
2013-11-11 01:11:16 -05:00
|
|
|
}
|
2013-10-30 09:11:05 -04:00
|
|
|
|
2014-05-13 13:08:37 -04:00
|
|
|
.topic-meta-data {
|
2018-06-08 05:49:31 -04:00
|
|
|
&:after {
|
2014-05-13 13:08:37 -04:00
|
|
|
visibility: hidden;
|
|
|
|
display: block;
|
|
|
|
font-size: 0;
|
|
|
|
content: " ";
|
|
|
|
clear: both;
|
|
|
|
height: 0;
|
2018-06-08 05:49:31 -04:00
|
|
|
}
|
2014-05-13 13:08:37 -04:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
.post-info {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
a {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
|
|
|
}
|
2014-05-13 13:08:37 -04:00
|
|
|
}
|
|
|
|
|
2015-07-10 00:48:44 -04:00
|
|
|
.who-liked {
|
|
|
|
margin-top: 20px;
|
2018-01-25 09:53:36 -05:00
|
|
|
margin-bottom: 0;
|
2015-07-10 00:48:44 -04:00
|
|
|
width: 100%;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2014-05-13 13:08:37 -04:00
|
|
|
span.highlighted {
|
2017-06-11 22:20:14 -04:00
|
|
|
background-color: $tertiary-low;
|
2014-05-14 04:05:24 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.username.new-user a {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-low-mid, $secondary-high);
|
2014-05-14 04:05:24 -04:00
|
|
|
}
|
2014-06-02 21:48:52 -04:00
|
|
|
|
|
|
|
.read-state {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: $tertiary-medium;
|
2014-06-02 22:32:33 -04:00
|
|
|
position: absolute;
|
2018-01-25 09:53:36 -05:00
|
|
|
right: 0;
|
2018-01-15 10:30:52 -05:00
|
|
|
top: 2em;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.571em;
|
2014-06-02 21:48:52 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.read-state.read {
|
|
|
|
opacity: 0;
|
2014-12-23 06:09:17 -05:00
|
|
|
transition: opacity ease-out 1s;
|
2014-06-02 21:48:52 -04:00
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
2015-09-01 19:49:45 -04:00
|
|
|
.signup-cta {
|
|
|
|
width: $topic-body-width;
|
|
|
|
}
|
2014-07-09 19:56:35 -04:00
|
|
|
|
|
|
|
/* Tablet (portrait) ----------- */
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
@media all and (max-width: 775px) {
|
2014-07-10 11:40:31 -04:00
|
|
|
.gutter {
|
|
|
|
display: none;
|
2016-05-16 14:31:52 -04:00
|
|
|
}
|
2014-07-10 11:40:31 -04:00
|
|
|
|
|
|
|
.topic-avatar {
|
2014-12-03 20:20:19 -05:00
|
|
|
width: 45px;
|
2014-07-10 11:40:31 -04:00
|
|
|
}
|
|
|
|
|
2016-01-04 15:18:09 -05:00
|
|
|
.topic-post .reply-to-tab {
|
2018-06-08 05:49:31 -04:00
|
|
|
right: 15%;
|
2016-01-04 15:18:09 -05:00
|
|
|
}
|
2014-07-10 11:40:31 -04:00
|
|
|
|
|
|
|
.topic-body {
|
2018-06-08 05:49:31 -04:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: calc(100% - 47px); //100% - [width of .topic-avatar + 2px]
|
2014-12-03 20:20:19 -05:00
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
padding-left: 2%;
|
|
|
|
}
|
2014-07-10 11:40:31 -04:00
|
|
|
|
|
|
|
.embedded-posts {
|
|
|
|
// top means "in reply to expansion" above a post
|
|
|
|
&.top {
|
2014-12-03 20:20:19 -05:00
|
|
|
width: calc(100% - 56px); // [100% - margin-left]
|
2014-07-10 11:40:31 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|