avo 2.34.1 → 2.34.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/components/avo/fields/trix_field/edit_component.html.erb +1 -1
- data/app/components/avo/fields/trix_field/show_component.html.erb +1 -1
- data/app/components/avo/profile_item_component.html.erb +17 -2
- data/app/components/avo/profile_item_component.rb +13 -1
- data/app/components/avo/sidebar_profile_component.html.erb +20 -21
- data/app/views/avo/partials/_profile_menu_extra.html.erb +2 -0
- data/lib/avo/menu/link.rb +2 -0
- data/lib/avo/version.rb +1 -1
- data/lib/generators/avo/eject_generator.rb +1 -0
- data/public/avo-assets/avo.base.css +22 -27
- data/public/avo-assets/avo.base.js +335 -334
- data/public/avo-assets/avo.base.js.map +3 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5caaa0f104872cd90bd914312e162afc27e8f5dfaf8f91f9afd66e451c7eca63
|
4
|
+
data.tar.gz: b176d744efbe6873df29ddad684530a7a255985c4de16ea5f8985f81ff58ef94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158353118c9119f5ee022e4c8ac6bc167bfec5f0e30dd468e0c11ec71104e1858cedff5c42315f85be2940a5dc927d4e755d7be520319fd39a25718c4d620b2e
|
7
|
+
data.tar.gz: 98ab9c90ff27498ee50b1212678381c4aebb7f95fa6899115fed0aaa7f7767ca1a15b1e9c3455bbbacb681c2e7221594616140ef6140448763cdd7f05e7afcd7
|
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
<%= link_to t('avo.show_content'), 'javascript:void(0);', class: 'font-bold inline-block', data: { action: 'click->hidden-input#showContent' } %>
|
9
9
|
<% end %>
|
10
10
|
<div class="<%= content_classes %> " data-hidden-input-target="content">
|
11
|
-
<%= sanitize @field.value %>
|
11
|
+
<%= sanitize @field.value.to_s %>
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
<% end %>
|
@@ -1,3 +1,18 @@
|
|
1
|
-
|
2
|
-
<%=
|
1
|
+
<% if method.present? %>
|
2
|
+
<%= button_to path,
|
3
|
+
form_class: "flex-1 flex",
|
4
|
+
class: button_classes,
|
5
|
+
target: target,
|
6
|
+
title: title,
|
7
|
+
method: method,
|
8
|
+
params: params do %>
|
9
|
+
<%= helpers.svg(icon, class: 'h-4 mr-1') if icon.present? %> <%= label %>
|
10
|
+
<% end %>
|
11
|
+
<% else %>
|
12
|
+
<%= link_to path,
|
13
|
+
class: button_classes,
|
14
|
+
target: target,
|
15
|
+
title: title do %>
|
16
|
+
<%= helpers.svg(icon, class: 'h-4 mr-1') if icon.present? %> <%= label %>
|
17
|
+
<% end %>
|
3
18
|
<% end %>
|
@@ -6,17 +6,29 @@ class Avo::ProfileItemComponent < ViewComponent::Base
|
|
6
6
|
attr_reader :path
|
7
7
|
attr_reader :active
|
8
8
|
attr_reader :target
|
9
|
+
attr_reader :method
|
10
|
+
attr_reader :params
|
11
|
+
attr_reader :classes
|
9
12
|
|
10
|
-
def initialize(label: nil, icon: nil, path: nil, active: :inclusive, target: nil, title: nil)
|
13
|
+
def initialize(label: nil, icon: nil, path: nil, active: :inclusive, target: nil, title: nil, method: nil, params: {}, classes: "")
|
11
14
|
@label = label
|
12
15
|
@icon = icon
|
13
16
|
@path = path
|
14
17
|
@active = active
|
15
18
|
@target = target
|
16
19
|
@title = title
|
20
|
+
@method = method
|
21
|
+
@params = params
|
22
|
+
@classes = classes
|
17
23
|
end
|
18
24
|
|
19
25
|
def title
|
20
26
|
@title || @label
|
21
27
|
end
|
28
|
+
|
29
|
+
private
|
30
|
+
|
31
|
+
def button_classes
|
32
|
+
"flex-1 flex items-center justify-center bg-white text-left cursor-pointer text-gray-800 font-semibold hover:bg-primary-100 block px-4 py-1 w-full py-3 text-center rounded w-full"
|
33
|
+
end
|
22
34
|
end
|
@@ -16,26 +16,25 @@
|
|
16
16
|
<% end %>
|
17
17
|
</div>
|
18
18
|
</div>
|
19
|
-
|
20
|
-
<
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
<% Avo::
|
31
|
-
|
32
|
-
<%= render Avo::ProfileItemComponent.new label: item.name, path: item.path, icon: item.icon %>
|
33
|
-
<% end %>
|
19
|
+
<div class="relative" data-controller="toggle-panel">
|
20
|
+
<a class="flex items-center h-full cursor-pointer" data-control="profile-dots" data-action="click->toggle-panel#togglePanel">
|
21
|
+
<%= helpers.svg 'three-dots', class: 'h-4' %>
|
22
|
+
</a>
|
23
|
+
<div
|
24
|
+
class="hidden absolute flex flex-col inset-auto right-0 -mt-12 bg-white rounded min-w-[200px] shadow-context -translate-y-full z-40"
|
25
|
+
data-toggle-panel-target="panel"
|
26
|
+
>
|
27
|
+
<% if Avo::App.has_profile_menu? %>
|
28
|
+
<div class="text-black">
|
29
|
+
<% Avo::App.profile_menu.items.each do |item| %>
|
30
|
+
<% if item.is_a? Avo::Menu::Link %>
|
31
|
+
<%= render Avo::ProfileItemComponent.new label: item.name, path: item.path, icon: item.icon, method: item.method, params: item.params %>
|
34
32
|
<% end %>
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
33
|
+
<% end %>
|
34
|
+
</div>
|
35
|
+
<% end %>
|
36
|
+
<%= render "avo/partials/profile_menu_extra" %>
|
37
|
+
<% if can_destroy_user? %>
|
39
38
|
<%= button_to helpers.main_app.send(destroy_user_session_path),
|
40
39
|
form: { "data-turbo" => "false" },
|
41
40
|
method: :delete,
|
@@ -46,7 +45,7 @@
|
|
46
45
|
form_class: 'flex-1' do %>
|
47
46
|
<%= helpers.svg 'logout', class: 'h-4 mr-1' %> <%= t('avo.sign_out') %>
|
48
47
|
<% end %>
|
49
|
-
|
48
|
+
<% end %>
|
50
49
|
</div>
|
51
|
-
|
50
|
+
</div>
|
52
51
|
</div>
|
data/lib/avo/menu/link.rb
CHANGED
data/lib/avo/version.rb
CHANGED
@@ -17,6 +17,7 @@ module Generators
|
|
17
17
|
pre_head: "app/views/avo/partials/_pre_head.html.erb",
|
18
18
|
scripts: "app/views/avo/partials/_scripts.html.erb",
|
19
19
|
sidebar_extra: "app/views/avo/partials/_sidebar_extra.html.erb",
|
20
|
+
profile_menu_extra: "app/views/avo/partials/_profile_menu_extra.html.erb",
|
20
21
|
}
|
21
22
|
|
22
23
|
def handle
|
@@ -5744,11 +5744,6 @@ progress[value]::-moz-progress-bar{
|
|
5744
5744
|
background-color:rgb(var(--color-primary-500))
|
5745
5745
|
}
|
5746
5746
|
|
5747
|
-
/*
|
5748
|
-
Trix 1.3.1
|
5749
|
-
Copyright © 2020 Basecamp, LLC
|
5750
|
-
http://trix-editor.org/*/
|
5751
|
-
|
5752
5747
|
trix-editor {
|
5753
5748
|
border: 1px solid #bbb;
|
5754
5749
|
border-radius: 3px;
|
@@ -5782,7 +5777,7 @@ trix-toolbar .trix-button-group:not(:first-child) {
|
|
5782
5777
|
margin-left: 1.5vw;
|
5783
5778
|
}
|
5784
5779
|
|
5785
|
-
@media (max-
|
5780
|
+
@media (max-width: 768px) {
|
5786
5781
|
trix-toolbar .trix-button-group:not(:first-child) {
|
5787
5782
|
margin-left: 0;
|
5788
5783
|
}
|
@@ -5792,7 +5787,7 @@ trix-toolbar .trix-button-group-spacer {
|
|
5792
5787
|
flex-grow: 1;
|
5793
5788
|
}
|
5794
5789
|
|
5795
|
-
@media (max-
|
5790
|
+
@media (max-width: 768px) {
|
5796
5791
|
trix-toolbar .trix-button-group-spacer {
|
5797
5792
|
display: none;
|
5798
5793
|
}
|
@@ -5831,7 +5826,7 @@ trix-toolbar .trix-button:disabled {
|
|
5831
5826
|
color: rgba(0, 0, 0, 0.125);
|
5832
5827
|
}
|
5833
5828
|
|
5834
|
-
@media (max-
|
5829
|
+
@media (max-width: 768px) {
|
5835
5830
|
trix-toolbar .trix-button {
|
5836
5831
|
letter-spacing: -0.01em;
|
5837
5832
|
padding: 0 0.3em;
|
@@ -5846,7 +5841,7 @@ trix-toolbar .trix-button--icon {
|
|
5846
5841
|
text-indent: -9999px;
|
5847
5842
|
}
|
5848
5843
|
|
5849
|
-
@media (max-
|
5844
|
+
@media (max-width: 768px) {
|
5850
5845
|
trix-toolbar .trix-button--icon {
|
5851
5846
|
height: 2em;
|
5852
5847
|
max-width: calc(0.8em + 3.5vw);
|
@@ -5867,7 +5862,7 @@ trix-toolbar .trix-button--icon::before {
|
|
5867
5862
|
background-size: contain;
|
5868
5863
|
}
|
5869
5864
|
|
5870
|
-
@media (max-
|
5865
|
+
@media (max-width: 768px) {
|
5871
5866
|
trix-toolbar .trix-button--icon::before {
|
5872
5867
|
right: 6%;
|
5873
5868
|
left: 6%;
|
@@ -5883,61 +5878,61 @@ trix-toolbar .trix-button--icon:disabled::before {
|
|
5883
5878
|
}
|
5884
5879
|
|
5885
5880
|
trix-toolbar .trix-button--icon-attach::before {
|
5886
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5881
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M10.5%2018V7.5c0-2.25%203-2.25%203%200V18c0%204.125-6%204.125-6%200V7.5c0-6.375%209-6.375%209%200V18%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-miterlimit%3D%2210%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
|
5887
5882
|
top: 8%;
|
5888
5883
|
bottom: 4%;
|
5889
5884
|
}
|
5890
5885
|
|
5891
5886
|
trix-toolbar .trix-button--icon-bold::before {
|
5892
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5887
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.522%2019.242a.5.5%200%200%201-.5-.5V5.35a.5.5%200%200%201%20.5-.5h5.783c1.347%200%202.46.345%203.24.982.783.64%201.216%201.562%201.216%202.683%200%201.13-.587%202.129-1.476%202.71a.35.35%200%200%200%20.049.613c1.259.56%202.101%201.742%202.101%203.22%200%201.282-.483%202.334-1.363%203.063-.876.726-2.132%201.12-3.66%201.12h-5.89ZM9.27%207.347v3.362h1.97c.766%200%201.347-.17%201.733-.464.38-.291.587-.716.587-1.27%200-.53-.183-.928-.513-1.198-.334-.273-.838-.43-1.505-.43H9.27Zm0%205.606v3.791h2.389c.832%200%201.448-.177%201.853-.497.399-.315.614-.786.614-1.423%200-.62-.22-1.077-.63-1.385-.418-.313-1.053-.486-1.905-.486H9.27Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5893
5888
|
}
|
5894
5889
|
|
5895
5890
|
trix-toolbar .trix-button--icon-italic::before {
|
5896
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5891
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M9%205h6.5v2h-2.23l-2.31%2010H13v2H6v-2h2.461l2.306-10H9V5Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5897
5892
|
}
|
5898
5893
|
|
5899
5894
|
trix-toolbar .trix-button--icon-link::before {
|
5900
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5895
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M18.948%205.258a4.337%204.337%200%200%200-6.108%200L11.217%206.87a.993.993%200%200%200%200%201.41c.392.39%201.027.39%201.418%200l1.623-1.613a2.323%202.323%200%200%201%203.271%200%202.29%202.29%200%200%201%200%203.251l-2.393%202.38a3.021%203.021%200%200%201-4.255%200l-.05-.049a1.007%201.007%200%200%200-1.418%200%20.993.993%200%200%200%200%201.41l.05.049a5.036%205.036%200%200%200%207.091%200l2.394-2.38a4.275%204.275%200%200%200%200-6.072Zm-13.683%2013.6a4.337%204.337%200%200%200%206.108%200l1.262-1.255a.993.993%200%200%200%200-1.41%201.007%201.007%200%200%200-1.418%200L9.954%2017.45a2.323%202.323%200%200%201-3.27%200%202.29%202.29%200%200%201%200-3.251l2.344-2.331a2.579%202.579%200%200%201%203.631%200c.392.39%201.027.39%201.419%200a.993.993%200%200%200%200-1.41%204.593%204.593%200%200%200-6.468%200l-2.345%202.33a4.275%204.275%200%200%200%200%206.072Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5901
5896
|
}
|
5902
5897
|
|
5903
5898
|
trix-toolbar .trix-button--icon-strike::before {
|
5904
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5899
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6%2014.986c.088%202.647%202.246%204.258%205.635%204.258%203.496%200%205.713-1.728%205.713-4.463%200-.275-.02-.536-.062-.781h-3.461c.398.293.573.654.573%201.123%200%201.035-1.074%201.787-2.646%201.787-1.563%200-2.773-.762-2.91-1.924H6ZM6.432%2010h3.763c-.632-.314-.914-.715-.914-1.273%200-1.045.977-1.739%202.432-1.739%201.475%200%202.52.723%202.617%201.914h2.764c-.05-2.548-2.11-4.238-5.39-4.238-3.145%200-5.392%201.719-5.392%204.316%200%20.363.04.703.12%201.02ZM4%2011a1%201%200%201%200%200%202h15a1%201%200%201%200%200-2H4Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5905
5900
|
}
|
5906
5901
|
|
5907
5902
|
trix-toolbar .trix-button--icon-quote::before {
|
5908
|
-
background-image: url(data:image/svg+xml,%3Csvg%
|
5903
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.581%208.471c.44-.5%201.056-.834%201.758-.995C8.074%207.17%209.201%207.822%2010%208.752c1.354%201.578%201.33%203.555.394%205.277-.941%201.731-2.788%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.121-.49.16-.764.294-.286.567-.566.791-.835.222-.266.413-.54.524-.815.113-.28.156-.597.026-.908-.128-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.674-2.7c0-.905.283-1.59.72-2.088Zm9.419%200c.44-.5%201.055-.834%201.758-.995%201.734-.306%202.862.346%203.66%201.276%201.355%201.578%201.33%203.555.395%205.277-.941%201.731-2.789%203.163-4.988%203.56a.622.622%200%200%201-.653-.317c-.113-.205-.122-.49.16-.764.294-.286.567-.566.791-.835.222-.266.412-.54.523-.815.114-.28.157-.597.026-.908-.127-.303-.39-.524-.72-.69a3.02%203.02%200%200%201-1.672-2.701c0-.905.283-1.59.72-2.088Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5909
5904
|
}
|
5910
5905
|
|
5911
5906
|
trix-toolbar .trix-button--icon-heading-1::before {
|
5912
|
-
background-image: url(data:image/svg+xml,%3Csvg%
|
5907
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21.5%207.5v-3h-12v3H14v13h3v-13h4.5ZM9%2013.5h3.5v-3h-10v3H6v7h3v-7Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5913
5908
|
}
|
5914
5909
|
|
5915
5910
|
trix-toolbar .trix-button--icon-code::before {
|
5916
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5911
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3.293%2011.293a1%201%200%200%200%200%201.414l4%204a1%201%200%201%200%201.414-1.414L5.414%2012l3.293-3.293a1%201%200%200%200-1.414-1.414l-4%204Zm13.414%205.414%204-4a1%201%200%200%200%200-1.414l-4-4a1%201%200%201%200-1.414%201.414L18.586%2012l-3.293%203.293a1%201%200%200%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5917
5912
|
}
|
5918
5913
|
|
5919
5914
|
trix-toolbar .trix-button--icon-bullet-list::before {
|
5920
|
-
background-image: url(data:image/svg+xml,%3Csvg%
|
5915
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%207.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203ZM8%206a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-2.5-5a1.5%201.5%200%201%201-3%200%201.5%201.5%200%200%201%203%200ZM5%2019.5a1.5%201.5%200%201%200%200-3%201.5%201.5%200%200%200%200%203Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5921
5916
|
}
|
5922
5917
|
|
5923
5918
|
trix-toolbar .trix-button--icon-number-list::before {
|
5924
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5919
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%204h2v4H4V5H3V4Zm5%202a1%201%200%200%201%201-1h11a1%201%200%201%201%200%202H9a1%201%200%200%201-1-1Zm1%205a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm0%206a1%201%200%201%200%200%202h11a1%201%200%201%200%200-2H9Zm-3.5-7H6v1l-1.5%202H6v1H3v-1l1.667-2H3v-1h2.5ZM3%2017v-1h3v4H3v-1h2v-.5H4v-1h1V17H3Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5925
5920
|
}
|
5926
5921
|
|
5927
5922
|
trix-toolbar .trix-button--icon-undo::before {
|
5928
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5923
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M3%2014a1%201%200%200%200%201%201h6a1%201%200%201%200%200-2H6.257c2.247-2.764%205.151-3.668%207.579-3.264%202.589.432%204.739%202.356%205.174%205.405a1%201%200%200%200%201.98-.283c-.564-3.95-3.415-6.526-6.825-7.095C11.084%207.25%207.63%208.377%205%2011.39V8a1%201%200%200%200-2%200v6Zm2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5929
5924
|
}
|
5930
5925
|
|
5931
5926
|
trix-toolbar .trix-button--icon-redo::before {
|
5932
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5927
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M21%2014a1%201%200%200%201-1%201h-6a1%201%200%201%201%200-2h3.743c-2.247-2.764-5.151-3.668-7.579-3.264-2.589.432-4.739%202.356-5.174%205.405a1%201%200%200%201-1.98-.283c.564-3.95%203.415-6.526%206.826-7.095%203.08-.513%206.534.614%209.164%203.626V8a1%201%200%201%201%202%200v6Zm-2-1Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5933
5928
|
}
|
5934
5929
|
|
5935
5930
|
trix-toolbar .trix-button--icon-decrease-nesting-level::before {
|
5936
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5931
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-3.707-5.707a1%201%200%200%200%200%201.414l2%202a1%201%200%201%200%201.414-1.414L4.414%2012l1.293-1.293a1%201%200%200%200-1.414-1.414l-2%202Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5937
5932
|
}
|
5938
5933
|
|
5939
5934
|
trix-toolbar .trix-button--icon-increase-nesting-level::before {
|
5940
|
-
background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%
|
5935
|
+
background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M5%206a1%201%200%200%201%201-1h12a1%201%200%201%201%200%202H6a1%201%200%200%201-1-1Zm4%205a1%201%200%201%200%200%202h9a1%201%200%201%200%200-2H9Zm-3%206a1%201%200%201%200%200%202h12a1%201%200%201%200%200-2H6Zm-2.293-2.293%202-2a1%201%200%200%200%200-1.414l-2-2a1%201%200%201%200-1.414%201.414L3.586%2012l-1.293%201.293a1%201%200%201%200%201.414%201.414Z%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
|
5941
5936
|
}
|
5942
5937
|
|
5943
5938
|
trix-toolbar .trix-dialogs {
|
@@ -6011,7 +6006,7 @@ trix-editor [data-trix-mutable] ::selection {
|
|
6011
6006
|
background: none;
|
6012
6007
|
}
|
6013
6008
|
|
6014
|
-
trix-editor [data-trix-mutable]
|
6009
|
+
trix-editor .attachment__caption-editor:focus[data-trix-mutable]::selection {
|
6015
6010
|
background: highlight;
|
6016
6011
|
}
|
6017
6012
|
|
@@ -6130,7 +6125,7 @@ trix-editor .trix-button--remove::before {
|
|
6130
6125
|
left: 0;
|
6131
6126
|
opacity: 0.7;
|
6132
6127
|
content: "";
|
6133
|
-
background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.
|
6128
|
+
background-image: url("data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.41%2017.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E");
|
6134
6129
|
background-position: center;
|
6135
6130
|
background-repeat: no-repeat;
|
6136
6131
|
background-size: 90%;
|
@@ -6250,7 +6245,7 @@ trix-editor .attachment__metadata .attachment__size {
|
|
6250
6245
|
}
|
6251
6246
|
|
6252
6247
|
.trix-content .attachment__caption .attachment__name + .attachment__size::before {
|
6253
|
-
content: '
|
6248
|
+
content: ' \2022 ';
|
6254
6249
|
}
|
6255
6250
|
|
6256
6251
|
.trix-content .attachment--preview {
|