浏览代码

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

Marek Lewandowski 6 年之前
父节点
当前提交
e8f2fab650
共有 1 个文件被更改,包括 15 次插入15 次删除
  1. 15 15
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

+ 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;