Projet

Général

Profil

0001-add-style-for-joined-buttons-57318.patch

Frédéric Péters, 27 septembre 2021 19:44

Télécharger (1,09 ko)

Voir les différences:

Subject: [PATCH] add style for joined buttons (#57318)

 gadjo/static/css/_forms.scss | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)
gadjo/static/css/_forms.scss
94 94
	background: white;
95 95
	border: 1px solid $button-color;
96 96
	color: $button-color;
97
	&:hover {
97
	&.pressed, &:hover {
98 98
		background: $button-color;
99 99
		color: white;
100 100
		border-color: darken($button-color, 20%);
......
550 550
		font-style: italic;
551 551
	}
552 552
}
553

  
554
.gadjo-joined-buttons {
555
	display: inline-block;
556
	button {
557
		border-radius: 0;
558
		margin-left: -1px; // join borders
559
		&:first-child {
560
			border-radius: 3px 0 0 3px;
561
			margin-left: 0px;
562
		}
563
		&:last-child {
564
			border-radius: 0 3px 3px 0;
565
		}
566
	}
567
}
553
-