ExecutionsTimeline.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. Copyright (C) 2017 Cloudbase Solutions SRL
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU Affero General Public License as
  5. published by the Free Software Foundation, either version 3 of the
  6. License, or (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Affero General Public License for more details.
  11. You should have received a copy of the GNU Affero General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. @import '../variables.scss';
  15. .root {
  16. position: relative;
  17. padding: 8px 0 40px;
  18. .line {
  19. background-color: $execution-line-color;
  20. height: 2px;
  21. width: 100%;
  22. position: absolute;
  23. .progress {
  24. color: $blue;
  25. height: 2px;
  26. width: 0px;
  27. }
  28. }
  29. .executionDot {
  30. position: absolute;
  31. width: 88px;
  32. margin-left: -44px;
  33. margin-top: -8px;
  34. text-align: center;
  35. transition: all 0.3s ease-out;
  36. cursor: pointer;
  37. :global(.taskIcon) {
  38. float: none;
  39. margin: 0 auto;
  40. transition: transform $animation-swift-out;
  41. }
  42. &.current {
  43. font-weight: 500;
  44. :global(.taskIcon) {
  45. width: 20px;
  46. height: 20px;
  47. background-size: cover;
  48. }
  49. }
  50. &:hover {
  51. :global(.taskIcon) {
  52. transform: scale(1.2);
  53. }
  54. &.current {
  55. :global(.taskIcon) {
  56. transform: scale(1);
  57. }
  58. }
  59. }
  60. }
  61. .caretLeft {
  62. position: absolute;
  63. cursor: pointer;
  64. top: -12px;
  65. left: -24px;
  66. opacity: 0;
  67. transition: opacity $animation-swift-out;
  68. padding: 8px;
  69. }
  70. .caretRight {
  71. position: absolute;
  72. cursor: pointer;
  73. top: -12px;
  74. right: -24px;
  75. opacity: 0;
  76. transition: all $animation-swift-out;
  77. padding: 8px;
  78. transform: rotate(180deg);
  79. }
  80. &:hover {
  81. .caretLeft {
  82. opacity: 1;
  83. }
  84. .caretRight {
  85. opacity: 1;
  86. }
  87. }
  88. }