| 1 |
/* dojox.mobile.ListItem */ |
| 2 |
.mblListItem { |
| 3 |
position: relative; |
| 4 |
overflow: hidden; /* for focus frame */ |
| 5 |
padding: 0 8px; |
| 6 |
height: @mbl-list-item-height; |
| 7 |
list-style-type: none; |
| 8 |
line-height: @mbl-list-item-height; |
| 9 |
.tap-highlight-color(rgba(255,255,255,0)); |
| 10 |
.mblListItem-styles; |
| 11 |
&.mblVariableHeight { |
| 12 |
padding: 11px 8px; |
| 13 |
height: auto; |
| 14 |
line-height: normal; |
| 15 |
} |
| 16 |
} |
| 17 |
.mblListItemSelected { |
| 18 |
.mblListItemSelected-styles; |
| 19 |
.mblDomButton { |
| 20 |
div { |
| 21 |
border-color: white; |
| 22 |
} |
| 23 |
} |
| 24 |
} |
| 25 |
.mblListItemLabelSelected { |
| 26 |
.mblListItemLabelSelected-styles; |
| 27 |
} |
| 28 |
.mblListItemChecked { |
| 29 |
.mblListItemChecked-styles; |
| 30 |
} |
| 31 |
|
| 32 |
.mblListItemChecked .mblListItemRightIcon { |
| 33 |
visibility: visible; |
| 34 |
} |
| 35 |
.mblListItemChecked .mblListItemUncheckIcon { |
| 36 |
position: absolute; |
| 37 |
visibility: hidden; |
| 38 |
} |
| 39 |
|
| 40 |
.mblListItemUnchecked .mblListItemRightIcon { |
| 41 |
visibility: hidden; |
| 42 |
} |
| 43 |
.mblListItemUnchecked .mblListItemUncheckIcon { |
| 44 |
visibility: visible; |
| 45 |
} |
| 46 |
|
| 47 |
.mblListItemDeleteIcon { |
| 48 |
position: relative; |
| 49 |
float: left; |
| 50 |
line-height: normal; |
| 51 |
margin-top: (@mbl-list-item-height - 29) / 2; // '29': Icon's height. |
| 52 |
margin-bottom: -(@mbl-list-item-height - 29) / 2; |
| 53 |
margin-right: 11px; |
| 54 |
} |
| 55 |
.mblListItemIcon { |
| 56 |
position: relative; |
| 57 |
float: left; |
| 58 |
line-height: normal; |
| 59 |
margin-top: (@mbl-list-item-height - 29) / 2; |
| 60 |
margin-bottom: -(@mbl-list-item-height - 29) / 2; |
| 61 |
margin-right: 11px; |
| 62 |
} |
| 63 |
.mblListItemRightIcon, |
| 64 |
.mblListItemRightIcon2, |
| 65 |
.mblListItemUncheckIcon { |
| 66 |
position: relative; |
| 67 |
float: right; |
| 68 |
line-height: normal; |
| 69 |
margin-top: (@mbl-list-item-height - 29) / 2; |
| 70 |
margin-bottom: -(@mbl-list-item-height - 29) / 2; |
| 71 |
} |
| 72 |
|
| 73 |
.mblListItemRightText { |
| 74 |
position: relative; |
| 75 |
float: right; |
| 76 |
line-height: normal; |
| 77 |
margin-right: 4px; |
| 78 |
.mblListItemRightText-styles; |
| 79 |
} |
| 80 |
.mblListItemLabel { |
| 81 |
position: relative; |
| 82 |
overflow: hidden; |
| 83 |
white-space: nowrap; |
| 84 |
text-overflow: ellipsis; |
| 85 |
height: 100%; |
| 86 |
} |
| 87 |
.mblVariableHeight .mblListItemLabel { |
| 88 |
white-space: normal; |
| 89 |
} |
| 90 |
.mblListItemSubText { |
| 91 |
.mblListItemSubText-styles; |
| 92 |
} |
| 93 |
|
| 94 |
.mblListItemLayoutLeft { |
| 95 |
position: relative; |
| 96 |
float: left; |
| 97 |
margin-right: 11px; |
| 98 |
} |
| 99 |
.mblListItemLayoutCenter { |
| 100 |
position: absolute; |
| 101 |
width: 100%; |
| 102 |
text-align: center; |
| 103 |
} |
| 104 |
.mblListItemLayoutRight { |
| 105 |
position: relative; |
| 106 |
float: right; |
| 107 |
} |
| 108 |
|
| 109 |
/* dojox.mobile._EditableListMixin */ |
| 110 |
.mblListItemFloat { |
| 111 |
position: absolute; |
| 112 |
border: 1px solid gray; |
| 113 |
opacity: 0.5; |
| 114 |
.box-shadow(5px 5px 5px rgba(0, 0, 0, 0.5)); |
| 115 |
border-radius: 0px !important; |
| 116 |
-moz-border-radius: 0px !important; |
| 117 |
} |