forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtooltips.less
More file actions
36 lines (32 loc) · 797 Bytes
/
tooltips.less
File metadata and controls
36 lines (32 loc) · 797 Bytes
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
@tooltipBackground: @primaryColor;
@tooltipBorder: darken(@tooltipBackground, 10%);
.pxt-tooltip {
color: @white;
background-color: @tooltipBackground !important;
border: 1px solid @tooltipBorder !important;
padding: .75rem 1rem !important;
font-size: 1rem !important;
line-height: 1.25rem !important;
}
.pxt-tooltip {
&.place-top {
&:after {
border-top-color: @tooltipBorder !important;
}
}
&.place-bottom {
&:after {
border-bottom-color: @tooltipBorder !important;
}
}
&.place-left {
&:after {
border-left-color: @tooltipBorder !important;
}
}
&.place-right {
&:after {
border-right-color: @tooltipBorder !important;
}
}
}