2022-05-18 03:44:25 +08:00
|
|
|
html.composer-open {
|
|
|
|
#main-outlet {
|
2022-08-01 11:02:11 +08:00
|
|
|
padding-bottom: var(--composer-height);
|
2022-05-18 03:44:25 +08:00
|
|
|
transition: padding-bottom 250ms ease;
|
|
|
|
}
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
#reply-control {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-11-28 04:23:18 +08:00
|
|
|
bottom: 0;
|
|
|
|
height: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-09-11 01:29:14 +08:00
|
|
|
max-width: $reply-area-max-width;
|
2017-12-02 11:23:12 +08:00
|
|
|
width: 100%;
|
|
|
|
&.hide-preview {
|
2018-06-08 17:49:31 +08:00
|
|
|
max-width: 740px;
|
2017-12-02 11:23:12 +08:00
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
@media screen and (max-width: 1200px) {
|
|
|
|
min-width: 0;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("composer", "content");
|
|
|
|
transition: height 250ms ease, background 250ms ease, transform 250ms ease,
|
2020-03-30 21:23:00 +08:00
|
|
|
max-width 250ms ease, padding-bottom 250ms ease;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("composer");
|
2017-11-08 17:39:26 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.reply-area {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.saving-text,
|
|
|
|
.draft-text {
|
|
|
|
display: none;
|
2021-12-24 19:38:33 +08:00
|
|
|
padding-left: 8px;
|
|
|
|
|
2017-11-08 17:39:26 +08:00
|
|
|
.spinner {
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-left: 8px;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-color: var(--secondary);
|
2017-11-28 04:23:18 +08:00
|
|
|
border-right-color: transparent;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.open {
|
2022-08-01 11:02:11 +08:00
|
|
|
height: var(--composer-height);
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.closed {
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.draft,
|
|
|
|
&.saving {
|
|
|
|
height: 40px !important;
|
2017-11-28 04:23:18 +08:00
|
|
|
align-items: center;
|
2020-08-04 10:57:10 +08:00
|
|
|
background: var(--tertiary);
|
|
|
|
color: var(--secondary);
|
2017-11-28 04:23:18 +08:00
|
|
|
flex-direction: row;
|
2021-12-24 19:38:33 +08:00
|
|
|
justify-content: space-between;
|
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.composer-controls {
|
|
|
|
display: flex;
|
2021-12-24 19:38:33 +08:00
|
|
|
gap: 8px;
|
2021-12-01 00:41:22 +08:00
|
|
|
padding-right: 8px;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.toggle-toolbar {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.d-icon {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--secondary);
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.draft {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
.draft-text {
|
|
|
|
display: block;
|
|
|
|
}
|
2018-06-08 17:49:31 +08:00
|
|
|
.grippie,
|
|
|
|
.saving-text {
|
2017-11-08 17:39:26 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.saving .saving-text {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reply-to {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-bottom: 8px;
|
2017-11-28 04:23:18 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-12-01 00:41:22 +08:00
|
|
|
justify-content: flex-end;
|
2021-04-08 04:15:07 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.reply-details {
|
2021-12-24 19:38:33 +08:00
|
|
|
flex: 1;
|
2018-11-27 05:49:57 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-12-24 19:38:33 +08:00
|
|
|
min-width: 0;
|
2018-02-03 11:31:55 +08:00
|
|
|
white-space: nowrap;
|
2018-11-27 05:49:57 +08:00
|
|
|
|
|
|
|
.d-icon {
|
2021-04-08 04:15:07 +08:00
|
|
|
color: var(--primary-medium);
|
2018-11-27 05:49:57 +08:00
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
2018-02-01 23:42:56 +08:00
|
|
|
.composer-action-title {
|
2021-12-01 00:41:22 +08:00
|
|
|
display: flex;
|
2018-02-01 23:42:56 +08:00
|
|
|
align-items: center;
|
2018-02-03 11:31:55 +08:00
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
2018-02-07 05:17:27 +08:00
|
|
|
|
2018-02-03 11:31:55 +08:00
|
|
|
.avatar {
|
|
|
|
width: 20px;
|
|
|
|
}
|
2018-02-01 23:42:56 +08:00
|
|
|
|
2018-02-12 23:27:24 +08:00
|
|
|
.action-title {
|
2021-01-28 05:17:08 +08:00
|
|
|
line-height: normal;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-02-12 23:27:24 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
.topic-link,
|
|
|
|
.user-link,
|
|
|
|
.post-link {
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-right: 8px;
|
2018-02-01 23:42:56 +08:00
|
|
|
}
|
|
|
|
|
2018-02-03 11:31:55 +08:00
|
|
|
.username {
|
|
|
|
margin-right: 5px;
|
|
|
|
max-width: 100px;
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2018-02-03 11:31:55 +08:00
|
|
|
@media screen and (max-width: 500px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-01 23:42:56 +08:00
|
|
|
.d-icon {
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-right: 8px;
|
2018-02-01 23:42:56 +08:00
|
|
|
}
|
2018-02-02 01:41:11 +08:00
|
|
|
|
|
|
|
img.avatar {
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
2018-02-01 23:42:56 +08:00
|
|
|
}
|
2021-12-01 00:41:22 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.composer-controls {
|
2018-10-24 04:37:36 +08:00
|
|
|
display: flex;
|
2021-12-24 19:38:33 +08:00
|
|
|
gap: 8px;
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-left: 8px;
|
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.whisper,
|
|
|
|
.display-edit-reason {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2019-10-01 08:58:31 +08:00
|
|
|
.whisper {
|
2020-05-27 07:17:09 +08:00
|
|
|
margin: 0 0.25em;
|
2019-10-01 08:58:31 +08:00
|
|
|
}
|
|
|
|
|
2020-04-30 10:50:26 +08:00
|
|
|
.unlist {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
}
|
|
|
|
|
2018-06-13 16:31:46 +08:00
|
|
|
.display-edit-reason {
|
2019-10-01 08:58:31 +08:00
|
|
|
display: inline-flex;
|
|
|
|
a {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
padding: 0.3em 0.5em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2019-10-01 08:58:31 +08:00
|
|
|
}
|
2018-06-13 16:31:46 +08:00
|
|
|
}
|
|
|
|
|
2017-11-08 17:39:26 +08:00
|
|
|
#edit-reason {
|
2019-10-01 08:58:31 +08:00
|
|
|
margin: 0 4px;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-selector,
|
|
|
|
.title-and-category {
|
|
|
|
display: flex;
|
2017-11-28 04:23:18 +08:00
|
|
|
width: 100%;
|
2017-11-08 17:39:26 +08:00
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
2021-12-24 19:38:33 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-selector {
|
|
|
|
margin-bottom: 8px;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.title-input {
|
|
|
|
position: relative;
|
2017-11-28 04:23:18 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 50%;
|
|
|
|
|
|
|
|
input {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-tags {
|
|
|
|
.title-input {
|
|
|
|
flex: 1 1 100%;
|
|
|
|
}
|
2021-02-22 13:49:12 +08:00
|
|
|
|
|
|
|
.archetype-private_message & {
|
|
|
|
// PMs don's have categories, so we need a wider tag input
|
|
|
|
.mini-tag-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.category-input {
|
|
|
|
display: flex;
|
2020-08-27 07:38:20 +08:00
|
|
|
flex: 1 0 40%;
|
|
|
|
max-width: 40%;
|
2021-12-01 00:41:22 +08:00
|
|
|
margin: 0 0 8px 8px;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.category-chooser {
|
|
|
|
display: flex;
|
2018-12-29 03:52:21 +08:00
|
|
|
flex: 1 0 auto;
|
2020-08-27 07:38:20 +08:00
|
|
|
max-width: 100%;
|
2017-11-28 04:23:18 +08:00
|
|
|
width: auto;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2020-08-27 07:38:20 +08:00
|
|
|
.select-kit-header {
|
2021-12-24 19:38:33 +08:00
|
|
|
color: var(--primary-high);
|
2020-08-27 07:38:20 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2022-09-21 10:59:47 +08:00
|
|
|
.select-kit-body {
|
|
|
|
max-width: 450px;
|
|
|
|
}
|
|
|
|
|
2020-08-27 07:38:20 +08:00
|
|
|
// below needed for text-overflow: ellipsis;
|
|
|
|
.selected-name {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
.name {
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
.badge-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
// This prevents the first category from being too-truncated at the expense of a long subcategory
|
|
|
|
.badge-wrapper:first-of-type:not(:last-of-type) {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.with-tags {
|
2020-08-27 07:38:20 +08:00
|
|
|
.title-and-category {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.category-input {
|
|
|
|
margin-left: 0;
|
2021-12-24 19:38:33 +08:00
|
|
|
margin-bottom: 8px;
|
2020-08-27 07:38:20 +08:00
|
|
|
min-width: 0; // allows flex to shrink
|
|
|
|
flex-wrap: wrap;
|
2021-12-24 19:38:33 +08:00
|
|
|
max-width: calc(50% - 4px);
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.add-warning {
|
2021-12-24 19:38:33 +08:00
|
|
|
color: var(--primary-high);
|
|
|
|
padding-left: 8px;
|
2018-09-19 20:37:04 +08:00
|
|
|
margin-bottom: 0;
|
2017-12-05 00:15:10 +08:00
|
|
|
display: flex;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-12-05 00:15:10 +08:00
|
|
|
input {
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-right: 8px;
|
2017-12-05 00:15:10 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#reply-title {
|
2021-12-24 19:38:33 +08:00
|
|
|
margin-bottom: 8px;
|
2017-11-28 04:23:18 +08:00
|
|
|
flex-basis: 50%;
|
2020-08-27 07:38:20 +08:00
|
|
|
width: unset;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2020-08-03 22:01:04 +08:00
|
|
|
&:focus {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
2023-01-24 00:39:57 +08:00
|
|
|
.category-input + .mini-tag-chooser {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
2018-02-14 00:23:12 +08:00
|
|
|
.mini-tag-chooser {
|
2021-12-24 19:38:33 +08:00
|
|
|
flex-grow: 1;
|
|
|
|
max-width: calc(50% - 4px);
|
2023-01-20 21:59:25 +08:00
|
|
|
margin: 0 0 8px 0px;
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("composer", "dropdown");
|
2021-12-24 19:38:33 +08:00
|
|
|
.select-kit-header {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.wmd-controls {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.submit-panel {
|
2021-12-24 19:38:33 +08:00
|
|
|
align-items: center;
|
2017-11-28 04:23:18 +08:00
|
|
|
display: flex;
|
|
|
|
flex-shrink: 0;
|
2021-12-01 00:41:22 +08:00
|
|
|
margin-top: 8px;
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.save-or-cancel {
|
|
|
|
align-items: center;
|
2021-12-24 19:38:33 +08:00
|
|
|
display: flex;
|
2021-12-01 00:41:22 +08:00
|
|
|
flex: 1 1 auto;
|
|
|
|
|
2021-07-21 01:58:38 +08:00
|
|
|
.btn-primary {
|
2017-11-28 04:23:18 +08:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-28 04:23:18 +08:00
|
|
|
.cancel {
|
2021-12-24 19:38:33 +08:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2018-03-13 10:31:02 +08:00
|
|
|
margin-left: 1.25em;
|
2018-03-10 11:29:42 +08:00
|
|
|
line-height: normal;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2018-03-10 11:29:42 +08:00
|
|
|
transition: color 250ms;
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2021-02-04 23:28:35 +08:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2018-03-10 11:29:42 +08:00
|
|
|
}
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
2021-12-24 19:38:33 +08:00
|
|
|
|
2017-11-08 17:39:26 +08:00
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
|
|
|
#file-uploading {
|
|
|
|
display: flex;
|
2018-03-17 04:10:01 +08:00
|
|
|
align-items: center;
|
2017-12-02 11:31:40 +08:00
|
|
|
a {
|
|
|
|
margin-left: 5px;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2017-12-02 11:31:40 +08:00
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
.spinner {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
2019-04-19 15:18:01 +08:00
|
|
|
#draft-status .d-icon-user-edit {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2019-04-19 15:18:01 +08:00
|
|
|
font-size: 20px;
|
|
|
|
vertical-align: -5.5px;
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
#draft-status,
|
|
|
|
#file-uploading {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high);
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
2021-06-30 16:45:47 +08:00
|
|
|
|
|
|
|
#file-uploader {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-11-08 17:39:26 +08:00
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
.autocomplete {
|
2018-06-08 17:49:31 +08:00
|
|
|
z-index: z("composer", "dropdown") + 1;
|
2014-04-21 03:17:11 +08:00
|
|
|
position: absolute;
|
2022-12-19 19:31:45 +08:00
|
|
|
max-width: 300px;
|
|
|
|
width: 300px;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-low);
|
2022-12-19 19:31:45 +08:00
|
|
|
box-shadow: shadow("dropdown-lite");
|
|
|
|
border-radius: 8px;
|
2022-10-25 01:37:01 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2017-01-04 11:39:21 +08:00
|
|
|
|
2017-01-04 12:37:02 +08:00
|
|
|
li {
|
2022-12-19 19:31:45 +08:00
|
|
|
&:first-of-type a {
|
|
|
|
border-top-left-radius: 8px;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
}
|
|
|
|
&:last-of-type a {
|
|
|
|
border-bottom-left-radius: 8px;
|
|
|
|
border-bottom-right-radius: 8px;
|
2015-11-30 14:03:47 +08:00
|
|
|
}
|
2017-01-04 11:39:21 +08:00
|
|
|
a {
|
2019-11-07 03:00:29 +08:00
|
|
|
@include ellipsis;
|
2022-10-25 03:34:41 +08:00
|
|
|
align-items: center;
|
2022-12-19 19:31:45 +08:00
|
|
|
color: var(--primary);
|
2022-10-25 01:37:01 +08:00
|
|
|
display: flex;
|
2022-12-19 19:31:45 +08:00
|
|
|
gap: 0.25em;
|
|
|
|
padding: 0.3em 1em;
|
2017-01-04 11:39:21 +08:00
|
|
|
|
2022-10-25 01:37:01 +08:00
|
|
|
@include hover {
|
|
|
|
background-color: var(--highlight-low);
|
|
|
|
text-decoration: none;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2022-10-25 01:37:01 +08:00
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
&.selected {
|
2022-12-21 23:11:53 +08:00
|
|
|
background-color: var(--tertiary-low);
|
2022-12-19 19:31:45 +08:00
|
|
|
|
|
|
|
.username,
|
|
|
|
.name,
|
|
|
|
.emoji-shortname {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2022-10-25 01:37:01 +08:00
|
|
|
|
2022-12-19 19:31:45 +08:00
|
|
|
.avatar {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
2022-10-25 01:37:01 +08:00
|
|
|
|
2022-12-19 19:31:45 +08:00
|
|
|
.name {
|
2023-01-03 22:20:12 +08:00
|
|
|
display: contents;
|
2022-12-19 19:31:45 +08:00
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
2022-10-25 01:37:01 +08:00
|
|
|
|
2022-12-19 19:31:45 +08:00
|
|
|
.status-description {
|
|
|
|
@include ellipsis;
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
color: var(--primary-high);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2022-08-30 01:16:48 +08:00
|
|
|
|
|
|
|
.relative-date {
|
|
|
|
font-size: var(--font-down-3);
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
2022-10-25 01:37:01 +08:00
|
|
|
|
|
|
|
.d-icon-users {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2022-12-19 19:31:45 +08:00
|
|
|
|
|
|
|
&.ac-user {
|
|
|
|
li a {
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
}
|
|
|
|
.emoji {
|
|
|
|
height: 0.75em;
|
|
|
|
width: 0.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ac-emoji {
|
|
|
|
li:last-of-type a {
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
.emoji {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
div.ac-wrap.disabled {
|
|
|
|
input {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: none;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
.item a {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: none;
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
div.ac-wrap div.item a.remove,
|
|
|
|
.remove-link {
|
2015-11-09 21:52:04 +08:00
|
|
|
margin-left: 4px;
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-down-1);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-small);
|
2018-02-01 00:44:51 +08:00
|
|
|
padding: 1px 3.5px;
|
2015-11-09 21:52:04 +08:00
|
|
|
border-radius: 12px;
|
2018-02-01 00:44:51 +08:00
|
|
|
box-sizing: border-box;
|
2020-08-04 10:57:10 +08:00
|
|
|
border: 1px solid var(--primary-low);
|
2015-11-09 21:52:04 +08:00
|
|
|
&:hover {
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--danger-low);
|
|
|
|
border: 1px solid var(--danger-medium);
|
2015-11-09 21:52:04 +08:00
|
|
|
text-decoration: none;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--danger);
|
2015-11-09 21:52:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
div.ac-wrap {
|
2016-06-28 16:14:06 +08:00
|
|
|
max-height: 150px;
|
2018-02-01 00:44:51 +08:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2018-09-19 20:37:04 +08:00
|
|
|
align-items: center;
|
|
|
|
min-height: 30px;
|
|
|
|
box-sizing: border-box;
|
2014-04-21 03:17:11 +08:00
|
|
|
div.item {
|
|
|
|
float: left;
|
2018-02-01 00:44:51 +08:00
|
|
|
padding: 4px 10px;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-large);
|
2014-04-21 03:17:11 +08:00
|
|
|
span {
|
|
|
|
display: inline-block;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
2016-06-28 16:14:06 +08:00
|
|
|
|
|
|
|
.ac-collapsed-button {
|
|
|
|
float: left;
|
|
|
|
border-radius: 20px;
|
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2014-04-21 03:17:11 +08:00
|
|
|
input[type="text"] {
|
|
|
|
float: left;
|
2019-11-21 01:32:00 +08:00
|
|
|
&.fullwidth-input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-04-21 03:17:11 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-13 14:52:15 +08:00
|
|
|
.md-table {
|
|
|
|
overflow-y: auto;
|
2018-08-08 04:15:28 +08:00
|
|
|
margin: 1em 0;
|
2018-08-09 03:51:11 +08:00
|
|
|
.mobile-view & {
|
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2018-02-01 23:42:56 +08:00
|
|
|
}
|
2019-04-11 22:03:36 +08:00
|
|
|
|
|
|
|
@keyframes transformer {
|
2019-04-12 08:28:10 +08:00
|
|
|
90% {
|
2019-04-11 22:03:36 +08:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-10-08 23:16:41 +08:00
|
|
|
|
|
|
|
body.ios-safari-composer-hacks {
|
|
|
|
#main-outlet,
|
|
|
|
header,
|
|
|
|
.grippie,
|
|
|
|
html:not(.fullscreen-composer) & .toggle-fullscreen {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#reply-control {
|
|
|
|
top: 0px;
|
|
|
|
&.open {
|
|
|
|
height: calc(var(--composer-vh, 1vh) * 100);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-30 21:23:00 +08:00
|
|
|
|
|
|
|
body:not(.ios-safari-composer-hacks) {
|
|
|
|
#reply-control.open {
|
2021-09-21 00:21:24 +08:00
|
|
|
--min-height: 255px;
|
|
|
|
min-height: var(--min-height);
|
2021-09-24 02:51:06 +08:00
|
|
|
max-height: calc(100vh - var(--header-offset, 4em));
|
2021-09-21 00:21:24 +08:00
|
|
|
&.composer-action-reply {
|
|
|
|
// we can let the reply composer get a little shorter
|
|
|
|
min-height: calc(var(--min-height) - 4em);
|
|
|
|
}
|
2020-03-30 21:23:00 +08:00
|
|
|
padding-bottom: var(--composer-ipad-padding);
|
2022-09-27 04:35:58 +08:00
|
|
|
padding-bottom: calc(10px + env(keyboard-inset-height));
|
2022-09-28 22:02:03 +08:00
|
|
|
box-sizing: border-box;
|
2020-03-30 21:23:00 +08:00
|
|
|
}
|
|
|
|
}
|
2020-08-27 07:38:20 +08:00
|
|
|
|
2021-04-08 04:15:07 +08:00
|
|
|
.toggle-preview {
|
2021-12-24 19:38:33 +08:00
|
|
|
margin-left: 8px;
|
2021-04-08 04:15:07 +08:00
|
|
|
transition: all 0.33s ease-out;
|
2021-12-01 00:41:22 +08:00
|
|
|
|
2021-04-08 04:15:07 +08:00
|
|
|
&.active {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2021-12-01 00:41:22 +08:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2021-04-08 04:15:07 +08:00
|
|
|
}
|
2022-01-06 23:28:18 +08:00
|
|
|
|
|
|
|
.draft-error {
|
|
|
|
color: var(--danger);
|
|
|
|
}
|