Skip to content

Commit ec3d7bd

Browse files
committed
style(next): ckeditor: restyle dropdowns
1 parent b851287 commit ec3d7bd

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

src/public/stylesheets/theme-next/shell.css

+41
Original file line numberDiff line numberDiff line change
@@ -1658,4 +1658,45 @@ body .calendar-dropdown-widget .calendar-body a:hover {
16581658
/* Promoted attributes */
16591659
.promoted-attribute-cell div.input-group {
16601660
margin: 1px 0;
1661+
}
1662+
1663+
/*
1664+
CKEditor's Dropdowns
1665+
*/
1666+
1667+
/* Dropdown body */
1668+
:root .ck.ck-dropdown__panel,
1669+
:root .ck.ck-balloon-rotator {
1670+
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
1671+
border: 1px solid var(--dropdown-border-color);
1672+
border-radius: var(--dropdown-border-radius);
1673+
background: var(--menu-background-color);
1674+
backdrop-filter: var(--dropdown-backdrop-filter);
1675+
padding: var(--menu-padding-size);
1676+
}
1677+
1678+
:root ul.ck.ck-list,
1679+
:root div.ck.ck-balloon-panel {
1680+
border: none;
1681+
background: transparent;
1682+
}
1683+
1684+
/* Dropdown list item */
1685+
:root ul.ck.ck-list button.ck-button {
1686+
padding: 2px 16px;
1687+
background: transparent;
1688+
border: unset;
1689+
border-radius: 6px !important;
1690+
box-shadow: unset;
1691+
}
1692+
1693+
/* Checked list item */
1694+
:root ul.ck.ck-list button.ck-button.ck-on:not(:hover) {
1695+
background: transparent !important;
1696+
}
1697+
1698+
:root ul.ck.ck-list button.ck-button:hover,
1699+
:root ul.ck.ck-list button.ck-button.ck-on:hover {
1700+
background: var(--hover-item-background-color);
1701+
color: var(--hover-item-color);
16611702
}

0 commit comments

Comments
 (0)