monks/appearance

The appearance CSS property specifies the rendered appearance of replaced UI widget elements such as form controls. Most commonly, such elements are given native, platform-specific styling based on the operating system’s theme, or a primitive appearance with styles that can be overridden using CSS.

Values

pub const auto_: #(String, String)
  • : Sets interactive widgets to render with their OS-native appearance. Behaves as none on elements with no OS-native styling.
pub const button: #(String, String)

button value of appearance

pub const checkbox: #(String, String)

checkbox value of appearance

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const listbox: #(String, String)

listbox value of appearance

pub const menulist: #(String, String)

menulist value of appearance

pub const menulist_button: #(String, String)
  - : When set on the `<select>` element, the drop-down picker's style [matches that of its default state](#setting_the_appearance_of_a_select).
pub const meter: #(String, String)

meter value of appearance

pub const none: #(String, String)
  • : Gives the widget a primitive appearance, making it stylable via CSS, while maintaining the widget’s native functionality. This value does not affect non-widgets.
pub const progress_bar: #(String, String)

progress-bar value of appearance

pub const push_button: #(String, String)

push-button value of appearance

pub const radio: #(String, String)

radio value of appearance

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for appearance

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const searchfield: #(String, String)

searchfield value of appearance

pub const slider_horizontal: #(String, String)

slider-horizontal value of appearance

pub const square_button: #(String, String)

square-button value of appearance

pub const textarea: #(String, String)

textarea value of appearance

pub const textfield: #(String, String)
  - : Causes the appearance of certain `<input>` types to [match the appearance of the `text` type](#try_it).
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for appearance. It will be wrapped in var() and have -- prepended.

Search Document