summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/html.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/src/utils/html.c b/src/utils/html.c
index 95f7d11..262be3b 100644
--- a/src/utils/html.c
+++ b/src/utils/html.c
@@ -191,6 +191,67 @@ static const gchar *styles =
"width: calc(100% - 12px);\n"
"height: 400px;\n"
"}\n"
+ "div.profile > svg {\n"
+ "width: 64px;\n"
+ "height: 64px;\n"
+ "}\n"
+ "div.profile > label {\n"
+ "display: inline;\n"
+ "border: 1px solid #9F9F9F;\n"
+ "border-radius: 3px;\n"
+ "background-color: #DFDFDF;\n"
+ "padding: 6px;\n"
+ "color: #000000;\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:hover {\n"
+ "border: 1px solid #4F8FCF;\n"
+ "outline: 0;\n"
+ "background-color: #EFEFEF;\n"
+ "}\n"
+ "div.profile {\n"
+ "background-color: #CFCFCF;\n"
+ "border: 1px solid #9F9F9F;\n"
+ "border-radius: 3px;\n"
+ "}\n"
+ "div.profile > input[type=radio] {\n"
+ "display: none;\n"
+ "}\n"
+ "div.profile > span {\n"
+ "display: inline;\n"
+ "position: absolute;\n"
+ "}\n"
+ "div.profile > input[type=text] {\n"
+ "display: none;\n"
+ "position: absolute;\n"
+ "}\n"
+ "div.profile > label {\n"
+ "display: inline;\n"
+ "}\n"
+ "div.profile > label > span {\n"
+ "margin: 0;\n"
+ "}\n"
+ "div.profile > input[type=submit].save {\n"
+ "display: none;\n"
+ "}\n"
+ "div.profile > input[type=radio]:checked ~ span {\n"
+ "display: none;\n"
+ "}\n"
+ "div.profile > input[type=radio]:checked ~ input[type=text] {\n"
+ "display: inline;\n"
+ "}\n"
+ "div.profile > input[type=radio]:checked ~ label {\n"
+ "display: none;\n"
+ "}\n"
+ "div.profile > input[type=radio]:checked ~ input[type=submit].save {\n"
+ "display: inline;\n"
+ "}\n"
+ "div.profile > label, div.profile > input[type=submit] {\n"
+ "float: right;\n"
+ "}\n"
;
gchar *