178 lines
3.6 KiB
SCSS
178 lines
3.6 KiB
SCSS
/* Fonts */
|
|
@import "fonts";
|
|
|
|
/* Load Bootstrap v5 and customizations */
|
|
@import "bs-load";
|
|
|
|
/*SVG ICON SYSTEM*/
|
|
@import "svg-icons";
|
|
|
|
/* LiveView specific CSS */
|
|
@import "phx-liveview";
|
|
|
|
/* Navbar toggler icon override */
|
|
@import "nav-burger";
|
|
|
|
/* extra */
|
|
.was-validated .no-valid-style .form-check-input:valid,
|
|
.form-check-input.is-valid {
|
|
border-color: inherit !important;
|
|
}
|
|
.was-validated .no-valid-style .form-check-input:valid ~ .form-check-label,
|
|
.no-valid-style .form-check-input.is-valid ~ .form-check-label {
|
|
color: inherit !important;
|
|
}
|
|
.table-nonfluid {
|
|
width: auto !important;
|
|
}
|
|
.cursor-pointer {
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
/*
|
|
icons in input fields
|
|
*/
|
|
/* enable absolute positioning */
|
|
.inner-addon {
|
|
position: relative;
|
|
}
|
|
|
|
/* style icon */
|
|
.inner-addon > .icon {
|
|
position: absolute;
|
|
padding: 0.5625rem 0.5rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* align icon */
|
|
.inner-addon > .icon.is-left {
|
|
left: 0px;
|
|
}
|
|
.inner-addon > .icon.is-right {
|
|
right: 0px;
|
|
}
|
|
|
|
/* add padding */
|
|
.left-addon input,
|
|
.left-addon select {
|
|
padding-left: 2rem;
|
|
}
|
|
.right-addon input,
|
|
.right-addon select {
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
/* calendar table rounded */
|
|
table.table.table-calendar thead tr th,
|
|
table.table.table-calendar tbody tr td {
|
|
width: 14%;
|
|
}
|
|
table.table.table-calendar tbody tr td {
|
|
font-size: $font-size-sm;
|
|
height: 3.5rem;
|
|
padding: 0.2rem 0.4rem;
|
|
@include media-breakpoint-up(md) {
|
|
height: 4.5rem;
|
|
padding: 0.2rem 0.5rem;
|
|
}
|
|
@include media-breakpoint-up(lg) {
|
|
font-size: $font-size-base;
|
|
height: 5.5rem;
|
|
padding: 0.3rem 0.5rem;
|
|
}
|
|
@include media-breakpoint-up(xl) {
|
|
height: 6.5rem;
|
|
padding: 0.35rem 0.5rem;
|
|
}
|
|
@include media-breakpoint-up(xxl) {
|
|
height: 7.5rem;
|
|
padding: 0.4rem 0.75rem;
|
|
}
|
|
}
|
|
|
|
table.table.table-rounded {
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
border-style: hidden;
|
|
border-top-left-radius: $border-radius;
|
|
border-top-right-radius: $border-radius;
|
|
border-bottom-left-radius: $border-radius;
|
|
border-bottom-right-radius: $border-radius;
|
|
thead {
|
|
tr {
|
|
th {
|
|
border-top: 1px solid $table-border-color;
|
|
border-right: 1px solid $table-border-color;
|
|
border-bottom: 2px solid $black !important;
|
|
border-left: none;
|
|
&:first-child {
|
|
border-top-left-radius: $border-radius;
|
|
border-left: 1px solid $table-border-color;
|
|
}
|
|
&:last-child {
|
|
border-top-right-radius: $border-radius;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
tbody {
|
|
tr {
|
|
td {
|
|
border-top: none;
|
|
border-right: 1px solid $table-border-color;
|
|
border-bottom: 1px solid $table-border-color !important;
|
|
border-left: none;
|
|
&:first-child {
|
|
border-left: 1px solid $table-border-color;
|
|
}
|
|
}
|
|
&:last-child {
|
|
td:first-child {
|
|
border-bottom-left-radius: $border-radius;
|
|
}
|
|
td:last-child {
|
|
border-bottom-right-radius: $border-radius;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
/* selected days background triangle color */
|
|
.bg-triangle-primary {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
$primary 0%,
|
|
$primary 50%,
|
|
$secondary 50%,
|
|
$secondary 100%
|
|
);
|
|
}
|
|
.bg-triangle-info {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
$info 0%,
|
|
$info 50%,
|
|
$secondary 50%,
|
|
$secondary 100%
|
|
);
|
|
}
|
|
.bg-triangle-light {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
$light 0%,
|
|
$light 50%,
|
|
$secondary 50%,
|
|
$secondary 100%
|
|
);
|
|
}
|
|
.bg-triangle-white {
|
|
background: linear-gradient(
|
|
to bottom right,
|
|
$white 0%,
|
|
$white 50%,
|
|
$secondary 50%,
|
|
$secondary 100%
|
|
);
|
|
}
|