237 lines
4.5 KiB
CSS
237 lines
4.5 KiB
CSS
/*!******************************************************************************
|
|
* Copyright (c) 2019, Code Atlantic LLC
|
|
******************************************************************************/
|
|
/***********
|
|
Display Switcher
|
|
***********/
|
|
#pum-popup-settings-container .popup-types {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) {
|
|
#pum-popup-settings-container .popup-types {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
#pum-popup-settings-container .popup-types .popup-type {
|
|
margin: 0 1.5% 20px;
|
|
transition: transform 0.1s ease 0s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media screen and (min-width: 600px) and (max-width: 1279px) {
|
|
#pum-popup-settings-container .popup-types .popup-type {
|
|
width: 47%;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(2n + 1) {
|
|
margin-left: 0;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(2n + 2) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1280px) and (max-width: 1365px) {
|
|
#pum-popup-settings-container .popup-types .popup-type {
|
|
width: 30%;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(3n + 1) {
|
|
margin-left: 0;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(3n + 3) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1366px) {
|
|
#pum-popup-settings-container .popup-types .popup-type {
|
|
width: 22.75%;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(4n + 1) {
|
|
margin-left: 0;
|
|
}
|
|
#pum-popup-settings-container .popup-types .popup-type:nth-child(4n + 4) {
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
#pum-popup-settings-container .popup-types .popup-type:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
#pum-popup-settings-container .popup-types .popup-type img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
#pum-popup-settings-container .popup-types .popup-type button {
|
|
width: 100%;
|
|
}
|
|
|
|
/***********
|
|
Misc
|
|
***********/
|
|
#wp-admin-bar-view {
|
|
display: none;
|
|
}
|
|
|
|
#popup-titlediv {
|
|
position: relative;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#popup-titlediv #popup-titlewrap {
|
|
border: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#popup-titlediv #popup-title-prompt-text {
|
|
color: #777;
|
|
position: absolute;
|
|
font-size: 1.7em;
|
|
padding: 11px 10px;
|
|
}
|
|
|
|
#popup-titlediv label {
|
|
cursor: text;
|
|
}
|
|
|
|
#popup-titlediv #popup-title {
|
|
padding: 3px 8px;
|
|
font-size: 1.7em;
|
|
line-height: 1.125;
|
|
height: 1.7em;
|
|
width: 100%;
|
|
outline: none;
|
|
margin: 0 0 3px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.post-type-popup #edit-slug-box {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#major-publishing-actions {
|
|
text-align: right;
|
|
}
|
|
|
|
#trigger-popmake-preview {
|
|
padding: 5px;
|
|
}
|
|
|
|
#pum_popup_settings > .inside {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#popup_trigger_add_type,
|
|
#popup_cookie_add_event {
|
|
display: block;
|
|
font-size: 1.4em;
|
|
height: auto;
|
|
margin: 1.5em 0;
|
|
padding: 0.25em;
|
|
width: 100%;
|
|
}
|
|
|
|
#pum_trigger_add_type_modal .pum-modal-wrap,
|
|
#pum_cookie_add_event_modal .pum-modal-wrap {
|
|
width: 440px;
|
|
margin-left: -220px;
|
|
}
|
|
|
|
.pum-click-selector-presets {
|
|
position: absolute;
|
|
right: 2px;
|
|
bottom: 2px;
|
|
}
|
|
|
|
.pum-click-selector-presets > span {
|
|
border: 1px solid;
|
|
border-radius: 2px;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
color: #fff;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
font-size: 21px;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
.pum-click-selector-presets > span:hover {
|
|
background-color: #0085ba;
|
|
}
|
|
|
|
.pum-click-selector-presets.open > span {
|
|
background-color: #0085ba;
|
|
}
|
|
|
|
.pum-click-selector-presets ul {
|
|
display: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 20px;
|
|
background-color: #fff;
|
|
width: auto;
|
|
z-index: 999;
|
|
box-shadow: 1px 1px 5px -1px;
|
|
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
min-width: 125px;
|
|
}
|
|
|
|
.pum-click-selector-presets ul li {
|
|
display: block;
|
|
padding: 0.5em;
|
|
border-bottom: 1px dashed rgba(0, 0, 0, 0.25);
|
|
text-wrap: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.pum-click-selector-presets ul li span {
|
|
cursor: pointer;
|
|
display: block;
|
|
line-height: 1;
|
|
}
|
|
|
|
.pum-click-selector-presets ul li:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.pum-click-selector-presets ul li:hover {
|
|
color: #0085ba;
|
|
}
|
|
|
|
.pum-click-selector-presets.open ul {
|
|
display: block;
|
|
}
|
|
|
|
/***********
|
|
Manual Cookie Shortcode
|
|
***********/
|
|
pre.manual-cookie-shortcode {
|
|
overflow: hidden;
|
|
max-width: 20vw;
|
|
max-height: 1.7em;
|
|
margin: 0;
|
|
}
|
|
|
|
pre.manual-cookie-shortcode code {
|
|
overflow-x: scroll;
|
|
display: block;
|
|
padding: 2px 16px 1px;
|
|
margin: 0px -17px;
|
|
}
|
|
|
|
pre.manual-cookie-shortcode code::before, pre.manual-cookie-shortcode code::after {
|
|
content: ' ';
|
|
}
|
|
|
|
/*# sourceMappingURL=pum-admin-popup-editor.css.map */
|