From 2b127219aa4014ed078eabcd3a6961fbb0bebb39 Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Sun, 23 Jun 2013 23:56:04 +0900 Subject: [PATCH] toolbar: Apply light theme Apply light theme ( css files ) Change-Id: Iecb9e45a6ecfd4a42cb8fcf358dcd45107fc25a8 --- src/js/widgets/jquery.mobile.tizen.pagelayout.js | 3 ++- src/themes/tizen/common/jquery.mobile.button.less | 2 +- src/themes/tizen/common/jquery.mobile.theme.less | 3 ++- src/themes/tizen/tizen-black/style.less | 5 ++++- src/themes/tizen/tizen-white/style.less | 5 ++++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/js/widgets/jquery.mobile.tizen.pagelayout.js b/src/js/widgets/jquery.mobile.tizen.pagelayout.js index 26ac917..1c2c9b0 100644 --- a/src/js/widgets/jquery.mobile.tizen.pagelayout.js +++ b/src/js/widgets/jquery.mobile.tizen.pagelayout.js @@ -416,12 +416,13 @@ define( [ '../jquery.mobile.tizen.core' ], function ( ) { if ( $elBackKey.length ) { btnWidth -= $elBackKey.width(); + $elBackKey.addClass( "ui-footer-btn-border" ); } btnWidth /= btnLength; footerBtn.width( btnWidth ); - for ( idx = 1; idx < btnLength; idx += 1 ) { + for ( idx = 0; idx < btnLength; idx += 1 ) { footerBtn.eq( idx ) .addClass( "ui-footer-btn-border" ); } diff --git a/src/themes/tizen/common/jquery.mobile.button.less b/src/themes/tizen/common/jquery.mobile.button.less index f5ca7f4..02f2f86 100644 --- a/src/themes/tizen/common/jquery.mobile.button.less +++ b/src/themes/tizen/common/jquery.mobile.button.less @@ -332,7 +332,7 @@ font-size: 20 * @unit_base !important; } .ui-footer div.ui-btn-down-s { - background-color: @color_list_press !important; + background-color: @color_bar_navbar_press !important; } .ui-footer .ui-btn, .ui-footer .ui-btn .ui-btn-inner { .LESSborder-radius-allimportant( 0em ); diff --git a/src/themes/tizen/common/jquery.mobile.theme.less b/src/themes/tizen/common/jquery.mobile.theme.less index f17e785..2fc6ed9 100644 --- a/src/themes/tizen/common/jquery.mobile.theme.less +++ b/src/themes/tizen/common/jquery.mobile.theme.less @@ -309,7 +309,8 @@ >[data-role="button"] { font-size : 15 * @unit_base; font-weight : bold; - color : @color_button_text_normal; + color : @color_bar_toolbar_button_text; + border-width : 0px; } [data-role="controlgroup"] { diff --git a/src/themes/tizen/tizen-black/style.less b/src/themes/tizen/tizen-black/style.less index cfbf7a1..b60932d 100644 --- a/src/themes/tizen/tizen-black/style.less +++ b/src/themes/tizen/tizen-black/style.less @@ -15,7 +15,10 @@ @color_bar_divider_line : rgba(255, 255, 255, 0.3); /* 00_divider_line.9.png */ @color_bar_naviframe_bg : rgba(49, 63, 102, 1); @color_bar_tabbar_bg : rgba(49, 63, 102, 1); -@color_bar_toolbar_bg : rgba(70, 76, 94, 1); /* 00_toolbar_bg.png */ +@color_bar_toolbar_bg : rgba(70, 76, 94, 1); /* B0515L1: Toolbar bg */ +@color_bar_toolbar_button_text : rgba(250, 250, 250, 1); /* B052L4 : Toolbar button normal */ +@color_bar_toolbar_button_text_press : rgba(250, 250, 250, 1); /* B052L4P : Toolbar button pressed */ +@color_bar_navbar_press : rgba(42, 57, 172, 1); /* B0511P : Navigation bar bg press */ /*************************************************************************** Tabbar diff --git a/src/themes/tizen/tizen-white/style.less b/src/themes/tizen/tizen-white/style.less index 18b591d..59aa9a2 100644 --- a/src/themes/tizen/tizen-white/style.less +++ b/src/themes/tizen/tizen-white/style.less @@ -16,7 +16,10 @@ @color_bar_divider_line : rgba(138, 138, 138, 1); /* 00_divider_line.9.png */ @color_bar_naviframe_bg : rgba(237, 235, 228, 1); @color_bar_tabbar_bg : rgba(237, 235, 228, 1); -@color_bar_toolbar_bg : rgba(58, 58, 58, 1); /* 00_toolbar_bg.png */ +@color_bar_toolbar_bg : rgba(222, 220, 213, 1); /* B0515L1: Toolbar bg */ +@color_bar_toolbar_button_text : rgba(58, 58, 58, 1); /* B052L4 : Toolbar button normal */ +@color_bar_toolbar_button_text_press : rgba(250, 250, 250, 1); /* B052L4P : Toolbar button pressed */ +@color_bar_navbar_press : rgba(14, 102, 170, 1); /* B0511P : Navigation bar bg press */ /*************************************************************************** Tabbar -- 2.7.4