From db3710a0119896f235b90020d117b9949bc77f9f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 05 Nov 2017 05:25:30 -0500 Subject: src/utils/html.c: Add border and background to when editing --- (limited to 'src/utils') diff --git a/src/utils/html.c b/src/utils/html.c index 35e6e65..c0c8689 100644 --- a/src/utils/html.c +++ b/src/utils/html.c @@ -194,6 +194,13 @@ static const gchar *styles = "div.profile > svg {\n" "width: 64px;\n" "height: 64px;\n" + "border: 1px solid transparent;\n" + "border-radius: 3px;\n" + "padding: 6px;\n" + "transition: all 250ms ease-in-out 0s;\n" + "-moz-transition: all 250ms ease-in-out 0s;\n" + "-wekbit-transition: all 250ms ease-in-out 0s;\n" + "-o-transition: all 250ms ease-in-out 0s;\n" "}\n" "div.profile > label {\n" "display: inline;\n" @@ -237,6 +244,14 @@ static const gchar *styles = "div.profile > input[type=submit]:last-child {\n" "display: none;\n" "}\n" + "div.profile > input[type=radio]:checked ~ svg {\n" + "border-color: #9F9F9F;\n" + "background-color: #DFDFDF;\n" + "}\n" + "div.profile > input[type=radio]:checked ~ svg:hover {\n" + "border-color: #4F8FCF;\n" + "background-color: #EFEFEF;\n" + "}\n" "div.profile > input[type=radio]:checked ~ span {\n" "display: none;\n" "}\n" -- cgit v0.9.1