Sha256: 6205b712f80a043b0b7b0a3f4b6715ebd09249f825e0fa5958366da1c7e98e9f

Contents?: true

Size: 1.64 KB

Versions: 48

Compression:

Stored size: 1.64 KB

Contents

.divider {
	display: block; position: relative;
	padding: 0;
	// margin: floor($line-height-computed / 2) 0;
	background: inherit;
	text-align: center;
	& > * {
		display: inline-block; position: relative;
		margin: 0 auto; padding: 0 15px;
		background: inherit;
		z-index: 3;
		&.white { background: $white; }
		&.dark { background: $dark-bg; }
		&.main { background: $main-bg; }
		&.soft { background: $main-bg; }
	}
	&:after {
		display: block; position: absolute; content: "";
		margin: -1px 0 0; padding: 0;
		top: 50%; height: 0;
		left: 0; right: 0;
		z-index: 1;
	}
}

hr {
	display: block; position: relative;
	// margin: floor($line-height-computed / 2) 0;
	padding: 0;
	height: 0;
	border: none;
}

hr, .divider { margin: $line-height-computed 0; }
hr, .divider:after {
	border-top: solid 1px $main-border-color;
	border-bottom: solid 1px $white;
}


.section {
	
	.divider & > * { background: $main-bg; }
	hr, .divider:after {
		border-top: solid 1px $main-border-color;
		border-bottom: solid 1px $white;
	}
	
	

    &.dark {
		.divider & > * { background: $dark-bg; }
		hr, .divider:after {
			border-top: solid 1px $gray;
			border-bottom: solid 1px $white;
		}
	}
	&.bright {
		.divider & > * { background: $bright-bg; }
		hr, .divider:after {
			border-top: solid 1px $main-border-color;
			border-bottom: solid 1px $white;
		}
	}
	&.brand {
		.divider & > * { background: $brand-bg; }
		hr, .divider:after {
			border-top: solid 1px $main-border-color;
			border-bottom: solid 1px $white;
		}
	}
	&.soft {
		.divider & > * { background: $soft-bg; }
		hr, .divider:after {
			border-top: solid 1px $main-border-color;
			border-bottom: solid 1px $white;
		}
	}
	
}

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
magic_stylez-0.0.0.77 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.76 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.75 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.74 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.73 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.72 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.71 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.70 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.69 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.68 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.67 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.66 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.65 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.64 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.63 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.62 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.61 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.60 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.59 vendor/assets/stylesheets/magic/helper/_divider.scss
magic_stylez-0.0.0.58 vendor/assets/stylesheets/magic/helper/_divider.scss