8
0

list.css 635 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. @import "../../mixins/_unselectable.css";
  6. .ck.ck-list {
  7. @mixin ck-unselectable;
  8. display: flex;
  9. flex-direction: column;
  10. & .ck-list__item,
  11. & .ck-list__separator {
  12. display: block;
  13. }
  14. /* Make sure that whatever child of the list item gets focus, it remains on the
  15. top. Thanks to that, styles like box-shadow, outline, etc. are not masked by
  16. adjacent list items. */
  17. & .ck-list__item > *:focus {
  18. position: relative;
  19. z-index: var(--ck-z-default);
  20. }
  21. }