From 3052c39bf4a8e643688715cb01ed78020ae7cbcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 4 Dec 2011 19:46:59 +0100 Subject: [PATCH] document search styling, including droppable check boxes --- plonetheme/pcfweb/static/css/style.css | 64 +++++++++++++++++- .../pcfweb/static/img/close-droppable.png | Bin 0 -> 383 bytes .../pcfweb/static/img/open-droppable.png | Bin 0 -> 334 bytes 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 plonetheme/pcfweb/static/img/close-droppable.png create mode 100644 plonetheme/pcfweb/static/img/open-droppable.png diff --git a/plonetheme/pcfweb/static/css/style.css b/plonetheme/pcfweb/static/css/style.css index 22cddf9..9859e87 100644 --- a/plonetheme/pcfweb/static/css/style.css +++ b/plonetheme/pcfweb/static/css/style.css @@ -454,7 +454,28 @@ dl.portlet a:hover {text-decoration: underline;} font-size: 16px; color: #000; text-align: center; + background: url("../img/results_box_bg.jpg") no-repeat top right; } + +#search-tabs { + position: relative; +} + +#search-tabs #resultsbox { + width: 560px; +} + +#sorton { + position: absolute; + right: 20px; + width: auto; + padding-top: 4px; +} + +#sorton select { + width: 80px; +} + /*when there is a filter for the results*/ .searchresult {clear: both; overflow: hidden;margin-bottom: 10px;} .searchresult #resultsbox {float:left; clear: none;} @@ -2130,7 +2151,7 @@ dd#fieldset-questions select:focus, dd#fieldset-decrets select:focus, #content select:focus { outline:none; - background: #FFFFFF; + background-color: #FFFFFF; } @@ -2688,3 +2709,44 @@ p#details a { text-align: right; } #fieldset-parlementaires #stats span { visibility: hidden; } + + +div.droppedcheckboxes{ + display:block; + right:2px; + position:absolute; + z-index:50; + padding-left:10px; + padding-top:10px; + padding-bottom:10px; + padding-right:0px; + background:#ccc; + margin-top: 20px; +} + +div.openboxes input.dummyinput { + background: url(../img/close-droppable.png) center right no-repeat; +} +input.dummyinput { + background: url(../img/open-droppable.png) center right no-repeat; +} + +#colOne div.droppedcheckboxes label { + position:relative !important; + border:0 !important; + margin-left:15px; + float: none; + background: none; +} +div.droppedcheckboxes span.label{ + font-weight:normal; +} +div.droppedcheckboxes input{ + position:absolute !important; + display:block; + width:auto !important; + border: 1px #f99d34 solid; + margin:0 !important; + background: none; +} + diff --git a/plonetheme/pcfweb/static/img/close-droppable.png b/plonetheme/pcfweb/static/img/close-droppable.png new file mode 100644 index 0000000000000000000000000000000000000000..3ce157055fc1a5aedb10127a7453e856da45737f GIT binary patch literal 383 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa#^NA%Cx&(BWL^R}Y)RhkE;U;<8$uPcIR({fq z%)Y;Iwa28x1_BI>7bJ??Ka{P?y?t$S(5t#N@6B5UI2xQdxD+`WE}Q)Q8}hz(>a^5{ zHs?e66z_CDw`vjSF$_~Uc4Ap3N5j3}t7jCa-T$tCX=Z8c%~ILob6czb{Eq+2*6b5& UJ~=B-73fO_Pgg&ebxsLQ0P^aP8UO$Q literal 0 HcmV?d00001 diff --git a/plonetheme/pcfweb/static/img/open-droppable.png b/plonetheme/pcfweb/static/img/open-droppable.png new file mode 100644 index 0000000000000000000000000000000000000000..8b9c8b73fab9fdd593e9539dd44b423bd91fa4e3 GIT binary patch literal 334 zcmeAS@N?(olHy`uVBq!ia0vp^d?3uh1|;P@bT0xa#^NA%Cx&(BWL^R}Y)RhkEcq#3 zc{hC9IKiRb{AjMzqOiyt5l%NSMGdHf&KD{X+%_C{nviDc3IVKdp`{A;5%JEyG zOg)b~R8%Gw*M%wWiE`(7_^0{)+T`2Y`20#_j-S79#%kJ<+WV$Fhrhc1FSo2`vuD`# XBZ3`njxgN@xNAJ{f=e literal 0 HcmV?d00001