0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-11 06:21:30 -05:00

🎉 Change pin icon

This commit is contained in:
Elhombretecla 2022-09-29 12:11:09 +02:00 committed by Eva
parent 8d5a97f6e5
commit 23d1087bc5
21 changed files with 46 additions and 47 deletions

View file

@ -1,4 +1,3 @@
<svg width="12" xmlns="http://www.w3.org/2000/svg" height="12" x="767" viewBox="0 0 500 499.172" y="920.67">
<path d="M325.318.012c-21.828-.283-42.138 15.34-48.74 35.798-15.498 31.788-36.62 62.656-67.738 80.85-46.02 26.248-99.73 35.59-152.188 35.65-11.824-.026-24.336 1.564-34 9.065-18.02 12.488-27.52 36.96-20.133 58.034 4.15 13.85 14.838 24.125 25.197 33.582l86.5 86.5C84.488 381.137 30.993 456.543 1.26 498.187c41.623-29.727 117.01-83.215 158.632-112.942 37.542 36.62 68.373 70.025 106.956 105.56 23.195 15.987 59.377 8.335 73.035-16.723 7.6-12.733 8.225-27.804 7.5-42.23 1.366-50.12 11.25-101.404 37.675-144.67 20.658-31.714 53.59-52.978 87.635-68.023 20.972-10.427 31.76-36.413 25.57-58.77-2.664-11.118-9.64-20.31-17.897-27.873-37.25-36.595-73.2-74.495-110.7-110.84-7.227-6.593-13.718-14.767-23.268-17.904-6.682-2.644-13.898-3.908-21.08-3.758zm-.26 36.837c45.35 46.82 90.704 93.64 136.056 140.46-40.437 18.15-79.907 42.182-106.303 78.613-30.216 43.44-43.98 96.178-48.765 148.346-1.852 21.542-2.097 43.256-1.726 64.933-91.546-91.52-183.09-183.044-274.634-274.564 60.078 2.462 121.696-4.117 176.98-28.967 38.773-15.762 70.437-46.032 91.712-81.66 9.637-15.522 17.813-31.905 25.36-48.525z" />
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 132.292 132.292">
<path d="M78.822.204l-3.3 3.3L56.69 22.335l2.698 9.296-17.315 17.316-18.998-12.4L0 59.624l32.865 32.865-31.33 31.33 6.598 6.599 31.33-31.33 33.001 33 23.076-23.075-12.128-18.726 17.316-17.315 9.432 2.834 22.132-22.13zm0 13.197l40.274 40.274-9.983 10.123-9.369-2.771-28.33 28.33 11.919 18.665-10.869 10.869-59.268-59.269 10.868-10.868 18.926 12.18 28.331-28.33-2.578-9.177z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 481 B

View file

@ -121,7 +121,7 @@
span.date {
color: $color-gray-30;
font-size: $fs14;
font-size: $fs13;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;

View file

@ -38,7 +38,7 @@
top: 50px;
z-index: 12;
max-height: 30rem;
min-width: 230px;
min-width: 234px;
overflow-y: auto;
}
@ -88,8 +88,8 @@
display: flex;
height: 48px;
align-items: center;
&.action {
&.action {
.team-icon {
border-radius: 50%;
background-color: $color-gray-10;
@ -97,13 +97,13 @@
margin-right: 10px;
padding: 6px;
width: 24px;
svg {
height: 12px;
width: 12px;
}
}
&:hover {
.team-icon {
background-color: $color-primary;

View file

@ -174,6 +174,10 @@
&.no-bg {
background-color: transparent;
}
&.dashboard-shared {
width: calc(100vw - 320px);
margin-right: 50px;
}
&.search {
margin-top: 10px;
@ -250,7 +254,7 @@
line-height: 1rem;
font-weight: 400;
color: $color-gray-60;
margin-left: .75rem;
margin-left: 0.75rem;
}
.project-actions {

View file

@ -29,10 +29,7 @@
width (mf/use-state nil)
rowref (mf/use-ref)
itemsize (if (>= @width 1030)
280
230)
itemsize 330
ratio (if (some? @width) (/ @width itemsize) 0)
nitems (mth/floor ratio)
limit (min 10 nitems)
@ -50,27 +47,26 @@
#(st/emit! (dd/fetch-shared-files)
(dd/clear-selected-files)))
(mf/use-effect
(fn []
(let [node (mf/ref-val rowref)
mnt? (volatile! true)
sub (->> (wapi/observe-resize node)
(rx/observe-on :af)
(rx/subs (fn [entries]
(let [row (first entries)
row-rect (.-contentRect ^js row)
row-width (.-width ^js row-rect)]
(when @mnt?
(reset! width row-width))))))]
(fn []
(vreset! mnt? false)
(rx/dispose! sub)))))
(mf/with-effect
(let [node (mf/ref-val rowref)
mnt? (volatile! true)
sub (->> (wapi/observe-resize node)
(rx/observe-on :af)
(rx/subs (fn [entries]
(let [row (first entries)
row-rect (.-contentRect ^js row)
row-width (.-width ^js row-rect)]
(when @mnt?
(reset! width row-width))))))]
(fn []
(vreset! mnt? false)
(rx/dispose! sub))))
[:*
[:header.dashboard-header
[:header.dashboard-header {:ref rowref}
[:div.dashboard-title
[:h1 (tr "dashboard.libraries-title")]]]
[:section.dashboard-container.no-bg {:ref rowref}
[:section.dashboard-container.no-bg.dashboard-shared
[:& grid {:files files
:project default-project
:origin :libraries

View file

@ -230,7 +230,7 @@ msgstr "(نسخة)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ إنشاء فريق جديد"
msgstr "إنشاء فريق جديد"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -175,7 +175,7 @@ msgstr "(kopi)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Opret nyt team"
msgstr "Opret nyt team"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -244,7 +244,7 @@ msgstr "(Kopie)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Neues Team erstellen"
msgstr "Neues Team erstellen"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -173,7 +173,7 @@ msgstr "(Αντίγραφο)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Δημιουργία νέας ομάδας"
msgstr "Δημιουργία νέας ομάδας"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -238,7 +238,7 @@ msgstr "(kopia)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Sortu talde berria"
msgstr "Sortu talde berria"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -247,7 +247,7 @@ msgstr "(کپی)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ ایجاد تیم جدید"
msgstr "ایجاد تیم جدید"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -237,7 +237,7 @@ msgstr "(עותק)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ יצירת צוות חדש"
msgstr "יצירת צוות חדש"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -237,7 +237,7 @@ msgstr "(salin)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Buat tim baru"
msgstr "Buat tim baru"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -231,7 +231,7 @@ msgstr "(コピー)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ チームを新規作成"
msgstr "チームを新規作成"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -211,7 +211,7 @@ msgstr "(kopija)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Sukurti naują komandą"
msgstr "Sukurti naują komandą"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -212,7 +212,7 @@ msgstr "(പകർത്തുക)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ പുതിയ സംഘം രൂപീകരിക്കുക"
msgstr "പുതിയ സംഘം രൂപീകരിക്കുക"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -209,7 +209,7 @@ msgstr "(skopiuj)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Utwórz nowy zespół"
msgstr "Utwórz nowy zespół"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -206,7 +206,7 @@ msgstr "(копия)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Создать новую команду"
msgstr "Создать новую команду"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -242,7 +242,7 @@ msgstr "(kopya)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ Yeni takım oluştur"
msgstr "Yeni takım oluştur"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -206,7 +206,7 @@ msgstr "(拷贝)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ 创建新团队"
msgstr "创建新团队"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"

View file

@ -205,7 +205,7 @@ msgstr "(複製)"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.create-new-team"
msgstr "+ 建立新團隊"
msgstr "建立新團隊"
#: src/app/main/ui/dashboard/sidebar.cljs
msgid "dashboard.default-team-name"