UX: fix solved colors
This commit is contained in:
parent
485f5fb36b
commit
4e687d4846
|
@ -1,24 +1,20 @@
|
||||||
|
$solved-color: green;
|
||||||
|
|
||||||
.select-kit {
|
.select-kit {
|
||||||
&.solved-status-filter {
|
&.solved-status-filter {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.solved-panel,
|
|
||||||
.post-controls .accepted,
|
|
||||||
.fa.accepted,
|
|
||||||
.accepted-text {
|
|
||||||
color: green;
|
|
||||||
.d-icon {
|
|
||||||
color: currentColor;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-controls span:not(.d-button-label) {
|
.post-controls span:not(.d-button-label) {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa.accepted {
|
||||||
|
color: $solved-color;
|
||||||
|
}
|
||||||
|
|
||||||
.post-controls {
|
.post-controls {
|
||||||
.accepted,
|
.accepted,
|
||||||
.unaccepted {
|
.unaccepted {
|
||||||
|
@ -26,6 +22,16 @@
|
||||||
margin-left: 7px;
|
margin-left: 7px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.accepted {
|
||||||
|
.d-icon,
|
||||||
|
.d-button-label {
|
||||||
|
color: $solved-color;
|
||||||
|
.discourse-no-touch & {
|
||||||
|
color: $solved-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-controls span.accepted-text {
|
.post-controls span.accepted-text {
|
||||||
|
@ -39,11 +45,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// you can style accepted answers however your want
|
|
||||||
.quote.accepted-answer {
|
|
||||||
// background-color: #E9FFE0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mobile-view .solved-panel {
|
.mobile-view .solved-panel {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
@ -56,10 +57,6 @@
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
// margin-bottom: 0px;
|
|
||||||
// padding: 4px 0px;
|
|
||||||
//border-top: 1px solid #ddd;
|
|
||||||
//background-color: #E9FFE0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
aside.quote .title.title-only {
|
aside.quote .title.title-only {
|
||||||
|
|
Loading…
Reference in New Issue