Projet

Général

Profil

0001-scss-links-list-use-border-top-instead-of-bottom-as-.patch

Thomas Jund, 07 janvier 2020 15:20

Télécharger (1,32 ko)

Voir les différences:

Subject: [PATCH] scss: links-list :use border-top instead of bottom as links
 separator (#38821)

 static/includes/_cells.scss | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
static/includes/_cells.scss
152 152
		flex-wrap: wrap;
153 153
		padding: 1rem;
154 154
		color: $cell-entry-color;
155
		border-bottom: 1px solid $cell-entry-border-color;
156 155
		position: relative;
156
		// add border-top separator on
157
		// > li:not(:first-child) a
158
		@at-root {
159
			#{selector-replace(&,"li","li:not(:first-child)")} {
160
				border-top: 1px solid $cell-entry-border-color;
161
			}	
162
		}
157 163

  
158 164
		&:hover {
159 165
			color: $cell-entry-hover-color;
......
217 223
	}
218 224

  
219 225
	li div.description {
220
		position: relative;
221
		top: -1px;
222
		border-top: 1px solid $cell-background;
223 226
		padding: 0 1rem;
224 227
		font-size: 90%;
225 228
		color: #666;
......
227 230
			margin-top: 0;
228 231
			margin-bottom: 0.7em;
229 232
		}
230
		border-bottom: 1px solid $cell-entry-border-color;
231 233
	}
232 234
}
233 235

  
234
-