Your IP : 104.23.197.205


Current Path : /var/www/html/Joomla/media/dbreplacer/less/
Upload File :
Current File : /var/www/html/Joomla/media/dbreplacer/less/style.less

/**
 * @package         DB Replacer
 * @version         7.5.1
 * 
 * @author          Peter van Westen <info@regularlabs.com>
 * @link            http://regularlabs.com
 * @copyright       Copyright © 2023 Regular Labs All Rights Reserved
 * @license         http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */
@import "../../regularlabs/less/init.less";

div.dbr {
    select,
    textarea {
        width:  100%;
        height: 70px;
    }

    textarea {
        width: 98%;
    }

    h4 {
        margin-top: 0;
    }

    div.columns {
        min-height: 280px;

        select {
            height: 220px;
        }
    }

    .pro {
        textarea {
            height: 40px;
        }

        div.columns {
            min-height: 360px;

            select {
                height: 300px;
            }
        }
    }

    td.db_value {
        vertical-align: top;
        font-family:    monospace;
        font-size:      12px;
    }

    table#dbr_results {
        th.ghosted,
        td.ghosted {
            color: #aaaaaa;
        }

        &.hide-inactive {
            th.ghosted,
            td.ghosted {
                display: none;
            }

            th.is_id,
            td.is_id {
                display: table-cell;
            }
        }

        td.has_search {
            background-color: @warningBackground !important;
        }

        td > div.cell_content {
            position: relative;
        }

        .search_string,
        .replace_string {
            margin:  0 1px;
            padding: 0 1px;
        }

        .search_string {
            background-color: @errorBackground;
            border:           1px solid @errorBorder;
            color:            @errorText;
            text-decoration:  line-through;
        }

        .replace_string {
            background-color: @successBackground;
            border:           1px solid @successBorder;
            color:            @successText;
        }

        .trimmed {
            display: none;
            color:   @infoText;
        }

        .toggle-trimmed {
            margin:           0 2px;
            padding:          0 2px;
            cursor:           pointer;
            background-color: @infoBackground;
            border:           1px solid @infoBorder;
            color:            @infoText;

            &:before {
                content: '\2026';
            }
        }

        .toggle-trimmed.hide-trimmed {
            display:  block;
            position: absolute;
            left:     -17px;

            &:before {
                content: '✕';
            }
        }

        .null {
            font-style: italic;
            color:      lighten(@errorText, 20%);
        }

        .replace_string {
            .null {
                color: lighten(@successText, 20%);
            }
        }

        .no-strikethrough {
            text-decoration: none;
        }
    }
}

.icon-48-dbreplacer {
    background:   transparent url(../images/dbreplacer.png) no-repeat 10px 9px !important;
    padding-left: 183px !important; /* width + 20 */
}

/* AP template */
#ap-wrapper .icon-48-dbreplacer {
    background:   transparent url(../images/dbreplacer.png) no-repeat 10px 13px !important;
    padding-left: 183px; /* width + 20 */
    font-size:    22px;
    color:        #000000;
}

/* APLite template */
.ap-main .icon-48-dbreplacer {
    background:    #ffffff url(../images/dbreplacer.png) no-repeat -27px -7px !important;
    padding-left:  143px !important; /* width - 20 */
    padding-right: 5px !important;
    color:         #000000 !important;
}