/*
*
* @copyright Copyright (c) Open-Xchange GmbH, Germany <info@open-xchange.com>
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.

* You should have received a copy of the GNU Affero General Public License
* along with OX App Suite. If not, see <https://www.gnu.org/licenses/agpl-3.0.txt>.
*
* Any use of the work other than as authorized under this license or copyright law is prohibited.
*
*/

.io-ox-portal .mailwidget {
    li {
        .new-item {
            left: 1px;
            top: 3px;
            margin-right: 8px;
        }
        .from {
            min-width: 0;
            flex: 1;
            .person  {
                // portal special: always bold - not only for unread or macos/ios
                font-weight: bold;
                padding-right: 8px;
                // fix some descender issues in firefox
                padding-bottom: 2px;
                .ellipsis();
            }
        }

        // fix some descender issues in firefox
        margin-bottom: ~"calc(1rem - 2px)";
        .subject {
            padding-bottom: 2px;
        }
        .row2 {
            margin-top: -2px;
        }

        .row1, .row2 {
            display: flex;
        }
    }
}
