/* Styles for the top bar */

/* The box that holds the button and input */
#formbox {
  padding: 0;
  display: block;
  overflow: hidden;

  /* Position */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;

  /* Appearance */
  box-shadow: 0 4px 4px -2px #ccc;
}

/* The buttons */
#formbox button {
  /* Color */
  background-color: rgba(255, 255, 255, 0.6);

  /* Border */
  outline: none;

  /* Other */
  padding: 5px 7px;
  margin: 0;
  font-size: 18px;
  float: right;
  height: 33px;
  min-width: 33px;
}
i.icon.ion-refresh {
  display: block;
  transition: all 0.8s ease-in-out;
}
i.icon:hover.ion-refresh {
  transform: rotate(360deg);
}

/* To create lines between elements, everything has a right border besides the last element */
#formbox > * {
  border: none;
  border-right: 1px solid #ccc;
}

#formbox > *:first-child { /* first-child is last because 'float:right;' changes order */
  border-right: none;
  padding: 5px 10px;
}

/* Styles for the top bar */

/* The box that holds the button and input */
#formbox {
  padding: 0;
  display: block;
  overflow: hidden;

  /* Position */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;

  /* Appearance */
  box-shadow: 0 4px 4px -2px #ccc;
}

/* The buttons */
#formbox button {
  /* Color */
  background-color: rgba(255, 255, 255, 0.6);

  /* Border */
  outline: none;

  /* Other */
  padding: 5px 7px;
  margin: 0;
  font-size: 18px;
  float: right;
  height: 33px;
  min-width: 33px;
}
i.icon.ion-refresh {
  display: block;
  transition: all 0.8s ease-in-out;
}
i.icon:hover.ion-refresh {
  transform: rotate(360deg);
}
i.icon.ion-refresh:before {
  position: relative;
  left: 2px;
}

/* To create lines between elements, everything has a right border besides the last element */
#formbox > * {
  border: none;
  border-right: 1px solid #ccc;
}

#formbox > *:first-child { /* first-child is last because 'float:right;' changes order */
  border-right: none;
  padding: 5px 10px;
}

Fix rotation center of spinning icon
Fix rotation center of spinning icon
