Files
integreat/resources/sass/bulma.scss

197 lines
4.9 KiB
SCSS

/* latin */
@font-face {
font-family: 'Calibri';
font-style: italic;
font-weight: 400;
src: local('Calibri Italic'), local('Calibri-Italic'), url(https://fonts.gstatic.com/l/font?kit=J7adnpV-BGlaFfdAhLQo6btPMDoTpA&skey=36a3d5758e0e2f58&v=v10) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
font-family: 'Calibri';
font-style: italic;
font-weight: 700;
src: local('Calibri Bold Italic'), local('Calibri-BoldItalic'), url(https://fonts.gstatic.com/l/font?kit=J7aYnpV-BGlaFfdAhLQgUp5aHRgejiMIKQ&skey=8b00183e5f6700b6&v=v10) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
font-family: 'Calibri';
font-style: normal;
font-weight: 400;
src: local('Calibri'), url(https://fonts.gstatic.com/l/font?kit=J7afnpV-BGlaFfdAhLEY67FIEjg&skey=a1029226f80653a8&v=v10) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
font-family: 'Calibri';
font-style: normal;
font-weight: 700;
src: local('Calibri Bold'), local('Calibri-Bold'), url(https://fonts.gstatic.com/l/font?kit=J7aanpV-BGlaFfdAjAo9_pxqHxIZrCE&skey=cd2dd6afe6bf0eb2&v=v10) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
$family-sans-serif: "Calibri", sans-serif;
$family-primary: "Calibri", sans-serif;
$primary:#79b52e;
$info: #009cea;
$link: #009cea;
$grey: #adafb1;
$success: #209b1c;
$danger: #ff0303;
$warning: #f48017;
$custom-colors: ("primary-two": (#209b1c));
$link-active: $link;
// Set your brand colors
// Update Bulma's global variables
$family-sans-serif: "Nunito", sans-serif;
$widescreen-enabled: false;
$fullhd-enabled: false;
@import "../bulma-0.9.0/bulma.sass";
@import "./bulma-switch.sass";
@import "./tooltip/index.sass";
.loader.big {
height: 150px !important;
width: 150px !important;
border: 4px solid $primary;
border-right-color: transparent;
border-top-color: transparent;
}
.loader.is-table-loader {
height: 30px !important;
width: 30px !important;
border: 2px solid $primary;
border-right-color: transparent;
border-top-color: transparent;
}
.typeahead-menu {
z-index: 10000;
min-width: 200px;
padding: 5px 0;
margin: 2px 0 0;
list-style: none;
font-size: 14px;
text-align: left;
background-color: $white;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
/* background-clip: padding-box; */
}
.modal-card {
overflow: auto;
}
.typeahead-suggestion {
display: block;
overflow: visible;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
.typeahead-suggestion:hover,
.typeahead-suggestion:focus,
.typeahead-menu:not(:hover) .typeahead-highlighted
{
color: $white;
text-decoration: none;
outline: 0;
background-color: $primary;
cursor: pointer;
}
.badge[data-badge]::after {
background: $info !important;
}
.button {
font-weight: 500;
}
@keyframes flashWarning {
from {
background-color: $warning;
}
to {
background-color: inherit;
}
}
@keyframes flashPrimary {
from {
background-color: $primary;
}
to {
background-color: inherit;
}
}
tbody tr.live-removed {
animation: flashWarning 1.0s ease both;
animation-fill-mode: forwards;
}
tbody tr.live-added {
animation: flashPrimary 1.0s ease both;
animation-fill-mode: forwards;
}
.button.is-primary, .button.is-secondary, .button.is-success, .button.is-info, .button.is-danger, .button.is-warning, .button.is-primary-two {
font-weight: 800;
}
.button.is-outlined {
border-width: 2.5px;
}
// For autocompletejs on non-react views
.autocomplete-suggestion {
display: block;
overflow: visible;
padding: 3px 20px;
clear: both;
font-weight: normal;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
.autocomplete-suggestion.highlighted, .autocomplete-suggestion:hover {
color: $white;
text-decoration: none;
outline: 0;
background-color: $primary;
cursor: pointer;
}
.htmx-indicator.button {
opacity: 1.0 !important
}
.htmx-request .button.htmx-indicator {
@extend .is-loading
}
.htmx-request.button.htmx-indicator {
@extend .is-loading
}