message_train 0.4.6 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -1
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/app/assets/javascripts/ckeditor/config.js.coffee +48 -0
- data/app/assets/javascripts/message_train.js +25 -50
- data/app/assets/stylesheets/message_train.scss +6 -5
- data/app/controllers/message_train/messages_controller.rb +1 -1
- data/app/controllers/message_train/participants_controller.rb +4 -0
- data/app/views/message_train/messages/_form.html.haml +25 -4
- data/message_train.gemspec +20 -11
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/features/messages_spec.rb +9 -17
- data/spec/support/shared_connection.rb +0 -1
- data/spec/support/utilities.rb +51 -0
- metadata +62 -9
- data/app/views/message_train/participants/_field.html.haml +0 -4
- data/spec/support/wysihtml5_helper.rb +0 -8
- data/vendor/assets/javascripts/bootstrap-tags.js +0 -623
- data/vendor/assets/stylesheets/bootstrap-tags.css +0 -78
@@ -1,78 +0,0 @@
|
|
1
|
-
/* bootstrap-tags styles */
|
2
|
-
.bootstrap-tags.bootstrap-3 .tag a {
|
3
|
-
margin: 0 0 0 .3em; }
|
4
|
-
.bootstrap-tags.bootstrap-3 .glyphicon-white {
|
5
|
-
color: #fff; }
|
6
|
-
|
7
|
-
.bootstrap-tags.bootstrap-2 .tag.md {
|
8
|
-
padding: .3em .4em .4em; }
|
9
|
-
.bootstrap-tags.bootstrap-2 .tag.lg {
|
10
|
-
padding: .4em .4em .5em; }
|
11
|
-
|
12
|
-
.bootstrap-tags {
|
13
|
-
position: relative; }
|
14
|
-
.bootstrap-tags .tags {
|
15
|
-
width: inherit;
|
16
|
-
height: 0;
|
17
|
-
position: absolute;
|
18
|
-
padding: 0;
|
19
|
-
margin: 0; }
|
20
|
-
.bootstrap-tags .tag-data {
|
21
|
-
display: none; }
|
22
|
-
.bootstrap-tags .tags-input {
|
23
|
-
width: 100%;
|
24
|
-
margin: 0;
|
25
|
-
padding: 0;
|
26
|
-
height: 1.7em;
|
27
|
-
box-sizing: content-box;
|
28
|
-
-webkit-box-sizing: content-box;
|
29
|
-
-moz-box-sizing: content-box; }
|
30
|
-
.bootstrap-tags .tag-list {
|
31
|
-
width: 280px;
|
32
|
-
height: auto;
|
33
|
-
min-height: 26px;
|
34
|
-
left: 2px;
|
35
|
-
top: 2px;
|
36
|
-
position: relative; }
|
37
|
-
.bootstrap-tags .tag {
|
38
|
-
padding: .4em .4em .4em;
|
39
|
-
margin: 0 .1em;
|
40
|
-
float: left; }
|
41
|
-
.bootstrap-tags .tag.sm {
|
42
|
-
padding: .4em .4em .5em;
|
43
|
-
font-size: 12px; }
|
44
|
-
.bootstrap-tags .tag.md {
|
45
|
-
font-size: 14px; }
|
46
|
-
.bootstrap-tags .tag.lg {
|
47
|
-
font-size: 18px;
|
48
|
-
padding: .4em .4em .4em;
|
49
|
-
margin: 0 .2em .2em 0; }
|
50
|
-
.bootstrap-tags .tag a {
|
51
|
-
color: #bbb;
|
52
|
-
cursor: pointer;
|
53
|
-
opacity: .5; }
|
54
|
-
.bootstrap-tags .tag .remove {
|
55
|
-
vertical-align: bottom;
|
56
|
-
top: 0; }
|
57
|
-
.bootstrap-tags ul.tags-suggestion-list {
|
58
|
-
width: 300px;
|
59
|
-
height: auto;
|
60
|
-
list-style: none;
|
61
|
-
margin: 0;
|
62
|
-
z-index: 2;
|
63
|
-
max-height: 160px;
|
64
|
-
overflow: auto; }
|
65
|
-
.bootstrap-tags ul.tags-suggestion-list li.tags-suggestion {
|
66
|
-
padding: 3px 20px;
|
67
|
-
height: auto; }
|
68
|
-
.bootstrap-tags ul.tags-suggestion-list li.tags-suggestion-highlighted {
|
69
|
-
color: white;
|
70
|
-
text-decoration: none;
|
71
|
-
background-color: #0081C2;
|
72
|
-
background-image: -moz-linear-gradient(top, #0088cc, #0077b3);
|
73
|
-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));
|
74
|
-
background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);
|
75
|
-
background-image: -o-linear-gradient(top, #0088cc, #0077b3);
|
76
|
-
background-image: linear-gradient(to bottom, #0088cc, #0077b3);
|
77
|
-
background-repeat: repeat-x;
|
78
|
-
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); }
|