diff --git a/css/main.css b/css/main.css index 329fc41..156785a 100644 --- a/css/main.css +++ b/css/main.css @@ -19,16 +19,19 @@ .pause{background: url('../img/pause.png') no-repeat;} .icon-stationfav { - width: 22px; - height: 22px; - margin-right: 5px; + width: 16px; + height: 16px; + /* margin-right: 5px; margin-bottom: 5px; - position: absolute; - background-image: url('../img/fav.png'); + position: absolute; */ + background-image: url('../img/star.svg'); background-repeat: no-repeat; - background-size: contain; + /* background-size: contain; */ background-position: center; line-height: 100%; + display: inline-block; + vertical-align: middle; + background-size: 16px 16px; } /* SETTINGS */ @@ -264,7 +267,7 @@ table td.filename .thumbnail { display: inline-block; width: 32px; height: 32px; - margin-left: 25px; + margin-left: 10px; margin-top: 9px; cursor: pointer; 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) */ table td.filename .nametext { position: absolute; - left: 105px; + left: 60px; padding: 0; overflow: hidden; text-overflow: ellipsis; diff --git a/img/fav.png b/img/fav.png deleted file mode 100644 index 13b9633..0000000 Binary files a/img/fav.png and /dev/null differ diff --git a/img/fav_hover.png b/img/fav_hover.png deleted file mode 100644 index 907e3f0..0000000 Binary files a/img/fav_hover.png and /dev/null differ diff --git a/js/main.js b/js/main.js index e80a5a7..f1275f4 100644 --- a/js/main.js +++ b/js/main.js @@ -37,6 +37,7 @@ $(function(){ method: 'DELETE' }).done(function(){ if ($('li.nav-favorites').hasClass('active')){ + $( "tr[data-id='"+data[station]["stationid"]+"']" ).slideUp(); $( "tr[data-id='"+data[station]["stationid"]+"']" ).remove(); }; });