Advertisement
Guest User

Untitled

a guest
May 24th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. .df-style-breakingnews--black {
  2. &[class*=df-fs],
  3. [class*=df-fs] {
  4. &::before { border-color: var(--swatch-highlights-black) }
  5. &::after { background-color: var(--swatch-highlights-black) }
  6. }
  7. }
  8.  
  9. .df-style-breakingnews--white {
  10. &[class*=df-fs],
  11. [class*=df-fs] {
  12. &::before { border-color: var(--swatch-highlights-white) }
  13. &::after { background-color: var(--swatch-highlights-white) }
  14. }
  15. }
  16.  
  17. .df-style-breakingnews--red {
  18. &[class*=df-fs],
  19. [class*=df-fs] {
  20. &::before { border-color: var(--swatch-highlights-red) }
  21. &::after { background-color: var(--swatch-highlights-red) }
  22. }
  23. }
  24.  
  25. .df-style-breakingnews--black,
  26. .df-style-breakingnews--white,
  27. .df-style-breakingnews--red {
  28. &[class*=df-fs],
  29. [class*=df-fs] {
  30. position: relative;
  31. text-indent: 1em;
  32. display: block;
  33. &::before, &::after {
  34. content: '';
  35. border-radius: 100%;
  36. display: inline-block;
  37. animation: pulse 2s infinite cubic-bezier(0, 0.5, 0.5, 1); /* cubic-bezier(0.6, 0, 0, 1); */
  38. position: absolute;
  39. }
  40. &::before {
  41. top: 0;
  42. left: 0;
  43. width: .9em;
  44. height: .9em;
  45. border-width: .2em;
  46. border-style: solid;
  47. animation-delay: .15s
  48. }
  49. &::after {
  50. width: .2em;
  51. height: .2em;
  52. left: .35em;
  53. top: .35em;
  54. }
  55. }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement