90 lines
1.5 KiB
CSS
90 lines
1.5 KiB
CSS
.title-span{
|
|
display: flex;
|
|
flex-direction: row;
|
|
text-wrap: nowrap;
|
|
user-select: none;
|
|
}
|
|
|
|
.title-filler-span{
|
|
flex: 1;
|
|
height: 1px;
|
|
margin: auto 0.5em;
|
|
}
|
|
|
|
.emote-panel-list{
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(9em, 1fr));
|
|
flex-direction: column;
|
|
padding: 1em;
|
|
justify-items: center;
|
|
}
|
|
|
|
|
|
div.emote-panel-list-emote{
|
|
position: relative;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
span.emote-panel-list-emote{
|
|
width: 9em;
|
|
/*It wanted to be a cunt about the padding, and I didn't want to fight it... Theres probably a better way.*/
|
|
height: calc(100% - 1em);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0.5em 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
span.emote-panel-list-big-emote{
|
|
width: 100%;
|
|
margin: 0.5em auto;
|
|
}
|
|
|
|
p.emote-list-title{
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.emote-list-media{
|
|
max-height: 8em;
|
|
max-width: 8em;
|
|
margin: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.emote-list-big-media{
|
|
max-height: 30VH;
|
|
max-width: 100%;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
div.panel-control-prompt{
|
|
margin: 0.5em;
|
|
flex: 1;
|
|
}
|
|
|
|
#emote-panel-personal-prompts{
|
|
display: flex;
|
|
}
|
|
|
|
#new-emote-button{
|
|
margin-left: 0.3em;
|
|
}
|
|
|
|
span.emote-list-trash-icon{
|
|
position: absolute;
|
|
display: flex;
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
border-radius: 1em;
|
|
top: -0.5em;
|
|
right: -0.5em;
|
|
z-index: 1;
|
|
}
|
|
|
|
i.emote-list-trash-icon{
|
|
flex: 1;
|
|
text-align: center;
|
|
margin: auto;
|
|
} |