templates/Theme/Produit/Produit/Produit/businessretenu.html.twig line 1

Open in your IDE?
  1. {% extends "Theme/Users/User/layoutoffert.html.twig" %}
  2. {% block meta %}
  3.     {{ parent() }}
  4.     <meta name="keywords" content="{{ site }}, {{ keywords }}"/>
  5.     <meta name="author" content="Noel Kenfack"/>
  6.     <meta name="description" content="{{ site }} - {{ souscategorie.nom }}"/>
  7.     
  8. {% endblock %}
  9. {% block title %}
  10.     {{ parent() }} - {{ souscategorie.nom }}
  11. {% endblock %}
  12. {% block userblog_body %}
  13. <style>
  14.     .mzp-c-details .is-summary button:before, details .is-summary button:before, summary:before{
  15.         display: none!important;
  16.     }
  17. </style>
  18. <div style="background: #90acd1; min-height: 200px;">
  19. <div class="container" style="overflow: hidden;">
  20.     <div class="row" style="margin-top: 15px;">
  21.     <div class="col-md-8">
  22.     {% if is_mobile() %}
  23.     <ol class="c-navigation-breadcrumbs__directory">
  24.         <!-- Duplicating the "Home" link in both the global navigation and the breadcrumb trail is not recommended. -->
  25.         <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  26.           <a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
  27.             <span class="u-visually-hidden" property="name"><span class="fa fa-home"> </span> Accueil</span>
  28.           </a>
  29.           <meta property="position" content="1">
  30.         </li>
  31.         <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  32.           <a class="c-navigation-breadcrumbs__link" href="" property="item" typeof="WebPage">
  33.             <span property="name"> L'entreprise</span>
  34.           </a>
  35.           <meta property="position" content="2">
  36.         </li>
  37.         <li class="c-navigation-breadcrumbs__item" property="itemListElement" typeof="ListItem">
  38.           <a class="c-navigation-breadcrumbs__link" href="#!" property="item" aria-current="location">
  39.             <span property="name">À propos de  nous </span>
  40.           </a>
  41.           <meta property="position" content="3">
  42.         </li>
  43.     </ol>
  44.     {% else %}
  45.     <div style="padding: 20px 0px;">
  46.         <ul class="breadcrumbs">
  47.           <li><a href="{{ path('users_user_acces_plateforme') }}"><span class="fa fa-home"></span> Accueil</a></li>
  48.           <li><a > L'entreprise</a></li>
  49.           <li>À propos de nous</li>
  50.         </ul>
  51.     </div>
  52.     {% endif %}
  53.     
  54.     <div>
  55.         <h2 style="color: #fff;">{{ souscategorie.nom }}</h2>
  56.         <div style="color: #fff;">{{ souscategorie.description }}</div>
  57.     </div>
  58.   </div>
  59.   
  60.     <!-- div class="col-md-4">
  61.         <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="0" height="0" class="my-svg">
  62.           <defs>
  63.             <filter id="goo">
  64.               <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
  65.               <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 18 -7" result="goo" />
  66.               <feBlend in="SourceGraphic" in2="goo" />
  67.             </filter>
  68.           </defs>
  69.         </svg>
  70.         <div class="demo">
  71.           <div class="demo__buttons">
  72.             <div class="demo__social-btn-4 demo__social-btn"><i class="fa fa-snapchat"></i></div>
  73.             <div class="demo__social-btn-3 demo__social-btn"><i class="fa fa-instagram"></i></div>
  74.             <div class="demo__social-btn-2 demo__social-btn"><i class="fa fa-facebook"></i></div>
  75.             <div class="demo__social-btn-1 demo__social-btn"><i class="fa fa-twitter"></i></div>
  76.             <div class="demo__open-btn"><i class="fa fa-share-alt"></i></div>
  77.           </div>
  78.           <h2 class="text-center" style="color: #fff;">Share and win</h2>
  79.         </div>
  80.     </div -->
  81.   
  82.   </div>
  83.   
  84. </div>
  85. </div>
  86. <div style="background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%); background: #f2f2f2;">
  87.     <div class="container" style="height: 100px;">
  88.       
  89.     </div>
  90. </div>
  91. <style>
  92.     .brand-wrap {
  93.       position: relative;
  94.       z-index: 2;
  95.     }
  96.     
  97.     @media (max-width: 991px) {
  98.         .brand-wrap {
  99.           padding: 20px 0;
  100.         } 
  101.     }
  102.     
  103.     .brand-wrap .owl-carousel .owl-item img {
  104.         width: auto !important; 
  105.     }
  106.     
  107.     .brand-wrap .single-brand {
  108.         text-align: center;
  109.         -webkit-filter: grayscale(100%);
  110.         -moz-filter: grayscale(100%);
  111.         -ms-filter: grayscale(100%);
  112.         -o-filter: grayscale(100%);
  113.         filter: grayscale(100%);
  114.         opacity: .5;
  115.         -webkit-transition: all 0.3s ease 0s;
  116.         -moz-transition: all 0.3s ease 0s;
  117.         -o-transition: all 0.3s ease 0s;
  118.         transition: all 0.3s ease 0s; 
  119.     }
  120.     
  121.     .brand-wrap .single-brand:hover{
  122.       -webkit-filter: grayscale(0%);
  123.       -moz-filter: grayscale(0%);
  124.       -ms-filter: grayscale(0%);
  125.       -o-filter: grayscale(0%);
  126.       filter: grayscale(0%);
  127.       opacity: 1; 
  128.      }
  129. </style>
  130. <div style="background: transparent; margin-bottom: -140px;">
  131. <div class="container" style="background: transparent;">
  132.   <div class="row" style="margin-top: 25px; background: transparent;">
  133.     <div class="col-md-12">
  134.     <div style="overflow: hidden; position: relative; top: -140px!important;  padding: 15px 7px; border-radius: 7px; border-top: 2px solid #ddd; border-radius: 15px; background: #fff;">
  135.         <h2>Services</h2>
  136.         <div class="boxC12">
  137.             
  138.             <details>
  139.                 <summary>
  140.                 <p> service.nom </p><span class="plusminus"></span>
  141.                 </summary>
  142.                 <p>
  143.                         service.description|raw
  144.                 
  145.                     
  146.                     <div class="box">
  147.                         <div class="title-bold">
  148.                             <span> scat.nom </span>
  149.                         </div>
  150.                         <div class="inner-profile">
  151.                                 scat.description|raw 
  152.                         </div>
  153.                         <div class="clearfix"></div>
  154.                     </div>
  155.                 </p>
  156.             </details>
  157.         </div>
  158.     </div>
  159.     </div>
  160.   </div>
  161.   
  162. </div>
  163. </div>
  164. <div style="background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%); margin-bottom: 30px;">
  165.     <div class="container" style="padding-top: 25px; padding-bottom: 25px;">
  166.        
  167.         <section style="margin-top: -20px;">
  168.             <div style="width: 100%; margin: 0px auto;">
  169.             <link href="{{ asset('template/css/tyfy.css') }}" rel="stylesheet"/>
  170.             <style>
  171.               div.demotabs {
  172.                 border: 2px dashed #e6e6e6;
  173.                 border-radius: .8125rem;
  174.                 box-shadow: inset 0px 0px 1.625rem rgba(0, 0, 0, 0.05);
  175.                 margin-top: 1.625rem;
  176.                 padding: 15px;
  177.                 background: #fff;
  178.               }
  179.               .links-underlined a[href]{border-bottom-style:solid;border-bottom-width:2px}ol,ul{line-height:1.625rem;padding-left:2.4375rem}
  180.             </style>
  181.             
  182.             
  183.             <div class="demotabs">
  184.                 <div class="mzp-l-content">
  185.               <div class="links-underlined">
  186.                   <h1>En quoi AFH Factory vous êtes utiles ?</h1>
  187.                   <p>  This is my implementation of responsive tabs. It is being incorporated into my <a href="https://github.com/aaronpinero/typography">Tyfy framework</a>.</p>
  188.               </div>
  189.               <div class="tabs-container">
  190.                   <h2 class="tab-label">Présentation</h2>
  191.                   <p>Porro excepturi ad eligendi excepturi quam voluptate velit. Placeat modi animi natus est temporibus tenetur pariatur suscipit. Dolores sit id sit placeat consequatur temporibus accusamus et. Cumque voluptatum voluptatum delectus et sequi. Vero vitae officia eius ad. Consequatur impedit quam mollitia.</p>
  192.                   <p>Aspernatur id nihil sit eveniet vero corporis necessitatibus sit. Magni quia vitae perferendis. Suscipit illo tempora minus officia nemo aut numquam. Qui et omnis velit repudiandae autem. Aperiam aut dolorem neque quis dolor est sunt.</p>
  193.                   
  194.                   <h2 class="tab-label collapsed">Eligibilité</h2>
  195.                   <p>Facilis error corrupti dolor eaque. 
  196.                   <a id="anchor">Occaecati</a> illum sequi officia rerum nostrum. Iste in quo eveniet. Deserunt quaerat a adipisci magni consequatur nesciunt distinctio praesentium. Ipsum vel ut est vel veritatis fugiat perspiciatis.</p>
  197.                   <p>Omnis dolores sit pariatur facilis odit magni. Totam excepturi incidunt dolorem assumenda neque dolorem. Dolorem odio consequatur quas corrupti sequi. Nihil ut nihil itaque non at molestiae corporis. Explicabo voluptate quis et.</p>
  198.                   
  199.                   <h2 class="tab-label collapsed">Rapport</h2>
  200.                   <p>Curabitur non mauris sodales, tempor lacus ac, maximus felis. Vestibulum ultrices augue ut arcu mattis pellentesque. Maecenas ullamcorper lorem sit amet pretium pharetra. Nunc ipsum tellus, hendrerit vitae bibendum vel, scelerisque sit amet libero. Duis imperdiet massa placerat venenatis pharetra. Donec consectetur quis odio sit amet sollicitudin. Morbi at faucibus odio. Duis viverra lacus a odio pretium, quis suscipit tortor accumsan. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur egestas venenatis est vel hendrerit. Fusce molestie bibendum ex in suscipit.</p>
  201.                   
  202.                   <h2 class="tab-label collapsed">Historique</h2>
  203.                   <p>Curabitur non mauris sodales, tempor lacus ac, maximus felis. Vestibulum ultrices augue ut arcu mattis pellentesque. Maecenas ullamcorper lorem sit amet pretium pharetra. Nunc ipsum tellus, hendrerit vitae bibendum vel, scelerisque sit amet libero. Duis imperdiet massa placerat venenatis pharetra. Donec consectetur quis odio sit amet sollicitudin. Morbi at faucibus odio. Duis viverra lacus a odio pretium, quis suscipit tortor accumsan. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur egestas venenatis est vel hendrerit. Fusce molestie bibendum ex in suscipit.</p>
  204.                   
  205.               </div>
  206.             
  207.             <h2>Notes</h2>
  208.             <p>I've relied on CSS Flexbox for the visual tabs. Flexbox is <a href="https://caniuse.com/#search=flex">a problem for just about any version of Internet <strike>Exploder</strike> Explorer</a>. At some point, I'll need to figure out an alternative way to present the tabs that will work for IE.</p>
  209.           </div>
  210.           </div>
  211.             
  212.           <script>
  213.               $(document).ready(function(){
  214.         
  215.                 GoToAnchor = function(){
  216.                   // find the anchor and any tab it might be in
  217.                   selected_anchor_name = encodeURIComponent(window.location.hash.substring(1));
  218.                       selected_anchor = $('a[name="'+selected_anchor_name+'"], a[id="'+selected_anchor_name+'"]');
  219.                   parent_tab = selected_anchor.parents('.tab-panel');
  220.                   // account for an anchor in a label
  221.                   parent_label = selected_anchor.parents('.tab-label');
  222.                   if (parent_label.length) {
  223.                     parent_tab = parent_label.next('.tab-panel');
  224.                   }
  225.                   // do the steps of this function only if we have an anchor link and a tab panel
  226.                   if (selected_anchor.length && parent_tab.length) {
  227.                     parent_tab_label = parent_tab.prev('.tab-label');
  228.                         parent_tab_index = parent_tab_label.attr('data-tabindex');
  229.                     parent_tab.parent().find('ul.tabs li').eq(parent_tab_index).click();
  230.                     if (parent_tab.hasClass('collapsed')) {
  231.                       parent_tab.removeClass('collapsed');
  232.                       parent_tab_label.removeClass('collapsed');
  233.                     }
  234.                     // scroll to the anchor
  235.                     var s = selected_anchor.offset().top - 50; // console.log(s);
  236.                     $('body,html').animate({'scrollTop':s},500,'swing');
  237.                       }
  238.                 };
  239.                 
  240.                 // prepare HTML structure for each tab container
  241.                 $('.tabs-container').each(function(){
  242.                   if (!$(this).hasClass('tabs-processed')) {
  243.                     // find the headings that are tab labels
  244.                     my_tablabels = $(this).find('.tab-label');
  245.                     // create tabs
  246.                     if ($(this).find('ul.tabs').length === 0) {
  247.                       $(this).prepend('<ul class="tabs"></ul>');
  248.                       var x;
  249.                       for (x=0;x<my_tablabels.length;x++) {
  250.                         $(this).find('ul.tabs').append('<li data-tabindex="'+x+'">'+my_tablabels.eq(x).text()+'</li>');
  251.                       }
  252.                     }
  253.                     // structure all labels and wrap all tab panels
  254.                     if ($(this).find('.tab-panel').length === 0) {
  255.                       my_tablabels.each(function(i){
  256.                         $(this).attr('data-tabindex',i);
  257.                         $(this).wrapInner('<a id="'+encodeURIComponent($(this).text())+'"></a>');
  258.                         kids = $(this).nextUntil('.tab-label').wrapAll('<div class="tab-panel"></div>');
  259.                         // default state class for when tabs are collapsable sections
  260.                         $(this).addClass('collapsed').next('.tab-panel').addClass('collapsed');
  261.                       });    
  262.                     }
  263.                     // open initial tab
  264.                     $(this).find('ul.tabs li').eq(0).addClass('open');
  265.                     my_tablabels.eq(0).addClass('open').next('.tab-panel').addClass('open');
  266.                     // tab click events
  267.                     $('.tabs-container ul.tabs li').each(function(i){
  268.                       $(this).click(function(){
  269.                         if (!$(this).hasClass('open')) {
  270.                           $('.tabs-container .open').removeClass('open');
  271.                           my_tabindex = $(this).attr('data-tabindex');
  272.                           $(this).addClass('open');
  273.                           $('.tabs-container .tab-label').eq(my_tabindex).addClass('open');
  274.                           $('.tabs-container .tab-panel').eq(my_tabindex).addClass('open');
  275.                         }
  276.                       });
  277.                     });
  278.                     // collapsable header click event
  279.                     $('.tabs-container .tab-label').click(function(){
  280.                       if (!$(this).hasClass('transition')) {
  281.                         kids = $(this).next('.tab-panel');
  282.                         kids.removeClass('collapsed');
  283.                         var fullHeight = kids.outerHeight();
  284.                         $(this).addClass('transition');
  285.                         kids.addClass('transition');
  286.                         if ($(this).hasClass('collapsed')) {
  287.                           kids.css({'height':'0px','padding-bottom':'0px','padding-top':'0px'}).animate({
  288.                             height:fullHeight+'px',
  289.                             paddingBottom:'32px',
  290.                             paddingTop:'16px',
  291.                           },500,function(){
  292.                             $('.tabs-container .transition').removeClass('collapsed').removeClass('transition').removeAttr('style');
  293.                           });
  294.                         }
  295.                         else {
  296.                           kids.css('height',fullHeight+'px').animate({
  297.                             height:'0px',
  298.                             paddingBottom:'0px',
  299.                             paddingTop:'0px',
  300.                           },500,function(){
  301.                             $('.tabs-container .transition').addClass('collapsed').removeClass('transition').removeAttr('style');
  302.                           });
  303.                         }
  304.                       }
  305.                     }); 
  306.                     // indicate state of readiness
  307.                     $(this).addClass('tabs-processed');
  308.                   }  
  309.                 });
  310.                 // if there are tabs and someone has linked to an anchor inside a tab
  311.                 console.log(window.location.hash);
  312.                 if (window.location.hash != '') {
  313.                   GoToAnchor();
  314.                 }
  315.                 // handle case when page is already loaded
  316.                 $(window).on('hashchange',function(){
  317.                   GoToAnchor();
  318.                 });
  319.               });
  320.             </script>
  321.             </div>
  322.         </section>
  323.     
  324.     </div>
  325.     </div>
  326. <style>
  327. body {
  328. /* Colors */
  329.     --color-blue-50: #0a84ff;
  330.     --color-blue-60: #0060df;
  331.     --color-blue-70: #003eaa;
  332.     --color-blue-80: #002275;
  333.     --color-gray-10: #f9f9fa;
  334.     --color-gray-20: #ededf0;
  335.     --color-gray-30: #d7d7db;
  336.     --color-gray-40: #b1b1b3;
  337.     --color-gray-50: #737373;
  338.     --color-gray-60: #4a4a4f;
  339.     --color-gray-70: #38383d;
  340.     --color-gray-80: #2a2a2e;
  341.     --color-gray-90: #0c0c0d;
  342.     --color-green-70: #058b00;
  343.     --color-teal-50: #00feff;
  344.     --color-teal-60: #00c8d7;
  345.     --color-teal-70: #008ea4;
  346. /* Icons */
  347.     --icon-context-menu: url({{ asset('template/images/twitter.png') }});
  348.     --icon-dismiss: url({{ asset('template/images/twitter.png') }});
  349.   --background-color: #F9F9FA;
  350.   --border-primary-color: #B1B1B3;
  351. /* Primary Action */
  352.   --primary-action-default: var(--color-blue-60);
  353.   --primary-action-hover: var(--color-blue-70);
  354.   --primary-action-active: var(--color-blue-80);
  355.   --primary-action-text-color: #fff;
  356. /* Secondary Action */
  357.   --secondary-action-default: var(--color-gray-20);
  358.   --secondary-action-hover: var(--color-gray-30);
  359.   --secondary-action-active: var(--color-gray-40);
  360.   --secondary-action-text-color: var(--color-gray-80);
  361. /* Ghost Action */
  362.     --ghost-action-hover: var(--color-gray-20);
  363.     --ghost-action-active: var(--color-gray-30);
  364.     --ghost-action-text-color: var(--color-gray-80);
  365. /* Forms */
  366.     --label-text-color: var(--text-secondary);
  367.     --text-field-border-color: var(--color-gray-30);
  368.     --text-field-hover-border-color: var(--color-gray-40);
  369.     --text-field-focus-border-color: var(--color-gray-40);
  370.     --text-field-bg-color: #fff;
  371. /* Focus */
  372.   --focus-box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(10, 132, 255, 0.5);
  373. /* Cards */
  374.   --rasied-card-bg-color: #FFF;
  375.   --rasied-card-border-radius: 8px;
  376.   --box-shadow-10: 0px 0px 8px 0 rgba(12, 12, 13, 0.05);
  377.   --raised-card-hover: 0 0 0 4px var(--secondary-action-default);
  378.     
  379.   /* Typography */
  380.   --base-font-size: 15px;
  381.   --small-font-size: 13px;
  382.   --base-line-height: 24px;
  383.   
  384.   /* Text Colors */
  385.   --text-primary: var(--color-gray-90);
  386.   --text-secondary: var(--color-gray-50);
  387. }
  388. .meta {
  389.     color: var(--text-secondary);
  390.     font-size: var(--small-font-size);
  391.     line-height: var(--base-line-height);
  392. }
  393. .small {
  394.     font-size: var(--small-font-size);
  395.     line-height: 20px;
  396. }
  397. .text-muted {
  398.     color: var(--text-secondary);
  399. }
  400. .sr-only {
  401.     display: none;
  402. }
  403. /* Default Link */
  404. a {
  405.      background-color: transparent;
  406.      color: var(--color-blue-60);
  407.      text-decoration: none;
  408. }
  409. a:hover {
  410.     text-decoration: underline;
  411. }
  412. a:active {
  413.     color: var(--color-blue-70);
  414.     text-decoration:underline;
  415. }
  416. a:focus {
  417.     box-shadow: ;
  418. }
  419. a:not([href]):not([tabindex]) {
  420.     color: inherit;
  421.     text-decoration: none;
  422. }
  423. /* Buttons */
  424. .btn {
  425.     border: none;
  426.     cursor: pointer;
  427.     font-weight: 500;
  428.     transition: background-color 150ms, transform 150ms;
  429.     transition-duration: 150ms;
  430. }
  431. .btn:active {
  432.     transform: scale(0.97);
  433. }
  434. .btn:focus {
  435.     box-shadow: var(--focus-box-shadow);
  436. }
  437. .btn.disabled {
  438.     cursor: default;
  439.     opacity: 0.4;
  440. }
  441. /* Primary Button */
  442. .btn--primary {
  443.     background-color: var(--primary-action-default);
  444.     color: var(--primary-action-text-color);
  445.     fill: var(--primary-action-text-color);
  446.     -moz-context-properties: fill;
  447. }
  448. .btn--primary:hover {
  449.     background-color: var(--primary-action-hover);
  450. }
  451. .btn--primary:active {
  452.     background-color: var(--primary-action-active);
  453. }
  454. .btn--primary:disabled,
  455. .btn--primary.disabled {
  456.     background-color: var(--primary-action-default);
  457.     color: var(--primary-action-text-color);
  458.     fill: var(--primary-action-text-color);
  459.     -moz-context-properties: fill;
  460. }
  461. /* Secondary Button */
  462. .btn--secondary {
  463.     background-color: var(--secondary-action-default);
  464.     color: var(--secondary-action-text-color);
  465.     fill: var(--secondary-action-text-color);
  466.     -moz-context-properties: fill;
  467. }
  468. .btn--secondary:hover {
  469.     background-color: var(--secondary-action-hover);
  470. }
  471. .btn--secondary:active {
  472.     background-color: var(--secondary-action-active);
  473. }
  474. .btn--secondary:disabled,
  475. .btn--secondary.disabled {
  476.     background-color: var(--secondary-action-default);
  477.     color: var(--secondary-action-text-color);
  478.     fill: var(--secondary-action-text-color);
  479.     -moz-context-properties: fill;
  480. }
  481. /* Pill Button */
  482. .btn--pill {
  483.     border-radius: 16px;
  484.     line-height: 32px;
  485.     min-height: 32px;
  486.     padding: 0 16px;
  487.     vertical-align: middle;
  488. }
  489. .btn--pill-icon-only {
  490.     background-position: 50%;
  491.     background-repeat: no-repeat;
  492.     background-size: 16px;
  493.     width: 32px;
  494. }
  495. /* Form Button */
  496. .btn--form {
  497.     border-radius: 4px;
  498.     min-height: 40px;
  499.     min-width: 96px;
  500.     padding: 0 8px;
  501. }
  502. /* Ghost Button */
  503. .btn--ghost {
  504.     background-color: transparent;
  505.     color: var(--ghost-action-text-color);
  506.     fill: var(--ghost-action-text-color);
  507.     -moz-context-properties: fill;
  508. }
  509. .btn--ghost:hover {
  510.     background-color: var(--ghost-action-hover);
  511. }
  512. .btn--ghost:active {
  513.     background-color: var(--ghost-action-active);
  514. }
  515. .btn--ghost:disabled,
  516. .btn--ghost.disabled {
  517.     background-color: transparent;
  518.     color: var(--ghost-action-text-color);
  519.     fill: var(--ghost-action-text-color);
  520.     -moz-context-properties: fill;
  521. }
  522. .card .context-menu-btn {
  523.     opacity: 0;
  524.     position: absolute;
  525.     right: -16px;
  526.     top: -16px;
  527.     transform: scale(0.25);
  528.     transition-duration: 150ms;
  529.     transition-property: transform, opacity;    
  530. }
  531. /* Cards */
  532. .card-raised {
  533.     background: var(--rasied-card-bg-color);
  534.     border-radius: var(--rasied-card-border-radius);
  535.     border: 1px inset rgba(12, 12, 13, 0.07);
  536.     box-shadow: var(--box-shadow-10);
  537.     transition: box-shadow 250ms, transform 150ms;
  538.     position: relative;
  539. }
  540. .card-raised:hover {
  541.     box-shadow: var(--box-shadow-10), var(--raised-card-hover);    
  542. }
  543. .card-raised:hover .context-menu-btn {
  544.     opacity: 1;
  545.     transform: scale(1);
  546.     transition-delay: 200ms;
  547. }
  548. .card-raised:hover .title {
  549.     color: var(--primary-action-default);
  550.     text-decoration: underline;
  551.     cursor: pointer;
  552. }
  553. .card-raised:active {    
  554.     transform: scale(0.97);
  555. }
  556. .card-raised:focus {
  557.     box-shadow: var(--box-shadow-10), 0 0 0 3px #fff, 0 0 0 6px rgba(10, 132, 255, 0.5);
  558. }
  559. /*
  560. .card-img {
  561.     border: 1px inset rgba(0, 0, 0, 0.15);
  562. }
  563. */
  564. .card-raised .card-img-top {
  565.     border-top-left-radius: var(--rasied-card-border-radius);
  566.     border-top-right-radius: var(--rasied-card-border-radius);
  567. }
  568. .card-body {
  569.     padding: 12px 16px;
  570. }
  571. .card-footer {
  572.     padding: 12px 16px;
  573. }
  574. /* Snippet */
  575. .snippet {
  576.     background-color: #fff;
  577.     bottom: 0;
  578.     box-shadow: var(--box-shadow-10);
  579.     padding: 24px 0;
  580.     position: fixed;
  581.     width: 100%;
  582.     z-index: 200;
  583. }
  584. .snippet .wrapper {
  585.     display: flex;
  586. }
  587. .snippet-promo-image,
  588. .snippet-content {
  589.     margin-right: 24px;
  590. }
  591. .snippet-promo-image img {
  592.     width: 48px;
  593. }
  594. .snippet-content {
  595.     flex-grow: 1;
  596. }
  597. .snippet-content .body {
  598.     max-width: 600px;    
  599. }
  600. .snippet .btn {
  601.     height: 32px;    
  602. }
  603. .icon-dark-theme {
  604.     display: none;
  605. }
  606. .search-wrapper {
  607.   padding: 24px 0; }
  608.   .only-search .search-wrapper {
  609.     padding: 0 0 64px; }
  610.   .search-wrapper .logo-and-wordmark {
  611.     align-items: center;
  612.     display: flex;
  613.     justify-content: center;
  614.     margin-bottom: 49px; }
  615.     .search-wrapper .logo-and-wordmark .logo {
  616.       background: url("chrome://branding/content/icon128.png") no-repeat center center;
  617.       background-size: 97px;
  618.       display: inline-block;
  619.       height: 97px;
  620.       width: 97px; }
  621.     .search-wrapper .logo-and-wordmark .wordmark {
  622.       background: url("../data/content/assets/firefox-wordmark.svg") no-repeat center center;
  623.       background-size: 142px;
  624.       -moz-context-properties: fill;
  625.       display: inline-block;
  626.       fill: var(--search-wordmark-color);
  627.       height: 97px;
  628.       margin-inline-start: 15px;
  629.       width: 142px; }
  630.     @media (max-width: 609px) {
  631.       .search-wrapper .logo-and-wordmark .logo {
  632.         background-size: 64px;
  633.         height: 64px;
  634.         width: 64px; }
  635.       .search-wrapper .logo-and-wordmark .wordmark {
  636.         background-size: 100px;
  637.         height: 64px;
  638.         width: 100px; } }
  639.   
  640.   .search-wrapper .search-inner-wrapper {
  641.     cursor: default;
  642.     display: flex;
  643.     height: 48px;
  644.     margin: 0 auto;
  645.     position: relative;
  646.     width: 224px; }
  647.     @media (min-width: 610px) {
  648.       .search-wrapper .search-inner-wrapper {
  649.         width: 480px; } }
  650.     @media (min-width: 866px) {
  651.       .search-wrapper .search-inner-wrapper {
  652.         width: 736px; } }
  653.   
  654.   .search-wrapper input {
  655.     background: var(--text-field-bg-color) /* var(--search-icon) 12px center no-repeat */;
  656.     background-size: 24px;
  657.     border: solid 1px var(--text-field-border-color);
  658.     border-radius: 4px;
  659. /*     box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.15); */
  660.     font-size: 15px;
  661.     -moz-context-properties: fill;
  662.     fill: var(--search-icon-color);
  663.     padding: 0;
  664.     padding-inline-end: 48px;
  665.     padding-inline-start: 46px;
  666.     width: 100%; }
  667.     
  668.     .search-wrapper input:dir(rtl) {
  669.       background-position-x: right 12px; }
  670.   
  671. /*
  672.   .search-wrapper:hover input {
  673.     box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.25); }
  674. */
  675.   
  676.   .search-wrapper .search-inner-wrapper:active input,
  677.   .search-wrapper input:focus {
  678.     border: 1px solid var(--text-field-focus-border-color);
  679.     box-shadow: var(--focus-box-shadow); }
  680.   
  681.   .search-wrapper .search-button {
  682.     background: url("chrome://browser/skin/forward.svg") no-repeat center center;
  683.     background-size: 16px 16px;
  684.     border: 0;
  685.     border-radius: 0 3px 3px 0;
  686.     -moz-context-properties: fill;
  687.     fill: var(--search-icon-color);
  688.     height: 100%;
  689.     inset-inline-end: 0;
  690.     position: absolute;
  691.     width: 48px; }
  692.     .search-wrapper .search-button:focus, .search-wrapper .search-button:hover {
  693.       background-color: rgba(12, 12, 13, 0.1);
  694.       cursor: pointer; }
  695.     .search-wrapper .search-button:active {
  696.       background-color: rgba(12, 12, 13, 0.2); }
  697.     .search-wrapper .search-button:dir(rtl) {
  698.       transform: scaleX(-1); }
  699. .non-collapsible-section + .below-search-snippet-wrapper {
  700.   margin-top: -48px; }
  701. @media (max-height: 700px) {
  702. /*
  703.   .search-wrapper {
  704.     padding: 0 0 30px; }
  705. */
  706.   .non-collapsible-section + .below-search-snippet-wrapper {
  707.     margin-top: -14px; }
  708.   .below-search-snippet-wrapper {
  709.     min-height: 0; } }
  710. .search-handoff-button {
  711.   background: var(--textbox-background-color) var(--search-icon) 12px center no-repeat;
  712.   background-size: 24px;
  713.   border: solid 1px var(--search-border-color);
  714.   border-radius: 3px;
  715.   box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.15);
  716.   cursor: text;
  717.   font-size: 15px;
  718.   padding: 0;
  719.   padding-inline-end: 48px;
  720.   padding-inline-start: 46px;
  721.   opacity: 1;
  722.   transition: opacity 500ms;
  723.   width: 100%; }
  724.   .search-handoff-button:dir(rtl) {
  725.     background-position-x: right 12px; }
  726.   .search-handoff-button:hover {
  727.     box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.25); }
  728.   .fake-focus .search-handoff-button {
  729.     border: 1px solid var(--textbox-focus-color);
  730.     box-shadow: var(--textbox-focus-boxshadow); }
  731.     .fake-focus .search-handoff-button .fake-caret {
  732.       display: block; }
  733.   .search-hidden .search-handoff-button {
  734.     opacity: 0;
  735.     visibility: hidden; }
  736.   .search-handoff-button .fake-editable:focus {
  737.     outline: none;
  738.     caret-color: transparent; }
  739.   .search-handoff-button .fake-editable {
  740.     color: transparent;
  741.     height: 100%;
  742.     opacity: 0;
  743.     position: absolute;
  744.     top: 0;
  745.     left: 0;
  746.     right: 0;
  747.     bottom: 0; }
  748.   .search-handoff-button .fake-textbox {
  749.     opacity: 0.54;
  750.     text-align: start; }
  751.   .search-handoff-button .fake-caret {
  752.     animation: caret-animation 1.3s steps(5, start) infinite;
  753.     background: var(--text-primary-color);
  754.     display: none;
  755.     inset-inline-start: 47px;
  756.     height: 17px;
  757.     position: absolute;
  758.     top: 16px;
  759.     width: 1px; }
  760. @keyframes caret-animation {
  761.   to {
  762.     visibility: hidden; } }
  763. @media (min-height: 701px) {
  764.   body:not(.inline-onboarding) .fixed-search main {
  765.     padding-top: 146px; }
  766.   body:not(.inline-onboarding) .fixed-search .search-wrapper {
  767.     background-color: var(--search-header-background-color);
  768.     border-bottom: solid 1px var(--border-secondary-color);
  769.     height: 95px;
  770.     left: 0;
  771.     padding: 30px 0;
  772.     position: fixed;
  773.     top: 0;
  774.     width: 100%;
  775.     z-index: 9; }
  776.     body:not(.inline-onboarding) .fixed-search .search-wrapper .search-inner-wrapper {
  777.       height: 35px; }
  778.     body:not(.inline-onboarding) .fixed-search .search-wrapper input {
  779.       background-position-x: 16px;
  780.       background-size: 16px; }
  781.       body:not(.inline-onboarding) .fixed-search .search-wrapper input:dir(rtl) {
  782.         background-position-x: right 16px; }
  783.   body:not(.inline-onboarding) .fixed-search .search-handoff-button {
  784.     background-position-x: 12px;
  785.     background-size: 24px; }
  786.     body:not(.inline-onboarding) .fixed-search .search-handoff-button:dir(rtl) {
  787.       background-position-x: right 12px; }
  788.     body:not(.inline-onboarding) .fixed-search .search-handoff-button .fake-caret {
  789.       top: 10px; } }
  790. .contentSearchSuggestionTable {
  791.   background-color: var(--search-dropdown-color);
  792.   border: 0;
  793.   box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.2);
  794.   transform: translateY(4px); }
  795.   .contentSearchSuggestionTable .contentSearchHeader {
  796.     background-color: var(--search-dropdown-header-color);
  797.     color: var(--text-secondary-color); }
  798.   .contentSearchSuggestionTable .contentSearchHeader,
  799.   .contentSearchSuggestionTable .contentSearchSettingsButton {
  800.     border-color: var(--border-secondary-color); }
  801.   .contentSearchSuggestionTable .contentSearchSuggestionsList {
  802.     border: 0; }
  803.   .contentSearchSuggestionTable .contentSearchOneOffsTable {
  804.     background-color: var(--search-dropdown-header-color);
  805.     border-top: solid 1px var(--border-secondary-color); }
  806.   .contentSearchSuggestionTable .contentSearchSearchWithHeaderSearchText {
  807.     color: var(--text-primary-color); }
  808.   .contentSearchSuggestionTable .contentSearchSuggestionsContainer {
  809.     background-color: var(--search-dropdown-color); }
  810.   .contentSearchSuggestionTable .contentSearchSuggestionRow.selected {
  811.     background: var(--element-hover-color);
  812.     color: var(--text-primary-color); }
  813.     .contentSearchSuggestionTable .contentSearchSuggestionRow.selected:active {
  814.       background: var(--element-active-color); }
  815.     .contentSearchSuggestionTable .contentSearchSuggestionRow.selected .historyIcon {
  816.       fill: var(--icon-secondary-color); }
  817.   .contentSearchSuggestionTable .contentSearchOneOffsTable .contentSearchSuggestionsContainer {
  818.     background-color: var(--search-dropdown-header-color); }
  819.   .contentSearchSuggestionTable .contentSearchOneOffItem {
  820.     background-image: none;
  821.     border-image: linear-gradient(transparent 18%, var(--border-secondary-color) 18%, var(--border-secondary-color) 82%, transparent 82%) 1;
  822.     border-inline-end: 1px solid;
  823.     position: relative; }
  824.     .contentSearchSuggestionTable .contentSearchOneOffItem.selected {
  825.       background: var(--element-hover-color); }
  826.     .contentSearchSuggestionTable .contentSearchOneOffItem:active {
  827.       background: var(--element-active-color); }
  828.   .contentSearchSuggestionTable .contentSearchSettingsButton:hover {
  829.     background: var(--element-hover-color);
  830.     color: var(--text-primary-color); }
  831. .contentSearchHeaderRow > td > img,
  832. .contentSearchSuggestionRow > td > .historyIcon{
  833.   margin-inline-start: 7px;
  834.   margin-inline-end: 15px;
  835. }
  836. </style>
  837. <section class="news-section">
  838.         <div class="mzp-l-content blog" id="blog">
  839.                 <div class="text-left">
  840.                     <h3>
  841.                         Nos programmes
  842.                     </h3>
  843.                     
  844.                     <div>
  845.                         La transparence 
  846.                     </div>
  847.                 </div>
  848.                    <div class="row posts-list">
  849.               
  850.                        <!--Single Blog Start-->
  851.                        <div class="col-lg-4 col-md-4 wow fadeInUp" data-wow-delay="0ms">
  852.                         <article>
  853.                             <div class="post-img">
  854.                                 <img src="https://i.ibb.co/m5yGbdR/blog2.jpg" alt="" class="img-fluid">
  855.                             </div>
  856.                             <p class="post-category">Commandez un  Hébergement pro.</p>
  857.                             <h2 class="title">
  858.                                 <a href="/detail/article/19" data-original-title="" title="">Commandez un hébergement Mutualisé ou un VPS chez l’hébergeur web professionnel AFH Host à prix malin.</a>
  859.                             </h2>
  860.                 
  861.                             <div class="d-flex align-items-center">
  862.                                 <img src="/template/images/co.png" alt="" class="img-fluid post-author-img flex-shrink-0">
  863.                                 <div class="post-meta">
  864.                                 <div class="post-author-list">Kenfack Noel</div>
  865.                                 <div class="post-date">
  866.                                     <time datetime="2022-01-01">01 Feb 2024</time>
  867.                                 </div>
  868.                                 </div>
  869.                             </div>
  870.                         </article>
  871.                        </div>
  872.                        <!--Single Blog End-->
  873.                        <!--Single Blog Start-->
  874.                        <div class="col-lg-4 col-md-4 wow fadeInUp" data-wow-delay="0ms">
  875.                         <article>
  876.                             <div class="post-img">
  877.                                 <img src="https://i.ibb.co/m5yGbdR/blog2.jpg" alt="" class="img-fluid">
  878.                             </div>
  879.                             <p class="post-category">Commandez un  Hébergement pro.</p>
  880.                             <h2 class="title">
  881.                                 <a href="/detail/article/19" data-original-title="" title="">Commandez un hébergement Mutualisé ou un VPS chez l’hébergeur web professionnel AFH Host à prix malin.</a>
  882.                             </h2>
  883.                 
  884.                             <div class="d-flex align-items-center">
  885.                                 <img src="/template/images/co.png" alt="" class="img-fluid post-author-img flex-shrink-0">
  886.                                 <div class="post-meta">
  887.                                 <div class="post-author-list">Kenfack Noel</div>
  888.                                 <div class="post-date">
  889.                                     <time datetime="2022-01-01">01 Feb 2024</time>
  890.                                 </div>
  891.                                 </div>
  892.                             </div>
  893.                         </article>
  894.                        </div>
  895.                        <!--Single Blog Start-->
  896.                        <!--Single Blog Start-->
  897.                        <div class="col-lg-4 col-md-4 wow fadeInUp" data-wow-delay="0ms">
  898.                         <article>
  899.                             <div class="post-img">
  900.                                 <img src="https://i.ibb.co/m5yGbdR/blog2.jpg" alt="" class="img-fluid">
  901.                             </div>
  902.                             <p class="post-category">Commandez un  Hébergement pro.</p>
  903.                             <h2 class="title">
  904.                                 <a href="/detail/article/19" data-original-title="" title="">Commandez un hébergement Mutualisé ou un VPS chez l’hébergeur web professionnel AFH Host à prix malin.</a>
  905.                             </h2>
  906.                 
  907.                             <div class="d-flex align-items-center">
  908.                                 <img src="/template/images/co.png" alt="" class="img-fluid post-author-img flex-shrink-0">
  909.                                 <div class="post-meta">
  910.                                 <div class="post-author-list">Kenfack Noel</div>
  911.                                 <div class="post-date">
  912.                                     <time datetime="2022-01-01">01 Feb 2024</time>
  913.                                 </div>
  914.                                 </div>
  915.                             </div>
  916.                         </article>
  917.                        </div>
  918.                        <!--Single Blog Start-->
  919.                        
  920.                    </div>
  921.                </div>
  922.            </div>
  923.    </section>
  924. {% endblock %}
  925. {% block javascripttemplate %}
  926. $(document).ready(function() {
  927.   const $buttons = $(".demo__buttons");
  928.   const $toggle = $(".demo__open-btn");
  929.   let delay = 200;
  930.   let steps = [];
  931.   let open = false;
  932.   
  933.   let curStep = 0;
  934.   for (let i = 0; i <= 3; i++) {
  935.     steps[i] = "demo__step-" + i;
  936.   }
  937.   function setStep(index) {    
  938.     $buttons.removeClass("step-1 step-0 step-3 step-2").addClass("step-" + curStep);   
  939.   }
  940.   
  941.   let lastTimeout;
  942.   function animate() {
  943.     if (curStep >= 4) {
  944.       curStep = 0;
  945.       return;
  946.     }
  947.     open = true;
  948.     setStep(curStep);    
  949.     curStep++;
  950.     lastTimeout = setTimeout(animate, delay);
  951.   }
  952.   $toggle.on("click", function() {
  953.     if (!open) animate();
  954.     else {
  955.       $buttons.removeClass("step-1 step-0 step-3 step-2");
  956.       clearTimeout(lastTimeout);
  957.       open = false;
  958.       curStep = 0;
  959.     }
  960.   });
  961. });
  962. {% endblock %}