No Description

pum-admin-popup-editor.css 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. /*!******************************************************************************
  2. * Copyright (c) 2019, Code Atlantic LLC
  3. ******************************************************************************/
  4. /***********
  5. Display Switcher
  6. ***********/
  7. #pum-popup-settings-container .popup-types {
  8. display: flex;
  9. flex-direction: column;
  10. justify-content: space-between;
  11. width: 100%;
  12. }
  13. @media screen and (min-width: 600px) {
  14. #pum-popup-settings-container .popup-types {
  15. flex-direction: row;
  16. flex-wrap: wrap;
  17. }
  18. }
  19. #pum-popup-settings-container .popup-types .popup-type {
  20. margin: 0 1.5% 20px;
  21. transition: transform 0.1s ease 0s;
  22. cursor: pointer;
  23. }
  24. @media screen and (min-width: 600px) and (max-width: 1279px) {
  25. #pum-popup-settings-container .popup-types .popup-type {
  26. width: 47%;
  27. }
  28. #pum-popup-settings-container .popup-types .popup-type:nth-child(2n + 1) {
  29. margin-left: 0;
  30. }
  31. #pum-popup-settings-container .popup-types .popup-type:nth-child(2n + 2) {
  32. margin-right: 0;
  33. }
  34. }
  35. @media screen and (min-width: 1280px) and (max-width: 1365px) {
  36. #pum-popup-settings-container .popup-types .popup-type {
  37. width: 30%;
  38. }
  39. #pum-popup-settings-container .popup-types .popup-type:nth-child(3n + 1) {
  40. margin-left: 0;
  41. }
  42. #pum-popup-settings-container .popup-types .popup-type:nth-child(3n + 3) {
  43. margin-right: 0;
  44. }
  45. }
  46. @media screen and (min-width: 1366px) {
  47. #pum-popup-settings-container .popup-types .popup-type {
  48. width: 22.75%;
  49. }
  50. #pum-popup-settings-container .popup-types .popup-type:nth-child(4n + 1) {
  51. margin-left: 0;
  52. }
  53. #pum-popup-settings-container .popup-types .popup-type:nth-child(4n + 4) {
  54. margin-right: 0;
  55. }
  56. }
  57. #pum-popup-settings-container .popup-types .popup-type:hover {
  58. transform: scale(1.1);
  59. }
  60. #pum-popup-settings-container .popup-types .popup-type img {
  61. max-width: 100%;
  62. height: auto;
  63. }
  64. #pum-popup-settings-container .popup-types .popup-type button {
  65. width: 100%;
  66. }
  67. /***********
  68. Misc
  69. ***********/
  70. #wp-admin-bar-view {
  71. display: none;
  72. }
  73. #popup-titlediv {
  74. position: relative;
  75. margin-top: 10px;
  76. }
  77. #popup-titlediv #popup-titlewrap {
  78. border: 0;
  79. padding: 0;
  80. }
  81. #popup-titlediv #popup-title-prompt-text {
  82. color: #777;
  83. position: absolute;
  84. font-size: 1.7em;
  85. padding: 11px 10px;
  86. }
  87. #popup-titlediv label {
  88. cursor: text;
  89. }
  90. #popup-titlediv #popup-title {
  91. padding: 3px 8px;
  92. font-size: 1.7em;
  93. line-height: 1.125;
  94. height: 1.7em;
  95. width: 100%;
  96. outline: none;
  97. margin: 0 0 3px;
  98. background-color: #fff;
  99. }
  100. .post-type-popup #edit-slug-box {
  101. margin-bottom: 5px;
  102. }
  103. #major-publishing-actions {
  104. text-align: right;
  105. }
  106. #trigger-popmake-preview {
  107. padding: 5px;
  108. }
  109. #pum_popup_settings > .inside {
  110. margin: 0;
  111. padding: 0;
  112. }
  113. #popup_trigger_add_type,
  114. #popup_cookie_add_event {
  115. display: block;
  116. font-size: 1.4em;
  117. height: auto;
  118. margin: 1.5em 0;
  119. padding: 0.25em;
  120. width: 100%;
  121. }
  122. #pum_trigger_add_type_modal .pum-modal-wrap,
  123. #pum_cookie_add_event_modal .pum-modal-wrap {
  124. width: 440px;
  125. margin-left: -220px;
  126. }
  127. .pum-click-selector-presets {
  128. position: absolute;
  129. right: 2px;
  130. bottom: 2px;
  131. }
  132. .pum-click-selector-presets > span {
  133. border: 1px solid;
  134. border-radius: 2px;
  135. background-color: rgba(0, 0, 0, 0.5);
  136. color: #fff;
  137. text-align: center;
  138. cursor: pointer;
  139. font-size: 21px;
  140. height: 1em;
  141. width: 1em;
  142. }
  143. .pum-click-selector-presets > span:hover {
  144. background-color: #0085ba;
  145. }
  146. .pum-click-selector-presets.open > span {
  147. background-color: #0085ba;
  148. }
  149. .pum-click-selector-presets ul {
  150. display: none;
  151. margin: 0;
  152. padding: 0;
  153. position: absolute;
  154. top: 1px;
  155. left: 20px;
  156. background-color: #fff;
  157. width: auto;
  158. z-index: 999;
  159. box-shadow: 1px 1px 5px -1px;
  160. border: 1px solid rgba(0, 0, 0, 0.25);
  161. min-width: 125px;
  162. }
  163. .pum-click-selector-presets ul li {
  164. display: block;
  165. padding: 0.5em;
  166. border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
  167. text-wrap: none;
  168. margin: 0;
  169. }
  170. .pum-click-selector-presets ul li span {
  171. cursor: pointer;
  172. display: block;
  173. line-height: 1;
  174. }
  175. .pum-click-selector-presets ul li:last-child {
  176. border-bottom: 0;
  177. }
  178. .pum-click-selector-presets ul li:hover {
  179. color: #0085ba;
  180. }
  181. .pum-click-selector-presets.open ul {
  182. display: block;
  183. }
  184. /***********
  185. Manual Cookie Shortcode
  186. ***********/
  187. pre.manual-cookie-shortcode {
  188. overflow: hidden;
  189. max-width: 20vw;
  190. max-height: 1.7em;
  191. margin: 0;
  192. }
  193. pre.manual-cookie-shortcode code {
  194. overflow-x: scroll;
  195. display: block;
  196. padding: 2px 16px 1px;
  197. margin: 0px -17px;
  198. }
  199. pre.manual-cookie-shortcode code::before, pre.manual-cookie-shortcode code::after {
  200. content: ' ';
  201. }
  202. /*# sourceMappingURL=pum-admin-popup-editor.css.map */