fixed table styling issue

This commit is contained in:
Jonas Heinrich 2017-08-05 18:51:37 +02:00
parent 5940daa53d
commit 3b63e045b2
4 changed files with 12 additions and 8 deletions

View File

@ -19,16 +19,19 @@
.pause{background: url('../img/pause.png') no-repeat;} .pause{background: url('../img/pause.png') no-repeat;}
.icon-stationfav { .icon-stationfav {
width: 22px; width: 16px;
height: 22px; height: 16px;
margin-right: 5px; /* margin-right: 5px;
margin-bottom: 5px; margin-bottom: 5px;
position: absolute; position: absolute; */
background-image: url('../img/fav.png'); background-image: url('../img/star.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; /* background-size: contain; */
background-position: center; background-position: center;
line-height: 100%; line-height: 100%;
display: inline-block;
vertical-align: middle;
background-size: 16px 16px;
} }
/* SETTINGS */ /* SETTINGS */
@ -264,7 +267,7 @@ table td.filename .thumbnail {
display: inline-block; display: inline-block;
width: 32px; width: 32px;
height: 32px; height: 32px;
margin-left: 25px; margin-left: 10px;
margin-top: 9px; margin-top: 9px;
cursor: pointer; cursor: pointer;
float: left; float: left;
@ -297,7 +300,7 @@ table td.filename .nametext, .uploadtext, .modified, .column-last>span:first-chi
/* TODO fix usability bug (accidental file/folder selection) */ /* TODO fix usability bug (accidental file/folder selection) */
table td.filename .nametext { table td.filename .nametext {
position: absolute; position: absolute;
left: 105px; left: 60px;
padding: 0; padding: 0;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -37,6 +37,7 @@ $(function(){
method: 'DELETE' method: 'DELETE'
}).done(function(){ }).done(function(){
if ($('li.nav-favorites').hasClass('active')){ if ($('li.nav-favorites').hasClass('active')){
$( "tr[data-id='"+data[station]["stationid"]+"']" ).slideUp();
$( "tr[data-id='"+data[station]["stationid"]+"']" ).remove(); $( "tr[data-id='"+data[station]["stationid"]+"']" ).remove();
}; };
}); });