thecore_ui_rails_admin 2.1.5 → 2.1.12
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 → thecore_ui_rails_admin/thecore_rails_admin.js} +3 -26
- data/app/assets/stylesheets/{animate.css → thecore_ui_rails_admin/animate.css} +0 -0
- data/app/assets/stylesheets/thecore_ui_rails_admin/apexcharts.scss +7 -0
- data/app/assets/stylesheets/thecore_ui_rails_admin/colors.scss +21 -0
- data/app/assets/stylesheets/thecore_ui_rails_admin/common.scss +43 -0
- data/app/assets/stylesheets/{devise.scss → thecore_ui_rails_admin/devise.scss} +19 -26
- data/app/assets/stylesheets/{rails_admin → thecore_ui_rails_admin}/flashing.scss +3 -3
- data/app/assets/stylesheets/{mixins.scss → thecore_ui_rails_admin/mixins.scss} +0 -0
- data/app/assets/stylesheets/{thecore_rails_admin.scss → thecore_ui_rails_admin/thecore.scss} +19 -7
- data/app/assets/stylesheets/thecore_ui_rails_admin/thecore_rails_admin.scss +290 -0
- data/app/assets/stylesheets/{rails_admin → thecore_ui_rails_admin}/togglable-sidebar.scss +5 -2
- data/app/helpers/devise_bootstrap_errors_helper.rb +20 -0
- data/app/helpers/thecore_helper.rb +54 -0
- data/app/views/layouts/rails_admin/_secondary_navigation.html.haml +1 -1
- data/app/views/layouts/rails_admin/_user_navigation.html.haml +2 -2
- data/app/views/layouts/rails_admin/application.html.haml +2 -2
- data/app/views/layouts/rails_admin/pjax.html.haml +4 -1
- data/app/views/rails_admin/main/_card.html.haml +2 -1
- data/app/views/rails_admin/main/dashboard.html.haml +22 -11
- data/app/views/rails_admin/main/index.html.haml +19 -20
- data/app/views/shared/_flash.html.erb +10 -0
- data/config/initializers/rails_admin.rb +32 -4
- data/config/initializers/thecore_concern.rb +6 -1
- data/config/initializers/thecore_ui_rails_admin_app_configs.rb +9 -4
- data/config/locales/it.index_cards.custom.yml +1 -1
- data/config/locales/thecore_settings.en.yml +31 -0
- data/config/locales/thecore_settings.it.yml +31 -0
- data/db/migrate/20161227101954_create_rails_admin_settings.rb +25 -0
- data/db/migrate/20161227101956_add_app_name.rb +5 -0
- data/lib/abilities/thecore_ui_rails_admin.rb +12 -0
- data/lib/concerns/rails_admin_requirements.rb +19 -0
- data/lib/concerns/thecore_ui_rails_admin_permission.rb +32 -0
- data/lib/concerns/thecore_ui_rails_admin_role.rb +36 -0
- data/lib/concerns/thecore_ui_rails_admin_user.rb +58 -77
- data/lib/thecore_ui_rails_admin.rb +11 -1
- data/lib/thecore_ui_rails_admin/engine.rb +0 -7
- data/lib/thecore_ui_rails_admin/version.rb +1 -1
- metadata +66 -11
- data/app/assets/javascripts/rails_admin/custom/timer.js +0 -135
- data/app/assets/stylesheets/rails_admin/theming.scss +0 -213
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef4bd11283c66b0770def013c33ed626ca6fdef43645f7a0f5b3161df5e192e1
|
4
|
+
data.tar.gz: f2541c48fd2ee56b3f120445b686cdb106f685fe79946a8cc8765fe22738a833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 294ce13be302b8396c27801cfa80f245ed2d7a755ff1d4f7586ddd9084d5652e05f2b0a7e0780e31a2bab6af7114f5d61934c030e7f105053c7b2e47291d87ad
|
7
|
+
data.tar.gz: 3387ed6fc774579453553ec7f38b8bf59b0d426c3c5ab39ef8a6112d553dcbef33f06bbb554b885041b1c26cb50b430ea7c21d862e2dac9f0c8ae75ead0a0b75
|
@@ -1,5 +1,6 @@
|
|
1
|
-
//= require
|
2
|
-
//=
|
1
|
+
//= require thecore_ui_commons/thecore
|
2
|
+
//= require rails_admin/rails_admin
|
3
|
+
//= require selectize
|
3
4
|
|
4
5
|
$(document).on('ready pjax:success', function(e) {
|
5
6
|
handleActiveBase();
|
@@ -19,20 +20,6 @@ $(document).on('ready pjax:success', function(e) {
|
|
19
20
|
} else {
|
20
21
|
$('.page-header, .content').removeClass('dashboard');
|
21
22
|
}
|
22
|
-
|
23
|
-
$('textarea[data-richtext="froala-wysiwyg"').froalaEditor();
|
24
|
-
|
25
|
-
// $(document).ready(function () {
|
26
|
-
// Hide and show the sidebar
|
27
|
-
// Make the sidebar button shine a bit
|
28
|
-
// setTimeout(function() {
|
29
|
-
// $('#sidebar-collapse').addClass("flash");
|
30
|
-
// }, 500);
|
31
|
-
// setTimeout(function() {
|
32
|
-
// if (!$('#wrapper').hasClass('toggled'))
|
33
|
-
// $('#wrapper').addClass('toggled');
|
34
|
-
// }, 1200);
|
35
|
-
// });
|
36
23
|
});
|
37
24
|
|
38
25
|
$(function() {
|
@@ -88,14 +75,4 @@ $(document).ready(function () {
|
|
88
75
|
$('#wrapper').toggleClass('toggled');
|
89
76
|
});
|
90
77
|
|
91
|
-
$('textarea[data-richtext="froala-wysiwyg"').froalaEditor();
|
92
|
-
// // Hide and show the sidebar
|
93
|
-
// // Make the sidebar button shine a bit
|
94
|
-
// setTimeout(function() {
|
95
|
-
// $('#sidebar-collapse').addClass("flash");
|
96
|
-
// }, 500);
|
97
|
-
// setTimeout(function() {
|
98
|
-
// if (!$('#wrapper').hasClass('toggled'))
|
99
|
-
// $('#wrapper').addClass('toggled');
|
100
|
-
// }, 1200);
|
101
78
|
});
|
File without changes
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$primary: #1f4068 !default;
|
2
|
+
|
3
|
+
$background: lighten($primary, 51%) !default;
|
4
|
+
$shadows: darken($primary, 10%) !default;
|
5
|
+
|
6
|
+
$text: $primary !default;
|
7
|
+
$text-highlight: lighten($text, 35%) !default;
|
8
|
+
|
9
|
+
$link: $text !default;
|
10
|
+
$link-highlight: lighten($link, 10%) !default;
|
11
|
+
|
12
|
+
$element: $primary !default;
|
13
|
+
$element-text: lighten($element, 40%) !default;
|
14
|
+
$element-text-highlight: lighten($element-text, 10%) !default;
|
15
|
+
$element-border: darken($element, 10%) !default;
|
16
|
+
|
17
|
+
$neutral: #706f6f !default;
|
18
|
+
$success: #37BC9B !default;
|
19
|
+
$info: #3BAFDA !default;
|
20
|
+
$danger: #E9573F !default;
|
21
|
+
$warning: #F6BB42 !default;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
body {
|
2
|
+
height: 100vh;
|
3
|
+
// background: linear-gradient(-20deg, #09b7b9 30%, #1c51a4 100%);
|
4
|
+
background-color: $background;
|
5
|
+
}
|
6
|
+
|
7
|
+
.jumbotron {
|
8
|
+
background-color: $background;
|
9
|
+
color: $text;
|
10
|
+
}
|
11
|
+
|
12
|
+
.vertical-center {
|
13
|
+
min-height: 100%;
|
14
|
+
/* Fallback for browsers do NOT support vh unit */
|
15
|
+
min-height: 100vh;
|
16
|
+
/* These two lines are counted as one :-) */
|
17
|
+
display: flex;
|
18
|
+
align-items: center;
|
19
|
+
}
|
20
|
+
|
21
|
+
#up-arrow {
|
22
|
+
bottom: -2em;
|
23
|
+
margin-right: auto;
|
24
|
+
margin-left: auto;
|
25
|
+
opacity: 0.2;
|
26
|
+
filter: alpha(opacity=20);
|
27
|
+
/* For IE8 and earlier */
|
28
|
+
}
|
29
|
+
|
30
|
+
.fa-pencil:before,
|
31
|
+
.icon-pencil:before {
|
32
|
+
content: "\f044";
|
33
|
+
}
|
34
|
+
|
35
|
+
#new_user div.checkbox:hover {
|
36
|
+
color: $text-highlight
|
37
|
+
}
|
38
|
+
|
39
|
+
#new_user div.actions input.btn {
|
40
|
+
width: 100%;
|
41
|
+
background-color: $element;
|
42
|
+
border-color: $element-border;
|
43
|
+
}
|
@@ -1,10 +1,3 @@
|
|
1
|
-
$primary: #1c2c41;
|
2
|
-
$secondary: #304158;
|
3
|
-
$light: #47566c;
|
4
|
-
$blue: #0C457D;
|
5
|
-
$grey: #706f6f;
|
6
|
-
$tertiary: #81C784;
|
7
|
-
|
8
1
|
.devise {
|
9
2
|
font-family: 'Raleway', sans-serif;
|
10
3
|
height: 100vh;
|
@@ -19,11 +12,11 @@
|
|
19
12
|
}
|
20
13
|
|
21
14
|
.bckg-dark {
|
22
|
-
|
23
|
-
background-color: rgb(59, 78, 89);
|
15
|
+
background-color:$background;
|
24
16
|
}
|
25
17
|
|
26
18
|
.bckg-login {
|
19
|
+
background-color:$background;
|
27
20
|
}
|
28
21
|
|
29
22
|
.logo {
|
@@ -38,11 +31,11 @@
|
|
38
31
|
}
|
39
32
|
|
40
33
|
.bckg-dark-light {
|
41
|
-
background: $
|
34
|
+
background: $text;
|
42
35
|
}
|
43
36
|
|
44
37
|
.bckg-blue {
|
45
|
-
background: $
|
38
|
+
background: $info;
|
46
39
|
}
|
47
40
|
|
48
41
|
.centered {
|
@@ -54,7 +47,7 @@
|
|
54
47
|
|
55
48
|
.login-form-user {
|
56
49
|
width: 25%;
|
57
|
-
color:
|
50
|
+
color: $text-highlight;
|
58
51
|
margin: 0 auto;
|
59
52
|
margin-bottom: 25px;
|
60
53
|
|
@@ -65,7 +58,7 @@
|
|
65
58
|
}
|
66
59
|
|
67
60
|
.lost_id {
|
68
|
-
color:
|
61
|
+
color: $text-highlight;
|
69
62
|
margin-bottom: 15px;
|
70
63
|
display: block;
|
71
64
|
font-size: .9em;
|
@@ -111,16 +104,16 @@
|
|
111
104
|
border: 0;
|
112
105
|
}
|
113
106
|
input[type="submit"] {
|
114
|
-
background: $
|
107
|
+
background: $neutral;
|
115
108
|
border: 0;
|
116
109
|
border-radius: 0;
|
117
110
|
cursor: pointer;
|
118
111
|
float: right;
|
119
|
-
color
|
112
|
+
color:$text-highlight;
|
120
113
|
width:100%;
|
121
114
|
}
|
122
115
|
h2 {
|
123
|
-
background: $
|
116
|
+
background: $neutral;
|
124
117
|
display: block;
|
125
118
|
padding: 10px 15px;
|
126
119
|
text-align: left;
|
@@ -129,15 +122,15 @@
|
|
129
122
|
}
|
130
123
|
|
131
124
|
.login-form {
|
132
|
-
color
|
125
|
+
color:$text-highlight;
|
133
126
|
width: 30%;
|
134
127
|
|
135
128
|
.links-form {
|
136
129
|
a {
|
137
|
-
color
|
130
|
+
color:$text-highlight;
|
138
131
|
text-decoration: none;
|
139
132
|
&:hover {
|
140
|
-
color: $
|
133
|
+
color: $text-highlight;
|
141
134
|
}
|
142
135
|
}
|
143
136
|
}
|
@@ -174,8 +167,8 @@
|
|
174
167
|
|
175
168
|
input[type="submit"] {
|
176
169
|
cursor: pointer;
|
177
|
-
background: $
|
178
|
-
color
|
170
|
+
background: $element-border;
|
171
|
+
color:$text-highlight;
|
179
172
|
border-radius: 3px;
|
180
173
|
border: 0;
|
181
174
|
display: block;
|
@@ -184,15 +177,15 @@
|
|
184
177
|
margin-top: 55px;
|
185
178
|
width: 100%;
|
186
179
|
&:hover {
|
187
|
-
background: darken($
|
180
|
+
background: darken($element-border, 5%);
|
188
181
|
}
|
189
182
|
}
|
190
183
|
|
191
184
|
input[type="text"], input[type="email"], input[type="password"] {
|
192
185
|
background-color: transparent;
|
193
186
|
border: 0;
|
194
|
-
border-bottom: 1px solid $
|
195
|
-
color
|
187
|
+
border-bottom: 1px solid $text-highlight;
|
188
|
+
color:$text-highlight;
|
196
189
|
margin-top: 15px;
|
197
190
|
padding-bottom: 15px;
|
198
191
|
}
|
@@ -200,8 +193,8 @@
|
|
200
193
|
.input-group-addon {
|
201
194
|
background-color: transparent;
|
202
195
|
border: 0;
|
203
|
-
border-bottom: 1px solid $
|
204
|
-
color
|
196
|
+
border-bottom: 1px solid $text-highlight;
|
197
|
+
color:$text-highlight;
|
205
198
|
margin-top: 15px;
|
206
199
|
padding-bottom: 15px;
|
207
200
|
padding-top: 12px;
|
@@ -11,18 +11,18 @@
|
|
11
11
|
|
12
12
|
@-webkit-keyframes flash {
|
13
13
|
0% { background-color: none; }
|
14
|
-
50% { background-color:
|
14
|
+
50% { background-color: $text-highlight; }
|
15
15
|
100% { background-color: none; }
|
16
16
|
}
|
17
17
|
|
18
18
|
@-moz-keyframes flash {
|
19
19
|
0% { background-color: none; }
|
20
|
-
50% { background-color:
|
20
|
+
50% { background-color: $text-highlight; }
|
21
21
|
100% { background-color: none; }
|
22
22
|
}
|
23
23
|
|
24
24
|
@-ms-keyframes flash {
|
25
25
|
0% { background-color: none; }
|
26
|
-
50% { background-color:
|
26
|
+
50% { background-color: $text-highlight; }
|
27
27
|
100% { background-color: none; }
|
28
28
|
}
|
File without changes
|
data/app/assets/stylesheets/{thecore_rails_admin.scss → thecore_ui_rails_admin/thecore.scss}
RENAMED
@@ -11,22 +11,34 @@
|
|
11
11
|
* file per style scope.
|
12
12
|
*
|
13
13
|
*= required _colors
|
14
|
-
|
15
|
-
*=
|
14
|
+
*= require thecore_ui_commons/thecore
|
15
|
+
*= require rails_admin/rails_admin
|
16
|
+
*= require rails_admin_selectize/index
|
16
17
|
*= require_self
|
17
18
|
*/
|
19
|
+
@import 'colors_override';
|
20
|
+
@import 'colors';
|
18
21
|
@import "jquery-ui";
|
19
22
|
@import "jquery-ui/dialog";
|
20
23
|
@import 'bootstrap-sprockets';
|
21
24
|
@import 'bootstrap';
|
22
|
-
@import
|
25
|
+
@import 'common';
|
26
|
+
@import "flashing";
|
23
27
|
@import 'devise';
|
24
28
|
@import 'animate';
|
25
29
|
@import 'mixins';
|
30
|
+
@import 'apexcharts';
|
31
|
+
@import 'thecore_ui_commons/thecore';
|
32
|
+
@import "togglable-sidebar";
|
26
33
|
|
27
|
-
|
28
|
-
|
34
|
+
.btn {
|
35
|
+
background-color: $element;
|
36
|
+
color: $element-text;
|
37
|
+
border-color: $element-border;
|
29
38
|
}
|
30
|
-
|
31
|
-
|
39
|
+
|
40
|
+
.btn:hover,
|
41
|
+
#new_user div.actions input.btn:hover {
|
42
|
+
color: $element-text-highlight;
|
43
|
+
background-color: $shadows;
|
32
44
|
}
|
@@ -0,0 +1,290 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*= required _colors
|
14
|
+
*= require thecore_ui_commons/thecore
|
15
|
+
*= require rails_admin/rails_admin
|
16
|
+
*= require rails_admin_selectize/index
|
17
|
+
*= require_self
|
18
|
+
*/
|
19
|
+
@import "thecore";
|
20
|
+
|
21
|
+
.sidebar-nav li a {
|
22
|
+
color: $element-text;
|
23
|
+
}
|
24
|
+
#sidebar-wrapper .sidebar-nav {
|
25
|
+
background-color: $shadows !important;
|
26
|
+
color: $element-text;
|
27
|
+
&:hover {
|
28
|
+
color: $element-text-highlight !important;
|
29
|
+
}
|
30
|
+
.dropdown-header {
|
31
|
+
color: $element-text;
|
32
|
+
}
|
33
|
+
.sub-menu-container {
|
34
|
+
background-color: darken($shadows, 10%) !important;
|
35
|
+
}
|
36
|
+
.sub-menu-container .sub-menu a:hover {
|
37
|
+
color: $element-text-highlight !important;
|
38
|
+
}
|
39
|
+
.dropdown-header:hover, .dropdown-header.active, .dropdown-header.active .sub-menu-container .submenu:hover, .sub-menu.sub-menu-null a:hover {
|
40
|
+
background-color: $element;
|
41
|
+
color: $element-text-highlight !important;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
#app-name {
|
46
|
+
color: $primary !important;
|
47
|
+
}
|
48
|
+
|
49
|
+
#sidebar-collapse {
|
50
|
+
color: $shadows !important;
|
51
|
+
}
|
52
|
+
|
53
|
+
.breadcrumb {
|
54
|
+
background: $element;
|
55
|
+
.false a, .false:before {
|
56
|
+
color: darken($element, 30%) !important;
|
57
|
+
}
|
58
|
+
.active, .active:before {
|
59
|
+
color: $text-highlight;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
#list .form-inline {
|
64
|
+
margin-bottom: 2em;
|
65
|
+
}
|
66
|
+
|
67
|
+
p.boolean_type a.label-success,
|
68
|
+
p.boolean_type a.label-danger {
|
69
|
+
background: none;
|
70
|
+
font-size: 1.5em;
|
71
|
+
&:hover {
|
72
|
+
background: none;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
body.rails_admin .nav.nav-tabs {
|
77
|
+
margin-bottom: 0;
|
78
|
+
}
|
79
|
+
|
80
|
+
#bulk_form .panel:nth-of-type(1) {
|
81
|
+
border-top-right-radius: 0;
|
82
|
+
border-top-left-radius: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
#scope_selector li, #action-menu li {
|
86
|
+
border-top-left-radius: 0.5em;
|
87
|
+
border-top-right-radius: 0.5em;
|
88
|
+
&.selected {
|
89
|
+
background-color: #fff;
|
90
|
+
color: $text !important;
|
91
|
+
a {
|
92
|
+
color: $text !important;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
a:hover {
|
97
|
+
border-top-left-radius: 0.5em;
|
98
|
+
border-top-right-radius: 0.5em;
|
99
|
+
background-color: rgba($element, .5);
|
100
|
+
color: $element-text-highlight !important;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
.well {
|
105
|
+
background-color: darken($background, 2%);
|
106
|
+
border-color: darken($background, 2%);
|
107
|
+
}
|
108
|
+
|
109
|
+
.content a, a {
|
110
|
+
color: $link;
|
111
|
+
text-decoration: none;
|
112
|
+
&:hover {
|
113
|
+
color: $link-highlight; }
|
114
|
+
}
|
115
|
+
|
116
|
+
.page-header.dashboard {
|
117
|
+
border-color: $background;
|
118
|
+
}
|
119
|
+
|
120
|
+
.table-striped {
|
121
|
+
border-top-color: $info;
|
122
|
+
.links ul li {
|
123
|
+
padding-right: 0;
|
124
|
+
a {
|
125
|
+
border-radius: 50%;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.content {
|
131
|
+
margin: 0px 0 15px 0;
|
132
|
+
padding: 8px;
|
133
|
+
background: $background;
|
134
|
+
&.dashboard {
|
135
|
+
background: $background;
|
136
|
+
}
|
137
|
+
.page-header {
|
138
|
+
display: none;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
a.delete {
|
143
|
+
color: $text-highlight;
|
144
|
+
}
|
145
|
+
|
146
|
+
.box {
|
147
|
+
border-radius: 1em;
|
148
|
+
display: block;
|
149
|
+
padding: 15px;
|
150
|
+
margin-bottom: 30px;
|
151
|
+
border: 1px solid $element-border;
|
152
|
+
position: relative;
|
153
|
+
min-height: 15em;
|
154
|
+
transition: all 0.3s ease;
|
155
|
+
background-color: $element;
|
156
|
+
color: $element-text;
|
157
|
+
overflow: hidden;
|
158
|
+
&:hover, &:focus {
|
159
|
+
border-color: $shadows;
|
160
|
+
.icon-bg {
|
161
|
+
transform: scale(1.5) rotate(20deg);
|
162
|
+
}
|
163
|
+
}
|
164
|
+
p {
|
165
|
+
min-height: 30px;
|
166
|
+
font-size: 15px;
|
167
|
+
font-weight: 600;
|
168
|
+
a.btn {
|
169
|
+
border-radius: 3px;
|
170
|
+
color: rgba($text-highlight,0.7) !important;
|
171
|
+
display: inline-block;
|
172
|
+
margin-bottom: 0;
|
173
|
+
font-weight: normal;
|
174
|
+
text-align: center;
|
175
|
+
vertical-align: middle;
|
176
|
+
cursor: pointer;
|
177
|
+
background-color: rgba($shadows, 0.19);
|
178
|
+
border: 1px solid transparent;
|
179
|
+
white-space: nowrap;
|
180
|
+
padding: 6px 12px;
|
181
|
+
font-size: 14px;
|
182
|
+
line-height: 1.42857143;
|
183
|
+
border-radius: 4px;
|
184
|
+
-webkit-user-select: none;
|
185
|
+
-moz-user-select: none;
|
186
|
+
-ms-user-select: none;
|
187
|
+
user-select: none;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
strong.count {
|
191
|
+
font-size: 10em;
|
192
|
+
font-weight: 600;
|
193
|
+
}
|
194
|
+
p.model,
|
195
|
+
strong.count {
|
196
|
+
color: $element-text;
|
197
|
+
&:hover {
|
198
|
+
color: $element-text-highlight;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
.icon-bg {
|
202
|
+
position: absolute;
|
203
|
+
right: 0;
|
204
|
+
bottom: 0;
|
205
|
+
font-size: 15em;
|
206
|
+
color: $element-text;
|
207
|
+
opacity: 0.20;
|
208
|
+
filter: alpha(opacity=20);
|
209
|
+
transition: all 1s ease;
|
210
|
+
}
|
211
|
+
&.bg-info {
|
212
|
+
background-color: $info;
|
213
|
+
}
|
214
|
+
&.bg-success {
|
215
|
+
background-color: $success;
|
216
|
+
}
|
217
|
+
&.bg-warning {
|
218
|
+
background-color: $warning;
|
219
|
+
}
|
220
|
+
&.bg-danger {
|
221
|
+
background-color: $danger;
|
222
|
+
}
|
223
|
+
&.bg-clear {
|
224
|
+
background-color: $neutral;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
/* User sign in and sign forms. */
|
229
|
+
.border-form-div {
|
230
|
+
max-width: 300px;
|
231
|
+
padding: 19px 29px 29px;
|
232
|
+
margin: 0 auto 20px;
|
233
|
+
background-color: $text-highlight;
|
234
|
+
border: 1px solid $element-border;
|
235
|
+
-webkit-border-radius: 5px;
|
236
|
+
-moz-border-radius: 5px;
|
237
|
+
border-radius: 5px;
|
238
|
+
-webkit-box-shadow: 0 1px 2px rgba($shadows,.05);
|
239
|
+
-moz-box-shadow: 0 1px 2px rgba($shadows,.05);
|
240
|
+
box-shadow: 0 1px 2px rgba($shadows,.05);
|
241
|
+
}
|
242
|
+
.border-form-div .form-signin-heading,
|
243
|
+
.border-form-div .checkbox {
|
244
|
+
margin-bottom: 10px;
|
245
|
+
}
|
246
|
+
.border-form-div input[type="text"],
|
247
|
+
.border-form-div input[type="email"],
|
248
|
+
.border-form-div input[type="password"] {
|
249
|
+
font-size: 16px;
|
250
|
+
height: auto;
|
251
|
+
margin-bottom: 15px;
|
252
|
+
padding: 7px 9px;
|
253
|
+
}
|
254
|
+
|
255
|
+
#sidebar-collapse {
|
256
|
+
background-color: transparent;
|
257
|
+
background-image: none;
|
258
|
+
border: 1px solid transparent;
|
259
|
+
color: $neutral;
|
260
|
+
}
|
261
|
+
#sidebar-collapse:focus {
|
262
|
+
outline: 0;
|
263
|
+
}
|
264
|
+
#sidebar-collapse:hover {
|
265
|
+
color:$text-highlight;
|
266
|
+
}
|
267
|
+
|
268
|
+
.exit-button {
|
269
|
+
padding-top: 9px;
|
270
|
+
padding-bottom: 9px;
|
271
|
+
margin-top: 8px;
|
272
|
+
margin-bottom: 8px;
|
273
|
+
margin-right: 7px;
|
274
|
+
}
|
275
|
+
|
276
|
+
#app-name {
|
277
|
+
font-size: 2em;
|
278
|
+
color: $neutral;
|
279
|
+
font-family: 'Raleway', sans-serif;
|
280
|
+
word-wrap: normal;
|
281
|
+
}
|
282
|
+
#app-name:hover {
|
283
|
+
color: $text-highlight;
|
284
|
+
text-decoration: none;
|
285
|
+
}
|
286
|
+
|
287
|
+
body.rails_admin {
|
288
|
+
padding-top: 0px;
|
289
|
+
background-color: $background;
|
290
|
+
}
|