| Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 1 | @charset "utf-8"; | 
 | 2 |  | 
 | 3 | @import "colors"; | 
 | 4 |  | 
 | 5 | ol > li:not(.active) { | 
 | 6 |   .tokenInfo, .treeInfo { | 
 | 7 |     display: none; | 
 | 8 |   } | 
 | 9 | } | 
 | 10 |  | 
 | 11 | .tokenInfo, .treeInfo { | 
 | 12 |   display: none; | 
 | 13 |   background-color: $dark-orange; | 
 | 14 |   margin-right: 26px; | 
 | 15 |   overflow: auto; | 
 | 16 |   &.active { | 
 | 17 |     display: block; | 
 | 18 |   } | 
 | 19 | } | 
 | 20 |  | 
 | 21 | .tokenInfo { | 
 | 22 |   table { | 
 | 23 |     font-size: 10pt; | 
 | 24 |     padding: 3pt 10pt; /* wie in ol > li.active p */ | 
 | 25 |     /* All cells */ | 
| Nils Diewald | 996aa55 | 2014-12-02 03:26:44 +0000 | [diff] [blame] | 26 |     > tr:nth-child(odd) { | 
 | 27 |       td { | 
 | 28 |         background-color: lighten($dark-orange, 25%); | 
 | 29 |       } | 
 | 30 |     } | 
| Nils Diewald | f2e02a9 | 2014-11-12 18:31:05 +0000 | [diff] [blame] | 31 |     > tr { | 
 | 32 |       > * { | 
 | 33 | 	padding: 1pt 6pt; | 
 | 34 | 	vertical-align: top; | 
 | 35 |       } | 
 | 36 |       > td { | 
 | 37 | 	text-align: center; | 
 | 38 | 	background-color: $light-orange; | 
 | 39 |       } | 
 | 40 |       /* header */ | 
 | 41 |       > th{ | 
 | 42 | 	&:not([rowspan]) { | 
 | 43 | 	  color: white; | 
 | 44 | 	  text-shadow: none; | 
 | 45 | 	} | 
 | 46 | 	&[rowspan]:first-child { | 
 | 47 | 	  background-color: $light-orange; | 
 | 48 | 	} | 
 | 49 | 	span.switchSort { | 
 | 50 | 	  cursor: pointer; | 
 | 51 | 	  position: absolute; | 
 | 52 | 	  display: inline-block; | 
 | 53 | 	  right: 0; | 
 | 54 | 	  margin-right: -11pt; | 
 | 55 | 	  width: 20pt; | 
 | 56 | 	} | 
 | 57 |       } | 
 | 58 |       &:first-child th { | 
 | 59 | 	text-align: center; | 
 | 60 | 	background-color: $darker-orange; | 
 | 61 | 	/* first column header */ | 
 | 62 | 	&:first-child { | 
 | 63 | 	  position: relative; | 
 | 64 | 	  padding-right: 20pt; | 
 | 65 | 	  padding-left: 5pt; | 
 | 66 | 	} | 
 | 67 | 	/* second column header */ | 
 | 68 | 	&:nth-child(2) { | 
 | 69 | 	  text-align: left; | 
 | 70 | 	  padding-left: 20pt; | 
 | 71 | 	  padding-right: 5pt; | 
 | 72 | 	} | 
 | 73 |       } | 
 | 74 |     } | 
 | 75 |   } | 
 | 76 | } | 
 | 77 |  | 
 | 78 | g.root > rect { | 
 | 79 |   fill: none; | 
 | 80 |   stroke-width: 5px; | 
 | 81 |   stroke: $darker-orange; | 
 | 82 | } | 
 | 83 |  | 
 | 84 | g.middle > rect { | 
 | 85 |   fill: $light-orange; | 
 | 86 |   stroke: $darker-orange; | 
 | 87 |   color: white; | 
 | 88 |   stroke-width: 2px; | 
 | 89 |   padding: 2px; | 
 | 90 | } | 
 | 91 |  | 
 | 92 | g.leaf > rect { | 
 | 93 |   display: none; | 
 | 94 | } | 
 | 95 |  | 
 | 96 | svg { | 
 | 97 |   background-color: $dark-orange; | 
 | 98 |   overflow: hidden; | 
 | 99 | } | 
 | 100 |  | 
 | 101 | text { | 
 | 102 |   font-family: verdana, tahoma, arial; | 
 | 103 |   font-size: 9pt; | 
 | 104 |   color: $dark-grey; | 
 | 105 |   text-shadow: 1px 1px rgba(255, 255, 255, 0.4); | 
 | 106 | } | 
 | 107 |  | 
 | 108 | .edgePath path { | 
 | 109 |   stroke: white; | 
 | 110 |   stroke-width: 2px; | 
 | 111 |   fill: none; | 
 | 112 | } |