[Kimchi-devel] [v2] UI: Font Size, Color, Weight

huoyuxin at linux.vnet.ibm.com huoyuxin at linux.vnet.ibm.com
Mon Jan 12 08:49:23 UTC 2015


From: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>

Signed-off-by: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
---
 ui/css/theme-default/base.css |   68 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 68 insertions(+), 0 deletions(-)
 create mode 100644 ui/css/theme-default/base.css

diff --git a/ui/css/theme-default/base.css b/ui/css/theme-default/base.css
new file mode 100644
index 0000000..43318e0
--- /dev/null
+++ b/ui/css/theme-default/base.css
@@ -0,0 +1,68 @@
+/*
+ * Project Kimchi
+ *
+ * Copyright IBM, Corp. 2013-2015
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+html, body {
+    font-family: 'Helvetica Neue', Helvetica, Arial;
+}
+
+/* header text size */
+.h1 {
+    font-size: 18px;
+}
+
+/* base content text size */
+.c1 {
+    font-size: 14px;
+}
+
+/* 1 level smaller than base text size */
+.c2 {
+    font-size: 11px;
+}
+
+/* for text on black and colored backgroud */
+.white {
+    color: #FFFFFF;
+}
+
+/* for text on disabled element */
+.light-grey {
+    color: #999999;
+}
+
+/* for sorting, filtering control */
+.grey {
+    color: #444444;
+}
+
+/* for text on white backgroud */
+.dark-grey {
+    color: #222222;
+}
+
+.bold {
+    font-weight: bold;
+}
+
+.normal {
+    font-weight: normal;
+}
+
+.light {
+    font-weight: lighter;
+}
-- 
1.7.1




More information about the Kimchi-devel mailing list