aboutsummaryrefslogtreecommitdiff
path: root/src/components/global_notice_list
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-22 09:34:01 -0500
committertusooa <tusooa@kazv.moe>2023-01-22 09:34:01 -0500
commitb1e75c25bd50180e715afde70c6e659e7509a3f3 (patch)
treef5d529d81b4bfa98009e39e7c37d64132d316592 /src/components/global_notice_list
parent6649baaac94348bbf09015eeb2c8eeea714096db (diff)
parent0d6435261ef3e91c06fe34cc8bf72ff1b30078c2 (diff)
Merge remote-tracking branch 'upstream/develop' into birthdays
Diffstat (limited to 'src/components/global_notice_list')
-rw-r--r--src/components/global_notice_list/global_notice_list.vue9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/global_notice_list/global_notice_list.vue b/src/components/global_notice_list/global_notice_list.vue
index 09904761..0e58476f 100644
--- a/src/components/global_notice_list/global_notice_list.vue
+++ b/src/components/global_notice_list/global_notice_list.vue
@@ -25,14 +25,14 @@
<script src="./global_notice_list.js"></script>
<style lang="scss">
-@import '../../_variables.scss';
+@import "../../variables";
.global-notice-list {
position: fixed;
- top: 50px;
+ top: calc(var(--navbar-height) + 0.5em);
width: 100%;
pointer-events: none;
- z-index: var(--ZI_popovers);
+ z-index: var(--ZI_navbar_popovers);
display: flex;
flex-direction: column;
align-items: center;
@@ -73,6 +73,7 @@
.global-success {
background-color: var(--alertPopupSuccess, $fallback--cGreen);
color: var(--alertPopupSuccessText, $fallback--text);
+
.svg-inline--fa {
color: var(--alertPopupSuccessText, $fallback--text);
}
@@ -81,6 +82,7 @@
.global-info {
background-color: var(--alertPopupNeutral, $fallback--fg);
color: var(--alertPopupNeutralText, $fallback--text);
+
.svg-inline--fa {
color: var(--alertPopupNeutralText, $fallback--text);
}
@@ -88,6 +90,7 @@
.close-notice {
padding-right: 0.2em;
+
.svg-inline--fa:hover {
opacity: 0.6;
}