Selaa lähdekoodia

Internal: Improved selector order to make style linter happy. One more to go.

Marek Lewandowski 6 vuotta sitten
vanhempi
commit
e8f2fab650

+ 15 - 15
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

@@ -75,6 +75,21 @@ a.ck.ck-button {
 		}
 	}
 
+	& .ck-button__keystroke {
+		color: inherit;
+
+		@mixin ck-dir ltr {
+			margin-left: var(--ck-spacing-large);
+		}
+
+		@mixin ck-dir rtl {
+			margin-right: var(--ck-spacing-large);
+		}
+
+		font-weight: bold;
+		opacity: .7;
+	}
+
 	/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
 	&.ck-disabled {
 		&:active,
@@ -120,21 +135,6 @@ a.ck.ck-button {
 		}
 	}
 
-	& .ck-button__keystroke {
-		color: inherit;
-
-		@mixin ck-dir ltr {
-			margin-left: var(--ck-spacing-large);
-		}
-
-		@mixin ck-dir rtl {
-			margin-right: var(--ck-spacing-large);
-		}
-
-		font-weight: bold;
-		opacity: .7;
-	}
-
 	/* A style of the button which is currently on, e.g. its feature is active. */
 	&.ck-on {
 		@mixin ck-button-colors --ck-color-button-on;