header: Move button top higher in header with tabbar
authorYoumin Ha <youmin.ha@samsung.com>
Mon, 28 Jan 2013 10:33:22 +0000 (19:33 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 28 Jan 2013 12:58:11 +0000 (21:58 +0900)
Buttons in the page header have its own position(which is described in
the Tizen GUI guide), but if the button and the tabbar are put into the
header together, the tabbar overlaps the lower part of buttons. Although
there is no specification about the vertical position of the buttons
when the tabbar is used together, this patch moves the button slightly
higher, not to be overlaped by the tabbar.
Resolves N_SE-22253.

Change-Id: I92c61eaf10ca6134d1b625da5bd3d1e71aa4c84d

src/themes/tizen/common/jquery.mobile.theme.less

index e0ab796..3ec9a50 100644 (file)
                background: transparent;
                color   : @color_bar_title_button_text;
        }
+       &.ui-title-tabbar >.ui-btn {
+               // NOTE: there is an issue that when tabbar and button are
+               // used together in the header, the lower part of buttons is
+               // hidden by the tabbar. (N_SE-22253) Although No specification
+               // for this case is found in the GUI guide, this one is added
+               // to resolve this issue.
+               top: 8 * @unit_base;
+       }
 
        > .ui-btn.ui-btn-icon_only {
                -o-border-radius : 0px;