Projet

Général

Profil

0001-scss-more-items-new-style-40883.patch

Lauréline Guérin, 23 avril 2020 11:43

Télécharger (1,45 ko)

Voir les différences:

Subject: [PATCH 01/19] scss: more-items new style (#40883)

 static/includes/_cells.scss | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
static/includes/_cells.scss
157 157
	position: relative;
158 158
	z-index: 0;
159 159

  
160
	& > li:not(:last-child):not(.more-items) {
160
	& > li:not(:last-child) {
161 161
		border-bottom: 1px solid $cell-entry-border-color;
162 162
	}
163 163
	& > li > a {
......
212 212
		}
213 213
	}
214 214

  
215
	li.more-items a {
215
	.add-more-items--button {
216 216
		display: block;
217 217
		padding: 0.5rem 1rem;
218 218
		cursor: pointer;
......
231 231

  
232 232
	@if is-positive-number($cell-border-radius)  {
233 233
		// make sure last link don't overflow the cell radius
234
		li.more-items a,
235 234
		> li:last-child a:only-child {
236 235
			border-bottom-left-radius: $cell-border-radius;
237 236
			border-bottom-right-radius: $cell-border-radius;
238 237
		}
239 238
		// make sure first link don't overflow the cell radius
240
		> li:first-child a {
239
		> li:first-child:not(.more-items--item) a {
241 240
			border-top-left-radius: $cell-border-radius;
242 241
			border-top-right-radius: $cell-border-radius;
243 242
		}
244
-