-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
styling in auto update + portable handling
- Loading branch information
1 parent
222e856
commit abae2c6
Showing
3 changed files
with
68 additions
and
17 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 |
---|---|---|
@@ -1,18 +1,59 @@ | ||
@import 'mixins'; | ||
|
||
:host { | ||
&.hidden { | ||
display: none; | ||
} | ||
.hidden { | ||
display: none; | ||
} | ||
/deep/ a { | ||
text-decoration: none; | ||
|
||
color: var(--color-markdown-link); | ||
|
||
&:hover { | ||
color: var(--color-markdown-link-hover); | ||
} | ||
|
||
&:active { | ||
color: var(--color-markdown-link-active); | ||
} | ||
} | ||
> #updateNotification { | ||
position: fixed; | ||
bottom: 20px; | ||
left: 20px; | ||
width: 200px; | ||
padding: 20px; | ||
border-radius: 5px; | ||
background-color: white; | ||
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); | ||
font-size: 1em; | ||
|
||
position: absolute; | ||
left: 0; | ||
bottom: 0; | ||
|
||
display: inline-block; | ||
|
||
margin: 0.5em 0.5em; | ||
padding: 1em 2em; | ||
|
||
text-align: right; | ||
word-wrap: break-word; | ||
|
||
color: var(--color-alert-text); | ||
border: 1px solid var(--color-info); | ||
background-color: var(--color-alert-background); | ||
|
||
.goButton { | ||
@include button(); | ||
@include clickButtonColor(click-button); | ||
&.hidden { | ||
display: none; | ||
} | ||
margin-left: 1em; | ||
|
||
} | ||
.noButton { | ||
@include button(); | ||
@include clickButtonColor(dangerous-click-button); | ||
&.hidden { | ||
display: none; | ||
} | ||
} | ||
} | ||
} |