diff --git a/plonetheme/pfbweb/static/css/pfbweb.css b/plonetheme/pfbweb/static/css/pfbweb.css index 8f40274..fa67e1c 100644 --- a/plonetheme/pfbweb/static/css/pfbweb.css +++ b/plonetheme/pfbweb/static/css/pfbweb.css @@ -78,26 +78,6 @@ div.document-download a { z-index: 0; } -#deputy-search a.fdf:link { - display:inline-block; - width:40px; - height:15px; - font-family:Arial, Helvetica, sans-serif; - font-size:9pt; - font-weight:bold; - text-align:center; - - vertical-align:middle; - color:#FFF; - padding-bottom:5px; -} -#deputies-list .deputy-popup div.fdf, .polgroup-fdf, -a.fdf, #deputy-search .groupe a.fdf.active, #polgroup.fdf{ - background-color:#E11482; -} -#deputy-search .groupe a.fdf.active { - text-decoration:underline; -} #content-core ul { padding-left: 2em; @@ -999,8 +979,8 @@ div.blocdate{ } #form-name input { -margin-left:150px; -width : 330px; +margin-left:140px; +width : 340px; } #form-initial,#form-age,#form-polgroup,#form-name { font-family:Arial, Helvetica, sans-serif; @@ -1016,11 +996,13 @@ width : 330px; #realcontent #form-age label, #realcontent #form-polgroup label { position:absolute; + max-width: 140px; } + #realcontent #form-initial .alphabet, #realcontent #form-age .age, #realcontent #form-polgroup .groupe { - margin-left:150px; + margin-left:140px; position:absolute; } @@ -1059,6 +1041,8 @@ font-family:Arial, Helvetica, sans-serif; color:#FFF; } + +#siege-plus, #birthline { margin-left:150px; font-family:Arial, Helvetica, sans-serif; @@ -1103,19 +1087,14 @@ font-family:Arial, Helvetica, sans-serif; color:#231F20; } #deputy-search .groupe a:link { -margin-right:13px; +margin-right:10px; text-decoration:none; } a.tous.active { text-decoration:underline; } -#deputy-search .groupe a.ps.active { -background-color:transparent; - -border:none; -} -a.tous:link, #deputy-search div.age a.tous, #deputy-search div.alphabet a.tous { +#deputy-search div.groupe a:link, #deputy-search div.age a.tous, #deputy-search div.alphabet a.tous { display:inline-block; width:30px; height:15px; @@ -1127,38 +1106,28 @@ a.tous:link, #deputy-search div.age a.tous, #deputy-search div.alphabet a.tous { vertical-align:middle; padding-bottom:5px; } -#deputy-search a.ps:link, #deputy-search a.mr:link, #deputy-search a.cdh:link, #deputy-search a.ecolo:link, #deputy-search a.fdf:link { - display:inline-block; - width:40px; - height:15px; - font-family:Arial, Helvetica, sans-serif; - font-size:9pt; - font-weight:bold; - text-align:center; - vertical-align:middle; +/* the political groups are set a bit wider than the other elements */ +#deputy-search div.groupe a.tous:link { + width:30px; + color: black; +} + +#deputy-search div.groupe a:link { + width:35px; color:#FFF; - padding-bottom:5px; -} -a.ps, #deputy-search .groupe a.ps.active, #polgroup.ps, .polgroup-ps{ - background-color:#ED1C25; -} -a.fdf, #deputy-search .groupe a.fdf.active, #polgroup.fdf, .polgroup-fdf{ - background-color:#e11482; -} -#deputy-search .groupe a.ps.active,#deputy-search .groupe a.fdf.active, #deputy-search .groupe a.mr.active, #deputy-search .groupe a.cdh.active, #deputy-search .groupe a.ecolo.active{ - text-decoration:underline; -} -a.mr, #deputy-search .groupe a.mr.active, #polgroup.mr, .polgroup-mr { - background-color:#135EAC; -} -a.cdh, #deputy-search .groupe a.cdh.active, #polgroup.cdh, .polgroup-cdh { - background-color:#F47521; -} -a.ecolo, #deputy-search .groupe a.ecolo.active, #polgroup.ecolo, .polgroup-ecolo { - background-color:#00A852; } +/* the political groups are underlined when active */ +#deputy-search div.groupe a.tous.active:link { + text-decoration: none; +} + +#deputy-search div.groupe a.active:link { + text-decoration: underline; +} + +/* ... */ #deputy-search div.age a{ display:inline-block; width:40px; @@ -1170,7 +1139,7 @@ a.ecolo, #deputy-search .groupe a.ecolo.active, #polgroup.ecolo, .polgroup-ecolo vertical-align:middle; padding-bottom:5px; } -#deputy-search div.alphabet a:hover, #deputy-search div.age a:hover{ +#deputy-search div.alphabet a:hover, #deputy-search div.age a:hover { background-color:#FFF; } @@ -2073,22 +2042,6 @@ z-index:100; width:80px; height:20px; } -#deputies-list .deputy-popup div.ps{ - background-color:#ED1C25; -} - -#deputies-list .deputy-popup div.mr { - background-color:#135EAC; -} -#deputies-list .deputy-popup div.cdh { - background-color:#F47521; -} -#deputies-list .deputy-popup div.ecolo { - background-color:#00A852; -} -#deputies-list .deputy-popup div.fdf { - background-color:#e11482; -} #deputies-list span.polgroup{ position:relative; @@ -3231,7 +3184,8 @@ body.section-agenda.portaltype-tabellio-documents-document h1#parent-fieldname-t padding-top: 40px; } -div#deputy-search div.groupe a.independant { +div#deputy-search div.groupe a.independant, +div#deputy-search div.groupe a.none { display: none; } @@ -3624,4 +3578,45 @@ body.largeText #content-core p { float: left; margin: 0 5px; } -} \ No newline at end of file +} + + +/* set background colours for political groups */ +a.ps, #deputy-search .groupe a.ps.active, #polgroup.ps, .polgroup-ps, #deputies-list .deputy-popup div.ps { + background-color: #ED1C25; +} +a.fdf, #deputy-search .groupe a.fdf.active, #polgroup.fdf, .polgroup-fdf, #deputies-list .deputy-popup div.fdf { + background-color: #e11482; +} +a.mr, #deputy-search .groupe a.mr.active, #polgroup.mr, .polgroup-mr, #deputies-list .deputy-popup div.mr { + background-color: #135EAC; +} +a.cdh, #deputy-search .groupe a.cdh.active, #polgroup.cdh, .polgroup-cdh, #deputies-list .deputy-popup div.cdh { + background-color: #F47521; +} +a.ecolo, #deputy-search .groupe a.ecolo.active, #polgroup.ecolo, .polgroup-ecolo, #deputies-list .deputy-popup div.ecolo { + background-color: #00A852; +} + +a.ptb-pvda-go, #deputy-search .groupe a.ptb-pvda-go.active, #polgroup.ptb-pvda-go, .polgroup-ptb-pvda-go, #deputies-list .deputy-popup div.ptb-pvda-go { + background-color: #B30000; +} + +/* size exception for "independant" used on individual deputy pages */ +#polgroup.independant { + width: 120px; +} + +/* some size changes for PTB*PVDA-GO!, due to the long name */ +#deputy-search div.groupe a.ptb-pvda-go:link { + line-height: 130%; + font-size: 8px; +} + +#deputies-list .deputy-popup div.ptb-pvda-go .polgroup { + font-size: 7px; +} + +#polgroup.ptb-pvda-go { + width: 140px; +}