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

Yu Xin Huo huoyuxin at linux.vnet.ibm.com
Wed Jan 14 02:49:14 UTC 2015


On 1/13/2015 8:23 PM, Aline Manera wrote:
>
> On 12/01/2015 06:49, huoyuxin at linux.vnet.ibm.com wrote:
>> 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
>
> The copyright date depends on file creation data.
> So as this file was created in 2015 the copyright should refer to this 
> year and so on.
>
> If you don't mind I can update it before applying.
No problem. Thanks.
>
>> + *
>> + * 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;
>> +}
>





More information about the Kimchi-devel mailing list