From 1bb89b52f16f362ffbb8f161cf16b73e27656679 Mon Sep 17 00:00:00 2001 From: coon Date: Tue, 5 Dec 2023 02:47:11 +0100 Subject: [PATCH] static: replace image based table gradient rendering by css gradient rendering method --- static/flexbox/sanic.css | 4 ++-- static/img/table-header-gradient.png | Bin 602 -> 0 bytes 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 static/img/table-header-gradient.png diff --git a/static/flexbox/sanic.css b/static/flexbox/sanic.css index 85d3603..841f550 100644 --- a/static/flexbox/sanic.css +++ b/static/flexbox/sanic.css @@ -74,8 +74,8 @@ table { } thead { - background-repeat: repeat-x; - background-image: url(../img/table-header-gradient.png); + background: rgb(15,29,47); + background: linear-gradient(0deg, rgba(15,29,47,1) 0%, rgba(15,29,47,1) 50%, rgba(7,14,23,1) 100%); } th { diff --git a/static/img/table-header-gradient.png b/static/img/table-header-gradient.png deleted file mode 100644 index d853129c7ce25f7ef3d0e8de69f288fb91f35a5b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 602 zcmV-g0;TX1^@s6@Q_4*0004nX+uL$Nkc;* zaB^>EX>4Tx04R}tkv&MmKpe$iQ>CI62aAX(WT*~eK~%(1s#pXIrLEAagUO{ILX(Ch z#l=x@EjakGSaoo5*44pP5ClI!TwRU-$6w^)AA*ywCkPx|N*C0G~)a%XGscUMHU3 zv~ zaarNK#aS&?SmU1jg~6P*oZ>poLBz0#I1&&cqk;{TU?D=QMv93f?MFTQ1CBpIE}2{# zVC0xb87d^l5B>+gyEXHZ6K+y43beo2_Qx;~*ahlU+x|Yb?fMDee+I6!roUVRWkkQ~WRQ^@Cm_cQvYEYN!kbgsI+HTH4(0Hmp_r5oVj z5Ev;?_L|4LJ6e1D_e`U|AMew0*~u7aeN7cD1_e`UA;000?uMObu0Z*6U5Zgc=ca%Ew3 zWn>_CX>@2HM@dakSAh-}0000nNkl