redde 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -1,127 +1,131 @@
1
- a.del {
2
- background:image-url("admin/del.png") no-repeat 100% 0; display:inline-block; height:20px; line-height:20px; padding:0 22px 0 0;
3
- &:hover {background-position:100% -80px;}
4
- }
5
-
6
- .actions {margin:10px 0;}
7
-
8
- .ac_results {
9
- padding: 0px;
10
- border: 1px solid black;
11
- background-color: white;
12
- overflow: hidden;
13
- z-index: 99999;
14
- }
15
-
16
- .ac_results ul {width: 100%;list-style-position: outside;list-style: none;padding: 0;margin: 0;}
17
-
18
- .ac_results li {
19
- margin: 0px;
20
- padding: 2px 5px;
21
- cursor: default;
22
- display: block;
23
- /*
24
- if width will be 100% horizontal scrollbar will apear
25
- when scroll mode will be used
26
- */
27
- /*width: 100%;*/
28
- font: menu;
29
- font-size: 12px;
30
- /*
31
- it is very important, if line-height not setted or setted
32
- in relative units scroll will be broken in firefox
33
- */
34
- line-height: 16px;
35
- overflow: hidden;
36
- color:#004D83;
37
- }
38
-
39
- /*.ac_results li strong {color:#4490BC;}
40
- */
41
- .ac_loading {
42
- background: white image-url('admin/ajaxloader2.gif') right center no-repeat;
43
- }
44
-
45
- .ac_odd {
46
- background-color: #eee;
47
- }
48
-
49
- .ac_over {
50
- background-color: #4490BC;
51
- color: #fff !important;
52
- }
53
-
54
- .ac_results2 {min-width:333px; max-width:600px; width:auto !important;}
55
-
56
- table.lang {
57
- td {text-align:right;}
58
- a.selected {color:#000;}
59
- }
60
-
61
- #main #page-header {
62
- h1.partner {font-size:22px; line-height:22px; font-weight:normal; float:none;}
63
- p.partner {color:#777; float:none; }
64
- a.partner-lnk { font-size:12px; color:#0047B3; line-height:12px; }
65
- }
66
-
67
- .edit-box {
68
- float:right; margin-left:-100%;
69
- a.red {color:#f00;}
70
- }
71
-
72
- .full #page_sidebar {display:none;}
73
-
74
- .order-list {list-style-position: inside}
75
-
76
- .tbl {
77
- border-collapse:collapse; width:100%;
78
- .for_img {width:1px; text-align:left; padding-right:5px; border-bottom:3px solid #EDEDED; vertical-align:bottom; }
79
- tr.bot {
80
- th, td {border-bottom-width:3px;}
81
- th {vertical-align:top;}
82
- }
83
- th, td {vertical-align:middle;}
84
- th {padding:5px 10px 5px 5px; width:1%;}
85
- td {width:auto; padding-top:4px; }
86
- td.handle { width:25px; text-align:left; vertical-align:middle;}
87
- th.handle {width:auto;}
88
- td.handle img {display:block;}
89
- th {width:auto;}
90
- td.last {text-align:right; width:1px;}
91
- }
92
-
93
- .tusers {
94
- tr:hover td {background:#ffc; cursor:pointer;}
95
- .plast { width:1px; text-align:left; padding-left:10px; padding-right:10px; border-left:1px solid #ededed;}
96
- }
97
-
98
- .tmenu {
99
- .i2 {width:40%;}
100
- }
101
-
102
- .article {
103
- clear:both; overflow:hidden; margin-bottom:10px;
104
- p.delete-link {clear:both;}
105
- }
106
-
107
- #showcases {
108
- .red {color:#f00;}
109
- .green {color:green;}
110
- }
111
-
112
- #sales_sortable {
113
- td,th {vertical-align:middle;}
114
- }
115
- #sale_product_ids {
116
- optgroup option {
117
- margin-left:17px;
118
- &.red {
119
- background:red !important; color:#fff !important;
120
- &:after {content:"*"};
121
- }
122
- }
123
- }
124
-
125
- .vam {vertical-align:middle !important;}
126
- .vab {vertical-align:bottom !important;}
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
@@ -0,0 +1,6 @@
1
+ //= require admin/defaults
2
+ //= require_directory ./layouts
3
+ //= require_directory ./blocks
4
+ //= require redactor
5
+ //= require admin/lightbox/css/jquery.lightbox-0.5
6
+ //= require admin/custom
data/lib/redde/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Redde
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-12 00:00:00.000000000 Z
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/redactor.css.scss
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/default.scss
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: -2195825711924323486
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: -2195825711924323486
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";