An LCARS header panel.
lcarsHeader(
title = NULL,
color = "golden-tanoi",
title_color = color,
background_color = "#000000",
title_right = TRUE,
title_invert = FALSE,
round = c("both", "right", "left", "none"),
width = "100%"
)
lcarsh1(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
lcarsh2(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
lcarsh3(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
lcarsh4(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
lcarsh5(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
lcarsh6(
title = NULL,
color = "atomic-tangerine",
title_color = color,
background_color = "#000000",
title_align = c("center", "right", "left"),
title_invert = FALSE,
width = "auto"
)
character, optional title.
header color. Any hex color or a named LCARS color.
text color. Any hex color or a named LCARS color.
color behind text.
logical, right align title.
logical, invert the color and background color for the title rectangle.
character, sides of header to round. The default is to present the header in LCARS full pill style.
a valid CSS unit.
character, for the heading replacers: center, right or left.
HTML
In addition to lcarsHeader()
there are also some LCARS style heading
replacers, lcarsh1()
through lcarsh6()
. These default to centered text,
whereas lcarsHeader()
is strictly right or left.
lcarsHeader("A title")
#> <div class="lcars-hdr" style="width:100%;">
#> <div class="hdr-pill-left"><svg style = "fill: #FFCC66 ;height:30px;width:45px;">
#> <use xlink:href="svg/sprites.svg#lcars-svg-endcap_left" height="30" width="45"></use>
#> </svg></div>
#> <div class="blocktext_black lcars-hdr-rect" style="background-color:#FFCC66;"></div>
#> <div class="lcars-hdr-title" style="color:#FFCC66;background-color:#000000;font-size:30px;line-height:29px;">A title</div>
#> <div class="hdr-pill-right"><svg style = "fill: #FFCC66 ;height:30px;width:45px;">
#> <use xlink:href="svg/sprites.svg#lcars-svg-endcap_right" height="30" width="45"></use>
#> </svg></div>
#> </div>