-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/platform-observers
- Loading branch information
Showing
40 changed files
with
2,428 additions
and
1,685 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
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,22 @@ | ||
/* | ||
* Base stylesheet that applies in all shadow roots. Used to reset our | ||
* environment to a known state for component styles to build on, and to set up | ||
* things like fonts and CSS variables that are consistent everywhere. | ||
*/ | ||
|
||
:host { | ||
/* reset inherited styles from the page for a clean slate */ | ||
all: initial; | ||
/* | ||
* Don't give host elements their own boxes in the box model - just use the | ||
* box of whatever we're rendering inside. This avoids subtle layout issues | ||
* when the rendered content's top-level element is `inline` or | ||
* `inline-block` or something else exotic like `table-*`. | ||
* see https://developer.mozilla.org/en-US/docs/Web/CSS/display#contents | ||
*/ | ||
display: contents; | ||
|
||
/* set our preferred fonts and stuff */ | ||
font-family: Verdana, Arial, Helvetica, sans-serif; | ||
font-size: 12px; | ||
} |
18 changes: 18 additions & 0 deletions
18
extension/data/components/PageNotificationContainer.module.css
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,18 @@ | ||
.wrapper { | ||
position: fixed; | ||
bottom: 42px; | ||
right: 10px; | ||
width: 300px; | ||
} | ||
/* Leave space for the context menu handle when it's on the right side */ | ||
.wrapper.hasRightContextMenu { | ||
right: 30px; | ||
} | ||
|
||
.notification { | ||
margin-top: 5px; | ||
} | ||
|
||
.notification p { | ||
margin: 0; | ||
} |
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,11 @@ | ||
.controls { | ||
text-align: center; | ||
margin-bottom: 5px; | ||
} | ||
.content + .controls { | ||
margin-bottom: 0; | ||
margin-top: 5px; | ||
} | ||
.control.active { | ||
background-color: #B6C9DD; | ||
} |
Oops, something went wrong.