mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 13:36:20 +08:00
137 lines
2.1 KiB
SCSS
137 lines
2.1 KiB
SCSS
.composer-popup-container {
|
|
max-width: 1500px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.composer-popup {
|
|
position: absolute;
|
|
width: calc(50% - 55px);
|
|
max-width: 724px;
|
|
top: 16px;
|
|
bottom: 16px;
|
|
left: 50%;
|
|
// The composer goes off-center at 1550px
|
|
@media (min-width: 1550px) {
|
|
left: calc(50%);
|
|
}
|
|
overflow-y: auto;
|
|
z-index: 110;
|
|
padding: 10px 10px 35px 10px;
|
|
box-shadow: 3px 3px 3px rgba(0,0,0, 0.34);
|
|
background: $highlight-medium;
|
|
|
|
&.urgent {
|
|
background: $danger-low;
|
|
}
|
|
|
|
&.education-message {
|
|
background-color: $tertiary-low;
|
|
}
|
|
|
|
h3 {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
a.close {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
color: $primary;
|
|
opacity: 0.5;
|
|
font-size: 1.071em;
|
|
&:before {
|
|
content: 'esc';
|
|
font-size: 0.85em;
|
|
margin-right: 0.5em;
|
|
}
|
|
}
|
|
|
|
a.close:hover {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
|
|
ul.topics {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
font-weight: normal;
|
|
margin-top: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.d-editor-container {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.custom-body {
|
|
background-color: $tertiary-low;
|
|
p {
|
|
max-width: 98%;
|
|
}
|
|
}
|
|
|
|
.similar-topics {
|
|
background-color: $tertiary-low;
|
|
|
|
a[href] {
|
|
color: $primary-medium;
|
|
}
|
|
|
|
.posts-count {
|
|
background-color: dark-light-choose($tertiary, $tertiary-medium);
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.search-link {
|
|
.fa, .blurb {
|
|
color: dark-light-choose($primary-high, $secondary-medium);
|
|
}
|
|
}
|
|
.badge-wrapper {
|
|
padding-left: 5px;
|
|
}
|
|
}
|
|
|
|
.composer-popup:nth-of-type(2) {
|
|
margin-left: 10px;
|
|
width: calc(50% - 65px);
|
|
}
|
|
|
|
#reply-control {
|
|
.reply-area {
|
|
max-width: 1500px;
|
|
margin: 0 auto;
|
|
padding: 0 10px 10px 10px;
|
|
box-sizing: border-box;
|
|
height: calc(100% - 11px);
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
.submit-panel {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#draft-status,
|
|
#file-uploading {
|
|
flex-grow: 1;
|
|
text-align: right;
|
|
}
|