_view_states.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. @mixin hide-controls() {
  2. .add-row-panel-hint,
  3. .dash-row-menu-container {
  4. display: none;
  5. }
  6. .resize-panel-handle,
  7. .panel-drop-zone {
  8. visibility: hidden;
  9. }
  10. }
  11. .hide-controls {
  12. @include hide-controls();
  13. }
  14. .page-kiosk-mode {
  15. @include hide-controls();
  16. dashnav {
  17. display: none;
  18. }
  19. }
  20. .playlist-active,
  21. .user-activity-low {
  22. .add-row-panel-hint,
  23. .dash-row-menu-container,
  24. .resize-panel-handle,
  25. .panel-drop-zone
  26. .dashnav-refresh-action,
  27. .dashnav-zoom-out,
  28. .panel-menu-container,
  29. .dashnav-action-icons,
  30. .panel-info-corner--info,
  31. .panel-info-corner--links,
  32. .dashnav-move-timeframe {
  33. opacity: 0;
  34. transition: all 1.5s ease-in-out 1s;
  35. }
  36. // navbar buttons
  37. .navbar-brand-btn,
  38. .navbar-inner {
  39. border-color: transparent;
  40. background: transparent;
  41. transition: all 1.5s ease-in-out 1s;
  42. .fa {
  43. opacity: 0;
  44. transition: all 1.5s ease-in-out 1s;
  45. }
  46. }
  47. .navbar-page-btn {
  48. border-color: transparent;
  49. background: transparent;
  50. transform: translate3d(-50px, 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. }