You are here

tour.theme.pcss.css in Drupal 10

Same filename and directory in other branches
  1. 9 core/themes/claro/css/theme/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: 0 0 0 2px var(--color-white), 0 0 0 5px var(--color-focus);
  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: var(--color-sunglow);
  58. }
  59. .shepherd-cancel-icon {
  60. color: #fff;
  61. font-size: 1.4em;
  62. font-weight: bold;
  63. line-height: 1;
  64. }
  65. .shepherd-cancel-icon:hover,
  66. .shepherd-cancel-icon:focus {
  67. color: rgba(255, 255, 255, 0.9);
  68. }
  69. .shepherd-button {
  70. margin: 0;
  71. }
  72. .shepherd-content *:focus {
  73. outline: 2px dotted transparent;
  74. box-shadow: 0 0 0 2px var(--color-white), 0 0 0 5px var(--color-focus);
  75. }