mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-30 18:58:39 -04:00
* Replace bootstrap datepicker with native HTML5 date inputs Convert planting and seed date text fields to native HTML5 date fields (`f.date_field`), matching existing date inputs across the app. Remove bootstrap-datepicker JS/CSS imports, legacy site wrapper scripts, package dependency, and update test specs. Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com> * Fix spec * Fix spec * Fix spec * Drop expectations about removed control * Fix specs --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
65 lines
1.6 KiB
SCSS
65 lines
1.6 KiB
SCSS
// Import original variables so they can be used in overrides
|
|
|
|
@import "variables";
|
|
@import "bootstrap/scss/bootstrap";
|
|
|
|
@import "jquery-ui/themes/base/core";
|
|
@import "jquery-ui/themes/base/menu";
|
|
@import "jquery-ui/themes/base/autocomplete";
|
|
@import "leaflet/dist/leaflet";
|
|
@import "leaflet.markercluster/dist/MarkerCluster";
|
|
@import "leaflet.markercluster/dist/MarkerCluster.Default";
|
|
|
|
// Font Awesome. `yarn build:css` copies its webfonts next to the built CSS.
|
|
$fa-font-path: "webfonts";
|
|
@import "@fortawesome/fontawesome-free/scss/fontawesome";
|
|
@import "@fortawesome/fontawesome-free/scss/solid";
|
|
@import "@fortawesome/fontawesome-free/scss/regular";
|
|
@import "@fortawesome/fontawesome-free/scss/brands";
|
|
|
|
// Selects for rails date/time fields (bootstrap_form) sit inline.
|
|
.rails-bootstrap-forms-date-select select,
|
|
.rails-bootstrap-forms-time-select select,
|
|
.rails-bootstrap-forms-datetime-select select {
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
|
|
.rails-bootstrap-forms-error-summary {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
@import "overrides";
|
|
@import "navbar_drawer";
|
|
@import "mobile";
|
|
|
|
@import "crops";
|
|
@import "harvests";
|
|
@import "likes";
|
|
@import "members";
|
|
@import "notifications";
|
|
@import "actions_menu";
|
|
@import "record_page";
|
|
@import "plantings";
|
|
@import "crop_picker";
|
|
@import "garden_cards";
|
|
@import "gardens_page";
|
|
@import "sowing";
|
|
@import "garden_layout";
|
|
@import "inactive_gardens";
|
|
@import "photos";
|
|
@import "posts";
|
|
@import "seeds";
|
|
|
|
@import "predictions";
|
|
@import "homepage";
|
|
@import "home_dashboard";
|
|
@import "member_cards";
|
|
@import "neighbours";
|
|
@import "jobs";
|
|
@import "maps";
|
|
|
|
@view-transition {
|
|
navigation: auto;
|
|
}
|