sequence.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. table.sequence {
  2. border-collapse: collapse;
  3. }
  4. div.sequence_blur {
  5. /* background: url('img/sequence_blur.png') #eee repeat-x; */
  6. background: #f5f5f5;
  7. background: rgba( 50, 50, 50, 0.16 );
  8. border: 0;
  9. color: #575757;
  10. height: 31px;
  11. font-size: 12px;
  12. text-align: center;
  13. position: relative;
  14. }
  15. .sequence_blur > span {
  16. top: 50%;
  17. position: absolute;
  18. width: 100%;
  19. display: block;
  20. left: 0;
  21. margin-top: -8px;
  22. }
  23. table.sequence .highlighted {
  24. background: #ff0;
  25. }
  26. table.sequence .revcom {
  27. color: red;
  28. }
  29. table.sequence .base, table.sequence > tr, table.translatedSequence > tr, table.translatedSequence {
  30. height: 14px;
  31. line-height: 14px;
  32. }
  33. table.sequence.big .base {
  34. border-right: 1px solid #333;
  35. }
  36. .translatedSequence {
  37. position: relative;
  38. border-width: 0px;
  39. border-collapse: collapse;
  40. overflow: visible;
  41. }
  42. .translatedSequence table {
  43. z-index: 10;
  44. }
  45. .translatedSequence.frame0 {
  46. background-color: #929292;
  47. }
  48. .translatedSequence.frame1 {
  49. background-color: #B0B0B0;
  50. }
  51. .translatedSequence.frame2 {
  52. background-color: #E0E0E0;
  53. }
  54. .translatedSequence td.aminoAcid {
  55. text-align: center;
  56. z-index: 2000;
  57. color: black;
  58. font-family: Courier New,monospace;
  59. font-weight: bold;
  60. text-shadow: white 0px 0px 1px;
  61. }
  62. .translatedSequence.big, .translatedSequence.big td.aminoAcid {
  63. border-right: 1px solid #777;
  64. }
  65. .translatedSequence.frame2 td.aminoAcid {
  66. border-right-color: #979797;
  67. }
  68. .translatedSequence.frame1 td.aminoAcid {
  69. border-right-color: #6d6d6d;
  70. }
  71. .translatedSequence.frame0 td.aminoAcid {
  72. border-right-color: #5f5f5f;
  73. }
  74. .translatedSequence td.aminoAcid_\* {
  75. background-color: #FF0000;
  76. }
  77. .translatedSequence td.aminoAcid_m {
  78. background-color: #00FF00;
  79. }
  80. td.base {
  81. text-align: center;
  82. z-index: 2000;
  83. }
  84. .base {
  85. color: black;
  86. font-family: Courier New,monospace;
  87. font-weight: bold;
  88. text-shadow: white 0px 0px 1px;
  89. }
  90. /* colors for bases must be specified as hex or rgb/hsl strings, no named colors such as 'red' */
  91. .base_n {
  92. background-color: #C6C6C6;
  93. }
  94. .base_a {
  95. background-color: #00BF00;
  96. }
  97. .base_c {
  98. background-color: #4747ff;
  99. }
  100. .base_t {
  101. background-color: #f00;
  102. }
  103. .base_g {
  104. background-color: #d5bb04;
  105. }
  106. .base_reference {
  107. background-color: #bbb;
  108. }
  109. .base_deletion {
  110. background-color: #999;
  111. }