-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,506 additions
and
1,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
.clearfix-ver:after, .clearfix-ver:before { | ||
content: ""; | ||
display: table | ||
} | ||
|
||
.clearfix-ver:after { | ||
clear: both | ||
} | ||
|
||
#ver-form-container { | ||
width: 100% | ||
} | ||
|
||
.podcast_importer_form input[type=text] { | ||
max-width: 70%; | ||
width: 450px | ||
} | ||
|
||
em.ver-notice { | ||
float: right; | ||
font-size: .8em | ||
} | ||
|
||
.podcast_importer_form .ver-checkbox-container { | ||
margin: 20px 0 10px 0 | ||
} | ||
|
||
.podcast_importer_form .ver-checkbox-container span { | ||
margin-left: 8px | ||
} | ||
|
||
.podcast_importer_form input[type=submit] { | ||
margin-top: 40px | ||
} | ||
|
||
.podcast_importer_form select { | ||
max-width: 70%; | ||
min-width: 225px | ||
} | ||
|
||
input.podcast_feed { | ||
min-width: 400px; | ||
max-width: 90% | ||
} | ||
|
||
.podcast_importer_form select.post_type_select { | ||
text-transform: capitalize | ||
} | ||
|
||
.ver-plugin-container label.ver-form-label { | ||
margin-bottom: 5px; | ||
margin-top: 20px; | ||
display: block | ||
} | ||
|
||
h2.ver-importer-header { | ||
margin: 0 0 40px 0 | ||
} | ||
|
||
.ver-plugin-container { | ||
padding: 40px; | ||
margin: 10px 20px 10px 0; | ||
background-color: #fff; | ||
border: 1px solid #e3e3e3; | ||
-webkit-border-radius: 4px; | ||
-moz-border-radius: 4px; | ||
border-radius: 4px | ||
} | ||
|
||
.existing-import-container .import-process-item { | ||
padding: 6px 14px 4px 14px; | ||
color: #848484; | ||
background-color: #f9f9f9; | ||
border: 1px solid #cfcfcf; | ||
border-radius: 4px; | ||
display: inline-block; | ||
position: relative; | ||
top: 0; | ||
margin: 0 25px 0 0; | ||
width: 65% | ||
} | ||
|
||
.existing-import-container ul li { | ||
margin: 20px 0; | ||
padding-bottom: 20px; | ||
border-bottom: 1px solid #ddd | ||
} | ||
|
||
.existing-import-container ul li:last-child { | ||
border: 0 | ||
} | ||
|
||
.existing-import-container .delete-button { | ||
margin-left: 10px; | ||
float: right; | ||
position: relative; | ||
top: 1px | ||
} | ||
|
||
.wp-core-ui .ver-plugin-container .button-link-delete { | ||
border-color: #a00 | ||
} | ||
|
||
.wp-core-ui .ver-plugin-container .button-link-delete:hover { | ||
border-color: #dc3232 | ||
} | ||
|
||
.wp-core-ui .ver-plugin-container .button-link-delete:focus { | ||
box-shadow: none | ||
} | ||
|
||
.wp-core-ui .ver-plugin-container .button-link-edit { | ||
top: 1px; | ||
float: right; | ||
position: relative | ||
} | ||
|
||
span.ver-existing-post-notice { | ||
font-style: italic; | ||
font-size: 11px | ||
} | ||
|
||
span.ver-importer-notice { | ||
margin: -30px 0 40px 0; | ||
display: block; | ||
font-style: italic | ||
} | ||
|
||
.tools_page_podcastimport.wp-core-ui .notice.is-dismissible { | ||
padding-right: 0; | ||
margin: 12px 20px 12px 0 | ||
} | ||
|
||
.advanced-settings-wrapper, .edit-import-form { | ||
max-height: 0; | ||
overflow: hidden; | ||
transition: .3s max-height | ||
} | ||
|
||
.edit-import-form.expanded, .expanded .advanced-settings-wrapper { | ||
max-height: 9999px | ||
} | ||
|
||
.ver-importer-header.advanced-options { | ||
margin-top: 2em; | ||
cursor: pointer | ||
} | ||
|
||
h3.ver-importer-header.advanced-options:before { | ||
content: "+"; | ||
font-size: 1.2em; | ||
font-weight: 900; | ||
margin-right: 15px | ||
} | ||
|
||
.expanded h3.ver-importer-header.advanced-options:before { | ||
content: "–" | ||
} | ||
|
||
.existing-import-container .advanced-options:before { | ||
display: none !important | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
(function () { | ||
const editButtons = document.querySelectorAll(".button-link-edit"); | ||
|
||
Array.from(editButtons).forEach((button) => { | ||
button.addEventListener("click", (event) => { | ||
event.preventDefault(); | ||
|
||
const importID = button.getAttribute("data-import-id"); | ||
const importForm = document.getElementById( | ||
`edit-import-form--${importID}` | ||
); | ||
|
||
if (importForm.classList.contains("expanded")) { | ||
importForm.classList.remove("expanded"); | ||
} else { | ||
editButtons.forEach((button) => button.classList.remove("expanded")); | ||
|
||
importForm.classList.add("expanded"); | ||
} | ||
}); | ||
}); | ||
}()) | ||
|
||
jQuery(document).ready(function ($) { | ||
'use strict'; | ||
$(".settings-wrapper").each(function () { | ||
var $heading = $(this).find("h3"); | ||
var $wrapper = $(this); | ||
$heading.click(function () { | ||
$wrapper.toggleClass("expanded") | ||
}); | ||
}); | ||
}) | ||
|
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.