Skip to content

Commit

Permalink
Merge pull request #7929 from ckeditor/i/7928-arrow-shadows
Browse files Browse the repository at this point in the history
Other: Balloon panel arrows pointing south should have realistic shadows. Closes #7928.
  • Loading branch information
panr authored Sep 1, 2020
2 parents 23bf860 + 5e5b42d commit 1c0b5c9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
--ck-balloon-arrow-offset: 2px;
--ck-balloon-arrow-height: 10px;
--ck-balloon-arrow-half-width: 8px;
--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);
}

.ck.ck-balloon-panel {
Expand Down Expand Up @@ -53,7 +54,8 @@
}

&::before {
border-color: var(--ck-color-panel-border) transparent transparent;
border-color: var(--ck-color-panel-border) transparent transparent;
filter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));
}

&::after {
Expand Down

0 comments on commit 1c0b5c9

Please sign in to comment.