Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint JS and CSS #85

Merged
merged 22 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
types: [ opened, synchronize ]

jobs:
php:
name: PHP
phpcs:
name: phpcs
runs-on: ubuntu-latest

steps:
Expand Down
149 changes: 74 additions & 75 deletions assets/css/translation-events.css
Original file line number Diff line number Diff line change
@@ -1,136 +1,135 @@
.translation-event-form label {
display: inline-block;
width: 140px;
vertical-align: top;
display: inline-block;
width: 140px;
vertical-align: top;
}
.translation-event-form #event-title,
.translation-event-form #event-description {
width: 30%;
width: 30%;
}
.translation-event-form input[type="text"],
.translation-event-form input[type="date"] {
width: 13%;
width: 13%;
}
.translation-event-form div {
margin-top: 1em;
margin-top: 1em;
}
.translation-event-form #submit-event {
margin-left: 10%;
width: 30%;
margin-top: 1em;
display: block;
margin-left: 10%;
width: 30%;
margin-top: 1em;
display: block;
}
.event-page-title {
border-bottom: #d9d8d8 thin solid;
padding-bottom: .5em;
border-bottom: #d9d8d8 thin solid;
padding-bottom: .5em;
}
.event-details-page {
border-bottom: #cfd4d4 thin solid;
width: 60%;
margin: 0 auto;
border-bottom: #cfd4d4 thin solid;
width: 60%;
margin: 0 auto;
}
.event-details-left {
width: 77%;
float: left;
border-right: #dadfdf thin solid;
margin-right: 1%;
padding-right: 1em;
width: 77%;
float: left;
border-right: #dadfdf thin solid;
margin-right: 1%;
padding-right: 1em;
}
.event-details-right {
width: 22%;
float: left;
padding: 1em;
width: 22%;
float: left;
padding: 1em;
}
.event-details-stats {
clear: both;
margin: 1em;
clear: both;
margin: 1em;
}
.event-details-stats table, .event-details-stats table td, .event-details-stats table th {
border: 0.2em solid var(--gp-color-primary);
padding: 1em;
border: 0.2em solid var(--gp-color-primary);
padding: 1em;
}
.event-details-stats-totals {
font-weight: bold;
font-weight: bold;
}
.hide-event-url {
display: none;
display: none;
}
.translation-event-form button.save-draft {
background: #fff;
color: var(--gp-color-btn-primary-bg);
background: #fff;
color: var(--gp-color-btn-primary-bg);
}
#event-url span {
width: 10%;
display: inline-block;
width: 10%;
display: inline-block;
}
span.event-list-date {
display: block;
color: #939393;
font-size: .9em;
font-weight: bold;
display: block;
color: #939393;
font-size: .9em;
font-weight: bold;
}
span.event-list-date.events-i-am-attending {
font-size: .8em;
font-weight: normal;
font-size: .8em;
font-weight: normal;
}
.event-list-item a{
font-weight: bold;
font-size: 1.2em;
font-weight: bold;
font-size: 1.2em;
}
li.event-list-item {
list-style-type: none;
list-style-type: none;
}
li.event-list-item p {
margin-top: 0;
color: #5a5a5a;
font-size: .95em;
margin-top: 0;
color: #5a5a5a;
font-size: .95em;
}
h2.event_page_title {
border-bottom: #e0e0e0 thin solid;
padding-bottom: 0.5em;
font-weight: bold;
border-bottom: #e0e0e0 thin solid;
padding-bottom: 0.5em;
font-weight: bold;
}
.event-list-top-bar {
float: right;
float: right;
}
.event-list-nav li {
display: inline;
margin-right: 1em;
display: inline;
margin-right: 1em;
}
.event-left-col {
width: 70%;
float: left;
width: 70%;
float: left;
}
.event-right-col {
width: 25%;
float: left;
padding: 1em;
border-left: var(--wp--preset--color--cyan-bluish-gray) thin solid;
width: 25%;
float: left;
padding: 1em;
border-left: var(--wp--preset--color--cyan-bluish-gray) thin solid;
}
.event-attending-list {
list-style-type: none;
padding: 0;
list-style-type: none;
padding: 0;
}
.event-attending-list li {
margin-bottom: 1em;
margin-bottom: 1em;
}
.event-list-nav li a.button {
background-color: var(--gp-color-btn-primary-bg) !important;
color: #fff !important;
background-color: var(--gp-color-btn-primary-bg) !important;
color: #fff !important;
}
a.event-link-draft {
color:#80807f;
color:#80807f;
}
span.event-label-draft {
font-weight: 500;
color:#c05621;
border: 1px solid #c05621;
font-size: .7em;
margin-right: 0.3em;
width: 6em;
text-align: center;
padding: 0.2em 0.5em;
border-radius: 1em;
text-transform: capitalize;
}

font-weight: 500;
color:#c05621;
border: 1px solid #c05621;
font-size: .7em;
margin-right: 0.3em;
width: 6em;
text-align: center;
padding: 0.2em 0.5em;
border-radius: 1em;
text-transform: capitalize;
}
Loading
Loading