summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/html.c15
1 files changed, 15 insertions, 0 deletions
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"