Projet

Général

Profil

0002-guerande-use-combo-asset-to-manage-header-logo.patch

Thomas Jund, 11 août 2021 17:30

Télécharger (20 ko)

Voir les différences:

Subject: [PATCH 02/11] guerande: use combo asset to manage header logo

 static/guerande/_custom.scss        |   4 +---
 static/guerande/config.json         |   3 +++
 static/guerande/img/header-logo.png | Bin 14448 -> 0 bytes
 3 files changed, 4 insertions(+), 3 deletions(-)
 delete mode 100644 static/guerande/img/header-logo.png
static/guerande/_custom.scss
28 28
		@media screen and (max-width: $nav-mobile-limit) {
29 29
			margin-left: calc(55% - 160px);}
30 30
		a {
31
		background: url(img/header-logo.png) top left no-repeat;
32
		background-size: contain;
31
		background-position: top left;
33 32
		padding-left: 400px;
34 33
		@media screen and (max-width: $nav-mobile-limit) {
35 34
			background-size: 80%;
......
37 36
			padding-left: 300px;
38 37
		}
39 38
		display: block;
40
		text-indent: -10000px;
41 39
		min-height: 130px;
42 40
		line-height: 120px;
43 41
	}
static/guerande/config.json
11 11
          "name": "En-tête et trois colonnes",
12 12
          "template": "combo/page_template_header_3cols.html"
13 13
        }
14
      },
15
      "COMBO_ASSET_SLOTS.update": {
16
        "header:logo": { "label": "Têtière : logo" }
14 17
      }
15 18
    }
16 19
  }