Your IP : 216.73.216.95


Current Path : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/learnpress/core/
Upload File :
Current File : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/learnpress/core/messages.scss

.learn-press-message {
	position: relative;
	margin: 0 0 20px !important;
	padding: 10px 15px 10px 45px;
	border-radius: 5px;
	background: #f5f5f5;
    width: 100%;

	&.icon {
		padding-left: 45px;
	}

	&.icon::before {
		background: #00adff;
	}

	&.icon::after {
		position: absolute;
		top: 50%;
		left: 15px;
		width: 26px;
		height: 26px;
		margin-top: -13px;
		margin-right: 10px;
		border-radius: 50%;
		color: #fff;
		background: #00adff;
		font-family: 'Font Awesome 5 Pro';
		font-size: 20px;
		line-height: 26px;
		text-align: center;
		vertical-align: baseline;
		content: "\f129";
	}

	&:before, &:after {
		position: absolute;
		top: 0;
		content: "";
	}

	&:before {
		right: 20px;
		width: 20px;
		height: 30px;
		background: #00adff;
	}

	&:before {
		@extend %FontAwesomeRegular;
		width: auto;
		height: auto;
		font-size: 16px;
		background: none !important;
		top: 50%;
		transform: translateY(-50%);
		left: 15px;
	}

	&.success {
		&:before {
			content: '\f05a';
			color: #00adff;
		}
	}

	&.error {
		&:before {
			content: '\f071';
			color: #d85554;
		}
	}

	&:after {
		top: 10px;
		right: 20px;
		width: 0;
		height: 0;
		border: 10px solid transparent;
		border-bottom-color: #f5f5f5;
	}

	&.error::before {
		background: #d85554;
	}

	&.error.icon::before {
		background: #d85554;
	}

	&.error.icon::after {
		background: #d85554;
		content: "\f00d";
	}

	&.warning::before {
		background: #ffc107;
	}

	&.warning.icon::before {
		background: #ffc107;
	}

	&.warning.icon::after {
		background: #ffc107;
		content: "\f00d";
	}

	&.success::before {
		background: #059601;
	}

	&.success.icon::before {
		background: #059601;
	}

	&.success.icon::after {
		background: #059601;
		content: "\f129";
	}

	&.fixed {
		position: fixed;
		top: 32px;
		left: 0;
		right: 0;
		background: rgba(0, 173, 255, 0.6);
		text-align: center;
		z-index: 100;
		color: #fff;
		padding: 10px;
	}

	&.fixed[data-delay-in] {
		display: none;
	}
}