mirror of
https://github.com/penpot/penpot.git
synced 2025-06-16 05:21:38 +02:00
🐛 Add missing inline banner.
This commit is contained in:
parent
5f9d3606f6
commit
69f0f16085
3 changed files with 8 additions and 33 deletions
|
@ -5,8 +5,6 @@
|
||||||
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
|
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
|
||||||
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
||||||
|
|
||||||
// TODO: juan revisit
|
|
||||||
|
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
|
@ -16,30 +14,6 @@ textarea {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.featured-note {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: $fs11;
|
|
||||||
padding: 10px;
|
|
||||||
margin-bottom: 25px;
|
|
||||||
background-color: rgba(#59B9E2, 0.05);
|
|
||||||
color: $color-gray-60;
|
|
||||||
|
|
||||||
.icon {
|
|
||||||
display: flex;
|
|
||||||
padding: 10px;
|
|
||||||
svg {
|
|
||||||
width: 16px;
|
|
||||||
height: 16px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.warning {
|
|
||||||
color: $color-danger;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.generic-form {
|
.generic-form {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
|
@ -11,10 +11,11 @@
|
||||||
(:require
|
(:require
|
||||||
[cljs.spec.alpha :as s]
|
[cljs.spec.alpha :as s]
|
||||||
[rumext.alpha :as mf]
|
[rumext.alpha :as mf]
|
||||||
[uxbox.main.ui.icons :as i]
|
|
||||||
[uxbox.main.data.auth :as da]
|
[uxbox.main.data.auth :as da]
|
||||||
[uxbox.main.data.users :as du]
|
[uxbox.main.data.users :as du]
|
||||||
[uxbox.main.store :as st]
|
[uxbox.main.store :as st]
|
||||||
|
[uxbox.main.ui.icons :as i]
|
||||||
|
[uxbox.main.ui.messages :as msgs]
|
||||||
[uxbox.main.ui.modal :as modal]
|
[uxbox.main.ui.modal :as modal]
|
||||||
[uxbox.util.i18n :as i18n :refer [tr t]]))
|
[uxbox.util.i18n :as i18n :refer [tr t]]))
|
||||||
|
|
||||||
|
@ -27,9 +28,9 @@
|
||||||
[:section.modal-content.generic-form
|
[:section.modal-content.generic-form
|
||||||
[:h2 (t locale "settings.delete-account-title")]
|
[:h2 (t locale "settings.delete-account-title")]
|
||||||
|
|
||||||
[:span.featured-note
|
[:& msgs/inline-banner
|
||||||
[:span.text
|
{:type :warning
|
||||||
[:span (t locale "settings.delete-account-info")]]]
|
:content (t locale "settings.delete-account-info")}]
|
||||||
|
|
||||||
[:div.button-row
|
[:div.button-row
|
||||||
[:button.btn-warning.btn-large
|
[:button.btn-warning.btn-large
|
||||||
|
|
|
@ -160,9 +160,9 @@
|
||||||
:path [:> path-wrapper opts]
|
:path [:> path-wrapper opts]
|
||||||
:image [:> image-wrapper opts]
|
:image [:> image-wrapper opts]
|
||||||
:circle [:> circle-wrapper opts]
|
:circle [:> circle-wrapper opts]
|
||||||
:group [:> group-container
|
:group [:> group-container
|
||||||
{:shape shape
|
{:shape shape
|
||||||
:frame frame}])))))))
|
:frame frame}])))))))
|
||||||
|
|
||||||
(mf/defc frame-svg
|
(mf/defc frame-svg
|
||||||
{::mf/wrap [mf/memo]}
|
{::mf/wrap [mf/memo]}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue