Updated CSS
authorThierry Florac <thierry.florac@onf.fr>
Mon, 09 Jul 2018 11:45:29 +0200
changeset 75 c87bb4047e5d
parent 74 5514b9412459
child 76 777ca38e9d26
Updated CSS
src/pyams_default_theme/resources/css/pyams-default.css
src/pyams_default_theme/resources/css/pyams-default.css.map
src/pyams_default_theme/resources/css/pyams-default.min.css
src/pyams_default_theme/resources/less/pyams-default.less
--- a/src/pyams_default_theme/resources/css/pyams-default.css	Mon Jul 09 11:44:47 2018 +0200
+++ b/src/pyams_default_theme/resources/css/pyams-default.css	Mon Jul 09 11:45:29 2018 +0200
@@ -2,17 +2,17 @@
   max-width: 950px;
   margin: 0 auto;
 }
-body .header-simple .banner {
+body .header-simple .regularbanner {
   position: relative;
 }
-body .header-simple .banner img.banner {
+body .header-simple .regularbanner img.regularbanner__media {
   width: 100%;
 }
-body .header-simple .banner img.logo {
+body .header-simple .regularbanner img.logo {
   position: absolute;
   top: 10px;
   left: 10px;
-  max-height: calc(100% - 20px);
+  max-height: calc(80%);
 }
 @media only screen and (min-width: 1200px) {
   .portal-page .slot.col-lg-0 {
--- a/src/pyams_default_theme/resources/css/pyams-default.css.map	Mon Jul 09 11:44:47 2018 +0200
+++ b/src/pyams_default_theme/resources/css/pyams-default.css.map	Mon Jul 09 11:45:29 2018 +0200
@@ -1,1 +1,1 @@
-{"version":3,"sources":["../less/pyams-default.less"],"names":[],"mappings":"AAAA;EACC,gBAAA;EACA,cAAA;;AAFD,IAIC,eACC;EACC,kBAAA;;AAGC,IALH,eACC,QAGC,IACE;EACA,WAAA;;AAED,IARH,eACC,QAGC,IAIE;EACA,kBAAA;EACA,SAAA;EACA,UAAA;EACA,YAAY,iBAAZ;;AAUH,wBAA2C;EAC1C,YAFF,MAEG;IACA,aAAA;;;AAGF,wBAA0C,uBAAwB;EACjE,YAPF,MAOG;IACA,aAAA;;;AAGF,wBAA0C,uBAAuB;EAChE,YAZF,MAYG;IACA,aAAA;;;AAGF,wBAA0C;EACzC,YAjBF,MAiBG;IACA,aAAA","file":"pyams-default.css"}
\ No newline at end of file
+{"version":3,"sources":["../../../../../../../../../home/tflorac/Dropbox/src/PyAMS/pyams_default_theme/src/pyams_default_theme/resources/less/pyams-default.less"],"names":[],"mappings":"AAAA;EACC,gBAAA;EACA,cAAA;;AAFD,IAIC,eACC;EACC,kBAAA;;AAGC,IALH,eACC,eAGC,IACE;EACA,WAAA;;AAED,IARH,eACC,eAGC,IAIE;EACA,kBAAA;EACA,SAAA;EACA,UAAA;EACA,YAAY,SAAZ;;AAUH,wBAA2C;EAC1C,YAFF,MAEG;IACA,aAAA;;;AAGF,wBAA0C,uBAAwB;EACjE,YAPF,MAOG;IACA,aAAA;;;AAGF,wBAA0C,uBAAuB;EAChE,YAZF,MAYG;IACA,aAAA;;;AAGF,wBAA0C;EACzC,YAjBF,MAiBG;IACA,aAAA","file":"pyams-default.css"}
\ No newline at end of file
--- a/src/pyams_default_theme/resources/css/pyams-default.min.css	Mon Jul 09 11:44:47 2018 +0200
+++ b/src/pyams_default_theme/resources/css/pyams-default.min.css	Mon Jul 09 11:45:29 2018 +0200
@@ -1,1 +1,1 @@
-body{max-width:950px;margin:0 auto}body .header-simple .banner{position:relative}body .header-simple .banner img.banner{width:100%}body .header-simple .banner img.logo{position:absolute;top:10px;left:10px;max-height:calc(100% - 20px)}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}}
+body{max-width:950px;margin:0 auto}body .header-simple .regularbanner{position:relative}body .header-simple .regularbanner img.regularbanner__media{width:100%}body .header-simple .regularbanner img.logo{position:absolute;top:10px;left:10px;max-height:calc(80%)}@media only screen and (min-width:1200px){.portal-page .slot.col-lg-0{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.portal-page .slot.col-md-0{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.portal-page .slot.col-sm-0{display:none}}@media only screen and (max-width:767px){.portal-page .slot.col-xs-0{display:none}}
--- a/src/pyams_default_theme/resources/less/pyams-default.less	Mon Jul 09 11:44:47 2018 +0200
+++ b/src/pyams_default_theme/resources/less/pyams-default.less	Mon Jul 09 11:45:29 2018 +0200
@@ -3,11 +3,11 @@
 	margin: 0 auto;
 
 	.header-simple {
-		.banner {
+		.regularbanner {
 			position: relative;
 
 			img {
-				&.banner {
+				&.regularbanner__media {
 					width: 100%;
 				}
 				&.logo {