|
|
#weight-helper { |
|
|
text-align: center; |
|
|
max-width: 330px; |
|
|
transform-origin: left top; |
|
|
color: var(--body-text-color); |
|
|
background: var(--body-background-fill); |
|
|
position: absolute; |
|
|
z-index: 1000; |
|
|
border: var(--input-border-width) solid var(--border-color-primary); |
|
|
box-shadow: 0px 0px 7px 0 var(--weight-helper-shadow); |
|
|
} |
|
|
#weight-helper > header { |
|
|
height: 24px; |
|
|
background-color: var(--border-color-primary); |
|
|
margin-bottom: 4px; |
|
|
color: var(--block-label-text-color); |
|
|
user-select: none; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
padding: 0px 3px; |
|
|
cursor: move; |
|
|
} |
|
|
#weight-helper > header > span { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
} |
|
|
#weight-helper > header .name { |
|
|
max-width: 146px; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
pointer-events: none; |
|
|
} |
|
|
#weight-helper > header .lock { |
|
|
width: 16px; |
|
|
height: 20px; |
|
|
cursor: pointer; |
|
|
} |
|
|
#weight-helper > header .lock.unlike > svg { |
|
|
fill: var(--checkbox-background-color); |
|
|
} |
|
|
#weight-helper > header .lock.like > svg { |
|
|
fill: var(--checkbox-border-color-selected); |
|
|
} |
|
|
#weight-helper > header .page { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
padding-right: 4px; |
|
|
} |
|
|
#weight-helper > header .page > label { |
|
|
pointer-events: none; |
|
|
} |
|
|
#weight-helper .icon { |
|
|
background-color: var(--block-info-text-color); |
|
|
color: var(--border-color-primary); |
|
|
border-radius: 10px; |
|
|
padding: 0 7px; |
|
|
text-align: center; |
|
|
font-size: var(--text-xs); |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
} |
|
|
#weight-helper .icon.svg { |
|
|
background-color: initial; |
|
|
width: 13px; |
|
|
} |
|
|
#weight-helper .icon.svg > svg { |
|
|
stroke: var(--block-label-text-color); |
|
|
fill: var(--block-label-text-color); |
|
|
} |
|
|
#weight-helper .icon.mini { |
|
|
padding: 0 4px; |
|
|
} |
|
|
#weight-helper > header .history { |
|
|
display: flex; |
|
|
align-items: center; |
|
|
gap: 10px; |
|
|
} |
|
|
#weight-helper > header .history label { |
|
|
width: 40px; |
|
|
} |
|
|
#weight-helper .metadata { |
|
|
color: var(--block-label-text-color); |
|
|
font-size: 10px; |
|
|
margin: 0 4px 4px; |
|
|
display: flex; |
|
|
column-gap: 4px; |
|
|
justify-content: space-between; |
|
|
user-select: none; |
|
|
align-items: stretch; |
|
|
} |
|
|
#weight-helper .metadata > span { |
|
|
font-weight: bold; |
|
|
border-radius: 4px; |
|
|
border: 1px solid var(--block-info-text-color); |
|
|
text-align: left; |
|
|
flex: 1 1 50%; |
|
|
display: flex; |
|
|
align-items: stretch; |
|
|
} |
|
|
#weight-helper .metadata > span > span:nth-child(1) { |
|
|
color: var(--block-label-text-color); |
|
|
background-color: var(--border-color-primary); |
|
|
border-right: 1.5px solid var(--block-info-text-color); |
|
|
border-radius: 3px 0 0 3px; |
|
|
padding: 0px 6px 0px 5px; |
|
|
} |
|
|
#weight-helper .metadata > span > span:nth-child(2) { |
|
|
margin: 0 4px; |
|
|
white-space: nowrap; |
|
|
} |
|
|
#weight-helper .metadata > span > span:nth-child(2).loading { |
|
|
display: block; |
|
|
width: 100%; |
|
|
text-align: center; |
|
|
margin-left: 0; |
|
|
} |
|
|
#weight-helper .metadata.error > span > span:nth-child(2) { |
|
|
color: var(--error-text-color); |
|
|
} |
|
|
#weight-helper section { |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
gap: 6px; |
|
|
} |
|
|
#weight-helper section > span { |
|
|
width: 108px; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
} |
|
|
#weight-helper button { |
|
|
cursor: pointer; |
|
|
border: var(--button-border-width) solid var(--button-secondary-border-color); |
|
|
background: var(--button-secondary-background-fill); |
|
|
color: var(--button-secondary-text-color); |
|
|
border-radius: 4px; |
|
|
|
|
|
display: inline-flex; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
transition: var(--button-transition); |
|
|
box-shadow: var(--button-shadow); |
|
|
padding: var(--size-0-5) var(--size-2); |
|
|
text-align: center; |
|
|
} |
|
|
#weight-helper button:hover { |
|
|
border-color: var(--button-secondary-border-color-hover); |
|
|
background: var(--button-secondary-background-fill-hover); |
|
|
color: var(--button-secondary-text-color-hover); |
|
|
box-shadow: var(--button-shadow-hover); |
|
|
} |
|
|
#weight-helper button:active { |
|
|
box-shadow: var(--button-shadow-active); |
|
|
} |
|
|
#weight-helper .p { |
|
|
padding: 3px; |
|
|
} |
|
|
#weight-helper .border { |
|
|
border: 1px solid var(--block-border-color) !important; |
|
|
border-radius: 8px !important; |
|
|
} |
|
|
#weight-helper > section, |
|
|
#weight-helper > button { |
|
|
margin: 0 4px 4px; |
|
|
} |
|
|
#weight-helper label { |
|
|
user-select: none; |
|
|
font-family: var(--font); |
|
|
font-size: var(--section-header-text-size); |
|
|
padding: 0 5px 0 5px; |
|
|
} |
|
|
#weight-helper input.slider { |
|
|
width: var(--weight-helper-slider_size); |
|
|
min-width: initial; |
|
|
margin: 0; |
|
|
accent-color: var(--slider-color); |
|
|
} |
|
|
#weight-helper input.value { |
|
|
width: 4.5em; |
|
|
height: 1.4em !important; |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
display: block; |
|
|
position: relative; |
|
|
outline: none!important; |
|
|
box-shadow: var(--input-shadow); |
|
|
border: var(--input-border-width) solid var(--input-border-color); |
|
|
border-radius: var(--input-radius); |
|
|
background: var(--input-background-fill); |
|
|
color: var(--body-text-color); |
|
|
font-size: var(--input-text-size); |
|
|
line-height: var(--line-sm); |
|
|
text-align: center; |
|
|
} |
|
|
#weight-helper select { |
|
|
color: var(--body-text-color); |
|
|
outline: none; |
|
|
padding: calc(var(--input-padding) - 5px); |
|
|
border: var(--input-border-width) solid var(--border-color-primary); |
|
|
border-radius: var(--input-radius); |
|
|
background: var(--input-background-fill); |
|
|
} |
|
|
#weight-helper select:focus { |
|
|
box-shadow: var(--input-shadow-focus); |
|
|
border-color: var(--input-border-color-focus); |
|
|
} |
|
|
#weight-helper label[for] { |
|
|
cursor: pointer; |
|
|
} |
|
|
#weight-helper input[type="radio"] { |
|
|
margin: 3px 0px 3px 4px; |
|
|
} |
|
|
#weight-helper label.radio-label { |
|
|
min-width: 22px; |
|
|
padding-left: 0px; |
|
|
} |
|
|
#weight-helper .preview-pane { |
|
|
position: absolute; |
|
|
overflow: hidden; |
|
|
border-radius: 6px; |
|
|
box-shadow: 0px 0px 7px 0 var(--weight-helper-shadow); |
|
|
} |
|
|
#weight-helper .preview-pane:hover .action-row { |
|
|
visibility: visible; |
|
|
} |
|
|
#weight-helper .preview-pane .action-row { |
|
|
visibility: hidden; |
|
|
display: flex; |
|
|
width: 100%; |
|
|
position: absolute; |
|
|
height: 30px; |
|
|
background-color: rgb(0 0 0 / 40%); |
|
|
} |
|
|
#weight-helper .preview-pane .button-top { |
|
|
top: 0; |
|
|
} |
|
|
#weight-helper .preview-pane .button-bottom { |
|
|
bottom: 0; |
|
|
justify-content: center; |
|
|
} |
|
|
#weight-helper .preview-pane .card-btn { |
|
|
font-size: 1.5rem; |
|
|
cursor: pointer; |
|
|
width: 40px; |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
} |
|
|
#weight-helper .preview-pane .card-btn::before, |
|
|
#weight-helper .preview-pane .card-btn::after { |
|
|
position: absolute; |
|
|
top: 50%; |
|
|
transform: translate(-50%, -50%); |
|
|
} |
|
|
#weight-helper .preview-pane .edit-btn::before, |
|
|
#weight-helper .preview-pane .edit-btn::after { |
|
|
content: "๐ "; |
|
|
} |
|
|
#weight-helper .preview-pane .metadata-btn::before, |
|
|
#weight-helper .preview-pane .metadata-btn::after { |
|
|
content: "๐"; |
|
|
} |
|
|
#weight-helper .preview-pane .civitai-btn::before, |
|
|
#weight-helper .preview-pane .civitai-btn::after { |
|
|
content: "๐"; |
|
|
font-size: calc(75%); |
|
|
} |
|
|
#weight-helper .preview-pane .add-trigger-btn::before, |
|
|
#weight-helper .preview-pane .add-trigger-btn::after { |
|
|
content: "๐ซ"; |
|
|
font-size: calc(75%); |
|
|
} |
|
|
#weight-helper .preview-pane .description-close-btn::before, |
|
|
#weight-helper .preview-pane .description-close-btn::after { |
|
|
content: "โ"; |
|
|
font-size: calc(75%); |
|
|
} |
|
|
#weight-helper .preview-pane .note-btn::before, |
|
|
#weight-helper .preview-pane .note-btn::after { |
|
|
content: "๐น"; |
|
|
} |
|
|
#weight-helper .preview-pane .card-btn::before { |
|
|
text-shadow: 0px 3px 2px #000000B0; |
|
|
} |
|
|
#weight-helper .preview-pane .card-btn::after { |
|
|
color: transparent; |
|
|
text-shadow: 0 0 0 white; |
|
|
} |
|
|
#weight-helper .preview-pane .card-btn:hover::after { |
|
|
text-shadow: 0 0 0 red; |
|
|
} |
|
|
#weight-helper .preview-pane .preview { |
|
|
vertical-align: middle; |
|
|
} |
|
|
#weight-helper .preview-pane .description { |
|
|
visibility: hidden; |
|
|
color: white; |
|
|
font-size: 0.9rem; |
|
|
background-color: rgb(0 0 0 / 70%); |
|
|
position: absolute; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
padding: 5px 5px 35px 5px; |
|
|
margin: 0; |
|
|
box-sizing: border-box; |
|
|
border: none; |
|
|
resize: none; |
|
|
outline: none; |
|
|
-ms-overflow-style: none; |
|
|
scrollbar-width: none; |
|
|
} |
|
|
#weight-helper .preview-pane .description-close-btn { |
|
|
visibility: hidden; |
|
|
position: absolute; |
|
|
bottom: 0; |
|
|
width: 100%; |
|
|
height: 30px; |
|
|
} |
|
|
#weight-helper .f { |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
} |
|
|
#weight-helper .f-c { |
|
|
align-items: center; |
|
|
} |
|
|
#weight-helper .f-end { |
|
|
justify-content: flex-end; |
|
|
} |
|
|
#weight-helper .col { |
|
|
flex-direction: column; |
|
|
} |
|
|
#weight-helper .g-2 { |
|
|
gap: 2px; |
|
|
} |
|
|
#weight-helper .g-4 { |
|
|
gap: 4px; |
|
|
} |
|
|
#weight-helper .w-fill { |
|
|
width: 100%; |
|
|
} |
|
|
|