| | .cnet-modal { |
| | display: none; |
| | |
| | position: fixed; |
| | |
| | z-index: 2147483647; |
| | |
| | left: 0; |
| | top: 0; |
| | width: 100%; |
| | |
| | height: 100%; |
| | |
| | overflow: auto; |
| | |
| | background-color: rgba(0, 0, 0, 0.4); |
| | |
| | } |
| |
|
| | .cnet-modal-content { |
| | position: relative; |
| | background-color: var(--background-fill-primary); |
| | margin: 5vh auto; |
| | |
| | padding: 20px; |
| | border: 1px solid #888; |
| | width: 80%; |
| | height: 90vh; |
| | |
| | box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); |
| | animation-name: animatetop; |
| | animation-duration: 0.4s; |
| | } |
| |
|
| | .cnet-modal-content iframe { |
| | position: absolute; |
| | top: 0; |
| | left: 0; |
| | width: 100%; |
| | height: 100%; |
| | border: none; |
| | } |
| |
|
| | .cnet-modal-content.alert * { |
| | position: absolute; |
| | top: var(--size-5); |
| | left: var(--size-5); |
| | width: 100%; |
| | } |
| |
|
| | .cnet-modal-close { |
| | color: white; |
| | float: right; |
| | font-size: 56px; |
| | font-weight: bold; |
| | } |
| |
|
| | .cnet-modal-close:hover, |
| | .cnet-modal-close:focus { |
| | color: #000; |
| | text-decoration: none; |
| | cursor: pointer; |
| | } |
| |
|
| | @keyframes animatetop { |
| | from { |
| | top: -300px; |
| | opacity: 0 |
| | } |
| |
|
| | to { |
| | top: 0; |
| | opacity: 1 |
| | } |
| | } |
| |
|
| | .cnet-generated-image-control-group { |
| | display: flex; |
| | flex-direction: column; |
| | align-items: flex-end; |
| |
|
| | position: absolute; |
| | right: var(--size-2); |
| | bottom: var(--size-2); |
| | } |
| |
|
| | |
| | .cnet-download-pose a, |
| | .cnet-close-preview, |
| | .cnet-edit-pose { |
| | font-size: x-small !important; |
| | font-weight: bold !important; |
| | padding: 2px !important; |
| | box-shadow: var(--shadow-drop); |
| | border: 1px solid var(--button-secondary-border-color); |
| | border-radius: var(--radius-sm); |
| | background: var(--background-fill-primary); |
| | height: var(--size-5); |
| | color: var(--block-label-text-color) !important; |
| | } |
| |
|
| | .cnet-unit-active { |
| | color: green !important; |
| | font-weight: bold !important; |
| | } |
| |
|
| | .dark .cnet-unit-active { |
| | color: greenyellow !important; |
| | } |
| |
|
| | .cnet-badge { |
| | display: inline-block; |
| | padding: 0.25em 0.75em; |
| | font-size: 0.75em; |
| | font-weight: bold; |
| | color: white; |
| | border-radius: 0.5em; |
| | text-align: center; |
| | vertical-align: middle; |
| | margin-left: var(--size-2); |
| | } |
| |
|
| | .cnet-badge.primary { |
| | background-color: green; |
| | } |