mybuddy/babybuddy/static_src/scss/global.scss

38 lines
762 B
SCSS
Raw Normal View History

@use 'sass:map';
2017-10-22 18:00:42 +00:00
// Baby Buddy site-wide custom styles.
// Remove extra margin below site breadcrumb.
.breadcrumb {
margin-bottom: 0;
}
// Extra-small button.
.btn-xs {
@include button-size(.2rem, .12rem, .75rem, .2rem);
}
// Right align main dropdown menu.
.dropdown-menu-right {
right: 0;
left: auto; // Reset the default from `.dropdown-menu`
}
2020-02-04 18:52:05 +00:00
// PullToRefresh elements.
.ptr--ptr {
background: map.get($theme-colors, 'dark');
2020-02-04 18:52:05 +00:00
.ptr--text, .ptr--icon {
// "!important" must be used to override inline styling from JS.
color: map.get($theme-colors, 'light') !important;
}
}
// Larger icon variant.
.icon-2x {
font-size: 1.65em;
}
2022-02-27 01:19:19 +00:00
// All modals
.modal-content {
color: map.get($theme-colors, 'dark');
2022-02-27 01:19:19 +00:00
}