Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
parveen-chhillar committed Mar 27, 2023
0 parents commit f77da9a
Show file tree
Hide file tree
Showing 249 changed files with 71,600 additions and 0 deletions.
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
link readme.txt
9 changes: 9 additions & 0 deletions assets/css/admin-icon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.dashicons-sermon-manager:before {
font-family: "SermonManager", serif;
content: "\e900";
}

@font-face {
font-family: SermonManager;
src: url(../fonts/Sermon-Manager.ttf);
}
11 changes: 11 additions & 0 deletions assets/css/admin-partials/_add-edit-sermon.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#sermon_video_link {
width: 25em;
}

#sermon_date {
width: 125px;

&::placeholder{
color: #ccc;
}
}
17 changes: 17 additions & 0 deletions assets/css/admin-partials/_all-sermons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.fixed {
.column-title {
width: 40%;
}

.column-preacher, .column-preached {
width: 10%;
}

.column-series, .column-topics {
width: 15%;
}

.column-views {
width: 7%;
}
}
115 changes: 115 additions & 0 deletions assets/css/admin-partials/_import-export.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
.wp-list-table {
overflow: hidden;
height: 100%;
}

.plugin-card {
position: relative;

> h2 {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
z-index: 1;
color: #4a4a4a !important;
margin: 0;
font-size: 1.7rem;
font-weight: 100;
letter-spacing: 2px;
font-family: 'Roboto', sans-serif;
text-transform: uppercase;
opacity: 0;
transition: opacity .2s;
cursor: default;
width: 100%;
text-align: center;
}

&.not-available {
&:before {
content: "";
background: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 10px, rgba(0, 0, 0, 0.1) 10px, rgba(0, 0, 0, 0.1) 20px);
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
z-index: 1;
}

&:hover {
> h2 {
opacity: 1;
}

.plugin-card-top {
-webkit-filter: blur(1px);
filter: blur(1px);
}
}

* {
color: #ccc;
}

.plugin-icon {
filter: opacity(0.2);
}
}

.plugin-card-top {
padding: 0;

&:hover .import-note {
display: block;
}

.import-note {
display: none;
color: rgba(0, 0, 0, 0.5);
}

.name {
margin-top: 20px;
}

.desc, .name {
margin-left: 185px;
}

.action-links {
top: 0;
}

.plugin-icon {
font-size: 5rem;
color: #656565;
left: 0;
top: 0;
height: 168px;
width: 168px;
margin: -20px 20px 0 0;

&.dashicons {
margin-top: 1rem;
}
}

.wp-upload-form {
display: none;
}

.import-sniper {
line-height: 1;
vertical-align: middle;
width: 13px;
position: relative;
top: -1px;
display: none;
img {
max-width: 100%;
}
}
}
}
108 changes: 108 additions & 0 deletions assets/css/admin-partials/_settings.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
.wp-heading-inline {
margin-bottom: 5px;
}

.settings-main {
display: flex;
margin-top: 5px;
}

.settings-content {
width: 100%;

//noinspection SpellCheckingInspection
#mainform {
border: 1px solid #e8e8e8;
}

span.description {
display: block;
margin-top: 5px;
}

input[type=text], input[type=email] {
width: 100%;
max-width: 400px;
}

.sm-nav-tab-wrapper {
background: white;
padding: 0;
border-bottom: 1px solid #e8e8e8;

.nav-tab {
float: none;
border: none;
margin: 0;
padding: 20px 20px;
display: inline-block;
background: none;
font-weight: normal;
color: #666;
font-size: 13px;

&:hover, &:active, &:focus {
border-bottom: 2px solid #ccc;
outline: none;
box-shadow: none;
}
}

.nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover {
border-bottom: 2px solid #4abcf0;
}
}

.image-picker-form-container {
display: flex;

> input {
flex: 1 1 100px;
min-width: 30px;
}

> a {
flex: 0 0 auto;
}
}

.inside {
padding: .2rem 1rem .01rem 1rem;
background: white;
}
}

.settings-side {
width: 30%;
max-width: 300px;
margin-left: 1rem;

.sm-box {
h3 {
margin-left: .8rem;
}

.description {
text-align: center;
font-size: 0.85em;
padding: 0.4rem 0 0
}

ol {
list-style-type: circle;
}
}
}

// Style separator title setting field.
.forminp-separator_title {
padding: 0;
border-bottom: 1px solid #e3e3e3;
}

// Style main title to look like others.
.forminp-title {
padding-bottom: 1em;
margin-bottom: 0;
border-bottom: 1px solid #e3e3e3;
}
2 changes: 2 additions & 0 deletions assets/css/admin.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions assets/css/admin.min.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions assets/css/admin.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// all sermons page
body.edit-php.post-type-wpfc_sermon {
@import 'admin-partials/all-sermons';
}

// settings page
body.wpfc_sermon_page_sm-settings {
@import 'admin-partials/settings';
}

// import export page
body.wpfc_sermon_page_sm-import-export {
@import 'admin-partials/import-export';
}

// add/edit sermon page
body.post-php.post-type-wpfc_sermon {
@import 'admin-partials/add-edit-sermon';
}
Loading

0 comments on commit f77da9a

Please sign in to comment.