From 3b63e045b297fade47e6c25b28106c2a255190d4 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 5 Aug 2017 18:51:37 +0200 Subject: [PATCH] fixed table styling issue --- css/main.css | 19 +++++++++++-------- img/fav.png | Bin 5866 -> 0 bytes img/fav_hover.png | Bin 1437 -> 0 bytes js/main.js | 1 + 4 files changed, 12 insertions(+), 8 deletions(-) delete mode 100644 img/fav.png delete mode 100644 img/fav_hover.png 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 13b96335de1b07e842a32774fd7b401e334c12c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5866 zcmY*ddpy(s_kYcr%jOz}+$ndT2n&T_Nf$LzEtlL%Y8yTnDwoNnA?ZdUxulYWq2*F; z<&qQ%+l;Kpr6J{-+kWr9zsuwC`)hkVALsgdo%1@+_esVd*)N9Nh6DhJ9dN|C004vj z!ho<<8%egJ3d8aX(VD^`8{Y;GI>Ph5gjl24%z;Y_BJ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Jqhrqu@Y-IobI&G*T9O;!~g2g*$X)ubRO*FIFr)Oph=U9w#0{ zfrUc8U21u4YfDC~A*Ymv^e_$9uJB4NU(4j3X0R(A4Z)3Xm&NCTBHP-lHls%$j!?H1T-jq`muq8{m2^$it_zn*QpB=uf^Xq{N z$e&rbW*vL=PgGw-H?cRueQ-3lY6_@V_fJYC#ytKvj{{;7YwPCcj zeK1Ewz}*{Xf8zPSd>QmzjynKeRxma867!Oun9acNa(_kX1JrKWrLEJw^ZXSLA7}jN zGuua7LBO`&JyxNK&`MMN=5}e%tDM!T@kb>4;adlR(&#p#PuSAG427Gf#XG6&$KT5? zl1zqg*#WLnMJ;@v diff --git a/img/fav_hover.png b/img/fav_hover.png deleted file mode 100644 index 907e3f0b42efd81f19cdac0dd4b412683a5dbdd9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1437 zcmcIkZ%i9y9R6K<99LMk+KM6pTXd<$WE6!-T~Lk3mQs9<2wK!$G7!G=U6tUUqK zEHOhRkxn+K>;q&7EJFHJj}w45DsrS2jl3q?Hvqxb}RHKN=FFe(^4s_qpeN z-rw_kFVB0&3UnHAR9qAQh_$&{djT*6F(3&vlpg7=LIY8er^y12zb#+)v>`@Rlly8d zK(vg1F!57&Mkd&*NF>4_s00_`;ubW_ZWd{k%1R{;8RT-|L=Jm3L-MUV0Suf+wUm9ST|5 znYuvI>p%nK!y^Ib76;#_8K%9~hb$NfAQ}5^!k9t{0SCR{gFdc`CV&J6R}^s9(dL+3mSt z`NPlzi-&{NVn_s!oGanwQ#Ni9BzW>ow=osT-hZ2w^V5|HoQ?O6HCYcJ@2PMwO^i%_ z;bIQ#VMA~12Ag~ZnY3Tcj)gMvhAic}jgT7gU; z(G^5ptWJ>vq+V@lwNdBLY0YX{3;v8H{a5}1@{I)da^|(DVh|KFVcR^c1(yohHlpv% z*vNPR_vCt*>E+gq<1lW#u%3HMxN<$i|MmvAIMSxk3)`C+oJs4d&X!T3qIaH^ zi9t2ukwEZcnLtS|4_<4~#X;G@H}$%3tizqb&M(>CL%e+OT<0kf6^wXVln>XPrOJ0j zmT+HxXOD;q?cd3BnkuOoyw>Vsd$G_G-g{7J5He{WIf;Cj7txX)*d>e$R;xD4fhzb=#+KpSVS<7pM)5N+t98 zgd^|f&?GdDxrU@r_IP8Jk{OS22R8(`~hvV}3c=W$Rmt;xoj=gf@*xm2L{Hr!wmo>0k-}DEZ3mtC& 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(); }; });