Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 0cfd9a6

Browse files
committed
style(next): refactor
1 parent cbf51ca commit 0cfd9a6

File tree

1 file changed

+41
-0
lines changed
  • src/public/stylesheets/theme-next/notes

1 file changed

+41
-0
lines changed

src/public/stylesheets/theme-next/notes/text.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,47 @@
22
* TEXT NOTES
33
*/
44

5+
/*
6+
* CKEditor's Dropdowns
7+
*/
8+
9+
/* Dropdown body */
10+
:root .ck.ck-dropdown__panel,
11+
:root .ck.ck-balloon-rotator {
12+
box-shadow: 0px 10px 20px rgba(0, 0, 0, var(--dropdown-shadow-opacity));
13+
border: 1px solid var(--dropdown-border-color);
14+
border-radius: var(--dropdown-border-radius);
15+
background: var(--menu-background-color);
16+
backdrop-filter: var(--dropdown-backdrop-filter);
17+
padding: var(--menu-padding-size);
18+
}
19+
20+
:root ul.ck.ck-list,
21+
:root div.ck.ck-balloon-panel {
22+
border: none;
23+
background: transparent;
24+
}
25+
26+
/* Dropdown list item */
27+
:root ul.ck.ck-list button.ck-button {
28+
padding: 2px 16px;
29+
background: transparent;
30+
border: unset;
31+
border-radius: 6px !important;
32+
box-shadow: unset;
33+
}
34+
35+
/* Checked list item */
36+
:root ul.ck.ck-list button.ck-button.ck-on:not(:hover) {
37+
background: transparent !important;
38+
}
39+
40+
:root ul.ck.ck-list button.ck-button:hover,
41+
:root ul.ck.ck-list button.ck-button.ck-on:hover {
42+
background: var(--hover-item-background-color);
43+
color: var(--hover-item-color);
44+
}
45+
546
/*
647
* Code Blocks
748
*/

0 commit comments

Comments
 (0)