tour.theme.pcss.css

Styles for Tour theme.

File

core/themes/claro/css/theme/tour.theme.pcss.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: 2px dotted transparent;
  14. box-shadow:
  15. 0 0 0 2px var(--color-white),
  16. 0 0 0 5px var(--color-focus);
  17. }
  18. /* Mobile */
  19. @media only screen and (max-width: 767px) {
  20. .shepherd-element {
  21. border-radius: 0;
  22. }
  23. }
  24. .shepherd-arrow::before {
  25. background: none;
  26. }
  27. /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */
  28. .shepherd-arrow {
  29. border: solid 14px rgba(0, 0, 0, 0.8);
  30. }
  31. .shepherd-element[data-popper-placement^="top"] > .shepherd-arrow {
  32. bottom: -28px;
  33. border-right-color: transparent;
  34. border-bottom-color: transparent;
  35. border-left-color: transparent;
  36. }
  37. .shepherd-element[data-popper-placement^="bottom"] > .shepherd-arrow {
  38. top: -28px;
  39. border-top-color: transparent;
  40. border-right-color: transparent;
  41. border-left-color: transparent;
  42. }
  43. .shepherd-element[data-popper-placement^="left"] > .shepherd-arrow {
  44. right: -28px;
  45. border-top-color: transparent;
  46. border-right-color: transparent; /* LTR */
  47. border-bottom-color: transparent;
  48. }
  49. .shepherd-element[data-popper-placement^="right"] > .shepherd-arrow {
  50. left: -28px;
  51. border-top-color: transparent;
  52. border-bottom-color: transparent;
  53. border-left-color: transparent; /* LTR */
  54. }
  55. .shepherd-text p {
  56. line-height: 1.385em;
  57. }
  58. .shepherd-text a {
  59. color: var(--color-sunglow);
  60. }
  61. .shepherd-cancel-icon {
  62. color: #fff;
  63. font-size: 1.4em;
  64. font-weight: bold;
  65. line-height: 1;
  66. }
  67. .shepherd-cancel-icon:hover,
  68. .shepherd-cancel-icon:focus {
  69. color: rgba(255, 255, 255, 0.9);
  70. }
  71. .shepherd-button {
  72. margin: 0;
  73. }
  74. .shepherd-content *:focus {
  75. outline: 2px dotted transparent;
  76. box-shadow:
  77. 0 0 0 2px var(--color-white),
  78. 0 0 0 5px var(--color-focus);
  79. }

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