list.scss 776 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. .ck-list {
  4. @include ck-rounded-corners();
  5. @include ck-unselectable();
  6. list-style-type: none;
  7. background: ck-color( 'background' );
  8. &__item {
  9. padding: ck-spacing( 'medium' );
  10. cursor: default;
  11. min-width: 12em;
  12. &:hover,
  13. &:focus {
  14. background: ck-color( 'foreground' );
  15. }
  16. &:focus {
  17. @include ck-box-shadow( $ck-focus-outer-shadow );
  18. position: relative;
  19. z-index: ck-z();
  20. outline: none;
  21. }
  22. &:last-of-type {
  23. border: none;
  24. }
  25. &_active {
  26. background: ck-color( 'active' );
  27. color: ck-color( 'background' );
  28. &:hover,
  29. &:focus {
  30. background: ck-color( 'active', -10 );
  31. }
  32. }
  33. }
  34. }