瀏覽代碼

Renamed the shake animation to match the naming standards.

Aleksander Nowodzinski 7 年之前
父節點
當前提交
0a0277687f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/inputtext/inputtext.css

+ 2 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/inputtext/inputtext.css

@@ -45,7 +45,7 @@
 
 	&.ck-error {
 		border-color: var(--ck-color-input-error-border);
-		animation: shakeInput .5s ease both;
+		animation: ck-text-input-shake .5s ease both;
 		transform: translateX(0);
 
 		&:focus {
@@ -54,7 +54,7 @@
 	}
 }
 
-@keyframes shakeInput {
+@keyframes ck-text-input-shake {
 	20% {
 		transform: translateX(-2px);
 	}