-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update VideoPress block connection banner, align with other blocks (#…
…39628) * Make VideoPress connection banner consistent with Nudge component * changelog * Polish the VideoPress connection banner * Move constants in block * Remove unintentional change
- Loading branch information
1 parent
23660e1
commit a58dbad
Showing
7 changed files
with
86 additions
and
19 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/packages/videopress/changelog/update-jetpack-blocks-confusing-connection-nudges
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,4 @@ | ||
Significance: patch | ||
Type: changed | ||
|
||
Update connection nudge for VideoPress connection banner in blocks |
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
36 changes: 30 additions & 6 deletions
36
...cts/packages/videopress/src/client/block-editor/blocks/video/components/banner/style.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 |
---|---|---|
@@ -1,15 +1,39 @@ | ||
.block-banner { | ||
display: flex; | ||
height: 48px; | ||
justify-content: space-between; | ||
font-size: 14px; | ||
align-self: center; | ||
align-items: center; | ||
background: #F6F7F7; | ||
padding: 0 16px; | ||
background: black; | ||
border-radius: 2px; | ||
padding: 0 20px; | ||
box-shadow: 0 0 1px inset white; | ||
|
||
.block-banner__content { | ||
color: #01283d; | ||
flex-grow: 2; | ||
margin: 0 8px; | ||
color: white; | ||
margin: 10px 10px 10px 0; | ||
} | ||
|
||
.block-banner__action { | ||
padding: 0; | ||
|
||
.components-button.is-primary { | ||
background: white; | ||
color: black; | ||
font-weight: 600; | ||
font-size: 14px; | ||
padding: 4px 8px; | ||
height: 28px; | ||
margin: 8px 0 8px auto; | ||
|
||
&:hover:not(:disabled) { | ||
background: #F6F7F7; | ||
} | ||
} | ||
|
||
.components-button.is-primary.is-busy { | ||
background-size: 100px 100%; | ||
background-image: linear-gradient(-45deg, #e34c84 28%, #ab235a 28%, #ab235a 72%, #e34c84 72%); | ||
} | ||
} | ||
} |
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