From 3be2cd45fcc550a3d76d2d2551f04c220d51d533 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 06 Nov 2017 14:18:02 -0500 Subject: about:profiles: Add color picker styles --- (limited to 'src/schemes') 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 * -- cgit v0.9.1