Files
yolain-ComfyUI-Easy-Use/web/css/modelinfo.css
T

165 lines
3.0 KiB
CSS

.easyuse-model-info {
color: white;
max-width: 90vw;
font-family: var(--font-family);
}
.easyuse-model-content {
display: flex;
flex-direction: column;
overflow: hidden;
}
.easyuse-model-header{
margin:0 0 15px 0;
}
.easyuse-model-header-remark{
display: flex;
align-items: center;
margin-top:5px;
}
.easyuse-model-info h2 {
text-align: left;
margin:0;
}
.easyuse-model-info h5 {
text-align: left;
margin:0 15px 0 0px;
font-weight: 400;
color:var(--descrip-text);
}
.easyuse-model-info p {
margin: 5px 0;
}
.easyuse-model-info a {
color: var(--theme-color-light);
}
.easyuse-model-info a:hover {
text-decoration: underline;
}
.easyuse-model-tags-list {
display: flex;
flex-wrap: wrap;
list-style: none;
gap: 10px;
max-height: 200px;
overflow: auto;
margin: 10px 0;
padding: 0;
}
.easyuse-model-tag {
background-color: rgb(128, 213, 247);
color: #000;
display: flex;
align-items: center;
gap: 5px;
border-radius: 5px;
padding: 2px 5px;
cursor: pointer;
}
.easyuse-model-tag--selected span::before {
content: "✅";
position: absolute;
background-color: var(--theme-color-light);
left: 0;
top: 0;
right: 0;
bottom: 0;
text-align: center;
}
.easyuse-model-tag:hover {
outline: 2px solid var(--theme-color-light);
}
.easyuse-model-tag p {
margin: 0;
}
.easyuse-model-tag span {
text-align: center;
border-radius: 5px;
background-color: var(--theme-color-light);
padding: 2px;
position: relative;
min-width: 20px;
overflow: hidden;
}
.easyuse-model-metadata .comfy-modal-content {
max-width: 100%;
}
.easyuse-model-metadata label {
margin-right: 1ch;
color: #ccc;
}
.easyuse-model-metadata span {
color: var(--theme-color-light);
}
.easyuse-preview {
max-width:660px;
margin-right: 15px;
position: relative;
}
.easyuse-preview-group{
position: relative;
overflow: hidden;
border-radius:.5rem;
width: 660px;
}
.easyuse-preview-list{
display: flex;
flex-wrap: nowrap;
width: 100%;
transition: all .5s ease-in-out;
}
.easyuse-preview-list.no-transition{
transition: none;
}
.easyuse-preview-slide{
display: flex;
flex-basis: 50%;
flex-grow: 0;
flex-shrink: 0;
position: relative;
justify-content: center;
align-items: center;
}
.easyuse-preview-slide img {
border-radius: 14px;
object-position: center center;
max-width: 100%;
max-height:700px;
border-style: none;
vertical-align: middle;
}
.easyuse-preview button {
position: absolute;
z-index:10;
top: 50%;
display: flex;
align-items: center;
justify-content: center;
width:30px;
height:30px;
border-radius:15px;
border:1px solid rgba(66, 63, 78, .3);
background-color: rgba(66, 63, 78, .5);
color:hsla(0, 0%, 100%, .8);
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(.4,0,.2,1);
transition-duration: .15s;
transform: translateY(-50%);
}
.easyuse-preview button.left{
left:10px;
}
.easyuse-preview button.right{
right:10px;
}
.easyuse-model-notes {
background-color: rgba(0, 0, 0, 0.25);
padding: 5px;
margin-top: 5px;
}
.easyuse-model-notes:empty {
display: none;
}