Projet

Général

Profil

0001-scss-align-registration-blocks-on-same-line-with-OR-.patch

Frédéric Péters, 30 octobre 2019 14:42

Télécharger (2,46 ko)

Voir les différences:

Subject: [PATCH] scss: align registration blocks on same line, with "OR"
 between (#36673)

 static/includes/_cells.scss                   | 12 ++++++++----
 static/includes/_misc.scss                    |  3 ++-
 templates/registration/registration_form.html |  2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)
static/includes/_cells.scss
586 586

  
587 587
// login page
588 588

  
589
div#login-page.methods2 > div.block {
589
#registration-blocks.methods2 > .a2-block,
590
#login-page.methods2 > .block {
590 591
	width: 50%;
591 592
	width: calc(50% - 2em);
592 593
	margin: 0;
......
597 598
	}
598 599
}
599 600

  
600
div#login-page.methods3 > div.block {
601
#registration-blocks.methods3 > .a2-block,
602
#login-page.methods3 > .block {
601 603
	width: 33%;
602 604
	width: calc(33% - 2em);
603 605
	margin: 0;
......
608 610
	}
609 611
}
610 612

  
611
div#login-page.methods2 > div.block,
612
div#login-page.methods3 > div.block {
613
#registration-blocks.methods2 > .a2-block,
614
#registration-blocks.methods3 > .a2-block,
615
#login-page.methods2 > .block,
616
#login-page.methods3 > .block {
613 617
	@media screen and (max-width: $mobile-limit) {
614 618
		width: auto;
615 619
		float: none;
static/includes/_misc.scss
95 95

  
96 96
@if $cell-border == none {
97 97
	// add a border next to FranceConnect
98
	.block + div.block-fc {
98
	.a2-block + #frontend-registration-fc,
99
	.block + .block-fc {
99 100
		position: relative;
100 101
		border-left: 1px solid #999;
101 102
		padding-left: 2rem;
templates/registration/registration_form.html
10 10
{% block placeholder-content %}
11 11

  
12 12
{% block registration-pre %}{% endblock %}
13
<div id="registration-blocks">
13
<div id="registration-blocks" class="methods{{frontends.items|length}}">
14 14
{% block registration-top %}{% endblock %}
15 15

  
16 16
{% block registration-email %}
17
-