shift73k/assets/css/app.scss

75 lines
1.3 KiB
SCSS
Raw Permalink Normal View History

/* Fonts */
@import "fonts";
2021-02-25 16:39:03 -05:00
/* Load Bootstrap v5 and customizations */
@import "bs-load";
2020-09-12 18:43:17 -04:00
/* LiveView specific CSS */
@import "phx-liveview";
2020-09-12 18:43:17 -04:00
/* Navbar toggler icon override */
@import "nav-burger";
2021-03-03 08:15:14 -05:00
2021-03-16 11:03:44 -04:00
/* Shift73k shift-assign calendar styling */
@import "s73k-calendar";
2021-03-03 08:15:14 -05:00
/* 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;
}
2021-03-03 10:16:11 -05:00
.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.25rem 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;
}
.shift-description p:last-child {
margin-bottom: 0;
}
/*
fix readonly form background
*/
.form-control[readonly] {
background-color: $input-disabled-bg;
}