mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX:; scope details change (#24715)
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
details {
|
details {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
.topic-body .cooked &,
|
||||||
|
.d-editor-preview & {
|
||||||
background-color: var(--primary-very-low);
|
background-color: var(--primary-very-low);
|
||||||
padding: 0.25rem 0.75rem;
|
padding: 0.25rem 0.75rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
@@ -17,6 +20,7 @@ details {
|
|||||||
code {
|
code {
|
||||||
background-color: rgba(var(--primary-rgb), 0.05);
|
background-color: rgba(var(--primary-rgb), 0.05);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
details > *,
|
details > *,
|
||||||
@@ -66,7 +70,9 @@ summary::-webkit-details-marker {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.elided {
|
.topic-body .cooked,
|
||||||
|
.d-editor-preview {
|
||||||
|
.elided {
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
@@ -117,4 +123,5 @@ summary::-webkit-details-marker {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user