| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- .ck-dropdown {
- display: inline-block;
- position: relative;
- }
- .ck-dropdown__button {
- &:after {
- content: '';
- width: 0;
- height: 0;
- border-style: solid;
- border-width: .4em .4em 0 .4em;
- border-color: ck-color( 'text', 30 ) transparent;
- position: relative;
- top: .9em;
- margin-left: ck-spacing( 'medium' );
- }
- // #23
- .ck-button__label {
- width: 7em;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- .ck-dropdown__panel {
- border: 1px solid ck-border-color( 'foreground' );
- display: none;
- position: absolute;
- left: 0px;
- // Compensate double border from button and from box when positioned below the button.
- bottom: 2px;
- transform: translateY( 100% );
- background: ck-color( 'background' );
- z-index: ck-z();
- @include ck-rounded-corners();
- @include ck-drop-shadow();
- &-visible {
- display: inline-block;
- }
- }
|