armansansd преди 2 години
родител
ревизия
0b197a41b3
променени са 2 файла, в които са добавени 243 реда и са изтрити 0 реда
  1. 0 0
      web/themes/custom/popsu/assets/css/styles.min.css
  2. 243 0
      web/themes/custom/popsu/sass/pages/_ressources.scss

Файловите разлики са ограничени, защото са твърде много
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


+ 243 - 0
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -495,3 +495,246 @@
 		}
 	}
 }
+
+
+///////// ressource single 
+
+.page-node-type-ressource{
+	&.programme-1{
+		h2{ 
+			color: $col-1 !important;
+		}
+		.field_programme div{
+			background: $col-1 ;
+		}
+	}
+	&.programme-2{
+		h2{
+			color: $col-2 !important;
+		}
+		.field_programme div{
+			background: $col-2 ;
+		}
+	}
+	&.programme-3{
+
+		h2{
+			color: $col-eur !important;
+		}
+		.field_programme div{
+			background: $col-eur ;
+			
+		}
+	}
+	&.programme-4{
+		h2{ 
+			color: $col-1;
+		}
+		.field_programme div{
+			background:$col-1 ;
+			
+		}
+	}
+	
+	&.programme-5{
+		
+		h2{
+			color: $col-mond !important;
+		}
+		.field_programme div{
+			background: $col-mond ;
+		}
+	}
+	&.programme-6{
+
+		h2{
+			color: $col-ter !important;
+		}
+		.field_programme div{
+				background: $col-ter ;
+		}
+
+	}
+	&.programme-7{
+		h2{
+			color: $col-met !important;
+		}
+		.field_programme div{
+				background: $col-met ;                
+		}
+	}
+
+	
+
+	.block-region-second{
+		display: grid;
+		padding-bottom: 3rem;
+		.field_programme div{
+			display: inline-block;
+			// background: gray;
+			margin-bottom: 1rem;
+			color: white;
+			font-weight: 600;
+			padding: .3rem .5rem;
+			a{
+				text-decoration: none;
+			}
+		}
+
+        ///
+        #node\:title{
+            margin: 0;
+            font-size: $font-large;
+            line-height: 1.3;
+            font-weight: 600;
+            margin-bottom: 1rem;
+			grid-column: 1 / span 2;
+        }
+		#node\:field_image{
+			grid-row: 2;
+			grid-column: 1 / span 2;
+		}
+		#node\:field_auteurs{
+			
+		}
+		#node\:field_type_de_ressource{
+			grid-row: 1;
+			grid-column: 2;
+		}
+		#node\:field_programme{
+			grid-row: 1;
+			grid-column: 1;
+		}
+		#node\:field_date_de_parution{
+			grid-row: 3;
+			grid-column: 1 / span 2;
+		}
+    //    .body{
+    //         font-size: $font-medium;
+    //         height: 15rem;
+    //         overflow: hidden;
+    //         position: relative;
+    //         -webkit-transition: all 250ms ease;
+    //         -moz-transition: all 250ms ease;
+    //         -o-transition: all 250ms ease;
+    //         transition: all 250ms ease;
+    //         footer{
+    //             position:absolute;
+    //             bottom:0;
+    //             left:0;
+    //             z-index: 1;
+    
+    //             width: 100%;
+    //             text-align: center;
+    
+                
+    //             a{
+    //                 display: inline-block;
+    //                 margin: 0 auto;
+    //                 background: black;
+    //                 color: white;
+    //                 cursor:pointer;
+    
+    //                 font-family: "trueno";
+    //                 font-weight: 500;
+    
+    //                 padding: .3rem .5rem;
+    //                 font-size: $font-small;
+    //                 text-decoration: none;
+    //                 text-transform: uppercase;
+                    
+    
+    //                 &:hover{
+    //                     color:black;
+    //                     background: white;
+    //                 }
+    //             }
+    //         }
+    //     } 
+
+        // .body:after{
+        //     content: "";
+        //     opacity: 1;
+        //     position: absolute;
+        //     top: 0; bottom: 0; left: -15px; right: -15px;
+        //     box-shadow: inset $bck-col 0 -2rem 2rem;
+        // }
+        // .body_open{
+        //     height: auto !important;
+        //     padding: 0 0 .8rem 0;
+        //     &:after{
+        //         opacity: 0;
+        //         -webkit-transition: all 250ms ease;
+        //         -moz-transition: all 250ms ease;
+        //         -o-transition: all 250ms ease;
+        //         transition: all 250ms ease;
+        //     }
+        //     -webkit-transition: all 250ms ease;
+        //     -moz-transition: all 250ms ease;
+        //     -o-transition: all 250ms ease;
+        //     transition: all 250ms ease;
+        // }
+        // .body_open:after{
+        //     display: none;
+        // }
+        // .field_textes{
+          
+        //     .paragraph{
+        //         // border-top: 1px solid black;
+        //         border-bottom: 3px dotted gray;
+        //         padding: 1rem 0;
+        //         .field_titre{
+        //             font-size: $font-big;
+        //             font-weight: 600;
+        //             text-transform: initial;
+        //             cursor: pointer;
+        //             display: grid;
+        //             grid-template-columns: 95% 5%;
+        //             align-content: center;
+        //             // margin-top: 1rem;
+        //         }
+        //         .field_titre:after{
+        //             content: '▼';
+        //             -webkit-transition: all 250ms ease;
+        //             -moz-transition: all 250ms ease;
+        //             -o-transition: all 250ms ease;
+        //             transition: all 250ms ease;
+        //             align-self: center;
+        //             justify-self: center;
+        //         }
+        //         .rotate:after{
+        //             transform: rotate(180deg);
+        //             -webkit-transition: all 250ms ease;
+        //             -moz-transition: all 250ms ease;
+        //             -o-transition: all 250ms ease;
+        //             transition: all 250ms ease;
+        //         }
+        //         .field_texte{
+        //             height: auto;
+        //             position: relative;
+        //             h2{
+        //                 text-transform: inherit;
+        //             }
+        //             p{
+        //                 margin-top: .5rem;
+        //             }
+        //             -webkit-transition: all 250ms ease;
+        //             -moz-transition: all 250ms ease;
+        //             -o-transition: all 250ms ease;
+        //             transition: all 250ms ease;
+        //         }
+                
+        //         .crop{
+        //             height: 0;
+        //             overflow: hidden;
+        //             display: none;
+        //             -webkit-transition: all 250ms ease;
+        //             -moz-transition: all 250ms ease;
+        //             -o-transition: all 250ms ease;
+        //             transition: all 250ms ease;
+        //         }
+        //     }
+        // }
+    }
+
+}

Някои файлове не бяха показани, защото твърде много файлове са промени