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

List.less: Fixed icons for Split View #24

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dist/BlackBerry-JQM-all.css
Original file line number Diff line number Diff line change
Expand Up @@ -3767,6 +3767,16 @@ li.ui-btn.ui-btn-icon-right .ui-btn-inner {
.ui-li .ui-btn-inner .ui-btn-text .ui-li-desc {
margin-left: 0;
}
.ui-li-link-alt .ui-btn {
top: 10px;
right: 0;
}
.ui-li-thumb {
max-height: 135px;
}
.ui-li-heading {
font-size: 40px;
}
/*Slider*/
input[type="number"].ui-slider-input {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion dist/BlackBerry-JQM-all.min.css

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions kitchenSink/countbubble.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE HTML>
<!--
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->

<html>
<head>
<meta charset="utf-8">
<title>Count Bubble</title>
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
<link rel="stylesheet" href="../dist/BlackBerry-JQM-all.min.css" />
<script src="../dist/BlackBerry-JQM-all.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header">
<a href="index.html" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
<a href="#" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>
</div><!-- /header -->
<div data-role="content">
<ul data-role="listview">
<li><a href="#">Inbox <span class="ui-li-count">12</span></a></li>
<li><a href="#">Outbox <span class="ui-li-count">0</span></a></li>
<li><a href="#">Drafts <span class="ui-li-count">4</span></a></li>
<li><a href="#">Sent <span class="ui-li-count">328</span></a></li>
<li><a href="#">Trash <span class="ui-li-count">62</span></a></li>
</ul>
</div><!--/content-->
<div data-role="footer" data-theme="a">
<div id="action-bar-area" data-role="actionbar">
<div data-role="back"></div>
</div>
</div>
</div><!-- /page -->
</body>
</html>
2 changes: 2 additions & 0 deletions kitchenSink/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ <h1>BB10 JQM KitchenSink</h1>
<li><a href="form.html" rel="external">Forms Gallery</a></li>
<li><a href="gridview.html" rel="external">Grid View</a></li>
<li><a href="listview.html">List View</a></li>
<li><a href="splitview.html">Split List View</a></li>
<li><a href="countbubble.html">Count Bubble</a></li>
<li><a href="progress.html" rel="external">Progress Bar</a></li>
<li><a href="radio.html">Radio Button Groups</a></li>
<li><a href="segmented_control.html">Segmented Control</a></li>
Expand Down
125 changes: 125 additions & 0 deletions kitchenSink/splitview.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
<!DOCTYPE html>
<!--
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
-->
<html>
<head>
<meta charset="utf-8">
<title>Split View </title>
<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
<link rel="stylesheet" href="../dist/BlackBerry-JQM-all.min.css" />
<script src="../dist/BlackBerry-JQM-all.js"></script>
</head>
<body>
<div data-role="page" class="type-interior" id="album-list">
<div data-role="header" data-theme="a">
<a href="#" data-icon="home" data-iconpos="left" data-direction="reverse">Home</a>
<a href="#" data-icon="search" data-iconpos="right" data-rel="dialog" data-transition="fade">Search</a>
</div><!-- /header -->
<div data-role="content">
<ul data-role="listview" data-split-icon="gear" data-split-theme="c">
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Broken Bells</h3>
<p>Broken Bells</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Warning</h3>
<p>Hot Chip</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Wolfgang Amadeus Phoenix</h3>
<p>Phoenix</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Of The Blue Colour Of The Sky</h3>
<p>Ok Go</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Elephant</h3>
<p>The White Stripes</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Kid A</h3>
<p>Radiohead</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>XX</h3>
<p>XX</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Congratulations</h3>
<p>MGMT</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Ashes Grammar</h3>
<p>A Sunny Day in Glasgow</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>Hot Fuss</h3>
<p>Killers</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
<li><a href="index.html">
<img src="../plugins/actionbar/assets/generic_81_81_placeholder.png" />
<h3>The Suburbs</h3>
<p>Arcade Fire</p>
</a>
<a href="#purchase" data-rel="popup" data-position-to="window" data-transition="pop">Purchase album</a>
</li>
</ul>
<!-- Popup -->
<div data-role="popup" id="purchase" data-theme="a" data-overlay-theme="c" class="ui-content" style="max-width:420px;">
<h3>Purchase Album?</h3>
<p>Your download will begin immediately on your mobile device when you purchase.</p>
<a href="index.html" data-role="button" data-rel="back" data-theme="c" data-icon="check" data-inline="true">Buy: $10.99</a>
<a href="index.html" data-role="button" data-rel="back" data-inline="true">Cancel</a>
</div>
<div data-role="footer" class="footer-docs" data-theme="a">
<div id="action-bar-area" data-role="actionbar">
<div data-role="back"></div>
</div>
</div>
</div><!-- /page -->
</body>
</html>
25 changes: 25 additions & 0 deletions less/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -190,3 +190,28 @@ li.ui-btn.ui-btn-icon-right .ui-btn-inner {
.ui-li .ui-btn-inner .ui-btn-text .ui-li-desc {
margin-left: 0;
}

.ui-li-link-alt .ui-btn{
top: 10px;
right: 0;
}

.ui-li-thumb{
max-height: 135px;
}

.ui-li-heading {
font-size: @global-font-size;
}

.ui-li-has-count .ui-li-count {
top: 60%;
font-size: @p1;
padding: 0.25em, 0.5em;
border: 1px solid #000;
height: 10%;
line-height: 12px;
}