2013-09-05 15:37:07 -04:00
|
|
|
// styles that apply to the reply pane that slides up to compose replies
|
|
|
|
|
|
|
|
// hack, this needs to be done cleaner
|
|
|
|
.private-message input.span8 {
|
|
|
|
width: 47%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-popup-container {
|
2014-11-20 00:46:11 -05:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
2013-09-09 16:54:33 -04:00
|
|
|
.composer-popup {
|
2014-11-20 00:46:11 -05:00
|
|
|
display: none !important; // can be removed if inline JS CSS is removed from composer-popup
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#reply-control {
|
2014-10-11 08:29:50 -04:00
|
|
|
// used for upload link
|
2014-05-26 10:53:05 -04:00
|
|
|
.composer-bottom-right {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: absolute;
|
2014-10-11 08:29:50 -04:00
|
|
|
bottom: -32px;
|
2014-10-11 08:08:25 -04:00
|
|
|
right: -5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-06-03 14:00:54 -04:00
|
|
|
.toggle-preview { display:none; }
|
2014-10-12 02:04:55 -04:00
|
|
|
.preview-wrapper { display:none; }
|
2014-07-09 16:40:22 -04:00
|
|
|
#mobile-uploader { display: none; }
|
2014-06-03 14:00:54 -04:00
|
|
|
#draft-status, #file-uploading, .mobile-file-upload {
|
2014-05-26 10:53:05 -04:00
|
|
|
float: right;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
#file-uploading {
|
|
|
|
left: 51%;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 0.857em;
|
2014-05-06 01:50:51 -04:00
|
|
|
color: scale-color($secondary, $lightness: 50%);
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
#draft-status {
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 75%), scale-color($secondary, $lightness: 25%));
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-12-23 06:09:17 -05:00
|
|
|
transition: height 0.4s ease;
|
2013-09-05 15:37:07 -04:00
|
|
|
width: 100%;
|
|
|
|
z-index: 1039;
|
2014-03-06 01:14:51 -05:00
|
|
|
height: 0;
|
2015-06-14 22:59:49 -04:00
|
|
|
background-color: dark-light-diff($primary, $secondary, 90%, -60%);
|
2014-03-06 01:14:51 -05:00
|
|
|
bottom: 0;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1em;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: fixed;
|
|
|
|
.toggler {
|
2014-10-22 02:27:06 -04:00
|
|
|
width: 15px;
|
|
|
|
right: 1px;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: absolute;
|
2014-12-15 22:12:56 -05:00
|
|
|
font-size: 1.071em;
|
2015-08-20 05:42:12 -04:00
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
2014-10-22 02:27:06 -04:00
|
|
|
padding: 0 10px 5px 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f078";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a.cancel {
|
|
|
|
padding-left: 7px;
|
2013-09-09 16:54:33 -04:00
|
|
|
float: left;
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
.control-row {
|
|
|
|
margin: 0 0 0 5px;
|
2014-10-14 17:12:48 -04:00
|
|
|
.reply-to {
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 92%;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.saving-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.draft-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.grippie {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
// The various states
|
|
|
|
&.open {
|
2014-07-06 22:32:20 -04:00
|
|
|
max-height: 100%; // ensure no overflow e.g. on small Android
|
2014-06-10 17:12:28 -04:00
|
|
|
height: 270px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
&.closed {
|
2014-03-06 01:14:51 -05:00
|
|
|
height: 0 !important;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
&.draft {
|
2014-10-22 02:37:34 -04:00
|
|
|
height: 35px !important;
|
2013-09-05 15:37:07 -04:00
|
|
|
cursor: pointer;
|
2015-06-14 22:59:49 -04:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 15:37:07 -04:00
|
|
|
.draft-text {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
margin-right: 40px;
|
|
|
|
}
|
|
|
|
.toggler {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f077";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.saving {
|
|
|
|
height: 40px !important;
|
2015-06-14 22:59:49 -04:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-09-05 15:37:07 -04:00
|
|
|
.saving-text {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.toggler {
|
|
|
|
&:before {
|
|
|
|
font-family: "FontAwesome";
|
|
|
|
content: "\f00d";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-27 18:44:46 -04:00
|
|
|
// if this is a new topic, make room for the category field in the editor on
|
|
|
|
// a small screen mobile device
|
2013-09-05 15:37:07 -04:00
|
|
|
&.edit-title {
|
|
|
|
&.open {
|
2014-07-06 22:32:20 -04:00
|
|
|
max-height: 100%; // ensure no overflow e.g. on small Android
|
2014-06-10 17:12:28 -04:00
|
|
|
height: 250px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.contents {
|
|
|
|
input#reply-title {
|
2014-10-11 08:29:50 -04:00
|
|
|
padding: 5px;
|
2014-10-13 02:28:33 -04:00
|
|
|
margin-top: 6px;
|
|
|
|
width: 99%;
|
|
|
|
box-sizing: border-box;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.wmd-controls {
|
2014-12-23 06:09:17 -05:00
|
|
|
transition: top 0.3s ease;
|
2014-10-11 08:29:50 -04:00
|
|
|
top: 110px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.contents {
|
2014-10-11 08:08:25 -04:00
|
|
|
padding: 8px 5px 0 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
.form-element {
|
2014-05-11 00:50:03 -04:00
|
|
|
.select2-container {
|
2014-10-11 07:37:30 -04:00
|
|
|
width: 99%;
|
2013-09-05 15:37:07 -04:00
|
|
|
margin-top: 6px;
|
|
|
|
a {
|
|
|
|
padding-top: 4px;
|
|
|
|
height: 28px;
|
|
|
|
}
|
|
|
|
b {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2014-06-05 12:09:08 -04:00
|
|
|
.edit-reason-input, .display-edit-reason {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-06-03 15:19:18 -04:00
|
|
|
.edit-reason-input {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 2px;
|
|
|
|
#edit-reason {
|
|
|
|
margin: 0;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
#reply-title {
|
|
|
|
margin-right: 10px;
|
|
|
|
&:disabled {
|
2015-08-20 05:42:12 -04:00
|
|
|
background-color: dark-light-choose(scale-color($primary, $lightness: 75%), scale-color($secondary, $lightness: 25%));
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-input:disabled {
|
2015-08-20 05:42:12 -04:00
|
|
|
background-color: dark-light-choose(scale-color($primary, $lightness: 75%), scale-color($secondary, $lightness: 25%));
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-input {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: darken($primary, 40%);
|
2014-06-30 05:06:13 -04:00
|
|
|
}
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-input {
|
2013-09-05 15:37:07 -04:00
|
|
|
bottom: 35px;
|
|
|
|
}
|
|
|
|
.submit-panel {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
2014-03-30 01:48:59 -04:00
|
|
|
bottom: 2px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2013-10-17 13:17:38 -04:00
|
|
|
.category-input {
|
2014-10-11 08:49:18 -04:00
|
|
|
// hack, select2 is using inline styles
|
|
|
|
.select2-container {
|
|
|
|
width: 99% !important;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2014-08-01 15:11:55 -04:00
|
|
|
.popup-tip .close {
|
|
|
|
padding: 0 2px 2px 8px; // so my fingers can touch the little x
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
.title-input .popup-tip {
|
2013-10-25 11:17:11 -04:00
|
|
|
width: 240px;
|
|
|
|
right: 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.category-input .popup-tip {
|
|
|
|
width: 240px;
|
2013-10-25 11:17:11 -04:00
|
|
|
right: 5px;
|
|
|
|
}
|
|
|
|
.textarea-wrapper .popup-tip {
|
|
|
|
top: 28px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2013-10-17 13:17:38 -04:00
|
|
|
button.btn.no-text {
|
|
|
|
margin: 7px 0 0 5px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
#reply-control.edit-title.private-message {
|
|
|
|
.wmd-controls {
|
2014-12-23 06:09:17 -05:00
|
|
|
transition: top 0.3s ease;
|
2014-03-27 18:47:55 -04:00
|
|
|
top: 120px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#reply-control {
|
2014-10-11 06:59:26 -04:00
|
|
|
|
2013-09-05 15:37:07 -04:00
|
|
|
.wmd-controls {
|
2013-09-10 23:56:55 -04:00
|
|
|
left: 10px;
|
|
|
|
right: 10px;
|
2013-09-05 15:37:07 -04:00
|
|
|
position: absolute;
|
2014-03-30 01:48:59 -04:00
|
|
|
top: 40px;
|
2014-10-11 08:29:50 -04:00
|
|
|
bottom: 50px;
|
2013-09-05 15:37:07 -04:00
|
|
|
display: block;
|
|
|
|
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-input {
|
2013-09-05 15:37:07 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
padding: 7px;
|
|
|
|
margin: 0;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-09-05 15:37:07 -04:00
|
|
|
word-wrap: break-word;
|
2014-10-11 08:08:25 -04:00
|
|
|
box-sizing: border-box;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-input {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2014-03-27 10:18:48 -04:00
|
|
|
}
|
2014-10-11 06:59:26 -04:00
|
|
|
.textarea-wrapper {
|
2013-09-05 15:37:07 -04:00
|
|
|
position: relative;
|
2014-10-11 07:30:34 -04:00
|
|
|
box-sizing: border-box;
|
2013-09-05 15:37:07 -04:00
|
|
|
height: 100%;
|
|
|
|
min-height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
.popup-tip {
|
|
|
|
margin-top: 3px;
|
|
|
|
right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-13 16:36:38 -04:00
|
|
|
.wmd-button-bar {
|
2014-05-26 10:53:05 -04:00
|
|
|
display: none;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
}
|
2014-07-07 11:35:52 -04:00
|
|
|
|
|
|
|
// make sure the category selector *NEVER* gets focus by default on mobile anywhere
|
|
|
|
.select2-hidden,
|
|
|
|
.select2-search,
|
|
|
|
.select2-focusser {
|
|
|
|
display:none !important;
|
|
|
|
}
|