/* Tool Layout - CSS */
.tool-layout-container .tool-iframe-wrapper {
padding-left: 215px;
padding-right: 8px;
display: flex;
justify-content: center;
}
/* Tool Example */
#tool-page-content .example-panel {
position: relative;
margin-top: 0px;
padding-bottom: 52px;
width: 100%;
height: auto;
}
#tool-page-content .example-panel .example-area {
position: relative;
width: 100%;
height: auto;
display: flex;
flex-wrap: wrap;
}
#tool-page-content .example-panel .example-area .example-item > img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(5n + 1) > img {
background: #F3395B;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(5n + 2) > img {
background: #15CAFA;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(5n + 3) > img {
background: #F3395B;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(5n + 4) > img {
background: #40CC66;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(5n + 5) > img {
background: #EEDA0C;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block {
transition: height 300ms;
-moz-transition: height 300ms;
-webkit-transition: height 300ms;
}
#tool-page-content .example-panel .example-area .example-item.video::before {
content: "";
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.64);
}
@media screen and (min-width: 1681px) {
#tool-page-content {
position: relative;
width: 1400px;
height: auto;
}
#tool-page-content .example-panel .example-area .example-item {
position: relative;
margin-left: 18px;
width: 336px;
height: 204px;
border-radius: 5px;
overflow: hidden;
cursor: pointer;
display: block;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(n + 5) {
margin-top: 18px;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(4n + 1) {
margin-left: 0px;
}
#tool-page-content .example-panel .example-area .example-item .status-icon {
position: absolute;
top: 5px;
left: 5px;
width: 54px;
height: 23px;
display: none;
}
#tool-page-content .example-panel .example-area .example-item .status-icon.active {
display: block;
}
#tool-page-content .example-panel .example-area .example-item .detail-block {
position: absolute;
left: 0px;
bottom: 0px;
width: 100%;
height: 40px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(1, 1, 1, 0.6) 100%);
border-radius: 0px 0px 5px 5px;
display: flex;
justify-content: space-between;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-title {
margin-top: 6px;
margin-left: 8px;
max-width: 244px;
font-size: 19px;
font-weight: 500;
color: #FFFFFF;
line-height: 28px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block {
height: 66px;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block .detail-title {
white-space: normal;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-scan {
margin-right: 6px;
max-width: 68px;
font-size: 12px;
font-weight: 400;
color: #FFFFFF;
line-height: 40px;
}
}
@media screen and (min-width: 1441px) and (max-width: 1680px) {
.tool-layout-container .tool-iframe-wrapper .tool-page-content {
position: relative;
width: 1200px;
height: auto;
}
#tool-page-content .example-panel .example-area .example-item {
position: relative;
margin-left: 16px;
width: 288px;
height: 174px;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
display: block;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(n + 5) {
margin-top: 16px;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(4n + 1) {
margin-left: 0px;
}
#tool-page-content .example-panel .example-area .example-item .status-icon {
position: absolute;
top: 4px;
left: 4px;
width: 46px;
height: 20px;
display: none;
}
#tool-page-content .example-panel .example-area .example-item .status-icon.active {
display: block;
}
#tool-page-content .example-panel .example-area .example-item .detail-block {
position: absolute;
left: 0px;
bottom: 0px;
width: 100%;
height: 34px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(1, 1, 1, 0.6) 100%);
border-radius: 0px 0px 4px 4px;
display: flex;
justify-content: space-between;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-title {
margin-top: 5px;
margin-left: 8px;
max-width: 200px;
font-size: 16px;
font-weight: 500;
color: #FFFFFF;
line-height: 24px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block {
height: 56px;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block .detail-title {
white-space: normal;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-scan {
margin-right: 6px;
max-width: 68px;
transform-origin: center right;
-moz-transform-origin: center right;
-webkit-transform-origin: center right;
transform: scale(0.833);
-moz-transform: scale(0.833);
-webkit-transform: scale(0.833);
font-size: 12px;
font-weight: 400;
color: #FFFFFF;
line-height: 34px;
}
}
@media screen and (max-width: 1440px) {
.tool-layout-container .tool-iframe-wrapper .tool-page-content {
position: relative;
width: 1066px;
min-width: 1066px;
height: auto;
}
#tool-page-content .example-panel .example-area .example-item {
position: relative;
margin-left: 14px;
width: 256px;
height: 155px;
border-radius: 4px;
overflow: hidden;
cursor: pointer;
display: block;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(n + 5) {
margin-top: 14px;
}
#tool-page-content .example-panel .example-area .example-item:nth-child(4n + 1) {
margin-left: 0px;
}
#tool-page-content .example-panel .example-area .example-item .status-icon {
position: absolute;
top: 4px;
left: 4px;
width: 41px;
height: 18px;
display: none;
}
#tool-page-content .example-panel .example-area .example-item .status-icon.active {
display: block;
}
#tool-page-content .example-panel .example-area .example-item .detail-block {
position: absolute;
left: 0px;
bottom: 0px;
width: 100%;
height: 30px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(1, 1, 1, 0.6) 100%);
border-radius: 0px 0px 4px 4px;
display: flex;
justify-content: space-between;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-title {
margin-top: 4px;
margin-left: 7px;
max-width: 170px;
font-size: 16px;
font-weight: 500;
color: #FFFFFF;
line-height: 21px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block {
height: 48px;
}
#tool-page-content .example-panel .example-area .example-item:hover .detail-block .detail-title {
white-space: normal;
}
#tool-page-content .example-panel .example-area .example-item .detail-block .detail-scan {
margin-right: 6px;
max-width: 68px;
transform-origin: center right;
-moz-transform-origin: center right;
-webkit-transform-origin: center right;
transform: scale(0.75);
-moz-transform: scale(0.75);
-webkit-transform: scale(0.75);
font-size: 12px;
font-weight: 400;
color: #FFFFFF;
line-height: 30px;
}
}
/* Activity Entrance - CSS */
.tool-layout-container .tool-activity-entrance {
position: fixed;
right: 27px;
bottom: 20px;
width: 148px;
height: 168px;
cursor: pointer;
display: none;
}
.tool-layout-container .tool-activity-entrance.active {
display: block;
animation: repeat-animation 2400ms ease-in-out infinite;
-moz-animation: repeat-animation 2400ms ease-in-out infinite;
-webkit-animation: repeat-animation 2400ms ease-in-out infinite;
}
.tool-layout-container .tool-activity-entrance > img {
width: 100%;
height: 100%;
object-fit: contain;
display: block;
}
.tool-layout-container .tool-activity-entrance > p {
position: absolute;
top: 5px;
width: 100%;
height: 25px;
color: #FFFFFF;
font-size: 16px;
font-weight: 600;
line-height: 25px;
text-align: center;
}
.tool-layout-container .tool-activity-entrance > button {
position: absolute;
top: -8px;
right: -8px;
width: 16px;
height: 16px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAMFBMVEUAAADJycnJycnPz8/JycnKysrHx8fJycnKysrJycnIyMjJycnHx8fIyMjJycnJyckuWl4xAAAAD3RSTlMAgJAQ359A78/PoG8gUK+Z0ie5AAAAfUlEQVQI12NgYEjy/xHDAARG3wOl/JUZGJj7hRkYGH8YMDB9AwnfV2A4L7CRgWE34zeGJQz7BRg/MhcxTGVg/CgvAOR/ZGCQB2EEwxUi9ZJB3UAeqBjIzxdQZGAQYvzDwPQXaiDzfAEGBkOgFQxGXx6K1iuDhE/N/6LGwAAA8ukjjKLghJEAAAAASUVORK5CYII=) center no-repeat;
background-size: contain;
border: none;
cursor: pointer;
}
/* Key Frames */
@-webkit-keyframes repeat-animation {
0%, 100% {-webkit-transform: translateY(0px);}
50% {-webkit-transform: translateY(-16px);}
}
@-moz-keyframes repeat-animation {
0%, 100% {-moz-transform: translateY(0px);}
50% {-moz-transform: translateY(-16px);}
}
@keyframes repeat-animation {
0%, 100% {transform: translateY(0px);}
50% {transform: translateY(-16px);}
}
°Ù¶È