Skip to content

Commit

Permalink
Release 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mcguffin committed Jan 28, 2022
1 parent 1d6e3ab commit 0fb0ff7
Show file tree
Hide file tree
Showing 12 changed files with 321 additions and 243 deletions.
371 changes: 214 additions & 157 deletions css/admin/admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/admin/admin.min.css

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

155 changes: 87 additions & 68 deletions css/settings/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,90 +15,109 @@
/* Social Icons */
/* Misc/CPT */
.robocrop-manage-sizes.off + .robocrop-sizes {
display: none; }
display: none;
}

.robocrop-sizes-table > thead > tr th:first-of-type {
padding-left: 10px;
width: 33%; }

width: 33%;
}
.robocrop-sizes-table > thead > tr th:last-of-type {
width: 46px; }

width: 46px;
}
.robocrop-sizes-table > thead > tr th.options {
width: 15%; }

width: 15%;
}
.robocrop-sizes-table .tools {
text-align: right; }

text-align: right;
}
.robocrop-sizes-table tbody tr:nth-of-type(even) {
background-color: #f9f9f9; }

background-color: #f9f9f9;
}
.robocrop-sizes-table tbody td {
padding-left: 0;
vertical-align: top; }
.robocrop-sizes-table tbody td:first-of-type {
padding-left: 10px; }
.robocrop-sizes-table tbody td.input span {
display: inline-block; }
.robocrop-sizes-table tbody td.input [data-prop="name"] {
font-weight: 700; }
.robocrop-sizes-table tbody td.input [type="number"], .robocrop-sizes-table tbody td.input [type="text"] {
width: 100%; }
.robocrop-sizes-table tbody td.dimensions [type="number"] {
float: left;
margin: 0; }
.robocrop-sizes-table tbody td.dimensions [data-prop="width"] {
width: 45%;
border-right-style: none;
box-shadow: inset 2px 1px 2px rgba(0, 0, 0, 0.07); }
.robocrop-sizes-table tbody td.dimensions [data-prop="height"] {
width: 55%;
border-left-style: none;
box-shadow: inset -2px 1px 2px rgba(0, 0, 0, 0.07);
padding-left: 15px;
text-align: right; }
.robocrop-sizes-table tbody td.dimensions .times {
display: inline-block;
float: left;
width: 0;
padding: 4px 0;
position: relative;
font-size: 20px;
line-height: 18px;
color: #cccccc; }
.robocrop-sizes-table tbody td.options label {
display: block;
margin-bottom: 10px; }

vertical-align: top;
}
.robocrop-sizes-table tbody td:first-of-type {
padding-left: 10px;
}
.robocrop-sizes-table tbody td.input span {
display: inline-block;
}
.robocrop-sizes-table tbody td.input [data-prop=name] {
font-weight: 700;
}
.robocrop-sizes-table tbody td.input [type=number], .robocrop-sizes-table tbody td.input [type=text] {
width: 100%;
}
.robocrop-sizes-table tbody td.dimensions [type=number] {
float: left;
margin: 0;
}
.robocrop-sizes-table tbody td.dimensions [data-prop=width] {
width: 45%;
border-right-style: none;
-webkit-box-shadow: inset 2px 1px 2px rgba(0, 0, 0, 0.07);
box-shadow: inset 2px 1px 2px rgba(0, 0, 0, 0.07);
}
.robocrop-sizes-table tbody td.dimensions [data-prop=height] {
width: 55%;
border-left-style: none;
-webkit-box-shadow: inset -2px 1px 2px rgba(0, 0, 0, 0.07);
box-shadow: inset -2px 1px 2px rgba(0, 0, 0, 0.07);
padding-left: 15px;
text-align: right;
}
.robocrop-sizes-table tbody td.dimensions .times {
display: inline-block;
float: left;
width: 0;
padding: 4px 0;
position: relative;
font-size: 20px;
line-height: 18px;
color: #cccccc;
}
.robocrop-sizes-table tbody td.options label {
display: block;
margin-bottom: 10px;
}
.robocrop-sizes-table a.remove {
display: inline-block;
width: 24px;
height: 24px;
border-radius: 12px;
line-height: 24px;
border: 1px solid #cccccc;
color: #cccccc; }
.robocrop-sizes-table a.remove:focus, .robocrop-sizes-table a.remove:hover {
background-color: #dc3232;
color: #fff; }

color: #cccccc;
}
.robocrop-sizes-table a.remove:focus, .robocrop-sizes-table a.remove:hover {
background-color: #dc3232;
color: #fff;
}
.robocrop-sizes-table .scaled {
padding-top: 5px; }
.robocrop-sizes-table .scaled table tr {
background-color: transparent; }
.robocrop-sizes-table .scaled table th.scaled-id, .robocrop-sizes-table .scaled table th.scaled-factor {
width: 50%; }
.robocrop-sizes-table .scaled table td, .robocrop-sizes-table .scaled table th {
padding: 0;
border-style: none; }
.robocrop-sizes-table .scaled table td > input, .robocrop-sizes-table .scaled table th > input {
width: 100%;
margin: 0; }
.robocrop-sizes-table .scaled table td.scaled-id, .robocrop-sizes-table .scaled table td.scaled-factor, .robocrop-sizes-table .scaled table th.scaled-id, .robocrop-sizes-table .scaled table th.scaled-factor {
width: 50%; }

padding-top: 5px;
}
.robocrop-sizes-table .scaled table tr {
background-color: transparent;
}
.robocrop-sizes-table .scaled table th.scaled-id, .robocrop-sizes-table .scaled table th.scaled-factor {
width: 50%;
}
.robocrop-sizes-table .scaled table td, .robocrop-sizes-table .scaled table th {
padding: 0;
border-style: none;
}
.robocrop-sizes-table .scaled table td > input, .robocrop-sizes-table .scaled table th > input {
width: 100%;
margin: 0;
}
.robocrop-sizes-table .scaled table td.scaled-id, .robocrop-sizes-table .scaled table td.scaled-factor, .robocrop-sizes-table .scaled table th.scaled-id, .robocrop-sizes-table .scaled table th.scaled-factor {
width: 50%;
}
.robocrop-sizes-table .scaled-list {
margin-top: 0; }

margin-top: 0;
}
.robocrop-sizes-table .scaled-item + .no-scaled-item {
display: none; }
display: none;
}
2 changes: 1 addition & 1 deletion css/settings/media.min.css

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

2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return "1.2.4";
<?php return "1.2.5";
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Bitbucket Plugin URI: https://github.com/mcguffin/wp-robocrop.git
Description: Focus point based image cropping in WordPress
Author: Jörn Lund
Version: 1.2.4
Version: 1.2.5
Github Plugin URI: mcguffin/wp-robocrop
Requires WP: 4.8
Requires PHP: 5.6
Expand Down
2 changes: 1 addition & 1 deletion js/admin/wp-robocrop.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0fb0ff7

Please sign in to comment.