Projet

Général

Profil

0001-misc-add-support-for-new-markup-for-appbar-actions-2.patch

Frédéric Péters, 16 août 2018 13:38

Télécharger (1,53 ko)

Voir les différences:

Subject: [PATCH] misc: add support for new markup for appbar actions (#25698)

 <div id="appbar">
   <h2>...</h2>
   <span class="actions">
     <a ...>action1</a>
     <a ...>action2</a>
   </span>
 </div>
 gadjo/static/css/gadjo.scss | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)
gadjo/static/css/gadjo.scss
422 422
	border-bottom: 1px dotted #d8d8d8;
423 423
}
424 424

  
425
div#appbar > a {
426
	position: relative;
427
	top: -45px;
428
	float: right;
429
	margin-left: 2em;
430
}
431

  
432 425
table.main {
433 426
	width: 100%;
434 427
	border: 1px solid #bcbcbc;
......
954 947
}
955 948

  
956 949
#appbar {
950
	position: relative;
951
	& > a {
952
		position: relative;
953
		top: -45px;
954
		float: right;
955
		margin-left: 2em;
956
	}
957
	span.actions {
958
		position: absolute;
959
		bottom: 8px;
960
		right: 0;
961
		a {
962
			float: right;
963
			margin-left: 2em;
964
		}
965
	}
957 966
	.extra-actions-menu-opener {
958 967
		border: none;
959 968
		&::before {
......
1004 1013
			}
1005 1014
		}
1006 1015
	}
1016
	span.actions {
1017
		.extra-actions-menu {
1018
			margin-top: 2px;
1019
			top: 100%;
1020
		}
1021
	}
1007 1022
}
1008 1023

  
1009 1024
div.section {
1010
-