viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Last commit for src/css/messages.css: 2addb500315b7393a90fe66431d7832b1e7386c7

Adjust copyrights years

Chris Pollett [2024-01-03 21:Jan:rd]
Adjust copyrights years
/**
 * SeekQuarry/Yioop --
 * Open Source Pure PHP Search Engine, Crawler, and Indexer
 *
 * Copyright (C) 2009 - 2023  Chris Pollett chris@pollett.org
 *
 * LICENSE:
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * END LICENSE
 *
 * @author Chris Pollett
 * @license https://www.gnu.org/licenses/ GPL3
 * @link https://www.seekquarry.com/
 * @copyright 2009 - 2023
 * @filesource
 */
/*
    messages.css
    Stylesheet for User messages
 */
.mobile .inner-bar h1 span
{
    top: -15px;
}
.mobile .sub-top-container
{
    margin-top: .5in;
}
.messages-container
{
    border: 1px solid #CDE;
    display: flex;
    height: 7in;
    margin-top: .65in;
    width: 100%;
}
.mobile .messages-container
{
    height: 5in;
    margin-top: .635in;
}
.contacts-arrow
{
    color: gray;
    font-size: 20pt;
    padding: 10px;
    text-decoration: none;
}
.user-contacts
{
    overflow-y: scroll;
    width: 25%;
}
.mobile .user-contacts
{
    width: 100%;
}
.contact-detail
{
    border: 1px solid #CDE;
    width: 100%;
}
.selected-contact
{
    background: #F5F5DC;
}
.contact-detail-inner
{
    padding: 10px;
    position: relative;
}
.contact-detail a,
.contact-detail span
{
    color: black;
    font-size: 16pt;
    position: absolute;
    text-decoration: none;
    top: 17px;
}
.contact-detail-request
{
    margin-left:5px;
    margin-right:5px;
    position:relative;
    top:-45px;
}
.html-ltr .contact-detail a,
.html-ltr .contact-detail span
{
    left: 60px;
}
.html-rtl .contact-detail a,
.html-rtl .contact-detail span
{
    right: 60px;
}
.contact-detail a:hover
{
    text-decoration: underline;
}
.contact-detail:hover
{
    background: #E9F5DC;
}
.contact-actions button
{
    display: none;
}
.contact-actions input
{
    border-radius: 5px;
    font-size: 24pt;
    font-weight: bold;
    margin: 4px;
}
.contact-actions:focus-within button
{
    background-color: #F0F0F6;
    border:1px solid gray;
    border-radius:5px;
    color:black;
    display:inline;
    font-size:11pt;
    font-weight:bold;
    height: 16pt;
    margin-bottom:4px;
}
.mobile .contact-actions:focus-within button
{
    font-size: 14pt;
    height:unset;
    z-index: 1000;
}
.split-adjuster
{
    background-color: #CDE;
    cursor: ew-resize;
    height: 100%;
    width: 2px;
}
.contact-messages
{
    flex: 1;
}
.selected-conversation-header
{
    background-color: #FED;
    height: 50px;
    width: 100%;
}
.selected-conversation-header h2
{
    margin: auto;
    position: relative;
    top:5px;
    width: fit-content;
}
.selected-conversation-header h2 span
{
    margin: auto;
    position: relative;
    top:-10px;
    width: fit-content;
}
.conversation
{
    display: flex;
    flex-direction: column-reverse;
    height: calc(100% - 110px);
    overflow-y: scroll;
}
.message-detail-outer
{
    display: inline-block;
    max-width: 50%;
    overflow-wrap: anywhere;
    text-align: justify;
}
.message-detail-outer img
{
    max-width: 100%;
}
.mobile .message-detail-outer
{
    display: inline-block;
    max-width: 90%;
    overflow-wrap: anywhere;
    text-align: justify;
}
.message-icon
{
    border: 2px solid lightblue;
    border-radius: 17px;
    width:35px;
}
.message-other-time,
.message-user-time
{
    color: #BBB;
    font-size: 10pt;
}
.html-ltr .message-user-time
{
    margin-right:0.5in;
}
.html-rtl .message-user-time
{
    margin-left:0.5in;
}
.html-rtl .message-other-time
{
    margin-right:0.08in;
}
.html-ltr .message-other-time
{
    margin-left:0.08in;
}
.message-detail
{
    padding: 7px;
    margin: 5px .5in 5px .5in;
    width: fit-content;
}
.html-ltr .message-detail
{
    border-radius: 7px 7px 0px 7px;
}
.html-rtl .message-detail
{
    border-radius: 7px 7px 7px 0px;
}
.html-ltr .top-corner
{
    border-radius: 0 7px 7px 7px;
}
.html-rtl .top-corner
{
    border-radius: 7px 0px 7px 7px;
}
.user-messages-warning
{
    background-color: #FED;
    border-color: #FEB;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #860;
    margin: auto;
    padding: 10px;
    position: relative;
    top: 40%;
    text-align: center;
    width: fit-content;
}
.new-message-container
{
    left: 0;
    margin:auto;
    position: relative;
    text-align: center;
}
#new-message
{
    border: none;
    font-size: 18pt;
    height:40px;
    width: 95%;
    resize: none;
    outline: none;
    background-color: transparent;
    display: inline-block;
}
.mobile #new-message
{
    border: none;
    font-size: 18pt;
    height:40px;
    resize: none;
    outline: none;
    background-color: transparent;
    display: flex;
    flex-shrink: inherit;
}
#attach-new-file,
#send-message
{
    background-color: #EEF;
    border-radius: 20px;
    border: solid 1px gray;
    color: #000;
    cursor: pointer;
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    padding: 12px;
    text-align: center;
    text-decoration: none;
}
#attach-new-file
{
    font-size: 18px;
    padding-bottom: 8px;
}
#contact-filter
{
    width: 1.9in;
}
.mobile #contact-filter
{
    width: 340px;
}
#user-input-container
{
    padding-bottom: 8px;
    border-radius: 20px;
    border: solid 1px gray;
    color: #000;
    display: inline-flex;
    height:40px;
    resize: none;
    width: 50%;
    text-align: start;
    vertical-align: center;
}
#emoji-picker-button
{
    height:40px;
    border: none;
    font-size: 22px;
    background-color: transparent;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    margin-left: 2px;
}
.emoji-picker-container
{
    display: none;
    border: solid 1px gray;
    border-radius: 5px;
    width: 400px;
    position: absolute;
    bottom: 105%;
    height: 350px;
    background-color: white;
    z-index: 1;
}
.mobile .emoji-picker-container
{
    display: none;
    border: solid 1px gray;
    border-radius: 5px;
    width: 250px;
    position: absolute;
    bottom: 105%;
    height: 300px;
    background-color: white;
    z-index: 1;
}
.emoji
{
    border: none;
    display: inline-block;
    font-size: 22px;
    cursor: pointer;
    font-size: 35px;
    padding: 2px;
    margin: 2px;
}
.emoji-group-navigator
{
    position: absolute;
    bottom: 0;
    height: 15%;
    border-top: 1px solid grey;
    text-align: center;
    z-index: 2;
    width: 100%;
}
.emoji-group-container
{
    display: none;
    text-align: left;
    height: 85%;
    position: absolute;
    width: 100%;
}
.emoji-container
{
    width: 100%;
    height: 90%;
    overflow-y: scroll;
    position: relative;
    padding: 10px;
}
#emoji-group-name
{
    font-size: 10px;
    text-transform: uppercase;
    color: gray;
    margin: 5px;
}
.active-emoji-group
{
    display: flex;
    flex-direction: column;
}
.emoji-group-tab
{
    margin: 5px;
    font-size: 22px;
    cursor: pointer;
    display: inline-block;
    padding: 5px;
}
.mobile .emoji-group-tab
{
    margin: 2% 0 0 0;
    font-size: 100%;
    display: inline-block;
    padding: 2%;
}
.active-emoji-group-tab
{
    background-color: gainsboro;
    border: 1px solid grey;
    border-radius: 10%;
}
ViewGit