123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516 |
- /*
- NOTES ON STYLING FEATURES:
- - avoid using any margins in feature styles. Layout is done
- by JBrowse.
- - when possible, make all element heights an odd number of
- pixels, so that vertical centering is possible with
- pixel-perfect accuracy.
- */
- .basic,
- .plus-basic,
- .minus-basic {
- position: absolute;
- cursor: pointer;
- z-index: 10;
- min-width: 1px;
- }
- .basicSubfeature {
- position: absolute;
- cursor: pointer;
- z-index: 12;
- min-width: 1px;
- }
- div.hist {
- position: absolute;
- z-index: 10;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- -ms-box-sizing: border-box;
- }
- .feature,
- .plus-feature,
- .minus-feature {
- position:absolute;
- height: 7px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- z-index: 10;
- background-color: #eee;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- -ms-box-sizing: border-box;
- }
- .plus-feature { background-image: url('img/plus-chevron3.png'); }
- .minus-feature { background-image: url('img/minus-chevron3.png'); }
- .subfeature,
- .plus-subfeature,
- .minus-subfeature {
- position:absolute;
- background-color: #dadada;
- height: 7px;
- min-width: 1px;
- z-index: 12;
- box-sizing: border-box;
- -moz-box-sizing: border-box;
- -webkit-box-sizing: border-box;
- -ms-box-sizing: border-box;
- }
- .alignment,
- .plus-alignment,
- .minus-alignment {
- background-color: #ccc;
- /* these should all 3 match */
- height: 11px;
- line-height: 11px;
- font-size: 11px;
- }
- .plus-alignment {
- background-color: #EC8B8B;
- }
- .minus-alignment {
- background-color: #898FD8;
- }
- .alignment.missing_mate, .plus-alignment.missing_mate, .minus-alignment.missing_mate {
- background-image: url('img/red_crosshatch_bg.png');
- }
- .alignment > .mismatch, .minus-alignment > .mismatch, .plus-alignment > .mismatch {
- height: 100%;
- }
- .alignment > .deletion, .minus-alignment > .deletion, .plus-alignment > .deletion {
- background-color: black;
- height: 100%;
- }
- .alignment > .deletion *, .plus-alignment > .deletion *, .minus-alignment > .deletion * {
- color: white;
- }
- .alignment > .insertion, .plus-alignment > .insertion, .minus-alignment > .insertion {
- background-color: white;
- color: black;
- height: 100%;
- }
- .alignment > .skip, .plus-alignment > .skip, .minus-alignment > .skip {
- background: url('img/dark_20x3.png') repeat-x 0 50% white;
- height: 100%;
- opacity: 0.7;
- }
- div.feature-hist {
- background-color: blue;
- border-color: #5858C4;
- }
- .feature2, .plus-feature2, .minus-feature2 {
- position:absolute;
- height: 7px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- z-index: 10;
- background-color: #62d335;
- }
- .Boolean-transparent {
- opacity: 0.2;
- }
- div.feature2-hist {
- background-color: #9f9;
- border-color: #ada;
- }
- .feature3, .plus-feature3, .minus-feature3 {
- position:absolute;
- height: 7px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- z-index: 10;
- background-color: goldenrod;
- }
- div.feature3-hist {
- background-color: yellow;
- border-color: black;
- }
- .feature4, .plus-feature4, .minus-feature4 {
- position:absolute;
- height: 11px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- z-index: 10;
- background: yellow;
- }
- div.feature4-hist {
- background-color: yellow;
- border-color: black;
- }
- .feature5, .plus-feature5, .minus-feature5 {
- position:absolute;
- height: 7px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- z-index: 10;
- background-color: blue;
- }
- div.feature5-hist {
- background-color: blue;
- border-color: lightblue;
- }
- div.exon-hist {
- background-color: #4B76E8;
- border-color: #00f;
- }
- .exon,
- .plus-exon,
- .minus-exon {
- position: absolute;
- height: 7px;
- background-color: #4B76E8;
- border-style: solid;
- border-color: #00f;
- border-width: 1px;
- cursor: pointer;
- z-index: 10;
- }
- div.est-hist {
- background-color: #ED9185;
- border-color: #c33;
- }
- .est,
- .plus-est,
- .minus-est {
- position: absolute;
- height: 7px;
- background-color: #ED9185;
- }
- .dblhelix,
- .plus-dblhelix,
- .minus-dblhelix {
- position:absolute;
- height: 11px;
- background-image: url('img/dblhelix-red.png');
- background-repeat: repeat-x;
- min-width: 1px;
- cursor: pointer;
- z-index: 10;
- }
- div.dblhelix-hist {
- background-color: #fcc;
- border-color: #daa;
- }
- .plus-helix,
- .minus-helix {
- position:absolute;
- height: 11px;
- background-image: url('img/helix3-green.png');
- background-repeat: repeat-x;
- min-width: 1px;
- cursor: pointer;
- z-index: 10;
- }
- div.helix-hist {
- background-color: #cfc;
- border-color: #ada;
- }
- .loops, .minus-loops, .plus-loops {
- position:absolute;
- height: 13px;
- background-image: url('img/loops.png');
- background-repeat: repeat-x;
- cursor: pointer;
- }
- .diamonds, .minus-diamonds, .plus-diamonds {
- position:absolute;
- height: 13px;
- background-image: url('img/glyph-diamond.png');
- background-repeat: repeat-x;
- cursor: pointer;
- }
- .plus-cds, .minus-cds {
- position:absolute;
- height: 13px;
- background-repeat: repeat-x;
- cursor: pointer;
- min-width: 1px;
- }
- .plus-cds_phase0 { background-image: url('img/plus-cds0.png'); }
- .plus-cds_phase1 { background-image: url('img/plus-cds1.png'); }
- .plus-cds_phase2 { background-image: url('img/plus-cds2.png'); }
- .minus-cds_phase0 { background-image: url('img/minus-cds0.png'); }
- .minus-cds_phase1 { background-image: url('img/minus-cds1.png'); }
- .minus-cds_phase2 { background-image: url('img/minus-cds2.png'); }
- div.cds-hist {
- background-color: #fcc;
- border-color: #daa;
- }
- .topbracket {
- position:absolute;
- height: 8px;
- border-style: solid solid none solid;
- border-width: 2px;
- border-color: orange;
- cursor: pointer;
- }
- .bottombracket {
- position:absolute;
- height: 8px;
- border-style: none solid solid solid;
- border-width: 2px;
- border-color: green;
- cursor: pointer;
- }
- .hourglass, .plus-hourglass, .minus-hourglass {
- position:absolute;
- height: 0px;
- border-style: solid;
- border-width: 6px 3px 6px 3px;
- cursor: pointer;
- }
- .triangle, .plus-triangle, .minus-triangle {
- position:absolute;
- height: 0px;
- border-style: solid;
- border-width: 6px 3px 0px 3px;
- cursor: pointer;
- }
- .hgred {
- border-color: #f99 white #f99 white;
- }
- div.hgred-hist {
- background-color: #daa;
- border-color: #d44;
- }
- .hgblue {
- border-color: #99f white #99f white;
- }
- div.hgblue-hist {
- background-color: #aad;
- border-color: #99f;
- }
- .ibeam, .plus-ibeam, .minus-ibeam {
- position:absolute;
- height: 2px;
- background-color: blue;
- border-style: solid;
- border-width: 8px 4px 8px 4px;
- border-color: white blue white blue;
- cursor: pointer;
- box-sizing: content-box;
- -moz-box-sizing: content-box;
- -webkit-box-sizing: content-box;
- -ms-box-sizing: content-box;
- }
- div.transcript-hist {
- background-color: #ddd;
- border-color: #FF9185;
- }
- .transcript,
- .plus-transcript,
- .minus-transcript {
- position: absolute;
- height: 11px;
- background: url('img/dark_20x3.png') repeat-x 0 4px white;
- z-index: 6;
- min-width: 1px;
- cursor: pointer;
- }
- .plus-transcript-arrowhead,
- .plus-arrowhead {
- position: absolute;
- width: 9px;
- height: 5px;
- background-image: url('img/plus-arrowhead.png');
- background-repeat: no-repeat;
- z-index: 100;
- }
- .minus-transcript-arrowhead,
- .minus-arrowhead {
- position: absolute;
- width: 9px;
- height: 5px;
- background-image: url('img/minus-arrowhead.png');
- background-repeat: no-repeat;
- z-index: 100;
- }
- /* introns are hidden by default */
- .plus-intron, .minus-intron {
- display: none;
- }
- /* can also set a class of 'hidden' to hide something */
- .hidden, .plus-hidden, .minus-hidden {
- display: none;
- }
- .plus-CDS,
- .plus-transcript-CDS,
- .minus-CDS,
- .minus-transcript-CDS {
- position: absolute;
- height: 11px;
- background: #F09A9A;
- cursor: pointer;
- z-index: 10;
- min-width: 1px;
- }
- .plus-exon,
- .minus-exon,
- .plus-UTR,
- .minus-UTR,
- .plus-five_prime_UTR,
- .minus-five_prime_UTR,
- .plus-three_prime_UTR,
- .minus-three_prime_UTR {
- position: absolute;
- height: 7px;
- background-color: #B66;
- border-style: solid;
- border-color: #D88;
- border-width: 2px 0px 2px 0px;
- z-index: 8;
- min-width: 1px;
- cursor: pointer;
- }
- .generic_parent,
- .plus-generic_parent,
- .minus-generic_parent {
- position: absolute;
- height: 4px;
- background-color: #AAA;
- z-index: 6;
- min-width: 1px;
- cursor: pointer;
- }
- div.generic_parent-hist {
- background-color: #ddd;
- border-color: #555;
- }
- .match_part,
- .plus-match_part,
- .minus-match_part {
- position: absolute;
- height: 4px;
- background-color: #66B;
- border-style: solid;
- border-color: #88D;
- border-width: 2px 0px 2px 0px;
- z-index: 8;
- min-width: 1px;
- cursor: pointer;
- }
- .generic_part_a,
- .plus-generic_part_a,
- .minus-generic_part_a {
- position: absolute;
- height: 4px;
- background-color: #6B6;
- border-style: solid;
- border-color: #8D8;
- border-width: 2px 0px 2px 0px;
- z-index: 8;
- min-width: 1px;
- cursor: pointer;
- }
- /* floating score display for wiggle tracks */
- .wiggleValueDisplay {
- background: #FFFEF0;
- border: 1px solid #aaa;
- padding: 2px;
- font-family: Courier New, monospace;
- font-weight: bold;
- cursor: default;
- -moz-box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- -webkit-box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- }
- .wiggleValueDisplay table {
- border-spacing: 0;
- }
- .wiggleValueDisplay td {
- padding: 0.2em 0.4em;
- }
- .wiggleValueDisplay td.count, .wiggleValueDisplay td.pct {
- text-align: right;
- }
- .wiggleValueDisplay tr.total > td {
- border-top: 1px solid #aaa;
- font-weight: bold;
- }
- .wigglePositionIndicator {
- background: #333;
- border: none;
- width: 1px;
- cursor: default;
- }
- .featureTooltip {
- background: #FFFEF0;
- border: 1px solid #aaa;
- padding: 2px;
- font-family: Courier New, monospace;
- font-weight: bold;
- cursor: default;
- -moz-box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- -webkit-box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- box-shadow: 4px 4px 10px 2px rgba( 80, 80, 80, 0.3 );
- }
|