Changeset 597:fabd394302f1 in documentViewer


Ignore:
Timestamp:
Nov 19, 2012, 12:15:57 PM (12 years ago)
Author:
casties
Branch:
default
Message:

image search layer uses different color for its annotations.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • css/docuviewer.css

    r590 r597  
    382382
    383383/*
     384 * image search
     385 */
     386div.col.main div.content.image.search div.annotator-hl {
     387    background-color: rgba(255, 10, 10, 0.3);
     388}
     389div.col.main div.content.image.search div.annotator-hl:hover {
     390    background-color: transparent;
     391    border: 2px solid red;
     392}
     393
     394/*
    384395 * xml page
    385396 */
  • zpt/viewer/layer_image_search.zpt

    r596 r597  
    2626    "></script>
    2727</metal:block>
    28 
    2928</head>
    3029<body>
  • zpt/viewer/viewer_image.zpt

    r594 r597  
    7171          <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" />
    7272        </div>
    73         <div class="content image">
     73        <div tal:attributes="class string:content image $viewLayer">
    7474          <div id="scaler">
    7575            <img tal:attributes="src string:${docinfo/imageURL}&pn=${pageinfo/pn}&dw=500&dh=500" />
Note: See TracChangeset for help on using the changeset viewer.