summaryrefslogtreecommitdiff
path: root/src/widgets/triangle/less/jquery.mobile.tizen.triangle.less
blob: baa4e5d25007c9da71f02a0a679b4ba8b74c892a (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
@triangle-size: 10px;

.ui-triangle-container {
    position: relative;

    .ui-triangle {
        position: absolute;
        border-style: solid;
        border-color: transparent;
        border-width: @triangle-size;
    }

    .ui-triangle-top {
        top: 0px;
        border-top-width: 0px;
        border-left-color: transparent;
        border-right-color: transparent;
        margin-left: -@triangle-size;
    }

    .ui-triangle-bottom {
        bottom: 0px;
        border-bottom-width: 0px;
        border-left-color: transparent;
        border-right-color: transparent;
        margin-left: -@triangle-size;
    }

    .ui-triangle-left {
        left: 0px;
        margin-top: -@triangle-size;
        border-left-width: 0px;
        border-left-color: transparent;
        border-right-color: transparent;
    }

    .ui-triangle-right {
        right: 0px;
        margin-top: -@triangle-size;
        border-right-width: 0px;
        border-left-color: transparent;
        border-right-color: transparent;
    }
}

.ui-triangle-container-top {
    height: @triangle-size;
    top: 0px;
    margin-top: -@triangle-size;
}

.ui-triangle-container-bottom {
    height: @triangle-size;
    bottom: 0px;
    margin-bottom: -@triangle-size;
}

.ui-triangle-container-left {
    width: @triangle-size;
}

.ui-triangle-container-right {
    width: @triangle-size;
}