Kévin Tessier vor 6 Jahren
Ursprung
Commit
f4b45a7213

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 1
cache/gpm/13/5b32613539366162643064643336393863373938653339363565663938626534615d5b315d.doctrinecache.data


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 1
cache/gpm/66/5b34396661613630353231313630663039613732343136356335363337313931345d5b315d.doctrinecache.data


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 1
cache/gpm/6c/5b34663964373865353835653237373637656432373033653066656139666236665d5b315d.doctrinecache.data


+ 1 - 1
logs/popularity/daily.json

@@ -1 +1 @@
-{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":287,"29-05-2018":82,"30-05-2018":86,"31-05-2018":252}
+{"23-05-2018":157,"24-05-2018":194,"25-05-2018":212,"28-05-2018":287,"29-05-2018":82,"30-05-2018":86,"31-05-2018":252,"01-06-2018":177}

+ 1 - 1
logs/popularity/monthly.json

@@ -1 +1 @@
-{"05-2018":1270}
+{"05-2018":1270,"06-2018":177}

+ 1 - 1
logs/popularity/totals.json

@@ -1 +1 @@
-{"\/":1260,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}
+{"\/":1437,"\/typography":1,"\/home\/prochaines-dates":2,"\/home\/biographie":2,"\/home\/videos":3,"\/home\/photographies":1,"\/photographies":1}

+ 1 - 1
logs/popularity/visitors.json

@@ -1 +1 @@
-{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527794010}
+{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1527865001}

+ 3 - 0
user/pages/01.home/05._presse/01._sovaj/text.fr.md

@@ -2,6 +2,9 @@
 title: sovaj
 media_order: 'jazzradio-logo-copie_0_0_0.jpg,150px-montecarlodoualiya_2013.svg_0_0.png,fr2.jpg,frinter.jpg,logo_france_info_1_0.png,logo-lesinrocks_0.jpg,photohome.JPG'
 image_align: left
+taxonomy:
+    tag:
+        - white
 ---
 
 ![](photohome.JPG)

Datei-Diff unterdrückt, da er zu groß ist
+ 23 - 11
user/themes/anissabensalah/css-compiled/theme.css


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
user/themes/anissabensalah/css-compiled/theme.min.css


Datei-Diff unterdrückt, da er zu groß ist
+ 11 - 0
user/themes/anissabensalah/js/midnight.jquery.min.js


+ 13 - 5
user/themes/anissabensalah/js/script.js

@@ -1,3 +1,6 @@
+function divisionnav() {
+  $('.navigation li:nth-child(n+4)').wrapAll("<div class='cc' />")
+}
 function activenav() {
   // Cache selectors
   var lastId,
@@ -6,7 +9,7 @@ function activenav() {
       // All list items
       menuItems = topMenu.find("a"),
       // Anchors corresponding to menu items
-      scrollItems = menuItems.map(function(){
+      scrollItems   = menuItems.map(function(){
         var item = $($(this).attr("href"));
         if (item.length) { return item; }
       });
@@ -14,7 +17,6 @@ function activenav() {
   // Bind click handler to menu items
   // so we can get a fancy scroll animation
 
-
   // Bind to scroll
   $(window).scroll(function(){
      // Get container scroll position
@@ -35,10 +37,16 @@ function activenav() {
          menuItems
            .parent().removeClass("active")
            .end().filter("[href='#"+id+"']").parent().addClass("active");
-     }
+         }
   });
-}
+};
+
+function iswhite() {
+   $('.navigation li').midnight();
+};
 
-jQuery(document).ready(function($) {
+$(document).ready(function() {
+  // divisionnav();
   activenav();
+  iswhite();
 });

+ 2 - 2
user/themes/anissabensalah/scss/theme/fonts.scss

@@ -8,7 +8,7 @@ body{
       font-family: $Regular;
       font-size: $font24;
       font-weight: normal;
-      color: white;
+      // color: white;
     }
     .language-selector{
       li{
@@ -16,7 +16,7 @@ body{
           &::after{
             font-size: $font24;
             content: "-";
-            color: white;
+            // color: white;
           }
         }
       }

+ 73 - 18
user/themes/anissabensalah/scss/theme/header.scss

@@ -1,6 +1,19 @@
+.midnightHeader{
+  margin-top: 0px;
+}
+.midnightHeader.default a{
+  color: white;
+}
+
+.midnightHeader.white a{
+  color: black;
+}
+
+.midnightHeader.black a{
+  color: white;
+}
+
 #header{
-  position: fixed;
-  z-index: 999;
   .language-selector{
       display: flex;
       position: fixed;
@@ -22,50 +35,92 @@
 
   .navigation{
     li{
+      z-index: 999;
       position: fixed;
       text-align: center;
       &:first-child{
         display: none;
       }
       &:nth-child(2){
-        margin-bottom: 10px;
-        bottom: 0;
+        // margin-bottom: 10px;
+        top: auto!important;
+        right: auto!important;
+        bottom: 10px!important;
+        left: auto!important;
         width: 50%;
       }
       &:nth-child(3){
-        margin-top: 10px;
-        top: 0;
+        // margin-top: 10px;
+        top: 10px!important;
+        bottom: auto!important;
+        right: auto!important;
+        left: auto!important;
         width: 50%;
       }
       &:nth-child(4){
-        margin-bottom: 10px;
-        bottom: 0;
+        // margin-bottom: 10px;
+        bottom: 10px!important;
+        top: auto!important;
+        right: 0!important;
+        left: auto!important;
         width: 50%;
-        right: 0;
       }
       &:nth-child(5){
         transform: rotate(90deg);
-        top: 50%;
+        top: 50%!important;
         width: 100%;
-        right: -50%;
-        margin-right: 22px;
+        right: -48.6%!important;
+        left: auto!important;
+        bottom: auto!important;
+        // margin-right: 22px;
       }
       &:nth-child(6){
         transform: rotate(-90deg);
-        top: 50%;
+        top: 50%!important;
         width: 100%;
-        left: -50%;
-        margin-left: 22px;
+        left: -48.6%!important;
+        right: auto!important;
+        bottom: auto!important;
+        // margin-left: 22px;
       }
       &:nth-child(7){
-        margin-top: 10px;
-        top: 0;
-        right: 0;
+        // margin-top: 10px;
+        top: 10px!important;
+        right: 0!important;
+        bottom: auto!important;
+        left: auto!important;
         width: 50%;
       }
       a{
         position: relative;
         margin: auto;
+        &:hover:before{
+          visibility: visible;
+          -webkit-transform: scaleX(1);
+          transform: scaleX(1);
+        }
+        &:before{
+          content: "";
+          position: absolute;
+          width: 100%;
+          height: 2px;
+          bottom: 0;
+          left: 0;
+          background-color: white;
+          visibility: hidden;
+          -webkit-transform: scaleX(0);
+          transform: scaleX(0);
+          -webkit-transition: all 0.3s ease-in-out 0s;
+          transition: all 0.3s ease-in-out 0s;
+        }
+
+      }
+    }
+    .active{
+      a:before{
+        visibility: visible;
+        -webkit-transform: scaleX(1);
+        transform: scaleX(1);
       }
     }
   }

+ 1 - 1
user/themes/anissabensalah/scss/theme/section.scss

@@ -59,7 +59,7 @@
       position: absolute;
     }
     .title{
-        z-index: 998;
+        // z-index: 998;
         width: 100%;
         display: flex;
         flex-wrap: wrap;

+ 8 - 6
user/themes/anissabensalah/templates/modular/submodular.html.twig

@@ -2,7 +2,7 @@
 
 {% block body %}
 
-    <div class="column red">
+    <div class="column red" data-midnight=white>
       <div class="citation">
         {{page.content}}
       </div>
@@ -25,12 +25,14 @@
       </div>
     </div>
 
-  <div class="column content">
 
-    {% for module in page.collection() %}
-        {{ module.content }}
-    {% endfor %}
+    <div class="column content" data-midnight=black>
+      {% for module in page.collection() %}
 
-  </div>
+
+          {{ module.content }}
+
+      {% endfor %}
+    </div>
 
 {% endblock %}

+ 1 - 1
user/themes/anissabensalah/templates/partials/base.html.twig

@@ -25,8 +25,8 @@
         {% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
         {% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
         {% do assets.add('theme://js/fullPage.js') %}
+        {% do assets.add('theme://js/midnight.jquery.min.js') %}
         {% do assets.add('theme://js/script.js') %}
-
     {% endblock %}
     {{ assets.js() }}
 

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.