|
.canvas-tooltip { |
|
display: none; |
|
} |
|
|
|
.canvas-tooltip-info--extension { |
|
position: absolute; |
|
top: 10px; |
|
left: 10px; |
|
cursor: help; |
|
background-color: rgba(0, 0, 0, 0.5); |
|
width: 20px; |
|
height: 20px; |
|
border-radius: 50%; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
flex-direction: column; |
|
|
|
z-index: 100; |
|
} |
|
|
|
.canvas-tooltip-info--extension::after { |
|
content: ''; |
|
display: block; |
|
width: 2px; |
|
height: 7px; |
|
background-color: white; |
|
margin-top: 2px; |
|
} |
|
|
|
.canvas-tooltip-info--extension::before { |
|
content: ''; |
|
display: block; |
|
width: 2px; |
|
height: 2px; |
|
background-color: white; |
|
} |
|
|
|
.canvas-tooltip-content--extension { |
|
display: none; |
|
background-color: #f9f9f9; |
|
color: #333; |
|
border: 1px solid #ddd; |
|
padding: 15px; |
|
position: absolute; |
|
top: 30px; |
|
left: 10px; |
|
width: 250px; |
|
font-size: 14px; |
|
opacity: 0; |
|
border-radius: 8px; |
|
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); |
|
|
|
z-index: 101; |
|
} |
|
|
|
.canvas-tooltip--extension:hover .canvas-tooltip-content--extension { |
|
display: block; |
|
animation: fadeIn 0.5s; |
|
opacity: 1; |
|
} |
|
|
|
@keyframes fadeIn { |
|
from { |
|
opacity: 0; |
|
} |
|
|
|
to { |
|
opacity: 1; |
|
} |
|
} |
|
|
|
.fullscreen-btn-main { |
|
position: absolute; |
|
top: 45px; |
|
left: 10px; |
|
|
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
flex-direction: column; |
|
} |
|
|
|
.fullscreen-btn { |
|
cursor: pointer; |
|
align-items: center; |
|
background-color: rgba(0, 0, 0, 0.5); |
|
width: 40px; |
|
height: 40px; |
|
border-radius: 5px; |
|
z-index: 100; |
|
} |
|
|
|
.fullscreen-btn { |
|
padding-top: 13px; |
|
} |
|
|
|
.fullscreen-btn:hover { |
|
background-color: rgba(22, 22, 22, 0.5); |
|
} |
|
|
|
.dropper-btn-main { |
|
position: absolute; |
|
top: 100px; |
|
left: 10px; |
|
|
|
|
|
|
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
flex-direction: column; |
|
} |
|
|
|
.dropper-btn { |
|
cursor: pointer; |
|
font-style: normal; |
|
background-color: rgba(0, 0, 0, 0.5); |
|
width: 40px; |
|
height: 40px; |
|
border-radius: 5px; |
|
z-index: 100; |
|
|
|
padding-top: 13px; |
|
} |
|
|
|
.dropper-btn:hover { |
|
background-color: rgba(22, 22, 22, 0.5); |
|
} |
|
|
|
|
|
.cm-light { |
|
background-color: #fff; |
|
color: #000; |
|
} |
|
|
|
|
|
.cm-dark { |
|
background-color: #4d5967; |
|
color: #d9d6d1 |
|
} |
|
|
|
button[aria-label="Redraw"] { |
|
display: none |
|
} |
|
|
|
.get-img-dem #img2img_ratio { |
|
display: none; |
|
} |
|
|
|
#img2img_res_get_btn { |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
} |
|
|
|
#img2img_sketch, |
|
#img2maskimg, |
|
#inpaint_sketch { |
|
transform-origin: 0px 0px; |
|
} |
|
|
|
|
|
.toast { |
|
visibility: hidden; |
|
position: fixed; |
|
bottom: 2rem; |
|
left: 50%; |
|
transform: translateX(-50%); |
|
background-color: #0e0e0e; |
|
|
|
color: white; |
|
padding: 1.5rem; |
|
border-radius: 10px; |
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); |
|
opacity: 0; |
|
transition: opacity 0.3s, visibility 0.3s, transform 0.3s; |
|
z-index: 1000; |
|
font-size: 20px; |
|
} |
|
|
|
.toast.show { |
|
visibility: visible; |
|
opacity: 1; |
|
transform: translateX(-50%) translateY(-20px); |
|
} |
|
|
|
@keyframes fadeInOut { |
|
0% { |
|
opacity: 0; |
|
} |
|
|
|
10%, |
|
90% { |
|
opacity: 1; |
|
} |
|
|
|
100% { |
|
opacity: 0; |
|
} |
|
} |
|
|
|
.toast-icon { |
|
display: inline-block; |
|
width: 32px; |
|
height: 32px; |
|
margin-right: 16px; |
|
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" fill="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"/><path d="M12 8v4"/><path d="M12 16h.01"/></svg>'); |
|
background-size: contain; |
|
background-repeat: no-repeat; |
|
vertical-align: middle; |
|
} |
|
|
|
.canvas-buttons-hidden { |
|
visibility: hidden; |
|
opacity: 0; |
|
transition: opacity 0.5s ease-out; |
|
} |
|
|
|
.canvas-buttons-visible { |
|
visibility: visible; |
|
opacity: 1; |
|
transition: opacity 0.5s ease-in; |
|
} |
|
|
|
.styler{ |
|
overflow: inherit !important; |
|
} |