Projet

Général

Profil

0001-scss-add-variable-to-define-form-s-background-color-.patch

Serghei Mihai, 05 septembre 2022 09:54

Télécharger (2,38 ko)

Voir les différences:

Subject: [PATCH] scss: add variable to define form's background color (#68612)

 help/fr/misc-scss.page         | 5 +++++
 static/includes/wcs/_bulk.scss | 9 +++++----
 2 files changed, 10 insertions(+), 4 deletions(-)
help/fr/misc-scss.page
477 477
  pour les éléments.</p></td>
478 478
  <td><p><var>classic</var></p></td>
479 479
 </tr>
480
 <tr>
481
  <td><p><code>$form-background</code></p></td>
482
  <td><p>Couleur de fond d'une démarche.</p></td>
483
  <td><p><var>$body-background</var></p></td>
484
 </tr>
480 485
 <tr>
481 486
  <td><p><code>$form-sidebar-position</code></p></td>
482 487
  <td><p>Position du code de suivi et des étapes, « left », « right » ou
static/includes/wcs/_bulk.scss
7 7
// * page: full page width (i.e. sidebar + form content)
8 8
// * form: form width (+ margin to be aligned on top of form)
9 9
$form-titlebar-mode: page !default;
10
$form-background: $body-background !default;
10 11

  
11 12
// hide a bunch of elements
12 13
div#droite,
......
22 23
}
23 24

  
24 25
div#rub_service {
25
	background: $body-background;
26
	background: $form-background;
26 27
}
27 28

  
28 29
@if ($form-sidebar-position == top) {
......
262 263
ul#evolutions div.evolution-metadata {
263 264
	width: auto;
264 265
	display: inline-block;
265
	background: $body-background;
266
	background: $form-background;
266 267
	margin-left: 60px;
267 268
	padding: 0.7em;
268 269
	padding-top: 30px;
......
297 298
	padding: 0.7em;
298 299
	padding-top: 0;
299 300
	position: relative;
300
	background: $body-background;
301
	background: $form-background;
301 302
	margin-left: 60px;
302 303
	margin-right: 30px;
303 304
	p.wf-attachment {
......
329 330
	border: 1px solid #888;
330 331
	top: 24px;
331 332
	background: $button-color !important;
332
	box-shadow: 0 0 0px 5px $body-background;
333
	box-shadow: 0 0 0px 5px $form-background;
333 334
	&::before {
334 335
		content: "";
335 336
		display: block;
336
-