ソースを参照

Refactoring: Simplified dropdown styles brought by editorui.

Aleksander Nowodzinski 8 年 前
コミット
fb4f2214a1

+ 5 - 7
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css

@@ -41,14 +41,12 @@
 		}
 	}
 
-	/* Exclude button dropdown button */
-	& :not(.ck-buttondropdown) {
-		& .ck-button.ck-dropdown__button {
-			border-width: 1px;
+	/* Exclude main button dropdown button */
+	& .ck-dropdown:not(.ck-buttondropdown) .ck-dropdown__button {
+		border-width: 1px;
 
-			&:not(:hover):not(:focus):not(.ck-on) {
-				background: var(--ck-color-editor-dropdown-background);
-			}
+		&:not(:hover):not(:focus):not(.ck-on) {
+			background: var(--ck-color-editor-dropdown-background);
 		}
 	}