-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style modal and iframe contents from login page
- Loading branch information
1 parent
235f6e9
commit 5bcde05
Showing
4 changed files
with
81 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.wporg-2fa__revalidate-modal { | ||
$header-height: 100px; | ||
|
||
&.components-modal__frame { | ||
border-radius: 8px; | ||
} | ||
|
||
.components-modal__header { | ||
height: $header-height; | ||
|
||
h1 { | ||
margin: unset; | ||
} | ||
} | ||
|
||
.components-modal__content { | ||
margin-top: $header-height; | ||
padding: 0; | ||
} | ||
|
||
p { | ||
margin: 0 32px 1rem; | ||
// Match style of login page text in iframe | ||
font-size: 14px; | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | ||
} | ||
|
||
iframe { | ||
border: none; | ||
width: 100%; | ||
// Allow for error messages above form | ||
height: 330px; | ||
} | ||
} |
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