@keyframes modal-video {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes modal-video-inner {
from {
transform: translate(0, 100px);
}
to {
transform: translate(0, 0);
}
}
.modal-video {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000000;
cursor: pointer;
opacity: 1;
animation-timing-function: ease-out;
animation-duration: 0.3s;
animation-name: modal-video;
-webkit-transition: opacity 0.3s ease-out;
-moz-transition: opacity 0.3s ease-out;
-ms-transition: opacity 0.3s ease-out;
-o-transition: opacity 0.3s ease-out;
transition: opacity 0.3s ease-out;
}
.modal-video-close {
opacity: 0;
}
.modal-video-close .modal-video-movie-wrap {
-webkit-transform: translate(0, 100px);
-moz-transform: translate(0, 100px);
-ms-transform: translate(0, 100px);
-o-transform: translate(0, 100px);
transform: translate(0, 100px);
}
.modal-video-body {
max-width: 960px;
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0 10px;
display: flex;
justify-content: center;
box-sizing: border-box;
}
.modal-video-inner {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
@media (orientation: landscape) {
.modal-video-inner {
padding: 10px 60px;
box-sizing: border-box;
}
}
.modal-video-movie-wrap {
width: 100%;
height: 0;
position: relative;
padding-bottom: 56.25%;
background-color: #333;
animation-timing-function: ease-out;
animation-duration: 0.3s;
animation-name: modal-video-inner;
-webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
-webkit-transition: -webkit-transform 0.3s ease-out;
-moz-transition: -moz-transform 0.3s ease-out;
-ms-transition: -ms-transform 0.3s ease-out;
-o-transition: -o-transform 0.3s ease-out;
transition: transform 0.3s ease-out;
}
.modal-video-movie-wrap iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.modal-video-close-btn {
position: absolute;
z-index: 2;
top: -45px;
right: 0;
display: inline-block;
width: 35px;
height: 35px;
overflow: hidden;
border: none;
background: transparent;
}
@media (orientation: landscape) {
.modal-video-close-btn {
top: 0;
right: -45px;
}
}
.modal-video-close-btn:before {
transform: rotate(45deg);
}
.modal-video-close-btn:after {
transform: rotate(-45deg);
}
.modal-video-close-btn:before, .modal-video-close-btn:after {
content: '';
position: absolute;
height: 2px;
width: 100%;
top: 50%;
left: 0;
margin-top: -1px;
background: #fff;
border-radius: 5px;
margin-top: -6px;
}.etc64-rcfr-container {
max-width: 1000px;
margin: 0 auto;
}
.etc64-rcfr-controls {
display: flex;
flex-wrap: wrap;
gap: 14px;
align-items: center;
margin-bottom: 16px;
padding: 10px 12px;
background: #f6f7f7;
border: 1px solid #dcdcde;
border-radius: 6px;
}
.etc64-rcfr-control {
font-size: 14px;
display: flex;
align-items: center;
gap: 6px;
}
.etc64-rcfr-control select {
padding: 4px 6px;
}
.etc64-rcfr-reset {
margin-left: auto;
}
.etc64-rcfr-empty {
padding: 20px;
text-align: center;
color: #666;
}
.etc64-rcfr-list {
display: flex;
flex-direction: column;
gap: 0;
border: 1px solid #ccc;
}
.etc64-rcfr-row {
display: grid;
grid-template-columns: 48px 1fr 1fr 2fr 1fr 1fr 1fr;
align-items: center;
border-bottom: 1px solid #ccc;
padding: 10px;
gap: 8px;
}
.etc64-rcfr-row:last-child {
border-bottom: none;
}
.etc64-rcfr-row.is-hidden {
display: none;
}
.etc64-rcfr-cell {
font-size: 14px;
word-break: break-word;
}
.etc64-rcfr-cell-no {
font-weight: bold;
text-align: center;
}
.etc64-rcfr-cell-image img {
width: 60px;
height: 60px;
object-fit: cover;
display: block;
}
.etc64-rcfr-material-grid {
display: grid;
grid-template-columns: repeat(3, 34px);
grid-template-rows: repeat(2, 34px);
gap: 3px;
}
.etc64-rcfr-material-slot {
width: 34px;
height: 34px;
border: 1px solid #ccc;
background: #fafafa;
}
.etc64-rcfr-material-slot img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.etc64-rcfr-label {
display: none;
}
@media (max-width: 782px) {
.etc64-rcfr-row {
grid-template-columns: 1fr 1fr;
grid-template-areas:
"no image"
"name name"
"materials materials"
"cost sell"
"income income";
}
.etc64-rcfr-cell-no { grid-area: no; }
.etc64-rcfr-cell-image { grid-area: image; }
.etc64-rcfr-cell-name { grid-area: name; font-weight: bold; }
.etc64-rcfr-cell-materials { grid-area: materials; }
.etc64-rcfr-cell-cost { grid-area: cost; }
.etc64-rcfr-cell-sell { grid-area: sell; }
.etc64-rcfr-cell-income { grid-area: income; }
.etc64-rcfr-label {
display: inline;
font-size: 12px;
color: #666;
margin-right: 4px;
}
}