metabox.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. .ast-sidebar-container .ast-sidebar-layout-meta-wrap .components-input-control__container .components-select-control__input {
  2. padding: 3px 24px 3px 8px;
  3. font-size: 14px;
  4. line-height: 25px;
  5. margin-bottom: 3px;
  6. }
  7. .ast-sidebar-layout-meta-wrap .components-toggle-control label {
  8. font-size : 14px;
  9. }
  10. .ast-sidebar-layout-meta-wrap .components-toggle-control {
  11. margin-bottom: 15px;
  12. }
  13. .ast-radio-image-controller .customize-control-title {
  14. font-weight: 500;
  15. }
  16. .ast-sidebar-layout-meta-wrap {
  17. margin-bottom: 13px;
  18. }
  19. .ast-meta-settings-divider:before {
  20. width: auto;
  21. margin: 1px -16px;
  22. }
  23. .ast-meta-settings-divider {
  24. padding-top: 10px;
  25. }
  26. .ast-meta-settings-divider:before {
  27. content: '';
  28. display: block;
  29. height: 1px;
  30. background: #e2e4e7;
  31. }
  32. .ast-meta-settings-title:not([data-type='ast-first']) {
  33. padding-top: 4px;
  34. }
  35. .ast-meta-settings-title {
  36. font-size: 13px;
  37. font-weight: 700;
  38. }
  39. .ast-radio-image-controller input {
  40. display: none;
  41. }
  42. .ast-radio-image-controller input:checked + label svg {
  43. color: var(--wp-admin-theme-color);
  44. background: #ffffff;
  45. border-radius: 3px;
  46. opacity: 1;
  47. }
  48. .ast-radio-image-controller > .options-wrapper {
  49. display: grid;
  50. grid-template-columns: repeat(3, 1fr);
  51. grid-column-gap: 10px;
  52. grid-row-gap: 10px;
  53. }
  54. .ast-radio-image-controller .ast-radio-img-svg svg {
  55. color: #A0AEC0;
  56. width: 100%;
  57. height: auto;
  58. background: none;
  59. border-radius: 3px;
  60. transition: all 0.2s;
  61. padding: 2px;
  62. transition: 0.06s all;
  63. }
  64. .ast-radio-image-controller .ast-radio-img-svg:hover svg,
  65. .ast-radio-image-controller input:checked+label svg {
  66. outline: 1px solid var(--wp-admin-theme-color);
  67. }
  68. .ast-radio-image-controller label {
  69. position: relative;
  70. display: inline-block;
  71. }
  72. .ast-radio-image-controller input + label .image-clickable {
  73. position: absolute;
  74. top: 0;
  75. bottom: 0;
  76. left: 0;
  77. right: 0;
  78. width: 100%;
  79. height: 100%;
  80. }
  81. div#astra_settings_meta_box {
  82. padding: 0;
  83. }
  84. .components-panel__body .components-base-control__field {
  85. padding: 5px 0 0;
  86. }
  87. .ast-meta-selector-wrapper {
  88. display: -webkit-box;
  89. display: -ms-flexbox;
  90. display: flex;
  91. }
  92. .ast-meta-selector-wrapper .ast-selector-inner-wrap {
  93. flex: 1 1 auto;
  94. display: flex;
  95. }
  96. .ast-selector-inner-wrap .components-button {
  97. white-space: nowrap;
  98. background: rgba(255,255,255,0);
  99. color: rgba(0, 0, 0, 0.966);
  100. text-decoration: none;
  101. text-shadow: none;
  102. outline: unset;
  103. border: 1px solid #d2d2d2;
  104. width: 100%;
  105. height: 100%;
  106. text-align: center;
  107. justify-content: center;
  108. border-radius: unset;
  109. transition: none;
  110. font-size: 12px;
  111. padding: 8px 12px;
  112. }
  113. .ast-selector-inner-wrap .components-button.is-primary {
  114. color: #ffffff;
  115. background: #007cba;
  116. }
  117. .ast-meta-selector-controller .ast-selector-inner-wrap:first-child .components-button {
  118. border-radius: 2px 0px 0px 2px;
  119. }
  120. .ast-meta-selector-controller .ast-selector-inner-wrap:not(:first-child) .components-button {
  121. margin-left: -1px;
  122. }
  123. .ast-meta-selector-controller .ast-selector-inner-wrap:not(:first-child):not(:last-child) .components-button {
  124. border-right: none;
  125. }
  126. .ast-meta-selector-controller .ast-selector-inner-wrap:last-child .components-button {
  127. border-radius: 0px 2px 2px 0px;
  128. }
  129. .ast-meta-selector-controller .ast-selector-inner-wrap .components-button:focus:not(:disabled) {
  130. box-shadow: none;
  131. }
  132. .components-toggle-control .components-base-control__field {
  133. justify-content: space-between;
  134. flex-direction: row-reverse;
  135. margin-bottom: 0;
  136. }
  137. .ast-custom-layout-panel .components-button {
  138. padding-right: 15px;
  139. }
  140. .ast-title-container {
  141. -js-display: flex;
  142. display: flex;
  143. flex-grow: 1;
  144. }
  145. /**
  146. * Popup content compat CSS.
  147. */
  148. .ast-header-settings-modal {
  149. min-width: auto;
  150. width: 100%;
  151. max-width: 700px;
  152. height: auto;
  153. border-radius: 2px;
  154. max-height: 600px;
  155. top: 45%;box-shadow: 0px 10px 36px -10px rgb(0 0 0 / 25%);
  156. }
  157. .components-modal__icon-container {
  158. margin-right: 15px;
  159. margin-top: 5px;
  160. }
  161. .ast-header-settings-modal .components-modal__content {
  162. -js-display: flex;
  163. display: flex;
  164. flex-direction: column;
  165. padding: 0;
  166. }
  167. .ast-header-settings-modal .components-modal__content::before {
  168. margin-bottom: 0;
  169. }
  170. .ast-header-settings-modal .components-modal__header {
  171. padding-left: 24px;
  172. padding-right: 0;
  173. border-bottom: 0;
  174. margin: 0;
  175. border-radius: 2px 2px 0px 0px;
  176. box-shadow: 0px 6px 8px -3px rgb(0 0 0 / 5%), 0px 4px 6px -2px rgb(0 0 0 / 5%);
  177. }
  178. .ast-meta-settings-content {
  179. overflow-y: auto;
  180. margin: 0;
  181. padding: 0;
  182. }
  183. .ast-meta-settings-hook-table.widefat {
  184. border-width: 0;
  185. }
  186. .ast-meta-settings-hook-table:last-of-type {
  187. border-bottom-width: 0;
  188. }
  189. .ast-extra-spacing .ast-border {
  190. border-right: 1px solid #E1E1E1;
  191. }
  192. .ast-extra-spacing-bottom td {
  193. border-bottom: 1px solid #E1E1E1;
  194. }
  195. td.ast-advanced-hook-row-heading {
  196. border-right: 1px solid #E1E1E1;
  197. padding: 12px 20px 12px 25px;
  198. width: 25%;
  199. vertical-align: middle;
  200. }
  201. .ast-meta-settings-hook-table .ast-advanced-hook-row-content {
  202. padding: 12px 20px 12px 25px;
  203. position: relative;
  204. width: 75%;
  205. }
  206. .ast-time-duration .ast-advanced-hook-row td {
  207. border-bottom: 0;
  208. }
  209. .ast-cl-footer-container {
  210. position: sticky;
  211. bottom: 0;
  212. border-radius: 0px 0px 2px 2px;
  213. background: #FFF;
  214. z-index: 9;
  215. box-shadow: 0px -6px 8px -3px rgb(0 0 0 / 5%), 0px -4px 6px -2px rgb(0 0 0 / 5%);
  216. }
  217. .ast-button-container {
  218. -js-display: flex;
  219. display: flex;
  220. justify-content: space-between;
  221. padding: 14px 20px 14px 24px;
  222. }
  223. .ast-cl-popup-notice {
  224. -js-display: flex;
  225. display: flex;
  226. align-items: center;
  227. justify-content: center;
  228. flex-wrap: wrap;
  229. font-size: 14px;
  230. }
  231. .ast-button-container button.button {
  232. min-height: 35px;
  233. background-color: #FFF;
  234. }
  235. .ast-cl-popup-notice .dashicons {
  236. font-size: 22px;
  237. color: #1F2937;
  238. margin-right: 10px;
  239. }
  240. .components-modal__header .components-button svg {
  241. width: 35px;
  242. height: 35px;
  243. }
  244. .ast-header-settings-modal .components-modal__header-heading-container {
  245. justify-content: initial;
  246. }
  247. .components-modal__header .components-button {
  248. width: 60px;
  249. height: 60px;
  250. right: 0;
  251. bottom: 0;
  252. left: auto;
  253. }
  254. .components-button:focus:not(:disabled) {
  255. box-shadow: none;
  256. outline: 0;
  257. }
  258. .ast-advanced-hook-row-content section {
  259. max-width: 250px;
  260. }
  261. .ast-advanced-hook-row-content .components-toggle-control:not(:last-child) {
  262. margin-bottom: 20px;
  263. }
  264. .ast-meta-image-tooltip {
  265. position: absolute;
  266. z-index: 200;
  267. width: auto;
  268. height: 26px;
  269. padding: 0 6px;
  270. font-size: 12px;
  271. font-weight: normal;
  272. letter-spacing: initial;
  273. text-transform: initial;
  274. -webkit-font-smoothing: antialiased;
  275. -webkit-user-select: none;
  276. user-select: none;
  277. white-space: nowrap;
  278. border-radius: 2px;
  279. pointer-events: none;
  280. color: #fff;
  281. background: #1e1e1e;
  282. opacity: 0;
  283. visibility: hidden;
  284. transition: opacity 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955),transform 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955),visibility 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  285. transform: translate3d(0px, -30px, 0px);
  286. display: flex;
  287. flex-direction: column;
  288. align-items: center;
  289. justify-content: center;
  290. min-height: inherit;
  291. }
  292. .ast-radio-img-svg:hover .ast-meta-image-tooltip {
  293. opacity: 1;
  294. visibility: visible;
  295. }