浏览代码

Optimized theme to support focused items in lists and dropdowns.

Aleksander Nowodzinski 9 年之前
父节点
当前提交
fb6bcc9f23

+ 1 - 1
packages/ckeditor5-theme-lark/theme/components/dropdown.scss

@@ -27,7 +27,7 @@
 	border: 1px solid ck-border-color( 'foreground' );
 
 	// Compensate double border from button and from box when positioned below the button.
-	bottom: 2px;
+	bottom: 1px;
 	background: ck-color( 'background' );
 
 	@include ck-rounded-corners();

+ 5 - 1
packages/ckeditor5-theme-lark/theme/components/list.scss

@@ -2,7 +2,6 @@
 // For licensing, see LICENSE.md or http://ckeditor.com/license
 
 .ck-list {
-	overflow: hidden;
 	list-style-type: none;
 	background: ck-color( 'background' );
 
@@ -18,6 +17,11 @@
 			background: ck-color( 'foreground' );
 		}
 
+		&:focus {
+			@include ck-box-shadow( $ck-focus-outer-shadow );
+			outline: none;
+		}
+
 		&:last-of-type {
 			border: none;
 		}