mirror of
https://github.com/penpot/penpot.git
synced 2026-05-27 19:03:39 +00:00
✨ Add status notification bubble
This commit is contained in:
parent
55610545d8
commit
7dbf1fd7ef
@ -108,6 +108,7 @@
|
|||||||
{:class (stl/css :file-name)
|
{:class (stl/css :file-name)
|
||||||
:title file-name
|
:title file-name
|
||||||
:on-double-click start-editing-name}
|
:on-double-click start-editing-name}
|
||||||
|
[:div {:class (stl/css :status-notification)}]
|
||||||
file-name])]
|
file-name])]
|
||||||
(when ^boolean shared?
|
(when ^boolean shared?
|
||||||
[:span {:class (stl/css :shared-badge)} i/library])
|
[:span {:class (stl/css :shared-badge)} i/library])
|
||||||
|
|||||||
@ -49,6 +49,9 @@
|
|||||||
@include smallTitleTipography;
|
@include smallTitleTipography;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
color: var(--title-foreground-color-hover);
|
color: var(--title-foreground-color-hover);
|
||||||
|
align-items: center;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-name-input {
|
.file-name-input {
|
||||||
@ -80,3 +83,12 @@
|
|||||||
width: $s-16;
|
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