Projet

Général

Profil

0001-cells-avoid-list-of-forms-overlapping-contents-23977.patch

Anonyme, 22 mai 2018 10:23

Télécharger (1,64 ko)

Voir les différences:

Subject: [PATCH] cells : avoid list of forms overlapping contents (#23977)

 static/includes/_cells.scss | 42 ++++++++++++++++++++++++++++++-------
 1 file changed, 34 insertions(+), 8 deletions(-)
static/includes/_cells.scss
125 125
	z-index: 0;
126 126

  
127 127
	& > li > a {
128
		display: -webkit-box;
129
	  display: -moz-box;
130
	  display: -ms-flexbox;
131
	  display: -webkit-flex;
132
	  display: flex;
133
	  -webkit-justify-content: space-around;
134
	  -moz-justify-content: space-around;
135
	  -ms-justify-content: space-around;
136
	  justify-content: space-around;
137
	  -ms-flex-pack: space-around;
138
	  -webkit-flex-wrap: wrap;
139
	  -moz-flex-wrap: wrap;
140
	  -ms-flex-wrap: wrap;
141
	  -o-flex-wrap: wrap;
142
	  flex-wrap: wrap;
143

  
128 144
		padding: 1rem;
129
		display: block;
130 145
		color: $cell-entry-color;
131 146
		border-bottom: 1px solid $cell-entry-border-color;
132 147
		position: relative;
......
206 221
}
207 222

  
208 223
div.list-of-forms {
209
	span.form-number {
210
		opacity: 0.3;
211
		font-size: 80%;
212
	}
213
	span.form-status {
214
		position: absolute;
215
		right: 1ex;
224
	span {
225
		margin-right: 0.5rem;
226

  
227
		&.form-status {
228
			margin-right: 0;
229
			margin-left: auto;
230
		}
231

  
232
		&.form-number {
233
			-webkit-flex-grow: 1;
234
			-moz-flex-grow: 1;
235
			-ms-flex-grow: 1;
236
			-o-flex-grow: 1;
237
			flex-grow: 1;
238

  
239
			opacity: 0.3;
240
			font-size: 80%;
241
		}
216 242
	}
217 243
}
218 244

  
219
-