This commit is contained in:
ivanminutillo 2022-11-11 18:02:55 +01:00
parent 92d7601ffd
commit 9a376e28ff
9 changed files with 60 additions and 24 deletions

View file

@ -2,4 +2,4 @@
# yarn lockfile v1
lastUpdateCheck 1668079066549
lastUpdateCheck 1668174113757

View file

@ -419,20 +419,7 @@ article figure iframe {
.prose .mention {
@apply link-primary link-hover;
}
.mention-item {
@apply flex items-center font-semibold;
}
.mention-item .mention-item-name {
font-size: 14px !important;
color: hsla(var(--n)) !important;
font-weight: 700 !important;
}
.mention-item .mention-item-username {
margin-left: 4px !important;
color: hsla(var(--n) / 0.7) !important;
}
.ck.ck-placeholder:before,
.ck .ck-placeholder:before {
@ -443,7 +430,15 @@ article figure iframe {
margin-top: 8px !important;
}
.ck.ck-list__item {
.ck-balloon-panel_visible {
@apply !border-none !bg-neutral
}
.ck_list {
@apply !bg-neutral !border-none !shadow !menu !m-0 !p-0;
}
.ck-list__item {
cursor: pointer !important;
border-radius: 4px !important;
}
@ -452,8 +447,17 @@ article figure iframe {
cursor: pointer !important;
}
.mention_item-name {
@apply !text-neutral-content !font-semibold;
}
.mention_item-username {
@apply !ml-1 !font-light !text-neutral-content/80;
}
.ck.ck-list__item .ck-button.ck-on {
background-color: hsla(var(--p) / 0.2) !important;
@apply !bg-base-content/5 !block !w-full;
}
.ck.ck-reset.ck-list.ck-mentions {
@ -461,7 +465,7 @@ article figure iframe {
}
.ck-content .mention {
color: hsla(var(--bc) / 0.2) !important;
@apply !text-primary !link;
}
.ck.ck-balloon-panel.ck-balloon-panel_caret_se.ck-balloon-panel_visible {

View file

@ -26,8 +26,8 @@ More details at https://bonfirenetworks.org",
# end theme
# rich_text_editor_disabled: true,
rich_text_editor: Bonfire.Editor.Quill,
# rich_text_editor: Bonfire.Editor.Ck,
# rich_text_editor: Bonfire.Editor.Quill,
rich_text_editor: Bonfire.Editor.Ck,
# default
font_family: "Inter (Latin Languages)",
font_families: [

View file

@ -11,12 +11,12 @@ import { CarouselHooks } from "./../../../deps/bonfire_ui_common/assets/js/carou
import { ThemeHooks } from "./../../../deps/bonfire_ui_common/assets/js/theme"
import { FeedHooks } from "./../../../deps/bonfire_ui_common/assets/js/feed"
import { ImageHooks } from "./../../../deps/bonfire_ui_common/assets/js/image"
// import { EditorCkHooks } from "./../../../deps/bonfire_editor_ck/assets/js/extension"
import { EditorCkHooks } from "./../../../deps/bonfire_editor_ck/assets/js/extension"
import { EditorQuillHooks } from "./../../../deps/bonfire_editor_quill/assets/js/extension"
import { GeolocateHooks } from "./../../../deps/bonfire_geolocate/assets/js/extension"
import { KanbanHooks } from "./../../../deps/bonfire_ui_kanban/assets/js/extension"
Object.assign(ExtensionHooks, CarouselHooks, FeedHooks, ChangeLocaleHooks, InputSelectHooks, NotificationsHooks, ThemeHooks, ImageHooks, EditorQuillHooks, GeolocateHooks, KanbanHooks) // EditorCkHooks
Object.assign(ExtensionHooks, EditorCkHooks, CarouselHooks, FeedHooks, ChangeLocaleHooks, InputSelectHooks, NotificationsHooks, ThemeHooks, ImageHooks, EditorQuillHooks, GeolocateHooks, KanbanHooks) // EditorCkHooks
export { ExtensionHooks }

View file

@ -58,7 +58,7 @@
{#else}
<div class="max-w-screen-md mx-auto">
<!-- <Bonfire.Classify.Web.TopicsNavLive id="my_fav_topics" /> -->
<div x-data="{selectedId: 'posts'}" class="block mx-3 mt-6 mb-3 rounded-md shadow bg-base-100">
<!-- <div x-data="{selectedId: 'posts'}" class="block mt-6 mb-3 rounded-md shadow bg-base-100">
<div
x-ref="tablist"
@keydown.right.prevent.stop="$focus.wrap().next()"
@ -99,7 +99,7 @@
<section x-show="selectedId === 'lists'" role="tabpanel">
</section>
</div>
</div>
</div> -->
<!-- <div class="mt-6">
<Bonfire.UI.Common.MyPinnedLive
@ -109,7 +109,7 @@
/>
</div> -->
<div class="">
<div class="mt-6">
<Bonfire.UI.Social.FeedLive
id="feeds"
feed_id={@feed_id}

View file

@ -0,0 +1,8 @@
defmodule Iconify.Fluent.Drafts16Filled do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M13.98 1.998a2.621 2.621 0 0 0-3.71.003l-.78.783l3.706 3.707l.786-.788a2.621 2.621 0 0 0-.003-3.705ZM2.802 9.49l5.98-5.998l3.707 3.707l-5.977 5.995a1.5 1.5 0 0 1-.558.354l-3.969 1.416a.75.75 0 0 1-.958-.96l1.426-3.963a1.5 1.5 0 0 1 .349-.551ZM1.5 2h7.357L7.86 3H1.5a.5.5 0 0 1 0-1Zm0 2h5.363l-.997 1H1.5a.5.5 0 0 1 0-1Zm0 2h3.37l-.998 1H1.5a.5.5 0 0 1 0-1Z"/></svg>
"""
end
end

View file

@ -0,0 +1,8 @@
defmodule Iconify.Gg.Expand do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="m12.306 16.593l-.035 2l-6.999-.122l.123-7l2 .036l-.063 3.585l7.894-7.624l-3.532-.061l.035-2l6.999.122l-.123 7l-2-.036l.064-3.638l-7.948 7.676l3.585.062Z"/></svg>
"""
end
end

View file

@ -0,0 +1,8 @@
defmodule Iconify.HeroiconsSolid.EmojiHappy do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 20 20" aria-hidden="true"><path fill="currentColor" fill-rule="evenodd" d="M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM7 9a1 1 0 1 0 0-2a1 1 0 0 0 0 2Zm7-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm-.464 5.535a1 1 0 1 0-1.415-1.414a3 3 0 0 1-4.242 0a1 1 0 0 0-1.415 1.414a5 5 0 0 0 7.072 0Z" clip-rule="evenodd"/></svg>
"""
end
end

View file

@ -0,0 +1,8 @@
defmodule Iconify.Pajamas.ExpandUp do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" fill-rule="evenodd" d="M11.78 5.841a.75.75 0 0 1-1.06 0l-1.97-1.97v7.379a.75.75 0 0 1-1.5 0V3.871l-1.97 1.97a.75.75 0 0 1-1.06-1.06l3.25-3.25L8 1l.53.53l3.25 3.25a.75.75 0 0 1 0 1.061ZM3.75 13.5a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5h-8.5Z" clip-rule="evenodd"/></svg>
"""
end
end