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

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