Skip to content

Commit

Permalink
remove default list style
Browse files Browse the repository at this point in the history
  • Loading branch information
tontof committed Dec 18, 2013
1 parent 11425c4 commit 76cd985
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 17 deletions.
32 changes: 25 additions & 7 deletions src/inc/style.css
Expand Up @@ -54,13 +54,6 @@ cite {
font-style: normal;
}

ol,
ul {
padding: 0;
margin: 0;
list-style: none;
}

code {
font-family: "Courier New", monospace;
font-size: 12px;
Expand Down Expand Up @@ -265,6 +258,12 @@ input::-moz-focus-inner {
float: left;
}

ul.nav {
padding: 0;
margin: 0;
list-style: none;
}

.navbar .nav > li {
float: left;
}
Expand All @@ -286,6 +285,13 @@ input::-moz-focus-inner {
margin: 10px;
}

#paging-up ul,
#paging-down ul {
padding: 0;
margin: 0;
list-style: none;
}

.input-append,
.input-prepend,
.btn-group {
Expand Down Expand Up @@ -324,6 +330,12 @@ ol.inline > li {
/**
* List of feeds
*/
#list-feeds ul {
padding: 0;
margin: 0;
list-style: none;
}

li.feed {
margin-left: 4px;
}
Expand Down Expand Up @@ -367,6 +379,12 @@ li.folder > h5:hover {
/**
* List of items
*/
#list-items {
padding: 0;
margin: 0;
list-style: none;
}

li.item-list {
border-bottom: 1px solid #ddd;
}
Expand Down
38 changes: 28 additions & 10 deletions src/index.php
Expand Up @@ -3212,9 +3212,9 @@ public static function list_itemsTpl()
<a class="item-shaarli" href="<?php echo $query;?>shaarli=<?php echo $value1;?>"><span class="label label-expanded"><?php echo $share;?></span></a>
<?php if( !isset($_GET['stars']) ){ ?>
<?php if( $item['read'] == 1 ){ ?>
<a class="item-mark-as" href="<?php echo $query;?>unread=<?php echo $value1;?>"><span class="label label-expanded"><?php echo $unread;?></span></a>
<a class="item-mark-as" href="<?php echo $query;?>unread=<?php echo $value1;?>"><span class="label item-label-mark-as label-expanded"><?php echo $unread;?></span></a>
<?php }else{ ?>
<a class="item-mark-as" href="<?php echo $query;?>read=<?php echo $value1;?>"><span class="label label-expanded"><?php echo $read;?></span></a>
<a class="item-mark-as" href="<?php echo $query;?>read=<?php echo $value1;?>"><span class="label item-label-mark-as label-expanded"><?php echo $read;?></span></a>
<?php } ?>
<?php } ?>
<?php if( isset($item["starred"]) && $item["starred"]===1 ){ ?>
Expand Down Expand Up @@ -5298,13 +5298,6 @@ public static function init(&$messages) {
font-style: normal;
}

ol,
ul {
padding: 0;
margin: 0;
list-style: none;
}

code {
font-family: "Courier New", monospace;
font-size: 12px;
Expand Down Expand Up @@ -5509,6 +5502,12 @@ public static function init(&$messages) {
float: left;
}

ul.nav {
padding: 0;
margin: 0;
list-style: none;
}

.navbar .nav > li {
float: left;
}
Expand All @@ -5530,6 +5529,13 @@ public static function init(&$messages) {
margin: 10px;
}

#paging-up ul,
#paging-down ul {
padding: 0;
margin: 0;
list-style: none;
}

.input-append,
.input-prepend,
.btn-group {
Expand Down Expand Up @@ -5568,6 +5574,12 @@ public static function init(&$messages) {
/**
* List of feeds
*/
#list-feeds ul {
padding: 0;
margin: 0;
list-style: none;
}

li.feed {
margin-left: 4px;
}
Expand Down Expand Up @@ -5611,6 +5623,12 @@ public static function init(&$messages) {
/**
* List of items
*/
#list-items {
padding: 0;
margin: 0;
list-style: none;
}

li.item-list {
border-bottom: 1px solid #ddd;
}
Expand Down Expand Up @@ -7083,7 +7101,7 @@ function setDivItem(div, item) {
'<a class="item-top" href="#status"><span class="label label-expanded">' + intlTop + '</span></a> ' +
'<a class="item-shaarli" href="' + '?'+(stars?'stars&':'')+'currentHash=' + currentHash + '&shaarli=' + item['itemHash'] + '"><span class="label label-expanded">' + intlShare + '</span></a> ' +
(stars?'':
'<a class="item-mark-as" href="' + '?'+(stars?'stars&':'')+'currentHash=' + currentHash + '&' + linkMarkAs + '=' + item['itemHash'] + '"><span class="label label-expanded">' + markAs + '</span></a> ') +
'<a class="item-mark-as" href="' + '?'+(stars?'stars&':'')+'currentHash=' + currentHash + '&' + linkMarkAs + '=' + item['itemHash'] + '"><span class="label item-label-mark-as label-expanded">' + markAs + '</span></a> ') +
'<a class="item-starred" href="' + '?'+(stars?'stars&':'')+'currentHash=' + currentHash + '&' + linkStarred + '=' + item['itemHash'] + '"><span class="label label-expanded">' + starred + '</span></a>' +
(view=='list'?
'<a id="item-toggle-'+ item['itemHash'] +'" class="item-toggle item-toggle-plus" href="' + '?'+(stars?'stars&':'')+'currentHash=' + currentHash + '&current=' + item['itemHash'] +'&open" data-toggle="collapse" data-target="#item-div-'+ item['itemHash'] + '"> ' +
Expand Down

0 comments on commit 76cd985

Please sign in to comment.