HEX
Server: nginx/1.18.0
System: Linux iZj6c1ieg2jrpk1z5tzi19Z 6.3.9-1.el7.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 21 22:18:40 EDT 2023 x86_64
User: www (1001)
PHP: 8.2.4
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/www.cytocare.cn/wp-content/themes/peakshops/assets/sass/shortcodes/_iconbox.scss
/* Iconbox */
.thb-iconbox {
	display: flex;
	margin-bottom: 20px;
	visibility: hidden;
	@extend .quick-transition;

	&.animation-off {
		visibility: visible;
		figure svg {
			display: block;
			visibility: visible;
		}
		.thb-iconbox-line {
			@include scaleX(1);
		}
	}
	figure {
		display: inline-flex;
		justify-content: center;
		align-items: center;
		flex-shrink: 0;
		svg {
			width: 64px;
			height: 64px;
			display: block;
			visibility: hidden;

			path,
			circle,
			rect,
			ellipse {
				stroke: $black;
				@include transition(stroke .25s $transition);
			}
		}
		.iconbox-image {
			position: relative;
			.thb_image_hover {
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				opacity: 0;
			}
		}
	}
	.iconbox-content {
		max-width: 100%;
	}

	h5 {
		font-size: 16px;
		font-weight: 500;
		@include transition(color .25s $transition);
	}
	p {
		font-size: 13px;
		display: block;
		@include transition(color .25s $transition);
	}
	&.top.type1 {
		figure {
			width: 100%;
			padding-bottom: 60px;
			position: relative;
			@extend .quick-transition;

			.thb-iconbox-line {
				display: block;
				width: 100%;
				position: absolute;
				bottom: 0;
				left: 0;
				border-bottom: 1px solid rgba(0,0,0,0.07);
				transform-origin: center;
				@include scaleX(0);
			}
		}
		&.animation-off {
			.thb-iconbox-line {
				@include scaleX(1);
			}
		}
	}  /* End .type1 */
	&.top.type2 {
		figure {
			flex-direction: column;
			position: relative;
			width: 100%;
			padding-bottom: 60px;
			margin-bottom: 40px;
			@extend .quick-transition;
			svg,
			img {
				margin-bottom: 30px;
			}
			.thb-iconbox-line {
				display: block;
				width: 100%;
				position: absolute;
				bottom: 0;
				left: 0;
				border-bottom: 1px solid rgba(0,0,0,0.07);
				transform-origin: center;
				@include scaleX(0);
			}
		}
		h5 {
			font-size: 14px;
			font-weight: 600;
			margin: 0;
		}
	} /* End .type2 */
	&.top.type3 {
		figure {
			flex-direction: column;
			position: relative;
			width: 100%;
			padding-bottom: 48px;
			margin: 0;
		}
		h5 {
			font-size: 20px;
			font-weight: 500;
		}
	} /* End .type3 */
	&.top.type4 {
		border: 1px solid #ededed;
		border-radius: 3px;
		padding: 15%;

		&:hover {
			border-color: $black;
		}
	} /* End .type4 */
	&.top.type5 {
		border-top: 5px solid $accent;
		padding: 20px 15%;

		&.text-left {
      text-align: left;
      padding-left: 0;
    }
    &.text-right {
      text-align: right;
      padding-right: 0;
    }

    @include min-break($break-small) {
      padding: 45px 15%;

      &.text-left {
        padding-left: 0;
      }
      &.text-right {
        padding-right: 0;
      }
    }

    figure {
			flex-direction: column;
			position: relative;
			width: 100%;
			padding-bottom: 0;
			margin: 0 0 30px;
		}
		&.text-left {
		  figure {
		  	align-items: flex-start;
		  }
		}
		&.text-right {
		  figure {
		  	align-items: flex-end;
		  }
		}
		h5 {
			font-size: 20px;
			font-weight: 600;
		}
		p {
      font-size: 16px;
    }

    .iconbox-content .thb-read-more {
      position: relative;
      opacity: 1;
      color: $accent;

      svg {
        fill: $accent;

        .bar {
          fill: $accent;
        }
      }
    }
  } /* End .type5 */
  &.top.type6 {
  	border: 1px solid #ededed;
  	border-radius: 3px;
  	padding: 12%;
  	line-height: 1;
  	&.has-img {
      padding: 0;
      border: 0;
      border-radius: 0;

      .iconbox-content {
        border: 1px solid #ededed;
        border-top: 0;
        border-radius: 0 0 3px 3px;
        padding: 10% 12%;
      }
      figure {
        margin: 0;

        img {
          border-radius: 3px 3px 0 0;
        }
      }
    }
    .iconbox-content {
      p {
        margin: 0;
      }
      h6 {
        margin-bottom: 10px;
      }

      .thb-read-more {
        margin-top: 25px;
      }
    }

    .iconbox-image {
      width: 100%;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  } /* End .type6 */
	&.top {
		flex-direction: column;

		figure {
			margin-bottom: 30px;
		}
		&.type1,
		&.type2 {
			align-items: center;

			&.text-left {
				text-align: left;
			}
			&.text-center {
				text-align: center;
			}
			&.text-right {
				text-align: right;
			}
		}
		&.type6 {
			&.text-left {
				text-align: left;

				figure {
					align-items: flex-start;
				}
			}
			&.text-center {
				text-align: center;

			}
			&.text-right {
				text-align: right;

				figure {
					align-items: flex-end;
				}
			}
		}
		&.type3 {
			figure {
				margin-bottom: 0;
			}
			&.text-left {
				text-align: left;

				figure {
					align-items: flex-start;
				}
			}
			&.text-center {
				text-align: center;

			}
			&.text-right {
				text-align: right;

				figure {
					align-items: flex-end;
				}
			}
			&.has-link {
				.iconbox-content {
					position: relative;
					@extend .quick-transition;
					.thb-read-more {
						position: absolute;
						top: 100%;
						left: 0;
						opacity: 0;
						visibility: visible !important;
						@extend .quick-transition;
					}
				}
				&.text-center {
					.thb-read-more {
						left: 50%;
						@include translateX(-50%);
					}
				}
			}
			&:hover {
				.thb-read-more {
					opacity: 1 !important;
				}
			}
		}
	} /* End .top */
	&.left {
		display: inline-flex;
		flex-direction: row;
		align-items: flex-start;
		figure {
			margin-right: 25px;

			.rtl & {
				margin-left: 25px;
				margin-right: 0;
			}
		}
		.iconbox-content {
			text-align: left;
		}
		&.type2 {
		  figure {
		    margin-right: 25px;

				.rtl & {
					margin-left: 25px;
					margin-right: 0;
				}
		  }
		}
	} /* End .left */
	&.right {
		display: inline-flex;
		flex-direction: row-reverse;
		align-items: flex-start;
		figure {
			margin-left: 25px;

			.rtl & {
				margin-left: 0;
				margin-right: 25px;
			}
		}
		.iconbox-content {
			text-align: right;
		}
		&.type2 {
		  figure {
        margin-left: 30px;

				.rtl & {
					margin-left: 0;
					margin-right: 30px;
				}
      }
    }
	} /* End .right */
	&.left,
	&.right {
		align-items: center;
		h5 {
			font-size: 16px;
			font-weight: 600;
			margin-bottom: 5px;
		}
		.iconbox-content {
			p {
				margin: 0;
			}
		}
		&.has-link {
			.iconbox-content {
				position: relative;
				@extend .quick-transition;
				.thb-read-more {
					position: absolute;
					top: calc(100% + 10px);
					right: 0;
					opacity: 0;
					visibility: visible !important;
					@extend .quick-transition;
				}
			}
			&:hover {
				.iconbox-content {
					@include translateY(-20px);
				}
				.thb-read-more {
					opacity: 1 !important;
				}
			}
		}
		&.type2 {
      align-items: flex-start;

      h5 {
        font-size: 18px;
      }
      p {
        font-size: 14px;
      }
    }
  }
	&.left {
		&.has-link {
			.iconbox-content {
				.thb-read-more {
					right: auto;
					left: 0;
				}
			}
		}
	}

	&:hover {
		&.top.type1,
		&.top.type2 {
			figure {
				@include box-shadow(inset 0 -3px 0 $black);
			}
		}
	}

	&.has-link {
		color: #535353;
	} /* End .has-link */

	&.has-hover-image {
		&:hover {
			.iconbox-image {
				.thb_image {
					opacity: 0;
				}
				.thb_image_hover {
					opacity: 1;
				}
			}
		}
	} /* End .has-hover-image */
}