Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

Commit 676d27e

Browse files
author
Jason Scott
committed
Merge pull request #116 from blackberry/listFix
Listview: Fixes the list item text moving when selected
2 parents d751764 + a112ea7 commit 676d27e

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

2.86 KB
Loading

src/less/list.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,13 @@ li.ui-btn.ui-btn-icon-right .ui-btn-inner {
7474
}
7575

7676
&.ui-btn-down-c, &.ui-btn-down-a {
77+
border-width: 0;
7778
.ui-btn-inner {
78-
border-color: @BBLightBlue;
7979
box-shadow: inset 0px 0px 0px 4px @BBLightBlue;
80-
border-width: 4px;
80+
border-color: @BBLightBlue;
8181
}
82-
.ui-li-thumb, .ui-listview .ui-li-icon {
83-
max-height: 113px;
84-
max-width: 113px;
82+
img {
83+
-webkit-mask-box-image: url(images_bb/list-item-selected-img-mask.png);
8584
}
8685
}
8786

@@ -182,6 +181,7 @@ li.ui-btn.ui-btn-icon-right .ui-btn-inner {
182181
}
183182

184183
.ui-li-heading, .ui-li .ui-btn-text {
184+
text-overflow: -blackberry-fade;
185185
font-size: @global-listview-title-font-size;
186186
font-weight: normal;
187187
& , .ui-li-desc {

src/less/mixins.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@
6969
background: @bg;
7070
background-image: -webkit-gradient(linear, left top, left bottom, from( @start ), to( @end ));
7171
background-image: -webkit-linear-gradient( @start , @end );
72-
background-image: -moz-linear-gradient( @start, @end );
73-
background-image: -ms-linear-gradient( @start, @end );
74-
background-image: -o-linear-gradient( @start, @end );
7572
background-image: linear-gradient( @start , @end );
7673
}
7774

src/less/variables.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//Backgrounds
2525
@obsidian: #121212;
2626
@titan: #272727;
27-
@snow: #f8f8f8;
27+
@snow: #fefefe;
2828
@snow10: #f9f7dd;
2929

3030
//Text colors
@@ -340,7 +340,7 @@
340340
@c-body-shadow-x: 0;
341341
@c-body-shadow-y: 1px;
342342
@c-body-shadow: @c-body-shadow-x @c-body-shadow-y @c-body-shadow-radius @c-body-shadow-color;
343-
@c-bup-border: 2px solid #b1b1b1;
343+
@c-bup-border: 2px solid #efefef;
344344
@c-bup-background-color: @primaryWhite;
345345
@c-bup-background-end: #dddddd;
346346
@c-bup-background-start: @primaryWhite;

0 commit comments

Comments
 (0)