summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2014-08-11 17:27:06 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2014-08-11 17:33:47 (GMT)
commite0c84a8a64d9198845519247aaa4775c85603dff (patch)
tree63b515a5acabe8cf6070c8eb0046efafe990aa8a
parent88c0e7aee9f859441358a3703fcd4c2ed8051cc8 (diff)
downloadcud-themes-master.zip
cud-themes-master.tar.gz
cud-themes-master.tar.bz2
wcs themeHEADmaster
-rw-r--r--Makefile13
-rw-r--r--wcs/cud/FontAwesome.otfbin0 -> 75188 bytes
-rw-r--r--wcs/cud/Museo500-Regular.otfbin0 -> 128172 bytes
-rw-r--r--wcs/cud/Museo_Slab.otfbin0 -> 62180 bytes
-rw-r--r--wcs/cud/desc.xml6
-rw-r--r--wcs/cud/ical.gifbin0 -> 649 bytes
-rw-r--r--wcs/cud/key.gifbin0 -> 576 bytes
-rw-r--r--wcs/cud/logo.pngbin0 -> 89672 bytes
-rw-r--r--wcs/cud/mail.gifbin0 -> 1104 bytes
-rw-r--r--wcs/cud/puce-hover.gifbin0 -> 61 bytes
-rw-r--r--wcs/cud/rss.gifbin0 -> 1082 bytes
-rw-r--r--wcs/cud/template.ezt59
-rw-r--r--wcs/cud/wcs.css779
13 files changed, 852 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7d81d7a..c0cc26c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
VERSION=`git describe | sed 's/^v//; s/-/./g' `
-NAME="cud-themes"
+CUSTOMER="cud"
+NAME="$CUSTOMER-themes"
prefix = /usr
@@ -18,10 +19,12 @@ build: clean
done
install:
- mkdir -p $(DESTDIR)$(prefix)/share/authentic2/cud
- mkdir -p $(DESTDIR)$(prefix)/share/portail-citoyen2/cud
- cp -r idp/* $(DESTDIR)$(prefix)/share/authentic2/cud
- cp -r portail-citoyen/* $(DESTDIR)$(prefix)/share/portail-citoyen2/cud
+ mkdir -p $(DESTDIR)$(prefix)/share/authentic2/$(CUSTOMER)
+ mkdir -p $(DESTDIR)$(prefix)/share/portail-citoyen2/$(CUSTOMER)
+ mkdir -p $(DESTDIR)$(prefix)/share/wcs/themes/$(CUSTOMER)
+ cp -r idp/* $(DESTDIR)$(prefix)/share/authentic2/$(CUSTOMER)
+ cp -r portail-citoyen/* $(DESTDIR)$(prefix)/share/portail-citoyen2/$(CUSTOMER)
+ cp -r wcs/$(CUSTOMER)/* $(DESTDIR)$(prefix)/share/wcs/themes/$(CUSTOMER)
dist-bzip2: build
mkdir sdist
diff --git a/wcs/cud/FontAwesome.otf b/wcs/cud/FontAwesome.otf
new file mode 100644
index 0000000..3461e3f
--- /dev/null
+++ b/wcs/cud/FontAwesome.otf
Binary files differ
diff --git a/wcs/cud/Museo500-Regular.otf b/wcs/cud/Museo500-Regular.otf
new file mode 100644
index 0000000..da52e9c
--- /dev/null
+++ b/wcs/cud/Museo500-Regular.otf
Binary files differ
diff --git a/wcs/cud/Museo_Slab.otf b/wcs/cud/Museo_Slab.otf
new file mode 100644
index 0000000..84ceaca
--- /dev/null
+++ b/wcs/cud/Museo_Slab.otf
Binary files differ
diff --git a/wcs/cud/desc.xml b/wcs/cud/desc.xml
new file mode 100644
index 0000000..977768b
--- /dev/null
+++ b/wcs/cud/desc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<theme name="cud" version="1.0">
+ <label>CUD</label>
+ <desc>Theme for CUD wcs</desc>
+ <author>Serghei</author>
+</theme>
diff --git a/wcs/cud/ical.gif b/wcs/cud/ical.gif
new file mode 100644
index 0000000..2c0dddd
--- /dev/null
+++ b/wcs/cud/ical.gif
Binary files differ
diff --git a/wcs/cud/key.gif b/wcs/cud/key.gif
new file mode 100644
index 0000000..555b328
--- /dev/null
+++ b/wcs/cud/key.gif
Binary files differ
diff --git a/wcs/cud/logo.png b/wcs/cud/logo.png
new file mode 100644
index 0000000..0c2b649
--- /dev/null
+++ b/wcs/cud/logo.png
Binary files differ
diff --git a/wcs/cud/mail.gif b/wcs/cud/mail.gif
new file mode 100644
index 0000000..6dcc53b
--- /dev/null
+++ b/wcs/cud/mail.gif
Binary files differ
diff --git a/wcs/cud/puce-hover.gif b/wcs/cud/puce-hover.gif
new file mode 100644
index 0000000..514a732
--- /dev/null
+++ b/wcs/cud/puce-hover.gif
Binary files differ
diff --git a/wcs/cud/rss.gif b/wcs/cud/rss.gif
new file mode 100644
index 0000000..d389dce
--- /dev/null
+++ b/wcs/cud/rss.gif
Binary files differ
diff --git a/wcs/cud/template.ezt b/wcs/cud/template.ezt
new file mode 100644
index 0000000..d73a92b
--- /dev/null
+++ b/wcs/cud/template.ezt
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<html lang="[site_lang]">
+ <head>
+ <title>[page_title]</title>
+ <link rel="shortcut icon" href="/themes/cud/favicon.png" />
+ <link rel="alternate" type="application/atom+xml" title="[site_name]" href="[root_url]announces/atom"/>
+ [script]
+ <link rel="stylesheet" type="text/css" href="[css]"/>
+ </head>
+ <body[if-any onload] onload="[onload]"[end]>
+ <div id="page">
+ <div id="header">
+ <div id="top">
+ <div id="logo">
+ </div>
+ <div class="region-header">
+ <div id="toplinks">
+ <span class="logged-in">
+ [if-any user]
+ <p class="user fullname">Bienvenue [user.display_name]</p>
+ <a class="logout" href="[root_url]logout">Déconnexion</a>
+ [end]
+ </span>
+ </div>
+
+ </div>
+ </div>
+ </div> <!-- header -->
+
+ <div id="main-content-wrapper">
+ <div id="menu">
+ [if-any breadcrumb]<ul>[breadcrumb]</ul>[end]
+ </div>
+
+ <div id="main-content">
+ <div id="content">
+ [if-any gauche]
+ <div id="gauche">
+ [gauche]
+ </div>
+ [end]
+ [if-any bigdiv]<div id="[bigdiv]">[end]
+ [if-any title]<h2>[title]</h2>[end]
+ [body]
+ [if-any bigdiv]</div>[end]
+ </div> <!-- #content -->
+ </div> <!-- #main-content -->
+ </div> <!-- #main-content-wrapper -->
+ <div id="footer">
+ <p id="faq">
+ Mentions légales - Crédits - FAQ
+ </p>
+ <p id="legal">
+ &copy; Copyright Dunkerque Grand Littoral 2013
+ </p>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/wcs/cud/wcs.css b/wcs/cud/wcs.css
new file mode 100644
index 0000000..4a9600d
--- /dev/null
+++ b/wcs/cud/wcs.css
@@ -0,0 +1,779 @@
+@font-face {
+ font-family: 'Museo500';
+ src: url(Museo500-Regular.otf);
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'MuseoSlab';
+ src: url(Museo_Slab.otf);
+ font-weight: normal;
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'FontAwesome';
+ src: url(FontAwesome.otf);
+ font-weight: normal;
+ font-style: normal;
+}
+
+html, body { margin: 0; font-family: arial, sans-serif; font-size: 13px;}
+a { text-decoration: none; }
+a:hover { text-decoration: underline; }
+h1, h2, h3 { margin-top: 0; }
+
+div#single-title, #nav,
+#top, h2 {
+ font-family: MuseoSlab, sans-serif;
+ font-weight: normal;
+}
+
+h3, h4 {
+ font-family: Museo500, sans-serif;
+ font-weight: normal;
+}
+
+
+
+a {
+ -webkit-transition: color 200ms ease-out;
+}
+
+/* layout */
+
+body {
+ overflow-x: hidden;
+ background: white;
+}
+
+div#page {
+ width: 100%;
+ background: #fff;
+}
+
+div#header {
+ background-color: #014c90;
+ width: 100%;
+ margin: 0 0 0 0;
+ top: 0px;
+ z-index: 0;
+
+}
+
+div#top {
+ margin: 0 auto;
+}
+
+div#top h1 {
+ width: 10em;
+ text-align: center;
+ padding-top: 3em;
+ padding-left: 2em;
+ margin-left: 20px;
+ font-size: 120%;
+ font-weight: bold;
+}
+
+div#top h1 a {
+ color: white;
+ text-shadow: #6374AB 0px 0px 3px;
+}
+
+div#top a img {
+ border: 0;
+ visibility: hidden;
+}
+
+div#main-content-wrapper {
+ position: relative;
+ z-index: 100;
+ background: linear-gradient(to right, #1a76c3, #c6dcf1);
+}
+
+div#main-content {
+ margin: 0;
+ min-height: 300px;
+}
+
+div#footer {
+ width: 990px;
+ clear: both;
+ padding: 0px;
+ margin: 10px auto 0 auto;
+ position: relative;
+}
+
+p#legal, p#faq {
+ color: #666;
+ margin: 0;
+ margin-top: 2em;
+ font-size: .9em;
+ display: inline-block;
+ padding-top: 5px;
+ float: left;
+}
+
+p#legal {
+ float: right;
+}
+
+#content {
+ position: relative;
+ margin:0 auto;
+ color: rgb(58, 58, 58);
+ width: 990px;
+ background: linear-gradient(to right, #1a76c3, #cde0f1);
+ padding: 0.4em 0;
+}
+
+div#content a {
+ color: #37a7da;
+}
+
+div#content a:hover {
+ text-decoration: underline;
+}
+
+#menu {
+ font-size: 130%;
+ margin-top: -1px;
+}
+
+#menu ul {
+ background: #0d92e1;
+ font-size: 110%;
+ padding: 5px 0;
+ width: 990px;
+ margin: 0 auto;
+}
+
+#menu li {
+ display: inline;
+ margin: 0px 10px 0 0;
+ background: #37a7da;
+ border: 5px solid transparent;
+ border-width: 2px 5px;
+ -webkit-transition: all .2s ease-in-out;
+ -moz-transition: all .2s ease-in-out;
+}
+
+#menu li a {
+ color: white;
+ text-transform: uppercase;
+ white-space: pre;
+}
+
+#menu li:hover {
+ background-color: #f4bc03;
+ border-color: #f4bc03;
+}
+
+#menu li:hover a {
+ text-decoration: none;
+}
+
+#menu li.selected, #menu li.ancestor {
+ background: #515151;
+ border-color: #515151;
+}
+
+#menu li.selected a {
+ color: white;
+}
+
+#left, #right, div.login, div.account, #profile, #myspace, #new_member, div#member {
+ background: #fff;
+ margin: 0 10px;
+}
+
+#left, #right, #myspace, #profile, #new_member, div#member {
+ width: 45%;
+}
+
+#left {
+ float: left;
+}
+
+#right {
+ float: right;
+}
+
+#right h2, #left h2, div.login h1, div.account h1, #profile h2, #myspace h3, #new_member h2 {
+ padding: .2em 2em;
+ background: #dddf10;
+ position: relative;
+}
+
+div.login, div.account {
+ width: 500px;
+ margin: 20px auto;
+ border-radius: .3em;
+ padding: 3px;
+}
+
+#right h2:before, #left h2:before, div.login h1:before, div.account h1:before, #profile h2:before, #myspace h3:before,
+#new_member h2:before {
+ position: absolute;
+ font: normal 1.2em FontAwesome;
+ content: '\f061';
+ background: #d8d8d8;
+ top: 0;
+ left: 0;
+ bottom:0;
+ padding: .2em .3em;
+}
+
+br.clear {
+ clear: both;
+}
+
+p#profile-links {
+ display: none;
+}
+
+#error-404, #error-500, #content .block, #password-changed {
+ background: white;
+ font-size: 110%;
+ margin-bottom: 1em;
+}
+
+#content .block h2 {
+ background: transparent;
+ font-weight: normal;
+ color: white;
+ text-transform: uppercase;
+ padding: 6px 10px 6px 10px;
+ color: #333;
+ font-size: 130%;
+ cursor: default; /* someday, perhaps, cursor: move */
+ border-bottom: 1px solid #ddd;
+}
+
+#content .block h2.feeds {
+ background-image: url(Picto-Bulle.png);
+}
+
+#content .block h2.newsletters {
+ background-image: url(Picto-coeur.png);
+}
+
+#content .block h3,
+#content .block p {
+ margin: 1ex 10px;
+ padding-bottom: 1px;
+}
+
+#content .demarches ul,
+#content ul.mes-demarches {
+ list-style: none;
+ padding-left: 0px;
+ margin: 0px;
+}
+
+#content .demarches ul {
+ -webkit-column-count: 2;
+ -moz-column-count: 2;
+ column-count: 2;
+}
+
+#content ul.mes-demarches li,
+#content .demarches ul li {
+ margin: 1ex 0 10px 1ex;
+ padding-left: 10px;
+ -webkit-column-break-inside: avoid;
+ -moz-column-break-inside: avoid;
+ column-break-inside: avoid;
+}
+
+#content .demarches .toutes-les-demarches {
+ padding: 10px 0 10px 0;
+ margin-left: 20px;
+}
+
+#content .toutes-les-demarches a {
+ font-size: 130%;
+}
+
+#content .toutes-les-demarches a:before {
+ content: "▹ ";
+}
+
+#commune-selector {
+ margin-left: 5px;
+ margin-bottom: 10px;
+}
+
+#content #futurs-demarches {
+ overflow-y: hidden;
+ margin: 5px;
+ padding-bottom: 15px;
+}
+
+#content #futurs-demarches.selected {
+ display: block;
+}
+
+div#single-title {
+ background: #0d92e1;
+ font-size: 110%;
+ padding: 5px 0;
+ width: 990px;
+ margin: 0 auto;
+}
+
+div#single-title ul {
+ margin: 0 .5em;
+ padding: 0;
+ font: normal 1em Arial;
+}
+
+div#single-title ul li {
+ list-style-type: none;
+ display: inline;
+}
+
+body.narrow-page #main-content {
+ background: white;
+ margin-top: 0;
+ padding: 10px 10px 0 10px;
+}
+
+body.narrow-page #main-content form div input {
+ display: block;
+ margin-left: 10px;
+ margin-bottom: 2ex;
+}
+
+div#welcome {
+ text-align: justify;
+ margin: 0 1em;
+}
+
+div#welcome h2 {
+ margin: 1ex 0;
+ font-size: 300%;
+ background: transparent url(e54.png) left center no-repeat;
+ padding-left: 70px;
+ text-align: left;
+ width: 150%;
+}
+
+div#welcome {
+ float: left;
+ width: 60%;
+}
+
+span.helptext {
+ color: #666;
+}
+
+body.narrow-page div.right {
+ width: 30%;
+ float: right;
+ margin: 1ex auto;
+}
+
+body.narrow-page div.right form {
+ text-align: left;
+ background: white;
+ margin: 10px 10px;
+ padding: 10px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ border: 1px solid #ccc;
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+ -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+ -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+
+}
+
+body.narrow-page div.right form div label {
+ width: 14em;
+ display: block;
+ padding-top: 3px;
+ color: #777;
+}
+
+body.narrow-page div.right form div input {
+ width: 16em;
+}
+
+body.narrow-page div.right form div.form-field-required label:after {
+ content: "";
+}
+
+body.narrow-page div.right form > input {
+ display: block;
+ margin: 1em auto 0 auto;
+ background: #37a7da;
+ color: white;
+ border: none;
+ padding: 3px 1em;
+}
+
+div.login-actions {
+ text-align: center;
+}
+
+
+.region-header {
+ width: 990px;
+ margin: 0 auto;
+}
+
+#toplinks {
+ background: #4e4e4e;
+ width: 990px;
+}
+
+#toplinks span {
+ width: 100%;
+ display: block;
+ margin: 0;
+ padding: 0;
+ color: #888;
+ background: url(button_connexion.gif) left center no-repeat;
+ border: 1px solid #e9e9e9;
+ line-height: 20px;
+ height: 22px;
+}
+
+#toplinks a {
+ color: #fff;
+ border: 1px solid transparent;
+}
+
+#toplinks a:hover {
+ text-decoration: none;
+ color: #222;
+}
+
+#toplinks a.restricted {
+ color: white;
+ float: right;
+ padding: 0 1ex;
+ border: 1px outset #888;
+ background: #37a7da;
+}
+
+div#username {
+ float: right;
+ padding: 5px 5px 5px 5px;
+ background: white;
+ line-height: 20px;
+ height: 22px;
+ border: 1px solid white;
+}
+
+/* forms error reporting */
+
+.errorlist {
+ list-style: none;
+ padding-left: 0;
+ margin-left: 0;
+}
+
+ul.errorlist li {
+ display: block;
+ color: #f44;
+}
+
+.form-field-required label:after {
+ content: '*';
+ color: #D90024;
+}
+
+ul.errorlist + p {
+ margin-top: 0px;
+}
+
+
+
+div.block form {
+ padding: 0 1ex;
+}
+
+/* pied de page */
+#footer-menu {
+ position: absolute;
+ display: block;
+ top: 20px;
+ left: 20px;
+ width: 435px;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ text-align: left;
+}
+
+.clear {
+ clear: both;
+}
+
+#messages {
+ margin-left: 210px;
+}
+
+#messages ul {
+ padding: 0;
+ margin: 0;
+ color: #333;
+ list-style: none;
+}
+
+#messages li.warning {
+}
+
+#messages li.error {
+}
+
+#messages li.info {
+}
+
+div#logo {
+ background: url('logo.png') no-repeat;
+ width: 990px;
+ height: 126px;
+ margin: 0 auto;
+}
+
+#nav {
+ margin: 0 auto;
+ padding: 0px 0;
+ width: 180px;
+ margin: 17px auto;
+ font-size: 110%;
+ float: left;
+ position: relative;
+ z-index: 1000;
+}
+
+#nav ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+#nav li {
+ margin: 1ex 0;
+ padding: 1ex;
+ border: 1px solid #a5a7aa;
+ border-width: 1px 0px;
+ text-align: center;
+}
+
+#nav a {
+ color: #404041;
+ text-decoration: none;
+}
+
+#nav li.selected:after,
+#nav li.ancestor:after,
+#nav li a:hover,
+#nav li.selected a,
+#nav li.ancestor a {
+ color: #e0007a;
+}
+
+
+div.block {
+ text-align: left;
+ background: white;
+ margin: 10px 10px;
+ padding: 10px;
+ -webkit-border-radius: 4px;
+ -moz-border-radius: 4px;
+ border-radius: 4px;
+ border: 1px solid #ccc;
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+ -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+ -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, .4);
+}
+
+h2#welcome-title {
+ margin-top: 2em;
+ margin-bottom: 1em;
+}
+
+select,
+input[type="text"],
+input[type="password"] {
+ border: 1px solid #aaa;
+ background: white url(field-shade.png) top left repeat-x;
+ padding: 1px;
+ border-radius: 2px;
+ -moz-border-radius: 2px;
+ -webkit-border-radius: 2px;
+ color: black;
+ -webkit-transition: background 200ms ease-out;
+ display: block;
+}
+
+input[type="text"]:focus,
+input[type="password"]:focus {
+ border: 1px solid #888;
+ background: white;
+}
+
+#toplinks span.logged-in {
+ background: none;
+ border: none;
+ padding: .2em .5em;
+ color: #fff;
+}
+
+#toplinks a.restricted {
+ color: white;
+ float: right;
+ padding: 0.5ex 1ex;
+ border: 1px outset #888;
+ background: #672290;
+ position: absolute;
+ top: -3em;
+ right: 3px;
+}
+
+
+#toplinks a.logout {
+ background: #808080;
+ display: inline-block;
+ padding-left: 30px;
+ padding-right: 1em;
+ margin-right: -2px;
+ position: relative;
+}
+
+#toplinks a.logout:before {
+ font-family: FontAwesome;
+ content: '\f00d';
+ background: #f15a25;
+ margin-right: .5em;
+ position: absolute;
+ top: 1px;
+ left: 1px;
+ bottom: 1px;
+ padding: 0px 4px;
+}
+
+#real-content {
+ text-align: justify;
+ margin-top: 1em;
+}
+
+p.fullname {
+ display: inline;
+ margin-right: 1.5em;
+}
+
+.list li.scolaire {
+ background: url('../img/scolaire.png') no-repeat;
+}
+
+.list li.culturel {
+ background: url('../img/culturel.png') no-repeat;
+}
+
+.list li.etat_civil {
+ background: url('../img/etat_civil.png') no-repeat;
+}
+
+.list li.environnement {
+ background: url('../img/environnement.png') no-repeat;
+}
+
+.list li.urbanisme {
+ background: url('../img/urbanisme.png') no-repeat;
+}
+
+.list li.service_technique {
+ background: url('../img/service_technique.png') no-repeat;
+}
+
+#actualites {
+ margin-right: 1em;
+ display: inline-block;
+}
+
+#actualites .alaune {
+ background: #fff;
+ border-radius: .2em;
+ width: 280px;
+ padding: .5em;
+ height: 130px;
+ overflow: hidden;
+ border: 1px solid #aaa;
+}
+
+#actualites .alaune h2 {
+ color: #006fa9;
+ border-bottom: 1px solid #006fa9;
+}
+
+#actualites .actions ul {
+ margin: 0;
+ padding: 0;
+}
+
+#actualites .actions li {
+ background: #fff;
+ margin: .4em 0;
+ list-style-type: none;
+ font: normal 1.2em Museo500;
+ color: #006fa9;
+ padding: .2em .5em;
+ padding-left: 2.5em;
+ position: relative;
+}
+
+#actualites .actions li:before {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ color: #000;
+ padding: .2em .3em;
+ font: normal 1.2em FontAwesome;
+ content: '\f061';
+ background: #fdee21;
+}
+
+span.strong {
+ font-weight: bold;
+}
+
+#bottom {
+ background: linear-gradient(to bottom, #707088, #fff);
+}
+
+.login form {
+ padding: 10px;
+ font-family: Museo500;
+}
+
+.login form label {
+ float: left;
+ width: 150px;
+}
+
+.login form input[type=text], .login form input[type=password] {
+ border: 1px solid #cdcdcd;
+ width: 200px;
+}
+
+
+button[type=submit], input[type=submit] {
+ background: #23b574;
+ color: #fff;
+ border: 0;
+ font-family: Museo500;
+}
+
+.account #profile {
+ background: #e7e7e7;
+ margin: 0 .5em;
+ padding: .3em .5em;
+}
+