Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/ai-engine/themes/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/ai-engine/themes/Messages.module.scss
.mwai-chat {
  --mwai-spacing: 10px;
  --mwai-fontSize: 13px;
	--mwai-lineHeight: 1.5;
  --mwai-borderRadius: 10px;
	--mwai-width: 460px;
	--mwai-maxHeight: 40vh;
	--mwai-iconTextColor: black;
	--mwai-iconTextBackgroundColor: white;
  --mwai-fontColor: black;
  --mwai-backgroundPrimaryColor: #fafafa;
	--mwai-backgroundHeaderColor: #0084ff;
	--mwai-headerButtonsColor: white;
  --mwai-backgroundUserColor: #0084ff;
  --mwai-backgroundAiColor: #eee;
	--mwai-backgroundAiSecondaryColor: #ddd;

	* {
		box-sizing: border-box;
	}

	.mwai-content {
		display: flex;
		background: var(--mwai-backgroundPrimaryColor);
		font-size: var(--mwai-fontSize);
		color: var(--mwai-fontColor);
		border-radius: var(--mwai-borderRadius);
		flex-direction: column;
	}

	.mwai-conversation {
		display: flex;
		flex-direction: column;
		overflow: auto;
		max-height: var(--mwai-maxHeight);
		padding: var(--mwai-spacing) var(--mwai-spacing) 0 var(--mwai-spacing);

		.mwai-reply {
			margin-bottom: var(--mwai-spacing);
			padding: 7px 12px;
			border-radius: 15px;
			font-size: var(--mwai-fontSize);
			color: var(--mwai-fontColor);
			position: relative;

			.mwai-name {
				display: none;
			}

			.mwai-name-text {
				display: none;
			}

			& * > p {
				&:first-child { margin-top: 0px; }
				&:last-child { margin-bottom: 0px; }
			}

			&.mwai-ai {
				align-self: flex-start;
				background: var(--mwai-backgroundAiColor);
				margin-left: 5px;

				&::before, &::after {
					content: "";
					position: absolute;
					z-index: 1;
					bottom: 0;
					left: -10px;
					width: 10px;
					height: 20px;
					background: var(--mwai-backgroundPrimaryColor);
					border-bottom-right-radius: 10px;
				}

				&::before {
					z-index: 0;
					left: -7px;
					height: 20px;
					width: 20px;
					background: var(--mwai-backgroundAiColor);
					border-bottom-right-radius: 15px;
				}
			}

			&.mwai-user {
				align-self: flex-end;
				background: var(--mwai-backgroundUserColor);
				color: white;
				margin-right: 10px;

				&::before, &::after {
					content: "";
					position: absolute;
					z-index: 1;
					bottom: 0;
					right: -10px;
					width: 10px;
					height: 20px;
					background: var(--mwai-backgroundPrimaryColor);
					border-bottom-left-radius: 10px;
				}

				&::before {
					z-index: 0;
					right: -10px;
					height: 20px;
					width: 20px;
					background: var(--mwai-backgroundUserColor);
					background-attachment: fixed;
					border-bottom-left-radius: 15px;
				}
			}
		}
	}

	.mwai-text {
		flex: auto;

		.mwai-image {
			display: block;
			max-width: 250px;
			height: auto;
			margin: 0 0 10px 0;
			border-radius: var(--mwai-borderRadius);
		}

		.mwai-filename {
			display: flex;
			text-decoration: none;
			border: 1px solid var(--mwai-backgroundPrimaryColor);
			border-radius: var(--mwai-borderRadius);
			color: white;
			padding: 5px 10px;
			margin-bottom: 10px;
		}

		> span > p > *:first-child {
			margin-top: 0;
		}

		// > span > p > *:last-child {
		// 	margin-bottom: 0;
		// }

		a {
			color: #2196f3;
		}

		h1 {
			font-size: 200%;
		}

		h2 {
			font-size: 160%;
		}

		h3 {
			font-size: 140%;
		}

		h4 {
			font-size: 120%;
		}

		p {
			font-size: var(--mwai-fontSize);
			line-height: var(--mwai-lineHeight);

			code {
				background: var(--mwai-backgroundAiSecondaryColor);
				padding: 2px 6px;
				border-radius: 8px;
				font-size: 90%;
				font-family: system-ui;
			}
		}

		pre {
			color: var(--mwai-fontColor);
			border-radius: var(--mwai-borderRadius);
			break-after: auto;
			white-space: pre-wrap;
			max-width: 100%;
			width: 100%;
			font-family: system-ui;
			background: var(--mwai-backgroundAiSecondaryColor);
			padding: var(--mwai-spacing);

			code {
				padding: 0 !important;
				font-family: system-ui;
				background: var(--mwai-backgroundAiSecondaryColor);
			}
		}

		ol {
			padding: 0;
			margin: 0 0 0 20px;
		}

		table {
			width: 100%;
			border: 2px solid var(--mwai-backgroundAiSecondaryColor);
			border-collapse: collapse
		}
		
		thead {
				background: var(--mwai-backgroundAiSecondaryColor);
		}
		
		tr, td {
				padding: 2px 5px;
		}
		
		td {
				border: 2px solid var(--mwai-backgroundAiSecondaryColor);
		}

		.mwai-typewriter {
			display: inline-block;

			> :first-child {
				margin-top: 0;
			}
		}

		> * {
			&:first-child {
				margin-top: 0;

			}
			&:last-child {
				margin-bottom: 0;
			}
		}
	}

	.mwai-avatar {
		img {
			width: 24px;
			border-radius: 5px;
		}
	}

	.mwai-input {
		display: flex;
		align-items: center;
		padding: var(--mwai-spacing);

		.mwai-input-text {
			flex: auto;
			position: relative;
			display: flex;
			background: var(--mwai-backgroundPrimaryColor);
			border-radius: var(--mwai-borderRadius);
			border: 1px solid var(--mwai-backgroundAiSecondaryColor);
			overflow: hidden;

			&.mwai-dragging {
				border: 1px dashed var(--mwai-backgroundAiSecondaryColor);
			}

			textarea {
				background: var(--mwai-backgroundPrimaryColor);
				color: var(--mwai-fontColor);
				flex: auto;
				padding: var(--mwai-spacing);
				border: none;
				font-size: var(--mwai-fontSize);
				resize: none;
				font-family: inherit;
				margin: 0;
				overflow: hidden;
	
				&:focus {
					outline: none;
					box-shadow: none;
				}
	
				&::placeholder {
					color: var(--mwai-fontColor);
					opacity: 0.5;
				}
			}

			.mwai-microphone {
				display: flex;
				align-items: center;
				justify-content: center;
				height: 100%;
				cursor: pointer;

				svg {
					fill: var(--mwai-fontColor);
					width: 34px;
					height: 34px;
					fill: var(--mwai-fontColor);
					opacity: 0.5;
					transition: opacity 0.3s ease-out;
				}

				&[active=true] {
					svg {
						opacity: 1;
					}
				}
	
				&[disabled] {
					svg {
						opacity: 0;
					}
				}
			}

			.mwai-file-upload {
				display: flex;
				align-items: center;
				justify-content: center;
				margin-left: 5px;
				width: 30px;
				cursor: pointer;
				margin-right: -8px;
				z-index: 100;

				img {
					width: 100%;
					height: auto;
					background-size: cover;
				}

				.mwai-idle-idle {
					filter: brightness(0.5);
				}

				.mwai-idle-add {
					filter: brightness(0.85);
				}

				.mwai-image-add, .mwai-image-del, .mwai-image-ok, .mwai-image-up {
					filter: brightness(1);
				}

				.mwai-document-add, .mwai-document-del, .mwai-document-ok, .mwai-document-up {
					filter: brightness(1);
				}

				.mwai-enabled {
					filter: saturate(0);
				}

				span {
					position: absolute;
					font-size: 11px;
					width: 21px;
					top: 25px;
					left: 24px;
					overflow: hidden;
					text-align: center;
					font-weight: bold;
				}
			}

			.mwai-microphone {
				svg {
					padding: 5px 10px;
				}
			}
		}

		button {
			margin-left: var(--mwai-spacing);
			padding: 5px 15px;
			background-color: var(--mwai-backgroundUserColor);
			color: white;
			border: none;
			border-radius: var(--mwai-borderRadius);
			cursor: pointer;
			height: 32px;
			width: 110px;
			display: flex;
			justify-content: center;
			align-items: center;

			.mwai-timer {
				margin-left: 5px;
				margin-right: 5px;
				font-size: 11px;
			}

			&:hover {
				filter: brightness(1.2);
			}
		}
	}

	button[disabled] {
		cursor: not-allowed;

		span {
			opacity: 0.5;
		}

		&.mwai-busy {

			span {
				display: none;
			}

			&:before {
				content: '';
				width: 18px;
				height: 18px;
				margin: auto;
				border: 3px solid transparent;
				border-top-color: var(--mwai-fontColor);
				border-radius: 50%;
				animation: mwai-button-spinner 1s ease infinite;
			}
		}
	}

	.mwai-compliance {
		opacity: 0.50;
		margin-top: calc( -1 * var(--mwai-spacing));
		padding: calc(var(--mwai-spacing) / 1.5) var(--mwai-spacing);
		font-size: smaller;
		color: var(--mwai-fontColor);
		text-align: left;
	}

	.mwai-gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 5px;

		img {
			width: 100%;
		}
	}
}

@import '_common.scss';
@import '_copybutton.scss';
@import '_codeLight.scss';

.mwai-copy-button {
	position: absolute;
	left: 15px;
	zoom: 0.5;
	top: 18px;
	filter: revert;
}

.mwai-ai .mwai-copy-button {
	right: 15px;
	left: inherit;
	filter: brightness(0.4);
}

// Mobile

@media (max-width: 760px) {

	.mwai-chat {

		&.mwai-window {
			width: calc(100% - 40px);
			z-index: 9999999999;
		}

		.mwai-input {
			flex-direction: column;

			.mwai-input-text {
				width: 100%;
				margin-bottom: 10px;
			}

			button {
				width: 100%;
			}
		}
	}
}

Softgel-Capsule – Affy Pharma Pvt Ltd

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket