mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Update Accordion editor styles
This commit is contained in:
parent
7cf9775ee5
commit
afe40c8792
@ -1571,9 +1571,13 @@ button.emoji-picker__category-button.active {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kg-accordion-card-heading {
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
.kg-accordion-card-heading h4 {
|
.kg-accordion-card-heading h4 {
|
||||||
font-weight: bold !important;
|
font-weight: bold !important;
|
||||||
font-size: 1.8rem !important;
|
font-size: 2rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-accordion-card-heading ::after {
|
.kg-accordion-card-heading ::after {
|
||||||
@ -1587,8 +1591,13 @@ button.emoji-picker__category-button.active {
|
|||||||
line-height: 1.6em;
|
line-height: 1.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kg-accordion-card-content {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.kg-accordion-card-content p {
|
.kg-accordion-card-content p {
|
||||||
font-size: 1.6rem !important;
|
font-size: 1.6rem !important;
|
||||||
|
font-family: var(--font-family);
|
||||||
}
|
}
|
||||||
|
|
||||||
.kg-accordion-card-content ::after,
|
.kg-accordion-card-content ::after,
|
||||||
|
@ -52,15 +52,17 @@
|
|||||||
{{!-- rendered (non-edit) mode view --}}
|
{{!-- rendered (non-edit) mode view --}}
|
||||||
|
|
||||||
<div class="kg-accordion-card">
|
<div class="kg-accordion-card">
|
||||||
<div class="flex items-center">
|
<div class="flex items-start justify-between">
|
||||||
<div style="width:12px;margin-right: 9px">
|
|
||||||
{{svg-jar "koenig/kg-toggle-card-open-arrow"}}
|
|
||||||
</div>
|
|
||||||
<div class="kg-accordion-card-heading">
|
<div class="kg-accordion-card-heading">
|
||||||
<h4>{{{this.formattedHeading}}}</h4>
|
<h4>{{{this.formattedHeading}}}</h4>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="width:24px; height:24px;" class="flex items-center justify-center">
|
||||||
|
<div style="width:14px;">
|
||||||
|
{{svg-jar "koenig/kg-toggle-card-open-arrow"}}
|
||||||
</div>
|
</div>
|
||||||
<div style="padding-left: 2px" class="kg-accordion-card-content">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="kg-accordion-card-content">
|
||||||
{{{this.formattedContent}}}
|
{{{this.formattedContent}}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user