浏览代码

Added styles for LabeledView.

Aleksander Nowodzinski 5 年之前
父节点
当前提交
00558826fb
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledview/labeledview.css

+ 17 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledview/labeledview.css

@@ -0,0 +1,17 @@
+/*
+ * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
+ */
+
+.ck.ck-labeled-view .ck-labeled-view__status {
+	font-size: var(--ck-font-size-small);
+	margin-top: var(--ck-spacing-small);
+
+	/* Let the info wrap to the next line to avoid stretching the layout horizontally.
+	The status could be very long. */
+	white-space: normal;
+}
+
+.ck.ck-labeled-view .ck-labeled-view__status_error {
+	color: var(--ck-color-base-error);
+}