You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
virt/web/public/cloud/admin-user-copy-page-editor...

330 lines
6.1 KiB
CSS

.user-copy-page-editor-launch {
position: fixed;
right: 22px;
bottom: 22px;
z-index: 2147483000;
min-height: 44px;
padding: 0 18px;
border: 1px solid #0d8e98;
border-radius: 999px;
background: #0f9eaa;
color: #fff;
font: 700 14px/1 system-ui, sans-serif;
cursor: pointer;
}
.user-copy-page-editor-launch:focus-visible,
.user-copy-page-editor button:focus-visible,
.user-copy-page-editor a:focus-visible,
.user-copy-page-editor input:focus-visible,
.user-copy-page-editor select:focus-visible,
.user-copy-page-editor textarea:focus-visible {
outline: 3px solid rgba(15, 158, 170, .3);
outline-offset: 2px;
}
.user-copy-page-editor-backdrop {
position: fixed;
inset: 0;
z-index: 2147483001;
background: rgba(18, 34, 45, .42);
}
.user-copy-page-editor {
position: fixed;
top: 0;
right: 0;
z-index: 2147483002;
display: flex;
flex-direction: column;
width: min(520px, 100%);
height: 100dvh;
border-left: 1px solid #dce6ea;
background: #f7fafb;
color: #20394b;
font: 14px/1.55 system-ui, sans-serif;
}
.user-copy-page-editor[hidden],
.user-copy-page-editor-backdrop[hidden] {
display: none;
}
.user-copy-page-editor-open {
overflow: hidden;
}
.user-copy-page-editor-header,
.user-copy-page-editor-tabs,
.user-copy-page-editor-controls,
.user-copy-page-editor-footer {
flex: 0 0 auto;
border-bottom: 1px solid #dce6ea;
background: #fff;
}
.user-copy-page-editor-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
padding: 22px;
}
.user-copy-page-editor-header h2,
.user-copy-page-editor-header p {
margin: 0;
}
.user-copy-page-editor-header h2 {
font-size: 21px;
}
.user-copy-page-editor-header p {
margin-top: 5px;
color: #6d8290;
}
.user-copy-page-editor-close {
width: 40px;
height: 40px;
border: 0;
background: transparent;
color: #637986;
font-size: 30px;
line-height: 1;
cursor: pointer;
}
.user-copy-page-editor-tabs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
padding: 10px 22px;
}
.user-copy-page-editor-tabs button {
min-width: 0;
min-height: 42px;
border: 1px solid transparent;
border-radius: 10px;
background: transparent;
color: #637986;
font: 700 13px/1.2 system-ui, sans-serif;
cursor: pointer;
}
.user-copy-page-editor-tabs button:hover {
background: #eef6f7;
color: #176b73;
}
.user-copy-page-editor-tabs button[aria-selected="true"] {
border-color: #a9d8dc;
background: #e5f5f6;
color: #0b747c;
}
.user-copy-page-editor-controls {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px 12px;
padding: 16px 22px;
}
.user-copy-page-editor-controls label,
.user-copy-page-editor-label {
color: #718795;
font-size: 12px;
font-weight: 700;
}
.user-copy-page-editor-controls select,
.user-copy-page-editor-controls input,
.user-copy-page-editor textarea {
width: 100%;
border: 1px solid #cfdde2;
border-radius: 10px;
background: #fff;
color: #20394b;
font: inherit;
}
.user-copy-page-editor-controls select,
.user-copy-page-editor-controls input {
min-height: 42px;
padding: 0 11px;
}
.user-copy-page-editor-feedback {
flex: 0 0 auto;
min-height: 22px;
margin: 0;
padding: 10px 22px;
color: #58717f;
}
.user-copy-page-editor-feedback[data-kind="error"] {
color: #b53b4b;
}
.user-copy-page-editor-feedback[data-kind="success"] {
color: #147b5c;
}
.user-copy-page-editor-list {
flex: 1 1 auto;
overflow: auto;
padding: 0 22px 22px;
}
.user-copy-page-editor-list[aria-busy="true"] {
opacity: .72;
}
.user-copy-page-editor-catalog-footer {
flex: 0 0 auto;
padding: 12px 22px;
border-top: 1px solid #dce6ea;
background: #fff;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.user-copy-page-editor-catalog-footer p {
margin: 0;
color: #718795;
font-size: 12px;
}
.user-copy-page-editor-catalog-footer button {
min-height: 36px;
padding: 0 13px;
border: 1px solid #bcd1d8;
border-radius: 9px;
background: #fff;
color: #1e5f68;
font-weight: 700;
cursor: pointer;
}
.user-copy-page-editor-entry {
margin-top: 14px;
padding: 16px;
border: 1px solid #dce6ea;
border-radius: 14px;
background: #fff;
}
.user-copy-page-editor-entry-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 14px;
}
.user-copy-page-editor-entry-meta code {
overflow-wrap: anywhere;
color: #0c7880;
}
.user-copy-page-editor-entry-meta button,
.user-copy-page-editor-save {
min-height: 36px;
border: 1px solid #bcd1d8;
border-radius: 9px;
background: #fff;
color: #1e5f68;
font-weight: 700;
cursor: pointer;
}
.user-copy-page-editor-entry-meta button {
flex: 0 0 auto;
padding: 0 10px;
}
.user-copy-page-editor-source,
.user-copy-page-editor-published {
margin: 5px 0 14px;
white-space: pre-wrap;
}
.user-copy-page-editor-published {
color: #54707f;
}
.user-copy-page-editor textarea {
display: block;
margin-top: 5px;
padding: 10px 12px;
resize: vertical;
}
.user-copy-page-editor-parameters,
.user-copy-page-editor-validation,
.user-copy-page-editor-empty {
margin: 10px 0 0;
color: #6d8290;
font-size: 12px;
}
.user-copy-page-editor-validation {
color: #b53b4b;
}
.user-copy-page-editor-save {
width: 100%;
margin-top: 14px;
border-color: #0f9eaa;
background: #0f9eaa;
color: #fff;
}
.user-copy-page-editor button:disabled,
.user-copy-page-editor textarea:read-only {
cursor: not-allowed;
opacity: .6;
}
.user-copy-page-editor-footer {
border-top: 1px solid #dce6ea;
border-bottom: 0;
padding: 15px 22px;
text-align: right;
}
.user-copy-page-editor-footer a {
color: #0b7d86;
font-weight: 700;
}
.is-user-copy-page-highlight {
outline: 3px solid #0f9eaa !important;
outline-offset: 4px !important;
}
@media (max-width: 640px) {
.user-copy-page-editor {
width: 100%;
border-left: 0;
}
.user-copy-page-editor-launch {
right: 14px;
bottom: 14px;
}
.user-copy-page-editor-controls {
grid-template-columns: 1fr;
}
.user-copy-page-editor-tabs {
padding-right: 16px;
padding-left: 16px;
}
}