UNPKG

@claromentis/design-system

Version:

Claromentis Design System Component Library

1,018 lines (920 loc) 23.7 kB
@charset "UTF-8"; :root { --white: #FFF; --black: #000; --brand-blue: var(--blue-500); --brand-grey: var(--gray-500); /*-----------TEXT COLOURS-----------*/ --headings-color: var(--gray-800); --subheadings-color: var(--gray-700); --body-color: var(--gray-900); /*-----------UI COLOURS-----------*/ --ui-bg-color-enabled: var(--gray-100); --ui-border-color-enabled: var(--gray-400); --ui-bg-color-disabled: var(--gray-100); --ui-border-color-disabled: var(--gray-300); --ui-text-color-disabled: var(--gray-500); --ui-box-shadow-focus: var(--blue-200); --ui-border-color-focus: var(--blue-600); --ui-border-color-focus-hover: var(--gray-600); --ui-bg-color-focus-hover: var(--gray-200); --ui-color-active: var(--blue-600); --ui-bg-color-active: var(--blue-700); --ui-color-active-hover: var(--blue-700); --ui-bg-color-active-hover: var(--gray-200); --ui-bg-color-hover: var(--gray-100); --ui-border-color-hover: var(--gray-500); /*-----------INPUT UI COLOURS-----------*/ --input-bg-color-enabled: var(--gray-100); --input-border-color-enabled: var(--gray-400); --input-bg-color-dark-enabled: var(--gray-400); --input-bg-color-disabled: var(--gray-100); --input-border-color-disabled: var(--gray-300); --input-text-color-disabled: var(--gray-500); --input-box-shadow-focus: var(--blue-200); --input-border-color-focus: var(--blue-600); --input-border-color-focus-hover: var(--gray-600); --input-bg-color-focus-hover: var(--gray-200); --input-color-active: var(--blue-600); --input-bg-color-active: var(--blue-200); --input-color-active-hover: var(--blue-700); --input-bg-color-active-hover: var(--gray-200); --input-bg-color-hover: var(--gray-100); --input-border-color-hover: var(--gray-500); --input-bg-dark-color-hover: var(--input-border-color-hover); /*---------INVERTED COLOURS---------*/ --inverted-background: var(--gray-900); --inverted-border-color: var(--gray-700); } /** * This file contains global Sass functions, variables and mixins to use for * building components, including those from Bootstrap 4. * * No CSS should actually be defined here, otherwise any components that * include this file will output these classes. */ /*-----------BUTTONS-----------*/ /*-----------BADGE-----------*/ /*-----------CARD-----------*/ /*-----------DROPDOWN-----------*/ /*-----------POPOVER-----------*/ /*-----------PROGRESS BAR-----------*/ *, *::before, *::after { box-sizing: border-box; } html { font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { display: block; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; background-color: #fff; } [tabindex="-1"]:focus:not(:focus-visible) { outline: 0 !important; } hr { box-sizing: content-box; height: 0; overflow: visible; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: 0.5rem; } p { margin-top: 0; margin-bottom: 1rem; } abbr[title], abbr[data-original-title] { text-decoration: underline; text-decoration: underline dotted; cursor: help; border-bottom: 0; text-decoration-skip-ink: none; } address { margin-bottom: 1rem; font-style: normal; line-height: inherit; } ol, ul, dl { margin-top: 0; margin-bottom: 1rem; } ol ol, ul ul, ol ul, ul ol { margin-bottom: 0; } dt { font-weight: 700; } dd { margin-bottom: 0.5rem; margin-left: 0; } blockquote { margin: 0 0 1rem; } b, strong { font-weight: bolder; } small { font-size: 80%; } sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } a { color: #007bff; text-decoration: none; background-color: transparent; } a:hover { color: #0056b3; text-decoration: underline; } a:not([href]):not([class]) { color: inherit; text-decoration: none; } a:not([href]):not([class]):hover { color: inherit; text-decoration: none; } pre, code, kbd, samp { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 1em; } pre { margin-top: 0; margin-bottom: 1rem; overflow: auto; -ms-overflow-style: scrollbar; } figure { margin: 0 0 1rem; } img { vertical-align: middle; border-style: none; } svg { overflow: hidden; vertical-align: middle; } table { border-collapse: collapse; } caption { padding-top: 0.75rem; padding-bottom: 0.75rem; color: #6c757d; text-align: left; caption-side: bottom; } th { text-align: inherit; text-align: -webkit-match-parent; } label { display: inline-block; margin-bottom: 0.5rem; } button { border-radius: 0; } button:focus:not(:focus-visible) { outline: 0; } input, button, select, optgroup, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; } button, input { overflow: visible; } button, select { text-transform: none; } [role=button] { cursor: pointer; } select { word-wrap: normal; } button, [type=button], [type=reset], [type=submit] { -webkit-appearance: button; } button:not(:disabled), [type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled) { cursor: pointer; } button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner { padding: 0; border-style: none; } input[type=radio], input[type=checkbox] { box-sizing: border-box; padding: 0; } textarea { overflow: auto; resize: vertical; } fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } legend { display: block; width: 100%; max-width: 100%; padding: 0; margin-bottom: 0.5rem; font-size: 1.5rem; line-height: inherit; color: inherit; white-space: normal; } progress { vertical-align: baseline; } [type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height: auto; } [type=search] { outline-offset: -2px; -webkit-appearance: none; } [type=search]::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-file-upload-button { font: inherit; -webkit-appearance: button; } output { display: inline-block; } summary { display: list-item; cursor: pointer; } template { display: none; } [hidden] { display: none !important; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; } h1, .h1 { font-size: 2.5rem; } h2, .h2 { font-size: 2rem; } h3, .h3 { font-size: 1.75rem; } h4, .h4 { font-size: 1.5rem; } h5, .h5 { font-size: 1.25rem; } h6, .h6 { font-size: 1rem; } .lead { font-size: 1.25rem; font-weight: 300; } .display-1 { font-size: 6rem; font-weight: 300; line-height: 1.2; } .display-2 { font-size: 5.5rem; font-weight: 300; line-height: 1.2; } .display-3 { font-size: 4.5rem; font-weight: 300; line-height: 1.2; } .display-4 { font-size: 3.5rem; font-weight: 300; line-height: 1.2; } hr { margin-top: 1rem; margin-bottom: 1rem; border: 0; border-top: 1px solid rgba(0, 0, 0, 0.1); } small, .small { font-size: 0.875em; font-weight: 400; } mark, .mark { padding: 0.2em; background-color: #fcf8e3; } .list-unstyled { padding-left: 0; list-style: none; } .list-inline { padding-left: 0; list-style: none; } .list-inline-item { display: inline-block; } .list-inline-item:not(:last-child) { margin-right: 0.5rem; } .initialism { font-size: 90%; text-transform: uppercase; } .blockquote { margin-bottom: 1rem; font-size: 1.25rem; } .blockquote-footer { display: block; font-size: 0.875em; color: #6c757d; } .blockquote-footer::before { content: "— "; } .btn { display: inline-block; font-weight: 400; color: #212529; text-align: center; vertical-align: middle; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 6px 12px; font-size: calc(14px); line-height: 1.5; border-radius: 0.25rem; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { .btn { transition: none; } } .btn:hover { color: #212529; text-decoration: none; } .btn:focus, .btn.focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); } .btn.disabled, .btn:disabled { opacity: 0.65; } .btn:not(:disabled):not(.disabled) { cursor: pointer; } a.btn.disabled, fieldset:disabled a.btn { pointer-events: none; } .btn-primary { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-primary:hover { color: #fff; background-color: #2587d8; border-color: #2380cd; } .btn-primary:focus, .btn-primary.focus { color: #fff; background-color: #2587d8; border-color: #2380cd; box-shadow: 0 0 0 0.2rem rgba(95, 168, 228, 0.5); } .btn-primary.disabled, .btn-primary:disabled { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle { color: #fff; background-color: #2380cd; border-color: #217ac2; } .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(95, 168, 228, 0.5); } .btn-secondary { color: #212529; background-color: #edf2f7; border-color: #edf2f7; } .btn-secondary:hover { color: #212529; background-color: #d3dfeb; border-color: #cad9e7; } .btn-secondary:focus, .btn-secondary.focus { color: #212529; background-color: #d3dfeb; border-color: #cad9e7; box-shadow: 0 0 0 0.2rem rgba(206, 211, 216, 0.5); } .btn-secondary.disabled, .btn-secondary:disabled { color: #212529; background-color: #edf2f7; border-color: #edf2f7; } .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .show > .btn-secondary.dropdown-toggle { color: #212529; background-color: #cad9e7; border-color: #c1d2e3; } .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-secondary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(206, 211, 216, 0.5); } .btn-success { color: #fff; background-color: #3ba06a; border-color: #3ba06a; } .btn-success:hover { color: #fff; background-color: #318458; border-color: #2d7b52; } .btn-success:focus, .btn-success.focus { color: #fff; background-color: #318458; border-color: #2d7b52; box-shadow: 0 0 0 0.2rem rgba(88, 174, 128, 0.5); } .btn-success.disabled, .btn-success:disabled { color: #fff; background-color: #3ba06a; border-color: #3ba06a; } .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .show > .btn-success.dropdown-toggle { color: #fff; background-color: #2d7b52; border-color: #2a724b; } .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus, .show > .btn-success.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(88, 174, 128, 0.5); } .btn-danger { color: #fff; background-color: #e24040; border-color: #e24040; } .btn-danger:hover { color: #fff; background-color: #dc2121; border-color: #d11f1f; } .btn-danger:focus, .btn-danger.focus { color: #fff; background-color: #dc2121; border-color: #d11f1f; box-shadow: 0 0 0 0.2rem rgba(230, 93, 93, 0.5); } .btn-danger.disabled, .btn-danger:disabled { color: #fff; background-color: #e24040; border-color: #e24040; } .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .show > .btn-danger.dropdown-toggle { color: #fff; background-color: #d11f1f; border-color: #c51e1e; } .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-danger.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(230, 93, 93, 0.5); } .btn-warning { color: #212529; background-color: #e8c554; border-color: #e8c554; } .btn-warning:hover { color: #212529; background-color: #e3ba33; border-color: #e2b628; } .btn-warning:focus, .btn-warning.focus { color: #212529; background-color: #e3ba33; border-color: #e2b628; box-shadow: 0 0 0 0.2rem rgba(202, 173, 78, 0.5); } .btn-warning.disabled, .btn-warning:disabled { color: #212529; background-color: #e8c554; border-color: #e8c554; } .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle { color: #212529; background-color: #e2b628; border-color: #deb11e; } .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-warning.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(202, 173, 78, 0.5); } .btn-info { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-info:hover { color: #fff; background-color: #2587d8; border-color: #2380cd; } .btn-info:focus, .btn-info.focus { color: #fff; background-color: #2587d8; border-color: #2380cd; box-shadow: 0 0 0 0.2rem rgba(95, 168, 228, 0.5); } .btn-info.disabled, .btn-info:disabled { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle { color: #fff; background-color: #2380cd; border-color: #217ac2; } .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus, .show > .btn-info.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(95, 168, 228, 0.5); } .btn-dark { color: #fff; background-color: #2e3747; border-color: #2e3747; } .btn-dark:hover { color: #fff; background-color: #1f2530; border-color: #1a1f28; } .btn-dark:focus, .btn-dark.focus { color: #fff; background-color: #1f2530; border-color: #1a1f28; box-shadow: 0 0 0 0.2rem rgba(77, 85, 99, 0.5); } .btn-dark.disabled, .btn-dark:disabled { color: #fff; background-color: #2e3747; border-color: #2e3747; } .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, .show > .btn-dark.dropdown-toggle { color: #fff; background-color: #1a1f28; border-color: #151920; } .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-dark.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(77, 85, 99, 0.5); } .btn-light { color: #212529; background-color: #f8fafc; border-color: #f8fafc; } .btn-light:hover { color: #212529; background-color: #dce9f2; border-color: #d3e3ee; } .btn-light:focus, .btn-light.focus { color: #212529; background-color: #dce9f2; border-color: #d3e3ee; box-shadow: 0 0 0 0.2rem rgba(216, 218, 220, 0.5); } .btn-light.disabled, .btn-light:disabled { color: #212529; background-color: #f8fafc; border-color: #f8fafc; } .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .show > .btn-light.dropdown-toggle { color: #212529; background-color: #d3e3ee; border-color: #c9ddeb; } .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus, .show > .btn-light.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(216, 218, 220, 0.5); } .btn-outline-primary { color: #4399df; border-color: #4399df; } .btn-outline-primary:hover { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-outline-primary:focus, .btn-outline-primary.focus { box-shadow: 0 0 0 0.2rem rgba(67, 153, 223, 0.5); } .btn-outline-primary.disabled, .btn-outline-primary:disabled { color: #4399df; background-color: transparent; } .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-primary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(67, 153, 223, 0.5); } .btn-outline-secondary { color: #edf2f7; border-color: #edf2f7; } .btn-outline-secondary:hover { color: #212529; background-color: #edf2f7; border-color: #edf2f7; } .btn-outline-secondary:focus, .btn-outline-secondary.focus { box-shadow: 0 0 0 0.2rem rgba(237, 242, 247, 0.5); } .btn-outline-secondary.disabled, .btn-outline-secondary:disabled { color: #edf2f7; background-color: transparent; } .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle { color: #212529; background-color: #edf2f7; border-color: #edf2f7; } .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-secondary.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(237, 242, 247, 0.5); } .btn-outline-success { color: #3ba06a; border-color: #3ba06a; } .btn-outline-success:hover { color: #fff; background-color: #3ba06a; border-color: #3ba06a; } .btn-outline-success:focus, .btn-outline-success.focus { box-shadow: 0 0 0 0.2rem rgba(59, 160, 106, 0.5); } .btn-outline-success.disabled, .btn-outline-success:disabled { color: #3ba06a; background-color: transparent; } .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active, .show > .btn-outline-success.dropdown-toggle { color: #fff; background-color: #3ba06a; border-color: #3ba06a; } .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-success.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(59, 160, 106, 0.5); } .btn-outline-danger { color: #e24040; border-color: #e24040; } .btn-outline-danger:hover { color: #fff; background-color: #e24040; border-color: #e24040; } .btn-outline-danger:focus, .btn-outline-danger.focus { box-shadow: 0 0 0 0.2rem rgba(226, 64, 64, 0.5); } .btn-outline-danger.disabled, .btn-outline-danger:disabled { color: #e24040; background-color: transparent; } .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active, .show > .btn-outline-danger.dropdown-toggle { color: #fff; background-color: #e24040; border-color: #e24040; } .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-danger.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(226, 64, 64, 0.5); } .btn-outline-warning { color: #e8c554; border-color: #e8c554; } .btn-outline-warning:hover { color: #212529; background-color: #e8c554; border-color: #e8c554; } .btn-outline-warning:focus, .btn-outline-warning.focus { box-shadow: 0 0 0 0.2rem rgba(232, 197, 84, 0.5); } .btn-outline-warning.disabled, .btn-outline-warning:disabled { color: #e8c554; background-color: transparent; } .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active, .show > .btn-outline-warning.dropdown-toggle { color: #212529; background-color: #e8c554; border-color: #e8c554; } .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-warning.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(232, 197, 84, 0.5); } .btn-outline-info { color: #4399df; border-color: #4399df; } .btn-outline-info:hover { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-outline-info:focus, .btn-outline-info.focus { box-shadow: 0 0 0 0.2rem rgba(67, 153, 223, 0.5); } .btn-outline-info.disabled, .btn-outline-info:disabled { color: #4399df; background-color: transparent; } .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active, .show > .btn-outline-info.dropdown-toggle { color: #fff; background-color: #4399df; border-color: #4399df; } .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-info.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(67, 153, 223, 0.5); } .btn-outline-dark { color: #2e3747; border-color: #2e3747; } .btn-outline-dark:hover { color: #fff; background-color: #2e3747; border-color: #2e3747; } .btn-outline-dark:focus, .btn-outline-dark.focus { box-shadow: 0 0 0 0.2rem rgba(46, 55, 71, 0.5); } .btn-outline-dark.disabled, .btn-outline-dark:disabled { color: #2e3747; background-color: transparent; } .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active, .show > .btn-outline-dark.dropdown-toggle { color: #fff; background-color: #2e3747; border-color: #2e3747; } .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-dark.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(46, 55, 71, 0.5); } .btn-outline-light { color: #f8fafc; border-color: #f8fafc; } .btn-outline-light:hover { color: #212529; background-color: #f8fafc; border-color: #f8fafc; } .btn-outline-light:focus, .btn-outline-light.focus { box-shadow: 0 0 0 0.2rem rgba(248, 250, 252, 0.5); } .btn-outline-light.disabled, .btn-outline-light:disabled { color: #f8fafc; background-color: transparent; } .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active, .show > .btn-outline-light.dropdown-toggle { color: #212529; background-color: #f8fafc; border-color: #f8fafc; } .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus, .show > .btn-outline-light.dropdown-toggle:focus { box-shadow: 0 0 0 0.2rem rgba(248, 250, 252, 0.5); } .btn-link { font-weight: 400; color: #007bff; text-decoration: none; } .btn-link:hover { color: #0056b3; text-decoration: underline; } .btn-link:focus, .btn-link.focus { text-decoration: underline; } .btn-link:disabled, .btn-link.disabled { color: #6c757d; pointer-events: none; } .btn-lg { padding: 10px 16px; font-size: calc(18px); line-height: 1.5; border-radius: 0.3rem; } .btn-sm { padding: 4px 10px; font-size: calc(12px); line-height: 1.5; border-radius: 0.2rem; } .btn-block { display: block; width: 100%; } .btn-block + .btn-block { margin-top: 0.5rem; } input[type=submit].btn-block, input[type=reset].btn-block, input[type=button].btn-block { width: 100%; } .btn-block { margin-top: 0.5rem; }