2017-10-22 18:00:42 +00:00
|
|
|
// Baby Buddy site-wide custom styles.
|
2017-10-11 17:54:04 +00:00
|
|
|
|
2017-12-06 18:01:41 +00:00
|
|
|
// Remove extra margin below site breadcrumb.
|
|
|
|
.breadcrumb {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-05 15:29:14 +00:00
|
|
|
// Extra-small button.
|
|
|
|
.btn-xs {
|
|
|
|
@include button-size(.2rem, .12rem, .75rem, 1, .2rem);
|
|
|
|
}
|
|
|
|
|
2020-01-26 17:26:54 +00:00
|
|
|
// Right align main dropdown menu.
|
2017-12-05 15:29:14 +00:00
|
|
|
.dropdown-menu-right {
|
|
|
|
right: 0;
|
|
|
|
left: auto; // Reset the default from `.dropdown-menu`
|
|
|
|
}
|
|
|
|
|
2017-10-31 19:15:02 +00:00
|
|
|
// BB form fields do not follow typical BS4 style that enables this display.
|
|
|
|
.invalid-feedback {
|
|
|
|
display: block;
|
2017-11-01 16:42:41 +00:00
|
|
|
}
|
2018-02-17 22:24:41 +00:00
|
|
|
|
|
|
|
// Disable hover effect on buttons (used for checkbox buttons).
|
2018-02-18 10:01:55 +00:00
|
|
|
.btn-no-hover {
|
|
|
|
&:hover {
|
|
|
|
color: inherit;
|
|
|
|
background-color: inherit;
|
|
|
|
border-color: inherit;
|
|
|
|
}
|
2018-02-17 22:24:41 +00:00
|
|
|
}
|
2020-01-26 17:26:54 +00:00
|
|
|
|
2021-01-18 20:47:26 +00:00
|
|
|
.boolean-label {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2020-01-26 17:26:54 +00:00
|
|
|
// Set default text color for datetime picker.
|
|
|
|
.bootstrap-datetimepicker-widget {
|
|
|
|
color: $gray-400;
|
|
|
|
}
|
2020-01-28 04:40:52 +00:00
|
|
|
|
2020-01-28 05:03:55 +00:00
|
|
|
// Datetime picker input styles.
|
|
|
|
.input-group {
|
|
|
|
&.datetimepicker {
|
|
|
|
|
|
|
|
// Make calendar icon large and use the primary theme color.
|
|
|
|
.input-group-text {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
color: theme-color('primary');
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Style readonly input to look less like an input element.
|
|
|
|
.datetimepicker-input {
|
|
|
|
&[readonly] {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
color: $white;
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-04 18:52:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// PullToRefresh elements.
|
|
|
|
.ptr--ptr {
|
|
|
|
background: theme-color('dark');
|
|
|
|
.ptr--text, .ptr--icon {
|
|
|
|
// "!important" must be used to override inline styling from JS.
|
|
|
|
color: theme-color('light') !important;
|
|
|
|
}
|
|
|
|
}
|
2020-02-15 05:26:25 +00:00
|
|
|
|
|
|
|
// Basic table of model instances.
|
|
|
|
.table-instances {
|
|
|
|
tr {
|
|
|
|
td, th {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.odd {
|
|
|
|
background: $table-accent-bg;
|
|
|
|
}
|
|
|
|
&.even {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
&.row-details {
|
|
|
|
td {
|
|
|
|
color: $gray-500;
|
|
|
|
padding-top: 0;
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|