+Build-Depends: debhelper (>= 9), ruby-sass (>= 3.4.23), wget(>= 1.16)
+Standards-Version: 3.9.4
+Homepage: http://git.entrouvert.org/atreal-publik-themes.git
+
+Package: atreal-publik-themes
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, publik-base-theme
+Conflicts: python-authentic2 (<= 2.1.20.742.gb6ee096-0)
+Breaks: combo (<= 0.7.1)
+Description: Publik themes for atReal
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..579cfc6
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,2 @@
+atreal-publik-themes_0.1-1_all.deb web optional
+atreal-publik-themes_0.1-1_amd64.buildinfo web optional
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..c376d55
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,2 @@
+/usr/share/publik/themes/atreal/static/coprec /usr/share/publik/themes/publik-base/static/coprec
+/usr/share/publik/themes/atreal/templates/variants/coprec /usr/share/publik/themes/publik-base/templates/variants/coprec
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b760bee
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/desc.xml b/desc.xml
new file mode 100644
index 0000000..5738c92
--- /dev/null
+++ b/desc.xml
@@ -0,0 +1,6 @@
+
+
+
+ Theme for atReal deployments
+ Michael Bideau
+
diff --git a/publik-base-theme b/publik-base-theme
new file mode 160000
index 0000000..18ab87c
--- /dev/null
+++ b/publik-base-theme
@@ -0,0 +1 @@
+Subproject commit 18ab87cabc766a7c485edf4e7c17447485db961a
diff --git a/static/coprec/_custom.scss b/static/coprec/_custom.scss
new file mode 100644
index 0000000..5b83493
--- /dev/null
+++ b/static/coprec/_custom.scss
@@ -0,0 +1,218 @@
+@import '../../publik-base-theme/static/includes/font-din';
+
+#page {
+}
+
+#header #top #logo a {
+ background: url(img/logo.png) bottom left no-repeat;
+ background-size: 200px;
+ height: 105px;
+ line-height: 190px;
+ font-weight: normal;
+ display: block;
+ color: white;
+ #max-width: 200px;
+ padding-bottom: 20px;
+ position: relative;
+ left: -1rem;
+ padding-left: 230px;
+ @media screen and (max-width: $mobile-limit) {
+ padding-left: 0;
+ max-width: 90%;
+ background-size: contain;
+ left: 0;
+ text-indent: -10000px;
+ }
+}
+
+#page {
+ background-image: url(/static/coprec/img/IPC.jpg);
+ background-color: #f3f3f3;
+ background-repeat: no-repeat;
+ background-size: 100% 210px;
+}
+
+#header-wrapper {
+ background: transparent;
+}
+
+#nav-wrapper {
+ background: transparent;
+ margin-bottom: 0px;
+ font-size: 24px;
+ border-bottom: 1px solid #e0e0e0;
+ div.gru-nav > ul {
+ padding-top: 2rem;
+ margin-top: 0;
+ margin-bottom: 0px;
+ ul {
+ font-size: 18px;
+ }
+ }
+ div.gru-nav > ul > li a {
+ line-height: 2em;
+ }
+ div.gru-nav > ul > li:first-child a {
+ padding-left: 0;
+ }
+}
+
+div#main-content-wrapper {
+ background: white;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+ padding: 1rem;
+ box-sizing: border-box;
+}
+
+@media screen and (max-width: $mobile-limit) {
+ #header #top #logo a {
+ display: block;
+ height: 75px;
+ }
+ .gru-nav-wrapper {
+ margin-top: -48px;
+ }
+ #nav-wrapper div.gru-nav > ul {
+ padding-top: 0;
+ margin-top: 0;
+ }
+ #nav-wrapper div.gru-nav > ul > li:first-child a {
+ padding-left: 20px;
+ }
+}
+
+body.has-picture nav::after {
+ top: 1px;
+}
+
+div#tracking-code h3,
+div#rub_service h2,
+div#rub_service div.category h3,
+.gru-content div.a2-block h2,
+.gru-content div.block h2,
+div.links-list h2,
+div#services > ul > li > strong > a,
+.gru-content div.textcell h2,
+.gru-content div.textcell h2:first-child,
+.gru-content div.cell h2:first-child {
+ background: transparent;
+ color: $font-color;
+ font-size: 150%;
+ font-weight: bold;
+ padding-left: 0.5rem;
+ text-align: left;
+ &::after {
+ display: block;
+ content: "";
+ background: $primary-color;
+ margin-top: 7px;
+ width: 40px;
+ height: 4px;
+ }
+}
+
+div.title label {
+ font-weight: bold;
+}
+
+div#rub_service div.dataview,
+div#rub_service form.quixote {
+ h3 {
+ font-size: 130%;
+ border-bottom: 0;
+ &::after {
+ display: block;
+ content: "";
+ background: $primary-color;
+ margin-top: 7px;
+ width: 30px;
+ height: 3px;
+ }
+ }
+ h4 {
+ font-size: 130%;
+ font-weight: normal;
+ border-bottom: 1px solid #e5e5e5;
+ }
+}
+
+div#rub_service > h2:first-child,
+.gru-content div.textcell h1 {
+ font-size: 60px;
+ text-align: center;
+ &::after {
+ content: none;
+ }
+}
+
+div#left div.a2-block, div#right div.a2-block,
+.gru-content div.cell,
+div.block {
+ padding: 0;
+ margin: 0px 10px 10px 10px;
+
+ & h2 + div {
+ padding: 0.5rem;
+ }
+}
+
+div.cell a {
+ border-bottom: 1px dotted $link-color;
+}
+
+#footer {
+ #background: url(img/blason.png) top left no-repeat;
+ min-height: 130px;
+ text-align: center;
+ div.cell.partners {
+ #float: right;
+ background: white;
+ padding: 0;
+ #margin: -70px 0 0 0;
+ text-align: center;
+ }
+ div.cell.partners img {
+ margin: 0 30px;
+ }
+ .partners .partner {
+ display: inline-block;
+ margin: 0 30px;
+ width: 110px;
+ height: 110px;
+ }
+ .partners .partner.apave {
+ background: url(/static/coprec/img/logo_Apave2-110px.jpg);
+ }
+ .partners .partner.veritas {
+ width: 100px;
+ height: 100px;
+ background: url(/static/coprec/img/logo_BureauVeritas2-100px.jpg);
+ }
+ .partners .partner.dekra {
+ background: url(/static/coprec/img/logo_Dekra2-110px.jpg);
+ }
+ .partners .partner.qualiconsult {
+ background: url(/static/coprec/img/logo_GroupeQualiconsult-110px.jpg);
+ }
+ .partners .partner.sgs {
+ background: url(/static/coprec/img/logo_SGS2-110px.jpg);
+ }
+ .partners .partner.socotec {
+ background: url(/static/coprec/img/logo_Socotec2-110px.jpg);
+ }
+}
+
+.fargo-pick-popup button,
+button.ui-button,
+a#a2-continue,
+div.gru-content button,
+input[type=submit],
+div.buttons input {
+ box-shadow: none;
+ text-transform: uppercase;
+ font-weight: bold;
+ &:hover {
+ box-shadow: none;
+ }
+}
diff --git a/static/coprec/_vars.scss b/static/coprec/_vars.scss
new file mode 100644
index 0000000..3d1c4e3
--- /dev/null
+++ b/static/coprec/_vars.scss
@@ -0,0 +1,35 @@
+$primary-color: #00d3cc;
+
+$width: 1140px;
+$font-color: #484848;
+$font-family: Din, sans-serif;
+$font-size: 16px;
+$nav-background: transparent;
+$nav-submenu-background: #eee;
+$nav-submenu-color: #333;
+$nav-color: $font-color;
+$nav-active-color: $primary-color;
+$nav-item-selected-background: transparent;
+$nav-item-hover-background: transparent;
+$nav-item-selected-color: $primary-color;
+$nav-item-hover-color: $nav-item-selected-color;
+$border-radius: 0px;
+$button-background: $primary-color;
+$title-background: $primary-color;
+$title-color: white;
+$footer-background: white;
+$footer-color: black;
+$cell-border: 1px solid transparent;
+$widget-border-radius: 3px;
+$link-color: #0b69e1;
+
+$button-color: white;
+$button-border-radius: 5px;
+$button-border: 2px solid $link-color;
+$button-background: $link-color;
+$button-hover-background: white;
+$button-hover-color: $link-color;
+
+$nav-item-selected-mode: bottom-border;
+$nav-item-selected-border: 4px solid transparent;
+$nav-item-hover-border: 4px solid $primary-color;
diff --git a/static/coprec/config.json b/static/coprec/config.json
new file mode 100644
index 0000000..667e658
--- /dev/null
+++ b/static/coprec/config.json
@@ -0,0 +1,8 @@
+{
+ "label": "Coprec",
+ "variables": {
+ "favicon": "coprec/img/favicon-32x32.png",
+ "theme_color": "#00d3cc",
+ "no_extra_js": true
+ }
+}
diff --git a/static/coprec/img/IPC.jpg b/static/coprec/img/IPC.jpg
new file mode 100644
index 0000000..47968a1
Binary files /dev/null and b/static/coprec/img/IPC.jpg differ
diff --git a/static/coprec/img/LogoCOPREC_RVB-2.png b/static/coprec/img/LogoCOPREC_RVB-2.png
new file mode 100644
index 0000000..b7dd2bb
Binary files /dev/null and b/static/coprec/img/LogoCOPREC_RVB-2.png differ
diff --git a/static/coprec/img/favicon-32x32.png b/static/coprec/img/favicon-32x32.png
new file mode 100644
index 0000000..2c6924b
Binary files /dev/null and b/static/coprec/img/favicon-32x32.png differ
diff --git a/static/coprec/img/logo.png b/static/coprec/img/logo.png
new file mode 120000
index 0000000..ae43fcf
--- /dev/null
+++ b/static/coprec/img/logo.png
@@ -0,0 +1 @@
+LogoCOPREC_RVB-2.png
\ No newline at end of file
diff --git a/static/coprec/img/logo_Apave2-110px.jpg b/static/coprec/img/logo_Apave2-110px.jpg
new file mode 100644
index 0000000..1d72c5a
Binary files /dev/null and b/static/coprec/img/logo_Apave2-110px.jpg differ
diff --git a/static/coprec/img/logo_Apave2.jpg b/static/coprec/img/logo_Apave2.jpg
new file mode 100644
index 0000000..7d50d6d
Binary files /dev/null and b/static/coprec/img/logo_Apave2.jpg differ
diff --git a/static/coprec/img/logo_BureauVeritas2-100px.jpg b/static/coprec/img/logo_BureauVeritas2-100px.jpg
new file mode 100644
index 0000000..51ae63b
Binary files /dev/null and b/static/coprec/img/logo_BureauVeritas2-100px.jpg differ
diff --git a/static/coprec/img/logo_BureauVeritas2.jpg b/static/coprec/img/logo_BureauVeritas2.jpg
new file mode 100644
index 0000000..c4507e7
Binary files /dev/null and b/static/coprec/img/logo_BureauVeritas2.jpg differ
diff --git a/static/coprec/img/logo_Dekra2-110px.jpg b/static/coprec/img/logo_Dekra2-110px.jpg
new file mode 100644
index 0000000..e189d52
Binary files /dev/null and b/static/coprec/img/logo_Dekra2-110px.jpg differ
diff --git a/static/coprec/img/logo_Dekra2.jpg b/static/coprec/img/logo_Dekra2.jpg
new file mode 100644
index 0000000..61f3960
Binary files /dev/null and b/static/coprec/img/logo_Dekra2.jpg differ
diff --git a/static/coprec/img/logo_GroupeQualiconsult-110px.jpg b/static/coprec/img/logo_GroupeQualiconsult-110px.jpg
new file mode 100644
index 0000000..da7e426
Binary files /dev/null and b/static/coprec/img/logo_GroupeQualiconsult-110px.jpg differ
diff --git a/static/coprec/img/logo_GroupeQualiconsult.jpg b/static/coprec/img/logo_GroupeQualiconsult.jpg
new file mode 100644
index 0000000..455ed73
Binary files /dev/null and b/static/coprec/img/logo_GroupeQualiconsult.jpg differ
diff --git a/static/coprec/img/logo_SGS2-110px.jpg b/static/coprec/img/logo_SGS2-110px.jpg
new file mode 100644
index 0000000..76bcb05
Binary files /dev/null and b/static/coprec/img/logo_SGS2-110px.jpg differ
diff --git a/static/coprec/img/logo_SGS2.jpg b/static/coprec/img/logo_SGS2.jpg
new file mode 100644
index 0000000..68853da
Binary files /dev/null and b/static/coprec/img/logo_SGS2.jpg differ
diff --git a/static/coprec/img/logo_Socotec2-110px.jpg b/static/coprec/img/logo_Socotec2-110px.jpg
new file mode 100644
index 0000000..dd99666
Binary files /dev/null and b/static/coprec/img/logo_Socotec2-110px.jpg differ
diff --git a/static/coprec/img/logo_Socotec2.jpg b/static/coprec/img/logo_Socotec2.jpg
new file mode 100644
index 0000000..5881cb0
Binary files /dev/null and b/static/coprec/img/logo_Socotec2.jpg differ
diff --git a/static/coprec/style.scss b/static/coprec/style.scss
new file mode 100644
index 0000000..0ab7c01
--- /dev/null
+++ b/static/coprec/style.scss
@@ -0,0 +1,6 @@
+@charset "UTF-8";
+
+@import 'vars';
+/*@import '../includes/publik';*/
+@import '../../publik-base-theme/static/includes/publik';
+@import 'custom';
diff --git a/templates/variants/coprec/combo/page_template.html b/templates/variants/coprec/combo/page_template.html
new file mode 100644
index 0000000..3c415f8
--- /dev/null
+++ b/templates/variants/coprec/combo/page_template.html
@@ -0,0 +1,134 @@
+{% extends theme_base_filename %}
+{% load static i18n combo gadjo pwa %}
+
+{% block meta_icons %}
+ {% if favicon %}
+
+ {% endif %}
+ {% for icon_size in icon_sizes %}
+
+ {% endfor %}
+{% endblock %}
+
+{% block extra_top_head %}
+{{ block.super }}
+
+{% skeleton_extra_placeholder extra-top-head %}
+{% end_skeleton_extra_placeholder %}
+{% if page.picture %}
+
+{% endif %}
+{% endblock %}
+
+{% block extra_scripts %}
+
+
+
+{% if not no_extra_js %}
+
+{% endif %}
+{% skeleton_extra_placeholder extra-head %}
+{% end_skeleton_extra_placeholder %}
+{% endblock %}
+
+{% block bodyattrs %}
+data-api-root="{{ site_base }}/api/"
+{% if check_badges %}data-check-badges="true"{% endif %}
+{% if page.picture %}data-picture="{{site_base}}{{page.picture.url}}"{% endif %}
+{% skeleton_extra_placeholder extra-body-args %}
+{% end_skeleton_extra_placeholder %}
+{% endblock %}
+
+{% block bodyclasses %}
+page-{{ page.slug }} page-template-{{ page.template_name }} {% if pages %}section-{{pages.0.slug}}{% endif %}
+{% skeleton_extra_placeholder extra-body-class %}
+{% if user.is_authenticated %}authenticated-user{% else %}anonymous-user{% endif %}
+{% end_skeleton_extra_placeholder %}
+{% if page.picture %}has-picture{% endif %}
+{% endblock %}
+
+{% block title %} - {% if render_skeleton %}{% skeleton_extra_placeholder title %}{% firstof page_title site_title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %}{% endblock %}
+
+{% block menu %}
+{% show_menu depth=2 ignore_visibility=True %}
+{% placeholder "menu_right" %}
+{% endblock %}
+
+{% block before-main-content %}
+{% if pwa_display == "standalone" or pwa_display == "fullscreen" %}
+{% pwa_navigation %}
+{% endif %}
+{% endblock %}
+
+{% block messages %}
+{{ block.super }}
+{% placeholder "messages" %}
+{% endblock %}
+
+{% block content %}
+ {% block combo-content %}
+ {% block page-content %}
+
+ {% trans "Content" as name %}
+ {% placeholder "content" name=name %}
+
+ {% endblock %}
+ {% endblock %}
+{% endblock %}
+
+{% block footer %}
+ {% trans "Footer" as name %}
+ {% placeholder "footer" acquired=True name=name %}
+
+{% endblock %}
+
+{% block user-info %}
+{% skeleton_extra_placeholder user-info %}
+ {% if user.is_authenticated %}
+
+ {% if idp_account_url %}{% endif %}
+ {{user.first_name}} {{user.last_name}}{% if idp_account_url %}{% endif %}
+ Déconnexion
+
+ {% else %}
+ {% if idp_registration_url %}
+ Connexion /
+ Inscription
+ {% else %}
+ Connexion / Inscription
+ {% endif %}
+ {% endif %}
+{% end_skeleton_extra_placeholder %}
+{% endblock %}
+
+{% block body-bottom %}
+{% skeleton_extra_placeholder service-worker %}
+{% if page %} {# limit this to combo itself #}
+ {% if pwa_display == "standalone" or pwa_display == "fullscreen" %}
+
+ {% endif %}
+{% endif %}
+{% end_skeleton_extra_placeholder %}
+{% endblock %}
diff --git a/themes.json b/themes.json
index fe51488..a06670b 100644
--- a/themes.json
+++ b/themes.json
@@ -1 +1,12 @@
-[]
+[
+ {
+ "id": "coprec",
+ "label": "Coprec",
+ "variables": {
+ "css_variant": "coprec",
+ "favicon": "coprec/img/favicon-32x32.png",
+ "no_extra_js": true,
+ "theme_color": "#00d3cc"
+ }
+ }
+]
\ No newline at end of file