tour.theme.css

Styles for Tour theme.

File

core/themes/seven/css/components/tour.theme.css

View source
  1. /**
  2. * @file
  3. * Styles for Tour theme.
  4. */
  5. /* Default styles for the container */
  6. .shepherd-element {
  7. color: #fff;
  8. border-radius: 5px;
  9. background-color: #000;
  10. background-color: rgba(0, 0, 0, 0.8);
  11. }
  12. .shepherd-element:focus {
  13. outline: none;
  14. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
  15. }
  16. /* Mobile */
  17. @media only screen and (max-width: 767px) {
  18. .shepherd-element {
  19. border-radius: 0;
  20. }
  21. }
  22. .shepherd-arrow:before {
  23. background: none;
  24. }
  25. /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */
  26. .shepherd-arrow {
  27. border: solid 14px rgba(0, 0, 0, 0.8);
  28. }
  29. .shepherd-element[data-popper-placement^=top] > .shepherd-arrow {
  30. bottom: -28px;
  31. border-right-color: transparent;
  32. border-bottom-color: transparent;
  33. border-left-color: transparent;
  34. }
  35. .shepherd-element[data-popper-placement^=bottom] > .shepherd-arrow {
  36. top: -28px;
  37. border-top-color: transparent;
  38. border-right-color: transparent;
  39. border-left-color: transparent;
  40. }
  41. .shepherd-element[data-popper-placement^=left] > .shepherd-arrow {
  42. right: -28px;
  43. border-top-color: transparent;
  44. border-right-color: transparent; /* LTR */
  45. border-bottom-color: transparent;
  46. }
  47. .shepherd-element[data-popper-placement^=right] > .shepherd-arrow {
  48. left: -28px;
  49. border-top-color: transparent;
  50. border-bottom-color: transparent;
  51. border-left-color: transparent; /* LTR */
  52. }
  53. .shepherd-text p {
  54. line-height: 1.385em;
  55. }
  56. .shepherd-text a {
  57. color: #fff;
  58. }
  59. .shepherd-cancel-icon {
  60. color: #fff;
  61. font-family: "Open Sans", Verdana, sans-serif;
  62. font-size: 1.4em;
  63. font-weight: bold;
  64. }
  65. .shepherd-cancel-icon:hover {
  66. color: rgba(255, 255, 255, 0.8);
  67. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.