-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Website - Display the Migration tab (#3683)
* site: display Migration tab * lint rules + script fix * address Pavel's concerns * fix for republishing staging * URL capitalization
- Loading branch information
1 parent
eabf5bf
commit 19a28c4
Showing
18 changed files
with
453 additions
and
63 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,90 @@ | ||
span.nav-link { | ||
cursor: pointer; | ||
} | ||
|
||
.demo-viewer .alert-note { | ||
border-radius: 6px; | ||
margin: 20px 0; | ||
padding: 12px 20px; | ||
color: #183C57; | ||
} | ||
|
||
.demo-viewer .alert-note .part-title { | ||
font-weight: 700; | ||
font-size: 18px; | ||
line-height: 24px; | ||
} | ||
|
||
.demo-viewer .nav { | ||
flex-wrap: nowrap; | ||
} | ||
|
||
.demo-viewer .codesandbox-button { | ||
display: none; | ||
} | ||
|
||
.demo-viewer .theme-selector { | ||
margin-left: 290px; | ||
display: none; | ||
} | ||
|
||
.demo-viewer .theme-selector-displayed { | ||
margin-top: 0; | ||
} | ||
|
||
.demo-viewer .theme-selector-hidden { | ||
margin-top: 0; | ||
} | ||
|
||
@media (min-width: 480px) { | ||
.demo-viewer .theme-selector { | ||
display: block; | ||
} | ||
|
||
.demo-viewer .theme-selector-displayed { | ||
margin-top: -42px; | ||
} | ||
} | ||
|
||
@media (min-width: 680px) { | ||
.demo-viewer .codesandbox-button { | ||
display: inline-block; | ||
} | ||
|
||
.demo-viewer .theme-selector { | ||
margin-left: 500px; | ||
} | ||
} | ||
|
||
@media (min-width: 1000px) { | ||
.demo-viewer .nav .nav-link { | ||
padding: 0.5rem 0.75rem; | ||
} | ||
|
||
.demo-viewer .codesandbox-button { | ||
margin-left: 15px; | ||
} | ||
|
||
.demo-viewer .theme-selector { | ||
margin-left: 380px; | ||
} | ||
|
||
.demo-viewer .theme-selector:has(.migration-tab) { | ||
margin-left: 450px; | ||
} | ||
} | ||
|
||
@media (min-width: 1280px) { | ||
.demo-viewer .nav .nav-link { | ||
padding: 0.5rem 1rem; | ||
} | ||
|
||
.demo-viewer .codesandbox-button { | ||
margin-left: 20px; | ||
} | ||
|
||
.demo-viewer .theme-selector { | ||
margin-left: 500px; | ||
} | ||
} | ||
|
Oops, something went wrong.