interq.ens.fr/www/css/tipso.css

112 lines
2.2 KiB
CSS
Raw Normal View History

2024-01-05 17:05:23 +01:00
/* Tipso Bubble Styles */
2024-02-19 20:18:10 +01:00
.tipso_bubble,
.tipso_bubble > .tipso_arrow {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble {
position: absolute;
2024-02-19 20:18:10 +01:00
text-align: center;
border-radius: 6px;
z-index: 9999;
2024-01-05 17:05:23 +01:00
}
2024-02-19 20:18:10 +01:00
.tipso_style {
/* cursor: help; */
/* border-bottom: 1px dotted; */
2024-01-05 17:05:23 +01:00
}
.tipso_title {
padding: 0;
border-radius: 6px 6px 0 0;
font-weight: 700;
}
.tipso_content {
word-wrap: break-word;
padding: 0;
font-style: italic;
}
/* Tipso Bubble size classes - Similar to Foundation's syntax*/
.tipso_bubble.tiny {
2024-02-19 20:18:10 +01:00
font-size: 0.6rem;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.small {
2024-02-19 20:18:10 +01:00
font-size: 0.8rem;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.default {
2024-02-19 20:18:10 +01:00
font-size: 1rem;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.large {
2024-02-19 20:18:10 +01:00
font-size: 1.2rem;
width: 100%;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.cal_small {
font-size: 0.7rem;
}
/* Tipso Bubble Div */
2024-02-19 20:18:10 +01:00
.tipso_bubble > .tipso_arrow {
position: absolute;
width: 0;
height: 0;
border: 8px solid;
pointer-events: none;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.top > .tipso_arrow {
2024-02-19 20:18:10 +01:00
border-top-color: #000;
border-right-color: transparent;
border-left-color: transparent;
border-bottom-color: transparent;
top: 100%;
left: 50%;
margin-left: -8px;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.bottom > .tipso_arrow {
2024-02-19 20:18:10 +01:00
border-bottom-color: #000;
border-right-color: transparent;
border-left-color: transparent;
border-top-color: transparent;
bottom: 100%;
left: 50%;
margin-left: -8px;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.left > .tipso_arrow {
2024-02-19 20:18:10 +01:00
border-left-color: #000;
border-top-color: transparent;
border-bottom-color: transparent;
border-right-color: transparent;
top: 50%;
left: 100%;
margin-top: -8px;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble.right > .tipso_arrow {
2024-02-19 20:18:10 +01:00
border-right-color: #000;
border-top-color: transparent;
border-bottom-color: transparent;
border-left-color: transparent;
top: 50%;
right: 100%;
margin-top: -8px;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble .top_right_corner,
.tipso_bubble.top_right_corner {
2024-02-19 20:18:10 +01:00
border-bottom-left-radius: 0;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble .bottom_right_corner,
2024-02-19 20:18:10 +01:00
.tipso_bubble.bottom_right_corner {
border-top-left-radius: 0;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble .top_left_corner,
.tipso_bubble.top_left_corner {
2024-02-19 20:18:10 +01:00
border-bottom-right-radius: 0;
2024-01-05 17:05:23 +01:00
}
.tipso_bubble .bottom_left_corner,
2024-02-19 20:18:10 +01:00
.tipso_bubble.bottom_left_corner {
border-top-right-radius: 0;
2024-01-05 17:05:23 +01:00
}