2018-05-01 10:03:23 +00:00
<!DOCTYPE html> < html lang = "en" > < head >
< link href = "https://fonts.googleapis.com/css?family=Inconsolata:400,700|Poppins:400,400i,500,700,700i&subset=latin-ext" rel = "stylesheet" >
< link rel = "stylesheet" href = "./style.min.css" >
< title > mini.css - Flavors< / title >
< meta charset = "utf-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "description" content = "mini.css is a tiny CSS framework designed to build quick, modern and responsive websites." >
< meta name = "keywords" content = "mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, toolkit" >
< meta name = "author" content = "Angelos Chalaris (chalarangelo)" >
< meta property = "og:title" content = "mini.css - Minimal, responsive, style-agnostic CSS framework" >
< meta property = "og:description" content = "mini.css is a tiny CSS framework designed to build quick, modern and responsive websites." / >
< meta property = "og:type" content = "website" / > < meta property = "og:image" content = "page_thumb.png" >
< meta property = "og:url" content = "https://chalarangelo.github.io/mini.css/" > < link rel = "icon" type = "image/png" href = "favicon.png" >
< / head > < body > < div id = "root" > < header class = "row" >
< span class = "logo col-sm-3 col-md" > mini.css< / span >
< a class = "button col-sm col-md" href = "https://github.com/Chalarangelo/mini.css" target = "_blank" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" style = "height: 20px; vertical-align: text-top;" > < path d = "M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22" > < / path > < / svg >
< span > Github< / span > < / a >
< a class = "button col-sm col-md" href = "#" >
2018-05-01 11:28:43 +00:00
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" style = "height: 20px; vertical-align: text-top;" > < path d = "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" > < / path > < polyline points = "14 2 14 8 20 8" > < / polyline > < line x1 = "16" y1 = "13" x2 = "8" y2 = "13" > < / line > < line x1 = "16" y1 = "17" x2 = "8" y2 = "17" > < / line > < polyline points = "10 9 9 9 8 9" > < / polyline > < / svg >
2018-05-01 10:03:23 +00:00
< span > Docs< / span > < / a >
< label for = "doc-drawer-checkbox" class = "button drawer-toggle col-sm" > < / label >
< / header >
< div class = "row" id = "doc-wrapper" >
< input id = "doc-drawer-checkbox" class = "drawer" value = "on" type = "checkbox" >
< nav class = "col-md-4 col-lg-3" id = "nav-drawer" > < h3 > Menu< / h3 > < label for = "doc-drawer-checkbox" class = "button drawer-close" > < / label > < a href = "#prebuilt-flavors" id = "link-to-prebuilt-flavors" > Prebuilt flavors< / a > < hr style = "padding:0;" / > < a href = "#textual-content" id = "link-to-textual-content" > Textual content< / a > < a href = "#color-palette" id = "link-to-color-palette" > Color palette< / a > < a href = "#universal-styles" id = "link-to-universal-styles" > Universal styles< / a > < a href = "#grid" id = "link-to-grid" > Grid< / a > < a href = "#cards" id = "link-to-cards" > Cards< / a > < a href = "#forms-and-input" id = "link-to-forms-and-input" > Forms & input< / a > < a href = "#buttons" id = "link-to-buttons" > Buttons< / a > < a href = "#header" id = "link-to-header" > Header< / a > < a href = "#navbar" id = "link-to-navbar" > Navigation bar< / a > < a href = "#footer" id = "link-to-footer" > Footer< / a > < a href = "#menu-drawer" id = "link-to-menu-drawer" > Menu drawer< / a > < a href = "#tables" id = "link-to-tables" > Tables< / a > < a href = "#text-highlighting" id = "link-to-text-highlighting" > Text highlighting< / a > < a href = "#toasts" id = "link-to-toasts" > Toasts< / a > < a href = "#tooltips" id = "link-to-tooltips" > Tooltips< / a > < a href = "#modals" id = "link-to-modals" > Modal dialogs< / a > < a href = "#collapse" id = "link-to-collapse" > Spoilers & amp accordions< / a > < a href = "#progress" id = "link-to-progress" > Progress bars< / a > < a href = "#donut-spinner" id = "link-to-donut-spinner" > Donut spinners< / a > < a href = "#icons" id = "link-to-icons" > Icons< / a > < a href = "#utility" id = "link-to-utility" > Utilities< / a > < / nav >
< main class = "col-sm-12 col-md-8 col-lg-9" id = "doc-content" > < div id = "prebuilt-flavors" class = "card fluid" >
2018-05-01 11:28:43 +00:00
< h2 class = "section double-padded" > Prebuilt flavors< / h2 > < p > We have some prebuilt flavors:< / p > < ul > < li > Default< / li > < li > Dark< / li > < / ul >
2018-05-01 10:03:23 +00:00
< / div > < br / > < div id = "build-your-own-flavor" class = "card fluid" >
2018-05-01 11:28:43 +00:00
< h2 class = "section double-padded" > Build your own flavor< / h2 > < div class = "section" >
< h3 > Core module< / h3 >
< p > The < strong > Core< / strong > module contains styling rules for common textual elements, headings, quotations and code, as well as rules for universal styling and color palettes. This module is always enabled, as many other modules and components depend on it.< / p >
2018-05-02 16:23:33 +00:00
< form id = "core" >
2018-05-01 11:28:43 +00:00
< fieldset >
< legend id = "textual-content" > Textual content< / legend >
< div class = "input-group vertical" >
< label for = "baseRootFontSize" > Base root font size (px):< / label >
< input type = "number" id = "baseRootFontSize" style = "width:calc(100% - 0.5rem);" value = "16" min = "1" / >
< p > < small > Base font size for all text elements, in pixels< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "baseLineHeight" > Base line height:< / label >
< input type = "number" id = "baseLineHeight" style = "width:calc(100% - 0.5rem);" value = "1.5" min = "0.01" step = "0.001" / >
< p > < small > Base line height for all text elements (unitless)< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "boldFontWeight" > Heading font weight:< / label >
< input type = "number" id = "boldFontWeight" style = "width:calc(100% - 0.5rem);" value = "700" min = "100" step = "100" max = "900" / >
< p > < small > Font weight for headings (400 is normal, 700 is bold)< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "headingRatio" > Heading ratio:< / label >
< input type = "number" id = "headingRatio" style = "width:calc(100% - 0.5rem);" value = "1.19" min = "0.001" step = "0.001" / >
< p > < small > Ratio for headings< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "headingLineHeight" > Heading line height:< / label >
< input type = "number" id = "headingLineHeight" style = "width:calc(100% - 0.5rem);" value = "1.2" min = "0.001" step = "0.001" / >
< p > < small > Line height for headings< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "headingFontWeight" > Heading font weight:< / label >
< input type = "number" id = "headingFontWeight" style = "width:calc(100% - 0.5rem);" value = "500" min = "100" step = "100" max = "900" / >
< p > < small > Font weight for headings (400 is normal, 700 is bold)< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "subheadingFontSize" > Subheading font size (em):< / label >
< input type = "number" id = "subheadingFontSize" style = "width:calc(100% - 0.5rem);" value = "0.75" min = "0.001" step = "0.001" / >
< p > < small > Font size for subheadings, relative to context< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "subheadingTopMargin" > Subheading top margin (rem):< / label >
< input type = "number" id = "subheadingTopMargin" style = "width:calc(100% - 0.5rem);" value = "-0.25" step = "0.001" / >
< p > < small > Top margin for subheadings, relative to root< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "smallFontSize" > Small text font size (em):< / label >
< input type = "number" id = "smallFontSize" style = "width:calc(100% - 0.5rem);" value = "0.75" min = "0.001" step = "0.001" / >
< p > < small > Font size for small text, relative to context< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "horizontalRuleLineHeight" > Horizontal rule line height:< / label >
< input type = "number" id = "horizontalRuleLineHeight" style = "width:calc(100% - 0.5rem);" value = "1.25" min = "0.001" step = "0.001" / >
< p > < small > Line height for headings< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "codeFontSize" > Code font size (em):< / label >
< input type = "number" id = "codeFontSize" style = "width:calc(100% - 0.5rem);" value = "0.85" min = "0.001" step = "0.001" / >
< p > < small > Font size for code elements, relative to context< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "supTop" > Superscript top position (em):< / label >
< input type = "number" id = "supTop" style = "width:calc(100% - 0.5rem);" value = "-0.5" step = "0.001" / >
< p > < small > Top position for superscript, relative to context< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "subBottom" > Subscript bottom position (em):< / label >
< input type = "number" id = "subBottom" style = "width:calc(100% - 0.5rem);" value = "0.25" step = "0.001" / >
< p > < small > Bottom position for subscript, relative to context< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "blockquoteQuotationSize" > Code font size (rem):< / label >
< input type = "number" id = "blockquoteQuotationSize" style = "width:calc(100% - 0.5rem);" value = "3" min = "0.001" step = "0.001" / >
< p > < small > Font size for the quotation of blockquotes, relative to root< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "blockquoteCiteSize" > Code font size (rem):< / label >
< input type = "number" id = "blockquoteCiteSize" style = "width:calc(100% - 0.5rem);" value = "0.75" min = "0.001" step = "0.001" / >
< p > < small > Font size for the citation of blockquotes, relative to root< / small > < / p >
< / div >
< / fieldset >
< fieldset >
< legend id = "color-palette" > Color palette< / legend >
< div class = "input-group vertical" >
< label for = "foreColor" > Foreground color:< / label >
< input type = "text" id = "foreColor" value = "#111" autocomplete = "off" / >
< span id = "foreColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#111; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Foreground color for most textual elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "backColor" > Background color:< / label >
< input type = "text" id = "backColor" value = "#f8f8f8" autocomplete = "off" / >
< span id = "backColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f8f8f8; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for document body< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "borderColor" > Border color:< / label >
< input type = "text" id = "borderColor" value = "#aaa" autocomplete = "off" / >
< span id = "borderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#aaa; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for most elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "secondaryForeColor" > Secondary foreground color:< / label >
< input type = "text" id = "secondaryForeColor" value = "#444" autocomplete = "off" / >
< span id = "secondaryForeColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#444; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Secondary foreground color for certain textual elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "secondaryBackColor" > Secondary background color:< / label >
< input type = "text" id = "secondaryBackColor" value = "#f0f0f0" autocomplete = "off" / >
< span id = "secondaryBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f0f0f0; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Secondary background color for certain elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "secondaryBorderColor" > Secondary border color:< / label >
< input type = "text" id = "secondaryBorderColor" value = "#ddd" autocomplete = "off" / >
< span id = "backColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#ddd; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Secondary border color for certain elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "blockquoteSidebarColor" > Blockquote sidebar color:< / label >
< input type = "text" id = "blockquoteSidebarColor" value = "#f57c00" autocomplete = "off" / >
< span id = "blockquoteSidebarColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f57c00; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Sidebar color for blockquote elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "preSidebarColor" > Preformatted text sidebar color:< / label >
< input type = "text" id = "preSidebarColor" value = "#1565c0" autocomplete = "off" / >
< span id = "preSidebarColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#1565c0; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Sidebar color for preformatted text elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "aLinkColor" > Link color:< / label >
< input type = "text" id = "aLinkColor" value = "#0277bd" autocomplete = "off" / >
< span id = "aLinkColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#0277bd; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Text color for hyperlink elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "aVisitedColor" > Visited link color:< / label >
< input type = "text" id = "aVisitedColor" value = "#01579b" autocomplete = "off" / >
< span id = "aVisitedColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#01579b; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Text color for visited hyperlink elements< / small > < / p >
< / div >
< / fieldset >
< fieldset >
< legend id = "universal-styles" > Universal styles< / legend >
< div class = "input-group vertical" >
< label for = "universalPadding" > Universal padding (rem):< / label >
< input type = "number" id = "universalPadding" style = "width:calc(100% - 0.5rem);" value = "0.5" min = "0.001" step = "0.001" / >
< p > < small > Universal padding for most elements, relative to root< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "universalMargin" > Universal margin (rem):< / label >
< input type = "number" id = "universalMargin" style = "width:calc(100% - 0.5rem);" value = "0.5" step = "0.001" / >
< p > < small > Universal margin for most elements, relative to root< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "universalBorderRadius" > Universal border radius (rem):< / label >
< input type = "number" id = "universalBorderRadius" style = "width:calc(100% - 0.5rem);" value = "0.125" min = "0.001" step = "0.001" / >
< p > < small > Universal border radius for most elements, relative to root< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "universalBoxShadow" > Universal box shadow:< / label >
< select id = "universalBoxShadow" style = "width:calc(100% - 0.5rem);" > < option selected value = "0" > Disabled< / option > < option value = "1" > Enabled< / option > < / select >
< p > < small > Universal box shadow for most elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "mobileBreakpoint" > Mobile breakpoint (px):< / label >
2018-05-02 16:23:33 +00:00
< input type = "number" id = "mobileBreakpoint" style = "width:calc(100% - 0.5rem);" value = "768" min = "1" / >
2018-05-01 11:28:43 +00:00
< p > < small > Breakpoint between mobile screen and desktops, in pixels< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "largeScreenBreakpoint" > Large screen breakpoint (px):< / label >
2018-05-02 16:23:33 +00:00
< input type = "number" id = "largeScreenBreakpoint" style = "width:calc(100% - 0.5rem);" value = "1280" min = "1" / >
2018-05-01 11:28:43 +00:00
< p > < small > Breakpoint between desktops and large screens, in pixels< / small > < / p >
< / div >
< / fieldset >
< / form >
2018-05-02 16:23:33 +00:00
< h3 > Layout module< / h3 >
< p > The < strong > Layout< / strong > module contains rules and functionality for the grid and card systems. This module is not always enabled, but it's highly recommended that you enable it, as many other components depend on its functionality to work properly.< / p >
< form id = "layout" >
< div class = "input-group" >
< label for = "layoutEnabled" > Module enabled? (recommended)< / label >
< input type = "checkbox" checked autocomplete = "off" id = "layoutEnabled" / >
< / div >
< fieldset >
< legend id = "grid" > Grid< / legend >
< div class = "input-group vertical" >
< label for = "gridColumnCount" > Grid column count:< / label >
< input type = "number" id = "gridColumnCount" style = "width:calc(100% - 0.5rem);" value = "12" min = "1" / >
< p > < small > Number of horizontal column partitions for the grid system (default 12)< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "gridMediumBreakpoint" > Grid medium screen breakpoint (px):< / label >
< input type = "number" id = "gridMediumBreakpoint" style = "width:calc(100% - 0.5rem);" value = "768" min = "1" / >
< p > < small > Breakpoint between small and medium screens, in pixels< / small > < / p >
< / div >
< / fieldset >
< fieldset >
< legend id = "cards" > Cards< / legend >
< div class = "input-group vertical" >
< label for = "cardNormalWidth" > Card normal width (px):< / label >
< input type = "number" id = "cardNormalWidth" style = "width:calc(100% - 0.5rem);" value = "320" min = "1" / >
< p > < small > Width of normal cards, in pixels< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "cardSectionMediaHeight" > Card media section height (px):< / label >
< input type = "number" id = "cardSectionMediaHeight" style = "width:calc(100% - 0.5rem);" value = "200" min = "1" / >
< p > < small > Height of card media sections, in pixels< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "cardForeColor" > Card foreground color:< / label >
< input type = "text" id = "cardForeColor" value = "#111" autocomplete = "off" / >
< span id = "cardForeColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#111; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Foreground color for cards< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "cardBackColor" > Card background color:< / label >
< input type = "text" id = "cardBackColor" value = "#f8f8f8" autocomplete = "off" / >
< span id = "cardBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f8f8f8; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for cards< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "cardBorderColor" > Card border color:< / label >
< input type = "text" id = "cardBorderColor" value = "#ddd" autocomplete = "off" / >
< span id = "cardBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#ddd; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for cards< / small > < / p >
< / div >
< / fieldset >
< / form >
2018-05-03 17:43:04 +00:00
< h3 > Input control module< / h3 >
< p > The < strong > Input control< / strong > module contains styling rules for forms, input elements and buttons. This module is not always enabled, but it's highly recommended that you enable it, as some other components depend on its functionality to work properly.< / p >
2018-05-03 17:54:34 +00:00
< form id = "inputControl" >
2018-05-03 17:43:04 +00:00
< div class = "input-group" >
< label for = "layoutEnabled" > Module enabled? (recommended)< / label >
< input type = "checkbox" checked autocomplete = "off" id = "layoutEnabled" / >
< / div >
< fieldset >
< legend id = "forms-and-input" > Forms & input< / legend >
< div class = "input-group vertical" >
< label for = "formForeColor" > Form foreground color:< / label >
< input type = "text" id = "formForeColor" value = "#111" autocomplete = "off" / >
< span id = "formForeColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#111; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Foreground color for forms< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "formBackColor" > Form background color:< / label >
< input type = "text" id = "formBackColor" value = "#f0f0f0" autocomplete = "off" / >
< span id = "formBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f0f0f0; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for forms< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "formBorderColor" > Form border color:< / label >
< input type = "text" id = "formBorderColor" value = "#ddd" autocomplete = "off" / >
< span id = "formBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#ddd; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for forms< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "inputForeColor" > Input foreground color:< / label >
< input type = "text" id = "inputForeColor" value = "#111" autocomplete = "off" / >
< span id = "inputForeColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#111; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Foreground color for input elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "inputBackColor" > Input background color:< / label >
< input type = "text" id = "inputBackColor" value = "#f8f8f8" autocomplete = "off" / >
< span id = "inputBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#f8f8f8; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for input elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "inputBorderColor" > Input border color:< / label >
< input type = "text" id = "inputBorderColor" value = "#ddd" autocomplete = "off" / >
< span id = "inputBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#ddd; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for input elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "inputFocusColor" > Input border color (focused):< / label >
< input type = "text" id = "inputFocusColor" value = "#0288d1" autocomplete = "off" / >
< span id = "inputFocusColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#0288d1; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for focused input elements< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "inputInvalidColor" > Input border color (invalid):< / label >
< input type = "text" id = "inputInvalidColor" value = "#d32f2f" autocomplete = "off" / >
< span id = "inputInvalidColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#d32f2f; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for invalid input elements< / small > < / p >
< / div >
< / fieldset >
< fieldset >
< legend id = "buttons" > Buttons< / legend >
< div class = "input-group vertical" >
< label for = "buttonForeColor" > Button foreground color:< / label >
< input type = "text" id = "buttonForeColor" value = "#212121" autocomplete = "off" / >
< span id = "buttonForeColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#212121; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Foreground color for buttons< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "buttonBackColor" > Button background color:< / label >
< input type = "text" id = "buttonBackColor" value = "#e2e2e2" autocomplete = "off" / >
< span id = "buttonBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#e2e2e2; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for buttons< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "buttonBorderColor" > Button border color:< / label >
< input type = "text" id = "buttonBorderColor" value = "transparent" autocomplete = "off" / >
< span id = "buttonBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:transparent; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for buttons< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "buttonHoverBackColor" > Button background color (hover):< / label >
< input type = "text" id = "buttonHoverBackColor" value = "#dcdcdc" autocomplete = "off" / >
< span id = "buttonHoverBackColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:#dcdcdc; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Background color for buttons< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "buttonHoverBorderColor" > Button border color (hover):< / label >
< input type = "text" id = "buttonHoverBorderColor" value = "transparent" autocomplete = "off" / >
< span id = "buttonHoverBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:transparent; display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for buttons< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "buttonGroupBorderColor" > Button group border color:< / label >
< input type = "text" id = "buttonGroupBorderColor" value = "rgba(124,124,124,0.54)" autocomplete = "off" / >
< span id = "buttonGroupBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:rgba(124,124,124,0.54); display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for buttons< / small > < / p >
< / div >
< / fieldset >
< / form >
2018-05-03 17:54:34 +00:00
< h3 > Icons module< / h3 >
< p > The < strong > Icons< / strong > module contains styling rules for icons. This module is not always enabled and it's recommended to enable it only if you're planning to use the icon set provided.< / p >
< form id = "icons" >
< div class = "input-group" >
< label for = "iconsEnabled" > Module enabled?< / label >
< input type = "checkbox" autocomplete = "off" id = "iconsEnabled" / >
< / div >
< / form >
< h3 > Utility module< / h3 >
< p > The < strong > Utility< / strong > module contains styling rules for utility classes. This module is not always enabled, but it's recommended to enable it as it contains some features that can be useful in most designs.< / p >
< form id = "utility" >
< div class = "input-group" >
< label for = "utilityEnabled" > Module enabled? (recommended)< / label >
< input type = "checkbox" autocomplete = "off" checked id = "utilityEnabled" / >
< / div >
< fieldset >
< legend id = "utility" > Utilities< / legend >
< div class = "input-group vertical" >
< label for = "genericBorderColor" > Generic border color:< / label >
< input type = "text" id = "genericBorderColor" value = "rgba(0,0,0,0.3)" autocomplete = "off" / >
< span id = "genericBorderColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:rgba(0,0,0,0.3); display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Border color for the generic border utility class< / small > < / p >
< / div >
< div class = "input-group vertical" >
< label for = "genericBoxShadowColor" > Generic box shadow color:< / label >
< input type = "text" id = "genericBoxShadowColor" value = "rgba(0,0,0,0.125)" autocomplete = "off" / >
< span id = "genericBoxShadowColorPreview" class = "circular bordered" style = "width: 24px; height: 24px; background:rgba(0,0,0,0.125); display: inline-block; vertical-align:middle; position: relative; top: -2.25rem; right: calc(-100% + 2.5rem); box-sizing: border-box" > < / span >
< p style = "margin-top: -1rem" > < small > Box shadow color for the generic box shadow utility class< / small > < / p >
< / div >
< / fieldset >
< / form >
2018-05-01 11:28:43 +00:00
< / div >
< script >
window.onload = function(){
document.getElementById('foreColor').addEventListener('input', function(e){ updateColorPreview('foreColorPreview', e.target.value) });
document.getElementById('backColor').addEventListener('input', function(e){ updateColorPreview('backColorPreview', e.target.value) });
document.getElementById('borderColor').addEventListener('input', function(e){ updateColorPreview('borderColorPreview', e.target.value) });
document.getElementById('secondaryBackColor').addEventListener('input', function(e){ updateColorPreview('secondaryBackColorPreview', e.target.value) });
document.getElementById('secondaryForeColor').addEventListener('input', function(e){ updateColorPreview('secondaryForeColorPreview', e.target.value) });
document.getElementById('secondaryBorderColor').addEventListener('input', function(e){ updateColorPreview('secondaryBorderColorPreview', e.target.value) });
document.getElementById('blockquoteSidebarColor').addEventListener('input', function(e){ updateColorPreview('blockquoteSidebarColorPreview', e.target.value) });
document.getElementById('preSidebarColor').addEventListener('input', function(e){ updateColorPreview('preSidebarColorPreview', e.target.value) });
document.getElementById('aLinkColor').addEventListener('input', function(e){ updateColorPreview('aLinkColorPreview', e.target.value) });
document.getElementById('aVisitedColor').addEventListener('input', function(e){ updateColorPreview('aVisitedColorPreview', e.target.value) });
2018-05-02 16:23:33 +00:00
document.getElementById('cardForeColor').addEventListener('input', function(e){ updateColorPreview('cardForeColorPreview', e.target.value) });
document.getElementById('cardBackColor').addEventListener('input', function(e){ updateColorPreview('cardBackColorPreview', e.target.value) });
document.getElementById('cardBorderColor').addEventListener('input', function(e){ updateColorPreview('cardBorderColorPreview', e.target.value) });
2018-05-03 17:43:04 +00:00
document.getElementById('formForeColor').addEventListener('input', function(e){ updateColorPreview('formForeColorPreview', e.target.value) });
document.getElementById('formBackColor').addEventListener('input', function(e){ updateColorPreview('formBackColorPreview', e.target.value) });
document.getElementById('formBorderColor').addEventListener('input', function(e){ updateColorPreview('formBorderColorPreview', e.target.value) });
document.getElementById('inputForeColor').addEventListener('input', function(e){ updateColorPreview('inputForeColorPreview', e.target.value) });
document.getElementById('inputBackColor').addEventListener('input', function(e){ updateColorPreview('inputBackColorPreview', e.target.value) });
document.getElementById('inputBorderColor').addEventListener('input', function(e){ updateColorPreview('inputBorderColorPreview', e.target.value) });
document.getElementById('inputFocusColor').addEventListener('input', function(e){ updateColorPreview('inputFocusColorPreview', e.target.value) });
document.getElementById('inputInvalidColor').addEventListener('input', function(e){ updateColorPreview('inputInvalidColorPreview', e.target.value) });
document.getElementById('buttonForeColor').addEventListener('input', function(e){ updateColorPreview('buttonForeColorPreview', e.target.value) });
document.getElementById('buttonBackColor').addEventListener('input', function(e){ updateColorPreview('buttonBackColorPreview', e.target.value) });
document.getElementById('buttonBorderColor').addEventListener('input', function(e){ updateColorPreview('buttonBorderColorPreview', e.target.value) });
document.getElementById('buttonHoverBackColor').addEventListener('input', function(e){ updateColorPreview('buttonHoverBackColorPreview', e.target.value) });
document.getElementById('buttonHoverBorderColor').addEventListener('input', function(e){ updateColorPreview('buttonHoverBorderColorPreview', e.target.value) });
document.getElementById('buttonGroupBorderColor').addEventListener('input', function(e){ updateColorPreview('buttonGroupBorderColorPreview', e.target.value) });
2018-05-03 17:54:34 +00:00
document.getElementById('genericBorderColor').addEventListener('input', function(e){ updateColorPreview('genericBorderColorPreview', e.target.value) });
document.getElementById('genericBoxShadowColor').addEventListener('input', function(e){ updateColorPreview('genericBoxShadowColorPreview', e.target.value) });
2018-05-01 11:28:43 +00:00
}
function updateColorPreview(element, value) { document.getElementById(element).style.background = value }
< / script >
2018-05-01 10:03:23 +00:00
< / div > < footer > < p > < strong > mini.css< / strong > was designed and built by < a href = "https://github.com/Chalarangelo" target = "_blank" > @Chalarangelo< / a > . Source code licensed under the < a href = "https://github.com/Chalarangelo/mini.css/blob/master/LICENSE" > MIT License< / a > .< / p > < p > Icons provided by < a href = "https://feathericons.com/" target = "_blank" > Feather< / a > .< / p > < / footer > < / main >
< / div > < / div >
< / body > < / html >