-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scheduled Updates: implement multi-site design on single site schedul…
…ed updates (#90443) * Rebase * No wp-brand font on headings * Merge CSS changes * - Update schedules -> Scheduled updates - Add margin to single site submit button - Rename Add new schedule button
- Loading branch information
1 parent
66b41f7
commit dbdb885
Showing
14 changed files
with
353 additions
and
442 deletions.
There are no files selected for viewing
129 changes: 129 additions & 0 deletions
129
client/blocks/plugin-scheduled-updates-common/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
@import "~@automattic/color-studio/dist/color-variables"; | ||
@import "@wordpress/base-styles/breakpoints"; | ||
|
||
$brand-display: "SF Pro Display", sans-serif; | ||
|
||
.plugins-update-manager, | ||
.plugins-update-manager-multisite { | ||
@media screen and (max-width: $break-small) { | ||
margin: 1rem; | ||
} | ||
|
||
h1 { | ||
font-size: 2rem; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
&__header { | ||
align-items: center; | ||
border-block-end: 1px solid var(--color-border-secondary); | ||
display: flex; | ||
flex-wrap: wrap; | ||
row-gap: 1rem; | ||
font-family: $brand-display; | ||
justify-content: space-between; | ||
padding-bottom: 1.5rem; | ||
|
||
&.no-border { | ||
border-block-end: none; | ||
} | ||
|
||
h1 { | ||
font-size: 1.5rem; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 1.2; | ||
margin-bottom: 0; | ||
flex: 1; | ||
} | ||
|
||
button { | ||
font-size: rem(14px); | ||
border-radius: 4px; | ||
} | ||
|
||
.buttons { | ||
display: flex; | ||
align-items: center; | ||
justify-content: flex-end; | ||
gap: rem(10px); | ||
} | ||
} | ||
|
||
&-table { | ||
th, | ||
td { | ||
font-size: 0.875rem; | ||
padding: 1rem 0.125rem; | ||
color: var(--studio-gray-60); | ||
border-bottom: solid 1px var(--studio-gray-0); | ||
} | ||
|
||
th { | ||
font-weight: 500; | ||
|
||
&.expand { | ||
width: 4rem; | ||
} | ||
} | ||
|
||
td { | ||
padding: 0.5rem 0.125rem; | ||
vertical-align: middle; | ||
|
||
&.last-update { | ||
min-width: 200px; | ||
} | ||
|
||
.badge-component { | ||
line-height: 2; | ||
} | ||
|
||
&.expand { | ||
text-align: center; | ||
line-height: 1; | ||
|
||
button { | ||
margin-top: rem(2px); | ||
} | ||
} | ||
|
||
&.name { | ||
width: 300px; | ||
} | ||
|
||
&.sites { | ||
width: 80px; | ||
} | ||
|
||
&.menu { | ||
text-align: center; | ||
} | ||
} | ||
|
||
&__expanded { | ||
background-color: var(--studio-gray-0); | ||
} | ||
} | ||
|
||
.schedule-form { | ||
margin-bottom: 1.25rem; | ||
|
||
& > .form-control-container { | ||
margin-bottom: 1.25rem; | ||
|
||
&:last-child { | ||
margin-bottom: 0; | ||
} | ||
|
||
& > .components-flex { | ||
gap: 2rem; | ||
|
||
& > .components-flex-item { | ||
flex-basis: 100%; | ||
width: 100%; | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.