thecore_ui_rails_admin 2.4.6 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/rails_admin/custom/ui.js +21 -1
- data/app/assets/javascripts/rails_admin/{ra.widgets.coffee → ra.widgets.coffee.older} +0 -0
- data/app/assets/stylesheets/rails_admin/custom/theming.scss +137 -0
- data/config/initializers/rails_admin.rb +3 -1
- data/config/locales/it.index_cards.custom.yml +2 -2
- data/config/locales/it.main.yml +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a4ff08c7737044e3c475e9c137d747179c7533597d8e694d479fd3cf61d17b6
|
4
|
+
data.tar.gz: cd22b05565e8921de834eb368f4cf95cbd1b436077923e4968d885ddecf94842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 281f5b9c657f42a767f23cc9f0e90a4a8fc3252d4fd1bbb6feb16acef8cd78bf15699b13c18a29a5efdb9f1ec7c610cfcca9dbb57414c518b9f714f2718eab8e
|
7
|
+
data.tar.gz: 2fcd899b16c3a9ad3f71da23b11722254dbe3feefc855b7f896c3f86e34fd9f9c2565e02c56f989d8d953dee564ee9eb9fc91296ec00a9a154df5eeac56a2c42
|
@@ -5,4 +5,24 @@
|
|
5
5
|
//= require rails_admin/custom/thecore-custom-2
|
6
6
|
//= require rails_admin/custom/thecore-custom-3
|
7
7
|
//= require rails_admin/custom/thecore-custom-4
|
8
|
-
//= require rails_admin/custom/thecore-custom-5
|
8
|
+
//= require rails_admin/custom/thecore-custom-5
|
9
|
+
|
10
|
+
function hideBreadCrumbAndToolbar() {
|
11
|
+
// If the page loaded has a tag like <span class="hide-breadcrumb hide-toolbar"></span>
|
12
|
+
// then hide the elements
|
13
|
+
|
14
|
+
// var actionName = "#{action_name}"
|
15
|
+
// var isRoot = "#{RailsAdmin::Config::Actions.find(action_name.to_sym).root?}"
|
16
|
+
|
17
|
+
// console.log(actionName, isRoot)
|
18
|
+
|
19
|
+
if($(".hide-breadcrumb").length) $(".breadcrumb").hide()
|
20
|
+
else $(".breadcrumb").show()
|
21
|
+
|
22
|
+
if($(".hide-toolbar").length) $(".breadcrumb + .nav.nav-tabs").hide()
|
23
|
+
else $(".breadcrumb + .nav.nav-tabs").show()
|
24
|
+
}
|
25
|
+
|
26
|
+
// Re evaluate at each iteraction
|
27
|
+
$(document).off('ready pjax:success', hideBreadCrumbAndToolbar);
|
28
|
+
$(document).on('ready pjax:success', hideBreadCrumbAndToolbar);
|
File without changes
|
@@ -7,6 +7,143 @@
|
|
7
7
|
@import 'rails_admin/custom/theming-custom-4';
|
8
8
|
@import 'rails_admin/custom/theming-custom-5';
|
9
9
|
|
10
|
+
body.rails_admin .sidebar-nav {
|
11
|
+
background-color: $shadows !important;
|
12
|
+
|
13
|
+
a {
|
14
|
+
|
15
|
+
color: white !important;
|
16
|
+
|
17
|
+
i,
|
18
|
+
span {
|
19
|
+
padding-right: .5em !important;
|
20
|
+
color: white !important;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
body.rails_admin .sidebar-nav>.nav-stacked>li>a {
|
26
|
+
padding: 6px 15px 6px 25px !important;
|
27
|
+
|
28
|
+
&:hover,
|
29
|
+
&:focus {
|
30
|
+
background-color: $text !important;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
body {
|
35
|
+
background-color: $background !important;
|
36
|
+
}
|
37
|
+
|
38
|
+
.navbar-default {
|
39
|
+
background-color: $background !important;
|
40
|
+
border-color: $background !important;
|
41
|
+
|
42
|
+
.navbar-brand {
|
43
|
+
color: $primary !important;
|
44
|
+
font-weight: bold;
|
45
|
+
text-transform: uppercase;
|
46
|
+
font-size: 2em;
|
47
|
+
}
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
.content {
|
52
|
+
padding-right: 1em;
|
53
|
+
padding-left: 1em;
|
54
|
+
}
|
55
|
+
|
10
56
|
.form-control.selectize-control {
|
11
57
|
width: 62%;
|
12
58
|
}
|
59
|
+
|
60
|
+
#secondary-navigation .navbar-nav li {
|
61
|
+
display: none;
|
62
|
+
|
63
|
+
&:nth-last-of-type(2),
|
64
|
+
&:last-of-type {
|
65
|
+
display: block !important;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
#list form .well {
|
70
|
+
background-color: transparent;
|
71
|
+
border: none;
|
72
|
+
-webkit-box-shadow: none;
|
73
|
+
box-shadow: none;
|
74
|
+
}
|
75
|
+
|
76
|
+
.row {
|
77
|
+
margin-left: 0 !important;
|
78
|
+
margin-right: 0.5em !important;
|
79
|
+
}
|
80
|
+
|
81
|
+
.pagination>li>a,
|
82
|
+
.pagination>li>span,
|
83
|
+
a {
|
84
|
+
color: $primary;
|
85
|
+
}
|
86
|
+
|
87
|
+
.pagination>.active>a,
|
88
|
+
.pagination>.active>a:hover,
|
89
|
+
.pagination>.active>a:focus,
|
90
|
+
.pagination>.active>span,
|
91
|
+
.pagination>.active>span:hover,
|
92
|
+
.pagination>.active>span:focus,
|
93
|
+
.btn-primary {
|
94
|
+
color: $background;
|
95
|
+
background-color: $primary;
|
96
|
+
border-color: $primary;
|
97
|
+
}
|
98
|
+
|
99
|
+
.btn-primary:hover {
|
100
|
+
background-color: $text;
|
101
|
+
border-color: $text;
|
102
|
+
}
|
103
|
+
|
104
|
+
.btn-info {
|
105
|
+
color: $background;
|
106
|
+
background-color: $shadows;
|
107
|
+
border-color: $shadows;
|
108
|
+
&:hover {
|
109
|
+
background-color: $primary;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.open > .btn-info.dropdown-toggle {
|
114
|
+
color: $background;
|
115
|
+
background-color: darken($shadows, 10%);
|
116
|
+
border-color: darken($shadows, 10%);
|
117
|
+
}
|
118
|
+
|
119
|
+
.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled]:active, .btn-info.active[disabled], fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active {
|
120
|
+
background-color: lighten($shadows, 30%);
|
121
|
+
border-color: lighten($shadows, 30%);
|
122
|
+
}
|
123
|
+
|
124
|
+
li a .label-danger {
|
125
|
+
background-color: $primary;
|
126
|
+
margin-right: 1em;
|
127
|
+
}
|
128
|
+
|
129
|
+
.breadcrumb {
|
130
|
+
// margin-top: 1em;
|
131
|
+
// margin-bottom: 2.5em;
|
132
|
+
background-color: $primary;
|
133
|
+
text-transform: uppercase;
|
134
|
+
color: $background !important;
|
135
|
+
border-radius: 2em;
|
136
|
+
}
|
137
|
+
|
138
|
+
.breadcrumb .active, .breadcrumb .active:before {
|
139
|
+
color: $background !important;
|
140
|
+
}
|
141
|
+
|
142
|
+
.breadcrumb .false a, .breadcrumb .false:before {
|
143
|
+
color: white !important;
|
144
|
+
}
|
145
|
+
|
146
|
+
#fields_to_export .form-group {
|
147
|
+
margin-left: 0;
|
148
|
+
margin-right: 0;
|
149
|
+
}
|
data/config/locales/it.main.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ui_rails_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_ui_commons
|
@@ -141,7 +141,7 @@ files:
|
|
141
141
|
- app/assets/javascripts/rails_admin/custom/thecore-custom-5.js
|
142
142
|
- app/assets/javascripts/rails_admin/custom/thecore.js
|
143
143
|
- app/assets/javascripts/rails_admin/custom/ui.js
|
144
|
-
- app/assets/javascripts/rails_admin/ra.widgets.coffee
|
144
|
+
- app/assets/javascripts/rails_admin/ra.widgets.coffee.older
|
145
145
|
- app/assets/javascripts/thecore_ui_rails_admin/thecore_rails_admin.js
|
146
146
|
- app/assets/stylesheets/rails_admin/custom/theming-custom-1.scss
|
147
147
|
- app/assets/stylesheets/rails_admin/custom/theming-custom-2.scss
|