Ignore:
Timestamp:
08/19/14 15:31:00 (10 years ago)
Author:
Twan Goosen
Message:

Styling of the VC details page
Refs #594

File:
1 edited

Legend:

Unmodified
Added
Removed
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/webapp/css/_table.scss

    r5572 r5573  
    2323
    2424    td.type {
    25         width: 60px;
     25        width: 5em;
    2626    }
    2727}
     
    6262        overflow: hidden;
    6363    }
    64 } //table.resourcesTable
     64} //table.creatorsTable
    6565
    6666table.collectionsTable {
     
    7373        vertical-align: top;
    7474        padding-left: .5em;
     75
     76        &.state {
     77            width: 5em;
     78        }
     79
     80        &.type {
     81            width: 7em;
     82        }
     83
     84        &.created {
     85            width: 7em;
     86        }
     87
     88        &.action {
     89            width: 2em;
     90        }
    7591    }
    7692
    77     td.name div.name {
    78         padding-left: 16px;
    79         /* icon from GLYPHICONS.com */
    80         background-image: url('../icons/glyphicons_367_expand.png');
    81         background-size: $iconsize;
    82         background-repeat: no-repeat;
    83         background-position: center left;
    84         cursor: pointer;
    85     }
     93    td.name {
    8694
    87     td.name div.name:hover {
    88         color: #AE0000;
    89         background-color: inherit;
    90     }
     95        width: auto;
     96       
     97        div.name {
     98            padding-left: 16px;
     99            /* icon from GLYPHICONS.com */
     100            background-image: url('../icons/glyphicons_367_expand.png');
     101            background-size: $iconsize;
     102            background-repeat: no-repeat;
     103            background-position: center left;
     104            cursor: pointer;
    91105
    92     td.name div.name.detailsShown {
    93         padding-left: 16px;
    94         /* icon from GLYPHICONS.com */
    95         background-image: url('../icons/glyphicons_369_collapse_top.png');
    96         background-size: $iconsize;
    97         background-repeat: no-repeat;
    98         background-position: center left;
    99     }
    100106
    101     td.name div.name.noDetails{
    102         background-image: none;
    103     }
    104107
    105     td.name div.details {
    106         margin-left: 16px;
    107         margin-right: -248px;
    108         width: 964px;
    109     }
     108            &:hover {
     109                color: #AE0000;
     110                background-color: inherit;
     111            }
    110112
    111     td.name div.desc {
    112         text-align: justify;
    113         padding: 4px 0 0 0;
    114     }
     113            &.detailsShown {
     114                padding-left: 16px;
     115                /* icon from GLYPHICONS.com */
     116                background-image: url('../icons/glyphicons_369_collapse_top.png');
     117                background-size: $iconsize;
     118                background-repeat: no-repeat;
     119                background-position: center left;
     120            }
    115121
    116     td.name div.actions {
    117         margin: 4px 0 2px 0;
    118     }
     122            &.noDetails{
     123                background-image: none;
     124            }
    119125
    120     th.state, td.state {
    121         width: 5em;
    122     }
     126        }
    123127
    124     th.type, td.type {
    125         width: 7em;
    126     }
     128        div.details {
     129            margin-left: 16px;
     130            margin-right: -248px;
     131            width: 964px;
     132        }
    127133
    128     th.created, td.created {
    129         width: 7em;
    130     }
     134        div.desc {
     135            text-align: justify;
     136            padding: 4px 0 0 0;
     137        }
    131138
    132     td.action, th.action {
    133         width: 2em;
    134     }
     139        div.actions {
     140            margin: 4px 0 2px 0;
     141        }
     142    } //td.name
     143
    135144
    136145    &.public td.action span,
Note: See TracChangeset for help on using the changeset viewer.