alchemy_cms 8.1.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,8 @@
52
52
  @page.name,
53
53
  url(:edit_page),
54
54
  title: t(:edit_page),
55
- class: "sitemap_pagename_link"
55
+ class: "sitemap_pagename_link",
56
+ "data-turbo-frame": "_top"
56
57
  ) %>
57
58
  <% else %>
58
59
  <%= content_tag("span", @page.name, class: "sitemap_pagename_link") %>
@@ -1,10 +1,10 @@
1
1
  #errorExplanation {
2
- background: #ffdfdf;
2
+ background: var(--notice-error-background-color);
3
3
  padding: var(--spacing-2);
4
4
  text-align: left;
5
5
  margin-bottom: var(--spacing-2);
6
- border: 1px solid #d08f91;
7
- color: #690001;
6
+ border: 1px solid var(--notice-error-border-color);
7
+ color: var(--notice-error-text-color);
8
8
  border-radius: var(--border-radius_medium);
9
9
 
10
10
  h2 {
@@ -51,16 +51,24 @@ body.error {
51
51
  }
52
52
 
53
53
  .turbo-frame-error {
54
- display: block;
54
+ display: flex;
55
+ align-items: center;
56
+ gap: var(--spacing-2);
55
57
  padding: var(--spacing-2);
56
- background-color: var(--color-yellow_medium);
57
- border: 1px solid var(--color-yellow_dark);
58
+ background-color: var(--notice-warning-background-color);
59
+ border: 1px solid var(--notice-warning-border-color);
58
60
  border-radius: var(--border-radius_medium);
59
61
  margin: var(--spacing-2);
60
- color: var(--color-yellow_dark);
62
+ color: var(--notice-warning-text-color);
61
63
 
62
64
  &:before {
63
- content: "⚠️";
65
+ display: inline-block;
66
+ content: "";
67
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12.8659 3.00017L22.3922 19.5002C22.6684 19.9785 22.5045 20.5901 22.0262 20.8662C21.8742 20.954 21.7017 21.0002 21.5262 21.0002H2.47363C1.92135 21.0002 1.47363 20.5525 1.47363 20.0002C1.47363 19.8246 1.51984 19.6522 1.60761 19.5002L11.1339 3.00017C11.41 2.52187 12.0216 2.358 12.4999 2.63414C12.6519 2.72191 12.7782 2.84815 12.8659 3.00017ZM4.20568 19.0002H19.7941L11.9999 5.50017L4.20568 19.0002ZM10.9999 16.0002H12.9999V18.0002H10.9999V16.0002ZM10.9999 9.00017H12.9999V14.0002H10.9999V9.00017Z'%3E%3C/path%3E%3C/svg%3E")
68
+ no-repeat center center;
69
+ background-color: var(--notice-warning-text-color);
64
70
  padding: var(--spacing-2);
71
+ width: var(--icon-size-md);
72
+ height: var(--icon-size-md);
65
73
  }
66
74
  }
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "8.1.0"
4
+ VERSION = "8.1.1"
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.0
4
+ version: 8.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen