oont-contents/plugins/ar-model-viewer/css/ar-model-viewer-public.css
2025-02-08 15:10:23 +01:00

220 lines
No EOL
4.2 KiB
CSS

/* The Modal (background) */
.ar-model-viewer-modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 99999999; /* Sit on top */
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.ar-model-viewer-modal .modal-pop-up {
background-color: #fefefe;
padding: 24px;
min-width: 400px;
width: 75%;
height: 75%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 8px;
box-shadow: rgba(0, 0, 0, 0.34) 0px 3px 8px;
}
/* The Close Button */
.ar-model-viewer-modal .close {
color: #aaa;
float: right;
font-size: 28px;
position: absolute;
right: 12px;
top: 8px;
}
.ar-model-viewer-modal .ar-modal-content{
min-height: 200px;
padding: 8px 0px;
font-size: 16px;
color: #000;
width: 100%;
flex-grow: 1;
}
.ar-model-viewer-modal .close:hover,
.ar-model-viewer-modal .close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.ar-model-viewer-modal .modal-body{
height: 100%;
display: flex;
flex-direction: column;
}
.model-viewer{
width: 100%;
height: 100%;
}
.ar-model-contents{
display: flex;
flex-direction: column;
margin: 0 auto;
width: 100%;
height: 100%;
}
.ar-model-contents model-viewer-preview{
flex-grow: 1;
}
.ar-widget-delete-btn {
color: #b32d2e;
}
.product-three-model-button {
display: none;
}
.ios-file-box{
margin: 5px 0px;
}
.ar-widget-description{
font-size: 11px;
color:#646970;
}
.ar-widget-heading{
margin-bottom: 10px;
font-weight: bold;
}
#ar-features-listings li {
padding: 12px 0;
border-bottom: 1px solid #c3c4c7;
margin-bottom: 0px;
}
#ar-features-listings li:last-child{
border:0px;
}
#ar-features-listings{
margin:0;
}
#ar-placement-select{
width: 100%;
}
.ar-feedback-section{
border-top: 1px solid #c3c4c7;
margin-top: 12px;
}
.ar-bitbute-logo{
width: 18px;
opacity: 0.5;
}
.ar-bitbute-logo:hover{
opacity: 1;
}
.ar-model-settings-header a{
display: flex;
align-items: center;
text-decoration: none;
color:#000;
font-size: 22px;
font-weight: bold;
}
.ar-model-settings-header .ar-logo-bitbute-image{
width:30px;
margin-right:8px
}
.ar-logo-container{
border-bottom: 1px solid rgba(0,0,0,0.2);
margin-right: 20px;
padding: 20px 0px;
display: flex;
}
#ar-variant-options {
font-size: 14px;
line-height: 2;
color: #2c3338;
border-color: #8c8f94;
box-shadow: none;
border-radius: 3px;
padding: 0 24px 0 8px;
min-height: 30px;
max-width: 25rem;
-webkit-appearance: none;
background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
background-size: 16px 16px;
cursor: pointer;
vertical-align: middle;
margin: 10px 0;
align-self: flex-start;
}
@media screen and (max-width: 768px) {
#ar-product-modal .modal-pop-up{
width: 95%;
min-width: auto;
}
#ar-product-modal .model-viewer{
min-width: auto !important;
min-height: auto !important;
}
}
.view-in-ar-desktop-btn{
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 40px;
height: 40px;
cursor: pointer;
background-color: #fff;
box-shadow: 0px 0px 4px rgb(0 0 0 / 15%);
border-radius: 100px;
position: absolute;
bottom: 16px;
right: 16px;
transform: scale(var(--ar-button-scale, 1));
transform-origin: bottom right;
}
.ar-modal-separator{
background-color: #ccc !important;
margin-bottom: 8px !important;
margin-top: 0px !important;
}
.attachment-input{
width: 100%;
max-width: 500px;
}
.preview-container button.select-button{
margin-bottom: 10px !important;
}
.ar-product-3d-model-button{
position: absolute;
right: 10%;
top: 20px;
padding: "6px";
color: #000;
background: #fff;
}
.ar-product-3d-model-button:hover{
background: #fff;
color: #000;
}