對不起,如果對這個問題的答案是簡單的,但我真的想在互聯網上找到答案,但沒有成功。列表視圖中刪除項邊框,並勾選
我想從我的列表視圖中刪除所有類型的邊界和對號年代。我怎樣才能做到這一點?
我已經tryed設置邊界和輪廓上沒有或透明或東西,但還是有某種灰色邊框的。我不知道如何刪除這個或如何刪除複選標記?
我現在的結果是這樣的(當項目已.win選擇類):
HTML代碼:
<div class="filterPanel left">
<h2 class="title">Status filter</h2>
<div id="labRole_name" class="filter-view win-selectionstylefilled" data-win-control="WinJS.UI.ListView" data-win-options="{ selectionMode: 'single', tapBehavior: 'directSelect', layout: { type: WinJS.UI.ListLayout } }"></div>
</div>
和CSS代碼:
.filter-view {
width: 250px;
margin-left: -7px;
color: gray;
}
.filter-view .item {
background-color: #F2F2F2;
outline: #F2F2F2 solid 10px;
}
.filter-view .item *{
display: inline-block;
}
.filter-view .win-selected .item:hover .count,
.filter-view .item:hover .count {
color: #4BB3DD !important;
}
.filter-view .win-selected .item:hover .filter,
.filter-view .item:hover .filter {
color: #8B8B8B !important;
}
.filter-view .win-selected .item .filter,
.filter-view .item .filter {
color: #333333 !important;
}
.filter-view .win-selected .item .count,
.filter-view .item .count {
color: #0096D1 !important;
}
.filter-view .item .filter {
margin-right: 10px;
width: 160px;
height: 20px;
white-space: nowrap;
overflow: hidden;
}
.filter-view .item .count{
min-width: 30px;
text-align: right;
font-weight: 400;
}
請張貼HTML代碼 –
這裏,我添加HTML – Clem