aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/assets/styles/tooltips.less
blob: 4528aea5d25f9d97eea82649bbbfa6bc915ef980 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
// ---------------------------------------------------------------------------------------------------
// tooltips
// ---------------------------------------------------------------------------------------------------
div.tooltips {
    position: relative;
    display: inline;
    float: right;
    z-index: 1;
    top: 30px;
    left: 85px;

    span {
        .bg_s;
        position: absolute;
        width: 230px;
        color: @color_c;
        height: 30px;
        line-height: 30px;
        text-align: center;
        border-radius: 6px;
        visibility: hidden;

        &:after {
            .arrow(8px, @color_s);
        }
    }
}

// ---------------------------------------------------------------------------------------------------
// Tooltip
// ---------------------------------------------------------------------------------------------------
.w-sdc-canvas-tooltip{

    position: absolute;
    z-index: 100;

    .w-sdc-custom-tooltip {
        .c_1;
        position:relative;
        color: white;
        padding:10px;
        height: 25px;
        min-width: 100px;
        background-color: rgba(80, 99, 113, 0.9);
        border-radius: 2px;
        line-height: 2px;
        text-align: center;

        .w-sdc-tooltip-arrow {
            position: absolute;
            bottom:25px;
            right:20px;
            width:0;height:0;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid  rgba(80, 99, 113, 0.9);
            border-top: transparent;
            border-width:7px;
            border-style:solid;
        }

    }
}

.qtip-custom {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background-color: rgb(80, 99, 113);
    border-color:rgb(80, 99, 113);
    color: white;
    font-size:13px;
}

.tooltip-custom {
    background-color: rgba(80, 99, 113, 0.9);
    z-index: 1100;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    max-width: 280px;
    text-align: center;
    word-break: normal;
    word-wrap: break-word;
    padding-right: 10px;
    padding-left: 10px;
}

._720kb-tooltip-caret:before
    {
      border: 6px solid rgba(80, 99, 113, 0.9);

    }

.tooltip-rightside{
    right: 2px;
    left: initial !important;

    ._720kb-tooltip-caret:before{
        right: 21px;
        left: initial;
    }
}

.tab-tooltip{
    max-width: 220px;
    white-space: nowrap;
}
.break-word-tooltip{
    word-break: break-all;
    margin-right: 2px;
}

.icon-tooltip{
    margin-left: 12px;
    right: initial !important;

    ._720kb-tooltip-caret:before{
        left: 44px;
        right: initial;
    }
}

.uib-custom-tooltip {
    z-index: 999999;

    .tooltip-inner {
        background-color: rgba(80, 99, 113, 0.9);
        padding: 5px 10px 5px 10px;
        border-radius: 2px;
        }
}
.tooltip {
    &.bottom .tooltip-arrow {

        margin-left: -6px !important;
        border-width: 0 6px 6px !important;
        border-bottom-color: rgba(80, 99, 113, 0.9) !important;
    }
   /* &.right {
        white-space: nowrap;
        max-width: none;
        .tooltip-arrow {
            border-right-color: rgba(80, 99, 113, 0.9);
        }
    }
    &.left {
        white-space:nowrap;
        max-width:none;
        .tooltip-arrow {
            border-left-color: rgba(80, 99, 113, 0.9);
        }
    }*/
}