Skip to content

Commit

Permalink
Indent CSS with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
psrpinto committed Feb 15, 2024
1 parent 8050c76 commit 7d982ff
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 74 deletions.
145 changes: 72 additions & 73 deletions assets/css/translation-events.css
Original file line number Diff line number Diff line change
@@ -1,132 +1,131 @@
.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;
}
.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;
}
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<description>Coding standards</description>

<arg name="colors"/>
<arg name="extensions" value="php,js"/>
<arg name="extensions" value="php,js,css"/>

<file>./assets/</file>
<file>./includes/</file>
Expand Down

0 comments on commit 7d982ff

Please sign in to comment.