Revision 1078:b9e34a051f82 vendor/plugins/redmine_bibliography/assets

View differences:

vendor/plugins/redmine_bibliography/assets/javascripts/bibtex.js
1
function toggleBibtex(el) {
2
  var dd = Element.up(el).next('dd')
3

  
4
  dd.toggleClassName('collapsed');
5
  Effect.toggle(dd, 'slide', {duration:0.2});
6
}
vendor/plugins/redmine_bibliography/assets/stylesheets/bibliography.css
32 32
    min-width: 150px;
33 33
}
34 34

  
35
div#bibliography dl { margin-left: 2em; }
36
div#bibliography .box dl { margin-left: 0; }
37
div#bibliography dt { margin-bottom: 0px; padding-left: 20px }
38
div#bibliography .box dt { margin-bottom: 0px; padding-left: 10px }
39
div#bibliography dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
40
div#bibliography .box dd { margin-bottom: 0.6em; padding-left: 0; }
35

  
36
div#bibliography dd { margin-bottom: 1em; font-size: 0.9em; }
37

  
41 38
div#bibliography dd .authors { font-style: italic; }
42
div#bibliography dt .title { font-style: italic; }
43 39
div#bibliography dd span.authors { color: #808080; }
44 40
div#bibliography dd span.year { padding-left: 0.6em; }
45 41

  
46
div#bibliography h3 { background: url(../../../images/table_multiple.png) no-repeat 0% 50%; padding-left: 20px; }
42
div#bibliography .box dt { 
43
  background: url(../../../images/document.png) no-repeat 0% 4px;
44
  padding-left: 20px;
45
  margin-left: 0;
46
}
47
div#bibliography .box dd { 
48
  padding-left: 20px;
49
  margin-left: 0;
50
}
51

  
52
div#bibliography h3 { 
53
  background: url(../../../images/table_multiple.png) no-repeat 0% 50%; 
54
  padding-left: 20px;
55
}
56

  
57
div#bibliography textarea {
58
  width: 90%;
59
  height: 200px;
60
  font: normal 8px;
61
  padding: 2px 10px;
62
  border: solid 1px #ddd;  
63
}

Also available in: Unified diff