Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/zone_editor/index.less

@import (reference) "css/base.less";
@import "css/ux-styles.less";
@import "shared/css/zone_editor.less";

/* WHAT WILL FOLLOW IS NOT A RECOMMENDED
IMPLEMENTATION, BUT INTENDS TO TEMPORARILY
BRING CONSISTENCY TO THIS APP UNTIL WHM APPS
PROPERLY BRING IN ALL STYLES */

#actionButtonDropdown {
    margin-right: 10px;
}

#emailRoutingConfigLinkMobile {
    padding: 0;
}

.txtSeparator {
    margin: 10px 0;
}

#buttonDropdownMobile {
    margin-top: 10px;
}

.btn-default {
    color: #333;
    text-align: center;
    background: #eee;
    cursor: pointer;
    border: 1px solid #ccc;
}

.btn-outline() {
    background: transparent;
    box-shadow: none;
    border-radius: 2px;
    margin: 2px 5px 2px 5px;
}

.btn-outline-primary {
    .btn-outline;
    border: 1px solid #428bca;
    color: #428bca;
}

.btn-outline-danger {
    .btn-outline;
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover,
.btn-outline-danger:active,
.btn-outline-danger:focus {
    border: 1px solid #d03f00;
    color: #fff;
    background-color: #d03f00;
    box-shadow: none;
}

.btn-outline-danger[disabled],
.btn-outline-danger[disabled]:focus,
.btn-outline-danger[disabled]:active,
.btn-outline-danger[disabled]:hover {
    .btn-outline-danger;
    pointer-events: inherit;
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    border: 1px solid #2a6496;
    color: #ffffff;
    background-color: #2a6496;
    box-shadow: none;
}

.btn-outline-primary[disabled],
.btn-outline-primary[disabled]:focus,
.btn-outline-primary[disabled]:active,
.btn-outline-primary[disabled]:hover {
    pointer-events: inherit;
    box-shadow: none;
    border-color: #ddd;
    background-color: #fff;
    color: #999;
}

/* END OF SECTION */

.view-title {
    margin-top: 0;
}

.modal-header {
    background-color: #333333;
    color: #ffffff;
    font-weight: 400;
    padding: 10px;
    text-overflow: ellipsis;
}
.modal-header h4 {
    margin: 0;
    padding: 0;
}
.modal-footer {
    padding: 10px;
}

html[dir="rtl"] .modal-footer {
    text-align: left;
}

html[dir="rtl"] .txt-editor-label {
    margin-left: 5px;
}

.inset-radio-label {
    margin-bottom: 0;
}

.inset-radio-group,
.non-inset-radio-group {
    font-weight: normal;
    margin-bottom: 10px;
}

.non-inset-radio-group {
    position: relative;
    top: 2px;
}

html[dir="rtl"] .inset-radio-group {
    margin-right: 12px;
}

html[dir="ltr"] .inset-radio-group {
    margin-left: 12px;
}

html[dir="ltr"] .txt-editor-label {
    margin-right: 5px;
}

.dmarc_optional_params_show {
    padding-left: 0;
    padding-right: 0;
}

.dmarc_custom_editor .tab-content .form-group {
    margin-bottom: 5px;
}

.dmarc_custom_editor .form-inline {
    margin-bottom: 5px;
}

.recordInlineEditor .tab-content {
    background-color: white;
    border-bottom: 1px solid silver;
    border-right: 1px solid silver;
    border-left: 1px solid silver;
    padding: 8px;
}

.modal-dialog {
    margin-top: 70px;
    max-width: 500px;
}
.modal-body {
    padding: 10px;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word;
}

.last-paragraph {
    margin-top: 25px;
    margin-bottom: 0;
}

.record-property-label {
    font-weight: 600;
}

.potentially-really-long-text {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
}

.zone-record-col {
    max-width: 400px;
}

.table-striped > tbody > tr.inline-form td {
    vertical-align: top;
}

html[dir="rtl"] .table-striped > tbody > tr.inline-form td {
    padding-right: 5px;
}

html[dir="ltr"] .table-striped > tbody > tr.inline-form td {
    padding-left: 5px;
}

div.form-group.last {
    margin-bottom: 0;
}

html[dir="ltr"] #actionsHeader {
    padding-left: 22px;
}

html[dir="rtl"] #actionsHeader {
    padding-right: 22px;
}

th#nameHeader,
th#nameInlineEditor {
    width: 350px;
}

th#ttlHeader,
td#ttlInlineEditor {
    width: 130px;
}

th#recordHeader,
td#recordInlineEditor {
    width: 400px;
}

.class-display {
    position: relative;
    top: 7px;
}

html[dir="rtl"] #classDisplayField > .class-display {
    right: 3px;
}

html[dir="ltr"] #classDisplayField > .class-display {
    left: 3px;
}

.record_elements {
    display: table;
    width: 100%;
}

.record_element {
    display: table-row;
}

.record_subelement {
    display: table-cell;
}

div.block-view,
div.block-view > div.record_subelement {
    display: block;
}

div.block-view > div.subelement_label {
    width: auto;
}

div.record_subelement.subelement_label {
    width: 125px;
    vertical-align: middle;
    margin-bottom: 0;
}

div.record_subelement.subelement_label label {
    margin-bottom: 0;
}

div.record_subelement.subelement_input {
    width: 325px;
}

.record_txt_data {
    width: 100%;
    height: 100%;
}

.mfei-content {
    width: 100%;
}

li.disabled a {
    color: #aaaaaa;
}

html[dir="ltr"] .record_manipulation_buttons {
    padding-left: 22px;
}

html[dir="rtl"] .record_manipulation_buttons {
    padding-right: 22px;
}

html[dir="ltr"] .add-record-btn span.fas.fa-plus {
    padding-right: 5px;
}

html[dir="rtl"] .add-record-btn span.fas.fa-plus {
    padding-left: 5px;
}

html[dir="rtl"] .text-right.flip {
    text-align: left;
}

html[dir="rtl"] .text-left.flip {
    text-align: right;
}

html[dir="rtl"] .pull-right {
    float: left !important;
}

.btn-margin {
    margin-bottom: 20px;
}

.validation-row {
    min-height: 21px;
}

.table-form-label {
    display: none;
}

@media only screen and (max-width: 768px) {
    .zone-record-col {
        max-width: 100%;
    }

    .table-form-label {
        display: inline-block;
    }

    .class-display {
        display: block;
    }

    .record_elements {
        display: block;
    }

    .record_element {
        display: block;
    }

    .inner_record {
        padding-top: 8px;
    }

    .first_inner_record {
        padding-top: 0;
    }

    .record_subelement,
    div.block-view,
    div.block-view > div.record_subelement {
        display: block;
    }

    div.record_subelement.subelement_label {
        width: 100%;
        vertical-align: middle;
        margin-bottom: 0;
    }

    div.record_subelement.subelement_label label {
        margin-bottom: 5px;
    }

    div.record_subelement.subelement_input {
        width: 100%;
    }

    th#nameInlineEditor {
        width: 100%;
    }

    td#ttlInlineEditor {
        width: 100%;
    }

    td#recordInlineEditor {
        width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    .table > tbody > tr.info > td {
        box-shadow: inset 2px 0 #2980b9;
    }

    html[dir="rtl"] .table > tbody > tr.info > td {
        box-shadow: inset -2px 0 #2980b9;
    }

    .responsive-table > tbody > tr > td {
        border-bottom: 0;
    }
}

.btn-group.dropdown {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),
        0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.loading-error-pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ------------------------------------------------------------------------------ */
/* DNSSEC view styles
/* ------------------------------------------------------------------------------ */
.digest-list-item {
    border-top: 1px solid #eee;
    padding-top: 10px;
    padding-bottom: 10px;
}

.action-column {
    text-align: right;
}

html[dir="rtl"] .action-column {
    text-align: left;
}

.dnssec-table-cell-warning-icon {
    padding-left: 4px;
    padding-right: 4px;
}

@media only screen and (max-width: 600px) {
    /* Re-apply the default table styles for the non-dnssec views */
    .domain-selection-view,
    .manage-view {
        .responsive-table > thead > tr {
            display: none;
        }

        .responsive-table > tbody > tr {
            border-bottom: 1px solid #cccccc;
            border-top: 1px solid #cccccc;
        }

        .responsive-table > thead > tr {
            position: static;
        }

        .responsive-table > tbody > tr > td:before {
            padding-bottom: 5px;
        }

        .responsive-table tr {
            display: block;
        }

        .responsive-table .data-row td:nth-child(2) {
            flex: unset;
        }

        .responsive-table td:first-child {
            flex: unset;
        }
    }
}
Back to Directory File Manager