goldencobra 1.4.0 → 1.4.27
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.
- data/README.markdown +3 -2
- data/app/assets/images/goldencobra/Jcrop.gif +0 -0
- data/app/assets/javascripts/goldencobra/active_admin.js +145 -84
- data/app/assets/javascripts/goldencobra/jquery.Jcrop.min.js +22 -0
- data/app/assets/javascripts/goldencobra/jquery.color.js +661 -0
- data/app/assets/stylesheets/goldencobra/active_admin.css.scss +375 -252
- data/app/assets/stylesheets/goldencobra/{application.css → application.css.scss} +0 -0
- data/app/assets/stylesheets/goldencobra/ikusei_active_admin.scss +35 -26
- data/app/assets/stylesheets/goldencobra/jquery.Jcrop.min.css +29 -0
- data/app/controllers/goldencobra/api/v2/articles_controller.rb +221 -0
- data/app/controllers/goldencobra/api/v2/locales_controller.rb +31 -0
- data/app/controllers/goldencobra/api/v2/settings_controller.rb +31 -0
- data/app/controllers/goldencobra/articles_controller.rb +42 -16
- data/app/controllers/goldencobra/sessions_controller.rb +8 -1
- data/app/helpers/goldencobra/application_helper.rb +3 -1
- data/app/helpers/goldencobra/articles_helper.rb +14 -8
- data/app/middleware/goldencobra/handle_invalid_percent_encoding.rb +40 -0
- data/app/models/ability.rb +43 -48
- data/app/models/goldencobra/article.rb +292 -218
- data/app/models/goldencobra/article_author.rb +19 -0
- data/app/models/goldencobra/article_image.rb +2 -0
- data/app/models/goldencobra/articletype.rb +30 -28
- data/app/models/goldencobra/author.rb +5 -3
- data/app/models/goldencobra/domain.rb +2 -0
- data/app/models/goldencobra/import.rb +2 -2
- data/app/models/goldencobra/link_checker.rb +64 -0
- data/app/models/goldencobra/menue.rb +4 -2
- data/app/models/goldencobra/permission.rb +3 -1
- data/app/models/goldencobra/redirector.rb +131 -0
- data/app/models/goldencobra/setting.rb +29 -3
- data/app/models/goldencobra/upload.rb +60 -1
- data/app/models/goldencobra/url_builder.rb +58 -0
- data/app/models/goldencobra/vita.rb +4 -0
- data/app/models/goldencobra/widget.rb +10 -0
- data/app/models/user.rb +1 -1
- data/app/views/goldencobra/admin/articles/_article_type.html.erb +1 -1
- data/app/views/goldencobra/admin/articles/_articles_index.html.erb +3 -3
- data/app/views/goldencobra/admin/articles/_image_module_sidebar.html.erb +19 -7
- data/app/views/goldencobra/admin/articles/_layout_sidebar.html.erb +2 -2
- data/app/views/goldencobra/admin/articles/_link_checker.html.erb +4 -4
- data/app/views/goldencobra/admin/articles/_link_checker_index.html.erb +1 -1
- data/app/views/goldencobra/admin/articles/_select_article_type.html.erb +8 -8
- data/app/views/goldencobra/admin/articles/_sort_articles_index.html.erb +1 -1
- data/app/views/goldencobra/admin/articles/_widgets_sidebar.html.erb +2 -2
- data/app/views/goldencobra/admin/articles/toggle_expert_mode.js.erb +2 -2
- data/app/views/goldencobra/admin/settings/_index.html.erb +14 -0
- data/app/views/goldencobra/admin/settings/_key_value.html.erb +12 -0
- data/app/views/goldencobra/admin/settings/_settings_group.html.erb +14 -0
- data/app/views/goldencobra/admin/shared/_help.html.erb +12 -10
- data/app/views/goldencobra/admin/shared/_item.html.erb +4 -4
- data/app/views/goldencobra/admin/shared/_overview.html.erb +14 -4
- data/app/views/goldencobra/admin/shared/load_overviewtree.js.erb +6 -0
- data/app/views/goldencobra/admin/uploads/_jcrop.html.erb +23 -0
- data/app/views/goldencobra/articles/_edit_article_link.html.erb +1 -1
- data/app/views/goldencobra/articles/show.rss.builder +5 -0
- data/app/views/goldencobra/articles/sitemap.xml.builder +15 -1
- data/app/views/goldencobra/manage/_admin_article_management.html.erb +1 -1
- data/app/views/goldencobra/manage/_admin_article_management_content.html.erb +4 -4
- data/app/views/goldencobra/manage/render_admin_menue.html.erb +1 -0
- data/app/views/goldencobra/manage/render_admin_menue.js.erb +0 -1
- data/app/views/goldencobra/sessions/_login.html.erb +4 -4
- data/app/views/goldencobra/sessions/_register.html.erb +6 -6
- data/app/views/layouts/goldencobra/active_admin_resque.html.erb +1 -1
- data/app/worker/articles_cache_worker.rb +1 -1
- data/config/initializers/check_for_missing_articletypes.rb +40 -37
- data/config/initializers/devise.rb +3 -1
- data/config/initializers/http_validator.rb +9 -2
- data/config/initializers/liquid_tags.rb +2 -2
- data/config/locales/active_admin.de.yml +509 -3
- data/config/locales/active_admin.en.yml +580 -64
- data/config/locales/de.yml +478 -4
- data/config/locales/en.yml +406 -10
- data/config/pre-commit.rb +3 -0
- data/config/routes.rb +12 -1
- data/config/settings.yml +51 -50
- data/db/migrate/20130114154115_add_sorter_to_goldencobra_permissions.rb +4 -1
- data/db/migrate/20140204221345_add_operator_to_goldencobra_permissions.rb +5 -0
- data/db/migrate/20140411152728_add_creator_id_to_goldencobra_articles.rb +5 -0
- data/db/migrate/20140505144517_add_taggingcounter.rb +15 -0
- data/db/migrate/20140603084537_add_domain_to_goldencobra_permissions.rb +7 -0
- data/db/migrate/20140615200342_resize_link_checkfield.rb +13 -0
- data/db/migrate/20140626135753_add_externalreferee_to_goldencobra_articles.rb +6 -0
- data/db/migrate/20140702103024_add_externaldate_to_goldencobra_articles.rb +5 -0
- data/db/migrate/20140702105550_add_remoteurl_to_goldencobra_uploads.rb +5 -0
- data/db/migrate/20140702142818_add_image_gallery_type_to_goldencobra_articles.rb +5 -0
- data/db/migrate/20140819101033_add_urlpath_to_goldencobra_articles.rb +5 -0
- data/db/migrate/20141009104216_set_db_and_tables_to_utf8.rb +20 -0
- data/db/migrate/20141104115144_create_goldencobra_redirectors.rb +15 -0
- data/db/migrate/20141112124531_add_globalsorting_to_goldencobra_articles.rb +7 -0
- data/db/migrate/20141124170930_add_indiex_to_gc.rb +26 -0
- data/db/migrate/20150115111024_create_goldencobra_article_authors.rb +28 -0
- data/db/migrate/20150115134707_add_remove_author_stuff.rb +11 -0
- data/db/migrate/20150417153454_add_status_to_goldencobra_vita_steps.rb +5 -0
- data/db/seeds.rb +4 -153
- data/lib/generators/goldencobra/articletype/templates/edit_index.html.erb +1 -1
- data/lib/generators/goldencobra/articletype/templates/initializer.rb +4 -2
- data/lib/generators/goldencobra/install_generator.rb +3 -0
- data/lib/generators/goldencobra/server_generator.rb +67 -0
- data/lib/generators/goldencobra/templates/active_admin.rb.erb +3 -0
- data/lib/generators/goldencobra/templates/robots.txt +5 -0
- data/lib/generators/goldencobra/templates/views/articletypes/default/_edit_index.html.erb +9 -0
- data/lib/generators/goldencobra/templates/views/articletypes/default/_edit_show.html.erb +0 -0
- data/lib/generators/goldencobra/templates/views/articletypes/default/_index.html.erb +31 -18
- data/lib/generators/goldencobra/templates/views/articletypes/default/_show.html.erb +22 -15
- data/lib/goldencobra/engine.rb +19 -3
- data/lib/goldencobra/version.rb +1 -1
- data/lib/tasks/article_cache.rake +19 -0
- data/lib/tasks/i18n.rake +1 -1
- data/lib/tasks/import.rake +31 -3
- data/lib/tasks/link_checker.rake +4 -2
- metadata +217 -23
- data/config/locales/activerecord.de.yml +0 -227
- data/config/locales/activerecord.en.yml +0 -148
- data/config/locales/devise.de.yml +0 -54
- data/config/locales/devise.en.yml +0 -57
- data/config/locales/formtastic.de.yml +0 -10
- data/config/locales/formtastic.en.yml +0 -10
- data/config/locales/goldencobra.de.yml +0 -40
- data/config/locales/goldencobra.en.yml +0 -3
@@ -3,145 +3,182 @@
|
|
3
3
|
//@import "active_admin/base";
|
4
4
|
|
5
5
|
@import "compass";
|
6
|
+
@import "jquery.Jcrop.min";
|
6
7
|
|
7
8
|
// To customize the Active Admin interfaces, add your
|
8
9
|
// styles here:
|
9
10
|
$background-color: black;
|
10
11
|
|
11
|
-
body.active_admin #title_bar .action_items a.undo{
|
12
|
+
body.active_admin #title_bar .action_items a.undo {
|
12
13
|
|
13
14
|
}
|
14
15
|
|
15
|
-
#main_content{
|
16
|
-
.char_count{
|
16
|
+
#main_content {
|
17
|
+
.char_count {
|
17
18
|
position: relative;
|
18
19
|
float: right;
|
19
|
-
margin-top
|
20
|
+
margin-top: -23px;
|
20
21
|
margin-right: 40px;
|
21
|
-
color:grey;
|
22
|
+
color: grey;
|
22
23
|
}
|
23
24
|
}
|
24
25
|
|
25
|
-
span.startpage{
|
26
|
-
font-weight:bold;
|
27
|
-
color:red;
|
28
|
-
display:inline-block;
|
29
|
-
}
|
30
|
-
|
31
|
-
div#goldencobra_image_maganger{
|
32
|
-
position:fixed;
|
33
|
-
right:330px;
|
34
|
-
top:200px;
|
35
|
-
height:200px;
|
36
|
-
width:350px;
|
37
|
-
background-color:$background-color;
|
38
|
-
opacity:0.8;
|
39
|
-
box-shadow:10px 10px 10px grey;
|
40
|
-
ul{
|
41
|
-
list-style:none;
|
42
|
-
padding: 0;
|
43
|
-
li{
|
44
|
-
float:left;
|
45
|
-
margin:3px;
|
46
|
-
img{
|
47
|
-
cursor:move;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
.header{
|
52
|
-
background-color: grey;
|
53
|
-
width:100%;
|
54
|
-
height:16px;
|
55
|
-
cursor:move;
|
56
|
-
.close{
|
57
|
-
margin:1px;
|
58
|
-
float:right;
|
59
|
-
height:14px;
|
60
|
-
width:14px;
|
61
|
-
background:url("/assets/goldencobra/close.png") no-repeat transparent;
|
62
|
-
cursor:pointer;
|
63
|
-
}
|
64
|
-
}
|
26
|
+
span.startpage {
|
27
|
+
font-weight: bold;
|
28
|
+
color: red;
|
29
|
+
display: inline-block;
|
65
30
|
}
|
66
31
|
|
32
|
+
div#goldencobra_image_maganger {
|
33
|
+
position: fixed;
|
34
|
+
right: 330px;
|
35
|
+
top: 200px;
|
36
|
+
height: 200px;
|
37
|
+
width: 350px;
|
38
|
+
background-color: $background-color;
|
39
|
+
opacity: 0.8;
|
40
|
+
box-shadow: 10px 10px 10px grey;
|
41
|
+
|
42
|
+
ul {
|
43
|
+
list-style: none;
|
44
|
+
padding: 0;
|
45
|
+
|
46
|
+
li {
|
47
|
+
float: left;
|
48
|
+
margin: 3px;
|
49
|
+
|
50
|
+
img {
|
51
|
+
cursor: move;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
.header {
|
57
|
+
background-color: white;
|
58
|
+
width: 100%;
|
59
|
+
height: 16px;
|
60
|
+
cursor: move;
|
61
|
+
|
62
|
+
.close {
|
63
|
+
margin: 1px;
|
64
|
+
float: right;
|
65
|
+
height: 14px;
|
66
|
+
width: 14px;
|
67
|
+
background: url("/assets/goldencobra/close.png") no-repeat transparent;
|
68
|
+
cursor: pointer;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
67
72
|
|
68
73
|
#header ul#tabs > li, #header #utility_nav {
|
69
|
-
font-weight:bold;
|
74
|
+
font-weight: bold;
|
70
75
|
}
|
76
|
+
|
71
77
|
#header ul#tabs > li.has_nested.current > a, #header ul#tabs > li.has_nested > a {
|
72
|
-
|
78
|
+
padding-right: 35px;
|
73
79
|
}
|
80
|
+
|
74
81
|
#header ul#tabs.header-item {
|
75
|
-
left:
|
82
|
+
left: 110px;
|
76
83
|
}
|
84
|
+
|
77
85
|
div#titlebar_left h2#page_title {
|
78
|
-
margin-left:
|
79
|
-
}
|
80
|
-
#header h1 {
|
81
|
-
width:100px;
|
82
|
-
height:80px;
|
83
|
-
background:url("/assets/goldencobra/cobra.png") no-repeat;
|
84
|
-
text-indent:-9999px;
|
85
|
-
position:absolute;
|
86
|
-
left:30px;
|
87
|
-
z-index: 5000;
|
86
|
+
margin-left: 117px;
|
88
87
|
}
|
88
|
+
|
89
89
|
#header {
|
90
|
-
padding:9px 30px 9px 150px;
|
90
|
+
padding: 9px 30px 9px 150px;
|
91
|
+
|
92
|
+
h1 {
|
93
|
+
width: 100px;
|
94
|
+
height: 80px;
|
95
|
+
background: url("/assets/goldencobra/cobra.png") no-repeat scroll center top / auto auto rgba(0, 0, 0, 0);
|
96
|
+
text-indent: -9999px;
|
97
|
+
position: absolute;
|
98
|
+
left: 30px;
|
99
|
+
z-index: 5000;
|
100
|
+
padding-top: 0 !important;
|
101
|
+
|
102
|
+
a {
|
103
|
+
display: block;
|
104
|
+
width: 100%;
|
105
|
+
}
|
106
|
+
}
|
91
107
|
}
|
108
|
+
|
92
109
|
#title_bar {
|
93
|
-
padding:10px 30px 10px 158px;
|
110
|
+
padding: 10px 30px 10px 158px;
|
94
111
|
}
|
112
|
+
|
95
113
|
body.active_admin .breadcrumb {
|
96
|
-
margin-left:
|
114
|
+
margin-left: 117px;
|
97
115
|
}
|
116
|
+
|
98
117
|
div#main_content h3 {
|
99
118
|
margin-left: 10px;
|
100
119
|
}
|
120
|
+
|
101
121
|
a.button {
|
102
122
|
margin-left: 10px;
|
103
123
|
}
|
104
124
|
|
105
|
-
legend .foldable_icon_wrapper{
|
106
|
-
.foldable_icon{
|
107
|
-
background:url("/assets/goldencobra/arrow.png");
|
108
|
-
width:20px;
|
109
|
-
height:20px;
|
110
|
-
float:right;
|
111
|
-
margin:5px;
|
112
|
-
cursor:pointer;
|
125
|
+
legend .foldable_icon_wrapper {
|
126
|
+
.foldable_icon {
|
127
|
+
background: url("/assets/goldencobra/arrow.png");
|
128
|
+
width: 20px;
|
129
|
+
height: 20px;
|
130
|
+
float: right;
|
131
|
+
margin: 5px;
|
132
|
+
cursor: pointer;
|
113
133
|
@include rotate(90deg);
|
114
134
|
@include transition(all 500ms);
|
115
|
-
|
135
|
+
|
136
|
+
&.open {
|
116
137
|
@include rotate(0deg);
|
117
138
|
}
|
118
|
-
|
119
139
|
}
|
120
140
|
}
|
121
141
|
|
122
|
-
h3 .foldable_icon_wrapper{
|
123
|
-
.foldable_icon{
|
124
|
-
background:url("/assets/goldencobra/arrow.png");
|
125
|
-
display:inline-block;
|
126
|
-
width:20px;
|
127
|
-
height:20px;
|
128
|
-
float:right;
|
129
|
-
cursor:pointer;
|
142
|
+
h3 .foldable_icon_wrapper {
|
143
|
+
.foldable_icon {
|
144
|
+
background: url("/assets/goldencobra/arrow.png");
|
145
|
+
display: inline-block;
|
146
|
+
width: 20px;
|
147
|
+
height: 20px;
|
148
|
+
float: right;
|
149
|
+
cursor: pointer;
|
130
150
|
@include rotate(90deg);
|
131
151
|
@include transition(all 500ms);
|
132
|
-
|
152
|
+
|
153
|
+
&.open{
|
133
154
|
@include rotate(0deg);
|
134
155
|
}
|
135
|
-
|
136
156
|
}
|
137
157
|
}
|
138
158
|
|
139
|
-
.
|
140
|
-
|
141
|
-
|
159
|
+
.settings_group_title .foldable_icon_wrapper {
|
160
|
+
.foldable_icon {
|
161
|
+
background: url("/assets/goldencobra/arrow.png");
|
162
|
+
display: inline-block;
|
163
|
+
width: 20px;
|
164
|
+
height: 20px;
|
165
|
+
float: right;
|
166
|
+
cursor: pointer;
|
167
|
+
@include rotate(0deg);
|
168
|
+
@include transition(all 500ms);
|
169
|
+
|
170
|
+
&.open{
|
171
|
+
@include rotate(90deg);
|
172
|
+
}
|
173
|
+
}
|
142
174
|
}
|
143
175
|
|
144
|
-
.sidebar_section
|
176
|
+
.sidebar_section > div.panel_contents {
|
177
|
+
padding-left: 0px;
|
178
|
+
padding-right: 0px;
|
179
|
+
}
|
180
|
+
|
181
|
+
.sidebar_section.warning > div.panel_contents {
|
145
182
|
//background-color: lightred;
|
146
183
|
@include background(linear-gradient(top, #ffffff 0%, red 100%));
|
147
184
|
border-bottom: 1px solid grey;
|
@@ -149,87 +186,96 @@ h3 .foldable_icon_wrapper{
|
|
149
186
|
border-left: 1px solid grey;
|
150
187
|
}
|
151
188
|
|
152
|
-
body.active_admin .sidebar_section > div div.overview-sidebar{
|
153
|
-
margin:0 0 0 -30px;
|
154
|
-
padding:0 0 0 0px;
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
189
|
+
body.active_admin .sidebar_section > div div.overview-sidebar {
|
190
|
+
margin: 0 0 0 -30px;
|
191
|
+
padding: 0 0 0 0px;
|
192
|
+
|
193
|
+
ul {
|
194
|
+
list-style: none;
|
195
|
+
margin: 0 0 0 0;
|
196
|
+
padding: 0 0 0 15px;
|
197
|
+
|
198
|
+
li {
|
199
|
+
margin: 0 0 0 0;
|
200
|
+
padding: 0 0 0 0;
|
201
|
+
|
202
|
+
div.item {
|
203
|
+
width: 90%;
|
204
|
+
padding: 0 0 0 8%;
|
205
|
+
line-height: 14px;
|
167
206
|
border-bottom: 1px dotted transparent;
|
168
|
-
|
207
|
+
|
208
|
+
&:hover {
|
169
209
|
border-bottom: 1px dotted grey;
|
170
210
|
}
|
171
211
|
|
172
|
-
div.folder{
|
173
|
-
background:url("/assets/goldencobra/tree.png") no-repeat -6px;
|
174
|
-
height:12px;
|
175
|
-
width:12px;
|
176
|
-
display:inline-block;
|
177
|
-
cursor:pointer;
|
212
|
+
div.folder {
|
213
|
+
background: url("/assets/goldencobra/tree.png") no-repeat -6px;
|
214
|
+
height: 12px;
|
215
|
+
width: 12px;
|
216
|
+
display: inline-block;
|
217
|
+
cursor: pointer;
|
178
218
|
}
|
179
219
|
|
180
|
-
div.last_folder{
|
181
|
-
background:url("/assets/goldencobra/tree.png") no-repeat -9px;
|
182
|
-
height:12px;
|
183
|
-
width:12px;
|
184
|
-
display:inline-block;
|
220
|
+
div.last_folder {
|
221
|
+
background: url("/assets/goldencobra/tree.png") no-repeat -9px;
|
222
|
+
height: 12px;
|
223
|
+
width: 12px;
|
224
|
+
display: inline-block;
|
185
225
|
}
|
186
226
|
|
187
|
-
div.secured{
|
188
|
-
width:9px;
|
189
|
-
height:9px;
|
190
|
-
background:url("/assets/goldencobra/icons/16/locked.png");
|
227
|
+
div.secured {
|
228
|
+
width: 9px;
|
229
|
+
height: 9px;
|
230
|
+
background: url("/assets/goldencobra/icons/16/locked.png");
|
191
231
|
@include background-size(9px);
|
192
|
-
display:inline-block;
|
232
|
+
display: inline-block;
|
233
|
+
}
|
234
|
+
|
235
|
+
div.title {
|
236
|
+
display: inline-block;
|
237
|
+
|
238
|
+
ul {
|
239
|
+
display: none;
|
240
|
+
}
|
241
|
+
|
242
|
+
a {
|
243
|
+
text-decoration: none;
|
244
|
+
cursor: pointer;
|
245
|
+
}
|
246
|
+
|
247
|
+
overflow: hidden;
|
248
|
+
width: 145px;
|
249
|
+
height: 16px;
|
250
|
+
line-height: 16px;
|
193
251
|
}
|
194
252
|
|
253
|
+
div.options {
|
254
|
+
display: inline-block;
|
255
|
+
float: right;
|
195
256
|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
overflow: hidden;
|
206
|
-
width: 145px;
|
207
|
-
height: 16px;
|
208
|
-
line-height: 16px;
|
209
|
-
}
|
210
|
-
div.options{
|
211
|
-
display:inline-block;
|
212
|
-
float:right;
|
213
|
-
a{
|
214
|
-
display:inline-block;
|
215
|
-
text-indent:-9999px;
|
216
|
-
}
|
217
|
-
a.new_link{
|
218
|
-
width:14px;
|
219
|
-
height:14px;
|
220
|
-
background:url("/assets/goldencobra/icons/16/plus.png");
|
257
|
+
a {
|
258
|
+
display: inline-block;
|
259
|
+
text-indent: -9999px;
|
260
|
+
}
|
261
|
+
|
262
|
+
a.new_link {
|
263
|
+
width: 14px;
|
264
|
+
height: 14px;
|
265
|
+
background: url("/assets/goldencobra/icons/16/plus.png");
|
221
266
|
@include background-size(14px);
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
267
|
+
}
|
268
|
+
|
269
|
+
a.edit_link {
|
270
|
+
width: 14px;
|
271
|
+
height: 14px;
|
272
|
+
background: url("/assets/goldencobra/icons/16/compose-3.png");
|
227
273
|
@include background-size(14px);
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
}
|
233
279
|
}
|
234
280
|
|
235
281
|
textarea.metadescription_hint {
|
@@ -242,9 +288,9 @@ textarea.metadescription_hint {
|
|
242
288
|
margin-top: 15px;
|
243
289
|
}
|
244
290
|
#metadescription-tinymce-body{
|
245
|
-
|
246
|
-
|
247
|
-
|
291
|
+
background: #f4f4f4;
|
292
|
+
border: 0px;
|
293
|
+
color:#666;
|
248
294
|
}
|
249
295
|
|
250
296
|
#metadescription-tinymce_tbl {
|
@@ -260,42 +306,46 @@ textarea.metadescription_hint {
|
|
260
306
|
height: 200px;
|
261
307
|
width: 600px;
|
262
308
|
}
|
263
|
-
|
309
|
+
|
310
|
+
textarea#article_summary,
|
311
|
+
textarea#article_teaser {
|
264
312
|
resize: none;
|
265
313
|
}
|
266
314
|
|
267
|
-
.per_page_links a{
|
315
|
+
.per_page_links a {
|
268
316
|
color: #5c6469;
|
269
|
-
text-decoration:none;
|
270
|
-
font-weight:bold;
|
317
|
+
text-decoration: none;
|
318
|
+
font-weight: bold;
|
271
319
|
}
|
272
320
|
|
273
321
|
.index_as_table {
|
274
|
-
a{
|
275
|
-
&.online{
|
276
|
-
color:green;
|
277
|
-
text-decoration:none;
|
278
|
-
}
|
279
|
-
&.offline{
|
280
|
-
color:red;
|
281
|
-
text-decoration:none;
|
322
|
+
a {
|
323
|
+
&.online {
|
324
|
+
color: green;
|
325
|
+
text-decoration: none;
|
282
326
|
}
|
283
327
|
|
328
|
+
&.offline {
|
329
|
+
color: red;
|
330
|
+
text-decoration: none;
|
331
|
+
}
|
284
332
|
}
|
285
333
|
}
|
286
334
|
|
287
|
-
h3.goldencobra_article_article_type{
|
288
|
-
text-align:center;
|
335
|
+
h3.goldencobra_article_article_type {
|
336
|
+
text-align: center;
|
289
337
|
}
|
290
338
|
|
291
339
|
table.importer_assoziations {
|
292
|
-
td.nested_model_header{
|
293
|
-
font-weight:bold;
|
340
|
+
td.nested_model_header {
|
341
|
+
font-weight: bold;
|
294
342
|
}
|
295
|
-
|
296
|
-
|
343
|
+
|
344
|
+
tr.model_group {
|
345
|
+
display: none;
|
297
346
|
}
|
298
|
-
|
347
|
+
|
348
|
+
span.button {
|
299
349
|
cursor: pointer;
|
300
350
|
border: 1px solid gray;
|
301
351
|
padding: 5px;
|
@@ -303,94 +353,94 @@ table.importer_assoziations {
|
|
303
353
|
}
|
304
354
|
}
|
305
355
|
|
306
|
-
form li.hidden.input{
|
307
|
-
display:none;
|
356
|
+
form li.hidden.input {
|
357
|
+
display: none;
|
308
358
|
}
|
309
359
|
|
310
|
-
body.active_admin .status{
|
360
|
+
body.active_admin .status {
|
311
361
|
background: none;
|
312
362
|
color: #000;
|
313
363
|
}
|
314
364
|
|
315
|
-
body.active_admin .edit{
|
365
|
+
body.active_admin .edit {
|
316
366
|
background: url("/assets/goldencobra/icons/32/compose-3.png") no-repeat center center transparent;
|
317
367
|
@include background-size(20px);
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
368
|
+
text-indent: -99999px;
|
369
|
+
width: 22px;
|
370
|
+
height: 22px;
|
371
|
+
display: inline-block;
|
322
372
|
}
|
323
373
|
|
324
|
-
body.active_admin .secured{
|
325
|
-
width:20px;
|
326
|
-
height:20px;
|
327
|
-
text-indent
|
328
|
-
background:url("/assets/goldencobra/icons/32/locked.png");
|
374
|
+
body.active_admin .secured {
|
375
|
+
width: 20px;
|
376
|
+
height: 20px;
|
377
|
+
text-indent: -99999px;
|
378
|
+
background: url("/assets/goldencobra/icons/32/locked.png");
|
329
379
|
@include background-size(20px);
|
330
380
|
display: inline-block;
|
331
381
|
}
|
332
382
|
|
333
|
-
body.active_admin tbody .online{
|
383
|
+
body.active_admin tbody .online {
|
334
384
|
background: url("/assets/goldencobra/icons/32/play.png") no-repeat center center transparent;
|
335
385
|
@include background-size(20px);
|
336
|
-
text-indent
|
386
|
+
text-indent: -99999px;
|
337
387
|
width: 22px;
|
338
388
|
height: 22px;
|
339
389
|
display: inline-block;
|
340
390
|
}
|
341
391
|
|
342
|
-
body.active_admin tbody .list{
|
392
|
+
body.active_admin tbody .list {
|
343
393
|
background: url("/assets/goldencobra/icons/32/list-2.png") no-repeat center center transparent;
|
344
394
|
@include background-size(20px);
|
345
|
-
text-indent
|
395
|
+
text-indent: -99999px;
|
346
396
|
width: 22px;
|
347
397
|
height: 22px;
|
348
398
|
display: inline-block;
|
349
399
|
}
|
350
400
|
|
351
|
-
body.active_admin tbody .create{
|
401
|
+
body.active_admin tbody .create {
|
352
402
|
background: url("/assets/goldencobra/icons/32/plus.png") no-repeat center center transparent;
|
353
403
|
@include background-size(20px);
|
354
|
-
text-indent
|
404
|
+
text-indent: -99999px;
|
355
405
|
width: 22px;
|
356
406
|
height: 22px;
|
357
407
|
display: inline-block;
|
358
408
|
}
|
359
409
|
|
360
|
-
body.active_admin tbody .offline{
|
410
|
+
body.active_admin tbody .offline {
|
361
411
|
background: url("/assets/goldencobra/icons/32/power.png") no-repeat center center transparent;
|
362
412
|
@include background-size(20px);
|
363
|
-
text-indent
|
413
|
+
text-indent: -99999px;
|
364
414
|
width: 22px;
|
365
415
|
height: 22px;
|
366
416
|
display: inline-block;
|
367
417
|
}
|
368
418
|
|
369
|
-
body.active_admin .view{
|
419
|
+
body.active_admin .view {
|
370
420
|
background: url("/assets/goldencobra/icons/32/eye.png") no-repeat center center transparent;
|
371
421
|
@include background-size(20px);
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
422
|
+
text-indent: -99999px;
|
423
|
+
width: 22px;
|
424
|
+
height: 22px;
|
425
|
+
display: inline-block;
|
376
426
|
}
|
377
427
|
|
378
|
-
body.active_admin .delete{
|
428
|
+
body.active_admin .delete {
|
379
429
|
background: url("/assets/goldencobra/icons/32/delete.png") no-repeat center center transparent;
|
380
430
|
@include background-size(20px);
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
431
|
+
text-indent: -99999px;
|
432
|
+
width: 22px;
|
433
|
+
height: 22px;
|
434
|
+
display: inline-block;
|
385
435
|
}
|
386
436
|
|
387
|
-
body.active_admin .new_subarticle{
|
437
|
+
body.active_admin .new_subarticle {
|
388
438
|
background: url("/assets/goldencobra/icons/32/folder-add.png") no-repeat center center transparent;
|
389
439
|
@include background-size(20px);
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
440
|
+
text-indent: -99999px;
|
441
|
+
width: 22px;
|
442
|
+
height: 22px;
|
443
|
+
display: inline-block;
|
394
444
|
}
|
395
445
|
|
396
446
|
body.active_admin table.index_table th:last-child {
|
@@ -408,65 +458,138 @@ div.has_many.vita_steps {
|
|
408
458
|
}
|
409
459
|
|
410
460
|
body.active_admin form input[type="submit"] {
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
461
|
+
display: inline-block;
|
462
|
+
margin-right: 3px;
|
463
|
+
padding: 7px 16px 6px;
|
464
|
+
cursor: pointer;
|
465
|
+
|
466
|
+
background-color: #7FBF4D;
|
467
|
+
background: -moz-linear-gradient(center top , #7FBF4D, #63A62F);
|
468
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#7FBF4D), to(#63A62F));
|
469
|
+
|
470
|
+
border-color: #63A62F #63A62F #5B992B;
|
471
|
+
border-image: none;
|
472
|
+
border-radius: 200px 200px 200px 200px;
|
473
|
+
border-style: solid;
|
474
|
+
border-width: 1px;
|
475
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 0 0 #96CA6D inset;
|
476
|
+
|
477
|
+
color: #FFFFFF;
|
478
|
+
font-family: Helvetica,Arial,sans-serif;
|
479
|
+
font-size: 1em;
|
480
|
+
font-weight: bold;
|
481
|
+
line-height: 12px;
|
482
|
+
text-shadow: 0 -1px 0 #4C9021;
|
483
|
+
text-decoration: none;
|
434
484
|
}
|
435
485
|
|
436
|
-
|
437
486
|
body.active_admin form input[type="submit"]:hover:not(.disabled) {
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
487
|
+
background-color: #76B347;
|
488
|
+
background: -moz-linear-gradient(center top , #76B347, #5E9E2E);
|
489
|
+
background: -webkit-gradient(linear, left top, left bottom, from(#76B347), to(#5E9E2E));
|
490
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 0 0 #8DBF67 inset;
|
442
491
|
}
|
443
492
|
|
444
|
-
li.response_200{
|
445
|
-
color:green;
|
493
|
+
li.response_200 {
|
494
|
+
color: green;
|
446
495
|
margin: 0 0 5px -10px !important;
|
447
496
|
line-height: 12px;
|
448
497
|
font-size: 10px !important;
|
449
498
|
}
|
450
499
|
|
451
|
-
li.response_404{
|
452
|
-
color:red;
|
500
|
+
li.response_404 {
|
501
|
+
color: red;
|
453
502
|
margin: 0 0 5px -10px !important;
|
454
503
|
line-height: 12px;
|
455
504
|
font-size: 10px !important;
|
456
505
|
}
|
457
506
|
|
458
|
-
ul.link_checker_ul{
|
459
|
-
div.link_checker_label{
|
460
|
-
cursor:pointer;
|
507
|
+
ul.link_checker_ul {
|
508
|
+
div.link_checker_label {
|
509
|
+
cursor: pointer;
|
461
510
|
}
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
511
|
+
|
512
|
+
ul.link_checker_sources {
|
513
|
+
display: none;
|
514
|
+
|
515
|
+
.link_checker_position {
|
516
|
+
background-color: lightgrey;
|
517
|
+
border-radius: 5px;
|
518
|
+
display: inline-block;
|
468
519
|
padding: 2px;
|
469
|
-
margin:2px;
|
520
|
+
margin: 2px;
|
470
521
|
}
|
471
522
|
}
|
523
|
+
}
|
524
|
+
|
525
|
+
form > fieldset > ol > .has_many {
|
526
|
+
background-color: grey;
|
527
|
+
}
|
528
|
+
|
529
|
+
form > fieldset > ol > .has_many > h3 {
|
530
|
+
color: white;
|
531
|
+
}
|
532
|
+
|
533
|
+
body.active_admin form > fieldset{
|
534
|
+
padding: 0px;
|
535
|
+
}
|
536
|
+
|
537
|
+
body.active_admin form fieldset > ol > li.boolean {
|
538
|
+
height: 2.2em;
|
539
|
+
}
|
540
|
+
|
541
|
+
body.active_admin form fieldset > ol > li p.inline-errors {
|
542
|
+
text-transform: none;
|
543
|
+
}
|
544
|
+
|
545
|
+
#goldencobra_settings_wrapper{
|
546
|
+
|
547
|
+
.settings_category{
|
548
|
+
padding-left: 10px;
|
549
|
+
padding-top: 10px;
|
550
|
+
padding-right: 10px;
|
551
|
+
border: 1px solid grey;
|
552
|
+
border-radius: 5px 5px 5px 5px;
|
553
|
+
background-color: rgb(244, 244, 244);
|
554
|
+
width:40%;
|
555
|
+
margin:10px;
|
556
|
+
float:left;
|
557
|
+
|
558
|
+
.settings_level{
|
559
|
+
overflow:hidden;
|
560
|
+
clear:both;
|
561
|
+
|
562
|
+
.settings_group_title{
|
563
|
+
padding:5px;
|
564
|
+
font-weight:bold;
|
565
|
+
font-size:1.1em;
|
566
|
+
cursor:pointer;
|
567
|
+
}
|
568
|
+
|
569
|
+
.settings_sub_group{
|
570
|
+
display:none;
|
571
|
+
}
|
572
|
+
|
573
|
+
.setting_key_value{
|
574
|
+
color: rgb(50, 53, 55);
|
575
|
+
overflow:hidden;
|
576
|
+
margin-left:15px;
|
577
|
+
margin-right:10px;
|
578
|
+
clear:both;
|
579
|
+
padding:2px;
|
580
|
+
&:hover{
|
581
|
+
@include background(linear-gradient(left, rgb(244, 244, 244) 0%, #E6E6E6 50%));
|
582
|
+
}
|
583
|
+
.setting_title{
|
584
|
+
float:left;
|
585
|
+
width:60%;
|
586
|
+
}
|
587
|
+
|
588
|
+
.setting_value{
|
589
|
+
width:40%;
|
590
|
+
float:left;
|
591
|
+
}
|
592
|
+
}
|
593
|
+
}
|
594
|
+
}
|
472
595
|
}
|