Projet

Général

Profil

0001-scss-add-a-separator-before-FranceConnect-login-bloc.patch

Frédéric Péters, 02 juillet 2019 10:08

Télécharger (1,23 ko)

Voir les différences:

Subject: [PATCH] scss: add a separator before FranceConnect login block
 (#34468)

 static/includes/_misc.scss | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
static/includes/_misc.scss
94 94
	margin-left: 0.7em;
95 95
}
96 96

  
97
@if $cell-border == none {
98
	// add a border next to FranceConnect
99
	.block + div.block-fc {
100
		position: relative;
101
		border-left: 1px solid #999;
102
		padding-left: 2rem;
103
		border-radius: 0;
104
		&::after {
105
			content: "OU";
106
			display: block;
107
			position: absolute;
108
			left: -1.5rem;
109
			width: 3rem;
110
			text-align: center;
111
			background: white;
112
			top: 1rem;
113
			height: 3rem;
114
			line-height: 3rem;
115
		}
116
		@media screen and (max-width: $mobile-limit) {
117
			border-left: none;
118
			padding-left: 0;
119
			&::after {
120
				content: none;
121
			}
122
		}
123
	}
124
}
125

  
97 126
#profile span.label {
98 127
	color: lighten($font-color, 20%);
99 128
	font-size: 90%;
100
-