Viewing File: /usr/local/cpanel/base/frontend/jupiter/domains/directives/tldPriorityInput.less
// Copyright 2026 WebPros International, LLC
// All rights reserved.
// copyright@cpanel.net http://cpanel.net
// This code is subject to the cPanel license. Unauthorized copying is prohibited.
//
// Self-contained styles for the <tld-priority-input> directive. Imported
// from both base/frontend/jupiter/domains/index.less and
// base/frontend/jupiter/domains/directives/domainSearchModal.less so the
// control looks identical in the create-domain chooser and in the domain
// recommendations modal.
.tld-priority-input {
&__heading {
font-family: "Lato", sans-serif;
font-size: 16px;
font-weight: 700;
color: #212529;
line-height: 1.5;
margin: 0 0 4px;
}
&__description {
font-family: "Lato", sans-serif;
font-size: 14px;
color: #3c4d5a;
line-height: 1.5;
margin: 0 0 8px;
}
&__input-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 8px;
align-items: center;
width: 100%;
}
&__input.form-control {
flex: 0 1 300px;
min-width: 0;
width: auto;
height: 36px;
padding: 6px 12px;
font-family: "Lato", sans-serif;
font-size: 14px;
border: 0.5px solid #3c4d5a;
border-radius: 4px;
}
&__add-btn {
flex-shrink: 0;
height: 36px;
padding: 5px 14px;
font-family: "Lato", sans-serif;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
color: #fff;
background-color: #003da6;
border: 1px solid #003da6;
border-radius: 4px;
white-space: nowrap;
cursor: pointer;
&:hover:not([disabled]),
&:focus:not([disabled]) {
background-color: #002d7a;
border-color: #002d7a;
color: #fff;
}
&:focus-visible {
outline: 2px solid #003da6;
outline-offset: 2px;
}
&[disabled] {
opacity: 0.6;
cursor: not-allowed;
}
}
&__error {
margin: 8px 0 0;
color: #c0392b;
font-family: "Lato", sans-serif;
font-size: 13px;
}
&__example {
margin: 8px 0 0;
color: #6c757d;
font-family: "Lato", sans-serif;
font-size: 12px;
font-style: italic;
}
&__chips {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
margin-top: 12px;
}
&__chip {
display: inline-flex;
align-items: center;
gap: 6px;
height: 24px;
padding: 0 6px 0 10px;
background: #ccecf9;
border-radius: 100px;
font-family: "Lato", sans-serif;
font-size: 13px;
color: #212529;
line-height: 1.5;
}
&__chip-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
padding: 0;
border: none;
background: none;
color: inherit;
font-size: 10px;
cursor: pointer;
border-radius: 50%;
line-height: 1;
&:hover {
background: rgba(0, 0, 0, 0.1);
}
&:focus-visible {
outline: 2px solid #003da6;
outline-offset: 1px;
}
}
}
Back to Directory