CSS Variables
Simple Multiple Select uses CSS variables to allow you to customize the look and feel of the component. The following variables are available:
--simple-multi-select-font-size
Font size to use for the component. The size of the component scales with the font size.
Default Value: 1rem
- Default
- 0.75rem
- 2rem
:root {
--simple-multi-select-font-size: 1rem;
}
:root {
--simple-multi-select-font-size: 0.75rem;
}
:root {
--simple-multi-select-font-size: 2rem;
}
--simple-multi-select-label-color
Color of the title text for the select.
Default Value:
- Default
- Red
:root {
--simple-multi-select-label-color: rgba(0, 0, 0, 0.75);
}
:root {
--simple-multi-select-label-color: rgba(255, 0, 0, 0.75);
}
--simple-multi-select-color
Color of the option and selected options text.
Default Value:
- Default
- Red
:root {
--simple-multi-select-color: #000000;
}
:root {
--simple-multi-select-color: #ff0000;
}
--simple-multi-select-border-radius
Border radius of the component.
Default Value: 5px
- Default
- 10px
:root {
--simple-multi-select-border-radius: 5px;
}
:root {
--simple-multi-select-border-radius: 10px;
}
--simple-multi-select-border-color
Color of the border of the component.
Default Value:
- Default
- Red
:root {
--simple-multi-select-border-color: #9a9a9a;
}
:root {
--simple-multi-select-border-color: #ff0000;
}
--simple-multi-select-bg-color
Background color of the component.
Default Value:
- Default
- Red
:root {
--simple-multi-select-bg-color: #ffffff;
}
:root {
--simple-multi-select-bg-color: #ff0000;
}
--simple-multi-select-hover-border-color
Color of the border of the component when hovered, or focused.
Default Value:
- Default
- Red
:root {
--simple-multi-select-hover-border-color: #9a9a9a;
}
:root {
--simple-multi-select-hover-border-color: #ff0000;
}
--simple-multi-select-hover-bg-color
Background color of the component when hovered, or focused.
Default Value:
- Default
- Red
:root {
--simple-multi-select-hover-bg-color: #ffffff;
}
:root {
--simple-multi-select-hover-bg-color: #ff0000;
}
--simple-multi-select-hover-box-shadow
Box shadow applied to the component when hovered, or focused.
Default Value: 0 0 0 0.125rem
- Default
- Red
:root {
--simple-multi-select-hover-box-shadow: 0 0 0 0.125rem #ff0000;
}
:root {
--simple-multi-select-hover-box-shadow: 0 0 0 0.125rem #ff0000;
}
--simple-multi-select-option-color
Text color of the options.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-color: #000000;
}
:root {
--simple-multi-select-option-color: #ff0000;
}
--simple-multi-select-option-hover-color
Text color of the options when hovered, or focused.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-hover-color: #000000;
}
:root {
--simple-multi-select-option-hover-color: #ff0000;
}
--simple-multi-select-option-bg-color
Background color of the options.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-bg-color: #ffffff;
}
:root {
--simple-multi-select-option-bg-color: #ff0000;
}
--simple-multi-select-option-bg-hover-color
Background color of the options when hovered, or focused.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-bg-hover-color: #CDDAF5;
}
:root {
--simple-multi-select-option-bg-hover-color: #ff0000;
}
--simple-multi-select-option-disabled-color
Color of the options when disabled.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-disabled-color: #4b4b4b;
}
:root {
--simple-multi-select-option-disabled-color: #ff0000;
}
--simple-multi-select-option-disabled-bg-color
Background color of the options when disabled.
Default Value:
- Default
- Red
:root {
--simple-multi-select-option-disabled-bg-color: #d9d9d9;
}
:root {
--simple-multi-select-option-disabled-bg-color: #ff0000;
}
--simple-multi-select-help-text-color
Color of the help text.
Default Value:
- Default
- Red
:root {
--simple-multi-select-help-text-color: #6c757d;
}
:root {
--simple-multi-select-help-text-color: #ff0000;
}