Changeset 4448


Ignore:
Timestamp:
02/05/14 15:13:24 (10 years ago)
Author:
twagoo
Message:

new icons and presentation of resources in record page

Location:
vlo/branches/vlo-3.0/vlo-web-app/src/main/html
Files:
5 added
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/record1.html

    r4447 r4448  
    6767                    < previous
    6868                    | <a href="">next &gt;</a><br />
     69                    Record 1 of 604056 &nbsp;&nbsp;
    6970                </div>
    7071                <h1 id="recordtitle">&quot;Chinese Democratie en de Transformatie&quot;</h1>
    7172                <div id="recorddetails">
     73                    <a id="recordlandingpage" href="http://dspace.library.uu.nl/handle/1874/235456">Show this record in its original context</a>
    7274                    <table class="recorddetailstable">
    7375                        <tbody class="attributesTbody">
     
    119121                </div>
    120122
    121                 <div id="recordreferences">
    122                     <div id="recordlandingpage">
    123                         <h2>Landing page</h2>
    124                         <p>
    125                             The following link points to the original context of the present record, as indicated by the provider of the metadata:
    126                         </p>
    127                         <div><a href="">http://dspace.library.uu.nl/handle/1874/235456</a></div>
    128                     </div>
    129                     <div id="recordresources">
    130                         <h2>Resources</h2>
    131                         <p>The following links point to the original resources described by the present record:</p>
    132                         <div class="writtenresource"><a href="">http://dspace.library.uu.nl/bitstream/1874/235456/1/Bachelorscriptie+Rene+Witteveen+3375005.docx</a></div>
    133                         <div class="audioresource"><a href="">http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Media/002-djawu_klluu-2011-09-01.wav</a></div>
    134                         <div class="annotationresource"><a href="">http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Annotations/002-djawu_klluu-2011-09-01.eaf</a></div>
    135                     </div>
     123                <div id="recordresources">
     124                    <a class="writtenresource" href="http://dspace.library.uu.nl/bitstream/1874/235456/1/Bachelorscriptie+Rene+Witteveen+3375005.docx">Bachelorscriptie+Rene+Witteveen+3375005.docx</a>
     125                    <a class="audioresource" href="http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Media/002-djawu_klluu-2011-09-01.wav">002-djawu_klluu-2011-09-01.wav</a>
     126                    <a class="imageresource" href="http://corpus1.mpi.nl/qfs1/media-archive/dobes_data/Ache/Documentaci_n_-_Documentation/Comunidades_-_Communities/Cerro_Moroti/Annotations/002-djawu_klluu-2011-09-01.eaf">002-djawu_klluu-2011-09-01.eaf</a>
    136127                </div>
    137128
  • vlo/branches/vlo-3.0/vlo-web-app/src/main/html/style/vlo-record.css

    r4447 r4448  
    3939}
    4040
     41a#recordlandingpage {
     42    display: inline-block;
     43    padding-left: 20px;
     44    background-image: url('external-link-128.png');
     45    background-size: 12px;
     46    background-repeat: no-repeat;
     47    background-position: initial;
     48}
     49
    4150ul#recordcontextfacets {
    4251    margin-top: 0px;
     
    4756}
    4857
    49 #recordreferences {
    50     margin-top: 1em;
    51     text-align: left;
    52 }
    53 
    54 #recordreferences > div {
    55     margin-top: 1em;
    56 }
    57 
    58 #recordreferences div div {
    59     /* div that has resource link or landing page */
    60     min-height: 36px;
    61     padding-left: 36px;
    62 }
    63 
    64 #recordreferences div div a, #recordreferences div div a:hover {
    65     display: inline-block;
    66     padding-top: .5em;
    67 }
    68 
    6958/* record title with prev/next links */
    7059
    7160h1#recordtitle {
    72     max-width: 80%;
     61    max-width: 70%;
    7362    clear: left;
    7463}
    7564
    7665#recordprevnext {
    77     width: 15%;
     66    width: 25%;
    7867    float: right;
    7968    clear: right;
     69    text-align: right;
    8070}
    8171
     
    8676
    8777table.recorddetailstable {
     78    margin-top: 1em;
    8879    border-collapse: collapse;
    8980    border-top: 1px solid #999;
     
    112103}
    113104
    114 /* icons for record references */
    115 #recordlandingpage div {
    116     background: url('Crystal_Clear_mimetype_readme.png') no-repeat;
     105
     106#recordresources {
     107    clear: both;
     108    margin: 2em 0;
    117109}
    118110
    119 #recordresources div.writtenresource {
    120     background: url('text-x-generic.png') no-repeat;
     111#recordresources a {
     112    display: inline-block;
     113    float: left;
     114    width: 128px;
     115    padding: 74px 10px 0px 10px;
     116    background-repeat: no-repeat;
     117    background-position: center 5px;
     118    background-size: 64px;
     119    word-break: break-all;
     120    text-align: center;
    121121}
    122122
    123 #recordresources div.audioresource {
    124     background: url('audio-x-generic.png') no-repeat;
     123#recordresources a:hover {
     124    background-color: #ccc;
    125125}
    126126
    127 #recordresources div.videoresource {
    128     background: url('video-x-generic.png') no-repeat;
     127
     128#recordresources a.writtenresource {
     129    background-image: url('document-256.png'); /* icon from icons8.com */
    129130}
    130131
    131 #recordresources div.annotationresource {
    132     background: url('text-x-log.png') no-repeat;
     132#recordresources a.audioresource {
     133    background-image: url('audio-file-3-256.png'); /* icon from icons8.com */
    133134}
    134135
    135 #recordtechnicaldetailstoggle{
    136     margin-top: 2em;
    137     padding-bottom: 0px;
     136#recordresources a.videoresource {
     137    background-image: url('video-file-3-256.png'); /* icon from icons8.com */
     138}
     139
     140#recordresources a.imageresource {
     141    background-image: url('image-file-256.png'); /* icon from icons8.com */
     142}
     143
     144#recordtechnicaldetailstoggle {
     145    clear: both;
     146    padding: 4em 0 0 0;
     147}
     148
     149#showrecordtechnicaldetails:before {
     150    content: '+ ';
     151}
     152
     153
     154#hiderecordtechnicaldetails:before {
     155    content: '- ';
    138156}
    139157
    140158#recordtechnicaldetails {
    141159    border-top: 1px dashed;
    142     padding-top: 1em;
     160    padding: 1em 0;
    143161}
    144162
     
    148166
    149167#recordcmdi article {
    150     position: relative;
    151     max-height: 400px;
    152     overflow: auto;
     168/*  max-height: 400px;
     169    overflow: auto;*/
    153170    margin-top: 1em;
     171    padding: 1em;
    154172}
Note: See TracChangeset for help on using the changeset viewer.