venus 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/generators/venus/bootstrap/bootstrap_generator.rb +7 -4
- data/lib/generators/venus/bootstrap/templates/bootstrap.layout +1 -1
- data/lib/generators/venus/bootstrap/templates/unicorn.grey.css +14 -14
- data/lib/generators/venus/bootstrap/templates/unicorn.layout +1 -1
- data/lib/generators/venus/bootstrap/templates/unicorn.main.css +340 -340
- data/lib/generators/venus/init/init_generator.rb +3 -2
- data/lib/generators/venus/init/templates/gem_developments.erb +0 -5
- data/lib/generators/venus/simple_form/simple_form_generator.rb +1 -1
- data/lib/venus/version.rb +1 -1
- metadata +2 -2
@@ -45,14 +45,17 @@ module Venus
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def copy_example_layout
|
48
|
+
target_css = @target_css.gsub(".css", "").gsub(".scss", "").gsub(".sass", "")
|
49
|
+
target_js = @target_js.gsub(".js", "").gsub(".coffee", "")
|
48
50
|
to_file = "app/views/layouts/#{@example_layout}.html.erb"
|
49
51
|
copy_file("img/glyphicons-halflings-white.png", "app/assets/images/img/glyphicons-halflings-white.png")
|
50
52
|
copy_file("img/glyphicons-halflings.png", "app/assets/images/img/glyphicons-halflings.png")
|
51
53
|
if @unicorn
|
52
54
|
unicorn_file = "app/views/layouts/admin_unicorn.html.erb"
|
53
55
|
copy_file("unicorn.layout", unicorn_file)
|
54
|
-
|
55
|
-
replace_in_file(unicorn_file, "@
|
56
|
+
|
57
|
+
replace_in_file(unicorn_file, "@target_css", target_css)
|
58
|
+
replace_in_file(unicorn_file, "@target_js", target_js)
|
56
59
|
copy_file("img/breadcrumb.png", "app/assets/images/img/breadcrumb.png")
|
57
60
|
copy_file("img/menu-active.png", "app/assets/images/img/menu-active.png")
|
58
61
|
puts "see more uncorn admin example: http://wrapbootstrap.com/preview/WB0F35928"
|
@@ -60,8 +63,8 @@ module Venus
|
|
60
63
|
# copy origin bootstrap layout
|
61
64
|
@unicorn = false
|
62
65
|
copy_file("bootstrap.layout", to_file)
|
63
|
-
replace_in_file(to_file, "@target_css",
|
64
|
-
replace_in_file(to_file, "@target_js",
|
66
|
+
replace_in_file(to_file, "@target_css", target_css)
|
67
|
+
replace_in_file(to_file, "@target_js", target_js)
|
65
68
|
|
66
69
|
puts "see more bootdtrap usage: http://twitter.github.com/bootstrap/"
|
67
70
|
end
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<span class="icon-bar"></span>
|
17
17
|
<span class="icon-bar"></span>
|
18
18
|
</a>
|
19
|
-
<%= link_to("Bootstrap",
|
19
|
+
<%= link_to("Bootstrap", root_path, :class => "brand" )%>
|
20
20
|
<div class="nav-collapse">
|
21
21
|
<ul class="nav">
|
22
22
|
<li><%= link_to("Menu#1", "#") %></li>
|
@@ -7,15 +7,15 @@ body {
|
|
7
7
|
}
|
8
8
|
|
9
9
|
#header {
|
10
|
-
|
10
|
+
box-shadow: 0 1px 0 #333333;
|
11
11
|
background-color: #333333;
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#3F3F3F), to(#222222));
|
13
|
+
background-image: -webkit-linear-gradient(top, #3F3F3F 0%, #222222 100%);
|
14
|
+
background-image: -moz-linear-gradient(top, #3F3F3F 0%, #222222 100%);
|
15
15
|
background-image: -ms-linear-gradient(top, #3F3F3F 0%, #222222 100%);
|
16
16
|
background-image: -o-linear-gradient(top, #3F3F3F 0%, #222222 100%);
|
17
17
|
background-image: linear-gradient(top, #3F3F3F 0%, #222222 100%);
|
18
|
-
|
18
|
+
border-bottom: 1px solid #555555;
|
19
19
|
}
|
20
20
|
|
21
21
|
#search input[type=text], #search button {
|
@@ -34,7 +34,7 @@ body {
|
|
34
34
|
border-bottom: 1px solid #393939;
|
35
35
|
}
|
36
36
|
#sidebar > ul > li.active {
|
37
|
-
|
37
|
+
background-color: #3a3a3a;
|
38
38
|
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#333333), to(#3F3F3F));
|
39
39
|
background-image: -webkit-linear-gradient(top, #333333 0%, #3F3F3F 100%);
|
40
40
|
background-image: -moz-linear-gradient(top, #333333 0%, #3F3F3F 100%);
|
@@ -69,15 +69,15 @@ body {
|
|
69
69
|
}
|
70
70
|
|
71
71
|
.dropdown-menu li a:hover, .dropdown-menu .active a, .dropdown-menu .active a:hover {
|
72
|
-
|
72
|
+
color: #eeeeee;
|
73
73
|
background-color: #444444;
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
74
|
+
background-image: -webkit-gradient(linear, 0 0%, 0 100%, #555555, #222222);
|
75
|
+
background-image: -webkit-linear-gradient(top, #555555 0%, #222222 100%);
|
76
|
+
background-image: -moz-linear-gradient(top, #555555 0%, #222222 100%);
|
77
|
+
background-image: -ms-linear-gradient(top, #555555 0%, #222222 100%);
|
78
|
+
background-image: -o-linear-gradient(top, #555555 0%, #222222 100%);
|
79
|
+
background-image: linear-gradient(top, #555555 0%, #222222 100%);
|
80
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#222222',GradientType=0 ); /* IE6-9 */
|
81
81
|
}
|
82
82
|
|
83
83
|
@media (max-width: 480px) {
|
@@ -9,7 +9,7 @@
|
|
9
9
|
/* Main */
|
10
10
|
body {
|
11
11
|
overflow-x: hidden;
|
12
|
-
|
12
|
+
margin-top: -9px;
|
13
13
|
}
|
14
14
|
a:hover {
|
15
15
|
text-decoration: none;
|
@@ -17,10 +17,10 @@ a:hover {
|
|
17
17
|
|
18
18
|
/* Header */
|
19
19
|
#header {
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
height: 77px;
|
21
|
+
position: relative;
|
22
|
+
width: 100%;
|
23
|
+
/*z-index: -9;*/
|
24
24
|
}
|
25
25
|
|
26
26
|
#header h1 {
|
@@ -74,24 +74,24 @@ a:hover {
|
|
74
74
|
}
|
75
75
|
/* Top user navigation */
|
76
76
|
#user-nav {
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
77
|
+
position: absolute;
|
78
|
+
right: 30px;
|
79
|
+
top: 5px;
|
80
|
+
z-index: 20;
|
81
|
+
margin: 0;
|
82
82
|
}
|
83
83
|
#user-nav > ul {
|
84
|
-
|
85
|
-
|
86
|
-
|
84
|
+
margin: 0;
|
85
|
+
padding: 0;
|
86
|
+
list-style: none;
|
87
87
|
}
|
88
88
|
|
89
89
|
#user-nav > ul > li {
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
90
|
+
float: left;
|
91
|
+
list-style-type: none;
|
92
|
+
margin: 0;
|
93
|
+
position: relative;
|
94
|
+
padding: 0;
|
95
95
|
}
|
96
96
|
|
97
97
|
#user-nav > ul > li > a {
|
@@ -132,11 +132,11 @@ a:hover {
|
|
132
132
|
|
133
133
|
/* Sidebar Navigation */
|
134
134
|
#sidebar {
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
135
|
+
display: block;
|
136
|
+
float: left;
|
137
|
+
position: relative;
|
138
|
+
width: 220px;
|
139
|
+
z-index: 16;
|
140
140
|
}
|
141
141
|
|
142
142
|
#sidebar > ul {
|
@@ -202,15 +202,15 @@ a:hover {
|
|
202
202
|
|
203
203
|
/* Content */
|
204
204
|
#content {
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
205
|
+
background: none repeat scroll 0 0 #eeeeee;
|
206
|
+
margin-left: 220px;
|
207
|
+
margin-right: 0;
|
208
|
+
padding-bottom: 25px;
|
209
|
+
position: relative;
|
210
|
+
min-height: 500px;
|
211
|
+
width: auto;
|
212
212
|
|
213
|
-
|
213
|
+
border-top-left-radius: 8px;
|
214
214
|
}
|
215
215
|
|
216
216
|
#content-header {
|
@@ -220,22 +220,22 @@ a:hover {
|
|
220
220
|
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #EEEEEE 100%);
|
221
221
|
background-image: -o-linear-gradient(top, #FFFFFF 0%, #EEEEEE 100%);
|
222
222
|
background-image: linear-gradient(top, #FFFFFF 0%, #EEEEEE 100%);
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
223
|
+
border-top-left-radius: 8px;
|
224
|
+
height: 80px;
|
225
|
+
position: abslute;
|
226
|
+
width: 100%;
|
227
|
+
margin-top: -38px;
|
228
|
+
z-index: 20;
|
229
229
|
}
|
230
230
|
|
231
231
|
#content-header h1 {
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
232
|
+
color: #555555;
|
233
|
+
font-size: 28px;
|
234
|
+
font-weight: normal;
|
235
|
+
float: left;
|
236
|
+
text-shadow: 0 1px 0 #ffffff;
|
237
|
+
margin-left: 20px;
|
238
|
+
position: absolute;
|
239
239
|
}
|
240
240
|
|
241
241
|
#content-header .btn-group {
|
@@ -336,29 +336,29 @@ a:hover {
|
|
336
336
|
}
|
337
337
|
/* Stat boxes and quick actions */
|
338
338
|
.stat-boxes, .quick-actions, .quick-actions-horizontal, .stats-plain {
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
339
|
+
display: inline-block;
|
340
|
+
list-style: none outside none;
|
341
|
+
margin: 20px 0 10px;
|
342
|
+
text-align: center;
|
343
343
|
}
|
344
344
|
.stats-plain {
|
345
345
|
width: 100%;
|
346
346
|
}
|
347
347
|
.stat-boxes li, .quick-actions li, .quick-actions-horizontal li {
|
348
|
-
|
348
|
+
background-color: #F6F6F6;
|
349
349
|
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#F9F9F9), to(#EDEDED));
|
350
350
|
background-image: -webkit-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
351
|
+
background-image: -moz-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
|
352
|
+
background-image: -ms-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
|
353
|
+
background-image: -o-linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
|
354
|
+
background-image: linear-gradient(top, #F9F9F9 0%, #EDEDED 100%);
|
355
|
+
border: 1px solid #d5d5d5;
|
356
|
+
border-radius: 4px 4px 4px 4px;
|
357
|
+
box-shadow: 0 1px 0 0 #FFFFFF inset, 0 1px 0 rgba(255,255,255,0.4);
|
358
|
+
display: inline-block;
|
359
|
+
line-height: 18px;
|
360
|
+
margin: 0 10px 10px;
|
361
|
+
padding: 0 10px;
|
362
362
|
}
|
363
363
|
.quick-actions li {
|
364
364
|
min-width: 120px;
|
@@ -540,44 +540,44 @@ a:hover {
|
|
540
540
|
}
|
541
541
|
|
542
542
|
.stat-boxes li:hover, .quick-actions li:hover, .quick-actions-horizontal li:hover {
|
543
|
-
|
543
|
+
background-color: #fcfcfc;
|
544
544
|
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#FCFCFC), to(#F1F1F1));
|
545
545
|
background-image: -webkit-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
546
|
+
background-image: -moz-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
|
547
|
+
background-image: -ms-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
|
548
|
+
background-image: -o-linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
|
549
|
+
background-image: linear-gradient(top, #FCFCFC 0%, #F1F1F1 100%);
|
550
550
|
}
|
551
551
|
.quick-actions li:active, .quick-actions-horizontal li:active {
|
552
552
|
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#EEEEEE), to(#F4F4F4));
|
553
553
|
background-image: -webkit-linear-gradient(top, #EEEEEE 0%, #F4F4F4 100%);
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
554
|
+
background-image: -moz-linear-gradient(top, #EEEEEE 0%, #F4F4F4 100%);
|
555
|
+
background-image: -ms-linear-gradient(top, #EEEEEE 0%, #F4F4F4 100%);
|
556
|
+
background-image: -o-linear-gradient(top, #EEEEEE 0%, #F4F4F4 100%);
|
557
|
+
background-image: linear-gradient(top, #EEEEEE 0%, #F4F4F4 100%);
|
558
|
+
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.2) inset, 0 1px 0 rgba(255,255,255,0.4);
|
559
559
|
}
|
560
560
|
|
561
561
|
|
562
562
|
.stat-boxes .left, .stat-boxes .right {
|
563
563
|
text-shadow: 0 1px 0 #ffffff;
|
564
|
-
|
564
|
+
float: left;
|
565
565
|
}
|
566
566
|
.stat-boxes .left {
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
567
|
+
border-right: 1px solid #DCDCDC;
|
568
|
+
box-shadow: 1px 0 0 0 #FFFFFF;
|
569
|
+
margin-right: 12px;
|
570
|
+
padding: 10px 14px 6px 4px;
|
571
|
+
font-size: 10px;
|
572
|
+
font-weight: bold;
|
573
573
|
}
|
574
574
|
|
575
575
|
.stat-boxes .right {
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
576
|
+
font-size: 12px;
|
577
|
+
padding: 9px 10px 7px 0;
|
578
|
+
text-align: center;
|
579
|
+
width: 70px;
|
580
|
+
color: #666666;
|
581
581
|
}
|
582
582
|
.stat-boxes .left span, .stat-boxes .right strong {
|
583
583
|
display: block;
|
@@ -620,17 +620,17 @@ a:hover {
|
|
620
620
|
|
621
621
|
/* Widgets */
|
622
622
|
.widget-box {
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
623
|
+
background: none repeat scroll 0 0 #F9F9F9;
|
624
|
+
border-top: 1px solid #CDCDCD;
|
625
|
+
border-left: 1px solid #CDCDCD;
|
626
|
+
border-right: 1px solid #CDCDCD;
|
627
|
+
clear: both;
|
628
|
+
margin-top: 16px;
|
629
|
+
margin-bottom: 16px;
|
630
|
+
position: relative;
|
631
631
|
}
|
632
632
|
.widget-box.widget-calendar, .widget-box.widget-chat {
|
633
|
-
|
633
|
+
overflow:hidden !important;
|
634
634
|
}
|
635
635
|
.accordion .widget-box {
|
636
636
|
margin-top: -2px;
|
@@ -648,42 +648,42 @@ a:hover {
|
|
648
648
|
background-color: #efefef;
|
649
649
|
background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#fdfdfd), to(#eaeaea));
|
650
650
|
background-image: -webkit-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
651
|
+
background-image: -moz-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
|
652
|
+
background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
|
653
|
+
background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
|
654
|
+
background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
|
655
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 ); /* IE6-9 */
|
656
|
+
border-bottom: 1px solid #CDCDCD;
|
657
|
+
height: 36px;
|
658
658
|
}
|
659
659
|
.widget-title .nav-tabs {
|
660
|
-
|
660
|
+
border-bottom: 0 none;
|
661
661
|
}
|
662
662
|
.widget-title .nav-tabs li a {
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
663
|
+
border-bottom: medium none !important;
|
664
|
+
border-left: 1px solid #DDDDDD;
|
665
|
+
border-radius: 0 0 0 0;
|
666
|
+
border-right: 1px solid #DDDDDD;
|
667
|
+
border-top: medium none;
|
668
|
+
color: #999999;
|
669
|
+
margin: 0;
|
670
|
+
outline: medium none;
|
671
|
+
padding: 9px 10px 8px;
|
672
|
+
font-weight: bold;
|
673
|
+
text-shadow: 0 1px 0 #FFFFFF;
|
674
674
|
}
|
675
675
|
.widget-title .nav-tabs li:first-child a{
|
676
|
-
|
676
|
+
border-left: medium none !important;
|
677
677
|
}
|
678
678
|
.widget-title .nav-tabs li a:hover {
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
679
|
+
background-color: transparent !important;
|
680
|
+
border-color: #D6D6D6;
|
681
|
+
border-width: 0 1px;
|
682
|
+
color: #666666;
|
683
683
|
}
|
684
684
|
.widget-title .nav-tabs li.active a {
|
685
|
-
|
686
|
-
|
685
|
+
background-color: #F9F9F9 !important;
|
686
|
+
color: #444444;
|
687
687
|
}
|
688
688
|
.widget-title span.icon {
|
689
689
|
border-right: 1px solid #cdcdcd;
|
@@ -692,14 +692,14 @@ a:hover {
|
|
692
692
|
opacity: .7;
|
693
693
|
}
|
694
694
|
.widget-title h5 {
|
695
|
-
|
695
|
+
color: #666666;
|
696
696
|
text-shadow: 0 1px 0 #ffffff;
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
697
|
+
float: left;
|
698
|
+
font-size: 12px;
|
699
|
+
font-weight: bold;
|
700
|
+
padding: 12px;
|
701
|
+
line-height: 12px;
|
702
|
+
margin: 0;
|
703
703
|
}
|
704
704
|
.widget-title .buttons {
|
705
705
|
float: right;
|
@@ -717,22 +717,22 @@ a:hover {
|
|
717
717
|
|
718
718
|
.widget-content {
|
719
719
|
padding: 12px 15px;
|
720
|
-
|
720
|
+
border-bottom: 1px solid #cdcdcd;
|
721
721
|
}
|
722
722
|
.widget-box.widget-plain .widget-content {
|
723
723
|
padding: 12px 0 0;
|
724
724
|
}
|
725
725
|
.widget-box.collapsible .collapse.in .widget-content {
|
726
|
-
|
726
|
+
border-bottom: 1px solid #CDCDCD;
|
727
727
|
}
|
728
728
|
.recent-posts, .recent-comments, .recent-users {
|
729
729
|
margin: 0;
|
730
730
|
padding: 0;
|
731
731
|
}
|
732
732
|
.recent-posts li, .recent-comments li, .article-post li, .recent-users li {
|
733
|
-
|
734
|
-
|
735
|
-
|
733
|
+
border-bottom: 1px dotted #AEBDC8;
|
734
|
+
list-style: none outside none;
|
735
|
+
padding: 10px;
|
736
736
|
}
|
737
737
|
.recent-posts li.viewall, .recent-comments li.viewall, .recent-users li.viewall {
|
738
738
|
padding: 0;
|
@@ -748,22 +748,22 @@ a:hover {
|
|
748
748
|
}
|
749
749
|
|
750
750
|
.recent-posts li:last-child, .recent-comments li:last-child, .recent-users li:last-child {
|
751
|
-
|
751
|
+
border-bottom: none !important;
|
752
752
|
}
|
753
753
|
|
754
754
|
.user-thumb {
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
755
|
+
background: none repeat scroll 0 0 #FFFFFF;
|
756
|
+
border: 1px solid #B6BCBF;
|
757
|
+
float: left;
|
758
|
+
height: 40px;
|
759
|
+
margin-right: 10px;
|
760
|
+
margin-top: 5px;
|
761
|
+
padding: 2px;
|
762
|
+
width: 40px;
|
763
763
|
}
|
764
764
|
.user-info {
|
765
|
-
|
766
|
-
|
765
|
+
color: #666666;
|
766
|
+
font-size: 11px;
|
767
767
|
}
|
768
768
|
|
769
769
|
.site-stats {
|
@@ -772,15 +772,15 @@ a:hover {
|
|
772
772
|
list-style: none;
|
773
773
|
}
|
774
774
|
.site-stats li {
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
775
|
+
background-color: #F5F5F5;
|
776
|
+
border: 1px solid #DDDDDD;
|
777
|
+
cursor: pointer;
|
778
|
+
margin: 0 0 10px;
|
779
|
+
padding: 13px 20px 10px;
|
780
|
+
position: relative;
|
781
781
|
}
|
782
782
|
.site-stats li:hover {
|
783
|
-
|
783
|
+
background-color: #EDEDED;
|
784
784
|
}
|
785
785
|
.site-stats li.divider {
|
786
786
|
padding: 0;
|
@@ -807,27 +807,27 @@ a:hover {
|
|
807
807
|
padding: 20px;
|
808
808
|
}
|
809
809
|
.invoice-action {
|
810
|
-
|
810
|
+
margin-bottom: 30px;
|
811
811
|
}
|
812
812
|
.invoice-head {
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
813
|
+
clear: both;
|
814
|
+
margin-bottom: 40px;
|
815
|
+
overflow: hidden;
|
816
|
+
width: auto;
|
817
817
|
}
|
818
818
|
.invoice-meta {
|
819
|
-
|
820
|
-
|
819
|
+
font-size: 18px;
|
820
|
+
margin-bottom: 40px;
|
821
821
|
}
|
822
822
|
.invoice-date {
|
823
|
-
|
824
|
-
|
823
|
+
float: right;
|
824
|
+
font-size: 80%;
|
825
825
|
}
|
826
826
|
.invoice-content h5 {
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
827
|
+
color: #333333;
|
828
|
+
font-size: 16px;
|
829
|
+
font-weight: normal;
|
830
|
+
margin-bottom: 10px;
|
831
831
|
}
|
832
832
|
.invoice-content ul {
|
833
833
|
list-style: none;
|
@@ -835,18 +835,18 @@ a:hover {
|
|
835
835
|
padding: 0;
|
836
836
|
}
|
837
837
|
.invoice-to {
|
838
|
-
|
839
|
-
|
838
|
+
float: left;
|
839
|
+
width: 370px;
|
840
840
|
}
|
841
841
|
.invoice-from {
|
842
|
-
|
843
|
-
|
842
|
+
float: right;
|
843
|
+
width: 300px;
|
844
844
|
}
|
845
845
|
.invoice-to li, .invoice-from li {
|
846
|
-
|
846
|
+
clear: left;
|
847
847
|
}
|
848
848
|
.invoice-to li span, .invoice-from li span {
|
849
|
-
|
849
|
+
display: block;
|
850
850
|
}
|
851
851
|
.invoice-content th.total-label {
|
852
852
|
text-align: right;
|
@@ -855,14 +855,14 @@ a:hover {
|
|
855
855
|
text-align: left;
|
856
856
|
}
|
857
857
|
.amount-word {
|
858
|
-
|
859
|
-
|
860
|
-
|
858
|
+
color: #666666;
|
859
|
+
margin-bottom: 40px;
|
860
|
+
margin-top: 40px;
|
861
861
|
}
|
862
862
|
.amount-word span {
|
863
|
-
|
864
|
-
|
865
|
-
|
863
|
+
color: #5476A6;
|
864
|
+
font-weight: bold;
|
865
|
+
padding-left: 20px;
|
866
866
|
}
|
867
867
|
.panel-left {
|
868
868
|
margin-right: 250px;
|
@@ -886,7 +886,7 @@ a:hover {
|
|
886
886
|
color: #777777;
|
887
887
|
text-shadow: 0 1px 0 #ffffff;
|
888
888
|
padding: 6px 10px 5px;
|
889
|
-
|
889
|
+
margin: 0;
|
890
890
|
}
|
891
891
|
.panel-right .panel-content {
|
892
892
|
padding: 10px;
|
@@ -896,11 +896,11 @@ a:hover {
|
|
896
896
|
padding: 15px;
|
897
897
|
}
|
898
898
|
.chat-messages {
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
899
|
+
background: none repeat scroll 0 0 #FDFDFD;
|
900
|
+
border: 1px solid #DDDDDD;
|
901
|
+
height: 425px;
|
902
|
+
overflow: auto;
|
903
|
+
position: relative;
|
904
904
|
}
|
905
905
|
.chat-message {
|
906
906
|
padding: 7px 15px;
|
@@ -911,44 +911,44 @@ a:hover {
|
|
911
911
|
width: 100%;
|
912
912
|
}
|
913
913
|
.chat-message .input-box {
|
914
|
-
|
915
|
-
|
914
|
+
display: block;
|
915
|
+
margin-right: 90px;
|
916
916
|
}
|
917
917
|
.chat-message button {
|
918
918
|
float: right;
|
919
919
|
}
|
920
920
|
#chat-messages-inner p {
|
921
|
-
|
922
|
-
|
921
|
+
padding: 10px;
|
922
|
+
margin: 10px 0;
|
923
923
|
}
|
924
924
|
#chat-messages-inner p img {
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
925
|
+
display: inline-block;
|
926
|
+
float: left;
|
927
|
+
vertical-align: middle;
|
928
|
+
width: 28px;
|
929
|
+
height: 28px;
|
930
|
+
margin-top: 6px;
|
931
931
|
}
|
932
932
|
#chat-messages-inner .msg-block, #chat-messages-inner p.offline span {
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
933
|
+
background: none repeat scroll 0 0 #FFFFFF;
|
934
|
+
border: 1px solid #cccccc;
|
935
|
+
box-shadow: 1px 1px 0 1px rgba(0, 0, 0, 0.05);
|
936
|
+
display: block;
|
937
|
+
margin-left: 40px;
|
938
|
+
padding: 10px;
|
939
|
+
position: relative;
|
940
940
|
}
|
941
941
|
#chat-messages-inner p.offline span {
|
942
|
-
|
942
|
+
background: none repeat scroll 0 0 #FFF5F5;
|
943
943
|
}
|
944
944
|
#chat-messages-inner .time {
|
945
|
-
|
946
|
-
|
947
|
-
|
945
|
+
color: #999999;
|
946
|
+
font-size: 11px;
|
947
|
+
font-style: italic;
|
948
948
|
}
|
949
949
|
#chat-messages-inner .msg {
|
950
|
-
|
951
|
-
|
950
|
+
display: block;
|
951
|
+
margin-top: 10px;
|
952
952
|
}
|
953
953
|
#chat-messages-inner .msg-block:before {
|
954
954
|
border-right: 7px solid rgba(0,0,0,0.1);
|
@@ -974,26 +974,26 @@ a:hover {
|
|
974
974
|
padding: 0 0 30px;
|
975
975
|
}
|
976
976
|
.chat-users .contact-list {
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
977
|
+
line-height: 21px;
|
978
|
+
list-style: none outside none;
|
979
|
+
margin: 0;
|
980
|
+
padding: 0;
|
981
|
+
font-size: 10px;
|
982
982
|
}
|
983
983
|
.chat-users .contact-list li {
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
984
|
+
border-color: #dddddd;
|
985
|
+
border-style: none none solid;
|
986
|
+
border-width: 0 0 1px;
|
987
|
+
padding: 1px;
|
988
|
+
position: relative;
|
989
989
|
}
|
990
990
|
.chat-users .contact-list li:hover {
|
991
991
|
background-color: #efefef;
|
992
992
|
}
|
993
993
|
.chat-users .contact-list li a {
|
994
|
-
|
995
|
-
|
996
|
-
|
994
|
+
color: #666666;
|
995
|
+
display: block;
|
996
|
+
padding: 8px 5px;
|
997
997
|
}
|
998
998
|
.chat-users .contact-list li.online a {
|
999
999
|
font-weight: bold;
|
@@ -1005,69 +1005,69 @@ a:hover {
|
|
1005
1005
|
background-color: #EDE0E0;
|
1006
1006
|
}
|
1007
1007
|
.chat-users .contact-list li a img {
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1008
|
+
display: inline-block;
|
1009
|
+
margin-right: 10px;
|
1010
|
+
vertical-align: middle;
|
1011
|
+
width: 28px;
|
1012
|
+
height: 28px;
|
1013
|
+
border-radius: 3px;
|
1014
1014
|
}
|
1015
1015
|
.chat-users .contact-list li .msg-count {
|
1016
1016
|
padding: 3px 5px;
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1017
|
+
position: absolute;
|
1018
|
+
right: 10px;
|
1019
|
+
top: 12px;
|
1020
1020
|
}
|
1021
1021
|
.taskDesc i {
|
1022
|
-
|
1022
|
+
margin: 1px 5px 0;
|
1023
1023
|
}
|
1024
1024
|
.taskStatus, .taskOptions {
|
1025
|
-
|
1025
|
+
text-align: center !important;
|
1026
1026
|
}
|
1027
1027
|
.taskStatus .in-progress {
|
1028
|
-
|
1028
|
+
color: #64909E;
|
1029
1029
|
}
|
1030
1030
|
.taskStatus .pending {
|
1031
|
-
|
1031
|
+
color: #AC6363;
|
1032
1032
|
}
|
1033
1033
|
.taskStatus .done {
|
1034
|
-
|
1034
|
+
color: #75B468;
|
1035
1035
|
}
|
1036
1036
|
.activity-list {
|
1037
|
-
|
1038
|
-
|
1037
|
+
list-style: none outside none;
|
1038
|
+
margin: 0;
|
1039
1039
|
}
|
1040
1040
|
.activity-list li {
|
1041
|
-
|
1042
|
-
|
1041
|
+
border-bottom: 1px solid #EEEEEE;
|
1042
|
+
display: block;
|
1043
1043
|
}
|
1044
1044
|
.activity-list li:last-child {
|
1045
|
-
|
1045
|
+
border-bottom: medium none;
|
1046
1046
|
}
|
1047
1047
|
.activity-list li a {
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1048
|
+
color: #888888;
|
1049
|
+
display: block;
|
1050
|
+
padding: 7px 10px;
|
1051
1051
|
}
|
1052
1052
|
.activity-list li a:hover {
|
1053
|
-
|
1053
|
+
background-color: #FBFBFB;
|
1054
1054
|
}
|
1055
1055
|
.activity-list li a span {
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1056
|
+
color: #AAAAAA;
|
1057
|
+
font-size: 11px;
|
1058
|
+
font-style: italic;
|
1059
1059
|
}
|
1060
1060
|
.activity-list li a i {
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1061
|
+
margin-right: 10px;
|
1062
|
+
opacity: 0.6;
|
1063
|
+
vertical-align: middle;
|
1064
1064
|
}
|
1065
1065
|
.new-update {
|
1066
|
-
|
1067
|
-
|
1066
|
+
border-top: 1px solid #DDDDDD;
|
1067
|
+
padding: 10px 12px;
|
1068
1068
|
}
|
1069
1069
|
.new-update:first-child {
|
1070
|
-
|
1070
|
+
border-top: medium none;
|
1071
1071
|
}
|
1072
1072
|
.new-update span {
|
1073
1073
|
display:block;
|
@@ -1078,22 +1078,22 @@ a:hover {
|
|
1078
1078
|
margin-right: 13px;
|
1079
1079
|
}
|
1080
1080
|
.new-update .update-date {
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1081
|
+
color: #BBBBBB;
|
1082
|
+
float: right;
|
1083
|
+
margin: 4px -2px 0 0;
|
1084
|
+
text-align: center;
|
1085
|
+
width: 30px;
|
1086
1086
|
}
|
1087
1087
|
.new-update .update-date .update-day {
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1088
|
+
display: block;
|
1089
|
+
font-size: 20px;
|
1090
|
+
font-weight: bold;
|
1091
|
+
margin-bottom: -4px;
|
1092
1092
|
}
|
1093
1093
|
.update-done, .update-alert, .update-notice {
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1094
|
+
display: block;
|
1095
|
+
float: left;
|
1096
|
+
max-width: 76%;
|
1097
1097
|
}
|
1098
1098
|
|
1099
1099
|
/* Tables */
|
@@ -1104,100 +1104,100 @@ span.icon .checker {
|
|
1104
1104
|
}
|
1105
1105
|
|
1106
1106
|
.dataTables_length {
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1107
|
+
color: #878787;
|
1108
|
+
margin: 7px 5px 0;
|
1109
|
+
position: absolute;
|
1110
|
+
right: 2px;
|
1111
|
+
top: -2px;
|
1112
1112
|
}
|
1113
1113
|
.dataTables_length div {
|
1114
1114
|
vertical-align: middle;
|
1115
1115
|
}
|
1116
1116
|
|
1117
1117
|
.dataTables_paginate {
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1118
|
+
line-height: 16px;
|
1119
|
+
text-align: right;
|
1120
|
+
margin-top: 5px;
|
1121
|
+
margin-right: 10px;
|
1122
1122
|
}
|
1123
1123
|
.dataTables_paginate .ui-button, .pagination.alternate li a {
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1124
|
+
font-size: 12px;
|
1125
|
+
padding: 4px 10px !important;
|
1126
|
+
border-style: solid;
|
1127
|
+
border-width: 1px;
|
1128
|
+
border-color: #dddddd #dddddd #cccccc; /* for IE < 9 */
|
1129
|
+
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
1130
|
+
display: inline-block;
|
1131
|
+
line-height: 16px;
|
1132
|
+
background-color: #f5f5f5;
|
1133
|
+
background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
|
1134
|
+
background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
|
1135
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
1136
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
1137
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
1138
|
+
background-image: linear-gradient(top, #ffffff, #e6e6e6);
|
1139
|
+
color: #333333;
|
1140
|
+
text-shadow: 0 1px 0 #ffffff;
|
1141
1141
|
}
|
1142
1142
|
.dataTables_paginate .ui-button:hover, .pagination.alternate li a:hover{
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1143
|
+
background-color: #e8e8e8;
|
1144
|
+
background-image: -moz-linear-gradient(center top , #f0f0f0, #dadada);
|
1145
|
+
background-image: -ms-linear-gradient(top, #f0f0f0, #dadada);
|
1146
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f0f0f0), to(#dadada));
|
1147
|
+
background-image: -webkit-linear-gradient(top, #f0f0f0, #dadada);
|
1148
|
+
background-image: -o-linear-gradient(top, #f0f0f0, #dadada);
|
1149
|
+
background-image: linear-gradient(top, #f0f0f0, #dadada);
|
1150
|
+
color: #222222;
|
1151
|
+
text-shadow: 0 1px 0 #ffffff;
|
1152
|
+
cursor: pointer;
|
1153
1153
|
}
|
1154
1154
|
|
1155
1155
|
.dataTables_paginate .first{
|
1156
|
-
|
1156
|
+
border-radius: 4px 0 0 4px;
|
1157
1157
|
}
|
1158
1158
|
.dataTables_paginate .last {
|
1159
|
-
|
1159
|
+
border-radius: 0 4px 4px 0;
|
1160
1160
|
}
|
1161
1161
|
.dataTables_paginate .ui-state-disabled, .fc-state-disabled, .pagination.alternate li.disabled a {
|
1162
|
-
|
1162
|
+
color: #AAAAAA !important;
|
1163
1163
|
}
|
1164
1164
|
.dataTables_paginate .ui-state-disabled:hover, .fc-state-disabled:hover, .pagination.alternate li.disabled a:hover {
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1165
|
+
background-color: #f5f5f5;
|
1166
|
+
background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
|
1167
|
+
background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
|
1168
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
|
1169
|
+
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
|
1170
|
+
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
|
1171
|
+
background-image: linear-gradient(top, #ffffff, #e6e6e6);
|
1172
|
+
cursor: default !important;
|
1173
1173
|
}
|
1174
1174
|
.dataTables_paginate span .ui-state-disabled, .pagination.alternate li.active a {
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1175
|
+
background-color: #414141 !important;
|
1176
|
+
background-image: -moz-linear-gradient(center top , #555555, #222222) !important;
|
1177
|
+
background-image: -ms-linear-gradient(top, #555555, #222222) !important;
|
1178
|
+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222)) !important;
|
1179
|
+
background-image: -webkit-linear-gradient(top, #555555, #222222) !important;
|
1180
|
+
background-image: -o-linear-gradient(top, #555555, #222222) !important;
|
1181
|
+
background-image: linear-gradient(top, #555555, #222222) !important;
|
1182
|
+
color: #ffffff !important;
|
1183
|
+
cursor: default !important;
|
1184
1184
|
}
|
1185
1185
|
div.dataTables_wrapper .ui-widget-header {
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1186
|
+
border-right: medium none;
|
1187
|
+
border-top: 1px solid #D5D5D5;
|
1188
|
+
font-weight: normal;
|
1189
|
+
margin-top: -1px;
|
1190
1190
|
}
|
1191
1191
|
.dataTables_wrapper .ui-toolbar {
|
1192
|
-
|
1192
|
+
padding: 5px;
|
1193
1193
|
}
|
1194
1194
|
.dataTables_filter {
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1195
|
+
color: #878787;
|
1196
|
+
font-size: 11px;
|
1197
|
+
left: 0;
|
1198
|
+
margin: 4px 8px 2px 10px;
|
1199
|
+
position: absolute;
|
1200
|
+
text-align: left;
|
1201
1201
|
}
|
1202
1202
|
.dataTables_filter input {
|
1203
1203
|
margin-bottom: 0;
|
@@ -1239,8 +1239,8 @@ div.dataTables_wrapper .ui-widget-header {
|
|
1239
1239
|
margin-left: -2.12766% !important;
|
1240
1240
|
}
|
1241
1241
|
.thumbnails [class*="span"] {
|
1242
|
-
|
1243
|
-
|
1242
|
+
margin-left: 2.12766% !important;
|
1243
|
+
position: relative;
|
1244
1244
|
}
|
1245
1245
|
.thumbnails .actions {
|
1246
1246
|
width: 32px;
|
@@ -1260,9 +1260,9 @@ div.dataTables_wrapper .ui-widget-header {
|
|
1260
1260
|
opacity: 1;
|
1261
1261
|
}
|
1262
1262
|
.line {
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1263
|
+
background: url("img/line.png") repeat-x scroll 0 0 transparent;
|
1264
|
+
display: block;
|
1265
|
+
height: 8px;
|
1266
1266
|
}
|
1267
1267
|
.modal {
|
1268
1268
|
z-index: 99999 !important;
|
@@ -1410,16 +1410,16 @@ form {
|
|
1410
1410
|
white-space: nowrap;
|
1411
1411
|
overflow: hidden;
|
1412
1412
|
}
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1413
|
+
.form-horizontal .control-label {
|
1414
|
+
padding-left: 30px;
|
1415
|
+
}
|
1416
|
+
.form-horizontal .controls {
|
1417
|
+
margin-left: 0;
|
1418
|
+
padding: 10px 30px;
|
1419
|
+
}
|
1420
|
+
.form-actions {
|
1421
|
+
text-align: center;
|
1422
|
+
}
|
1423
1423
|
}
|
1424
1424
|
|
1425
1425
|
@media (min-width: 481px) and (max-width: 767px) {
|
data/lib/venus/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: venus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|