diff --git a/app/assets/stylesheets/global_activities.scss b/app/assets/stylesheets/global_activities.scss index 4bebfbf7b..e6a949b3b 100644 --- a/app/assets/stylesheets/global_activities.scss +++ b/app/assets/stylesheets/global_activities.scss @@ -51,6 +51,7 @@ } .ga-search-container { + display: none; flex-grow: 1; max-width: 500px; position: relative; @@ -174,9 +175,15 @@ flex-grow: 5; height: 100%; overflow: hidden; - padding-top: 10px; position: relative; + .activities-container { + height: 100%; + padding-top: 10px; + position: absolute; + width: 100%; + } + .ga-activities-list { .activities-day { @@ -303,9 +310,15 @@ height: 100%; margin-right: -15px; overflow: hidden; - padding: 15px 20px; position: relative; + .filters-container { + height: 100%; + margin-bottom: 60px; + padding: 15px 20px; + position: absolute; + } + .filter-block { display: inline-block; width: 100%; @@ -340,6 +353,10 @@ display: none; } } + + &.report-block { + margin-bottom: 60px; + } } .date-selector { @@ -436,12 +453,27 @@ .datetime-picker-container { position: relative; - input { + .fa-calendar-alt { + color: $color-silver-chalice; + font-size: 18px; + line-height: 34px; + position: absolute; + right: 0; + text-align: center; + top: 0; + width: 34px; + } + + .calendar-input { background-color: transparent !important; box-shadow: none; color: inherit; + cursor: pointer; font-size: 13px; padding-left: 5px; + padding-right: 34px; + position: relative; + z-index: 3; &::placeholder { color: $color-silver-chalice; diff --git a/app/views/global_activities/_date_picker.html.erb b/app/views/global_activities/_date_picker.html.erb index ea761f5f8..b77add78a 100644 --- a/app/views/global_activities/_date_picker.html.erb +++ b/app/views/global_activities/_date_picker.html.erb @@ -2,7 +2,8 @@ <% if label %> <% end %> - + + <% js_format = I18n.backend.date_format.dup js_format.gsub!(/%-d/, 'D') diff --git a/app/views/global_activities/_side_filters.html.erb b/app/views/global_activities/_side_filters.html.erb index 15ce0f9a7..130716fc5 100644 --- a/app/views/global_activities/_side_filters.html.erb +++ b/app/views/global_activities/_side_filters.html.erb @@ -121,7 +121,7 @@ -