friendica-addons/smileybutton/view/frio.css
Random Penguin 6d3dd9b8b2 Update smileybutton.php
- Enabling for Quattro. Enabled for Mobile because it may have emoji mobile devices do not have. Switched structure from <table> to <div> to make layout more flexible.
- Switched to DIV layout
- Also fixes button and position appearance.
- Also fixes button alignment and appearance issues
- Adding support for Quattro theme
2026-02-10 21:22:03 -05:00

82 lines
1.5 KiB
CSS

/* fix positioning if more than one jot tool */
.jotplugins > div,
#profile-jot-plugin-wrapper > div {
float: left;
}
.jotplugins::after,
#profile-jot-plugin-wrapper::after {
content: '';
display: block;
clear: both;
}
#profile-smiley-wrapper {
display: block;
}
#smileybutton {
display: none;
position: fixed;
background-color: #FFF;
width: auto;
border-radius: 8px;
padding: 10px;
-webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.jotplugins #smileybutton {
position: absolute;
}
/* image does not work with Frio schemes use icon font */
.smiley_button {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.smiley_button > img {
display: none;
}
.smiley_button::before {
content: '\f055';
font-family: ForkAwesome;
font-size: inherit;
color: inherit;
}
div.smiley-preview img.smiley {
max-height: 25px;
max-width: 25px;
cursor: pointer;
vertical-align: baseline;
}
div.smiley-preview {
border: none;
max-height: 200px;
overflow: auto;
}
div.smiley-preview > span {
cursor: pointer;
font-size: 24px;
padding: 5px;
text-align: center;
width: 45px;
height: 45px;
line-height: 45px;
float: left;
display: block;
}
div.smiley-preview > span:hover,
div.smiley-preview > span:focus {
background-color: rgba(0,0,0,.1);
}
div.smiley-preview::after {
content: '';
display: block;
clear: both;
}
#profile-smiley-wrapper > .btn-link {
position: relative;
display: block;
padding: 10px 15px;
}