mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: contest balloon notice (#1071)
This commit is contained in:
1 parent
6d2442c6a3
commit
053978d9d4
12 files changed
+135
-63
No files matched your search
@@ -21,6 +21,15 @@
|
||||
opacity: 0
|
||||
transform: translateY(20px) scale(0.9)
|
||||
|
||||
&.avatar
|
||||
display: flex
|
||||
align-items: center
|
||||
|
||||
.avatar
|
||||
display: inline-block
|
||||
vertical-align: top
|
||||
margin-right: rem(10px)
|
||||
|
||||
&:before
|
||||
display: inline-block
|
||||
font-family: $icon-font-name !important
|
||||
@@ -30,6 +39,9 @@
|
||||
vertical-align: top
|
||||
margin-top: rem((20px - $font-size-icon) / 2)
|
||||
|
||||
&.avatar:before
|
||||
display: none !important
|
||||
|
||||
for key, value in $notification-color
|
||||
&.{key}
|
||||
border-left: 5px solid value
|
||||
@@ -37,7 +49,7 @@
|
||||
color: value
|
||||
|
||||
for key, value in $notification-icon
|
||||
&.{key}:before
|
||||
&:not(.avatar).{key}:before
|
||||
content: value
|
||||
|
||||
+mobile()
|
||||
|
||||
Reference in new issue
Block a user