summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/web.zoomodoo.scss
blob: 3d855c96a96daec08ba316d492174a57364c570c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

.zoomodoo {
    position: relative;

    /* 'Shrink-wrap' the element */
    display: inline-block;
    *display: inline;
    *zoom: 1;

    img {
        vertical-align: bottom;
    }
}

.zoomodoo-flyout {
    position:absolute;
    z-index: 100;
    overflow: hidden;
    background: #FFF;
    top: 0;
    width: 100%;
    height: 100%;
    img {
        max-width: 500%;
    }
}

.zoomodoo-hover .zoomodoo-flyout {
    left: 0;
}

.zoomodoo-next .zoomodoo-flyout {
    left: 100%;
}