| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*
- * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /* TODO: change me */
- .ck-splitbutton-dropdown {
- &::after {
- display: none;
- }
- }
- .ck-rounded-corners .ck-splitbutton > .ck-button:not(.ck-splitbutton-arrow) {
- border-top-right-radius: unset;
- border-bottom-right-radius: unset;
- &:focus {
- z-index: calc(var(--ck-z-default) + 1);
- }
- }
- .ck-rounded-corners .ck-splitbutton > .ck-splitbutton-arrow {
- border-top-left-radius: unset;
- border-bottom-left-radius: unset;
- }
- .ck-splitbutton-arrow {
- padding-right: var(--ck-spacing-standard);
- & svg {
- width: 0;
- min-width: 0;
- }
- &::after {
- content: '';
- width: 0;
- height: 0;
- pointer-events: none;
- z-index: var(--ck-z-default);
- position: absolute;
- top: 50%;
- /* To make the triangle appear in the middle of split button the translation in X-axis
- * should be adjusted by the half of its width. */
- transform: translate3d(calc(-50% + 0.2em), -50%, 0);
- }
- }
|