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

/*
# templates/mod_security/index.css                Copyright(c) 2020 cPanel, L.L.C.
#                                                           All rights reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
*/

#content {
    min-width: 272px;
}

.table th {
    white-space: nowrap;
}

.filter-controls,
.form-group .navigation-controls,
.row .form-inline .form-group {
    margin: 20px 0;
    vertical-align: top;
}

.advanced-filter-menu {
    right: 0;
    left: auto;

    li {
        padding-left: 15px;
        padding-right: 15px;
    }

    li:last-child {
        padding-bottom: 15px;
        padding-top: 15px;
    }
}

.list-header .form-group {
    margin-bottom: 0;
}

.list-header + .callout {
    margin-top: 0;
}

ul + .callout {
    margin-bottom: 0;
}

/* overide ng-valid styling on the search filter */
#hitListFilter {
    border-color: #cccccc;
}

#hitListFilter:focus {
    border-color: #66afe9;
}

/* overide IE10 clear button */
::-ms-clear {
    display: none;
}

.headerSpinner {
    position: absolute;
    left: -5px;
    top: 23px;
}

.addSpinner {
    position: absolute;
}

.rule-content {
    font-size: 13px;
    margin: 5px 0;
}

/* delete confirmation dialog styles */
.confirm-dialog {
    margin: 15px 0;
    min-height: 85px;
}

.confirm-message {
    margin-bottom: 15px;
}

.rules-list .row:first-child {
    min-height: 0;
}

.navigation-controls {
    margin: 15px 0;
    @media (min-width: 768px) {
        margin-bottom: 0;
    }
}

.rule-actions button,
.navigation-controls button {
    margin: 0 0 5px 0;
}

textarea.rule-editor {
    height: 400px;
    overflow: auto;
}

.container .container {
    margin-top: 5px;
    margin-bottom: 5px;
}

.list-indent {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 5px;
}

.controls {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.nowrap {
    white-space: nowrap;
}

button[disabled].btn {
    pointer-events: auto;
}

.btn-group-nowrap {
    cursor: not-allowed;
}

.btn-group-nowrap,
.btn-group-nowrap .btn {
    white-space: nowrap;
    float: none;
}

.btn-group-nowrap .btn + .btn,
.btn-group-nowrap .btn + .btn-group,
.btn-group-nowrap .btn-group + .btn,
.btn-group-nowrap .btn-group + .btn-group {
    margin-left: -5px;
}

.page-size-control {
    width: auto;
}

.page-size-control,
.page-size-container {
    display: inline-block;
}

.button-group {
    display: inline-block;
}

#ddlVendorSelect {
    width: auto;
    min-width: 100%;
}

.list-table-header {
    line-height: 3em;
    vertical-align: middle;
}

@media (min-width: 992px) {
    /* Pushes the vendor count to the right and helps it align with the other main buttons in md+ */
    .list-table-header,
    .rule-included {
        padding-right: 0;
    }
}

@media (max-width: 500px) {
    .select-sort-label {
        display: none;
    }
}

@media (max-width: 767px) {
    .list-table > .list-table-header {
        padding: 5px 0;
    }

    .list-table-header > span {
        padding: 0;
    }

    .table > thead > tr > th {
        padding: 5px 0;
    }
}

.popover {
    text-align: center;
}

/* Line up the sort arrow for the select sort */
.cp-select-sort > .form-control {
    width: 12em;
    display: inline;
    vertical-align: middle;
    font-weight: normal;
}

/* Styling the hit list "more" table */
.hit-request-table {
    display: table;
    > div {
        display: table-row;

        > div {
            display: table-cell;
        }
    }

    label {
        padding-right: 1em;
    }
}

/* RTL */
html[dir="html"] {
    .hit-request-table label {
        padding-left: 1em;
    }
}

/* Report Rule page styles */
.report-rule-body {
    margin-top: 2em;
}

.tab-content {
    .tab-pane {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 0 0 4px 4px;
        border-top: none;
        padding: 10px 15px;
    }

    .tab-pane-header {
        display: block;
        border-bottom: 1px solid #ddd;
        padding-bottom: 0.5em;
        margin-bottom: 0.5em;
    }
}

#report-rule-form-data {
    margin: 2em 0 1em 0;
}

/* Styles for the report form */
.table > tbody > tr > td.include-exclude-col {
    vertical-align: top;
}

.collapsed-hit-data {
    span {
        margin-right: 1em;
    }
    span:last-child {
        margin-right: inherit;
    }
}

.expanded-hit-data {
    margin-bottom: 5px;
}

.nav-tabs li {
    cursor: pointer;
}

.button-loading.inline-loading {
    margin-right: 1em;
}

.caret.caret-up {
    border-top: 0;
    border-bottom: 4px solid;
}

.rule-text-toggle {
    .panel {
        border-radius: 0 4px 4px 4px;
        margin-bottom: inherit;
        display: inline-block;
    }

    button + button + button {
        border-bottom: 0;
        border-radius: 4px 4px 0 0;
    }
}
Back to Directory File Manager