Clean up spaces, tabs, indentation, and bracket formatting

This commit is contained in:
Brian Miyaji
2021-11-10 15:41:40 +09:00
parent e58beb1201
commit 3dff686a00
285 changed files with 29638 additions and 24147 deletions

View File

@@ -318,8 +318,8 @@ table.widefat.sp-data-table input[type="text"],
table.widefat.sp-data-table input[type="number"] {
min-width: 1.25em;
width: 100%;
margin: 1px;
padding: 3px 5px;
margin: 1px;
padding: 3px 5px;
}
table.widefat.sp-data-table input[type="text"]::placeholder,
@@ -681,28 +681,28 @@ table.widefat.sp-sortable-table tbody tr .icon {
.sp-toggle-switch + label:before,
.sp-toggle-switch + label:after {
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
content: "";
}
.sp-toggle-switch + label:before {
right: 1px;
background-color: #e4e4e4;
border-radius: 16px;
transition: background 0.4s;
right: 1px;
background-color: #e4e4e4;
border-radius: 16px;
transition: background 0.4s;
}
.sp-toggle-switch + label:after {
width: 16px;
background-color: #fff;
border-radius: 100%;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: margin 0.4s;
width: 16px;
background-color: #fff;
border-radius: 100%;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: margin 0.4s;
}
.sp-toggle-switch:checked + label:before {
@@ -735,7 +735,7 @@ table.widefat.sp-sortable-table tbody tr .icon {
clear: both;
max-width: 382px;
width: 100%;
box-sizing: border-box;
box-sizing: border-box;
}
.sp-sortable-list .sp-item-float + .sp-item-float {
@@ -743,49 +743,49 @@ table.widefat.sp-sortable-table tbody tr .icon {
}
.sp-item-bar {
clear: both;
line-height: 1.5em;
position: relative;
margin: 9px 0 0;
clear: both;
line-height: 1.5em;
position: relative;
margin: 9px 0 0;
}
.sp-item-bar .sp-item-handle {
background: #fafafa;
color: #23282d;
border: 1px solid #dfdfdf;
position: relative;
padding: 10px 15px;
height: auto;
min-height: 20px;
line-height: 30px;
overflow: hidden;
word-wrap: break-word;
border: 1px solid #dfdfdf;
position: relative;
padding: 10px 15px;
height: auto;
min-height: 20px;
line-height: 30px;
overflow: hidden;
word-wrap: break-word;
}
.sp-item-bar .sp-item-handle:hover {
border-color: #999;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
box-shadow: 0 1px 2px rgba(0,0,0,.1);
border-color: #999;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
box-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.sp-item-bar .sp-item-title {
font-size: 13px;
font-weight: 600;
line-height: 20px;
display: block;
margin-right: 13em;
font-weight: 600;
line-height: 20px;
display: block;
margin-right: 13em;
}
.sp-item-settings {
display: block;
padding: 10px 0 10px 15px;
position: relative;
z-index: 10;
background: #fff;
border: 1px solid #e5e5e5;
border-top: none;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0,0,0,.04);
display: block;
padding: 10px 0 10px 15px;
position: relative;
z-index: 10;
background: #fff;
border: 1px solid #e5e5e5;
border-top: none;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
box-shadow: 0 1px 1px rgba(0,0,0,.04);
}
.js .sp-item-handle {
@@ -793,9 +793,9 @@ table.widefat.sp-sortable-table tbody tr .icon {
}
.sp-sortable-list .sp-item-placeholder {
border: 1px dashed #b4b9be;
margin: 9px auto 6px;
height: 42px;
border: 1px dashed #b4b9be;
margin: 9px auto 6px;
height: 42px;
}
/* Logo */
@@ -1225,7 +1225,7 @@ table.sp-status-table td mark.yes {
float: none;
margin-left: 0;
}
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-sp_format,
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-sp_icon,
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-sp_number {
@@ -1241,7 +1241,7 @@ table.sp-status-table td mark.yes {
margin-right: 0;
padding-right: 0;
}
.about-sportspress-wrap .sp-badge {
float: none;
margin: 20px auto 10px;