Viewing File: /usr/local/cpanel/whostmgr/docroot/master.less

/**
# cpanel - whostmgr/docroot/master.less            Copyright 2022 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
*/
@import "legacy_and_modern.less";

/* Begin Master CSS */
body {
    font: 14px "Open Sans", Arial, sans-serif;
    line-height: 20px;
    *font-size: small; /* for IE */
    *font: x-small; /* for IE in quirks mode */
    background-color: #fff;
    margin: 0;
    padding: 0;
    color: #333333;
}
.errors {
    color: #ff0000;
    font-weight: bold;
    font-style: italic;
    font-size: 13px;
}
h1 {
    font-size: 21px;
    font-weight: bold;
    color: #333333;
}
h2 {
    font-size: 19px;
    color: #333333;
    font-variant: small-caps;
    border: none;
}
h2 a .little {
    font-size: 10px;
}

/* Table Styles */
table {
    font-size: inherit;
    font: 100%;
}

h1 > img {
    vertical-align: middle;
}

.sortable,
.datatable {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-collapse: collapse;
    padding: 5px 0;
}
.sortable caption,
.datatable caption {
    color: #000;
}

.sortable th,
.sortable .hdr,
.datatable th,
.datatable .hdr {
    background-color: #e5e5e5;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 30px;
}
.sortable th a,
.datatable th a {
    color: #000;
    padding: 4px;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}
.sortable a:active,
.sortable th a:hover,
.datatable a:active,
.datatable th a:hover {
    color: #000;
    text-decoration: underline;
}
.sortable th a:visited,
.datatable th a:visited {
    color: #000;
    text-decoration: none;
}
.sortable a.sortheader,
.datatable a.sortheader {
    text-decoration: none;
    display: block;
}
table.sortable span.sortarrow,
table.datatable span.sortarrow {
    color: black;
    text-decoration: none;
}
table.sortable th .cell,
table.datatable th .cell {
    border-bottom: 1px solid #666;
    border-top: 1px solid #666;
}
.sortable tr,
.datatable tr {
    padding: 0;
}
.sortable td,
.datatable td {
    padding: 4px;
    border-right: 1px solid #ccc;
}
.sortable .cell-inner,
.datatable .cell-inner {
    border-right: 1px solid #666;
    padding: 3px;
}
.sortable .cell-inner-end,
.datatable .cell-inner-end {
    border-right: none;
    padding: 3px;
}
.sortable a,
.datatable a {
    color: #0088cc;
    text-decoration: none;
}
.sortable .cell,
.datatable .cell {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 4px;
}
.sortable .cell-end,
.datatable .cell-end {
    border-bottom: 1px solid #ccc;
}
.sortable .row-odd,
.datatable .row-odd {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 2px;
    background-color: #f3f3f3;
}
.sortable .row-even,
.datatable .row-even {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 2px;
    background-color: #fff;
}
.sortable .nobrd,
.datatable .nobrd {
    border-right: none;
}
.tdshade2 {
    padding: 5px 0 5px 0;
    background-color: #f3f3f3;
}
.layouttbl {
    margin-top: 12px;
}
.layouttbl th {
    background-color: #ffff;
}

/*End of table styles*/
.scellheader,
.scellheader a {
    font-weight: bold;
    font-color: #000000;
    color: #000000;
}
.sscellheader {
    font-weight: normal;
    font-color: #000000;
    color: #000000;
}
pre,
code,
kbd,
samp,
tt {
    font-family: monospace;
    *font-size: 108%;
    line-height: 100%;
}
.confeditbox {
    font: 12px "Andale Mono", "Courier New", Courier, monospace;
    border: 1px #000 dotted;
    display: block;
}
.redstatus {
    color: #ff0000;
}
.details,
.details-noscript,
.details_75,
.details_150,
.details_block {
    background-color: #ccc;
    padding: 8px;
    border: 1px #aaa solid;
    overflow: auto;
    display: none;
    font-weight: normal;
    width: 500px;
    margin: 0 auto;
}
.details-noscript {
    display: block;
    overflow: scroll;
}
.details_block {
    display: block;
}
.details_75 {
    height: 75px;
    overflow: scroll;
}
.details_150 {
    height: 150px;
    overflow: scroll;
}
.status {
    color: #68818f;
    font-weight: 700;
}
.description {
    margin: 3px 20px 8px 0;
}

.btn-primary,
.btn-secondary,
.btn-default {
    min-width: 110px;
    display: inline-block;
    padding: 6px 12px;
    font-weight: normal;
    font-size: 14px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 4px;
    text-decoration: none;
}

.btn-primary,
.btn-default {
    background-color: #428bca;
    border-color: #357ebd;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #ffffff;
    border-color: #666666;
    color: #333333;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    cursor: pointer;
    background-color: #3276b1;
    border-color: #285e8e;
    color: #ffffff !important;
    text-decoration: none;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    cursor: pointer;
    background-color: #ebebeb;
    border-color: #666666;
    color: #333333;
}

.btn-primary.disabled,
.btn-primary.disabled:focus,
.btn-primary.disabled:active,
.btn-primary.disabled:hover,
button[disabled].btn-primary,
input[type="submit"][disabled].btn-primary,
input[type="button"][disabled].btn-primary,
input[type="reset"][disabled].btn-primary,
.btn-default.disabled,
.btn-default.disabled:focus,
.btn-default.disabled:active,
.btn-default.disabled:hover,
button[disabled].btn-primary,
input[type="submit"][disabled].btn-default,
input[type="button"][disabled].btn-default,
input[type="reset"][disabled].btn-default {
    cursor: not-allowed;
    filter: alpha(opacity=50);
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    background-color: #428bca;
    border-color: #357ebd;
}

.btn-secondary.disabled,
.btn-secondary.disabled:focus,
.btn-secondary.disabled:active,
.btn-secondary.disabled:hover,
button[disabled].btn-secondary,
input[type="submit"][disabled].btn-secondary,
input[type="button"][disabled].btn-secondary,
input[type="reset"][disabled].btn-secondary {
    cursor: not-allowed;
    filter: alpha(opacity=50);
    -webkit-opacity: 0.5;
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

.btn-cancel {
    font-size: 13px;
    text-align: center;
    display: inline-block;
    padding: 4px;
    margin: 4px;
    color: #0088cc;
    cursor: default;
    text-decoration: none;
    border: none;
}

.btn-cancel:hover,
.btn-cancel:focus,
.btn-cancel:active {
    color: #0088cc;
    cursor: default;
    text-decoration: underline;
}

.boldit {
    font-weight: 900;
}
ul.icons li {
    float: left;
    list-style: none;
    margin: 5px;
    padding: 3px;
    border: 0px solid #000;
    text-align: center;
    width: 100px;
    height: 100px;
}

/* TopFrame CSS */

.container:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.container {
    display: block;
    overflow: hidden;
}

#branding {
    background-color: #4c4c4c;
    height: 40px;
    padding-top: 10px;
    padding-bottom: 5px;
}

#logo {
    float: left;
    width: 180px;
}

#logo h1 {
    margin: 0;
    padding: 0;
}

#version {
    float: right;
    padding: 5px 10px 0 0;
    text-align: right;
    width: 385px;
}

#version p {
    margin: 0;
    padding: 0;
}

#version,
#version a {
    color: #ccc;
    text-decoration: none;
}

#whm_nav {
    background: #003c49;
    height: 30px;
}

#whm_nav ul,
#whm_nav ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#whm_nav ul li,
#whm_nav ul li a {
    float: left;
}

#whm_nav ul li a {
    color: #ccc;
    padding: 8px 10px 8px 15px;
}

#pageheader {
    padding-bottom: 10px;
}
.page-content {
    margin: 10px 20px;
}

#breadcrumbs p {
    background-color: #eaeaea;
    border-bottom-style: solid;
    border-bottom-color: #cecece;
    border-width: 1px;
    margin: 0;
    padding: 7px 12px;
}

#breadcrumbs p,
#breadcrumbs p a {
    color: #4c4c4c;
    text-decoration: none;
}

#breadcrumbs p a.active {
    font-weight: 700;
    color: #666;
    text-decoration: none;
}
#breadcrumbs p a:hover {
    color: #000;
}

#doctitle h1 {
    color: #333333;
    font-size: 21px;
    padding: 5px 20px;
}

#doctitle h1 img {
    border: 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 10px;
}

.sortable .clickable {
    cursor: pointer;
    cursor: hand;
}

.formverifyfailed {
    background-color: #faa;
}

.accept {
    background: url(/images/accept.gif) no-repeat;
    width: 16px;
    height: 16px;
}
.reject {
    background: url(/images/reject.gif) no-repeat;
    width: 16px;
    height: 16px;
}

.cpanel_output_indent {
    width: 15px;
    display: inline-block;
}
.cpanel_output_color_bold {
    font-weight: 900;
}
.cpanel_output_color_blue {
    color: blue;
}
.statusmsg,
.warningmsg,
.errormsg,
.okmsg {
    font-weight: normal;
    margin: 0 0 0 15px;
    padding: 5px 0 5px 25px;
}

.warningmsg {
    background: transparent url(/yellow-status.gif) no-repeat scroll left center;
}
.errormsg {
    background: transparent url(/red-status.gif) no-repeat scroll left center;
}
.okmsg {
    background: transparent url(/green-status.gif) no-repeat scroll left center;
}

.yui-panel .hd {
    background-color: #4c4c4c;
    border: 0px;
}

/* End Master CSS */

/* Test to fix modal window pushing down the layout */

/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
.yui-overlay,
.yui-panel-container {
    visibility: hidden;
    position: absolute;
    z-index: 2;
}

.yui-panel {
    position: relative;
}

.yui-panel-container form {
    margin: 0;
}

.yui-dialog,
.yui-panel-container {
    z-index: 2000 !important;
}

.yui-panel-container.account-resource-help .hd {
    background-color: #4c4c4c;
    border: 0px;
}

.mask {
    z-index: 1999 !important;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.mask.block-scrollbars {
    /*
        Application of "overflow:auto" prevents Mac scrollbars from bleeding
        through the modality mask in Gecko. The block-scollbars class is only
        added for Gecko on MacOS
    */
    overflow: auto;
}

/*
    PLEASE NOTE:

    1) ".masked select" is used to prevent <SELECT> elements bleeding through
       the modality mask in IE 6.

    2) ".drag select" is used to hide <SELECT> elements when dragging a
       Panel in IE 6.  This is necessary to prevent some redraw problems with
       the <SELECT> elements when a Panel instance is dragged.

    3) ".hide-select select" is appended to an Overlay instance's root HTML
       element when it is being annimated by YAHOO.widget.ContainerEffect.
       This is necessary because <SELECT> elements don't inherit their parent
       element's opacity in IE 6.

*/

.masked select,
.drag select,
.hide-select select {
    _visibility: hidden;
}

.yui-panel-container select {
    _visibility: inherit;
}

/*

There are two known issues with YAHOO.widget.Overlay (and its subclasses) that
manifest in Gecko-based browsers on Mac OS X:

    1) Elements with scrollbars will poke through Overlay instances floating
       above them.

    2) An Overlay's scrollbars and the scrollbars of its child nodes remain
       visible when the Overlay is hidden.

To fix these bugs:

    1) The "overflow" property of an Overlay instance's root element and child
       nodes is toggled between "hidden" and "auto" (through the application
       and removal of the "hide-scrollbars" and "show-scrollbars" CSS classes)
       as its "visibility" configuration property is toggled between
       "false" and "true."

    2) The "display" property of <SELECT> elements that are child nodes of the
       Overlay instance's root element is set to "none" when it is hidden.

PLEASE NOTE:

    1) The "hide-scrollbars" and "show-scrollbars" CSS classes classes are
       applied only for Gecko on Mac OS X and are added/removed to/from the
       Overlay's root HTML element (DIV) via the "hideMacGeckoScrollbars" and
       "showMacGeckoScrollbars" methods of YAHOO.widget.Overlay.

    2) There may be instances where the CSS for a web page or application
       contains style rules whose specificity override the rules implemented by
       the Container CSS files to fix this bug.  In such cases, is necessary to
       leverage the provided "hide-scrollbars" and "show-scrollbars" classes to
       write custom style rules to guard against this bug.

** For more information on this issue, see:

   + https://bugzilla.mozilla.org/show_bug.cgi?id=187435
   + SourceForge bug #1723530

*/

.hide-scrollbars,
.hide-scrollbars * {
    overflow: hidden;
}

.hide-scrollbars select {
    display: none;
}

.show-scrollbars {
    overflow: auto;
}

.yui-panel-container.show-scrollbars,
.yui-tt.show-scrollbars {
    overflow: visible;
}

.yui-panel-container.show-scrollbars .underlay,
.yui-tt.show-scrollbars .yui-tt-shadow {
    overflow: auto;
}

/*
   Workaround for Safari 2.x - the yui-force-redraw class is applied, and then removed when
   the Panel's content changes, to force Safari 2.x to redraw the underlay.
   We attempt to choose a CSS property which has no visual impact when added,
   removed.
*/
.yui-panel-container.shadow .underlay.yui-force-redraw {
    padding-bottom: 1px;
}

.yui-effect-fade .underlay,
.yui-effect-fade .yui-tt-shadow {
    display: none;
}

/*
    PLEASE NOTE: The <DIV> element used for a Tooltip's shadow is appended
    to its root element via JavaScript once it has been rendered.  The
    code that creates the shadow lives in the Tooltip's public "onRender"
    event handler that is a prototype method of YAHOO.widget.Tooltip.
    Implementers wishing to remove a Tooltip's shadow or add any other markup
    required for a given skin for Tooltip should override the "onRender" method.
*/

.yui-tt-shadow {
    position: absolute;
}

.yui-override-padding {
    padding: 0 !important;
}

.yui-panel-container .container-close {
    overflow: hidden;
    text-indent: 12px;
    text-decoration: none;
}

.yui-overlay.yui-force-redraw,
.yui-panel-container.yui-force-redraw {
    margin-bottom: 1px;
}

/* Validation Errors Panels */

.validation_error_panel .bd {
    background: none;
    border: 0;
}

.validation_errors_ul {
    background-color: #ffffff;
    padding: 2px 5px 2px 5px;
    border: 1px solid #eb6d59;
    margin: 0 0 0 5px;

    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

span.cjt_validation_error {
    display: inline-block;
}
.cjt_validation_error img {
    vertical-align: middle;
}

.validation_errors_li {
    list-style-type: none;
}

.help_panel {
    background: #fff;
    border: 1px solid #aeaeae;
    padding: 0 0 5px;
}

.help_panel .bd {
    border-width: 0;
    padding: 8px 10px;
}

.help_panel .container-close {
    background: none !important;
    height: auto;
    padding: 0 0 5px 10px;
    position: static;
    text-indent: 0;
    width: auto;
}

.validation_errors_modal_box_title {
    display: block;
    font-weight: bold;
    padding: 6px 15px;
}

.validation_errors_modal_box_ul {
    list-style-type: disc;
    margin: 0 10px 15px 25px;
    padding: 0 10px;
}

.validation_errors_modal_box_actions {
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: center;
}

.validation_errors_modal_box_actions * {
    margin-right: auto;
    margin-left: auto;
}

.help_panel .ft {
    border: 0;
    padding: 0 13px 3px 0;
}

.mask {
    z-index: 1;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    -moz-opacity: 0.5;
    opacity: 0.5;
    filter: alpha(opacity=50);
    background-color: #000;
}
/* Create / Generate Password Widget Styles - this is used globally */
#generate_password_table,
#generate_password_advanced_options {
    padding: 0 10px;
    width: 100%;
}
#generate_password_reload {
    margin: 0 0 7px;
}
#generate_password_body_div {
    padding: 10px;
}
#generate_password_action_div {
    text-align: right;
}
input#generate_password_input_field {
    font-size: 18px;
    padding: 3px;
}
span#generate_password_toggle_advanced_options {
    background: #eee;
    border-top: solid 1px #cfcfcf;
    padding: 5px;
    display: block;
}
#generate_password_body_div p {
    padding: 10px 0px 0px 10px;
}
#generate_password_advanced_options {
    background: #eee;
    padding: 5px 0;
    margin-bottom: 10px;
}

.button-group button.input-button {
    font: inherit;
    border-size: 1px solid #4c7edf;
    padding: 4px;
    width: inherit;
}

.button-group button.input-button:hover,
.button-group button.input-button.hover,
.button-group button.input-button:active {
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border-width: 1px;
}

.button-group button.input-button.disabled {
    background: #e1e1e1;
    text-shadow: none;
    box-shadow: none;
    border-color: #cccccc !important;
    border-style: solid;
    border-width: 1px;
    color: #a9a9a9 !important;
    cursor: not-allowed;
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
}

/* Modify Account input */
input#searchinput,
input#searchinput2 {
    width: 95%;
}

/* In WHM this needs some special margins to be sure it looks ok. */
#cjt_pagenotice_container {
    margin: 20px 5px;
}

#maincommand table {
    width: 100%;
}

#maincommand table td {
    padding: 4px;
}

#maincommand ul.blocklist {
    margin-top: 0;
}

#maincommand tr.scellheader td {
    background-image: -moz-linear-gradient(
        #c5d5d9 0%,
        #aec1c5 1px,
        #b9cdd1 2px,
        #f0f4f5
    );
    background-image: -webkit-gradient(
        linear,
        0 0,
        0 100%,
        from(white),
        color-stop(0, #c5d5d9),
        color-stop(0, #aec1c5),
        color-stop(0, #b9cdd1),
        to(#f0f4f5)
    );
    background-image: -o-linear-gradient(
        #c5d5d9 0%,
        #aec1c5 1px,
        #b9cdd1 2px,
        #f0f4f5
    );
    background-image: linear-gradient(
        #c5d5d9 0%,
        #aec1c5 1px,
        #b9cdd1 2px,
        #f0f4f5
    );
    border-top: 1px solid white;
    border-bottom: 1px solid #c5d5d9;
}
.yui-ac {
    white-space: nowrap;
}

.ui-term-reference {
    font-style: italic;
}

.alert_box {
    background-color: #f9d1d1;
    border: 1px solid #ccc;
    padding: 12px 5px 15px 5px;
    margin-bottom: 12px;
}

.cjt-notice-container .bd {
    position: relative;
}

.cjt_status_bar_countdown {
    display: inline-block;
    position: absolute;
    bottom: 2px;
    font-size: 8px;
}

html[dir="ltr"] .cjt_status_bar_countdown {
    right: 2px;
    text-align: right;
}

html[dir="rtl"] .cjt_status_bar_countdown {
    left: 2px;
    text-align: left;
}

.yui-skin-sam .yui-navset .yui-nav a em,
.yui-skin-sam .yui-navset .yui-navset-top .yui-nav a em {
    top: 0px !important;
}

.childFrame {
    padding-top: 0;
}

#doctitle h1 {
    margin-top: 0;
}

.wbr:after {
    content: "\00200B";
}

/* cpu and mem are both used on the Process Manager */
.cpu,
.mem {
    white-space: nowrap;
}

.cpu div,
.mem div {
    display: inline-block;
    height: 10px;
}
Back to Directory File Manager