[Kimchi-devel] [PATCH] New UI: Font scale, weight, style

Yu Xin Huo huoyuxin at linux.vnet.ibm.com
Mon Jan 12 08:54:57 UTC 2015


On 1/9/2015 2:42 AM, Aline Manera wrote:
>
> On 07/01/2015 01:22, 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 |   40 
>> ++++++++++++++++++++++++++++++++++++++++
>>   1 files changed, 40 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..f143ec9
>> --- /dev/null
>> +++ b/ui/css/theme-default/base.css
>
> The license header is missing.
v2 sent to add license statement.
>
> And I couldn't see any difference on UI. Is it because the current 
> elements do not use the following CSS classes?
> But what about html and body elements?
new UI will unify font size, weight, color to drive UI consistency, so 
using new class selector names.
the current kimchi UI has defined font family, size, weight everywhere, 
it is overwritten now, as new UI is ongoing, we will remove those css 
and all its reference.
>
>> @@ -0,0 +1,40 @@
>> +html, body {
>> +    font-family: 'Helvetica Neue', Helvetica, Arial;
>> +}
>> +
>> +/* 2 levels of header text size */
>> +
>> +.h1-bold {
>> +    font-size: 27px;
>> +    font-weight: bold;
>> +}
>> +
>> +.h1-light {
>> +    font-size: 27px;
>> +    font-weight: lighter;
>> +}
>> +
>> +.h2-bold {
>> +    font-size: 22px;
>> +    font-weight: bold;
>> +}
>> +
>> +/* 2 levels of content text size */
>> +
>> +.c1-bold {
>> +    font-size: 17px;
>> +    font-weight: bold;
>> +}
>> +
>> +.c1 {
>> +    font-size: 17px;
>> +}
>> +
>> +.c1-light {
>> +    font-size: 17px;
>> +    font-weight: lighter;
>> +}
>> +
>> +.c2 {
>> +    font-size: 14px;
>> +}
>





More information about the Kimchi-devel mailing list