thecore_ui_commons 3.0.3 → 3.0.5

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: b9ea3a89d88f43c47485c2234d2a9df340b5edbaec9c03609093e9bbe1cc92ec
4
- data.tar.gz: c5f03d4597e17cfc3864f6b9cad995fbdf75dec5655b99fb5a745b747ddd43dc
3
+ metadata.gz: e0e76374c7e5dbc029eaf649d6811ca8ccbc00a634a45bc411b6a6042d26aa38
4
+ data.tar.gz: 38d4ede9c0fa869e882a95419cb11ad3adee54cb992a477a7b94c3f08d48c0a0
5
5
  SHA512:
6
- metadata.gz: 1e6cfc64996eeed741515aa4baa487009d117cd1d7e75a78028adda1735abf37d3f0a5dd2195eb3590ac34de2bb5ddae18706df5ac48b59457431464014d32d1
7
- data.tar.gz: 3e82688c62512a92dcfb4df3ce74e580ef2dadc681c8891eb2363af523e598f1b24e58e1a4e7cb5f42418b4191e4785bf49ea143c1d0451ae48fb3a65be55203
6
+ metadata.gz: b3008e8cd736e8de6f0c5632f6a3c1482ad876e1530475a795503e9054bfb9bf15945c24e2637e16a1ce6495464feb920d88b746385177165133cff24b2f626e
7
+ data.tar.gz: 2d4e089b46073af6f249c6c1c878d823e5624a80e007f0a9c58674d1b092bf95e1375a9630abc7e4e99bbb9849dea2945852f0091ae9f4650c449b8c69d4f443
@@ -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 {
data/db/seeds.rb CHANGED
@@ -1,16 +1,4 @@
1
1
  puts "Loading ThecoreUiCommons seeds"
2
2
 
3
3
  Thecore::Seed.save_setting :importer, :import_from_folder, "tmp/imports"
4
- Thecore::Seed.save_setting :importer, :extension, "txt"
5
-
6
- Thecore::Seed.save_setting :theme, :text_color, "#FFEAD0"
7
- Thecore::Seed.save_setting :theme, :accents_color, "#F76F8E"
8
- Thecore::Seed.save_setting :theme, :background_color, "#96616B"
9
- Thecore::Seed.save_setting :theme, :main_color, "#37505C"
10
- Thecore::Seed.save_setting :theme, :shadows_color, "#113537"
11
-
12
- Thecore::Seed.save_setting :theme, :neutral_color, "#999999"
13
- Thecore::Seed.save_setting :theme, :success_color, "#37BC9B"
14
- Thecore::Seed.save_setting :theme, :info_color, "#CCCCCC"
15
- Thecore::Seed.save_setting :theme, :danger_color, "#E9573F"
16
- Thecore::Seed.save_setting :theme, :warning_color, "#F6BB42"
4
+ Thecore::Seed.save_setting :importer, :extension, "txt"
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.3
4
+ version: 3.0.5
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
@@ -127,7 +127,7 @@ files:
127
127
  - app/assets/javascripts/browserconfig.xml
128
128
  - app/assets/javascripts/devise/sessions.js.erb
129
129
  - app/assets/javascripts/manifest.json.erb
130
- - app/assets/stylesheets/devise/sessions.css.erb
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