Revision 1026:b42553f6df71 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 }
35

  
39 36
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; }
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% 50%; padding-left: 20px;
44
  margin-left: 2em;
45
}
46
div#bibliography .box dd { 
47
  margin-left: 25px;
48
}
47 49

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

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

Also available in: Unified diff