Projet

Général

Profil

0001-add-styles-for-horizontal-button-links-58153.patch

Frédéric Péters, 24 janvier 2022 20:11

Télécharger (1 ko)

Voir les différences:

Subject: [PATCH] add styles for horizontal button links (#58153)

 gadjo/static/css/_portal.scss | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
gadjo/static/css/_portal.scss
83 83
		border-bottom-color: transparent;
84 84
	}
85 85
}
86

  
87
.link-list-cell.pk-horizontal-button-links,
88
.link-list-cell.pk-wide-horizontal-button-links {
89
	ul {
90
		display: flex;
91
		width: 100%;
92
	}
93
	li {
94
		&:not(:last-child) {
95
			margin-right: 1em;
96
		}
97
		border: none;
98
		&:hover {
99
			background: transparent;
100
		}
101
	}
102
	&.pk-wide-horizontal-button-links {
103
		li {
104
			flex: 1;
105
		}
106
	}
107
	a {
108
		@extend %button;
109
		text-align: center;
110
	}
111
}
86
-