armansansd 1 year ago
parent
commit
87d08588c1

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/assets/js/main.js


+ 4 - 4
web/themes/custom/popsu/lib/script.js

@@ -452,9 +452,9 @@ if($(".block-region-first").find("a").length == 0 ){
 };
 
 //crop text for collection 
-$(".block-region-third .views-field-description__value").addClass("hidden_text");
-$(".block-region-third .views-field-description__value").on("click", function(){
-	$(this).removeClass('hidden_text');
-})
+// $(".block-region-third .views-field-description__value").addClass("hidden_text");
+// $(".block-region-third .views-field-description__value").on("click", function(){
+// 	$(this).removeClass('hidden_text');
+// })
 
 });

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

@@ -59,11 +59,14 @@ article, .paragraph{
     }
 }
 .block-region-third{
+    h2{
+        margin: 1.5rem 0 .5rem 0;
+    }
     .field_document{
         padding: 0.5rem 0.5rem;
     }
     .field_organisateur,.field_fichier, .field_lien,.field_ressources_liees, .views-element-container div{
-        padding: 0rem 1rem;
+        //padding: 0rem 1rem;
         div{
             text-decoration: none;
             padding: .3rem 0;

+ 19 - 2
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -774,17 +774,34 @@
 				color: #fff;
 				font-family: trueno;
 				font-weight: 500;
-				padding: .3rem .7rem;
+				//padding: .3rem .7rem;
 				font-size: .45rem;
 				text-decoration: none;
 				text-transform: uppercase;
 			}
 			
 		}
+		#collection-block_1{
+			&>div{
+				padding: 0;
+			}
+			.views-row{
+				font-size: $font-small;
+				padding: 0 2rem 0 0;
+			}
+			.views-field-name{
+				font-weight: 600;
+				margin: 0;
+				padding: 0;
+				a{
+					text-decoration: none;
+				}
+			}
+		}
 		#node\:field_evenements_lies{
 			.field_evenements_lies{
 				color: black !important;
-				padding-left: .3rem;
+				// padding-left: .3rem;
 			}
 		}
 		#node\:field_lien{

Some files were not shown because too many files changed in this diff