Sha256: 900f5e5054e3aab3674d6bae217858bc1ed2712d888946ef05d7c5c475c87d26

Contents?: true

Size: 1.3 KB

Versions: 11

Compression:

Stored size: 1.3 KB

Contents

// ArpaAccordion
.arpa-accordion {
	margin: 10px auto 30px auto;
	text-align: left;

	.arpa-accordion-title {
		position: relative;
		z-index: 20;
		display: block;
		padding: 10px 12px;
		cursor: pointer;
		color: #555;
		font-size: 18px;
		font-weight: bold;
		background: #fff;
		border: 1px solid #cfcfcf;

		&:hover{
			background: #fff;
		}
	}

	.arpa-accordion-input {
		display: none;

		&:checked + .arpa-accordion-item {
			box-shadow: 3px 3px 3px red;
		}

		&:checked + .arpa-accordion-title,
		&:checked + .arpa-accordion-title:hover {
			margin-bottom: 0;
			border-bottom: none;
		}

		&:checked + .arpa-accordion-title {
			border-color: #bbb;

			&:after {
				background: none;
			}
		}

		&:checked ~ .arpa-accordion-content {
			padding: 10px 20px 0;
			margin-bottom: 10px;
			max-height: 9999999px;
			border: 1px solid #bbb;
			opacity: 1;
		}
	}

	.arpa-accordion-title {
		&:after {
			content: '';
			position: absolute;
			width: 24px;
			height: 24px;
			right: 13px;
			top: 7px;
			// background: url(image-path("arpa-accordion-arrow.png")) -6px -6px;
		}

		&:hover {
			&:after {
				background-position: -6px -42px;
			}	
		}
	}

	.arpa-accordion-content {
		z-index: 10;
		position: relative;
		padding: 0 20px;
		max-height: 0px;
		background: #fafafa;
		overflow: hidden;
		opacity: 0;
	}
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
arpa-0.3.0 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.2.0 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.1.0 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.0.9 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.0.8 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.0.7 lib/generators/arpa/templates/assets/stylesheets/arpa_accordion.scss
arpa-0.0.6 lib/arpa/assets/stylesheets/arpa_accordion.scss
arpa-0.0.5 lib/arpa/assets/stylesheets/arpa_accordion.scss
arpa-0.0.4 lib/arpa/assets/stylesheets/arpa_accordion.scss
arpa-0.0.3 lib/arpa/assets/stylesheets/ar_accordion.scss
arpa-0.0.2 lib/arpa/assets/stylesheets/ar_accordion.scss