nightscout
Version:
Nightscout acts as a web-based CGM (Continuous Glucose Monitor) to allow multiple caregivers to remotely view a patients glucose data in realtime.
110 lines (109 loc) • 2.43 kB
CSS
.tooltip strong, .tooltip b {
font-weight: 700
}
.tooltip {
position: absolute;
font-size: 10px;
padding: 3px 5px;
opacity: 0.9;
z-index: 9999;
word-wrap: break-word;
}
.tooltip .tooltip-inner {
background-color: #000;
color: #fff;
max-width: 200px;
padding: 3px 8px;
text-align: center;
box-shadow: 0 0 5px 0 black;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.tooltip .tooltip-arrow {
position: absolute;
width: 0;
height: 0;
line-height: 0;
border: 5px dashed #000;
}
.tooltip .tooltip-arrow-n {
border-bottom-color: #000;
}
.tooltip .tooltip-arrow-s {
border-top-color: #000;
}
.tooltip .tooltip-arrow-e {
border-left-color: #000;
}
.tooltip .tooltip-arrow-w {
border-right-color: #000;
}
.tooltip.tooltip-n .tooltip-arrow {
top: 0px;
left: 50%;
margin-left: -5px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-nw .tooltip-arrow {
top: 0;
left: 10px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-ne .tooltip-arrow {
top: 0;
right: 10px;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-s .tooltip-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-sw .tooltip-arrow {
bottom: 0;
left: 10px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-se .tooltip-arrow {
bottom: 0;
right: 10px;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
}
.tooltip.tooltip-e .tooltip-arrow {
right: 0;
top: 50%;
margin-top: -5px;
border-left-style: solid;
border-right: none;
border-top-color: transparent;
border-bottom-color: transparent;
}
.tooltip.tooltip-w .tooltip-arrow {
left: 0;
top: 50%;
margin-top: -5px;
border-right-style: solid;
border-left: none;
border-top-color: transparent;
border-bottom-color: transparent;
}