diff --git a/app/templates/orbit_bootstrap/assets/stylesheets/template/modules/calendar.scss b/app/templates/orbit_bootstrap/assets/stylesheets/template/modules/calendar.scss index 8e2e8f4..1d83c9f 100644 --- a/app/templates/orbit_bootstrap/assets/stylesheets/template/modules/calendar.scss +++ b/app/templates/orbit_bootstrap/assets/stylesheets/template/modules/calendar.scss @@ -23,6 +23,13 @@ text-align: center; font-size: 0.8125rem; } + .loading { + &:after { + content: '\f1ce'; + font-family: FontAwesome; + animation: 2s linear 0s normal none infinite running fa-spin; + } + } } .w-calendar-table { margin-bottom: 0; @@ -34,6 +41,7 @@ background: $theme-color-third; color: $theme-white; } + } .w-calendar-nav { @@ -47,4 +55,12 @@ left: auto; right: 10px; } +} +@keyframes fa-spin { +0% { + transform: rotate(0deg); +} +100% { + transform: rotate(359deg); +} } \ No newline at end of file diff --git a/app/templates/orbit_bootstrap/modules/calendar/_calendar_widget1.html.erb b/app/templates/orbit_bootstrap/modules/calendar/_calendar_widget1.html.erb index ae4f5df..c3aa11c 100644 --- a/app/templates/orbit_bootstrap/modules/calendar/_calendar_widget1.html.erb +++ b/app/templates/orbit_bootstrap/modules/calendar/_calendar_widget1.html.erb @@ -1,6 +1,9 @@ -