schedule.styl 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. @keyframes dot-flash {
  2. from {
  3. opacity: 1;
  4. transform: scale(1);
  5. }
  6. to {
  7. opacity: 0;
  8. transform: scale(.8);
  9. }
  10. }
  11. .event-list {
  12. padding: 0;
  13. hr {
  14. background: $black-deep;
  15. margin: 20px 0 45px 0;
  16. &::after {
  17. background: $black-deep;
  18. color: white;
  19. content: 'NOW';
  20. display: inline-block;
  21. font-weight: bold;
  22. padding: 0 5px;
  23. text-align: right;
  24. }
  25. }
  26. .event {
  27. background: $black-deep;
  28. margin: 20px 0;
  29. min-height: 40px;
  30. padding: 15px 0 15px 10px;
  31. .event-summary {
  32. color: white;
  33. margin: 0;
  34. padding-bottom: 3px;
  35. &::before {
  36. animation: dot-flash 1s alternate infinite ease-in-out;
  37. color: white;
  38. content: '\f111';
  39. display: inline-block;
  40. font-size: 10px;
  41. margin-right: 25px;
  42. vertical-align: middle;
  43. font-family-icons();
  44. }
  45. }
  46. .event-relative-time {
  47. color: $grey;
  48. display: inline-block;
  49. font-size: 12px;
  50. font-weight: normal;
  51. padding-left: 12px;
  52. }
  53. .event-details {
  54. color: white;
  55. display: block;
  56. line-height: 18px;
  57. margin-left: 56px;
  58. padding-bottom: 6px;
  59. padding-top: 3px;
  60. text-indent: -24px;
  61. &::before {
  62. color: white;
  63. display: inline-block;
  64. margin-right: 9px;
  65. text-align: center;
  66. text-indent: 0;
  67. width: 14px;
  68. font-family-icons();
  69. }
  70. &.event-location::before {
  71. content: '\f041';
  72. }
  73. &.event-duration::before {
  74. content: '\f017';
  75. }
  76. }
  77. }
  78. .event-past {
  79. background: $whitesmoke;
  80. .event-summary, .event-details {
  81. color: $grey;
  82. opacity: .9;
  83. &::before {
  84. animation: none;
  85. color: $grey;
  86. }
  87. }
  88. }
  89. }