Sha256: b86df947754d03fc38d661bd5d50d19aac88da41ca3e9e4d02c1f1a93c11936b

Contents?: true

Size: 1.99 KB

Versions: 40

Compression:

Stored size: 1.99 KB

Contents

/*--------------------------------------------------
  Fancybox
----------------------------------------------------*/

.u-fancybox-theme .fancybox-button {
	@include px-to-rem(font-size, 20px);
	@include px-to-rem(line-height, 41px);
	@include px-to-rem(width, 44px);
	@include px-to-rem(height, 44px);
	text-align: center;
	display: inline-block;
	background-color: transparent;
	@include px-to-rem(border-width, 1px);
	border-style: solid;
	border-color: $g-color-white;
	outline: none;
	border-radius: 50%;
	opacity: .8;
	transition: opacity .3s ease;

	&::before {
		font-family: "hs-icons";
		position: static;
		opacity: 1;
		background-color: transparent;
		border: none;
		box-shadow: none;
		transform: none;
		width: auto;
		height: auto;
	}

	&--left,
	&--right {
		@include px-to-rem(margin-top, -22px);
		position: absolute;
		top: 50%;
		z-index: 99994;
		display: none;
	}

	&--left {
		@include px-to-rem(left, 20px);
		&::before {
			content: "\e901";
		}
	}

	&--right {
		@include px-to-rem(right, 20px);
		&::before {
			content: "\e902";
		}
	}

	&--close {
		&::before {
			content: "\e904";
		}
	}

	&--play {
		&::before {
			content: "\e90c";
		}
	}

	&--fullscreen {
		&::before {
			content: "\e909";
		}
	}

	&--thumbs {
		&::before {
			content: "\e906";
		}
	}

	&::after {
		display: none;
	}

	&:hover,
	&:focus {
		opacity: 1;
	}

}

.u-fancybox-theme .fancybox-buttons {
	@include px-to-rem(top, 20px);
	@include px-to-rem(right, 20px);
	@include px-to-rem(margin-left, -5px);
	@include px-to-rem(margin-right, -5px);

	.fancybox-button {
		@include px-to-rem(margin-left, 5px);
		@include px-to-rem(margin-right, 5px);
	}
}

.u-fancybox-theme .fancybox-thumbs {
	background-color: $g-color-black;

	> ul > li {
		border-color: $g-color-black;

		&::before {
			border-color: $g-color-primary;
		}
	}
}

/* Blur bg container */
.u-fancybox-blur-bg-container {
	filter: blur(2px);
}

.fancybox-controls {
	&--canzoomIn .fancybox-placeholder,
	&--canzoomOut .fancybox-placeholder {
		cursor: inherit;
	}
}

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
jekyll-theme-glueckkanja-1.2.29 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.28 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.27 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.26 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.25 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.24 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.23 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.22 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.21 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.20 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.19 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.18 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.17 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.16 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.15 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.14 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.13 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.12 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.11 _sass/unify/vendors/fancybox/_style.scss
jekyll-theme-glueckkanja-1.2.10 _sass/unify/vendors/fancybox/_style.scss