customizer-preview.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /**
  2. * Customizer Header-n-Footer section edit highligheting CSS.
  3. *
  4. * With new design improvements.
  5. */
  6. .ast-primary-header-bar, .ast-above-header-bar, .ast-below-header-bar, .site-footer-focus-item {
  7. outline: 1px solid transparent;
  8. position: relative;
  9. transition: outline 0.15s ease;
  10. outline-offset: -1px;
  11. }
  12. .site-header-focus-item .customize-partial-edit-shortcut, .site-footer-focus-item .customize-partial-edit-shortcut {
  13. opacity: 0;
  14. transition: all 0.2s;
  15. top: 5px;
  16. }
  17. .ast-builder-grid-row-container > .customize-partial-edit-shortcut.row-editor-shortcut, .customize-partial-edit-shortcut.row-editor-shortcut {
  18. left: 26px;
  19. }
  20. /**
  21. * Customizer edit icon custom positioning.
  22. */
  23. .ast-builder-layout-element.site-header-focus-item .customize-partial-edit-shortcut button, .site-footer-focus-item .customize-partial-edit-shortcut button {
  24. left: 0;
  25. top: 5px;
  26. border-radius: 2px;
  27. }
  28. body.customize-partial-edit-shortcuts-shown .customize-partial-edit-shortcut button {
  29. width: 26px;
  30. height: 26px;
  31. min-width: 26px;
  32. min-height: 26px;
  33. border-width: 1px;
  34. border-radius: 2px;
  35. box-shadow: none;
  36. text-shadow: none;
  37. }
  38. .site-footer-focus-item .customize-partial-edit-shortcut button {
  39. top: 0;
  40. }
  41. .ast-below-header .ast-header-button-2 .customize-partial-edit-shortcut-button, .ast-below-header .ast-header-button-1 .customize-partial-edit-shortcut-button {
  42. top: -10px;
  43. }
  44. .ast-builder-layout-element.site-header-focus-item[data-section="title_tagline"] .customize-partial-edit-shortcut {
  45. top: 25px;
  46. }
  47. .site-header-focus-item[data-section="section-header-mobile-trigger"] .customize-partial-edit-shortcut {
  48. top: -10px;
  49. left: 0px;
  50. }
  51. .ast-primary-header-bar:hover, .ast-above-header-bar:hover, .ast-below-header-bar:hover,
  52. .site-primary-footer-wrap.site-footer-focus-item:hover, .site-above-footer-wrap.site-footer-focus-item:hover, .site-below-footer-wrap.site-footer-focus-item:hover {
  53. outline: 1px solid #007cba;
  54. }
  55. .site-footer-focus-item:hover > * > .customize-partial-edit-shortcut,.site-footer-focus-item:hover > div.customize-partial-edit-shortcut, .ast-primary-header-bar:hover .row-editor-shortcut, .ast-above-header-bar:hover .row-editor-shortcut, .ast-below-header-bar:hover .row-editor-shortcut, .site-header-focus-item:hover > * > .customize-partial-edit-shortcut, .site-header-focus-item:hover > .customize-partial-edit-shortcut {
  56. opacity: 1;
  57. }
  58. .customize-partial-edit-shortcut-astra-settings-disable-primary-nav, .customize-partial-edit-shortcut-custom_logo {
  59. display: none;
  60. }
  61. .customize-partial-edit-shortcut.row-editor-shortcut > button {
  62. box-shadow: unset;
  63. border: unset;
  64. top: -3px;
  65. left: -24px;
  66. border-radius: 0 0 2px 0;
  67. }
  68. .customize-partial-edit-shortcut > button {
  69. width: 26px;
  70. height: 26px;
  71. min-width: 26px;
  72. min-height: 26px;
  73. border: 1px solid #fff;
  74. box-shadow: none;
  75. text-shadow: none;
  76. }
  77. .elementor-page .customize-partial-edit-shortcut button {
  78. width: 26px !important;
  79. height: 26px !important;
  80. min-width: 26px !important;
  81. min-height: 26px !important;
  82. border-radius: 2px !important;
  83. border: 1px solid #fff !important;
  84. box-shadow: none !important;
  85. text-shadow: none !important;
  86. padding: 3px !important;
  87. }
  88. .customize-partial-edit-shortcut > button svg {
  89. min-width: 16px;
  90. min-height: 16px;
  91. width: 16px;
  92. height: 16px;
  93. }
  94. /**
  95. * Footer widget edit icon compatible CSS.
  96. */
  97. .footer-widget-area .widget {
  98. position: relative;
  99. }
  100. .footer-widget-area .widget:hover > .customize-partial-edit-shortcut {
  101. opacity: 1;
  102. }
  103. /**
  104. * Customizer Edit pencil - Set Position
  105. */
  106. .customize-partial-edit-shortcut-blogname button.customize-partial-edit-shortcut-button, .customize-partial-edit-shortcut-blogdescription button.customize-partial-edit-shortcut-button, .customize-partial-edit-shortcut-astra-settings-display-site-title-responsive button.customize-partial-edit-shortcut-button, .customize-partial-edit-shortcut-astra-settings-display-site-tagline-responsive button.customize-partial-edit-shortcut-button, .customize-partial-edit-shortcut-custom_logo button.customize-partial-edit-shortcut-button, .customize-partial-edit-shortcut-astra-settings-disable-primary-nav button.customize-partial-edit-shortcut-button, .ast-related-posts-title .customize-partial-edit-shortcut-button {
  107. display: none;
  108. }
  109. .ast-site-title-wrap:hover .customize-partial-edit-shortcut-blogname button.customize-partial-edit-shortcut-button, .ast-site-title-wrap:hover .customize-partial-edit-shortcut-blogdescription button.customize-partial-edit-shortcut-button, .site-logo-img:hover .customize-partial-edit-shortcut-custom_logo button.customize-partial-edit-shortcut-button, .main-navigation:hover .customize-partial-edit-shortcut-astra-settings-disable-primary-nav button.customize-partial-edit-shortcut-button, .ast-related-posts-title:hover .customize-partial-edit-shortcut-button {
  110. display: inline-block;
  111. }
  112. /* Sticky Header CSS */
  113. .ast-primary-sticky-header-active .customize-partial-edit-shortcut-astra-settings-header-main-stick .customize-partial-edit-shortcut-button {
  114. left: 100px;
  115. }
  116. .ast-primary-sticky-header-active.ast-full-width-header .customize-partial-edit-shortcut-astra-settings-header-main-stick .customize-partial-edit-shortcut-button {
  117. left: 5px;
  118. }
  119. /* Primary Header common CSS */
  120. .customize-partial-edit-shortcut-astra-settings-disable-primary-nav .customize-partial-edit-shortcut-button {
  121. top: 15px;
  122. }
  123. /* Above Header common CSS */
  124. .ast-above-header .customize-partial-edit-shortcut {
  125. top: 0.3em;
  126. }
  127. .customize-partial-edit-shortcut-astra-settings-above-header-layout .customize-partial-edit-shortcut-button,
  128. .customize-partial-edit-shortcut-astra-settings-below-header-layout .customize-partial-edit-shortcut-button {
  129. left: -60px;
  130. }
  131. .customize-partial-edit-shortcut-astra-settings-header-desktop-items,
  132. .customize-partial-edit-shortcut-astra-settings-header-mobile-items,
  133. .customize-partial-edit-shortcut-astra-settings-header-mobile-popup-items {
  134. display: none;
  135. }
  136. /* Mobile popup content - Edit shortcuts compatibility */
  137. .ast-mobile-popup-content .ast-builder-layout-element, .ast-mobile-header-wrap .ast-builder-layout-element, .ast-desktop-popup-content .ast-builder-layout-element, .ast-desktop-header-wrap .ast-builder-layout-element {
  138. position: relative;
  139. }
  140. /** EDD & Woo cart Pencil icon */
  141. .ast-builder-layout-element.site-header-focus-item.ast-header-edd-cart .customize-partial-edit-shortcut button,
  142. .ast-builder-layout-element.site-header-focus-item.ast-header-woo-cart .customize-partial-edit-shortcut button {
  143. left: -25px;
  144. }
  145. /*Hiding footer builder pencil icon as we converted section into builder layout, so no longer this needed.*/
  146. .customize-partial-edit-shortcut-astra-settings-footer-desktop-items > button.customize-partial-edit-shortcut-button {
  147. display: none;
  148. }