_view_states.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. @mixin hide-controls() {
  2. .add-row-panel-hint,
  3. .dash-row-menu-container {
  4. display: none;
  5. }
  6. .panel-drop-zone {
  7. visibility: hidden;
  8. }
  9. }
  10. .hide-controls {
  11. @include hide-controls();
  12. }
  13. .page-kiosk-mode {
  14. @include hide-controls();
  15. dashnav {
  16. display: none;
  17. }
  18. }
  19. .playlist-active,
  20. .user-activity-low {
  21. .add-row-panel-hint,
  22. .dash-row-menu-container,
  23. .panel-drop-zone
  24. .dashnav-refresh-action,
  25. .dashnav-zoom-out,
  26. .panel-menu-container,
  27. .dashnav-action-icons,
  28. .panel-info-corner--info,
  29. .panel-info-corner--links,
  30. .dashnav-move-timeframe {
  31. opacity: 0;
  32. transition: all 1.5s ease-in-out 1s;
  33. }
  34. // navbar buttons
  35. .navbar {
  36. border-color: transparent;
  37. background: transparent;
  38. transition: all 1.5s ease-in-out 1s;
  39. .fa {
  40. opacity: 0;
  41. transition: all 1.5s ease-in-out 1s;
  42. }
  43. }
  44. .navbar {
  45. box-shadow: none;
  46. }
  47. .navbar-page-btn {
  48. border-color: transparent;
  49. background: transparent;
  50. transform: translate3d(-40px, 0, 0);
  51. transition: all 1.5s ease-in-out 1s;
  52. .icon-gf {
  53. opacity: 0;
  54. transition: all 1.5s ease-in-out 1s;
  55. }
  56. }
  57. .gf-timepicker-nav-btn {
  58. transform: translate3d(40px, 0, 0);
  59. transition: transform 1.5s ease-in-out 1s;
  60. }
  61. }
  62. .playlist-active {
  63. .dash-playlist-actions {
  64. .fa {
  65. opacity: 1;
  66. color: $text-color-faint !important;
  67. }
  68. }
  69. }