bullframe.css
Version:
Bullframe CSS is a lightweight Sass (SCSS) framework for building fast, responsive, and accessible UIs — semantic, themeable, and classless-friendly, with solid cross-browser support.
2,105 lines (1,811 loc) • 37 kB
CSS
/* ! Bullframe CSS v5.1.0 | MIT License | https://github.com/marcop135/bullframe.css */
@charset "UTF-8";
*,
*::before,
*::after {
box-sizing: border-box;
}
article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
details {
display: block;
}
template {
display: none;
}
[hidden] {
display: none ;
}
html {
-webkit-text-size-adjust: 100%;
-moz-text-size-adjust: 100%;
text-size-adjust: 100%;
font-size: 62.5%;
color: #222;
font-family: sans-serif;
line-height: 1.15;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
margin: 0;
font-size: 1.6rem;
line-height: 1.5;
font-weight: 400;
text-align: left;
font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
text-rendering: optimizeLegibility;
word-wrap: break-word;
background-color: #fff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
font-weight: 600;
font-family: inherit;
color: inherit;
line-height: 1.25;
margin-bottom: 1rem;
}
h1 {
font-size: 36px;
font-size: 3.6rem;
}
h2 {
font-size: 30px;
font-size: 3rem;
}
h3 {
font-size: 24px;
font-size: 2.4rem;
}
h4 {
font-size: 20px;
font-size: 2rem;
}
h5,
h6 {
font-size: 16px;
font-size: 1.6rem;
}
blockquote {
margin-bottom: 2rem;
padding-left: 0;
font-style: italic;
}
blockquote p {
margin-bottom: 0;
}
blockquote small {
color: #999;
display: block;
}
blockquote small::before {
content: "— ";
}
q {
quotes: "“" "”" "‘" "’";
}
pre {
margin: 0 0 2rem 0;
display: block;
overflow: auto;
word-break: break-all;
word-wrap: break-word;
white-space: pre;
-webkit-hyphens: none;
hyphens: none;
-ms-overflow-style: auto;
}
pre,
code,
kbd,
samp {
font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 0.875em;
}
code {
word-wrap: break-word;
}
a > code {
color: inherit;
}
pre code {
font-size: inherit;
color: inherit;
word-break: normal;
}
p {
margin: 0 0 2rem 0;
}
abbr[title],
abbr[data-original-title] {
cursor: help;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
border-bottom: 0;
}
mark {
background-color: #ff0;
color: #000;
}
ins {
background-color: #ff9;
color: #000;
text-decoration: none;
}
b,
strong {
font-weight: inherit;
}
b,
strong {
/* stylelint-disable-next-line */
font-weight: bolder;
}
dfn {
font-style: italic;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -8px;
top: -0.8rem;
}
sub {
bottom: -4px;
bottom: -0.4rem;
}
small {
font-size: 80%;
}
p:has(small) {
line-height: 1.25;
}
hr {
box-sizing: content-box;
display: block;
height: 0;
border-style: solid;
border-width: 1px 0 0;
color: inherit;
margin: 2rem 0;
padding: 0;
overflow: visible;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
}
a:hover, a:focus {
text-decoration: underline;
color: #0056b3;
}
a:not([href], [tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href], [class]),
a:not([href], [class]):hover {
color: inherit;
text-decoration: none;
}
a:not([href], [tabindex]):focus {
outline: 0;
}
:where(:focus:not(:focus-visible)) {
outline: none;
}
:where([tabindex="-1"]:focus:not(:focus-visible)) {
outline: 0 ;
}
:where(a:focus, input:focus) {
outline: 2px solid orange;
}
:where(:focus-visible) {
outline: 2px solid orange;
}
:where(button,
[type=button],
[type=reset],
[type=submit],
[type=email],
[type=number],
[type=password],
[type=tel],
[type=search],
[type=text],
[type=date],
[type=datetime-local],
[type=month],
[type=time],
[type=week],
[type=url],
[type=radio],
[type=checkbox],
input[list],
select,
textarea):focus {
outline: 0;
}
menu,
ol,
ul,
dl {
margin: 0 0 2rem 0;
padding: 0;
}
menu ul,
menu ol,
ul ul,
ul ol,
ol ol,
ol ul,
dd {
margin-bottom: 0;
}
ul,
ol {
margin-left: 2rem;
}
nav ol,
nav ul {
list-style: none;
list-style-image: none;
margin-left: 0;
}
dt {
font-weight: 700;
}
dd {
margin-left: 0;
}
nav li::before {
content: "";
position: absolute;
}
audio,
canvas,
progress,
video {
display: inline-block;
}
img,
canvas,
audio,
video,
iframe,
object,
embed {
max-width: 100%;
}
audio,
video,
canvas,
img,
svg {
vertical-align: middle;
}
img {
height: auto;
border-style: none;
}
figure {
margin: 0;
}
figure,
figcaption {
display: block;
}
figcaption {
line-height: 1.375;
font-size: 90%;
}
video {
height: auto;
}
audio {
width: 100%;
}
audio:not([controls]) {
display: none;
height: 0;
}
svg:not(:root) {
overflow: hidden;
}
svg:not([fill]) {
fill: currentColor;
}
progress,
meter {
display: inline-block;
vertical-align: baseline;
width: 100%;
max-width: 100%;
}
progress[value] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
height: 20px;
height: 2rem;
background: #ccc;
color: #007bff;
}
progress[value]::-webkit-progress-bar {
background: #ccc;
}
progress[value]::-webkit-progress-value {
background: #007bff;
}
iframe {
border-style: none;
}
address {
font-style: normal;
margin-bottom: 10px;
margin-bottom: 1rem;
line-height: inherit;
}
details > summary:first-of-type {
display: list-item;
}
summary {
cursor: pointer;
font-weight: 700;
word-break: break-all;
}
dialog {
background-color: #fff;
color: #222;
border: none;
border-radius: 0.25rem;
padding: 20px;
padding: 2rem;
height: -moz-fit-content;
height: fit-content;
min-width: 25rem;
max-width: calc(100vw - 3rem);
}
@media (min-width: 768px) {
dialog {
max-width: 50rem;
}
}
dialog[open] {
display: block ;
}
dialog::backdrop {
background: rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: no-preference) {
:root {
scroll-behavior: smooth;
}
}
table {
caption-side: bottom;
max-width: 100%;
border-collapse: collapse;
border-color: currentcolor;
text-indent: 0;
}
thead,
tbody,
tfoot,
tr,
td,
th {
border-color: inherit;
border-style: solid;
border-width: 0;
}
thead th {
vertical-align: bottom;
}
th,
td {
vertical-align: top;
}
th {
text-align: inherit;
text-align: -webkit-match-parent;
font-weight: 700;
}
caption {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
color: #999;
text-align: left;
caption-side: bottom;
line-height: 1.375;
font-size: 90%;
}
/* Accessibility
* ========================================================================== */
/**
* Change the cursor on busy elements in all browsers (opinionated).
*/
:where([aria-busy=true i]) {
cursor: progress;
}
/*
* Change the cursor on disabled, not-editable, or otherwise
* inoperable elements in all browsers (opinionated).
*/
:where([aria-disabled=true i], [disabled]) {
cursor: not-allowed;
}
/*
* Change the display on visually hidden accessible elements
* in all browsers (opinionated).
*/
:where([aria-hidden=false i][hidden]) {
display: initial;
}
:where([aria-hidden=false i][hidden]:not(:focus)) {
clip: rect(0, 0, 0, 0);
position: absolute;
}
:where(html input, button, select, optgroup, textarea) {
color: inherit;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
:where(html input,
button,
[type=radio],
[type=checkbox],
select,
optgroup,
textarea) {
margin: 0;
}
:where(html input, select, textarea, legend) {
width: 100%;
}
:where(html label,
button,
[type=image],
[type=submit],
[type=reset],
html [type=button],
[type=radio],
[type=checkbox]) {
width: auto;
}
:where(html input,
label,
select,
textarea,
button,
html [type=button],
[type=reset],
[type=submit],
output) {
display: inline-block;
}
:where([type=file]) {
display: block;
background-color: transparent;
}
:where(button, html input, select, textarea) {
background-image: none;
}
:where(input, select, textarea) {
vertical-align: baseline;
}
:where(form) {
margin: 0;
}
:where(fieldset) {
border: 0;
padding: 0;
margin: 0;
min-width: 0;
}
:where(legend) {
display: table;
max-width: 100%;
white-space: normal;
border: 0;
padding: 0;
font-weight: 400;
margin-bottom: 5px;
margin-bottom: 0.5rem;
font-size: inherit;
line-height: 1.375;
color: inherit;
}
:where(label) {
font-weight: 400;
font-size: 90%;
line-height: 1.375;
margin-bottom: 5px;
margin-bottom: 0.5rem;
}
:where(label input, label select, label textarea) {
font-size: 110%;
}
::-webkit-inner-spin-button {
height: auto;
}
::-webkit-datetime-edit-fields-wrapper,
::-webkit-datetime-edit-text,
::-webkit-datetime-edit-minute,
::-webkit-datetime-edit-hour-field,
::-webkit-datetime-edit-day-field,
::-webkit-datetime-edit-month-field,
::-webkit-datetime-edit-year-field {
padding: 0;
}
::-webkit-color-swatch-wrapper {
padding: 0;
}
:where([type=search]) {
outline-offset: -0.25rem;
}
:where(output) {
vertical-align: middle;
}
:where(button, select) {
text-transform: none;
}
:where(select) {
word-wrap: normal;
}
:where([list]):not([type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time])::-webkit-calendar-picker-indicator {
display: none ;
}
:where(optgroup) {
font-family: inherit;
font-size: inherit;
font-style: inherit;
font-weight: 600;
}
:where(button,
html [type=button],
[type=reset],
[type=submit],
[type=email],
[type=number],
[type=text],
[type=tel],
[type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=url],
[type=image],
[type=password],
[type=search],
[type=search]::-webkit-search-decoration,
[type=search]::-webkit-search-cancel-button,
input[list],
textarea) {
-webkit-appearance: none;
appearance: none;
}
::file-selector-button {
font: inherit;
-webkit-appearance: auto;
-moz-appearance: auto;
appearance: auto;
}
:where(button, input, select, textarea) {
border-radius: 0.25rem;
}
:where([type=radio]) {
border-radius: 50%;
}
:where([type=checkbox]) {
border-radius: 0.5rem;
}
:where([type=radio], [type=checkbox]) {
padding: 0;
background-color: #fff;
}
:where([type=range i]) {
background-color: transparent;
}
:where(select[size], select[multiple]) {
height: auto;
}
:where(select[multiple]) {
background-image: none;
}
:where(textarea) {
height: auto;
min-height: 60px;
min-height: 6rem;
overflow: auto;
vertical-align: top;
resize: vertical;
}
::-moz-focus-inner {
padding: 0;
border-style: none;
}
:where(button, [type=button], [type=reset], [type=submit]) {
line-height: normal;
text-align: center;
margin: 0;
background-clip: padding-box;
vertical-align: baseline;
overflow: visible;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
border: 0;
background-image: none;
}
:where(button, [type=button], [type=reset], [type=submit]):hover, :where(button, [type=button], [type=reset], [type=submit]):active, :where(button, [type=button], [type=reset], [type=submit]):focus {
text-decoration: none;
color: #222;
}
:where(button:not(:disabled),
[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled)) {
cursor: pointer;
}
:where(input::-moz-placeholder, textarea::-moz-placeholder) {
color: #666;
}
:where(input::placeholder, textarea::placeholder) {
color: #666;
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
outline: auto;
}
:-moz-ui-invalid {
box-shadow: none;
}
:where([type=email],
[type=number],
[type=password],
[type=tel],
[type=search],
[type=text],
[type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time],
[type=url],
input[list],
select,
textarea) {
background-color: #fff;
border: 1px solid #999;
padding: 0.5rem 0.75rem;
}
:where([type=email],
[type=number],
[type=password],
[type=tel],
[type=search],
[type=text],
[type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time],
[type=url],
input[list],
select,
textarea,
[type=radio],
[type=checkbox]):active, :where([type=email],
[type=number],
[type=password],
[type=tel],
[type=search],
[type=text],
[type=date],
[type=datetime-local],
[type=month],
[type=week],
[type=time],
[type=url],
input[list],
select,
textarea,
[type=radio],
[type=checkbox]):focus {
transition: border 0.2s, background-color 0.2s, box-shadow 0.2s;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
}
:where(button, [type=button], [type=reset], [type=submit]) {
color: #222;
padding: 0.6666666667rem 1.3333333333rem;
background: #ccc;
transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
:where(button, [type=button], [type=reset], [type=submit]):hover, :where(button, [type=button], [type=reset], [type=submit]):active, :where(button, [type=button], [type=reset], [type=submit]):focus {
text-decoration: none;
color: #222;
background: rgb(178.5, 178.5, 178.5);
}
:where(button, [type=button], [type=reset], [type=submit]):active, :where(button, [type=button], [type=reset], [type=submit]):focus {
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
:where(fieldset[disabled] button,
fieldset[disabled] input,
fieldset[disabled] input::after,
fieldset[disabled] input::before,
fieldset[disabled] input:checked,
fieldset[disabled] select,
fieldset[disabled] textarea,
fieldset[disabled] label,
button[disabled],
input[disabled],
input[disabled]::after,
input[disabled]::before,
input[disabled]:checked,
select[disabled],
textarea[disabled],
label[disabled],
button:disabled,
input:disabled,
input:disabled::after,
input:disabled::before,
input:disabled:checked,
select:disabled,
textarea:disabled,
label:disabled,
button[aria-disabled=true],
input[aria-disabled=true],
input[aria-disabled=true]::after,
input[aria-disabled=true]::before,
input[aria-disabled=true]:checked,
select[aria-disabled=true],
textarea[aria-disabled=true],
label[aria-disabled=true]) {
cursor: default ;
cursor: not-allowed ;
pointer-events: none ;
-webkit-user-select: none ;
-moz-user-select: none ;
user-select: none ;
box-shadow: none ;
opacity: 0.5 ;
}
:where(select):not([size], select[multiple]) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.85rem center/8px 10px;
padding-right: 2rem;
}
:where(select)::-ms-expand {
display: none;
}
:where(*[dir=rtl]) :where(select):not([size], select[multiple]),
:where(select[dir=rtl]):not([size], select[multiple]) {
background-position: left 0.85rem top 50%;
padding-right: 0.75rem;
padding-left: 2rem;
}
:where([type=checkbox], [type=radio]) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
height: 1.8rem;
width: 1.8rem;
vertical-align: top;
position: relative;
border: 1px solid/#999;
}
:where([type=checkbox], [type=radio]) + label {
line-height: 1.8rem;
vertical-align: top;
margin-left: 5px;
margin-left: 0.5rem;
}
*[dir=rtl] :where([type=checkbox], [type=radio]) + label, :where([type=checkbox], [type=radio])[dir=rtl] + label {
margin-left: 0;
margin-right: 5px;
margin-right: 0.5rem;
}
:where([type=checkbox], [type=radio])::after {
content: "";
display: block;
position: absolute;
}
:where([type=checkbox], [type=radio]):checked {
background-color: #007bff;
border-color: #000;
}
:where([type=radio])::after {
width: 1.8rem;
height: 1.8rem;
left: -0.05rem;
top: -0.05rem;
border-radius: 50%;
background: #fff;
transform: scale(0.35);
}
:where([type=checkbox])::after {
width: 0.6rem;
height: 0.8rem;
border: 2px solid/#fff;
border-top: 0;
border-left: 0;
left: 35%;
top: 20%;
transform: rotate(43deg);
}
:where([type=range]) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 100%;
height: 1.4rem;
}
:where([type=range])::-webkit-slider-thumb {
border: 0;
-webkit-appearance: none;
appearance: none;
width: 1.5rem;
height: 1.5rem;
margin-top: -0.25rem;
background-color: #007bff;
border-radius: 1.5rem;
-webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
:where([type=range])::-webkit-slider-thumb:active {
background-color: #007bff;
}
:where([type=range])::-moz-range-thumb {
border: 0;
-moz-appearance: none;
appearance: none;
width: 1.5rem;
height: 1.5rem;
background-color: #007bff;
border-radius: 1.5rem;
-moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
:where([type=range])::-moz-range-thumb:active {
background-color: #007bff;
}
:where([type=range])::-webkit-slider-runnable-track {
color: transparent;
border-color: transparent;
width: 100%;
height: 0.65rem;
cursor: pointer;
background-color: #e9e9e9;
}
:where([type=range])::-moz-range-track {
color: transparent;
border-color: transparent;
width: 100%;
height: 0.65rem;
cursor: pointer;
background-color: #e9e9e9;
}
:where([type=range]):focus {
outline: none;
}
:where([type=range]):focus::-webkit-slider-thumb {
box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
:where([type=range]):focus::-moz-slider-thumb {
box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
:where([type=range])::-moz-focus-outer {
border: 0;
}
:where([type=range]):focus::-moz-range-thumb {
box-shadow: 0 0 0 0.1rem/#fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
:where([type=range]):disabled {
pointer-events: none;
}
:where([type=range]):disabled::-webkit-slider-thumb {
background-color: #ccc;
}
:where([type=range]):disabled::-moz-slider-thumb {
background-color: #ccc;
}
.bf-container,
.bf-container--fluid {
box-sizing: border-box;
display: block;
margin-right: auto;
margin-left: auto;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.bf-container {
max-width: 114rem;
}
.bf-row {
display: flex;
flex-wrap: wrap;
margin-left: -1.5rem;
margin-right: -1.5rem;
}
[class^=bf-col-] {
position: relative;
min-height: 1px;
padding-left: 1.5rem;
padding-right: 1.5rem;
flex-grow: 0;
flex-shrink: 0;
}
.bf-no-gutters {
margin-right: 0;
margin-left: 0;
}
.bf-no-gutters > [class^=bf-col] {
padding-right: 0;
padding-left: 0;
}
.bf-col-12 {
flex-basis: 100%;
max-width: 100%;
}
.bf-col-11 {
flex-basis: 91.6667%;
max-width: 91.6667%;
}
.bf-col-10 {
flex-basis: 83.3333%;
max-width: 83.3333%;
}
.bf-col-9 {
flex-basis: 75%;
max-width: 75%;
}
.bf-col-8 {
flex-basis: 66.6667%;
max-width: 66.6667%;
}
.bf-col-7 {
flex-basis: 58.3333%;
max-width: 58.3333%;
}
.bf-col-6 {
flex-basis: 50%;
max-width: 50%;
}
.bf-col-5 {
flex-basis: 41.6667%;
max-width: 41.6667%;
}
.bf-col-4 {
flex-basis: 33.3333%;
max-width: 33.3333%;
}
.bf-col-3 {
flex-basis: 25%;
max-width: 25%;
}
.bf-col-2 {
flex-basis: 16.6667%;
max-width: 16.6667%;
}
.bf-col-1 {
flex-basis: 8.3333%;
max-width: 8.3333%;
}
@media (max-width: 575px) {
.bf-container--break-xs .bf-row {
margin-left: 0;
margin-right: 0;
}
.bf-container--break-xs [class^=bf-col] {
flex-basis: 100%;
max-width: 100%;
margin-left: 0;
padding-left: 0;
padding-right: 0;
}
}
@media (max-width: 767px) {
.bf-container--break-md .bf-row {
margin-left: 0;
margin-right: 0;
}
.bf-container--break-md [class^=bf-col] {
flex-basis: 100%;
max-width: 100%;
margin-left: 0;
padding-left: 0;
padding-right: 0;
}
}
@media (max-width: 991px) {
.bf-container--break-lg .bf-row {
margin-left: 0;
margin-right: 0;
}
.bf-container--break-lg [class^=bf-col] {
flex-basis: 100%;
max-width: 100%;
margin-left: 0;
padding-left: 0;
padding-right: 0;
}
}
table td[class^=bf-col],
table th[class^=bf-col] {
position: static;
}
.bf-clearfix::before,
.bf-clearfix::after {
content: " ";
display: table;
}
.bf-clearfix::after {
clear: both;
}
.bf-hide {
display: none ;
}
.bf-hidden {
display: none ;
visibility: hidden ;
}
.bf-text-hide {
/* stylelint-disable-next-line */
font: 0/0 a ;
color: transparent ;
text-shadow: none ;
background-color: transparent ;
border: 0 ;
margin: 0 ;
padding: 0 ;
}
/*
// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
//
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
* causes content to wrap 1 word per line:
* https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/
.bf-sr-only {
border: 0 ;
clip: rect(0, 0, 0, 0) ;
height: 1px ;
margin: -1px ;
overflow: hidden ;
padding: 0 ;
position: absolute ;
white-space: nowrap ;
width: 1px ;
}
/*
// taken from https://github.com/h5bp/html5-boilerplate/blob/v7.3.0/dist/css/main.css
//
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/
.bf-sr-only.focusable:active,
.bf-sr-only.focusable:focus {
clip: auto ;
height: auto ;
margin: 0 ;
overflow: visible ;
position: static ;
white-space: inherit ;
width: auto ;
}
.bf-invisible {
visibility: hidden ;
}
.bf-visible {
visibility: visible ;
}
.bf-display-block {
display: block ;
}
.bf-display-block-center {
display: block ;
margin-left: auto ;
margin-right: auto ;
text-align: center ;
}
.bf-display-inline {
display: inline ;
}
.bf-display-inline-block {
display: inline-block ;
}
.bf-display-flex {
display: flex ;
}
.bf-display-inline-flex {
display: inline-flex ;
}
.bf-display-flex--justify-start {
justify-content: flex-start ;
}
.bf-display-flex--justify-end {
justify-content: flex-end ;
}
.bf-display-flex--justify-center {
justify-content: center ;
}
.bf-display-flex--wrap {
flex-wrap: wrap ;
}
.bf-display-flex--nowrap {
flex-wrap: nowrap ;
}
.bf-float-left {
float: left ;
}
.bf-float-right {
float: right ;
}
.bf-position-fixed {
position: fixed ;
}
.bf-position-sticky {
position: sticky ;
top: 0 ;
}
.bf-align-center-unknown {
position: relative ;
}
.bf-align-center-unknown--item {
position: absolute ;
top: 50% ;
left: 50% ;
transform: translate(-50%, -50%) ;
}
.bf-align-center-flex {
display: flex;
align-items: center;
justify-content: center;
}
.bf-width-25 {
width: 25% ;
}
.bf-width-33 {
width: 33.3333% ;
}
.bf-width-50 {
width: 50% ;
}
.bf-width-75 {
width: 75% ;
}
.bf-width-100 {
width: 100% ;
}
.bf-width-auto {
width: auto ;
}
.bf-z-index-1 {
z-index: 1;
}
.bf-z-index-2 {
z-index: 2;
}
.bf-z-index-3 {
z-index: 3;
}
.bf-z-index-4 {
z-index: 4;
}
.bf-z-index-5 {
z-index: 5;
}
.bf-z-index-6 {
z-index: 6;
}
.bf-z-index-7 {
z-index: 7;
}
.bf-z-index-8 {
z-index: 8;
}
.bf-z-index-9 {
z-index: 9;
}
.bf-z-index-10 {
z-index: 10;
}
.bf-z-index-20 {
z-index: 20;
}
.bf-z-index-30 {
z-index: 30;
}
.bf-z-index-40 {
z-index: 40;
}
.bf-z-index-50 {
z-index: 50;
}
.bf-z-index-60 {
z-index: 60;
}
.bf-z-index-70 {
z-index: 70;
}
.bf-z-index-80 {
z-index: 80;
}
.bf-z-index-90 {
z-index: 90;
}
.bf-z-index-100 {
z-index: 100;
}
.bf-z-index-200 {
z-index: 200;
}
.bf-z-index-300 {
z-index: 200;
}
.bf-m-0 {
margin: 0 ;
}
.bf-m-t-0 {
margin-top: 0 ;
}
.bf-m-b-0 {
margin-bottom: 0 ;
}
.bf-m-l-0 {
margin-left: 0 ;
}
.bf-m-r-0 {
margin-right: 0 ;
}
.bf-m-1 {
margin-bottom: 0.5rem ;
}
.bf-m-2 {
margin-bottom: 1rem ;
}
.bf-m-3 {
margin-bottom: 2rem ;
}
.bf-m-4 {
margin-bottom: 3rem ;
}
.bf-m-t-1 {
margin-top: 0.5rem ;
}
.bf-m-t-2 {
margin-top: 1rem ;
}
.bf-m-t-3 {
margin-top: 2rem ;
}
.bf-m-t-4 {
margin-top: 3rem ;
}
.bf-m-b-1 {
margin-bottom: 0.5rem ;
}
.bf-m-b-2 {
margin-bottom: 1rem ;
}
.bf-m-b-3 {
margin-bottom: 2rem ;
}
.bf-m-b-4 {
margin-bottom: 3rem ;
}
.bf-p-0 {
padding: 0 ;
}
.bf-p-t-0 {
padding-top: 0 ;
}
.bf-p-b-0 {
padding-bottom: 0 ;
}
.bf-p-l-0 {
padding-left: 0 ;
}
.bf-p-r-0 {
padding-right: 0 ;
}
.bf-p-1 {
padding-bottom: 0.5rem ;
}
.bf-p-2 {
padding-bottom: 1rem ;
}
.bf-p-3 {
padding-bottom: 2rem ;
}
.bf-p-4 {
padding-bottom: 3rem ;
}
.bf-p-t-1 {
padding-top: 0.5rem ;
}
.bf-p-t-2 {
padding-top: 1rem ;
}
.bf-p-t-3 {
padding-top: 2rem ;
}
.bf-p-t-4 {
padding-top: 3rem ;
}
.bf-p-b-1 {
padding-bottom: 0.5rem ;
}
.bf-p-b-2 {
padding-bottom: 1rem ;
}
.bf-p-b-3 {
padding-bottom: 2rem ;
}
.bf-p-b-4 {
padding-bottom: 3rem ;
}
.bf-t-transform-uppercase {
text-transform: uppercase ;
}
.bf-t-transform-none {
text-transform: none ;
}
.bf-t-left {
text-align: left ;
}
.bf-t-center {
text-align: center ;
}
.bf-t-right {
text-align: right ;
}
.bf-t-shadow {
text-shadow: 0 0 2px #222 ;
text-shadow: 0 0 0.2rem #222 ;
}
.bf-t-italic {
font-style: italic ;
}
.bf-t-style-normal {
font-style: normal ;
}
.bf-t-weight-300 {
font-weight: 300 ;
}
.bf-t-weight-400 {
font-weight: 400 ;
}
.bf-t-weight-500 {
font-weight: 500 ;
}
.bf-t-weight-600 {
font-weight: 600 ;
}
.bf-t-weight-700 {
font-weight: 700 ;
}
.bf-t-weight-800 {
font-weight: 800 ;
}
.bf-text-break {
word-wrap: break-word ;
}
.bf-t-truncate {
max-width: 100% ;
overflow: hidden ;
text-overflow: ellipsis ;
white-space: nowrap ;
word-wrap: normal ;
}
.bf-t-truncate--multiline-2 {
overflow: hidden ;
text-overflow: ellipsis ;
display: -webkit-box ;
line-clamp: 2 ;
-webkit-line-clamp: 2 ;
-webkit-box-orient: vertical ;
}
.bf-t-truncate--multiline-3 {
overflow: hidden ;
text-overflow: ellipsis ;
display: -webkit-box ;
line-clamp: 3 ;
-webkit-line-clamp: 3 ;
-webkit-box-orient: vertical ;
}
.bf-no-select {
-webkit-user-select: none ;
-moz-user-select: none ;
user-select: none ;
-webkit-touch-callout: none ;
}
.bf-font-sans-serif {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" ;
}
.bf-font-serif {
font-family: Georgia, Times, "Times New Roman", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" ;
}
.bf-font-monospace {
font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" ;
}
.bf-h1,
.bf-h2,
.bf-h3,
.bf-h4,
.bf-h5,
.bf-h6 {
font-weight: 600 ;
margin-top: 0 ;
line-height: 1.2 ;
margin-bottom: 10px ;
margin-bottom: 1rem ;
}
.bf-h1 {
font-size: 36px ;
font-size: 3.6rem ;
}
.bf-h2 {
font-size: 30px ;
font-size: 3rem ;
}
.bf-h3 {
font-size: 24px ;
font-size: 2.4rem ;
}
.bf-h4 {
font-size: 20px ;
font-size: 2rem ;
}
.bf-h5,
.bf-h6 {
font-size: 16px ;
font-size: 1.6rem ;
}
p.bf-lead {
font-size: 120% ;
}
body.bf-responsive-typography {
--body-rt-font-size-flex: calc(1.5rem + 3 * ((100vw - 320px) / 680));
--body-rt-font-size-max: 1.8rem;
}
@media (min-width: 320px) {
body.bf-responsive-typography {
font-size: var(--body-rt-font-size-flex);
}
}
@media (min-width: 1000px) {
body.bf-responsive-typography {
font-size: var(--body-rt-font-size-max);
}
}
.bf-btn {
display: inline-block;
cursor: pointer;
color: #222;
padding: 0.6666666667rem 1.3333333333rem;
line-height: normal;
text-align: center;
margin: 0;
background-clip: padding-box;
vertical-align: baseline;
overflow: visible;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
border-radius: 0.25rem;
border: 0;
background-image: none;
background-color: #ccc;
transition: all 0.2s;
}
.bf-btn:hover, .bf-btn:active, .bf-btn:focus {
text-decoration: none;
color: #222;
background: rgb(178.5, 178.5, 178.5);
}
.bf-btn:active, .bf-btn:focus {
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.bf-btn:focus {
outline: 0;
}
.bf-btn.bf-btn--primary {
color: #fff;
background: #007bff;
}
.bf-btn.bf-btn--primary:hover, .bf-btn.bf-btn--primary:active, .bf-btn.bf-btn--primary:focus {
color: #fff;
background: rgb(0, 98.4, 204);
}
.bf-btn.bf-btn--primary:active, .bf-btn.bf-btn--primary:focus {
box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
}
fieldset[disabled] .bf-btn,
.bf-btn[disabled],
.bf-btn:disabled,
.bf-btn[aria-disabled=true] {
cursor: default ;
cursor: not-allowed ;
pointer-events: none ;
-webkit-user-select: none ;
-moz-user-select: none ;
user-select: none ;
box-shadow: none ;
opacity: 0.5 ;
background-color: #ccc;
}
.bf-focused {
transition: border 0.2s, background-color 0.2s, box-shadow 0.2s ;
border-color: #007bff ;
box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25) ;
}
.bf-disabled,
.bf-disabled:hover,
.bf-disabled:active,
.bf-disabled:focus,
.bf-disabled::after,
.bf-disabled::before,
.bf-disabled:invalid,
.bf-disabled:checked {
cursor: default ;
cursor: not-allowed ;
pointer-events: none ;
-webkit-user-select: none ;
-moz-user-select: none ;
user-select: none ;
box-shadow: none ;
opacity: 0.5 ;
background-color: #fff;
border-color: #999;
}
label.bf-disabled {
background-color: transparent;
border-color: transparent;
}
button.bf-disabled,
[type=button].bf-disabled,
[type=reset].bf-disabled,
[type=submit].bf-disabled,
.bf-btn.bf-disabled {
cursor: default;
cursor: not-allowed;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
box-shadow: none;
opacity: 0.5;
color: #222;
background: #ccc;
}
button.bf-disabled:hover, button.bf-disabled:active, button.bf-disabled:focus,
[type=button].bf-disabled:hover,
[type=button].bf-disabled:active,
[type=button].bf-disabled:focus,
[type=reset].bf-disabled:hover,
[type=reset].bf-disabled:active,
[type=reset].bf-disabled:focus,
[type=submit].bf-disabled:hover,
[type=submit].bf-disabled:active,
[type=submit].bf-disabled:focus,
.bf-btn.bf-disabled:hover,
.bf-btn.bf-disabled:active,
.bf-btn.bf-disabled:focus {
box-shadow: none;
color: #222;
background: #ccc;
}
.bf-btn--primary.bf-disabled {
cursor: default;
cursor: not-allowed;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
box-shadow: none;
opacity: 0.5;
color: #fff;
background: #007bff;
}
.bf-btn--primary.bf-disabled:hover, .bf-btn--primary.bf-disabled:active, .bf-btn--primary.bf-disabled:focus {
box-shadow: none;
color: #fff;
background: #007bff;
}
.bf-invalid,
.bf-invalid:focus {
color: #f00 ;
border-color: #f00 ;
box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.25) ;
}
.bf-list-unstyled,
menu ul.bf-list-unstyled,
menu ol.bf-list-unstyled,
ul.bf-list-unstyled ul,
ul.bf-list-unstyled ol,
ol.bf-list-unstyled ol,
ol.bf-list-unstyled ul,
dd.bf-list-unstyled {
margin: 0;
padding: 0;
list-style: none;
}
dt {
font-weight: 700;
}
.bf-embed-responsive {
position: relative;
display: block;
width: 100%;
padding: 0;
overflow: hidden;
}
.bf-embed-responsive::before {
display: block;
content: "";
padding-top: 56.25%;
}
.bf-embed-responsive .bf-embed-responsive--4-3::before {
padding-top: 75%;
}
.bf-embed-responsive .bf-embed-responsive--item, .bf-embed-responsive iframe, .bf-embed-responsive embed, .bf-embed-responsive object, .bf-embed-responsive video {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
.bf-table th,
.bf-table td {
padding: 1rem;
border-bottom: 1px solid #999;
margin-bottom: 0.5rem;
}
.bf-table-responsive {
overflow: auto hidden;
-ms-overflow-style: scrollbar;
}
.bf-table-responsive table {
width: 100%;
margin-bottom: 0.5rem;
}
.bf-table-responsive.scrollbar {
-webkit-overflow-scrolling: auto;
}
.bf-table--zebra tbody tr:nth-child(odd),
.bf-table-responsive--zebra tbody tr:nth-child(odd) {
background-color: #e9e9e9;
}
/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/* ==========================================================================
Print styles.
Inlined to avoid the additional HTTP request:
https://www.phpied.com/delay-loading-your-print-css/
========================================================================== */
@media print {
*,
*::before,
*::after {
background: #fff ;
color: #000 ;
/* Black prints faster */
box-shadow: none ;
text-shadow: none ;
}
a,
a:visited {
text-decoration: underline;
}
a[href]::after {
content: " (" attr(href) ")";
}
abbr[title]::after {
content: " (" attr(title) ")";
}
/*
* Don't show links that are fragment identifiers,
* or use the `javascript:` pseudo protocol
*/
a[href^="#"]::after,
a[href^="javascript:"]::after {
content: "";
}
pre {
white-space: pre-wrap ;
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
tr,
img {
page-break-inside: avoid;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
@media print {
body,
.bf-container {
min-width: 992px ;
}
.bf-table-responsive {
overflow: auto;
}
.bf-table-responsive table {
width: auto;
}
.bf-table-responsive table,
.bf-table {
border-collapse: collapse ;
}
}
@media (prefers-reduced-motion: reduce) {
.bf-reduced-motion,
.bf-reduced-motion::before,
.bf-reduced-motion::after,
.bf-reduced-motion *,
.bf-reduced-motion *::before,
.bf-reduced-motion *::after {
animation-delay: -1ms ;
animation-duration: 1ms ;
animation-iteration-count: 1 ;
background-attachment: initial ;
scroll-behavior: auto ;
transition-delay: 0s ;
transition-duration: 0s ;
}
}
/*# sourceMappingURL=bullframe.css.map */