Sha256: 3e805b2dd052d795a26d1c28cabb848196a818df32ca5d53f68be78f087f5c93

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

/* ---------------
EDGE Visibility
--------------- */
// Based on Zurb's Foundation

/* Above small breakpoint (>=768px) */
	.show-for-small,
	.hide-for-large { display: none !important; }
	
	.show-for-large,
	.hide-for-small { display: inherit !important; }

	table {
		&.show-for-large,
		&.hide-for-small { display: none !important; }
	}
	thead {
		&.show-for-large,
		&.hide-for-small { display: table-header-group !important; }
	}
	tbody {
		&.show-for-large,
		&.hide-for-small { display: table-row-group !important; }
	}
	tr {
		&.show-for-large,
		&.hide-for-small { display: table-row !important; }
	}
	td,
	th {
		&.show-for-large,
		&.hide-for-small { display: table-cell !important; }
	}

/* Below small breakpoint (<768px) */
	@include small {
		.show-for-large,
		.hide-for-small { display: none !important; }

		.show-for-small,
		.hide-for-large { display: inherit !important; }

		table {
			&.show-for-small,
			&.hide-for-large { display: none !important; }
		}
		thead {
			&.show-for-small,
			&.hide-for-large { display: table-header-group !important; }
		}
		tbody {
			&.show-for-small,
			&.hide-for-large { display: table-row-group !important; }
		}
		tr {
			&.show-for-small,
			&.hide-for-large { display: table-row !important; }
		}
		td,
		th {
			&.show-for-small,
			&.hide-for-large { display: table-cell !important; }
		}
	}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
edge_framework-0.1.0 assets/sass/edge/components/_visibility.scss
edge_framework-0.0.3 assets/sass/edge/components/_visibility.scss
edge_framework-0.0.2 assets/sass/edge/components/_visibility.scss