[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 3/5] httpd_indexcgi.c: Simplify CSS
From: Sergey Ponomarev <stokito () gmail ! com>
Date: 2020-07-31 19:55:46
Message-ID: CADR0UcUedE_M+spaXOm5WgV3YXCBnBMwXmZS5QEZq9ynxF6BMw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
the colors I selected because they are shorter and simpler. We may keep hex
colors instead
On Fri, 31 Jul 2020 at 19:25, Denys Vlasenko <vda.linux@googlemail.com>
wrote:
> On Fri, Jul 10, 2020 at 9:50 PM Sergey Ponomarev <stokito@gmail.com>
> wrote:
> > Divide table to thead, tbody and tfoot as it should be in DOM.
> > Add row hover style.
> > Use short color names.
> >
> > Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
> > ---
> > networking/httpd_indexcgi.c | 19 ++++++++++++-------
> > 1 file changed, 12 insertions(+), 7 deletions(-)
> >
> > diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c
> > index a94d4983e..b652ba9ff 100644
> > --- a/networking/httpd_indexcgi.c
> > +++ b/networking/httpd_indexcgi.c
> > @@ -55,7 +55,6 @@ httpd_indexcgi.c -o index.cgi
> > "<style>" \
> > "table {" \
> > "width:100%;" \
> > - "background-color:#fff5ee;" \
> > "border-width:1px;" /* 1px 1px 1px 1px; */ \
> > "border-spacing:2px;" \
> > "border-style:solid;" /* solid solid solid solid; */ \
> > @@ -76,9 +75,9 @@ httpd_indexcgi.c -o index.cgi
> > "border-color:black;" /* black black black black; */ \
> > "white-space:nowrap" \
> > "}" \
> > -"tr.hdr { background-color:#eee5de }" \
> > -"tr:nth-child(odd) { background-color:#ffffff }" \
> > -"tr.foot { background-color:#eee5de }" \
> > +"thead, tfoot { background-color:olive }" \
> > +"tbody tr:nth-child(even) { background-color:beige }" \
> > +"tbody tr:hover { background-color:ivory }" \
>
> These colors look not that good to me.
> Can you separate change of colors and change in logic into two patches?
>
--
Sergey Ponomarev <https://linkedin.com/in/stokito>, skype:stokito
[Attachment #5 (text/html)]
<div dir="ltr">the colors I selected because they are shorter and simpler. We may \
keep hex colors instead<br></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Fri, 31 Jul 2020 at 19:25, Denys Vlasenko <<a \
href="mailto:vda.linux@googlemail.com">vda.linux@googlemail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Jul 10, 2020 \
at 9:50 PM Sergey Ponomarev <<a href="mailto:stokito@gmail.com" \
target="_blank">stokito@gmail.com</a>> wrote:<br> > Divide table to thead, \
tbody and tfoot as it should be in DOM.<br> > Add row hover style.<br>
> Use short color names.<br>
><br>
> Signed-off-by: Sergey Ponomarev <<a href="mailto:stokito@gmail.com" \
target="_blank">stokito@gmail.com</a>><br> > ---<br>
> networking/httpd_indexcgi.c | 19 ++++++++++++-------<br>
> 1 file changed, 12 insertions(+), 7 deletions(-)<br>
><br>
> diff --git a/networking/httpd_indexcgi.c b/networking/httpd_indexcgi.c<br>
> index a94d4983e..b652ba9ff 100644<br>
> --- a/networking/httpd_indexcgi.c<br>
> +++ b/networking/httpd_indexcgi.c<br>
> @@ -55,7 +55,6 @@ httpd_indexcgi.c -o index.cgi<br>
> "<style>" \
\<br> > "table {" \
\<br> > "width:100%;" \
\<br> > - "background-color:#fff5ee;" \
\<br> > "border-width:1px;" /* 1px 1px 1px 1px; */ \
\<br> > "border-spacing:2px;" \
\<br> > "border-style:solid;" /* solid solid solid solid; */ \<br>
> @@ -76,9 +75,9 @@ httpd_indexcgi.c -o index.cgi<br>
> "border-color:black;" /* black black black black; */ \<br>
> "white-space:nowrap" \
\<br> > "}" \
\<br> > -"tr.hdr { background-color:#eee5de }" \
\<br> > -"tr:nth-child(odd) { background-color:#ffffff }" \
\<br> > -"tr.foot { background-color:#eee5de }" \
\<br> > +"thead, tfoot { background-color:olive }" \
\<br> > +"tbody tr:nth-child(even) { background-color:beige }" \<br>
> +"tbody tr:hover { background-color:ivory }" \<br>
<br>
These colors look not that good to me.<br>
Can you separate change of colors and change in logic into two patches?<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><div><a href="https://linkedin.com/in/stokito" \
target="_blank">Sergey Ponomarev</a>, <font face="arial, helvetica, \
sans-serif"><a>skype:stokito</a></font><br></div></div></div>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic