summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-06 14:18:02 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-06 14:18:02 (EST)
commit3be2cd45fcc550a3d76d2d2551f04c220d51d533 (patch)
tree286e7195d1a4a5584aaf6dbf49eb315816440bc3
parentfce6bae15c497aba0042ce31d737617255ee7135 (diff)
downloadmarquee-3be2cd45fcc550a3d76d2d2551f04c220d51d533.zip
marquee-3be2cd45fcc550a3d76d2d2551f04c220d51d533.tar.gz
marquee-3be2cd45fcc550a3d76d2d2551f04c220d51d533.tar.bz2
about:profiles: Add color picker styles
-rw-r--r--src/schemes/about/profiles.c68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c
index 777ad8f..2f1dddb 100644
--- a/src/schemes/about/profiles.c
+++ b/src/schemes/about/profiles.c
@@ -112,6 +112,74 @@ static const gchar *styles =
"div.profile > label, div.profile > input[type=submit] {\n"
" float: right;\n"
"}\n"
+ "div.color-picker {\n"
+ " display: none;\n"
+ " position: fixed;\n"
+ " top: 50%;\n"
+ " left: 50%;\n"
+ " margin-top: -127px;\n"
+ " margin-left: -127px;\n"
+ " border: 1px solid #9F9F9F;\n"
+ " border-radius: 3px;\n"
+ " box-shadow: 0 0 12px #000000;\n"
+ " background-color: #CFCFCF;\n"
+ "}\n"
+ "div.color-picker div.picker-wrapper,\n"
+ "div.color-picker div.slide-wrapper {\n"
+ " position: relative;\n"
+ " float: left;\n"
+ "}\n"
+ "div.color-picker div.picker {\n"
+ " float: left;\n"
+ " margin: 0;\n"
+ " width: 200px;\n"
+ " height: 200px;\n"
+ " cursor: crosshair;\n"
+ "}\n"
+ "div.color-picker div.slide {\n"
+ " float: left;\n"
+ " margin: 0;\n"
+ " width: 30px;\n"
+ " height: 200px;\n"
+ " cursor: crosshair;\n"
+ "}\n"
+ "div.color-picker svg {\n"
+ " margin: 0;\n"
+ "}\n"
+ "div.color-picker div.picker-indicator {\n"
+ " position: absolute;\n"
+ " top: -6px;\n"
+ " left: -6px;\n"
+ " margin: 0;\n"
+ " border: 3px solid #9F9F9F;\n"
+ " border-radius: 6px;\n"
+ " width: 6px;\n"
+ " height: 6px;\n"
+ " opacity: 0.5;\n"
+ " background-color: #FFFFFF;\n"
+ " pointer-events: none;\n"
+ "}\n"
+ "div.color-picker div.slide-indicator {\n"
+ " position: absolute;\n"
+ " top: -6px;\n"
+ " left: -3px;\n"
+ " margin: 0;\n"
+ " border: 3px solid #9F9F9F;\n"
+ " border-radius: 6px;\n"
+ " width: 100%;\n"
+ " height: 6px;\n"
+ " opacity: 0.5;\n"
+ " background-color: #FFFFFF;\n"
+ " pointer-events: none;\n"
+ "}\n"
+ "div.color-picker div.cp-buttonbox {\n"
+ " float: right;\n"
+ " clear: left;\n"
+ " margin: 0;\n"
+ "}\n"
+ "div.color-picker div.cp-buttonbox * {\n"
+ " line-height: 100%;\n"
+ "}\n"
;
static gchar *