Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/menu/main.css
/*
WARNING: This is a generated file. Any changes you make directly to this file
will be overwritten when the file is regenerated. Add styles to the appropriate
.less file instead.
*/
/*
# cpanel - whostmgr/docroot/templates/menu/main.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
*/
.cp-group__header-title {
font-weight: 600;font-size: 16px;
}
.cp-group__header {
padding: 15px;line-height: 18px;
}
.cp-group__header-icon {
margin-right: 8px;
}
.cp-app__image {
margin-right: 10px;
}
@media (min-width: 992px) {
.container-lg {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.container-lg {
max-width: 1140px;
}
}
@media (min-width: 1400px) {
.container-lg {
max-width: 1320px;
}
}
.tools-stats-grid-container {
display: grid;
grid-gap: 1em;
}
@media (max-width: 575px), (min-width: 576px) and (max-width: 767px) {
.tools-stats-grid-container {
grid-gap: var(--cp-spacer-5);
grid-template-columns: 1fr;
grid-template-areas: "column-2" "column-1";
}
.tools-stats-grid-container .cp-card {
height: auto;
}
}
@media (min-width: 768px) and (max-width: 1199px) {
.tools-stats-grid-container {
grid-template-columns: 1fr 260px;
grid-template-areas: "column-1 column-2";
}
}
@media (min-width: 1200px) {
.tools-stats-grid-container {
grid-template-columns: 1fr 260px;
grid-template-areas: "column-1 column-2";
}
}
.tools-stats-grid-container section:nth-child(1) {
grid-area: column-1;
}
.tools-stats-grid-container section:nth-child(2) {
grid-area: column-2;
}
.stats-wrapper {
display: flex;
flex-direction: column;
height: 100%;
}
.tools-grid-placeholder {
margin: 1em;
font-size: larger;
}
.tools-grid-container {
display: grid;
grid-gap: 1em;
}
@media (min-width: 768px) and (max-width: 1199px) {
.tools-grid-container {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1200px) {
.tools-grid-container {
grid-template-columns: repeat(2, 1fr);
}
}
.wrapper {
padding-top: var(--cp-spacer-5);
line-height: 1.5;
}
h1 {
font-weight: 400;
font-size: 1.625rem;
}
.section-header {
margin-bottom: var(--cp-spacer-3);
}
.section-flex {
display: flex;
justify-content: space-between;
align-items: center;
}
.section-title {
margin: 0;
}
.cp-page-section {
margin-bottom: var(--cp-spacer-6);
}
.hide-next-steps {
display: none;
}
button {
line-height: inherit;
}
.toggle-edit-favorites-button {
display: inline-block;
margin-top: 0.2rem;
height: 2rem;
}
/* NB: This class means different things in in WHM vs. cP Jupiter. */
.cp-card {
background-color: #fff;
box-shadow: 0 0 10px #dadada;
transition: box-shadow;
height: 100%;
border-radius: 4px;
box-shadow: 0 3px 10px rgba(10, 37, 64, 0.05);
transition: box-shadow 0.5s;
}
.cp-card:hover {
box-shadow: 0 3px 10px rgba(10, 37, 64, 0.25);
}
.mb-1 {
margin-bottom: 1em;
}
a:hover {
text-decoration: none;
}
.cp-app {
padding: 1em;
color: initial;
display: flex;
}
.cp-card__image-next-steps,
.cp-card__image-top-tools {
width: 48px;
height: 48px;
}
.cp-app__image {
width: 48px;
height: 48px;
display: inline-block;
}
.cp-app__details {
width: 100%;
padding-left: 1em;
vertical-align: top;
}
.cp-app__details-title {
display: block;
font-size: 1.1rem;
font-weight: 500;
margin-bottom: var(--cp-spacer-3);
color: #08193e;
}
.cp-app__details-description {
display: block;
color: #08193e;
font-weight: 500;
opacity: 0.7;
line-height: 24px;
}
.cp-app__details-title {
margin-bottom: 10px;
display: flex;
}
.cp-group:not(.expanded) {
padding-bottom: 0;
}
.cp-group:not(.expanded) .cp-group__header {
border-color: transparent;
}
.cp-group .cp-group__content {
display: none;
}
.cp-group.expanded .cp-group__content {
display: block;
padding: 5px 15px 15px 15px;
border-top: 1px solid #e4e9f2;
}
@media (max-width: 575px) {
.cp-group.expanded .cp-group__content {
padding: 0;
border-top: 0;
}
}
.cp-group__content-item {
margin-top: 1em;
}
.cp-group__content-item > div {
display: flex;
align-items: center;
font-size: 15px;
}
.cp-group__content-item > div a {
display: flex;
align-items: center;
}
@media (max-width: 575px) {
.cp-group__content-item span a {
padding: 5px 15px;
border-top: 1px solid #e4e9f2;
}
.cp-group__content-item span a:hover,
.cp-group__content-item span a:active,
.cp-group__content-item span a:focus {
background: #f7f9fc;
}
}
span .cp-group__content-item:hover span {
text-decoration: underline;
}
@media (max-width: 575px) {
.cp-group__content-item {
margin-top: 0;
}
}
.cp-group__content-item span {
color: #365aa2;
vertical-align: middle;
}
.cp-group__header {
display: flex;
align-items: center;
user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
cursor: pointer;
}
.cp-group__header-title,
.cp-group__header-expand {
display: inline-block;
margin: 0;
}
.cp-group.expanded .cp-group__header-expand:before {
content: "\f077";
}
.cp-group:not(.expanded) .cp-group__header-expand:before {
content: "\f078";
}
.cp-group .cp-group__header-expand {
color: #8f9bb3;
}
.cp-group .cp-group__header-expand:active,
.cp-group .cp-group__header-expand:hover,
.cp-group .cp-group__header-expand:visited,
.cp-group .cp-group__header-expand:focus {
text-decoration: none;
}
.cp-group__header-title {
width: 100%;
}
.cp-group__header-icon {
display: inline-block;
width: 32px;
height: 32px;
margin-top: 0;
margin-left: 0;
margin-bottom: 0;
}
.cp-group__header-expand {
color: inherit;
padding-left: 0.5em;
padding-right: 0.5em;
}
.jupiter-main-content {
padding: 0 24px;
}
.cp-stats {
padding-top: 0.6em;
padding-bottom: 0.6em;
}
.cp-stat__details {
width: 100%;
padding-left: 1em;
padding-top: 0.2em;
vertical-align: top;
}
.cp-stat__details-title {
display: block;
color: #08193e;
padding-top: 0.2em;
font-weight: 600;
}
.cp-stat__details-value {
font-weight: 400;
display: block;
color: #08193e;
padding: 0.6em;
}
.cp-stat__details-link * {
vertical-align: middle;
}
/**
We dont want the embedded controls to get the
<a> colors; the clickablity is for sloppy clickers,
but we don't want to make the deeper text unreadable.
**/
.cp-stat__details-link__wrapper,
.cp-stat__details-link__wrapper:hover,
.cp-stat__details-link__wrapper:link {
color: #333;
}
.cp-select-for-my-tools {
display: flex;
align-items: center;
margin-left: auto;
margin-right: 1rem;
}
.cp-app-link {
width: 100%;
}
.edit-favorites-options-compact {
font-size: 1rem;
padding-top: 0.3rem;
padding-left: 1rem;
padding-right: 1rem;
margin-left: auto;
}
.edit-favorites-options-compact input {
padding-left: 1rem;
}
.top_tools .section-header {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-end;
height: 1.8rem;
}
.top_tools .section-header .page-title-section {
align-self: flex-start;
flex-grow: 1;
}
.dismiss {
color: #365aa2;
}
.edit-favorites-options-compact-label > span {
font-size: smaller;
margin-left: 10px;
position: relative;
top: 10px;
left: 10px;
text-align: center;
font-weight: normal;
}
.cp-favorite-instructions {
height: auto;
margin-bottom: 1rem;
padding: 1rem;
text-align: justify;
}
.cp-favorite-instructions p:last-child {
margin: 0;
}
.cp-favorite-instructions ul {
list-style: none;
padding-inline-start: 0.4rem;
}
.cp-favorite-instructions ul li {
display: inline-block;
margin-left: 1rem;
margin-right: 1rem;
}
.cp-favorite-instructions ul li * {
vertical-align: middle;
}
.cp-favorite-instructions .edit-favorites-options-compact {
margin-left: 0.4rem;
margin-top: 0.4rem;
}
.cp-favorite-instructions .cp-favorite-selector--selected svg {
fill: #ff6c2c;
}
.cp-favorite-instructions .cp-favorite-selector--unselected svg {
fill: #ff6c2c;
}
a[name="tools-section"],
a[name="tools-section"]:focus,
a[name="tools-section"]:hover {
color: #333333;
}
.long-text-fade-overflow {
width: 75%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: relative;
display: inline-block;
vertical-align: top;
}
.long-text-fade-overflow::before {
content: "";
width: 25%;
height: 100%;
position: absolute;
right: 0;
top: 0;
background: linear-gradient(transparent -10px, white);
}
html[dir="rtl"] .long-text-fade-overflow::before {
left: 0;
right: auto;
}
.long-text-fade-overflow:hover {
overflow: visible;
white-space: normal;
text-decoration: underline;
}
.long-text-fade-overflow:hover::before {
background: none;
}
.uuid-copy-container {
color: #365aa2;
}
.uuid-copy-container:hover {
color: #2d5ef2;
cursor: pointer;
}
.cp-stat__title_row {
position: relative;
}
.cp-stat__details-title {
width: 50%;
display: inline-block;
}
.copy-msg-container {
position: absolute;
right: 10px;
top: 5px;
display: none;
}
html[dir="rtl"] .copy-msg-container {
left: 10px;
right: auto;
}
.show-copy-success {
display: inline-block;
-moz-animation: animateFadeOut 0s ease-in 3s forwards;
/* Firefox */
-webkit-animation: animateFadeOut 0s ease-in 3s forwards;
/* Safari and Chrome */
-o-animation: animateFadeOut 0s ease-in 3s forwards;
/* Opera */
animation: animateFadeOut 0s ease-in 3s forwards;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
animation-timing-function: ease-in-out;
-webkit-animation-duration: 0.35s;
-moz-animation-duration: 0.35s;
animation-duration: 0.35s;
}
@keyframes animateFadeOut {
from {
opacity: 1;
display: inline-block;
}
to {
opacity: 0;
width: 0;
height: 0;
overflow: hidden;
}
}
@-webkit-keyframes animateFadeOut {
from {
opacity: 1;
display: inline-block;
}
to {
opacity: 0;
width: 0;
height: 0;
display: none;
}
}
Back to Directory
File Manager