type = fancymenu_layout

layout-meta {
  identifier = direct_join_server_screen
  render_custom_elements_behind_vanilla = true
  custom_menu_title = {"placeholder":"stringify","values":{"text":""}}
}

customization {
  action = backgroundoptions
  keepaspectratio = true
}

element {
  element_type = shape
  anchor_point = element
  anchor_point_element = 0
  width = 217
  height = 52
  x = 4
  y = 12
  color = #00000050
}

element {
  instance_identifier = 0
  element_type = image
  anchor_point = top-centered
  width = 225
  height = 73
  x = -112
  y = 75
  source = [source:local]/config/fancymenu/assets/bg/command1.png
  nine_slice_texture = true
  nine_slice_texture_border_x = 8
  nine_slice_texture_border_y = 20
}

element {
  element_type = text_v2
  anchor_point = element
  anchor_point_element = 0
  width = 225
  height = 14
  y = 4
  interactable = false
  source = ^^^%n%{"placeholder":"local","values":{"key":"selectServer.direct"}}%n%^^^
  source_mode = direct
  shadow = false
  base_color = #464546
  enable_scrolling = false
}

vanilla_button {
  instance_identifier = 400382
  anchor_point = element
  anchor_point_element = 0
  width = 5
  height = 5
  x = 212
  y = 7
  backgroundnormal = [source:local]/config/fancymenu/assets/icons/close.png
  backgroundhovered = [source:local]/config/fancymenu/assets/icons/close_highlighted.png
  label = 
}

vanilla_button {
  instance_identifier = 400358
  anchor_point = element
  anchor_point_element = 0
  width = 225
  height = 30
  y = 81
}

vanilla_button {
  instance_identifier = 8975
  is_hidden = true
}