redde 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/redde/layout/layout_generator.rb +0 -5
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/custom/index.scss +1 -0
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/{default.scss → defaults/index.scss} +131 -127
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/{reset.sass → defaults/reset.sass} +32 -32
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin/index.scss +6 -0
- data/lib/redde/version.rb +1 -1
- metadata +9 -8
- data/lib/generators/redde/layout/templates/assets/stylesheets/admin.scss +0 -12
- /data/lib/generators/redde/layout/templates/assets/redactor/stylesheets/redactor/{redactor.css.scss → index.scss} +0 -0
@@ -25,16 +25,11 @@ module Redde
|
|
25
25
|
directory "assets/javascripts/admin", "app/assets/javascripts/admin"
|
26
26
|
|
27
27
|
# copy css
|
28
|
-
%w{ admin.scss }.each do |css|
|
29
|
-
template "assets/stylesheets/#{css}", "app/assets/stylesheets/#{css}"
|
30
|
-
end
|
31
28
|
directory "assets/stylesheets/admin", "app/assets/stylesheets/admin"
|
32
29
|
|
33
30
|
# copy redactor
|
34
|
-
|
35
31
|
directory "assets/redactor", "app/assets"
|
36
32
|
|
37
|
-
|
38
33
|
# copy helpers
|
39
34
|
template "helpers/admin_helper.rb", "app/helpers/admin_helper.rb"
|
40
35
|
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require_tree .
|
@@ -1,127 +1,131 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
.
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
/*
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
}
|
44
|
-
|
45
|
-
.
|
46
|
-
background
|
47
|
-
}
|
48
|
-
|
49
|
-
.
|
50
|
-
background-color: #
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
.
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
}
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
th
|
88
|
-
|
89
|
-
|
90
|
-
td.
|
91
|
-
}
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
.
|
100
|
-
}
|
101
|
-
|
102
|
-
.
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
.
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
}
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
1
|
+
//= require admin/defaults/reset
|
2
|
+
//= require_self
|
3
|
+
//= require_directory .
|
4
|
+
|
5
|
+
a.del {
|
6
|
+
background:image-url("admin/del.png") no-repeat 100% 0; display:inline-block; height:20px; line-height:20px; padding:0 22px 0 0;
|
7
|
+
&:hover {background-position:100% -80px;}
|
8
|
+
}
|
9
|
+
|
10
|
+
.actions {margin:10px 0;}
|
11
|
+
|
12
|
+
.ac_results {
|
13
|
+
padding: 0px;
|
14
|
+
border: 1px solid black;
|
15
|
+
background-color: white;
|
16
|
+
overflow: hidden;
|
17
|
+
z-index: 99999;
|
18
|
+
}
|
19
|
+
|
20
|
+
.ac_results ul {width: 100%;list-style-position: outside;list-style: none;padding: 0;margin: 0;}
|
21
|
+
|
22
|
+
.ac_results li {
|
23
|
+
margin: 0px;
|
24
|
+
padding: 2px 5px;
|
25
|
+
cursor: default;
|
26
|
+
display: block;
|
27
|
+
/*
|
28
|
+
if width will be 100% horizontal scrollbar will apear
|
29
|
+
when scroll mode will be used
|
30
|
+
*/
|
31
|
+
/*width: 100%;*/
|
32
|
+
font: menu;
|
33
|
+
font-size: 12px;
|
34
|
+
/*
|
35
|
+
it is very important, if line-height not setted or setted
|
36
|
+
in relative units scroll will be broken in firefox
|
37
|
+
*/
|
38
|
+
line-height: 16px;
|
39
|
+
overflow: hidden;
|
40
|
+
color:#004D83;
|
41
|
+
}
|
42
|
+
|
43
|
+
/*.ac_results li strong {color:#4490BC;}
|
44
|
+
*/
|
45
|
+
.ac_loading {
|
46
|
+
background: white image-url('admin/ajaxloader2.gif') right center no-repeat;
|
47
|
+
}
|
48
|
+
|
49
|
+
.ac_odd {
|
50
|
+
background-color: #eee;
|
51
|
+
}
|
52
|
+
|
53
|
+
.ac_over {
|
54
|
+
background-color: #4490BC;
|
55
|
+
color: #fff !important;
|
56
|
+
}
|
57
|
+
|
58
|
+
.ac_results2 {min-width:333px; max-width:600px; width:auto !important;}
|
59
|
+
|
60
|
+
table.lang {
|
61
|
+
td {text-align:right;}
|
62
|
+
a.selected {color:#000;}
|
63
|
+
}
|
64
|
+
|
65
|
+
#main #page-header {
|
66
|
+
h1.partner {font-size:22px; line-height:22px; font-weight:normal; float:none;}
|
67
|
+
p.partner {color:#777; float:none; }
|
68
|
+
a.partner-lnk { font-size:12px; color:#0047B3; line-height:12px; }
|
69
|
+
}
|
70
|
+
|
71
|
+
.edit-box {
|
72
|
+
float:right; margin-left:-100%;
|
73
|
+
a.red {color:#f00;}
|
74
|
+
}
|
75
|
+
|
76
|
+
.full #page_sidebar {display:none;}
|
77
|
+
|
78
|
+
.order-list {list-style-position: inside}
|
79
|
+
|
80
|
+
.tbl {
|
81
|
+
border-collapse:collapse; width:100%;
|
82
|
+
.for_img {width:1px; text-align:left; padding-right:5px; border-bottom:3px solid #EDEDED; vertical-align:bottom; }
|
83
|
+
tr.bot {
|
84
|
+
th, td {border-bottom-width:3px;}
|
85
|
+
th {vertical-align:top;}
|
86
|
+
}
|
87
|
+
th, td {vertical-align:middle;}
|
88
|
+
th {padding:5px 10px 5px 5px; width:1%;}
|
89
|
+
td {width:auto; padding-top:4px; }
|
90
|
+
td.handle { width:25px; text-align:left; vertical-align:middle;}
|
91
|
+
th.handle {width:auto;}
|
92
|
+
td.handle img {display:block;}
|
93
|
+
th {width:auto;}
|
94
|
+
td.last {text-align:right; width:1px;}
|
95
|
+
}
|
96
|
+
|
97
|
+
.tusers {
|
98
|
+
tr:hover td {background:#ffc; cursor:pointer;}
|
99
|
+
.plast { width:1px; text-align:left; padding-left:10px; padding-right:10px; border-left:1px solid #ededed;}
|
100
|
+
}
|
101
|
+
|
102
|
+
.tmenu {
|
103
|
+
.i2 {width:40%;}
|
104
|
+
}
|
105
|
+
|
106
|
+
.article {
|
107
|
+
clear:both; overflow:hidden; margin-bottom:10px;
|
108
|
+
p.delete-link {clear:both;}
|
109
|
+
}
|
110
|
+
|
111
|
+
#showcases {
|
112
|
+
.red {color:#f00;}
|
113
|
+
.green {color:green;}
|
114
|
+
}
|
115
|
+
|
116
|
+
#sales_sortable {
|
117
|
+
td,th {vertical-align:middle;}
|
118
|
+
}
|
119
|
+
#sale_product_ids {
|
120
|
+
optgroup option {
|
121
|
+
margin-left:17px;
|
122
|
+
&.red {
|
123
|
+
background:red !important; color:#fff !important;
|
124
|
+
&:after {content:"*"};
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.vam {vertical-align:middle !important;}
|
130
|
+
.vab {vertical-align:bottom !important;}
|
131
|
+
|
@@ -1,33 +1,33 @@
|
|
1
|
-
*
|
2
|
-
margin: 0
|
3
|
-
padding: 0
|
4
|
-
|
5
|
-
th
|
6
|
-
text-align: left
|
7
|
-
|
8
|
-
a
|
9
|
-
color: #0047B3
|
10
|
-
&:hover
|
11
|
-
text-decoration:none
|
12
|
-
|
13
|
-
html,
|
14
|
-
body
|
15
|
-
width: 100%
|
16
|
-
height: 100%
|
17
|
-
|
18
|
-
body
|
19
|
-
min-width: 1000px
|
20
|
-
overflow-y: scroll
|
21
|
-
background-color: #F3F1EC
|
22
|
-
text-align: left
|
23
|
-
font: 12px "Lucida Grande", "Lucida Sans Unicode", helvetica, arial, verdana, sans-serif
|
24
|
-
|
25
|
-
label
|
26
|
-
font-size: 14px
|
27
|
-
font-weight: bold
|
28
|
-
textarea
|
29
|
-
width: 100%
|
30
|
-
min-width: 275px
|
31
|
-
font-size: 12px
|
32
|
-
input
|
1
|
+
*
|
2
|
+
margin: 0
|
3
|
+
padding: 0
|
4
|
+
|
5
|
+
th
|
6
|
+
text-align: left
|
7
|
+
|
8
|
+
a
|
9
|
+
color: #0047B3
|
10
|
+
&:hover
|
11
|
+
text-decoration:none
|
12
|
+
|
13
|
+
html,
|
14
|
+
body
|
15
|
+
width: 100%
|
16
|
+
height: 100%
|
17
|
+
|
18
|
+
body
|
19
|
+
min-width: 1000px
|
20
|
+
overflow-y: scroll
|
21
|
+
background-color: #F3F1EC
|
22
|
+
text-align: left
|
23
|
+
font: 12px "Lucida Grande", "Lucida Sans Unicode", helvetica, arial, verdana, sans-serif
|
24
|
+
|
25
|
+
label
|
26
|
+
font-size: 14px
|
27
|
+
font-weight: bold
|
28
|
+
textarea
|
29
|
+
width: 100%
|
30
|
+
min-width: 275px
|
31
|
+
font-size: 12px
|
32
|
+
input
|
33
33
|
font-size: 18px
|
data/lib/redde/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redde
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-02-
|
13
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jquery-rails
|
@@ -211,9 +211,8 @@ files:
|
|
211
211
|
- lib/generators/redde/layout/templates/assets/redactor/javascripts/redactor/langs/ru.js
|
212
212
|
- lib/generators/redde/layout/templates/assets/redactor/javascripts/redactor/redactor.js.erb
|
213
213
|
- lib/generators/redde/layout/templates/assets/redactor/javascripts/redactor/toolbars/default.js
|
214
|
-
- lib/generators/redde/layout/templates/assets/redactor/stylesheets/redactor/
|
214
|
+
- lib/generators/redde/layout/templates/assets/redactor/stylesheets/redactor/index.scss
|
215
215
|
- lib/generators/redde/layout/templates/assets/redactor/stylesheets/redactor/wym.css
|
216
|
-
- lib/generators/redde/layout/templates/assets/stylesheets/admin.scss
|
217
216
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/error-msg.sass
|
218
217
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/list.scss
|
219
218
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/notice.scss
|
@@ -224,9 +223,12 @@ files:
|
|
224
223
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/phead-tabs.sass
|
225
224
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/photos.scss
|
226
225
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/sortable.sass
|
227
|
-
- lib/generators/redde/layout/templates/assets/stylesheets/admin/
|
226
|
+
- lib/generators/redde/layout/templates/assets/stylesheets/admin/custom/index.scss
|
227
|
+
- lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/index.scss
|
228
228
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/input.sass
|
229
|
+
- lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/reset.sass
|
229
230
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/table.scss
|
231
|
+
- lib/generators/redde/layout/templates/assets/stylesheets/admin/index.scss
|
230
232
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/header.sass
|
231
233
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/launchbar.sass
|
232
234
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/login.scss
|
@@ -234,7 +236,6 @@ files:
|
|
234
236
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/page-header.sass
|
235
237
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/page-sidebar.sass
|
236
238
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/sidebar.sass
|
237
|
-
- lib/generators/redde/layout/templates/assets/stylesheets/admin/reset.sass
|
238
239
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_filter.scss
|
239
240
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_order-sh.scss
|
240
241
|
- lib/generators/redde/layout/templates/assets/stylesheets/admin/shop/_pe.scss
|
@@ -328,7 +329,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
328
329
|
version: '0'
|
329
330
|
segments:
|
330
331
|
- 0
|
331
|
-
hash:
|
332
|
+
hash: 875708741128439050
|
332
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
334
|
none: false
|
334
335
|
requirements:
|
@@ -337,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
337
338
|
version: '0'
|
338
339
|
segments:
|
339
340
|
- 0
|
340
|
-
hash:
|
341
|
+
hash: 875708741128439050
|
341
342
|
requirements: []
|
342
343
|
rubyforge_project:
|
343
344
|
rubygems_version: 1.8.24
|
@@ -1,12 +0,0 @@
|
|
1
|
-
//= require_self
|
2
|
-
//= require admin/reset
|
3
|
-
//= require admin/default
|
4
|
-
//= require_tree ./admin/defaults/
|
5
|
-
//= require_tree ./admin/layouts/
|
6
|
-
//= require_tree ./admin/blocks/
|
7
|
-
//= require redactor/redactor
|
8
|
-
|
9
|
-
@charset "UTF-8";
|
10
|
-
|
11
|
-
@import
|
12
|
-
"admin/lightbox/css/jquery.lightbox-0.5";
|
File without changes
|