mirror of
https://github.com/penpot/penpot.git
synced 2026-05-10 02:28:16 +00:00
✨ Add status notification bubble
This commit is contained in:
parent
55610545d8
commit
7dbf1fd7ef
@ -108,6 +108,7 @@
|
||||
{:class (stl/css :file-name)
|
||||
:title file-name
|
||||
:on-double-click start-editing-name}
|
||||
[:div {:class (stl/css :status-notification)}]
|
||||
file-name])]
|
||||
(when ^boolean shared?
|
||||
[:span {:class (stl/css :shared-badge)} i/library])
|
||||
|
||||
@ -49,6 +49,9 @@
|
||||
@include smallTitleTipography;
|
||||
text-transform: none;
|
||||
color: var(--title-foreground-color-hover);
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.file-name-input {
|
||||
@ -80,3 +83,12 @@
|
||||
width: $s-16;
|
||||
}
|
||||
}
|
||||
|
||||
.status-notification {
|
||||
width: $s-6;
|
||||
height: $s-6;
|
||||
background-color: red;
|
||||
border-radius: 50%;
|
||||
margin-right: $s-4;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user