

window(width=width, height=height) {
    width = width,
    height = height,

    can_hover = true,
    on_mouse_up = "init#return true",
    on_mouse_down = "init#return true",
    on_mouse_move = "init#return true",
}

window(x=x) {
    x=x,
}

window(y=y) {
    y=y,
}

window(middle=middle, height=height) {
    y=((parent_height/2) - (height/2)) + middle,
}

window(center=center, width=width) {
    x=((parent_width/2) - (width/2)) + center,
}

window(right=right, width=width) {
    x= (parent_width - width) - right,
}

window > content {
    width = parent_width,
    height = parent_height,
    border_width = border_width(40.0),
    border = border_image("ui/window", 40.0, 40.0,  true),
    shadow = shadow(3.0, 3.0, rgba(0, 0, 0, 0.8), 5.0, 0.0, "outset"),
}

window > content(theme="blueprint") {
    border_width = border_width(48.0),
    border = border_image("ui/blueprint", 48.0, 48.0,  true),
}

window > content > title {
    layout = "lined",
    line_height = 40,
    align_height = false,
    y = 4,
}
window > content > title > @text {
    font_size = 30,
    font_color = rgb(0, 0, 0),
}

window > content(theme="blueprint") > title > @text {
    font_size = 30,
    font_color = rgb(255, 255, 230),
    text_shadow = text_shadow(1.0, 1.0, "#000000", 1.0),
}