| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- .ck-list {
- @include ck-rounded-corners();
- @include ck-unselectable();
- // Crop the the items when the list has huge border-radius.
- overflow: hidden;
- list-style-type: none;
- background: ck-color( 'list-background' );
- &__item {
- padding: ck-spacing( 'medium' );
- cursor: default;
- min-width: 12em;
- &:hover,
- &:focus {
- background: ck-color( 'list-item-background-hover' );
- }
- &:focus {
- @include ck-box-shadow( $ck-focus-outer-shadow );
- position: relative;
- z-index: ck-z();
- outline: none;
- }
- &_active {
- background: ck-color( 'list-item-background-active' );
- color: ck-color( 'list-item-text-active' );
- &:hover,
- &:focus {
- background: ck-color( 'list-item-background-active', -10 );
- }
- }
- }
- }
|