
Applying a CSS Theme
You can set a custom theme using the theme property.
Since version 8.0, the bubble always uses the CSS-only mode where the appearance is fully controlled by CSS.
Default CSS Theme
This is the default CSS theme (bubble_default) that is built in. You can use it as a template when creating a custom CSS theme.
.bubble_default_main {
cursor: default;
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 13px;
}
.bubble_default_main_inner {
border-radius: 5px;
padding: 4px;
color: #666;
background: #eeeeee;
background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);
border: 1px solid #ccc;
border-radius: 5px;
box-shadow: 0px 2px 3px rgba(000, 000, 000, 0.3), inset 0px 0px 2px rgba(255, 255, 255, 0.8);
}
.bubble_default_arrow_top {
fill: #ffffff;
stroke: #cccccc;
stroke-width: 1;
}
.bubble_default_arrow_bottom {
fill: #eeeeee;
stroke: #cccccc;
stroke-width: 2;
}
.bubble_default_arrow_left {
fill: #ffffff;
stroke: #cccccc;
stroke-width: 1;
}
.bubble_default_arrow_right {
fill: #ffffff;
stroke: #cccccc;
stroke-width: 1;
}
DayPilot