thecore_ui_commons 3.0.4 → 3.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc6bd00f6e681a5c3eb36c22052369cd78a6b043603cca79eadb2717225842ec
4
- data.tar.gz: 9f53eeba6c8a44b03b1fee820042d4ed5771338d21120b3fbff0c5ff65e9b37e
3
+ metadata.gz: 6dd27a645b94418f783b2d33af6efb502eee82c7726113360cdc1866e233631d
4
+ data.tar.gz: ab0658ba5482e95e28475ea802a4965c32516594d0caa7ad7849df38cff065dc
5
5
  SHA512:
6
- metadata.gz: d1ccc0c64bd445ed3600b52fc549853c9f535bc2fa40628e0dc52266ea7c9ef35582b54b4a55b533d1cd2215ff0ef85dd13dd8e923dbe1148e89a979e6721ade
7
- data.tar.gz: fbe0f59ca6a6718669d20d1cb322fac416939702c3c86c92aa856c398e7e6fd50ad1b5f9dfa16cf01a6edc74855967d5a173833f34c6f8ef74a444a3ff1213c5
6
+ metadata.gz: 45cb398b8d6831adff38a42d1d08720170f1baeac8bc393e35f02db5d4cffb57e651fcc70614e4b20f46fa8c0c796d747a6d9c417f4628289160c7866a3ebc9f
7
+ data.tar.gz: ccc7f6e528f7d2879453add2ecad869b3bde7357e36ae2b8351b79ab961fe170b4da56c5379efe88cba0ef7ef63caca90b50614e6c14a600d56eaea424db13a5
@@ -1,5 +1,5 @@
1
1
  {
2
- "short_name": "<%= ThecoreSettings::Setting.where(ns: "main", key: "app_name").first.raw %>",
2
+ "short_name": "Thecore",
3
3
  "icons": [
4
4
  {
5
5
  "src": "<%= image_path 'android-chrome-192x192.png' %>",
@@ -12,9 +12,9 @@
12
12
  "type": "image/png"
13
13
  }
14
14
  ],
15
- "name": "<%= ThecoreSettings::Setting.where(ns: "main", key: "app_name").first.raw %>",
16
- "theme_color": "<%= ThecoreSettings::Setting.where(ns: "theme", key: "main_color").first.raw %>",
17
- "background_color": "<%= ThecoreSettings::Setting.where(ns: "theme", key: "main_color").first.raw %>",
15
+ "name": "Thecore",
16
+ "theme_color": "#37505C",
17
+ "background_color": "#96616B",
18
18
  "orientation": "portrait",
19
19
  "display": "standalone",
20
20
  "optional_permissions": ["clipboardWrite", "clipboardRead"]
@@ -1,44 +1,30 @@
1
- <%
2
- @text_color = Settings.ns(:theme).text_color
3
- @accents_color = Settings.ns(:theme).accents_color
4
- @background_color = Settings.ns(:theme).background_color
5
- @main_color = Settings.ns(:theme).main_color
6
- @shadows_color = Settings.ns(:theme).shadows_color
7
-
8
- @neutral_color = Settings.ns(:theme).neutral_color
9
- @success_color = Settings.ns(:theme).success_color
10
- @info_color = Settings.ns(:theme).info_color
11
- @danger_color = Settings.ns(:theme).danger_color
12
- @warning_color = Settings.ns(:theme).warning_color
13
- %>
14
-
15
1
  html, body {
16
2
  width: 100vw;
17
3
  height: 100vh;
18
4
  }
19
5
  body {
20
6
  margin: 0;
21
- background-color: <%= @main_color %>;
7
+ background-color: #37505C;
22
8
  overflow: hidden;
23
9
  }
24
10
  /* unvisited link */
25
11
  a:link {
26
- color: <%= @accents_color %>;
12
+ color: #F76F8E;
27
13
  }
28
14
 
29
15
  /* visited link */
30
16
  a:visited {
31
- color: <%= @background_color %>;
17
+ color: #96616B;
32
18
  }
33
19
 
34
20
  /* mouse over link */
35
21
  a:hover {
36
- color: <%= @text_color %>;
22
+ color: #FFEAD0;
37
23
  }
38
24
 
39
25
  /* selected link */
40
26
  a:active {
41
- color: <%= @accents_color %>;
27
+ color: #F76F8E;
42
28
  }
43
29
  .container {
44
30
  display : flex;
@@ -51,10 +37,10 @@ a:active {
51
37
  display : flex;
52
38
  align-items : center;
53
39
  justify-content: center;
54
- background-color: <%= @shadows_color %>;
40
+ background-color: #113537;
55
41
  width: 100vw;
56
42
  height: 2em;
57
- color: <%= @text_color %>;
43
+ color: #FFEAD0;
58
44
  padding-top: 4px;
59
45
  padding-bottom: 4px;
60
46
  }
@@ -73,9 +59,9 @@ a:active {
73
59
  align-items : center;
74
60
  justify-content: space-evenly;
75
61
  width: 30vw;
76
- background-color: <%= @shadows_color %>;
62
+ background-color: #113537;
77
63
  border-radius: 1em;
78
- border: 1px solid <%= @background_color %>;
64
+ border: 1px solid #96616B;
79
65
  padding: 1em;
80
66
  }
81
67
  .contained div {
@@ -132,31 +118,31 @@ a:active {
132
118
  }
133
119
 
134
120
  .form-check-label {
135
- color: <%= @text_color %>;
121
+ color: #FFEAD0;
136
122
  }
137
123
 
138
124
  .alert-warning {
139
- color: <%= @shadows_color %>;
140
- background-color: <%= @warning_color %>;
141
- border-color: <%= @background_color %>;
125
+ color: #113537;
126
+ background-color: #F6BB42;
127
+ border-color: #96616B;
142
128
  }
143
129
 
144
130
  .alert-success {
145
- color: <%= @shadows_color %>;
146
- background-color: <%= @success_color %>;
147
- border-color: <%= @background_color %>;
131
+ color: #113537;
132
+ background-color: #37BC9B;
133
+ border-color: #96616B;
148
134
  }
149
135
 
150
136
  .alert-danger {
151
- color: <%= @shadows_color %>;
152
- background-color: <%= @danger_color %>;
153
- border-color: <%= @background_color %>;
137
+ color: #113537;
138
+ background-color: #E9573F;
139
+ border-color: #96616B;
154
140
  }
155
141
 
156
142
  .alert-info {
157
- color: <%= @shadows_color %>;
158
- background-color: <%= @info_color %>;
159
- border-color: <%= @background_color %>;
143
+ color: #113537;
144
+ background-color: #CCCCCC;
145
+ border-color: #96616B;
160
146
  }
161
147
 
162
148
  .alert {
@@ -6,6 +6,7 @@ Rails.application.configure do
6
6
  favicon.ico
7
7
  customer_logo.png
8
8
  logo.png
9
+ manifest.json
9
10
  )
10
11
  config.assets.precompile += %w( devise/sessions.css devise/sessions.js )
11
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -126,8 +126,8 @@ files:
126
126
  - app/assets/images/logo.png
127
127
  - app/assets/javascripts/browserconfig.xml
128
128
  - app/assets/javascripts/devise/sessions.js.erb
129
- - app/assets/javascripts/manifest.json.erb
130
- - app/assets/stylesheets/devise/sessions.css.erb
129
+ - app/assets/javascripts/manifest.json
130
+ - app/assets/stylesheets/devise/sessions.css
131
131
  - app/controllers/application_controller.rb
132
132
  - app/views/active_storage/blobs/_blob.html.erb
133
133
  - app/views/contact_mailer/contact_message.html.erb