|
|
@import "../plugin-scheduled-updates-common/styles"; |
|
|
|
|
|
$brand-display: "SF Pro Display", sans-serif; |
|
|
|
|
|
@mixin content-padding { |
|
|
padding-inline: 48px; |
|
|
|
|
|
@media (max-width: $break-medium) { |
|
|
padding-inline: 2rem; |
|
|
} |
|
|
|
|
|
@media (max-width: $break-small) { |
|
|
padding-inline: 16px; |
|
|
} |
|
|
|
|
|
body:has(.is-global-sidebar-visible) & { |
|
|
padding-inline: 24px; |
|
|
} |
|
|
} |
|
|
|
|
|
.scheduled-updates-list.main.is-full-width-layout { |
|
|
.plugins-update-manager-multisite { |
|
|
&__header-main { |
|
|
.components-button { |
|
|
align-self: center; |
|
|
} |
|
|
} |
|
|
|
|
|
&__header-main-title { |
|
|
h1 { |
|
|
font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
|
font-weight: 500; |
|
|
font-size: 1.5rem; |
|
|
line-height: 1.25; |
|
|
} |
|
|
|
|
|
p { |
|
|
font-size: 1rem !important; |
|
|
margin-top: 0.5rem; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite { |
|
|
&__header { |
|
|
padding-top: 24px; |
|
|
padding-bottom: 24px; |
|
|
@include content-padding; |
|
|
} |
|
|
|
|
|
&__header-main { |
|
|
display: flex; |
|
|
margin: 0 auto; |
|
|
justify-content: space-between; |
|
|
box-sizing: border-box; |
|
|
column-gap: 10px; |
|
|
flex: 1; |
|
|
button { |
|
|
padding: 8px 14px; |
|
|
} |
|
|
} |
|
|
|
|
|
&.plugins-update-manager-multisite-edit, |
|
|
&.plugins-update-manager-multisite-create { |
|
|
h1 { |
|
|
font-size: 2rem !important; |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite__header { |
|
|
padding-inline: 0; |
|
|
padding-top: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
.components-notice { |
|
|
margin-bottom: 1.25rem; |
|
|
margin-top: 1.25rem; |
|
|
|
|
|
ul { |
|
|
margin-top: 1.25rem; |
|
|
} |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite-filters, |
|
|
.plugins-update-manager-multisite-table-container { |
|
|
@media screen and (min-width: $break-xhuge) { |
|
|
margin: 0 auto; |
|
|
} |
|
|
@media screen and (min-width: $break-large) { |
|
|
td:last-child, |
|
|
th:last-child { |
|
|
padding-right: 64px; |
|
|
text-align: right; |
|
|
} |
|
|
td.menu button { |
|
|
padding: 0; |
|
|
justify-content: end; |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite-filters { |
|
|
padding-top: 24px; |
|
|
padding-bottom: 24px; |
|
|
@include content-padding; |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite-filter { |
|
|
margin-top: 1.25rem; |
|
|
margin-bottom: 1.25rem; |
|
|
|
|
|
.components-search-control { |
|
|
margin-bottom: 0; |
|
|
} |
|
|
} |
|
|
|
|
|
.plugins-update-manager-multisite-card { |
|
|
margin-bottom: 1rem; |
|
|
@include content-padding; |
|
|
border-bottom: solid 1px var(--studio-gray-0); |
|
|
|
|
|
&:first-child { |
|
|
border-top: solid 1px var(--studio-gray-0); |
|
|
} |
|
|
|
|
|
&.is-selected { |
|
|
background: #f7faff; |
|
|
} |
|
|
|
|
|
&__new { |
|
|
line-height: 2; |
|
|
} |
|
|
|
|
|
&__label { |
|
|
font-size: 0.875rem; |
|
|
margin-bottom: 0.75rem; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
|
|
|
label { |
|
|
display: block; |
|
|
color: var(--studio-gray-40); |
|
|
} |
|
|
|
|
|
strong { |
|
|
font-weight: 500; |
|
|
} |
|
|
|
|
|
.badge-component { |
|
|
margin-inline-start: 0.5rem; |
|
|
} |
|
|
} |
|
|
|
|
|
&__name-label { |
|
|
|
|
|
margin-bottom: 0.75rem - rem(10px); |
|
|
} |
|
|
|
|
|
&__last-update-label { |
|
|
align-items: flex-start; |
|
|
|
|
|
.components-button { |
|
|
font-size: 0.875rem; |
|
|
} |
|
|
|
|
|
label { |
|
|
display: inline-flex; |
|
|
align-items: center; |
|
|
} |
|
|
|
|
|
> div { |
|
|
display: flex; |
|
|
flex-direction: row-reverse; |
|
|
align-items: center; |
|
|
|
|
|
.badge-component { |
|
|
margin-inline-end: 0; |
|
|
padding: 0 9px; |
|
|
|
|
|
svg { |
|
|
top: 3px; |
|
|
width: 18px; |
|
|
height: 18px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
&__sites { |
|
|
margin: 1rem -1rem; |
|
|
background-color: $studio-gray-0; |
|
|
|
|
|
|
|
|
&-site { |
|
|
border-bottom: solid 1px var(--studio-gray-5); |
|
|
padding-top: 1rem; |
|
|
|
|
|
> div { |
|
|
padding: 0 1rem 1rem 1rem; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.components-card__footer { |
|
|
display: flex; |
|
|
align-items: baseline; |
|
|
|
|
|
.validation-msg { |
|
|
width: 100%; |
|
|
} |
|
|
} |
|
|
|
|
|
.empty-state { |
|
|
@include content-padding; |
|
|
|
|
|
p { |
|
|
max-width: 720px; |
|
|
} |
|
|
} |
|
|
} |
|
|
|