tooltip_holder {
    layout = "tooltip",
    width = parent_width,
    height = parent_height,
    padding = 16,
}

tooltip(x=x, y=y) {
    x=x,
    y=y,
    background_color = rgba(0, 0, 0, 0.9),
    border_width = border_width(2.0),
    border = border(bside(rgba(255, 255, 0, 0.8), "outset")),
    layout = "padded",
    padding = 6,
}

tooltip > content {
    layout = "lined",
    width = 350,
    line_height = 23,
}
tooltip > content > @text {
    font_size = 20,
    font_color = rgb(255, 255, 255),
}
tooltip > content > @text(title=true) {
    font_color = rgb(255, 255, 0),
    font_size = 23,
}
tooltip > content > @text(key_btn=true) {
    font_color = rgb(255, 255, 0),
}
tooltip > content > @text(highlight=true) {
    font_color = rgb(0, 255, 0),
}
tooltip > content > @text(special=true) {
    font_color = rgb(255, 0, 255),
}
tooltip > content > @text(negative=true) {
    font_color = rgb(255, 0, 0),
}
tooltip > content > @text(error=true) {
    font_color = rgb(255, 100, 100),
}
tooltip > content > icon(img=img) {
    image = img,
    width = 20,
    height = 20,
}