2019-01-04 01:03:01 +08:00
|
|
|
.reviewable {
|
2019-04-03 05:00:15 +08:00
|
|
|
.nav-pills {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-top: 1em;
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.reviewable-list {
|
|
|
|
flex: 1;
|
|
|
|
box-sizing: border-box;
|
2019-04-03 04:25:53 +08:00
|
|
|
max-width: 760px; // Match topic post width
|
|
|
|
margin-right: auto;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
|
|
|
width: 250px;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-list + .reviewable-filters {
|
|
|
|
margin-left: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-03 05:00:15 +08:00
|
|
|
.reviewable-settings {
|
|
|
|
p.description {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.saved {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
.reviewable-score-type {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-04 05:07:24 +08:00
|
|
|
.reviewable-user-info {
|
2019-01-04 01:03:01 +08:00
|
|
|
margin: 0.5em 0;
|
2019-04-05 02:45:04 +08:00
|
|
|
.reviewable-user-fields {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
2019-04-04 05:07:24 +08:00
|
|
|
|
|
|
|
.reviewable-user-details {
|
2019-04-05 02:45:04 +08:00
|
|
|
border-bottom: 1px solid $primary-low;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
|
2019-04-04 05:07:24 +08:00
|
|
|
display: flex;
|
|
|
|
.name {
|
|
|
|
width: 8em;
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-review {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
|
|
|
background-color: $primary-very-low;
|
|
|
|
padding: 0.5em 1em 1em 1em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.reviewable-filter {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
|
|
|
|
.filter-label {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.score-filter {
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-chooser {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-topics {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
td {
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-details {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
.btn {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-filters {
|
|
|
|
.topic-filter .btn {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.refresh {
|
|
|
|
height: 1em;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.score-filter {
|
|
|
|
width: 5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.user-flag-percentage {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-04-03 01:50:47 +08:00
|
|
|
justify-content: flex-end;
|
2019-01-04 01:03:01 +08:00
|
|
|
margin-left: 0.5em;
|
|
|
|
|
|
|
|
.percentage-label {
|
|
|
|
margin-right: 0.25em;
|
|
|
|
&.agreed {
|
|
|
|
color: $success;
|
|
|
|
}
|
|
|
|
&.disagreed {
|
|
|
|
color: $danger;
|
|
|
|
}
|
|
|
|
&.ignored {
|
|
|
|
color: $primary-medium;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.d-icon {
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-item {
|
|
|
|
margin-bottom: 1em;
|
2019-04-03 05:22:22 +08:00
|
|
|
padding-top: 2em;
|
|
|
|
border-top: 1px solid dark-light-choose($primary-low, $secondary-low);
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.topic-statuses {
|
2019-04-03 04:25:53 +08:00
|
|
|
font-size: $font-up-2;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-meta-data {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
2019-04-03 05:22:22 +08:00
|
|
|
margin-bottom: 0.5em;
|
2019-01-04 01:03:01 +08:00
|
|
|
font-size: $font-down-1;
|
2019-04-03 01:50:47 +08:00
|
|
|
align-items: baseline;
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-type {
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-right: 0.25em;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
.created-at {
|
2019-04-03 04:25:53 +08:00
|
|
|
margin-left: auto;
|
2019-01-04 01:03:01 +08:00
|
|
|
a {
|
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.score {
|
|
|
|
margin-right: 1em;
|
2019-04-03 01:50:47 +08:00
|
|
|
font-size: $font-down-1;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
.status {
|
|
|
|
color: dark-light-choose($primary-high, $secondary-high);
|
|
|
|
}
|
2019-04-03 05:22:22 +08:00
|
|
|
.reply-count {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-contents {
|
|
|
|
display: flex;
|
2019-04-03 01:50:47 +08:00
|
|
|
flex-wrap: wrap;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-actions {
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-top: 1.5em;
|
2019-01-04 01:03:01 +08:00
|
|
|
display: flex;
|
2019-04-03 01:50:47 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
button {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.reviewable-action,
|
|
|
|
.reviewable-action-dropdown {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
|
|
|
|
&.delete-user {
|
|
|
|
@extend .btn-danger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
padding-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-histories {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2019-04-03 01:50:47 +08:00
|
|
|
.reviewable-scores-and-history {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.reviewable-scores,
|
|
|
|
.reviewable-histories {
|
|
|
|
min-width: 50%;
|
|
|
|
|
|
|
|
.user {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2019-04-03 01:50:47 +08:00
|
|
|
white-space: nowrap;
|
2019-01-04 01:03:01 +08:00
|
|
|
|
|
|
|
.user-flag-percentage {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
|
|
|
|
.d-icon {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
color: $primary-high;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
2019-04-03 01:50:47 +08:00
|
|
|
|
|
|
|
.badge-notification {
|
|
|
|
line-height: $line-height-medium;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
border-width: 1px;
|
|
|
|
td:first-of-type {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
> tr > th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
> tr > th,
|
|
|
|
> tr > td {
|
2019-04-03 05:22:22 +08:00
|
|
|
padding: 0.5em;
|
2019-04-03 01:50:47 +08:00
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-conversation {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
|
|
|
|
.reviewable-conversation-post {
|
|
|
|
max-width: $topic-body-width;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
|
|
|
.username {
|
|
|
|
font-weight: bold;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.controls {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-04 04:49:57 +08:00
|
|
|
.reviewable-item {
|
2019-01-04 01:03:01 +08:00
|
|
|
.post-title {
|
|
|
|
background-color: yellow;
|
|
|
|
}
|
|
|
|
.created-by {
|
|
|
|
margin-right: 1em;
|
2019-04-03 01:50:47 +08:00
|
|
|
padding-top: 0.35em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.names {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-contents-wrapper {
|
|
|
|
display: flex;
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-contents {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-04-04 04:49:57 +08:00
|
|
|
|
|
|
|
.post-body {
|
|
|
|
max-width: $topic-body-width;
|
|
|
|
max-height: 300px;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
p,
|
|
|
|
aside {
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-04 01:03:01 +08:00
|
|
|
.post-topic {
|
2019-04-03 01:50:47 +08:00
|
|
|
width: 100%;
|
2019-01-04 01:03:01 +08:00
|
|
|
color: $primary-medium;
|
2019-04-03 01:50:47 +08:00
|
|
|
margin-bottom: 0.75em;
|
2019-04-03 02:54:55 +08:00
|
|
|
.title-text {
|
2019-04-03 05:22:22 +08:00
|
|
|
font-weight: bold;
|
2019-04-03 02:54:55 +08:00
|
|
|
color: $primary-high;
|
2019-04-03 01:50:47 +08:00
|
|
|
display: block;
|
|
|
|
font-size: $font-up-2;
|
|
|
|
margin-right: 0.75em;
|
|
|
|
}
|
|
|
|
.topic-statuses {
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-01-04 01:03:01 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.editable-fields {
|
|
|
|
width: 100%;
|
|
|
|
.editable-field {
|
|
|
|
.mini-tag-chooser {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-input-text {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reviewable-input-textarea {
|
|
|
|
width: 100%;
|
|
|
|
height: 10em;
|
|
|
|
}
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|