/*
*
* @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.
*
*/

.rightside > .scrollable-pane .sub.settings {

    ul {
        li.widget-settings-view {
            @lineHeight: 18px;

            padding-right: 40px;
            min-height: 66px;

            .list-title {
                font-weight: bold;
                word-wrap: break-word;
                max-width: 100%;
            }

            .content {
                line-height: @lineHeight;
                text-align: left;

                .url {
                    a { word-break: break-all; }
                    a, i { color: #888; }
                    a:hover { color: #555; }
                    clear: both;
                    padding-top: 6px;
                    &.empty {
                        padding-top: 0;
                        a { text-decoration: none; }
                    }
                }

                .breadcrumb-view {
                    padding-top: 4px;
                    white-space: pre-wrap;
                }

                .breadcrumb {
                    background-color: transparent;
                    li { line-height: @lineHeight; }
                }

                .fa-spin { margin-left: 0.5em; }
            }

            .widget-controls .remove { height: 45px; }

            &.disabled {
                .list-title {
                    color: #666;
                    font-style: italic;
                    font-weight: normal;
                }
                .url i {
                    color: #ccc;
                    font-style: italic;
                }
            }

            &.broken {
                .widget-controls .action {
                    visibility: hidden;
                }
            }

            .error-wrapper {
                color: #333;
                flex: 100%;
                display: flex;
                align-items: center;
                padding: 10px 0 0 0;

                .error-icon {
                    padding: 3px 13px 3px 0;
                }

                .error-message {
                    margin-right: 2em;
                }
            }

        }
    }

    .breadcrumb {
        padding: 0;
        margin: 0;

        li {
            padding: 0;
            margin: 0;
        }
    }

    .remove-filter { text-decoration: underline; }
}
