All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.components.mini_cart._mini_cart_header.scss Maven / Gradle / Ivy

The newest version!
.mini-cart-header {
	background-color: $gray-100;
	box-sizing: border-box;
	flex-basis: auto;
	flex-grow: inherit;
	flex-shrink: 0;

	&-block {
		align-items: center;
		display: flex;
		font-size: 14px;
		justify-content: space-between;
		padding: 14px 21px;
	}

	&-actions {
		align-items: center;
		display: flex;
		height: 33px;

		.actions {
			animation: showActions 500ms $ease-out-quart 1 forwards;
			display: inline;
			opacity: 0;

			&.hide {
				display: none;
			}

			.action {
				font-size: 0.75rem;
				font-weight: 500;
				padding: 2px;

				&:last-child {
					border-left: 2px solid $gray-200;
					border-radius: 0;
					height: auto;
					margin-left: 0.25rem;
					padding-left: 0.5rem;
				}
			}

			@keyframes showActions {
				to {
					opacity: 1;
				}
			}
		}
	}

	.confirmation-prompt {
		animation: askConfirmation 500ms $ease-out-quart 1 forwards;
		display: inline-block;
		opacity: 0;
		transform: get-opening-translation(
			right,
			($minicart-width + $liferay-sidebars-width)
		);

		&.hide {
			display: none;
		}

		.rtl & {
			transform: get-opening-translation(
				left,
				($minicart-width + $liferay-sidebars-width)
			);
		}

		.btn {
			border-color: $gray-400;
			height: 30px;
			margin-left: 10px;
			padding: 0;
			width: 45px;

			&:not(:hover) {
				background-color: #fff;
			}

			&:hover {
				border-color: transparent;
			}
		}

		@keyframes askConfirmation {
			to {
				opacity: 1;
				transform: translate3d(0, 0, 0);
			}
		}
	}

	.items {
		font-weight: 600;
	}

	h3 {
		margin: 10px 0;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy