canopy/www/css/panel/emote.css

87 lines
1.3 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;
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;
}
i.emote-list-trash-icon{
flex: 1;
text-align: center;
margin: auto;
}