Explorar el Código

#1608 ajout des fond de couleur sidebar theme et ville

armansansd hace 3 años
padre
commit
bb81983f8a

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


+ 1 - 1
web/themes/custom/popsu/sass/pages/_home.scss

@@ -152,7 +152,7 @@
 	.views-field-field-dates-actu{
 		grid-row: 4;
 	}
-	.views-field-field-date,{
+	.views-field-field-date{
 		grid-row: 3;
 	}
 	

+ 95 - 33
web/themes/custom/popsu/sass/pages/_projet.scss

@@ -2,42 +2,104 @@
 
 //page ville sidebar 
 
-
-
-.field_evenements_lies{
-
-    article{
-        display: grid;
-        padding-top: .5rem;
-        padding-bottom: .5rem;
+.programme-1{
+    
+    .block-region-third .field_ressources_liees{
+        background: $col-1;
+    }
+}
+.programme-2{
+    
+    .block-region-third .field_ressources_liees{
+        background: $col-2;
+    }
+}
+.programme-3{
+    .block-region-third .field_ressources_liees{
+        background: $col-eur;
+    }
+}
+.programme-4{
+    .block-region-third .field_ressources_liees{
+        background: $col-ter;
+    }
+}
+.programme-5{
+    .block-region-third .field_ressources_liees{
+        background: $col-mond;
+    }
+    
+}
+.programme-6{
+    .block-region-third .field_ressources_liees{
+        background: $col-ter;
+    }
+}
+.programme-7{
+    .block-region-third .field_ressources_liees{
+        background: $col-met;
+    }
+}
+.block-region-third{
+    .field_evenements_lies, .field_ressources_liees{
+        color: white !important;
         a{
             text-decoration: none;
         }
-        .field_programme{
-            display: none;
-            // display: inline-block;
-			// width: auto;
-			
-			// color: transparent;
-			// font-weight: 600;
-			// text-transform: uppercase;
-			// font-size: .5rem;
-            // a{
-            //     padding: .3rem .5rem;
-            // }
-        }
-        h2{
-            text-transform: none;
-            color: white !important;
-            grid-row: 2;
-            background: none;
-            font-size: $font-normal;
-            margin: 0;
-           
-        }
-        &.programme-6{
-            background: $col-ter;
+        article{
+            display: grid;
+            padding-top: .5rem;
+            padding-bottom: .5rem;
+            
+            .field_programme{
+                display: none;
+                // display: inline-block;
+                // width: auto;
+                
+                // color: transparent;
+                // font-weight: 600;
+                // text-transform: uppercase;
+                // font-size: .5rem;
+                // a{
+                //     padding: .3rem .5rem;
+                // }
+            }
+            .field_sous_titre{
+                color: white !important;
+            }
+            h2{
+                text-transform: none;
+                color: white !important;
+                grid-row: 2;
+                background: none;
+                font-size: $font-normal;
+                margin: 0;
+            
+            }
+
+            &.programme-1{
+                background: $col-1;
+            }
+            &.programme-2{
+                background: $col-2;
+            }
+            &.programme-3{
+                background: $col-eur;
+            }
+            &.programme-4{
+                background: $col-ter;
+            }
+            &.programme-5{
+                background: $col-mond;
+            }
+            &.programme-6{
+                background: $col-ter;
+            }
+            &.programme-7{
+                background: $col-met;
+            }
+
         }
-    }
 
+    }
 }

+ 3 - 1
web/themes/custom/popsu/sass/pages/_themes.scss

@@ -49,7 +49,7 @@
             article{
                 display: grid;
                 >div{
-                    grid-row: 1;
+                    //vgrid-row: 1;
                     text-transform: none;
                     color: #fff !important;
                     background: none;
@@ -267,6 +267,7 @@
    
     #node\:field_equipes{
         margin-top: 1rem;
+        border-bottom: 3px dotted gray;
         h2{
             cursor: pointer;
             display: grid;
@@ -276,6 +277,7 @@
             font-size: 1rem;
             font-weight: 600;
             text-transform: initial;
+            
             // text-align: center;
         }
 

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio