View | Details | Raw Unified | Return to bug 31803
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/_toolbar.scss (-40 / +41 lines)
Lines 22-72 Link Here
22
        z-index: 100;
22
        z-index: 100;
23
    }
23
    }
24
24
25
    a.addtocart {
25
    .btn {
26
        display: block;
26
        &.btn-default {
27
    }
27
            font-weight: normal;
28
            text-align: center;
29
            white-space: nowrap;
30
            vertical-align: middle;
31
            touch-action: manipulation;
32
            cursor: pointer;
33
            background-image: none;
34
            padding: 6px 12px;
35
            box-shadow: none;
36
            border-radius: 4px;
37
            user-select: none;
38
            font-size: 100%;
39
            background-color: transparent;
40
            border: 0;
41
            display: inline-block;
42
            color: #696969;
28
43
29
    a.cartRemove {
44
            &:hover, &:focus {
30
        padding: 6px 12px;
45
                text-decoration: none;
31
        font-size: 12px;
46
                background-color: #DADADA;
32
        display: none;
47
                color: #696969;
33
    }
48
                padding: 6px 12px;
49
            }
34
50
35
    a.addtocart.incart {
51
            &:active {
36
        display: none;
52
                border: 0;
37
    }
53
            }
38
54
39
    a.cartRemove.incart {
55
            &.addtocart {
40
        display: block;
56
                display: block;
41
    }
42
57
43
    .btn.btn-default {
58
                &.incart {
44
        font-weight: normal;
59
                    display: none;
45
        text-align: center;
60
                }
46
        white-space: nowrap;
61
            }
47
        vertical-align: middle;
48
        touch-action: manipulation;
49
        cursor: pointer;
50
        background-image: none;
51
        padding: 6px 12px;
52
        box-shadow: none;
53
        border-radius: 4px;
54
        user-select: none;
55
        font-size: 100%;
56
        background-color: transparent;
57
        border: 0;
58
        display: inline-block;
59
        color: #696969;
60
62
61
        &:hover, &:focus {
63
            &.cartRemove {
62
            text-decoration: none;
64
                padding: 6px 12px;
63
            background-color: #DADADA;
65
                font-size: 12px;
64
            color: #696969;
66
                display: none;
65
            padding: 6px 12px;
66
        }
67
67
68
        &:active {
68
                &.incart {
69
            border: 0;
69
                    display: block;
70
                }
71
            }
70
        }
72
        }
71
    }
73
    }
72
}
74
}
73
- 

Return to bug 31803