UNPKG

flexify

Version:
2,005 lines (1,591 loc) 35.7 kB
/* * Flexify frontend framework v.0.6.2 * http://web-profile.net/flexify/ * Licensed under GPLv3 http://www.gnu.org/licenses/gpl.html */ /* ========== variables ========== */ :root { --fx-color-black: #000; --fx-color-white: #fff; --fx-color-default: #343a40; --fx-color-primary: #007bff; --fx-color-danger: #dc3545; --fx-color-warning: #f0c000; --fx-color-success: #28a745; --fx-font-size-default: 16px; --fx-transition: all 0.3s ease-in-out; --fx-spacer-size-0: 0px; --fx-spacer-size-1: 8px; --fx-spacer-size-2: 16px; --fx-spacer-size-3: 24px; --fx-spacer-size-4: 32px; --fx-spacer-size-5: 40px; --fx-spacer-default: var(--fx-spacer-size-2); } /* ========== general ========== */ .fx-wrap { margin: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: var(--fx-font-size-default); line-height: 1.5; color: #333; background-color: #fff; } .fx-wrap *, .fx-wrap *:before, .fx-wrap *:after { box-sizing: border-box; } .fx-wrap hr { height: 0; margin-top: 15px; margin-bottom: 15px; border: 0; border-top: 1px solid #eee; box-sizing: content-box; overflow: visible; } .fx-wrap output { display: inline-block; } .fx-wrap figure { margin: 0 0 15px 0; } /* ---------- general - images ---------- */ .fx-wrap img, .fx-img { border: 0; vertical-align: middle; } /* ---------- general - links ---------- */ .fx-wrap a, .fx-a { color: #0275d8; text-decoration: underline; transition: var(--fx-transition); } .fx-wrap a:active, .fx-wrap a:focus, .fx-wrap a:hover, .fx-a:active, .fx-a:focus, .fx-a:hover { color: #014c8c; text-decoration: underline; } /* ========== responsive ========== */ .fx-wrap embed, .fx-wrap iframe, .fx-wrap object, .fx-wrap img, .fx-wrap video, .fx-wrap audio { max-width: 100%; } /* ========== media ========== */ .fx-wrap iframe { border: 0; } /* ========== typography ========== */ .fx-b, .fx-typography b, .fx-typography strong { font-weight: bold; } .fx-i, .fx-typography i, .fx-typography em { font-style: italic; } .fx-p, .fx-typography p { margin: 15px 0 15px 0; } /* ---------- typography - headers ---------- */ .fx-h1, .fx-h2, .fx-h3, .fx-h4, .fx-h5, .fx-h6, .fx-typography h1, .fx-typography h2, .fx-typography h3, .fx-typography h4, .fx-typography h5, .fx-typography h6 { margin-top: var(--fx-spacer-default); margin-bottom: var(--fx-spacer-default); font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; } .fx-h1, .fx-typography h1 { font-size: 40px; } .fx-h2, .fx-typography h2 { font-size: 32px; } .fx-h3, .fx-typography h3 { font-size: 28px; } .fx-h4, .fx-typography h4 { font-size: 24px; } .fx-h5, .fx-typography h5 { font-size: 20px; } .fx-h6, .fx-typography h6 { font-size: 16px; } /* ---------- typography - lists ---------- */ .fx-list { margin-top: 0; margin-bottom: var(--fx-spacer-default); list-style-type: disc; } .fx-list--disc { list-style-type: disc; } .fx-list--circle { list-style-type: circle; } .fx-list--square { list-style-type: square; } .fx-list--decimal { list-style-type: decimal; } .fx-list--lower-latin { list-style-type: lower-latin; } .fx-list--upper-latin { list-style-type: upper-latin; } .fx-list--lower-roman { list-style-type: lower-roman; } .fx-list--upper-roman { list-style-type: upper-roman; } .fx-list--none { list-style-type: none; } .fx-list--inline { padding-left: 0; margin-left: 0; list-style: none; } .fx-list--inline > li { display: inline-block; padding-right: 10px; } .fx-list ol, .fx-list ul { margin-bottom: 0; } .fx-wrap ul, .fx-wrap ol { margin-top: var(--fx-spacer-default); margin-bottom: var(--fx-spacer-default); } .fx-wrap ul ul, .fx-wrap ol ul, .fx-wrap ul ol, .fx-wrap ol ol { margin-top: 0; margin-bottom: 0; } .fx-wrap dl { margin-top: 0; margin-bottom: var(--fx-spacer-default); } .fx-wrap dt, .fx-wrap dd { line-height: 1.5; } .fx-wrap dt { font-weight: bold; } .fx-wrap dd { margin-left: 0; margin-bottom: var(--fx-spacer-size-1); } /* ---------- typography - blockquote ---------- */ .fx-quote, .fx-wrap blockquote { padding: var(--fx-spacer-size-1) var(--fx-spacer-size-2); margin: var(--fx-spacer-size-2) var(--fx-spacer-size-0); font-size: var(--fx-font-size-default); border-left: 4px solid #eee; background-color: #fafafa; } .fx-quote p:first-child, .fx-quote ul:first-child, .fx-quote ol:first-child, .fx-wrap blockquote p:first-child, .fx-wrap blockquote ul:first-child, .fx-wrap blockquote ol:first-child { margin-top: 0; } .fx-quote p:last-child, .fx-quote ul:last-child, .fx-quote ol:last-child, .fx-wrap blockquote p:last-child, .fx-wrap blockquote ul:last-child, .fx-wrap blockquote ol:last-child { margin-bottom: 0; } .fx-quote footer, .fx-quote small, .fx-wrap blockquote footer, .fx-wrap blockquote small { display: block; font-size: 80%; line-height: 1.5; color: #777; } .fx-quote footer:before, .fx-quote small:before, .fx-wrap blockquote footer:before, .fx-wrap blockquote small:before { content: '\2014 \00A0'; } /* ---------- typography - misc ---------- */ .fx-wrap dfn { font-style: italic; } .fx-wrap mark { color: #000; background: #ff0; padding: 4px; } .fx-wrap small { font-size: 80%; font-weight: normal; } .fx-wrap sub, .fx-wrap sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; } .fx-wrap sup { top: -8px; } .fx-wrap sub { bottom: -4px; } .fx-wrap abbr[title], .fx-wrap abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #777; } .fx-wrap address { margin-bottom: var(--fx-spacer-default); font-style: normal; line-height: 1.5; } .fx-wrap code, .fx-wrap kbd, .fx-wrap pre, .fx-wrap samp { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: var(--fx-font-size-default); } .fx-wrap code { padding: 3px 8px; font-size: var(--fx-font-size-default); color: #bbb; background-color: #f7f7f7; } .fx-wrap kbd { padding: 2px 4px; font-size: var(--fx-font-size-default); color: #fff; background-color: #333; } .fx-wrap kbd kbd { padding: 2px 4px; font-size: 100%; font-weight: bold; } .fx-wrap pre { overflow: auto; display: block; margin: 0 0 15px 0; font-size: var(--fx-font-size-default); line-height: 1.5; color: #333; } .fx-wrap pre code { padding: 0; font-size: inherit; color: inherit; background-color: transparent; } .fx-pre-scrollable { max-height: 400px; overflow-y: scroll; } /* ========== container ========== */ .fx-container { position: relative; margin-right: auto; margin-left: auto; padding-right: 15px; padding-left: 15px; } .fx-container--sm { max-width: 576px; } .fx-container--md { max-width: 768px; } .fx-container--lg { max-width: 992px; } .fx-container--xl { max-width: 1200px; } /* ========== grid ========== */ .fx-g { display: grid; /* grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); */ grid-template-columns: repeat(12, 1fr); grid-row-gap: var(--fx-spacer-default); grid-column-gap: var(--fx-spacer-default); } .fx-g--row-gap-0 { grid-row-gap: var(--fx-spacer-size-0); } .fx-g--row-gap-1 { grid-row-gap: var(--fx-spacer-size-1); } .fx-g--row-gap-2 { grid-row-gap: var(--fx-spacer-size-2); } .fx-g--row-gap-3 { grid-row-gap: var(--fx-spacer-size-3); } .fx-g--row-gap-4 { grid-row-gap: var(--fx-spacer-size-4); } .fx-g--row-gap-5 { grid-row-gap: var(--fx-spacer-size-5); } .fx-g--col-gap-0 { grid-column-gap: var(--fx-spacer-size-0); } .fx-g--col-gap-1 { grid-column-gap: var(--fx-spacer-size-1); } .fx-g--col-gap-2 { grid-column-gap: var(--fx-spacer-size-2); } .fx-g--col-gap-3 { grid-column-gap: var(--fx-spacer-size-3); } .fx-g--col-gap-4 { grid-column-gap: var(--fx-spacer-size-4); } .fx-g--col-gap-5 { grid-column-gap: var(--fx-spacer-size-5); } .fx-g__box, .fx-g__box--1 { grid-column: span 1; } .fx-g__box--2 { grid-column: span 2; } .fx-g__box--3 { grid-column: span 3; } .fx-g__box--4 { grid-column: span 4; } .fx-g__box--5 { grid-column: span 5; } .fx-g__box--6 { grid-column: span 6; } .fx-g__box--7 { grid-column: span 7; } .fx-g__box--8 { grid-column: span 8; } .fx-g__box--9 { grid-column: span 9; } .fx-g__box--10 { grid-column: span 10; } .fx-g__box--11 { grid-column: span 11; } .fx-g__box--12 { grid-column: span 12; } @media (min-width: 576px) { .fx-g__box--sm, .fx-g__box--sm-1 { grid-column: span 1; } .fx-g__box--sm-2 { grid-column: span 2; } .fx-g__box--sm-3 { grid-column: span 3; } .fx-g__box--sm-4 { grid-column: span 4; } .fx-g__box--sm-5 { grid-column: span 5; } .fx-g__box--sm-6 { grid-column: span 6; } .fx-g__box--sm-7 { grid-column: span 7; } .fx-g__box--sm-8 { grid-column: span 8; } .fx-g__box--sm-9 { grid-column: span 9; } .fx-g__box--sm-10 { grid-column: span 10; } .fx-g__box--sm-11 { grid-column: span 11; } .fx-g__box--sm-12 { grid-column: span 12; } } @media (min-width: 768px) { .fx-g__box--md, .fx-g__box--md-1 { grid-column: span 1; } .fx-g__box--md-2 { grid-column: span 2; } .fx-g__box--md-3 { grid-column: span 3; } .fx-g__box--md-4 { grid-column: span 4; } .fx-g__box--md-5 { grid-column: span 5; } .fx-g__box--md-6 { grid-column: span 6; } .fx-g__box--md-7 { grid-column: span 7; } .fx-g__box--md-8 { grid-column: span 8; } .fx-g__box--md-9 { grid-column: span 9; } .fx-g__box--md-10 { grid-column: span 10; } .fx-g__box--md-11 { grid-column: span 11; } .fx-g__box--md-12 { grid-column: span 12; } } @media (min-width: 992px) { .fx-g__box--lg, .fx-g__box--lg-1 { grid-column: span 1; } .fx-g__box--lg-2 { grid-column: span 2; } .fx-g__box--lg-3 { grid-column: span 3; } .fx-g__box--lg-4 { grid-column: span 4; } .fx-g__box--lg-5 { grid-column: span 5; } .fx-g__box--lg-6 { grid-column: span 6; } .fx-g__box--lg-7 { grid-column: span 7; } .fx-g__box--lg-8 { grid-column: span 8; } .fx-g__box--lg-9 { grid-column: span 9; } .fx-g__box--lg-10 { grid-column: span 10; } .fx-g__box--lg-11 { grid-column: span 11; } .fx-g__box--lg-12 { grid-column: span 12; } } @media (min-width: 1200px) { .fx-g__box--xl, .fx-g__box--xl-1 { grid-column: span 1; } .fx-g__box--xl-2 { grid-column: span 2; } .fx-g__box--xl-3 { grid-column: span 3; } .fx-g__box--xl-4 { grid-column: span 4; } .fx-g__box--xl-5 { grid-column: span 5; } .fx-g__box--xl-6 { grid-column: span 6; } .fx-g__box--xl-7 { grid-column: span 7; } .fx-g__box--xl-8 { grid-column: span 8; } .fx-g__box--xl-9 { grid-column: span 9; } .fx-g__box--xl-10 { grid-column: span 10; } .fx-g__box--xl-11 { grid-column: span 11; } .fx-g__box--xl-12 { grid-column: span 12; } } /* ========== flexbox ========== */ .fx-f { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .fx-f--gap-none { margin-right: 0; margin-left: 0; } .fx-f--gap-none > .fx-f__box { padding-right: 0; padding-left: 0; } .fx-f__box { flex-basis: 0; flex-grow: 1; max-width: 100%; position: relative; width: 100%; min-height: 1px; padding-right: 15px; padding-left: 15px; } .fx-f__box--auto { flex: 0 0 auto; width: auto; max-width: none; } .fx-f__box--1 { flex: 0 0 8.333333%; max-width: 8.333333%; } .fx-f__box--2 { flex: 0 0 16.666667%; max-width: 16.666667%; } .fx-f__box--3 { flex: 0 0 25%; max-width: 25%; } .fx-f__box--4 { flex: 0 0 33.333333%; max-width: 33.333333%; } .fx-f__box--5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .fx-f__box--6 { flex: 0 0 50%; max-width: 50%; } .fx-f__box--7 { flex: 0 0 58.333333%; max-width: 58.333333%; } .fx-f__box--8 { flex: 0 0 66.666667%; max-width: 66.666667%; } .fx-f__box--9 { flex: 0 0 75%; max-width: 75%; } .fx-f__box--10 { flex: 0 0 83.333333%; max-width: 83.333333%; } .fx-f__box--11 { flex: 0 0 91.666667%; max-width: 91.666667%; } .fx-f__box--12 { flex: 0 0 100%; max-width: 100%; } @media (min-width: 576px) { .fx-f__box--sm { flex-basis: 0; flex-grow: 1; max-width: 100%; } .fx-f__box--sm-auto { flex: 0 0 auto; width: auto; max-width: none; } .fx-f__box--sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } .fx-f__box--sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } .fx-f__box--sm-3 { flex: 0 0 25%; max-width: 25%; } .fx-f__box--sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } .fx-f__box--sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .fx-f__box--sm-6 { flex: 0 0 50%; max-width: 50%; } .fx-f__box--sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } .fx-f__box--sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } .fx-f__box--sm-9 { flex: 0 0 75%; max-width: 75%; } .fx-f__box--sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } .fx-f__box--sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } .fx-f__box--sm-12 { flex: 0 0 100%; max-width: 100%; } } @media (min-width: 768px) { .fx-f__box--md { flex-basis: 0; flex-grow: 1; max-width: 100%; } .fx-f__box--md-auto { flex: 0 0 auto; width: auto; max-width: none; } .fx-f__box--md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } .fx-f__box--md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } .fx-f__box--md-3 { flex: 0 0 25%; max-width: 25%; } .fx-f__box--md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } .fx-f__box--md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .fx-f__box--md-6 { flex: 0 0 50%; max-width: 50%; } .fx-f__box--md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } .fx-f__box--md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } .fx-f__box--md-9 { flex: 0 0 75%; max-width: 75%; } .fx-f__box--md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } .fx-f__box--md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } .fx-f__box--md-12 { flex: 0 0 100%; max-width: 100%; } } @media (min-width: 992px) { .fx-f__box--lg { flex-basis: 0; flex-grow: 1; max-width: 100%; } .fx-f__box--lg-auto { flex: 0 0 auto; width: auto; max-width: none; } .fx-f__box--lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } .fx-f__box--lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } .fx-f__box--lg-3 { flex: 0 0 25%; max-width: 25%; } .fx-f__box--lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } .fx-f__box--lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .fx-f__box--lg-6 { flex: 0 0 50%; max-width: 50%; } .fx-f__box--lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } .fx-f__box--lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } .fx-f__box--lg-9 { flex: 0 0 75%; max-width: 75%; } .fx-f__box--lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } .fx-f__box--lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } .fx-f__box--lg-12 { flex: 0 0 100%; max-width: 100%; } } @media (min-width: 1200px) { .fx-f__box--xl { flex-basis: 0; flex-grow: 1; max-width: 100%; } .fx-f__box--xl-auto { flex: 0 0 auto; width: auto; max-width: none; } .fx-f__box--xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } .fx-f__box--xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } .fx-f__box--xl-3 { flex: 0 0 25%; max-width: 25%; } .fx-f__box--xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } .fx-f__box--xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } .fx-f__box--xl-6 { flex: 0 0 50%; max-width: 50%; } .fx-f__box--xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } .fx-f__box--xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } .fx-f__box--xl-9 { flex: 0 0 75%; max-width: 75%; } .fx-f__box--xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } .fx-f__box--xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } .fx-f__box--xl-12 { flex: 0 0 100%; max-width: 100%; } } /* ---------- grid - alignment ---------- */ .fx-f__box--align-top { align-self: flex-start; } .fx-f__box--align-middle { align-self: center; } .fx-f__box--align-bottom { align-self: flex-end; } /* ---------- grid - visibility helpers ---------- */ .fx-hidden-xs-up { display: none !important; } @media (max-width: 575px) { .fx-hidden-xs-down { display: none !important; } } @media (min-width: 576px) { .fx-hidden-sm-up { display: none !important; } } @media (max-width: 767px) { .fx-hidden-sm-down { display: none !important; } } @media (min-width: 768px) { .fx-hidden-md-up { display: none !important; } } @media (max-width: 991px) { .fx-hidden-md-down { display: none !important; } } @media (min-width: 992px) { .fx-hidden-lg-up { display: none !important; } } @media (max-width: 1199px) { .fx-hidden-lg-down { display: none !important; } } @media (min-width: 1200px) { .fx-hidden-xl-up { display: none !important; } } .fx-hidden-xl-down { display: none !important; } /* ========== menu ========== */ .fx-menu { display: block; width: 100%; clear: both; margin: 0; padding: 0; } .fx-menu li { display: inline-block; position: relative; list-style-type: none; margin: 0; padding: 0; } .fx-menu a { color: #000; padding: 12px 12px; display: block; text-decoration: none; transition: var(--fx-transition); } .fx-menu a:hover, .fx-menu__link--active { color: #000; background-color: #ccc; } .fx-menu a:hover, .fx-menu a:focus { text-decoration: none; } .fx-menu__wrap-level-2 > a, .fx-menu__wrap-level-3 > a, .fx-menu ul li.page_item_has_children a, .fx-menu ul li.menu-item-has-children a { position: relative; } /* magic arrow-triangle */ .fx-menu__wrap-level-2 > a:after, .fx-menu__wrap-level-3 > a:after, .fx-menu ul li.page_item_has_children > a:after, .fx-menu ul li.menu-item-has-children > a:after { content: ""; position: absolute; display: block; right: 2px; top: 50%; margin-top: -2px; opacity: 0.5; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #555; } .fx-menu__wrap-level-3 > a:after { border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 4px solid #555; } /* ========== menu | level 2-3 ========== */ .fx-menu__level-2, .fx-menu__level-3 { background: #eee; display: none; margin: 0; padding: 0; position: absolute; top: 100%; left: -1px; width: 250px; z-index: 50; } .fx-menu__level-3 { top: 0; left: 100%; } .fx-menu__level-2 li { width: 100%; border-right: 0; } .fx-menu__wrap-level-2:hover .fx-menu__level-2, .fx-menu__wrap-level-3:hover .fx-menu__level-3 { display: block; } /* ========== menu | dark ========== */ .fx-menu--dark { background-color: transparent; color: #eee; } .fx-menu--dark a { color: #eee; } .fx-menu--dark a:hover, .fx-menu--dark a:focus, .fx-menu--dark li.current_page_item > a, .fx-menu--dark li.current-page-item > a, .fx-menu--dark li.current_menu_item > a, .fx-menu--dark li.current-menu-item > a, .fx-menu--dark li.current_page_ancestor > a, .fx-menu--dark li.current-page-ancestor > a, .fx-menu--dark li.current_menu_ancestor > a, .fx-menu--dark li.current-menu-ancestor > a { color: #fff; background-color: #111; } .fx-menu--dark ul { background: #333; color: #eee; } /* ========== forms ========== */ .fx-wrap legend { display: block; width: 100%; padding: 0; margin-bottom: 8px; font-size: var(--fx-font-size-default); line-height: inherit; border: 0; } .fx-wrap fieldset { min-width: 0; padding: 0; margin: 0; border: 0; } /* ========== form controls ========== */ .fx-label { display: block; margin-bottom: var(--fx-spacer-size-1);; } .fx-label[for] { cursor: pointer; } .fx-input, .fx-textarea, .fx-select { display: block; width: 100%; padding: 6px 12px; font-family: inherit; font-size: var(--fx-font-size-default); font-weight: 400; line-height: 1.5; color: var(--fx-color-default); background-color: #fff; background-clip: padding-box; border: 1px solid var(--fx-color-default); /*-webkit-appearance: none; appearance: none;*/ border-radius: 4px; transition: var(--fx-transition); } .fx-textarea { min-height: 40px; resize: vertical; } .fx-select { /* padding-right: 36px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 12px;*/ } .fx-input:focus, .fx-textarea:focus, .fx-select:focus { /* border-color: #86b7fe; */ outline: 0; box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25); } .fx-input:disabled, .fx-input[readonly] { background-color: #e9ecef; opacity: 1; } .fx-checkbox { } .fx-radio { } /* ========== form controls | validation ========== */ .fx-input--danger, .fx-textarea--danger, .fx-select--danger { border-color: var(--fx-color-danger); } .fx-input--success, .fx-textarea--success, .fx-select--success { border-color: var(--fx-color-success); } /* ========== buttons ========== */ .fx-btn { display: inline-block; color: #fff; background-color: var(--fx-color-default); border: 1px solid var(--fx-color-default); font-weight: 400; text-align: center; vertical-align: middle; -webkit-user-select: none; -ms-user-select: none; user-select: none; padding: 6px 12px; font-size: var(--fx-font-size-default); line-height: 1.5; border-radius: 4px; transition: var(--fx-transition); } .fx-btn:hover, .fx-btn:active { color: #fff; filter: brightness(85%); transition: var(--fx-transition); text-decoration: none; } .fx-btn:focus { outline: 0; box-shadow: 0 0 0 3px rgba(130, 138, 145, 0.5); } .fx-btn:disabled { color: #fff; /*background-color: #6c757d; border-color: #6c757d; opacity: 0.65; filter: sepia(85%);*/ filter: grayscale(60%); } .fx-btn:not(:disabled) { cursor: pointer; } .fx-btn--primary { background-color: var(--fx-color-primary); border-color: var(--fx-color-primary); } .fx-btn--danger { background-color: var(--fx-color-danger); border-color: var(--fx-color-danger); } .fx-btn--warning { background-color: var(--fx-color-warning); border-color: var(--fx-color-warning); } .fx-btn--success { background-color: var(--fx-color-success); border-color: var(--fx-color-success); } .fx-btn--block { display: block; width: 100%; } /* ========== tables ========== */ .fx-table { border-spacing: 0; border-collapse: collapse; background-color: transparent; width: 100%; max-width: 100%; margin-bottom: var(--fx-spacer-default); border-top: 2px solid #eceeef; } .fx-table caption { display: table-caption; text-align: center; padding-top: 12px; padding-bottom: 12px; } .fx-table th, .fx-table td { font-weight: normal; text-align: left; vertical-align: top; } .fx-table th, .fx-table td { font-weight: normal; padding: 4px; line-height: 1.5; text-align: left; vertical-align: top; border-top: 1px solid #eceeef; } .fx-table th { font-weight: bold; } .fx-table thead th { vertical-align: bottom; } /* ========== columns ========== */ .fx-cols { column-count: 2; column-gap: var(--fx-spacer-default); } .fx-cols--1 { column-count: 1; } .fx-cols--2 { column-count: 2; } .fx-cols--3 { column-count: 3; } .fx-cols--4 { column-count: 4; } .fx-cols--5 { column-count: 5; } .fx-cols--gap-0 { column-gap: var(--fx-spacer-size-0); } .fx-cols--gap-1 { column-gap: var(--fx-spacer-size-1); } .fx-cols--gap-2 { column-gap: var(--fx-spacer-size-2); } .fx-cols--gap-3 { column-gap: var(--fx-spacer-size-3); } .fx-cols--gap-4 { column-gap: var(--fx-spacer-size-4); } .fx-cols--gap-5 { column-gap: var(--fx-spacer-size-5); } .fx-cols__item { -webkit-column-break-inside: avoid; page-break-inside: avoid; break-inside: avoid; /* to fix the issue when bottom margin can go to the next column */ display: inline-block; width: 100%; } /* ========== utilities ========== */ /* ---------- utilities - margin ---------- */ .fx-u-m-0 { margin: var(--fx-spacer-size-0) !important; } .fx-u-m-1 { margin: var(--fx-spacer-size-1) !important; } .fx-u-m-2 { margin: var(--fx-spacer-size-2) !important; } .fx-u-m-3 { margin: var(--fx-spacer-size-3) !important; } .fx-u-m-4 { margin: var(--fx-spacer-size-4) !important; } .fx-u-m-5 { margin: var(--fx-spacer-size-5) !important; } .fx-u-mt-0 { margin-top: var(--fx-spacer-size-0) !important; } .fx-u-mt-1 { margin-top: var(--fx-spacer-size-1) !important; } .fx-u-mt-2 { margin-top: var(--fx-spacer-size-2) !important; } .fx-u-mt-3 { margin-top: var(--fx-spacer-size-3) !important; } .fx-u-mt-4 { margin-top: var(--fx-spacer-size-4) !important; } .fx-u-mt-5 { margin-top: var(--fx-spacer-size-5) !important; } .fx-u-mr-0 { margin-right: var(--fx-spacer-size-0) !important; } .fx-u-mr-1 { margin-right: var(--fx-spacer-size-1) !important; } .fx-u-mr-2 { margin-right: var(--fx-spacer-size-2) !important; } .fx-u-mr-3 { margin-right: var(--fx-spacer-size-3) !important; } .fx-u-mr-4 { margin-right: var(--fx-spacer-size-4) !important; } .fx-u-mr-5 { margin-right: var(--fx-spacer-size-5) !important; } .fx-u-mb-0 { margin-bottom: var(--fx-spacer-size-0) !important; } .fx-u-mb-1 { margin-bottom: var(--fx-spacer-size-1) !important; } .fx-u-mb-2 { margin-bottom: var(--fx-spacer-size-2) !important; } .fx-u-mb-3 { margin-bottom: var(--fx-spacer-size-3) !important; } .fx-u-mb-4 { margin-bottom: var(--fx-spacer-size-4) !important; } .fx-u-mb-5 { margin-bottom: var(--fx-spacer-size-5) !important; } .fx-u-ml-0 { margin-left: var(--fx-spacer-size-0) !important; } .fx-u-ml-1 { margin-left: var(--fx-spacer-size-1) !important; } .fx-u-ml-2 { margin-left: var(--fx-spacer-size-2) !important; } .fx-u-ml-3 { margin-left: var(--fx-spacer-size-3) !important; } .fx-u-ml-4 { margin-left: var(--fx-spacer-size-4) !important; } .fx-u-ml-5 { margin-left: var(--fx-spacer-size-5) !important; } /* ---------- utilities - padding ---------- */ .fx-u-p-0 { padding: var(--fx-spacer-size-0) !important; } .fx-u-p-1 { padding: var(--fx-spacer-size-1) !important; } .fx-u-p-2 { padding: var(--fx-spacer-size-2) !important; } .fx-u-p-3 { padding: var(--fx-spacer-size-3) !important; } .fx-u-p-4 { padding: var(--fx-spacer-size-4) !important; } .fx-u-p-5 { padding: var(--fx-spacer-size-5) !important; } .fx-u-pt-0 { padding-top: var(--fx-spacer-size-0) !important; } .fx-u-pt-1 { padding-top: var(--fx-spacer-size-1) !important; } .fx-u-pt-2 { padding-top: var(--fx-spacer-size-2) !important; } .fx-u-pt-3 { padding-top: var(--fx-spacer-size-3) !important; } .fx-u-pt-4 { padding-top: var(--fx-spacer-size-4) !important; } .fx-u-pt-5 { padding-top: var(--fx-spacer-size-5) !important; } .fx-u-pr-0 { padding-right: var(--fx-spacer-size-0) !important; } .fx-u-pr-1 { padding-right: var(--fx-spacer-size-1) !important; } .fx-u-pr-2 { padding-right: var(--fx-spacer-size-2) !important; } .fx-u-pr-3 { padding-right: var(--fx-spacer-size-3) !important; } .fx-u-pr-4 { padding-right: var(--fx-spacer-size-4) !important; } .fx-u-pr-5 { padding-right: var(--fx-spacer-size-5) !important; } .fx-u-pb-0 { padding-bottom: var(--fx-spacer-size-0) !important; } .fx-u-pb-1 { padding-bottom: var(--fx-spacer-size-1) !important; } .fx-u-pb-2 { padding-bottom: var(--fx-spacer-size-2) !important; } .fx-u-pb-3 { padding-bottom: var(--fx-spacer-size-3) !important; } .fx-u-pb-4 { padding-bottom: var(--fx-spacer-size-4) !important; } .fx-u-pb-5 { padding-bottom: var(--fx-spacer-size-5) !important; } .fx-u-pl-0 { padding-left: var(--fx-spacer-size-0) !important; } .fx-u-pl-1 { padding-left: var(--fx-spacer-size-1) !important; } .fx-u-pl-2 { padding-left: var(--fx-spacer-size-2) !important; } .fx-u-pl-3 { padding-left: var(--fx-spacer-size-3) !important; } .fx-u-pl-4 { padding-left: var(--fx-spacer-size-4) !important; } .fx-u-pl-5 { padding-left: var(--fx-spacer-size-5) !important; } /* ---------- utilities - color ---------- */ .fx-u-color-black { color: var(--fx-color-black) !important; } .fx-u-color-white { color: var(--fx-color-white) !important; } .fx-u-color-default { color: var(--fx-color-default) !important; } .fx-u-color-primary { color: var(--fx-color-primary) !important; } .fx-u-color-danger { color: var(--fx-color-danger) !important; } .fx-u-color-warning { color: var(--fx-color-warning) !important; } .fx-u-color-success { color: var(--fx-color-success) !important; } /* ---------- utilities - bg color ---------- */ .fx-u-bg-black { background-color: var(--fx-color-black) !important; } .fx-u-bg-white { background-color: var(--fx-color-white) !important; } .fx-u-bg-default { background-color: var(--fx-color-default) !important; } .fx-u-bg-primary { background-color: var(--fx-color-primary) !important; } .fx-u-bg-danger { background-color: var(--fx-color-danger) !important; } .fx-u-bg-warning { background-color: var(--fx-color-warning) !important; } .fx-u-bg-success { background-color: var(--fx-color-success) !important; } /* ---------- utilities - position ---------- */ .fx-u-position-static { position: static !important; } .fx-u-position-relative { position: relative !important; } .fx-u-position-absolute { position: absolute !important; } .fx-u-position-fixed { position: fixed !important; } .fx-u-position-sticky { position: sticky !important; } /* ---------- utilities - text ---------- */ .fx-u-text-left { text-align: left !important; } .fx-u-text-right { text-align: right !important; } .fx-u-text-center { text-align: center !important; } .fx-u-text-justify { text-align: justify !important; } .fx-u-text-nowrap { white-space: nowrap !important; } .fx-u-text-lowercase { text-transform: lowercase !important; } .fx-u-text-uppercase { text-transform: uppercase !important; } .fx-u-text-capitalize { text-transform: capitalize !important; } .fx-u-text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fx-u-text-mute { color: #777; } /* ---------- utilities - visibility ---------- */ .fx-u-hide { display: none !important; } .fx-u-show { display: block !important; } .fx-u-invisible { visibility: hidden !important; }