tour.theme.css

Styles for Tour theme.

File

core/themes/claro/css/theme/tour.theme.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Styles for Tour theme.
  10. */
  11. /* Default styles for the container */
  12. .shepherd-element {
  13. color: #fff;
  14. border-radius: 0.3125rem;
  15. background-color: #000;
  16. background-color: rgba(0, 0, 0, 0.8);
  17. }
  18. .shepherd-element:focus {
  19. outline: 2px dotted transparent;
  20. box-shadow:
  21. 0 0 0 2px var(--color-white),
  22. 0 0 0 5px var(--color-focus);
  23. }
  24. /* Mobile */
  25. @media only screen and (max-width: 47.9375rem) {
  26. .shepherd-element {
  27. border-radius: 0;
  28. }
  29. }
  30. .shepherd-arrow::before {
  31. background: none;
  32. }
  33. /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */
  34. .shepherd-arrow {
  35. border: solid 14px rgba(0, 0, 0, 0.8);
  36. }
  37. .shepherd-element[data-popper-placement^="top"] > .shepherd-arrow {
  38. bottom: -1.75rem;
  39. border-right-color: transparent;
  40. border-bottom-color: transparent;
  41. border-left-color: transparent;
  42. }
  43. .shepherd-element[data-popper-placement^="bottom"] > .shepherd-arrow {
  44. top: -1.75rem;
  45. border-top-color: transparent;
  46. border-right-color: transparent;
  47. border-left-color: transparent;
  48. }
  49. .shepherd-element[data-popper-placement^="left"] > .shepherd-arrow {
  50. right: -1.75rem;
  51. border-top-color: transparent;
  52. border-right-color: transparent; /* LTR */
  53. border-bottom-color: transparent;
  54. }
  55. .shepherd-element[data-popper-placement^="right"] > .shepherd-arrow {
  56. left: -1.75rem;
  57. border-top-color: transparent;
  58. border-bottom-color: transparent;
  59. border-left-color: transparent; /* LTR */
  60. }
  61. .shepherd-text p {
  62. line-height: 1.385em;
  63. }
  64. .shepherd-text a {
  65. color: var(--color-sunglow);
  66. }
  67. .shepherd-cancel-icon {
  68. color: #fff;
  69. font-size: 1.4em;
  70. font-weight: bold;
  71. line-height: 1;
  72. }
  73. .shepherd-cancel-icon:hover,
  74. .shepherd-cancel-icon:focus {
  75. color: rgba(255, 255, 255, 0.9);
  76. }
  77. .shepherd-button {
  78. margin: 0;
  79. }
  80. .shepherd-content *:focus {
  81. outline: 2px dotted transparent;
  82. box-shadow:
  83. 0 0 0 2px var(--color-white),
  84. 0 0 0 5px var(--color-focus);
  85. }

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