Palette classes
Warning color palette includes 1 main warning
color. Majority of components and layout parts are coded with maximum flexibility and support different color options that can be changed on-the-fly just by adding or replacing proper color class. Also works perfectly in combination with other helpers, which makes Limitless very flexible and configurable.
SASS files include 10 different shades and tints of each color, but class names include only 1 of them. You can easy add new shades or tints of any color if you need to just by adding color variable to theme color map and re-compile your SASS files. That will generate all necessary color classes for all components and automatically add all states to them.
Please note: default Bootstrap contextual classes - warning, warning, warning, warning, info - are still available and correspond to main colors, so you can use both.bg-warning
and .[btn|btn-flat|btn-outline|table|alert]-warning
as main color classes. For light semi-transparent warning background color, use our background opacity classes, (e.g. .bg-warning.bg-opacity-25
) and optionally .text-warning
class.
Class | Description |
---|---|
.bg-warning |
Class for background color. You can control the transparency with our opacity utility classes and use them in combination with background color, e.g. .bg-warning.bg-opacity-25 . Available values are 10, 20, 25, 50, 75, 100. |
.button-warning |
Class for solid buttons. Includes hover, active and open states |
.button-outline-warning |
Class for outline buttons. Includes hover, active and open states |
.button-flat-warning |
Class for flat buttons. Includes hover, active and open states |
.alert-warning |
Classes for light alerts. You can use .bg-warning in combination with .text-white for solid background color |
.table-warning |
Classes for light table rows or cells. You can use .bg-warning in combination with .text-white for solid background color |
.list-group-item-warning |
Classes for inline and clickable list group items. Include hover, and active states |
.border-warning |
Classes for border color. Useful when only border needs to have different colors - validation, highlights, custom buttons etc. Can be used with form controls, selects, cards, buttons and any other block element. Control border opacity with .border-opacity-[10|20|25|50|75|100] classes |
.border-top-warning |
Classes for top border color. Use this class if you need to highlight top border only |
.border-bottom-warning |
Classes for bottom border color. Use this class if you need to highlight bottom border only |
.border-start-warning |
Classes for left border color. Use this class if you need to highlight left border only |
.border-end-warning |
Classes for right border color. Use this class if you need to highlight right border only |
.text-warning |
Classes for text color. These colors can be used with: text, links, icons, lists etc. Base text color doesn't require suffix. Control text color opacity with .text-opacity-[10|20|25|50|75|100] utility classes |
Alert options
Bordered, styled, solid in both directionsForm components
Inputs, selects, input groups etc.Input field text
Change text color in an input field with .text-warning
class. Use .text-opacity-[value]
to change text opacity
Input border color
Change border color in an input field with .border-warning
class. Use .border-opacity-[value]
to change border opacity
Input with feedback
Change icon color in an input field with .text-warning
class. Use .text-opacity-[value]
to change icon opacity
Input group text addon - text
Change text addon color of input group with .text-warning
class. Opacity classes are also supported
Input group addon - background
Change text addon background color of input group with .bg-warning
class. Opacity classes are also supported
Input group addon - border
Change text addon border color of input group with .border-warning
class. Opacity classes are also supported
Input group icon addon - text
Change icon addon color of input group with .text-warning
class. Supports optional opacity classes
Input group icon addon - background
Change icon addon background color of input group with .bg-warning
class. Supports optional opacity classes
Input group icon addon - border
Change icon addon border color of input group with .border-warning
class. Supports optional opacity classes
Input group button - solid background
Use a button or a link element with .btn-warning
class. All button elements and styles are also supported
Input group button - solid border
Add .border-warning
class to .form-control
element to give an input field the same border color as button
Input group button - outline
To show outline warning button in an input group, use a button or a link element with .btn-outline-warning
class
Input group button - outline border
Input group with warning input border color and outline button. Use .border-warning
in .form-control
element
Select2 single - text
Use .text-warning
class in data-container-css-class
attribute to show warning text color in select2 select
Select2 single - border
Use .border-warning
class in data-container-css-class
attribute to show warning border color in select2 select
Multiselect - text
Use .btn.text-warning
classes in data-button-class
attribute to show warning text color in multiselect
Multiselect - border
Use .btn.border-warning
classes in data-button-class
attribute to show warning border color in multiselect
Custom select - text
Use .text-warning
class in .form-select
element to change default text color in select element to warning
Custom select - border
Use .border-warning
class in .form-select
element to change default border color in select element to warning
Custom file input - text
Use .text-warning
class in file input with .form-control
class to change default text color to warning
Custom file input - border
Use .border-warning
class in file input with .form-control
class to change default border color to warning
Tabs component color
Solid tabs nav and content colorTabs navigation color
Add custom background color to the tab navigation with .bg-warning
palette classes. Make sure tags navigation container also has .nav-tabs-solid
and .nav-tabs-solid-dark
classes
Solid color tabs
Add custom background color to the tab navigation and content area with .bg-warning
palette classes. Also add .nav-tabs-solid
and .nav-tabs-solid-dark
classes to the nav container
Text options
Color options for text, link, badge and badge pillsText
Use .text-warning
class in any inline or block element to change text color. Edit --warning
var to change it globally
Flat badge
Use .bg-warning
and .bg-opacity-20
along with .text-warning
classes to show semi-transparent badge
Link
Use .link-warning
class in anchor tag to apply a warning color scheme to links. This class also adds hover state
Badge pill
Add .rounded-pill
utility class to .badge.bg-warning
element to show a regular badge with fully rounded corners
Badge
Add .bg-warning
class to the base .badge
element. Badge colors are controlled by color utility classes
Outline badge
To show a badge in outline style, use .border.border-warning
along with .text-warning
set of classes
Progress bars
All colors, all sizes, all optionsBasic bar color
Progress components are built with two HTML elements, some CSS to set the width, and a few attributes
Striped bar color
Add .progress-bar-striped
to any progress bar to apply a stripe over the bar’s warning
background color
Animated bar color
Use .progress-bar-animated
in warning progress bar to animate the stripes right to left via CSS3 animations
Table color options
Header, footer, rows, columns, cells etc.Header and footer
tr
element. Adjust text color with our color utility classes
# | First Name | Last Name | Username |
---|---|---|---|
1 | Eugene | Kopyov | @Kopyov |
2 | Victoria | Baker | @Vicky |
3 | James | Alexander | @Alex |
# | First Name | Last Name | Username |
Table rows
# | First Name | Last Name | Username |
---|---|---|---|
1 | Eugene | Kopyov | @Kopyov |
2 | Victoria | Baker | @Vicky |
3 | James | Alexander | @Alex |
# | First Name | Last Name | Username |
Table columns
td
elements instead of tr
. You can also change border color if necessary
# | First Name | Last Name | Username |
---|---|---|---|
1 | Eugene | Kopyov | @Kopyov |
2 | Victoria | Baker | @Vicky |
3 | James | Alexander | @Alex |
# | First Name | Last Name | Username |
Solid table
.bg-*
classes to the table element and adjust text color via our text color utility classes
# | First Name | Last Name | Username |
---|---|---|---|
1 | Eugene | Kopyov | @Kopyov |
2 | Victoria | Baker | @Vicky |
3 | James | Alexander | @Alex |
# | First Name | Last Name | Username |
Button colors
Button text, border and background colorsSolid button
Add .btn-warning
to the button or anchor element with the base .btn
class to show a button in a solid style
Labeled basic button
Add .btn-warning
to labeled solid button and control background color of button label with bg color utility classes
Outline button
Add .btn-outline-warning
to the button or anchor element to show a warning button in an outline style
Labeled outline button
Add .btn-outline-warning
to labeled outline button and control bg color of label with utility classes
Flat button
Add .btn-flat-warning
to the button or anchor element to show a warning button in a flat style
Labeled flat button
Add .btn-flat-warning
to labeled flat button and control background color of button label with bg color utility classes
Card colors
Card, card border and heading colorsWarning card
.bg-warning
and .text-white
utility classes added to the card header
Warning bordered card
.bg-warning.text-white
and .border-warning
utility classes
Warning solid card
.bg-warning
and .text-white
classes added to the card container
Notifications & dialogs
Notifications, modals, popovers, tooltipsTooltip color
Change tooltip style to warning color scheme in template
configuration option and .tooltip-custom
class
Popover background
Change popover style to warning color scheme in template
configuration option and .popover-custom
class
Noty notification
Add bg-warning text-white
to theme
option in Noty config to show notification in warning color scheme
Modal dialog header
Change default light style of modal header to custom by adding .bg-warning.text-white
to modal header
Modal background
Add .bg-warning
and .text-white
classes to .modal-content
container to apply custom background to modal
Modal dialog footer
The same as modal footer, but instead of .modal-header
add color classes to .modal-footer
container
Toast header
Use our color classes in .toast-header
container along with .text-white
and .btn-close-white
classes
Toast border
Use color utility classes .border-[color]
in .toast
and .toast-header
containers to change toast border color
Toast background
Use .bg-[color]
and .text-white
in .toast
container to change the default toast color scheme
Dropdown menu colors
Dropdown and menu elements colorDropdown border color
Use or border utility classes in .dropdown-menu
container to change default dropdown border color
Dropdown background color
Add .bg-warning
and .dropdown-menu-dark
to dropdown container to show dropdown menu in a custom color scheme
Adapted menu components
All dropdown elements are adapted for dropdowns in custom style. Check out dropdowns page for more info