2013-09-05 14:37:07 -05:00
|
|
|
// styles that apply to the reply pane that slides up to compose replies
|
|
|
|
|
|
|
|
// hack, this needs to be done cleaner
|
2014-01-22 01:24:29 -06:00
|
|
|
#private-message-users {
|
|
|
|
width: 400px;
|
2014-09-08 10:11:56 -05:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
|
|
|
width: 300px;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
top: -30px;
|
|
|
|
margin-left: 20px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup-container {
|
|
|
|
max-width: 1500px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup {
|
|
|
|
|
2014-10-10 17:02:46 -05:00
|
|
|
box-shadow: 3px 3px 3px rgba(0,0,0, 0.34);
|
2014-08-11 23:11:58 -05:00
|
|
|
background: dark-light-diff($highlight, $secondary, 50%, -80%);
|
2014-03-06 17:35:47 -06:00
|
|
|
|
|
|
|
&.urgent {
|
2014-08-06 08:31:13 -05:00
|
|
|
background: dark-light-diff($danger, $secondary, 50%, -40%);
|
2014-03-06 17:35:47 -06:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2013-12-19 12:45:55 -06:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
p {
|
2013-12-19 12:45:55 -06:00
|
|
|
margin-bottom: 10px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a.close {
|
|
|
|
float: right;
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2013-09-05 14:37:07 -05:00
|
|
|
opacity: 0.5;
|
2014-12-15 21:12:56 -06:00
|
|
|
font-size: 1.071em;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a.close:hover {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
padding: 10px;
|
|
|
|
width: 600px;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
ul.topics {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
font-weight: normal;
|
2015-06-26 03:53:19 -05:00
|
|
|
margin-top: 8px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-09 15:54:33 -05:00
|
|
|
.similar-topics {
|
2015-08-18 16:50:36 -05:00
|
|
|
background-color: dark-light-choose(scale-color($tertiary, $lightness: 60%), scale-color($tertiary, $lightness: -60%));
|
2013-09-05 14:37:07 -05:00
|
|
|
|
|
|
|
a[href] {
|
2015-08-18 16:50:36 -05:00
|
|
|
color: dark-light-diff($primary, $secondary, -10%, 10%);
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.posts-count {
|
2015-08-18 16:50:36 -05:00
|
|
|
background-color: dark-light-choose(scale-color($tertiary, $lightness: -40%), scale-color($tertiary, $lightness: 40%));
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2015-06-24 14:08:22 -05:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.search-link {
|
|
|
|
.fa, .blurb {
|
2015-08-18 16:50:36 -05:00
|
|
|
color: dark-light-choose(scale-color($tertiary, $lightness: -40%), scale-color($tertiary, $lightness: 40%));
|
2015-06-24 14:08:22 -05:00
|
|
|
}
|
|
|
|
}
|
2015-09-29 04:14:37 -05:00
|
|
|
.badge-wrapper {
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup:nth-of-type(2) {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2015-01-28 12:33:11 -06:00
|
|
|
// hide cancel upload link on IE9 (not supported)
|
|
|
|
.ie9 #cancel-file-upload { display: none; }
|
|
|
|
|
2015-09-23 09:05:41 -05:00
|
|
|
// only disabled when the device is touch-only
|
|
|
|
.touch.mobile-device #reply-control.open .grippie {
|
2015-09-14 22:09:12 -05:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
#reply-control {
|
|
|
|
.toggle-preview, #draft-status, #file-uploading {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -31px;
|
2014-03-06 00:14:51 -06:00
|
|
|
margin-top: 0;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.toggle-preview {
|
|
|
|
right: 5px;
|
|
|
|
}
|
2015-03-09 11:46:36 -05:00
|
|
|
#draft-status, #file-uploading {
|
2013-09-05 14:37:07 -05:00
|
|
|
right: 51%;
|
2015-03-09 11:46:36 -05:00
|
|
|
}
|
|
|
|
#file-uploading {
|
|
|
|
font-size: 0.857em;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2014-12-23 05:09:17 -06:00
|
|
|
transition: height 0.4s ease;
|
2013-09-05 14:37:07 -05:00
|
|
|
width: 100%;
|
2015-09-01 16:33:37 -05:00
|
|
|
z-index: 999;
|
2014-03-06 00:14:51 -06:00
|
|
|
height: 0;
|
2015-06-14 21:59:49 -05:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-03-06 00:14:51 -06:00
|
|
|
bottom: 0;
|
2014-12-15 21:12:56 -06:00
|
|
|
font-size: 1em;
|
2013-09-05 14:37:07 -05:00
|
|
|
position: fixed;
|
|
|
|
.toggler {
|
2014-10-22 01:17:54 -05:00
|
|
|
width: 15px;
|
|
|
|
right: 1px;
|
2013-09-05 14:37:07 -05:00
|
|
|
position: absolute;
|
2014-12-15 21:12:56 -06:00
|
|
|
font-size: 1.071em;
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2014-10-22 01:17:54 -05:00
|
|
|
padding: 0 10px 5px 10px;
|
2013-09-05 14:37:07 -05:00
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f078";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.cancel {
|
|
|
|
padding-left: 7px;
|
|
|
|
}
|
|
|
|
.control-row {
|
|
|
|
margin: 0 0 0 5px;
|
|
|
|
}
|
|
|
|
.saving-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.draft-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.grippie {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// The various states
|
|
|
|
&.open {
|
|
|
|
height: 300px;
|
|
|
|
.grippie {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.closed {
|
2014-03-06 00:14:51 -06:00
|
|
|
height: 0 !important;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
&.draft {
|
|
|
|
height: 40px !important;
|
|
|
|
cursor: pointer;
|
2015-06-14 21:59:49 -05:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 14:37:07 -05:00
|
|
|
.draft-text {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.toggler {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f077";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.saving {
|
|
|
|
height: 40px !important;
|
2015-06-14 21:59:49 -05:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 14:37:07 -05:00
|
|
|
.saving-text {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.toggler {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f00d";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.reply-area {
|
|
|
|
max-width: 1500px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
float: none;
|
2014-05-18 12:15:11 -05:00
|
|
|
.ac-wrap {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// When the post is new (new topic) the sizings are different
|
|
|
|
&.edit-title {
|
2013-10-19 17:18:25 -05:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
&.open {
|
|
|
|
height: 400px;
|
|
|
|
}
|
|
|
|
.contents {
|
2013-11-18 12:50:43 -06:00
|
|
|
input#reply-title {
|
2013-09-05 14:37:07 -05:00
|
|
|
padding: 7px 10px;
|
|
|
|
margin: 6px 10px 3px 0;
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2014-02-10 00:04:21 -06:00
|
|
|
|
|
|
|
}
|
2014-03-06 00:14:51 -06:00
|
|
|
input#reply-title {
|
|
|
|
width: 400px;
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2014-02-10 00:04:21 -06:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.wmd-controls {
|
2014-12-23 05:09:17 -06:00
|
|
|
transition: top 0.3s ease;
|
2013-09-05 14:37:07 -05:00
|
|
|
top: 100px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.contents {
|
2015-09-25 14:56:49 -05:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-top: 5px;
|
2013-09-05 14:37:07 -05:00
|
|
|
min-width: 1280px;
|
|
|
|
.form-element {
|
2015-08-24 05:16:45 -05:00
|
|
|
position: relative;
|
2013-11-18 12:50:43 -06:00
|
|
|
display: inline-block;
|
2014-05-10 23:50:03 -05:00
|
|
|
.select2-container {
|
2013-09-05 14:37:07 -05:00
|
|
|
width: 400px;
|
2015-02-08 11:01:51 -06:00
|
|
|
margin-top: 5px;
|
2013-09-05 14:37:07 -05:00
|
|
|
a {
|
|
|
|
padding-top: 4px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
b {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.category-combobox {
|
|
|
|
width: 430px;
|
|
|
|
@include medium-width { width: 285px; }
|
|
|
|
@include small-width { width: 220px; }
|
|
|
|
|
2014-05-10 23:50:03 -05:00
|
|
|
.select2-drop {
|
2013-09-05 14:37:07 -05:00
|
|
|
left: -9000px;
|
|
|
|
width: 428px;
|
|
|
|
@include medium-width { width: 283px; }
|
|
|
|
@include small-width { width: 218px; }
|
|
|
|
}
|
2014-05-10 23:50:03 -05:00
|
|
|
.select2-search input {
|
2013-09-05 14:37:07 -05:00
|
|
|
width: 378px;
|
|
|
|
@include medium-width { width: 233px; }
|
|
|
|
@include small-width { width: 168px; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-11-18 12:50:43 -06:00
|
|
|
.edit-reason-input {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
margin-left: 10px;
|
|
|
|
top: 18px;
|
|
|
|
#edit-reason {
|
|
|
|
margin: 0;
|
|
|
|
padding: 5px;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#reply-title {
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2013-09-05 14:37:07 -05:00
|
|
|
margin-right: 10px;
|
|
|
|
float: left;
|
|
|
|
&:disabled {
|
2015-06-14 21:59:49 -05:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input:disabled {
|
2015-06-14 21:59:49 -05:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input, .wmd-preview {
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $primary;
|
2014-06-30 04:06:13 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-preview {
|
2015-06-14 21:59:49 -05:00
|
|
|
border: 1px dashed dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-06-30 04:06:13 -05:00
|
|
|
overflow: auto;
|
|
|
|
visibility: visible;
|
2014-10-10 18:02:14 -05:00
|
|
|
cursor: default;
|
2013-09-05 14:37:07 -05:00
|
|
|
video {
|
|
|
|
max-width: 100%;
|
2014-12-08 14:39:36 -06:00
|
|
|
max-height: 500px;
|
2013-09-05 14:37:07 -05:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
audio {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
&.hidden {
|
|
|
|
width: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input {
|
2013-09-05 14:37:07 -05:00
|
|
|
bottom: 35px;
|
|
|
|
}
|
2014-06-30 04:06:13 -05:00
|
|
|
|
2013-09-05 14:37:07 -05:00
|
|
|
.submit-panel {
|
2015-06-22 06:56:45 -05:00
|
|
|
width: 28%;
|
2013-09-05 14:37:07 -05:00
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
bottom: 8px;
|
|
|
|
}
|
2013-11-26 18:06:20 -06:00
|
|
|
.auto-close-fields .examples {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2013-11-26 18:06:20 -06:00
|
|
|
.title-input, .category-input, .show-admin-options {
|
2013-09-05 14:37:07 -05:00
|
|
|
display: inline;
|
|
|
|
}
|
2014-01-13 18:00:23 -06:00
|
|
|
.show-admin-options {
|
2014-03-06 00:14:51 -06:00
|
|
|
vertical-align: top;
|
2014-01-13 18:00:23 -06:00
|
|
|
margin-top: 8px;
|
2015-06-14 21:59:49 -05:00
|
|
|
background: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-03-06 00:14:51 -06:00
|
|
|
&:hover {
|
2014-05-06 00:50:51 -05:00
|
|
|
color: $secondary;
|
|
|
|
background: $primary;
|
2014-02-23 19:47:44 -06:00
|
|
|
}
|
2014-01-13 18:00:23 -06:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
.title-input .popup-tip {
|
|
|
|
width: 300px;
|
2015-09-13 11:30:39 -05:00
|
|
|
margin-top: 8px;
|
|
|
|
left: 150px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
.category-input .popup-tip {
|
|
|
|
width: 240px;
|
|
|
|
left: 432px;
|
2013-10-08 13:40:31 -05:00
|
|
|
top: -19px;
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-to {
|
|
|
|
margin-bottom: 10px;
|
2015-04-04 01:37:22 -05:00
|
|
|
|
2015-08-07 14:43:29 -05:00
|
|
|
i {
|
2015-08-20 04:42:12 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2015-04-04 01:37:22 -05:00
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#reply-control {
|
|
|
|
&.hide-preview {
|
|
|
|
.wmd-controls {
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input {
|
2013-09-05 14:37:07 -05:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.preview-wrapper {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.textarea-wrapper {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wmd-controls {
|
2014-04-21 10:54:57 -05:00
|
|
|
left: 30px;
|
|
|
|
right: 30px;
|
2013-09-05 14:37:07 -05:00
|
|
|
position: absolute;
|
|
|
|
bottom: 48px;
|
2014-04-21 10:54:57 -05:00
|
|
|
top: 50px;
|
2013-09-05 14:37:07 -05:00
|
|
|
|
|
|
|
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input, .wmd-preview-scroller, .wmd-preview {
|
2015-09-16 13:13:44 -05:00
|
|
|
-moz-box-sizing: border-box;
|
2014-10-11 06:30:34 -05:00
|
|
|
box-sizing: border-box;
|
2013-09-05 14:37:07 -05:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-09-16 13:13:44 -05:00
|
|
|
min-height: auto;
|
2013-09-05 14:37:07 -05:00
|
|
|
padding: 7px;
|
|
|
|
margin: 0;
|
2014-05-06 00:50:51 -05:00
|
|
|
background-color: $secondary;
|
2013-09-05 14:37:07 -05:00
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-input, .wmd-preview-scroller {
|
2013-09-05 14:37:07 -05:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2014-06-30 05:34:40 -05:00
|
|
|
border: 0px;
|
2014-02-23 19:47:44 -06:00
|
|
|
border-top: 30px solid transparent;
|
2014-06-30 05:34:40 -05:00
|
|
|
@include border-radius-all(0);
|
2013-09-05 14:37:07 -05:00
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-preview-scroller {
|
2014-12-15 21:12:56 -06:00
|
|
|
font-size: 0.929em;
|
2014-03-27 09:18:48 -05:00
|
|
|
line-height: 18px;
|
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
overflow: scroll;
|
|
|
|
visibility: hidden;
|
|
|
|
.marker, .caret {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 14:37:07 -05:00
|
|
|
.textarea-wrapper, .preview-wrapper {
|
|
|
|
position: relative;
|
2015-09-16 13:13:44 -05:00
|
|
|
-moz-box-sizing: border-box;
|
2014-10-11 06:30:34 -05:00
|
|
|
box-sizing: border-box;
|
2013-09-05 14:37:07 -05:00
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
.textarea-wrapper {
|
|
|
|
padding-right: 5px;
|
|
|
|
float: left;
|
|
|
|
.popup-tip {
|
|
|
|
margin-top: 3px;
|
|
|
|
right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview-wrapper {
|
|
|
|
padding-left: 5px;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2015-07-13 15:36:38 -05:00
|
|
|
.wmd-button-bar {
|
2013-09-05 14:37:07 -05:00
|
|
|
top: 0;
|
|
|
|
position: absolute;
|
2015-06-14 21:59:49 -05:00
|
|
|
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2015-09-06 00:22:04 -05:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-05-06 00:50:51 -05:00
|
|
|
background-color: $secondary;
|
2013-09-05 14:37:07 -05:00
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.control-row.reply-area {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
2014-04-21 10:54:57 -05:00
|
|
|
|
2014-07-24 11:21:22 -05:00
|
|
|
@media all and (min-width: 1550px) {
|
2014-04-21 10:54:57 -05:00
|
|
|
#reply-control {
|
|
|
|
.wmd-controls {
|
|
|
|
width: 1450px;
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|