2015-04-13 15:44:33 +00:00
|
|
|
|
2014-11-18 12:52:00 +00:00
|
|
|
/**
|
|
|
|
* admin.scss
|
|
|
|
* General WooCommerce admin styles. Settings, product data tabs, reports, etc.
|
|
|
|
*/
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Imports
|
|
|
|
*/
|
2016-08-09 16:28:32 +00:00
|
|
|
@import 'mixins';
|
|
|
|
@import 'variables';
|
|
|
|
@import 'animation';
|
|
|
|
@import 'fonts';
|
2013-07-16 15:54:17 +00:00
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Styling begins
|
|
|
|
*/
|
2014-11-13 18:28:15 +00:00
|
|
|
.blockUI.blockOverlay {
|
|
|
|
@include loader();
|
|
|
|
}
|
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
.wc_addons_wrap {
|
2017-12-08 16:10:52 +00:00
|
|
|
max-width: 1200px;
|
2016-09-20 17:42:46 +00:00
|
|
|
|
2017-12-05 16:15:09 +00:00
|
|
|
h1.search-form-title {
|
|
|
|
clear: left;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-11-27 21:11:55 +00:00
|
|
|
form.search-form {
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2017-12-05 16:15:09 +00:00
|
|
|
margin-top: 1em;
|
2017-12-08 13:32:45 +00:00
|
|
|
margin-bottom: 1em;
|
2017-11-27 21:11:55 +00:00
|
|
|
|
|
|
|
input {
|
2017-12-08 16:10:52 +00:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
box-shadow: none;
|
2017-11-27 21:11:55 +00:00
|
|
|
height: 53px;
|
|
|
|
padding-left: 50px;
|
|
|
|
width: 100%;
|
2017-12-08 16:10:52 +00:00
|
|
|
margin: 0;
|
2017-11-27 21:11:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
height: 53px;
|
|
|
|
position: absolute;
|
|
|
|
width: 53px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-30 18:48:57 +00:00
|
|
|
.update-plugins .update-count {
|
|
|
|
background-color: #d54e21;
|
|
|
|
border-radius: 10px;
|
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 9px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 17px;
|
|
|
|
margin: 1px 0 0 2px;
|
|
|
|
padding: 0 6px;
|
|
|
|
vertical-align: text-top;
|
|
|
|
}
|
|
|
|
|
2016-09-20 17:42:46 +00:00
|
|
|
.addons-featured {
|
2017-12-08 16:10:52 +00:00
|
|
|
margin: 0;
|
2017-12-05 16:15:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul.subsubsub.subsubsub {
|
|
|
|
margin: -2px 0 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub li::after {
|
|
|
|
content: '|';
|
|
|
|
}
|
|
|
|
|
|
|
|
.subsubsub li:last-child::after {
|
|
|
|
content: '';
|
2016-09-20 17:42:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item-icon,
|
|
|
|
.addons-column-block-item-icon {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2017-05-30 22:33:13 +00:00
|
|
|
.addons-banner-block,
|
|
|
|
.addons-wcs-banner-block {
|
2016-09-20 17:42:46 +00:00
|
|
|
background: #ffffff;
|
2017-12-08 16:10:52 +00:00
|
|
|
border: 1px solid #ddd;
|
2017-12-08 13:32:45 +00:00
|
|
|
margin: 0 0 1em 0;
|
|
|
|
padding: 2em 2em 1em;
|
2016-09-20 17:42:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block img {
|
|
|
|
height: 62px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block p {
|
|
|
|
margin: 0 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-items {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
margin: 0 -10px 0 -10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item {
|
|
|
|
border: 1px solid #e6e6e6;
|
|
|
|
border-radius: 3px;
|
2017-12-08 13:32:45 +00:00
|
|
|
flex: 1;
|
|
|
|
margin: 1em;
|
2016-09-20 17:42:46 +00:00
|
|
|
min-width: 200px;
|
|
|
|
width: 30%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item-icon {
|
|
|
|
background: #f7f7f7;
|
2016-10-05 19:53:06 +00:00
|
|
|
height: 143px;
|
2016-09-20 17:42:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 184px;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item-content h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
2016-10-05 19:53:06 +00:00
|
|
|
.addons-banner-block-item-content p {
|
|
|
|
margin: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2017-05-30 22:33:13 +00:00
|
|
|
.addons-wcs-banner-block {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-06-05 15:28:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-wcs-banner-block-image {
|
|
|
|
background: #f7f7f7;
|
|
|
|
border: 1px solid #e6e6e6;
|
|
|
|
margin-right: 2em;
|
|
|
|
padding: 4em;
|
2017-05-30 22:33:13 +00:00
|
|
|
|
|
|
|
.addons-img {
|
2017-06-05 15:28:28 +00:00
|
|
|
max-height: 86px;
|
|
|
|
max-width: 97px;
|
2017-05-30 22:33:13 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-31 02:27:36 +00:00
|
|
|
.addons-shipping-methods .addons-wcs-banner-block {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2017-05-30 22:33:13 +00:00
|
|
|
.addons-wcs-banner-block-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-06-05 15:28:28 +00:00
|
|
|
justify-content: space-around;
|
|
|
|
align-self: stretch;
|
|
|
|
padding: 1em 0;
|
|
|
|
|
2017-06-14 10:24:45 +00:00
|
|
|
h1 {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-05 20:22:30 +00:00
|
|
|
p {
|
2017-06-14 10:24:45 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wcs-service-logo {
|
|
|
|
max-width: 40px;
|
2017-06-05 15:28:28 +00:00
|
|
|
}
|
2017-05-30 22:33:13 +00:00
|
|
|
}
|
|
|
|
|
2016-09-20 17:42:46 +00:00
|
|
|
.addons-column-section {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column {
|
2017-12-08 13:32:45 +00:00
|
|
|
flex: 1;
|
|
|
|
width: 50%;
|
2017-12-08 16:10:52 +00:00
|
|
|
padding: 0 .5em;
|
2017-12-08 13:32:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column:nth-child(2) {
|
|
|
|
margin-right: 0;
|
2016-09-20 17:42:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block,
|
|
|
|
.addons-small-dark-block,
|
|
|
|
.addons-column-block {
|
|
|
|
box-sizing: border-box;
|
2017-12-08 16:10:52 +00:00
|
|
|
border: 1px solid #ddd;
|
2017-12-08 13:32:45 +00:00
|
|
|
margin: 0 0 1em;
|
2016-09-20 17:42:46 +00:00
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block img {
|
|
|
|
max-height: 50px;
|
|
|
|
max-width: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block,
|
|
|
|
.addons-column-block {
|
|
|
|
background: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-left {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-right {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item {
|
|
|
|
border-top: 2px solid #f9f9f9;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin: 0 -20px;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-icon {
|
|
|
|
background: #f7f7f7;
|
|
|
|
border: 1px solid #e6e6e6;
|
|
|
|
height: 100px;
|
|
|
|
margin: 0 10px 10px 0;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-content {
|
|
|
|
display: flex;
|
2017-12-08 13:32:45 +00:00
|
|
|
flex: 1;
|
2016-09-20 17:42:46 +00:00
|
|
|
flex-wrap: wrap;
|
|
|
|
height: 20%;
|
|
|
|
justify-content: space-between;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-content h2 {
|
|
|
|
float: left;
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-content a {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-content p {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2017-11-29 17:41:08 +00:00
|
|
|
.addons-banner-block-item,
|
|
|
|
.addons-column-block-item {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-banner-block-item:nth-child(-n+3) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.addons-column-block-item:nth-of-type(-n+3) {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2016-09-20 17:42:46 +00:00
|
|
|
.addons-small-dark-block {
|
|
|
|
background-color: #54687d;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-items {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-item {
|
|
|
|
margin: 0 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-block h1 {
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-block p {
|
|
|
|
color: #fafafa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-item-icon img {
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-item a {
|
|
|
|
margin: 28px auto 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block h1 {
|
|
|
|
margin-top: -12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block img {
|
|
|
|
height: 225px;
|
|
|
|
margin: 0 0 0 -20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block-content {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 100px;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block-buttons {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-light-block-content a {
|
|
|
|
width: 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button {
|
|
|
|
border-radius: 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
height: 37px;
|
|
|
|
line-height: 37px;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
width: 124px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-solid {
|
|
|
|
background-color: #955a89;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-solid:hover {
|
|
|
|
color: #ffffff;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-outline-green {
|
|
|
|
border: 1px solid #73ae39;
|
|
|
|
color: #73ae39;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-outline-green:hover {
|
|
|
|
color: #73ae39;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-outline-white {
|
|
|
|
border: 1px solid #ffffff;
|
|
|
|
color: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-outline-white:hover {
|
|
|
|
color: #ffffff;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-installed {
|
|
|
|
background: #e6e6e6;
|
|
|
|
color: #3c3c3c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button-installed:hover {
|
|
|
|
color: #3c3c3c;
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width : 400px) {
|
|
|
|
.addons-featured {
|
|
|
|
margin: -1% -5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-button {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-small-dark-item {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-column-block-item-icon {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
height: 75px;
|
|
|
|
margin: 0 10px 10px 0;
|
|
|
|
width: 75px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
.products {
|
2013-08-22 11:38:05 +00:00
|
|
|
overflow: hidden;
|
2017-12-08 13:23:08 +00:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
flex-wrap: wrap;
|
2017-12-08 16:10:52 +00:00
|
|
|
margin: 0 -.5em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
li {
|
2013-08-22 11:38:05 +00:00
|
|
|
float: left;
|
2017-12-08 16:10:52 +00:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
margin: 0 .5em 1em !important;
|
2013-08-06 13:04:24 +00:00
|
|
|
padding: 0;
|
|
|
|
vertical-align: top;
|
2017-12-08 13:23:08 +00:00
|
|
|
width: 25%;
|
2017-12-08 16:10:52 +00:00
|
|
|
min-width: 280px;
|
|
|
|
min-height: 220px;
|
2017-12-08 13:23:08 +00:00
|
|
|
flex: 1;
|
2017-12-08 16:10:52 +00:00
|
|
|
overflow: hidden;
|
|
|
|
background: #f5f5f5;
|
|
|
|
box-shadow:
|
|
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.2),
|
|
|
|
inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
2013-08-06 13:04:24 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
|
|
|
display: block;
|
2017-12-08 16:10:52 +00:00
|
|
|
height: 100%;
|
2013-08-06 13:04:24 +00:00
|
|
|
|
2017-12-08 13:23:08 +00:00
|
|
|
.product-img-wrap {
|
|
|
|
background: #fff;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
img {
|
|
|
|
max-width: 258px;
|
2013-11-12 16:15:09 +00:00
|
|
|
max-height: 24px;
|
|
|
|
padding: 17px 20px;
|
2013-08-06 13:04:24 +00:00
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
background: #fff;
|
|
|
|
border-right: 260px solid #fff;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
img.extension-thumb + h3 {
|
2013-08-06 13:04:24 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
.price {
|
|
|
|
display: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-02-17 18:29:42 +00:00
|
|
|
h2, h3 {
|
2013-08-06 13:04:24 +00:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 20px !important;
|
|
|
|
background: #fff;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-06 13:04:24 +00:00
|
|
|
p {
|
|
|
|
padding: 20px !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
border-top: 1px solid #f1f1f1;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2013-12-13 10:45:13 +00:00
|
|
|
background-color: #fff;
|
2013-08-06 13:04:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-12-16 11:43:26 +00:00
|
|
|
|
|
|
|
.storefront {
|
2016-08-09 16:28:32 +00:00
|
|
|
background: url('../images/storefront-bg.jpg') bottom right #f6f6f6;
|
2014-12-16 11:43:26 +00:00
|
|
|
border: 1px solid #ddd;
|
2017-11-29 19:48:58 +00:00
|
|
|
margin-top: 1em;
|
2014-12-16 11:43:26 +00:00
|
|
|
padding: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 278px;
|
|
|
|
height: auto;
|
|
|
|
float: left;
|
|
|
|
margin: 0 20px 0 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
|
2014-12-16 11:43:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
max-width: 750px;
|
|
|
|
}
|
|
|
|
}
|
2013-08-06 13:04:24 +00:00
|
|
|
}
|
|
|
|
|
2016-06-03 13:07:41 +00:00
|
|
|
.woocommerce-message,
|
|
|
|
.woocommerce-BlankState {
|
2014-07-29 15:06:58 +00:00
|
|
|
a.button-primary,
|
|
|
|
button.button-primary {
|
2015-11-06 15:24:45 +00:00
|
|
|
background: #bb77ae;
|
2016-08-09 16:28:32 +00:00
|
|
|
border-color: #a36597;
|
|
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
2012-02-29 22:13:27 +00:00
|
|
|
color: #fff;
|
2016-08-09 16:28:32 +00:00
|
|
|
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
|
2016-12-13 23:30:47 +00:00
|
|
|
display: inline-block;
|
2015-11-06 15:24:45 +00:00
|
|
|
|
2016-06-03 11:22:05 +00:00
|
|
|
&:hover, &:focus, &:active {
|
2016-08-09 16:28:32 +00:00
|
|
|
background: #a36597;
|
|
|
|
border-color: #a36597;
|
|
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
2012-02-29 22:13:27 +00:00
|
|
|
}
|
|
|
|
}
|
2016-06-03 13:07:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-message {
|
|
|
|
position: relative;
|
|
|
|
border-left-color: #cc99c2 !important;
|
|
|
|
overflow: hidden;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
a.skip,
|
|
|
|
a.docs {
|
2015-02-02 12:41:04 +00:00
|
|
|
text-decoration: none !important;
|
2013-11-19 11:22:59 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-15 15:58:00 +00:00
|
|
|
a.woocommerce-message-close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
padding: 10px 15px 10px 21px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.23076923;
|
|
|
|
text-decoration: none;
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-03-15 15:58:00 +00:00
|
|
|
position: absolute;
|
2016-08-09 16:28:32 +00:00
|
|
|
top: 8px;
|
|
|
|
left: 0;
|
|
|
|
transition: all 0.1s ease-in-out;
|
2016-03-15 15:58:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-29 22:13:27 +00:00
|
|
|
.twitter-share-button {
|
2014-08-27 20:59:33 +00:00
|
|
|
margin-top: -3px;
|
|
|
|
margin-left: 3px;
|
2012-02-29 22:13:27 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-12-03 10:14:00 +00:00
|
|
|
#variable_product_options #message, #variable_product_options .notice {
|
2012-02-29 22:13:27 +00:00
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
2014-10-17 19:39:33 +00:00
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
.wrap.woocommerce div.updated,
|
|
|
|
.wrap.woocommerce div.error {
|
2011-09-20 13:04:40 +00:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-01-10 14:55:08 +00:00
|
|
|
mark.amount {
|
|
|
|
background: transparent none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-08-15 09:56:19 +00:00
|
|
|
.simplify-commerce-banner {
|
|
|
|
overflow: hidden;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-08-15 09:56:19 +00:00
|
|
|
img {
|
|
|
|
float: right;
|
|
|
|
padding: 15px 0;
|
|
|
|
margin-left: 1em;
|
|
|
|
width: 200px;
|
2012-11-20 16:49:05 +00:00
|
|
|
}
|
2012-03-05 17:19:00 +00:00
|
|
|
}
|
2011-09-20 13:04:40 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
/**
|
|
|
|
* Help Tip
|
|
|
|
*/
|
|
|
|
.woocommerce-help-tip {
|
|
|
|
color: #666;
|
|
|
|
display: inline-block;
|
2016-03-08 10:51:57 +00:00
|
|
|
font-size: 1.1em;
|
2015-10-23 03:40:52 +00:00
|
|
|
font-style: normal;
|
|
|
|
height: 16px;
|
|
|
|
line-height: 16px;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 16px;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
@include icon_dashicons( '\f223' );
|
2015-10-23 03:40:52 +00:00
|
|
|
cursor: help;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-13 15:08:19 +00:00
|
|
|
h2 .woocommerce-help-tip {
|
|
|
|
margin-top: -5px;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-left: 0.25em;
|
2016-05-13 15:08:19 +00:00
|
|
|
}
|
|
|
|
|
2012-03-23 16:28:27 +00:00
|
|
|
table.wc_status_table {
|
2014-10-24 11:49:27 +00:00
|
|
|
margin-bottom: 1em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-02-17 18:23:50 +00:00
|
|
|
h2 {
|
|
|
|
font-size: 14px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tr:nth-child( 2n ) {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
background: #fcfcfc;
|
2013-11-08 11:50:45 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-03-23 16:28:27 +00:00
|
|
|
th {
|
2014-11-13 14:16:32 +00:00
|
|
|
font-weight: 700;
|
2014-10-24 11:49:27 +00:00
|
|
|
padding: 9px;
|
2012-03-23 16:28:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-02-02 15:56:00 +00:00
|
|
|
td:first-child {
|
2014-10-24 11:49:27 +00:00
|
|
|
width: 33%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-10-24 11:49:27 +00:00
|
|
|
td.help {
|
|
|
|
width: 1em;
|
2013-02-02 15:56:00 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-08-15 11:05:34 +00:00
|
|
|
td, th {
|
2013-02-02 15:56:00 +00:00
|
|
|
font-size: 1.1em;
|
2017-08-15 11:05:34 +00:00
|
|
|
font-weight: normal;
|
|
|
|
|
|
|
|
&.run-tool {
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong.name {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
2013-02-02 15:56:00 +00:00
|
|
|
|
2012-03-23 16:28:27 +00:00
|
|
|
mark {
|
|
|
|
background: transparent none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-03-23 16:28:27 +00:00
|
|
|
mark.yes {
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $green;
|
2012-03-23 16:28:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-03-23 16:28:27 +00:00
|
|
|
mark.no {
|
|
|
|
color: #999;
|
2012-08-02 22:13:20 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-08-15 11:05:34 +00:00
|
|
|
mark.error, .red {
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $red;
|
2012-03-23 16:28:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-03-24 20:39:49 +00:00
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2012-03-23 16:28:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-10-24 11:49:27 +00:00
|
|
|
.help_tip {
|
|
|
|
cursor: help;
|
|
|
|
}
|
2012-03-23 16:28:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-08-30 14:39:54 +00:00
|
|
|
table.wc_status_table--tools {
|
|
|
|
td, th {
|
|
|
|
padding: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-24 20:39:49 +00:00
|
|
|
#debug-report {
|
|
|
|
display: none;
|
2013-11-22 17:20:25 +00:00
|
|
|
margin: 10px 0;
|
2013-10-10 17:16:06 +00:00
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-10-10 17:16:06 +00:00
|
|
|
textarea {
|
|
|
|
font-family: monospace;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
height: 300px;
|
2013-11-22 17:20:25 +00:00
|
|
|
padding: 20px;
|
2013-10-10 17:16:06 +00:00
|
|
|
border-radius: 0;
|
|
|
|
resize: none;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 20px;
|
|
|
|
outline: 0;
|
|
|
|
}
|
2012-03-24 20:39:49 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-12-26 11:11:18 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* DB log viewer
|
|
|
|
*/
|
|
|
|
.wp-list-table.logs {
|
|
|
|
|
|
|
|
.log-level {
|
|
|
|
display: inline;
|
|
|
|
padding: .2em .6em .3em;
|
|
|
|
font-size: 80%;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: baseline;
|
|
|
|
border-radius: .2em;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add color to levels
|
|
|
|
*
|
|
|
|
* Descending severity:
|
|
|
|
* emergency, alert -> red
|
|
|
|
* critical, error -> orange
|
|
|
|
* warning, notice -> yellow
|
|
|
|
* info -> blue
|
|
|
|
* debug -> gree
|
|
|
|
*/
|
|
|
|
|
|
|
|
.log-level--emergency,
|
|
|
|
.log-level--alert {
|
|
|
|
background-color: #ff4136;
|
|
|
|
}
|
|
|
|
.log-level--critical,
|
|
|
|
.log-level--error {
|
|
|
|
background-color: #ff851b;
|
|
|
|
}
|
|
|
|
.log-level--warning,
|
|
|
|
.log-level--notice {
|
|
|
|
color: #222;
|
|
|
|
background-color: #ffdc00;
|
|
|
|
}
|
|
|
|
.log-level--info {
|
|
|
|
background-color: #0074d9;
|
|
|
|
}
|
|
|
|
.log-level--debug {
|
|
|
|
background-color: #3d9970;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Adjust log table columns only when table is not collapsed
|
|
|
|
@media screen and ( min-width: 783px ) {
|
2016-12-23 07:58:39 +00:00
|
|
|
.column-timestamp {
|
2016-12-26 11:11:18 +00:00
|
|
|
width: 18%;
|
2016-12-23 07:58:39 +00:00
|
|
|
}
|
|
|
|
.column-level {
|
2016-12-26 11:11:18 +00:00
|
|
|
width: 14%;
|
2016-12-23 07:58:39 +00:00
|
|
|
}
|
|
|
|
.column-source {
|
|
|
|
width: 15%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-05-28 10:12:35 +00:00
|
|
|
#log-viewer-select {
|
|
|
|
padding: 10px 0 8px;
|
2016-08-02 13:42:27 +00:00
|
|
|
line-height: 28px;
|
2017-04-04 16:30:16 +00:00
|
|
|
h2 a {
|
|
|
|
vertical-align: middle;
|
2016-08-02 13:42:27 +00:00
|
|
|
}
|
2014-05-28 10:12:35 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-05-28 10:12:35 +00:00
|
|
|
#log-viewer {
|
2016-08-19 21:48:49 +00:00
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #e5e5e5;
|
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
|
|
|
padding: 5px 20px;
|
|
|
|
|
|
|
|
pre {
|
|
|
|
font-family: monospace;
|
|
|
|
white-space: pre-wrap;
|
2014-05-28 10:12:35 +00:00
|
|
|
}
|
|
|
|
}
|
2012-03-23 16:28:27 +00:00
|
|
|
|
2012-02-20 18:19:27 +00:00
|
|
|
.inline-edit-product.quick-edit-row {
|
2014-11-13 09:34:32 +00:00
|
|
|
.inline-edit-col-center,
|
|
|
|
.inline-edit-col-right {
|
2012-02-20 14:29:51 +00:00
|
|
|
float: right !important;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-20 14:29:51 +00:00
|
|
|
#woocommerce-fields.inline-edit-col {
|
|
|
|
clear: left;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
label.featured,
|
|
|
|
label.manage_stock {
|
2012-02-20 14:29:51 +00:00
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.dimensions div {
|
|
|
|
display: block;
|
|
|
|
margin: 0.2em 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
span.title {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
width: 5em;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
span.input-text-wrap {
|
|
|
|
display: block;
|
|
|
|
margin-left: 5em;
|
2012-02-20 14:29:51 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-20 14:29:51 +00:00
|
|
|
.text {
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2012-02-20 14:29:51 +00:00
|
|
|
width: 99%;
|
|
|
|
float: left;
|
|
|
|
margin: 1px 1% 1px 1px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-20 14:29:51 +00:00
|
|
|
.length, .width, .height {
|
|
|
|
width: 32.33%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-06-10 07:48:29 +00:00
|
|
|
.height {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2012-02-20 14:29:51 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-20 18:19:27 +00:00
|
|
|
#woocommerce-fields-bulk.inline-edit-col {
|
|
|
|
label {
|
|
|
|
clear: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-20 18:19:27 +00:00
|
|
|
.inline-edit-group {
|
2014-11-21 06:37:14 +00:00
|
|
|
label {
|
2012-02-20 18:19:27 +00:00
|
|
|
clear: none;
|
|
|
|
width: 49%;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.2em 0;
|
2012-02-20 18:19:27 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&.dimensions label {
|
|
|
|
width: 75%;
|
|
|
|
max-width: 75%;
|
2014-11-21 06:37:14 +00:00
|
|
|
}
|
2012-02-20 18:19:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.regular_price,
|
|
|
|
.sale_price,
|
|
|
|
.weight,
|
2014-11-21 06:37:14 +00:00
|
|
|
.stock,
|
|
|
|
.length {
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2012-02-20 18:19:27 +00:00
|
|
|
width: 100%;
|
2014-11-21 06:37:14 +00:00
|
|
|
margin-left: 4.4em;
|
2012-02-20 18:19:27 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.length,
|
|
|
|
.width,
|
|
|
|
.height {
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-11-21 06:37:14 +00:00
|
|
|
width: 25%;
|
2012-02-20 18:19:27 +00:00
|
|
|
}
|
|
|
|
}
|
2012-02-20 14:29:51 +00:00
|
|
|
|
2012-12-11 17:02:08 +00:00
|
|
|
.column-coupon_code {
|
|
|
|
line-height: 2.25em;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
ul.wc_coupon_list,
|
|
|
|
.column-coupon_code {
|
2012-12-11 17:02:08 +00:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-08-10 20:29:32 +00:00
|
|
|
ul.wc_coupon_list {
|
|
|
|
padding-bottom: 5px;
|
2014-12-09 16:06:34 +00:00
|
|
|
|
2017-08-10 20:29:32 +00:00
|
|
|
li {
|
|
|
|
margin: 0;
|
2017-08-09 21:55:35 +00:00
|
|
|
|
2017-08-10 20:29:32 +00:00
|
|
|
&.code {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
padding-right: 2em;
|
|
|
|
padding-left: .5em;
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
-webkit-box-shadow: 0 1px 0 #dfdfdf;
|
|
|
|
box-shadow: 0 1px 0 #dfdfdf;
|
|
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
|
|
|
|
.tips {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: #888;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
}
|
2017-08-09 21:55:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.remove-coupon {
|
2017-08-10 20:29:32 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: #888;
|
|
|
|
position: absolute;
|
|
|
|
top: 7px;
|
|
|
|
right: 20px;
|
|
|
|
|
|
|
|
/*rtl:raw:
|
|
|
|
left: 7px;
|
|
|
|
*/
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f158' );
|
|
|
|
}
|
|
|
|
&:hover::before {
|
|
|
|
color: $red;
|
|
|
|
}
|
2017-08-09 21:55:35 +00:00
|
|
|
}
|
|
|
|
}
|
2014-12-09 16:06:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-11 17:02:08 +00:00
|
|
|
ul.wc_coupon_list_block {
|
|
|
|
margin: 0;
|
|
|
|
padding-bottom: 2px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-11 17:02:08 +00:00
|
|
|
li {
|
|
|
|
border-top: 1px solid #fff;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
line-height: 2.5em;
|
|
|
|
margin: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.5em 0;
|
2012-12-11 17:02:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-11 17:02:08 +00:00
|
|
|
li:first-child {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-top: 0;
|
2012-12-11 17:02:08 +00:00
|
|
|
padding-top: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-11 17:02:08 +00:00
|
|
|
li:last-child {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-bottom: 0;
|
2012-12-11 17:02:08 +00:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-08 14:24:07 +00:00
|
|
|
.button.wc-reload {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2014-11-13 09:34:32 +00:00
|
|
|
padding: 0;
|
2016-03-08 10:01:05 +00:00
|
|
|
height: 28px;
|
|
|
|
width: 28px !important;
|
2013-07-17 12:03:54 +00:00
|
|
|
display: inline-block;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
@include icon_dashicons( '\f345' );
|
2016-03-08 10:01:05 +00:00
|
|
|
line-height: 28px;
|
2013-02-08 14:24:07 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
#woocommerce-order-data {
|
2015-11-06 15:51:17 +00:00
|
|
|
.hndle,
|
2014-11-13 09:34:32 +00:00
|
|
|
.handlediv {
|
2012-12-13 00:47:40 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
.inside {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
#order_data {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 23px 24px 12px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
h2 {
|
|
|
|
margin: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', sans-serif;
|
2012-12-13 00:47:40 +00:00
|
|
|
font-size: 21px;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.2;
|
|
|
|
text-shadow: 1px 1px 1px white;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-02-17 17:02:27 +00:00
|
|
|
h3 {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3, h4 {
|
2012-12-13 00:47:40 +00:00
|
|
|
color: #333;
|
|
|
|
margin: 1.33em 0 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
p {
|
|
|
|
color: #777;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
p.order_number {
|
|
|
|
margin: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', sans-serif;
|
2012-12-13 00:47:40 +00:00
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.6em;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
.order_data_column_container {
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
.order_data_column {
|
|
|
|
width: 32%;
|
|
|
|
padding: 0 2% 0 0;
|
2011-11-25 18:44:44 +00:00
|
|
|
float: left;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
> h3 span {
|
|
|
|
display: block;
|
2016-11-17 12:38:15 +00:00
|
|
|
}
|
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
p {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.address strong {
|
|
|
|
display: block;
|
2013-08-16 15:43:26 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
.form-field {
|
|
|
|
float: left;
|
2017-02-21 11:39:17 +00:00
|
|
|
clear: left;
|
2012-03-26 17:30:00 +00:00
|
|
|
width: 48%;
|
2011-11-25 18:44:44 +00:00
|
|
|
padding: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 9px 0 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
padding: 0 0 3px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
2011-11-25 18:44:44 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-01-12 15:43:13 +00:00
|
|
|
.select2-container {
|
2012-03-26 17:30:00 +00:00
|
|
|
width: 100% !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-01-30 11:48:22 +00:00
|
|
|
.date-picker {
|
2013-08-16 15:43:26 +00:00
|
|
|
width: 50%;
|
2012-03-26 17:30:00 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.hour,
|
|
|
|
.minute {
|
2016-08-01 11:05:34 +00:00
|
|
|
width: 3.5em;
|
2012-03-26 17:30:00 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-13 00:47:40 +00:00
|
|
|
small {
|
|
|
|
display: block;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 5px 0 0;
|
2012-12-13 00:47:40 +00:00
|
|
|
color: #999;
|
|
|
|
}
|
2012-03-26 17:30:00 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-02-21 11:39:17 +00:00
|
|
|
.form-field.last,
|
2014-11-13 09:34:32 +00:00
|
|
|
._billing_last_name_field,
|
|
|
|
._billing_address_2_field,
|
|
|
|
._billing_postcode_field,
|
|
|
|
._billing_state_field,
|
|
|
|
._billing_phone_field,
|
|
|
|
._shipping_last_name_field,
|
|
|
|
._shipping_address_2_field,
|
|
|
|
._shipping_postcode_field,
|
|
|
|
._shipping_state_field {
|
2012-12-13 00:47:40 +00:00
|
|
|
float: right;
|
2017-02-21 11:39:17 +00:00
|
|
|
clear: right;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-02-21 11:39:17 +00:00
|
|
|
.form-field-wide,
|
2014-11-13 09:34:32 +00:00
|
|
|
._billing_company_field,
|
|
|
|
._shipping_company_field,
|
|
|
|
._transaction_id_field {
|
2011-11-25 18:44:44 +00:00
|
|
|
width: 100%;
|
2017-02-21 11:39:17 +00:00
|
|
|
clear: both;
|
|
|
|
|
|
|
|
input,
|
|
|
|
textarea,
|
|
|
|
select,
|
|
|
|
.wc-enhanced-select,
|
2017-07-13 16:04:40 +00:00
|
|
|
.wc-category-search,
|
2017-02-21 11:39:17 +00:00
|
|
|
.wc-customer-search {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-02-21 11:39:17 +00:00
|
|
|
p.none_set {
|
|
|
|
color: #999;
|
2012-02-26 16:31:58 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
div.edit_address {
|
|
|
|
display: none;
|
2011-11-26 12:32:44 +00:00
|
|
|
zoom: 1;
|
2012-12-13 00:47:40 +00:00
|
|
|
padding-right: 1px;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2015-01-13 12:27:07 +00:00
|
|
|
|
2015-10-30 13:29:13 +00:00
|
|
|
.wc-customer-user, .wc-order-status {
|
2015-01-13 12:27:07 +00:00
|
|
|
label a {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
2016-11-17 12:38:15 +00:00
|
|
|
|
|
|
|
a.edit_address {
|
2015-05-15 11:52:23 +00:00
|
|
|
width: 14px;
|
|
|
|
height: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 14px 0 0;
|
2015-05-15 11:52:23 +00:00
|
|
|
margin: 0 0 0 6px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
color: #999;
|
|
|
|
border: 0;
|
|
|
|
float: right;
|
|
|
|
&:hover, &:focus {
|
|
|
|
color: #000;
|
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
2015-05-15 11:52:23 +00:00
|
|
|
font-family: 'WooCommerce';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: top;
|
|
|
|
line-height: 14px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
a.edit_address::after {
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
content: '\f464';
|
2013-08-16 15:43:26 +00:00
|
|
|
}
|
2016-11-17 12:38:15 +00:00
|
|
|
|
|
|
|
.billing-same-as-shipping,
|
|
|
|
.load_customer_shipping,
|
|
|
|
.load_customer_billing {
|
|
|
|
font-size: 13px;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.load_customer_shipping {
|
|
|
|
margin-right: .3em;
|
|
|
|
}
|
2013-08-16 15:43:26 +00:00
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-09 15:16:18 +00:00
|
|
|
.order_actions {
|
2011-11-25 18:44:44 +00:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-09 15:16:18 +00:00
|
|
|
li {
|
|
|
|
border-top: 1px solid #fff;
|
|
|
|
border-bottom: 1px solid #ddd;
|
2011-11-25 18:44:44 +00:00
|
|
|
padding: 6px 0;
|
2011-08-09 15:16:18 +00:00
|
|
|
margin: 0;
|
2012-08-02 22:13:20 +00:00
|
|
|
line-height: 1.6em;
|
2011-11-25 18:44:44 +00:00
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
text-align: center;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
a {
|
|
|
|
float: none;
|
|
|
|
text-align: center;
|
2012-10-12 14:30:20 +00:00
|
|
|
text-decoration: underline;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
&.wide {
|
|
|
|
width: auto;
|
|
|
|
float: none;
|
|
|
|
clear: both;
|
|
|
|
padding: 6px;
|
|
|
|
text-align: left;
|
2012-10-12 14:30:20 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-10-12 14:30:20 +00:00
|
|
|
#delete-action {
|
|
|
|
line-height: 25px;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: left;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-10-12 14:30:20 +00:00
|
|
|
.save_order {
|
|
|
|
float: right;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-12 15:32:47 +00:00
|
|
|
&#actions {
|
|
|
|
overflow: hidden;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-12 15:32:47 +00:00
|
|
|
.button {
|
2013-02-08 14:24:07 +00:00
|
|
|
width: 24px;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2012-12-12 15:32:47 +00:00
|
|
|
float: right;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-12 15:32:47 +00:00
|
|
|
select {
|
2013-02-08 14:24:07 +00:00
|
|
|
width: 225px;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2012-12-12 15:32:47 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-10 17:11:11 +00:00
|
|
|
#woocommerce-order-items {
|
2011-08-09 15:16:18 +00:00
|
|
|
.inside {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
background: #fefefe;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-07 15:45:08 +00:00
|
|
|
.wc-order-data-row {
|
2016-08-09 16:28:32 +00:00
|
|
|
border-bottom: 1px solid #dfdfdf;
|
2016-03-22 14:54:02 +00:00
|
|
|
padding: 1.5em 2em;
|
2014-11-13 09:34:32 +00:00
|
|
|
background: #f8f8f8;
|
2014-09-22 17:35:48 +00:00
|
|
|
@include clearfix();
|
2014-07-07 15:45:08 +00:00
|
|
|
line-height: 2em;
|
|
|
|
text-align: right;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-07 15:45:08 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
line-height: 2em;
|
|
|
|
}
|
2014-12-09 16:06:34 +00:00
|
|
|
|
|
|
|
.wc-used-coupons {
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.tips {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-23 10:47:02 +00:00
|
|
|
.wc-used-coupons {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-14 18:23:56 +00:00
|
|
|
.wc-order-totals {
|
2014-07-17 21:17:42 +00:00
|
|
|
float: right;
|
2014-07-23 10:47:02 +00:00
|
|
|
width: 50%;
|
2014-07-17 21:17:42 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-03-22 14:54:02 +00:00
|
|
|
text-align: right;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-07 15:45:08 +00:00
|
|
|
.amount {
|
2014-11-13 14:16:32 +00:00
|
|
|
font-weight: 700;
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-14 18:23:56 +00:00
|
|
|
.label {
|
2014-07-07 15:45:08 +00:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-17 21:17:42 +00:00
|
|
|
.total {
|
2014-07-07 15:45:08 +00:00
|
|
|
font-size: 1em !important;
|
|
|
|
width: 10em;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0 0 0 0.5em;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-07-17 21:17:42 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
input[type='text'] {
|
2014-07-17 21:17:42 +00:00
|
|
|
width: 96%;
|
|
|
|
float: right;
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-14 18:23:56 +00:00
|
|
|
.refunded-total {
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $red;
|
2014-07-14 18:23:56 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-17 21:17:42 +00:00
|
|
|
.refund-actions {
|
|
|
|
margin-top: 5px;
|
|
|
|
padding-top: 12px;
|
2016-08-09 16:28:32 +00:00
|
|
|
border-top: 1px solid #dfdfdf;
|
2014-07-17 21:17:42 +00:00
|
|
|
|
2014-07-14 18:23:56 +00:00
|
|
|
.button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-14 18:23:56 +00:00
|
|
|
.cancel-action {
|
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.wc-order-item-bulk-edit .cancel-action {
|
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
2016-03-22 17:13:39 +00:00
|
|
|
}
|
|
|
|
|
2011-12-30 14:00:41 +00:00
|
|
|
.add_meta {
|
2014-07-17 21:17:42 +00:00
|
|
|
margin-left: 0 !important;
|
2011-12-30 14:00:41 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-09 15:16:18 +00:00
|
|
|
h3 small {
|
|
|
|
color: #999;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-23 16:41:35 +00:00
|
|
|
.amount {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-09-18 10:32:25 +00:00
|
|
|
.add-items {
|
|
|
|
.description {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
.button {
|
|
|
|
float: left;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-right: 0.25em;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
|
|
|
.button-primary {
|
|
|
|
float: none;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-09-18 10:32:25 +00:00
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
#woocommerce-order-items {
|
|
|
|
.inside {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
.hndle, .handlediv {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.woocommerce_order_items_wrapper {
|
|
|
|
margin: 0;
|
2016-09-26 15:08:54 +00:00
|
|
|
overflow-x: auto;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
table.woocommerce_order_items {
|
|
|
|
width: 100%;
|
|
|
|
background: #fff;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
thead th {
|
|
|
|
text-align: left;
|
|
|
|
padding: 1em;
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
background: #f8f8f8;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
&.sortable {
|
|
|
|
cursor: pointer;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&:last-child {
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
.wc-arrow {
|
|
|
|
float: right;
|
|
|
|
position: relative;
|
|
|
|
margin-right: -1em;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tbody th, td {
|
|
|
|
padding: 1.5em 1em 1em;
|
|
|
|
text-align: left;
|
|
|
|
line-height: 1.5em;
|
|
|
|
vertical-align: top;
|
|
|
|
border-bottom: 1px solid #f8f8f8;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
select {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
input, textarea {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 4px;
|
|
|
|
color: #555;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
|
|
|
&:first-child {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
2014-07-08 09:51:10 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 17:13:39 +00:00
|
|
|
tbody tr {
|
|
|
|
td {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
&.selected {
|
2016-08-09 16:28:32 +00:00
|
|
|
background: #f5ebf3;
|
2016-03-22 17:13:39 +00:00
|
|
|
td {
|
2016-08-09 16:28:32 +00:00
|
|
|
border-color: #e6cce1;
|
2016-03-22 17:13:39 +00:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tbody tr:last-child td {
|
|
|
|
border-bottom: 1px solid #dfdfdf;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tbody tr:first-child td {
|
|
|
|
border-top: 8px solid #f8f8f8;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tbody#order_line_items tr:first-child td {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
td.thumb {
|
|
|
|
text-align: left;
|
2016-03-21 18:35:00 +00:00
|
|
|
width: 38px;
|
2016-03-22 17:13:39 +00:00
|
|
|
padding-bottom: 1.5em;
|
2016-03-22 14:54:02 +00:00
|
|
|
.wc-order-item-thumbnail {
|
2016-03-21 18:35:00 +00:00
|
|
|
width: 38px;
|
2016-03-22 14:54:02 +00:00
|
|
|
height: 38px;
|
|
|
|
border: 2px solid #e8e8e8;
|
|
|
|
background: #f8f8f8;
|
|
|
|
color: #ccc;
|
|
|
|
position: relative;
|
|
|
|
font-size: 21px;
|
2016-03-21 14:58:14 +00:00
|
|
|
display: block;
|
2016-03-22 14:54:02 +00:00
|
|
|
text-align: center;
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f128' );
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 38px;
|
|
|
|
line-height: 38px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
|
|
|
td.name {
|
2016-03-22 17:13:39 +00:00
|
|
|
.wc-order-item-sku, .wc-order-item-variation {
|
2016-03-22 14:54:02 +00:00
|
|
|
display: block;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: 0.5em;
|
2016-03-22 17:13:39 +00:00
|
|
|
font-size: 0.92em !important;
|
2016-06-22 14:38:30 +00:00
|
|
|
color: #888;
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
|
|
|
|
.item {
|
|
|
|
min-width: 200px;
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.center,
|
|
|
|
.variation-id {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.cost,
|
|
|
|
.tax,
|
|
|
|
.quantity,
|
|
|
|
.line_cost,
|
|
|
|
.line_tax,
|
|
|
|
.tax_class,
|
|
|
|
.item_cost {
|
|
|
|
text-align: right;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
label {
|
|
|
|
white-space: nowrap;
|
|
|
|
color: #999;
|
|
|
|
font-size: 0.833em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
input {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-07 15:45:08 +00:00
|
|
|
input {
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 70px;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: right;
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
select {
|
|
|
|
width: 85px;
|
|
|
|
height: 26px;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.split-input {
|
|
|
|
display: inline-block;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ddd;
|
2016-08-09 16:28:32 +00:00
|
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
2016-03-22 14:54:02 +00:00
|
|
|
margin: 1px 0;
|
|
|
|
min-width: 80px;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 1em;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
div.input {
|
2016-03-21 18:35:00 +00:00
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
2016-03-22 14:54:02 +00:00
|
|
|
label {
|
|
|
|
font-size: 0.75em;
|
|
|
|
padding: 4px 6px 0;
|
|
|
|
color: #555;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 6px 4px;
|
|
|
|
color: #555;
|
|
|
|
background: transparent;
|
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
color: #ddd;
|
|
|
|
}
|
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
div.input:first-child {
|
|
|
|
border-bottom: 1px dashed #ddd;
|
|
|
|
background: #fff;
|
|
|
|
label {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
}
|
2014-07-22 15:44:02 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.view {
|
2016-08-09 16:28:32 +00:00
|
|
|
white-space: nowrap;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.edit {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
small.times, del, .wc-order-item-taxes, .wc-order-item-discount, .wc-order-item-refund-fields {
|
|
|
|
font-size: 0.92em !important;
|
2016-06-22 14:38:30 +00:00
|
|
|
color: #888;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.wc-order-item-taxes, .wc-order-item-refund-fields {
|
|
|
|
margin: 0;
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
}
|
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.wc-order-item-discount {
|
|
|
|
display: block;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: 0.5em;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
small.times {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-right: 0.25em;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.quantity {
|
2014-07-07 15:45:08 +00:00
|
|
|
text-align: center;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
input {
|
|
|
|
text-align: center;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
span.subtotal {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
td.tax_class,
|
|
|
|
th.tax_class {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.calculated {
|
|
|
|
border-color: #ae8ca2;
|
|
|
|
border-style: dotted;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
table.meta {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
table.meta,
|
|
|
|
table.display_meta {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.5em 0 0;
|
2016-03-22 17:13:39 +00:00
|
|
|
font-size: 0.92em !important;
|
2016-06-22 14:38:30 +00:00
|
|
|
color: #888;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tr {
|
|
|
|
th {
|
|
|
|
border: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 4px 0.5em 0;
|
2014-07-07 15:45:08 +00:00
|
|
|
line-height: 1.5em;
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 20%;
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
td {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 4px 0.5em 0;
|
2016-03-22 14:54:02 +00:00
|
|
|
border: 0;
|
|
|
|
line-height: 1.5em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
width: 100%;
|
|
|
|
height: 4em;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus + textarea {
|
|
|
|
border-top-color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0 0 0.5em;
|
2016-03-22 14:54:02 +00:00
|
|
|
line-height: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.refund_by {
|
|
|
|
border-bottom: 1px dotted #999;
|
|
|
|
}
|
2014-08-03 00:59:16 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tr.fee .thumb div {
|
|
|
|
@include ir();
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1em;
|
|
|
|
vertical-align: middle;
|
2017-08-11 12:09:40 +00:00
|
|
|
margin: 0 auto;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::before {
|
|
|
|
@include icon( '\e007' );
|
|
|
|
color: #ccc;
|
2014-07-22 13:27:47 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tr.refund .thumb div {
|
|
|
|
@include ir();
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1em;
|
|
|
|
vertical-align: middle;
|
2017-08-11 12:09:40 +00:00
|
|
|
margin: 0 auto;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::before {
|
|
|
|
@include icon( '\e014' );
|
|
|
|
color: #ccc;
|
2014-07-22 13:27:47 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tr.shipping {
|
|
|
|
.thumb div {
|
|
|
|
@include ir();
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1em;
|
|
|
|
vertical-align: middle;
|
2017-08-11 12:09:40 +00:00
|
|
|
margin: 0 auto;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon( '\e01a' );
|
2016-03-22 17:13:39 +00:00
|
|
|
color: #ccc;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.shipping_method_name,
|
|
|
|
.shipping_method {
|
|
|
|
width: 100%;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0 0 0.5em;
|
2014-07-22 13:27:47 +00:00
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
th.line_tax {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
th.line_tax,
|
|
|
|
td.line_tax {
|
|
|
|
.delete-order-tax {
|
|
|
|
@include ir();
|
|
|
|
float: right;
|
2016-05-05 16:54:12 +00:00
|
|
|
font-size: 14px;
|
|
|
|
visibility: hidden;
|
|
|
|
margin: 3px -18px 0 0;
|
2016-03-22 14:54:02 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f153' );
|
2016-05-05 16:54:12 +00:00
|
|
|
color: #999;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: $red;
|
2016-03-22 14:54:02 +00:00
|
|
|
}
|
2014-07-22 10:54:59 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover .delete-order-tax {
|
|
|
|
visibility: visible;
|
2014-07-22 10:54:59 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
small.refunded {
|
|
|
|
display: block;
|
|
|
|
color: $red;
|
|
|
|
white-space: nowrap;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: 0.5em;
|
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f171' );
|
2016-03-22 14:54:02 +00:00
|
|
|
position: relative;
|
|
|
|
top: auto;
|
|
|
|
left: auto;
|
|
|
|
margin: -1px 4px 0 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 1em;
|
2014-07-21 01:57:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-07-18 20:24:34 +00:00
|
|
|
}
|
2016-03-21 18:35:00 +00:00
|
|
|
.wc-order-edit-line-item {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2016-03-21 14:58:14 +00:00
|
|
|
.wc-order-edit-line-item-actions {
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 44px;
|
2016-03-21 14:58:14 +00:00
|
|
|
text-align: right;
|
2016-03-21 18:35:00 +00:00
|
|
|
padding-left: 0;
|
|
|
|
vertical-align: middle;
|
2016-03-21 14:58:14 +00:00
|
|
|
a {
|
|
|
|
color: #ccc;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: pointer;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 0 0.5em;
|
2016-03-21 18:35:00 +00:00
|
|
|
margin: 0 0 0 12px;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-decoration: none;
|
|
|
|
line-height: 16px;
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 16px;
|
|
|
|
overflow: hidden;
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-03-21 18:35:00 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 16px;
|
2016-03-22 14:54:02 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
|
|
|
&:hover {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-03-21 14:58:14 +00:00
|
|
|
color: #999;
|
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2016-03-22 14:54:02 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.edit-order-item::before {
|
|
|
|
@include icon_dashicons( '\f464' );
|
|
|
|
position: relative;
|
2013-08-15 15:49:09 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-21 14:58:14 +00:00
|
|
|
.delete-order-item,
|
|
|
|
.delete_refund {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f158' );
|
2016-03-21 18:35:00 +00:00
|
|
|
position: relative;
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: $red;
|
2016-03-21 14:58:14 +00:00
|
|
|
}
|
|
|
|
}
|
2014-07-18 20:24:34 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
tbody tr .wc-order-edit-line-item-actions {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
tbody tr:hover .wc-order-edit-line-item-actions {
|
|
|
|
visibility: visible;
|
2014-07-18 20:24:34 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-03-22 14:54:02 +00:00
|
|
|
.wc-order-totals .wc-order-edit-line-item-actions {
|
|
|
|
width: 1.5em;
|
|
|
|
visibility: visible !important;
|
|
|
|
a {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-07-18 20:24:34 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-07-07 15:45:08 +00:00
|
|
|
|
2012-02-25 19:48:09 +00:00
|
|
|
#woocommerce-order-downloads {
|
|
|
|
.buttons {
|
2014-11-13 09:34:32 +00:00
|
|
|
float: left;
|
2012-02-25 19:48:09 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
vertical-align: top;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.add_item_id,
|
2015-01-12 15:43:13 +00:00
|
|
|
.select2-container {
|
2012-02-25 19:48:09 +00:00
|
|
|
width: 400px !important;
|
|
|
|
margin-right: 9px;
|
|
|
|
vertical-align: top;
|
2014-11-13 09:34:32 +00:00
|
|
|
float: left;
|
2012-02-25 19:48:09 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 19:48:09 +00:00
|
|
|
button {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 2px 0 0;
|
2012-02-25 19:48:09 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 19:48:09 +00:00
|
|
|
h3 small {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
#poststuff #woocommerce-order-actions .inside {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
ul.order_actions li {
|
|
|
|
padding: 6px 10px;
|
|
|
|
box-sizing: border-box;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
2012-08-10 12:41:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
#poststuff #woocommerce-order-notes .inside {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
ul.order_notes li {
|
|
|
|
padding: 0 10px;
|
2012-08-10 12:41:05 +00:00
|
|
|
}
|
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
|
2013-06-05 15:04:09 +00:00
|
|
|
#woocommerce_customers {
|
|
|
|
p.search-box {
|
|
|
|
margin: 6px 0 4px;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.tablenav {
|
2013-06-05 15:04:09 +00:00
|
|
|
float: right;
|
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-02 22:13:20 +00:00
|
|
|
.widefat {
|
2017-04-04 16:30:16 +00:00
|
|
|
&.customers td {
|
|
|
|
vertical-align: middle;
|
|
|
|
padding: 4px 7px;
|
2013-06-05 15:04:09 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-09 15:16:18 +00:00
|
|
|
.column-order_title {
|
2013-07-31 14:12:53 +00:00
|
|
|
width: 15%;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-09 15:16:18 +00:00
|
|
|
time {
|
2011-08-20 15:41:42 +00:00
|
|
|
display: block;
|
2014-11-13 09:34:32 +00:00
|
|
|
color: #999;
|
2011-08-20 15:41:42 +00:00
|
|
|
margin: 3px 0;
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-05 15:04:09 +00:00
|
|
|
.column-orders, .column-paying, .column-spent {
|
|
|
|
text-align: center;
|
|
|
|
width: 8%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-05 15:04:09 +00:00
|
|
|
.column-last_order {
|
|
|
|
width: 11%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.column-wc_actions {
|
|
|
|
width: 110px;
|
|
|
|
|
2011-12-21 23:52:52 +00:00
|
|
|
a.button {
|
2017-11-22 16:14:30 +00:00
|
|
|
@include ir();
|
|
|
|
display: inline-block;
|
|
|
|
margin: 2px 4px 2px 0;
|
|
|
|
padding: 0 !important;
|
|
|
|
height: 2em !important;
|
|
|
|
width: 2em;
|
2018-01-02 13:50:35 +00:00
|
|
|
overflow: hidden;
|
2017-11-22 16:14:30 +00:00
|
|
|
|
|
|
|
&::after {
|
2018-01-02 13:50:35 +00:00
|
|
|
font-family: 'Dashicons';
|
|
|
|
speak: none;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
margin: 0;
|
|
|
|
text-indent: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
text-align: center;
|
2017-11-22 16:14:30 +00:00
|
|
|
line-height: 1.85;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-08-13 12:36:22 +00:00
|
|
|
img {
|
|
|
|
display: block;
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 12px;
|
|
|
|
height: auto;
|
2012-08-13 12:36:22 +00:00
|
|
|
}
|
2011-12-21 23:52:52 +00:00
|
|
|
}
|
2017-11-22 16:14:30 +00:00
|
|
|
|
|
|
|
a.edit::after {
|
|
|
|
content: '\f464';
|
|
|
|
}
|
|
|
|
|
|
|
|
a.link::after {
|
|
|
|
content: '\e00d';
|
|
|
|
}
|
|
|
|
|
|
|
|
a.view::after {
|
|
|
|
content: '\f177';
|
|
|
|
}
|
|
|
|
|
|
|
|
a.refresh::after {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e031';
|
|
|
|
}
|
|
|
|
|
|
|
|
a.processing::after {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e00f';
|
|
|
|
}
|
|
|
|
|
|
|
|
a.complete::after {
|
|
|
|
content: '\f147';
|
|
|
|
}
|
2011-12-21 23:52:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-20 15:41:42 +00:00
|
|
|
small.meta {
|
|
|
|
display: block;
|
2014-11-13 09:34:32 +00:00
|
|
|
color: #999;
|
2011-08-20 15:41:42 +00:00
|
|
|
font-size: inherit;
|
|
|
|
margin: 3px 0;
|
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-09-04 16:42:31 +00:00
|
|
|
.post-type-shop_order {
|
|
|
|
.tablenav .one-page .displaying-num {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.wp-list-table {
|
2017-09-04 17:05:34 +00:00
|
|
|
margin-top: 1em;
|
2017-11-20 15:51:25 +00:00
|
|
|
|
|
|
|
thead,
|
|
|
|
tfoot {
|
|
|
|
th {
|
|
|
|
padding: .75em 1em;
|
|
|
|
}
|
|
|
|
th.sortable a, th.sorted a {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
th:first-child {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
th:last-child {
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
2013-07-17 11:31:17 +00:00
|
|
|
}
|
2017-11-20 15:51:25 +00:00
|
|
|
tbody {
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 1em;
|
|
|
|
line-height: 26px;
|
|
|
|
}
|
|
|
|
td:first-child {
|
|
|
|
padding-left: 2em;
|
|
|
|
}
|
|
|
|
td:last-child {
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tbody tr {
|
|
|
|
border-top: 1px solid #f5f5f5;
|
|
|
|
}
|
|
|
|
tbody tr:hover:not(.status-trash) td {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Columns.
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
width: 12ch;
|
|
|
|
vertical-align: middle;
|
2017-11-22 16:14:30 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
|
|
|
.check-column {
|
2017-11-03 11:57:44 +00:00
|
|
|
width: 1px;
|
|
|
|
white-space: nowrap;
|
2017-11-03 16:10:32 +00:00
|
|
|
padding: 1em 1em 1em 1em !important;
|
2017-09-04 16:42:31 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
input {
|
|
|
|
vertical-align: text-top;
|
2017-11-03 11:57:44 +00:00
|
|
|
margin: 1px 0;
|
2013-07-17 11:31:17 +00:00
|
|
|
}
|
|
|
|
}
|
2017-11-15 12:32:02 +00:00
|
|
|
.column-order_number {
|
|
|
|
width: 35ch;
|
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
.column-order_total {
|
2017-11-20 15:51:25 +00:00
|
|
|
width: 8ch;
|
2017-09-04 16:42:31 +00:00
|
|
|
text-align: right;
|
2017-11-22 16:14:30 +00:00
|
|
|
|
2017-09-04 16:42:31 +00:00
|
|
|
a span {
|
|
|
|
float:right;
|
|
|
|
}
|
2013-07-17 11:31:17 +00:00
|
|
|
}
|
2017-11-20 15:51:25 +00:00
|
|
|
.column-order_date,
|
|
|
|
.column-order_status {
|
2017-11-22 16:14:30 +00:00
|
|
|
width: 10ch;
|
|
|
|
}
|
|
|
|
.column-order_status {
|
|
|
|
width: 14ch;
|
2017-11-20 15:51:25 +00:00
|
|
|
}
|
2017-11-15 12:51:14 +00:00
|
|
|
.column-shipping_address,
|
|
|
|
.column-billing_address {
|
|
|
|
width: 20ch;
|
2017-11-20 15:51:25 +00:00
|
|
|
line-height: 1.5em;
|
2017-11-20 17:06:08 +00:00
|
|
|
.description {
|
|
|
|
display: block;
|
|
|
|
color: #999;
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
2017-11-15 12:51:14 +00:00
|
|
|
}
|
2017-11-22 16:14:30 +00:00
|
|
|
.column-wc_actions {
|
|
|
|
text-align: right;
|
2017-09-04 16:42:31 +00:00
|
|
|
|
2017-11-22 16:14:30 +00:00
|
|
|
a.button {
|
|
|
|
text-indent: 9999px;
|
|
|
|
margin: 2px 0 2px 4px;
|
|
|
|
}
|
|
|
|
}
|
2017-11-20 15:51:25 +00:00
|
|
|
.order-preview {
|
|
|
|
float:right;
|
|
|
|
width: 16px;
|
|
|
|
padding: 20px 4px 4px 4px;
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
border: 2px solid transparent;
|
|
|
|
border-radius: 4px;
|
2017-09-04 16:42:31 +00:00
|
|
|
|
2017-11-20 15:51:25 +00:00
|
|
|
&::before {
|
|
|
|
@include icon( '\e010' );
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 14px;
|
|
|
|
vertical-align:middle;
|
|
|
|
top: 4px;
|
2017-11-15 13:41:20 +00:00
|
|
|
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
2017-11-20 15:51:25 +00:00
|
|
|
&:hover {
|
|
|
|
border: 2px solid #00a0d2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.order-preview.disabled {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
2017-11-21 15:05:08 +00:00
|
|
|
background: url('../images/wpspin.gif') no-repeat center top;
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
2013-07-17 11:31:17 +00:00
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-12-04 13:45:52 +00:00
|
|
|
.order-status {
|
|
|
|
display: inline-flex;
|
|
|
|
padding: 0px 1em;
|
|
|
|
line-height: 2.5em;
|
|
|
|
color: #777;
|
|
|
|
background: #E5E5E5;
|
|
|
|
border-radius: 4px;
|
|
|
|
border-bottom: 1px solid rgba(0,0,0,0.05);
|
|
|
|
margin: -.25em 0;
|
|
|
|
cursor: inherit !important;
|
|
|
|
white-space: nowrap;
|
2017-09-04 16:42:31 +00:00
|
|
|
|
2017-12-04 13:45:52 +00:00
|
|
|
&.status-completed {
|
|
|
|
background: #C8D7E1;
|
|
|
|
color: #2e4453;
|
2017-11-15 13:30:39 +00:00
|
|
|
}
|
2017-11-15 13:41:20 +00:00
|
|
|
|
2017-12-04 13:45:52 +00:00
|
|
|
&.status-on-hold {
|
|
|
|
background: #f8dda7;
|
|
|
|
color: #94660c;
|
|
|
|
}
|
2017-11-20 15:51:25 +00:00
|
|
|
|
2017-12-04 13:45:52 +00:00
|
|
|
&.status-failed {
|
|
|
|
background: #eba3a3;
|
|
|
|
color: #761919;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-12-04 13:45:52 +00:00
|
|
|
&.status-processing {
|
|
|
|
background: #C6E1C6;
|
|
|
|
color: #5B841B;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.status-trash {
|
|
|
|
background: #eba3a3;
|
|
|
|
color: #761919;
|
2017-11-15 13:30:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-04 16:42:31 +00:00
|
|
|
.wc-order-preview {
|
2017-12-04 13:45:52 +00:00
|
|
|
.order-status {
|
|
|
|
float: right;
|
|
|
|
margin-right: 54px;
|
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
article {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
2017-12-04 13:45:52 +00:00
|
|
|
.modal-close {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2017-11-21 16:22:43 +00:00
|
|
|
.wc-order-preview-table {
|
2017-09-04 16:42:31 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: 1px solid #ccc;
|
|
|
|
th, td {
|
|
|
|
padding: 1em 1.5em;
|
|
|
|
text-align: left;
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
margin: 0;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
text-align: right;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
td:first-child,
|
|
|
|
th:first-child {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
border-color: #ccc;
|
|
|
|
}
|
|
|
|
tr:last-child td {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
.wc-order-item-sku {
|
|
|
|
margin-top: .5em;
|
|
|
|
}
|
|
|
|
.wc-order-item-meta {
|
|
|
|
margin-top: .5em;
|
|
|
|
th, td {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
td:last-child {
|
|
|
|
padding-left: .5em;
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
|
|
|
}
|
2017-09-04 16:42:31 +00:00
|
|
|
.wc-order-preview-addresses {
|
|
|
|
overflow:hidden;
|
|
|
|
.wc-order-preview-address {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
padding: 1.5em;
|
|
|
|
box-sizing: border-box;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-09-04 16:42:31 +00:00
|
|
|
h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
strong {
|
|
|
|
display: block;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
2013-01-18 14:23:43 +00:00
|
|
|
}
|
2017-11-20 22:43:37 +00:00
|
|
|
.wc-action-button,
|
|
|
|
.wc-action-button-group {
|
|
|
|
float: left;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-22 16:28:11 +00:00
|
|
|
@media screen and (max-width: 782px) {
|
|
|
|
.wc-action-button-group {
|
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-20 22:43:37 +00:00
|
|
|
.wc-action-button-group {
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 26px;
|
2017-11-22 16:28:11 +00:00
|
|
|
text-align: left;
|
|
|
|
margin-bottom: 4px;
|
2017-11-20 22:43:37 +00:00
|
|
|
label {
|
|
|
|
margin-right: 6px;
|
|
|
|
cursor: default;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-11-22 16:28:11 +00:00
|
|
|
.wc-action-button-group__items {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2017-11-20 22:43:37 +00:00
|
|
|
.wc-action-button {
|
|
|
|
margin: -1px !important;
|
|
|
|
border: 1px solid #ccc;
|
2017-11-22 16:28:11 +00:00
|
|
|
padding: 1px 10px !important;
|
2017-11-20 22:43:37 +00:00
|
|
|
border-radius: 0 !important;
|
|
|
|
float: none;
|
|
|
|
line-height: 28px;
|
|
|
|
height: auto;
|
|
|
|
z-index: 1;
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
.wc-action-button:hover,
|
|
|
|
.wc-action-button:focus {
|
|
|
|
border: 1px solid #999;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
2017-11-22 16:28:11 +00:00
|
|
|
.wc-action-button:first-child {
|
2017-11-20 22:43:37 +00:00
|
|
|
border-top-left-radius: 3px !important;
|
|
|
|
border-bottom-left-radius: 3px !important;
|
|
|
|
}
|
|
|
|
.wc-action-button:last-child {
|
|
|
|
border-top-right-radius: 3px !important;
|
|
|
|
border-bottom-right-radius: 3px !important;
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.column-customer_message .note-on {
|
|
|
|
@include ir();
|
|
|
|
margin: 0 auto;
|
|
|
|
color: #999;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::after {
|
|
|
|
@include icon( '\e026' );
|
|
|
|
line-height: 16px;
|
2013-07-17 11:48:48 +00:00
|
|
|
}
|
2013-07-31 14:12:53 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.column-order_notes .note-on {
|
|
|
|
@include ir();
|
|
|
|
margin: 0 auto;
|
|
|
|
color: #999;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::after {
|
|
|
|
@include icon( '\e027' );
|
|
|
|
line-height: 16px;
|
2013-07-17 11:48:48 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-19 11:04:45 +00:00
|
|
|
.attributes-table {
|
2014-11-13 09:34:32 +00:00
|
|
|
td,
|
|
|
|
th {
|
2013-11-19 11:04:45 +00:00
|
|
|
width: 15%;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-19 11:04:45 +00:00
|
|
|
.attribute-terms {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 32%;
|
2013-11-19 11:04:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-19 11:04:45 +00:00
|
|
|
.attribute-actions {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 2em;
|
|
|
|
|
2013-11-19 11:04:45 +00:00
|
|
|
.configure-terms {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2014-11-13 09:34:32 +00:00
|
|
|
padding: 0 !important;
|
2013-11-19 11:04:45 +00:00
|
|
|
height: 2em !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 2em;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
@include icon('\f111');
|
2015-11-05 04:05:28 +00:00
|
|
|
font-family: 'Dashicons';
|
2013-11-19 11:04:45 +00:00
|
|
|
line-height: 1.85;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
/* Order notes */
|
|
|
|
ul.order_notes {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 2px 0 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
li {
|
|
|
|
.note_content {
|
|
|
|
padding: 10px;
|
|
|
|
background: #efefef;
|
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-25 18:44:44 +00:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-10-25 13:42:05 +00:00
|
|
|
word-wrap: break-word;
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2011-09-23 14:22:21 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
p.meta {
|
|
|
|
padding: 10px;
|
|
|
|
color: #999;
|
2011-11-25 18:44:44 +00:00
|
|
|
margin: 0;
|
2011-09-23 14:22:21 +00:00
|
|
|
font-size: 11px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-15 13:42:08 +00:00
|
|
|
.exact-date {
|
|
|
|
border-bottom: 1px dotted #999;
|
|
|
|
}
|
2011-09-23 14:22:21 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
a.delete_note {
|
2016-08-09 16:28:32 +00:00
|
|
|
color: $red;
|
2011-09-23 14:22:21 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.note_content::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -10px;
|
|
|
|
left: 20px;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-width: 10px 10px 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #efefef transparent;
|
2011-09-23 14:22:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
li.customer-note {
|
2016-02-08 11:39:31 +00:00
|
|
|
.note_content {
|
2016-08-09 16:28:32 +00:00
|
|
|
background: #a7cedc;
|
2016-02-08 11:39:31 +00:00
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
.note_content::after {
|
|
|
|
border-color: #a7cedc transparent;
|
2016-02-08 11:39:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
li.system-note {
|
2011-09-23 14:22:21 +00:00
|
|
|
.note_content {
|
|
|
|
background: #d7cad2;
|
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
.note_content::after {
|
2011-09-23 14:22:21 +00:00
|
|
|
border-color: #d7cad2 transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
.add_note {
|
|
|
|
border-top: 1px solid #ddd;
|
2012-06-20 17:19:15 +00:00
|
|
|
padding: 10px 10px 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-23 14:22:21 +00:00
|
|
|
h4 {
|
|
|
|
margin-top: 5px !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-06-20 17:19:15 +00:00
|
|
|
#add_order_note {
|
|
|
|
width: 100%;
|
|
|
|
height: 50px;
|
2011-09-23 14:22:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-09-19 12:25:06 +00:00
|
|
|
table.wp-list-table {
|
|
|
|
.column-thumb {
|
2012-01-28 15:04:53 +00:00
|
|
|
width: 52px;
|
2011-09-19 12:25:06 +00:00
|
|
|
text-align: center;
|
2016-08-09 16:28:32 +00:00
|
|
|
white-space: nowrap;
|
2011-09-19 12:25:06 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-05-18 14:22:12 +00:00
|
|
|
.column-handle {
|
|
|
|
width: 17px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
td.column-handle {
|
|
|
|
cursor: move;
|
|
|
|
width: 17px;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: text-top;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
|
|
|
color: #999;
|
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
height: 100%;
|
|
|
|
margin: 4px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-03-15 15:32:30 +00:00
|
|
|
.column-name {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 22%;
|
2013-03-15 15:32:30 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.column-product_cat,
|
|
|
|
.column-product_tag {
|
2012-01-28 15:04:53 +00:00
|
|
|
width: 11% !important;
|
2012-01-27 20:21:36 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.column-featured,
|
|
|
|
.column-product_type {
|
2014-08-08 09:24:38 +00:00
|
|
|
width: 48px;
|
2012-02-13 13:06:56 +00:00
|
|
|
text-align: left !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.column-customer_message,
|
|
|
|
.column-order_notes {
|
2014-08-08 09:24:38 +00:00
|
|
|
width: 48px;
|
2012-02-21 12:53:36 +00:00
|
|
|
text-align: center;
|
|
|
|
img {
|
|
|
|
margin: 0 auto;
|
2012-02-21 13:12:57 +00:00
|
|
|
padding-top: 0 !important;
|
2012-02-21 12:53:36 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.manage-column.column-featured img,
|
|
|
|
.manage-column.column-product_type img {
|
2012-02-13 13:06:56 +00:00
|
|
|
padding-left: 2px;
|
2012-01-28 15:04:53 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.column-price .woocommerce-price-suffix {
|
|
|
|
display: none;
|
2014-03-06 12:44:05 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-19 12:25:06 +00:00
|
|
|
img {
|
|
|
|
margin: 1px 2px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-12 16:19:03 +00:00
|
|
|
.row-actions {
|
|
|
|
color: #999;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-17 21:46:15 +00:00
|
|
|
td.column-thumb img {
|
2011-09-19 12:25:06 +00:00
|
|
|
margin: 0;
|
2012-12-17 15:40:21 +00:00
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
max-width: 40px;
|
|
|
|
max-height: 40px;
|
2015-10-01 05:53:16 +00:00
|
|
|
vertical-align: middle;
|
2011-09-19 12:25:06 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-19 12:25:06 +00:00
|
|
|
span.na {
|
|
|
|
color: #999;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2018-01-05 12:23:08 +00:00
|
|
|
.column-sku {
|
|
|
|
width: 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-price {
|
|
|
|
width: 10ch;
|
|
|
|
}
|
|
|
|
|
2012-02-13 13:06:56 +00:00
|
|
|
.column-is_in_stock {
|
2011-09-19 12:25:06 +00:00
|
|
|
text-align: left !important;
|
2018-01-05 12:23:08 +00:00
|
|
|
width: 12ch;
|
2011-09-19 12:25:06 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
span.wc-image,
|
|
|
|
span.wc-featured,
|
|
|
|
span.wc-type {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f128' );
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-19 16:13:25 +00:00
|
|
|
span.wc-featured {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f155';
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&.not-featured::before {
|
|
|
|
content: '\f154';
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
td.column-featured span.wc-featured {
|
|
|
|
font-size: 1.6em;
|
|
|
|
cursor: pointer;
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
span.wc-type::before {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e006';
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 13:06:56 +00:00
|
|
|
span.product-type {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2016-03-09 10:53:58 +00:00
|
|
|
font-size: 1.6em;
|
2016-12-08 10:56:45 +00:00
|
|
|
margin: 0 auto;
|
2017-06-05 09:14:31 +00:00
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include icon( '\e006' );
|
2013-07-19 16:13:25 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.grouped::before {
|
|
|
|
content: '\e002';
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.external::before {
|
|
|
|
content: '\e034';
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.variable::before {
|
|
|
|
content: '\e003';
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.downloadable::before {
|
|
|
|
content: '\e001';
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.virtual::before {
|
|
|
|
content: '\e000';
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-11-20 19:39:37 +00:00
|
|
|
mark {
|
|
|
|
&.instock,
|
|
|
|
&.outofstock,
|
|
|
|
&.onbackorder {
|
|
|
|
font-weight: 700;
|
|
|
|
background: transparent none;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-11-20 19:39:37 +00:00
|
|
|
&.instock {
|
|
|
|
color: $green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.outofstock {
|
|
|
|
color: #aa4444;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.onbackorder {
|
|
|
|
color: #eaa600;
|
|
|
|
}
|
2012-02-13 13:06:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.order-notes_head,
|
|
|
|
.notes_head,
|
|
|
|
.status_head {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0 auto;
|
2013-07-31 14:12:53 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include icon;
|
2013-07-17 11:08:26 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.order-notes_head::after {
|
|
|
|
content: '\e028';
|
2013-07-17 11:08:26 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.notes_head::after {
|
|
|
|
content: '\e026';
|
2013-07-31 14:12:53 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.status_head::after {
|
|
|
|
content: '\e011';
|
2013-07-31 14:12:53 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-31 14:12:53 +00:00
|
|
|
.column-order_items {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 12%;
|
|
|
|
|
2013-07-31 14:12:53 +00:00
|
|
|
table.order_items {
|
|
|
|
width: 100%;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 3px 0 0;
|
2013-07-31 14:12:53 +00:00
|
|
|
padding: 0;
|
|
|
|
display: none;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-31 14:12:53 +00:00
|
|
|
td {
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 0 3px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-31 14:12:53 +00:00
|
|
|
td.qty {
|
|
|
|
color: #999;
|
|
|
|
padding-right: 6px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
2013-07-17 11:08:26 +00:00
|
|
|
}
|
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
|
|
|
|
2012-02-18 10:19:07 +00:00
|
|
|
mark.notice {
|
|
|
|
background: #fff;
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $red;
|
2012-02-18 10:19:07 +00:00
|
|
|
margin: 0 0 0 10px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
a.export_rates,
|
|
|
|
a.import_rates {
|
|
|
|
float: right;
|
2012-09-10 11:26:26 +00:00
|
|
|
margin-left: 9px;
|
2012-09-12 10:16:53 +00:00
|
|
|
margin-top: -2px;
|
2012-09-10 11:26:26 +00:00
|
|
|
margin-bottom: 0;
|
2012-01-02 17:45:26 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-08 12:18:00 +00:00
|
|
|
#rates-search {
|
|
|
|
float: right;
|
|
|
|
input.wc-tax-rates-search-field {
|
|
|
|
padding: 4px 8px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
2016-01-12 12:01:10 +00:00
|
|
|
#rates-pagination {
|
|
|
|
float: right;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-right: 0.5em;
|
2016-01-12 12:01:10 +00:00
|
|
|
.tablenav {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-10-08 12:18:00 +00:00
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
table.wc_tax_rates,
|
|
|
|
table.wc_input_table {
|
2013-08-16 15:43:26 +00:00
|
|
|
width: 100%;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-22 17:18:04 +00:00
|
|
|
span.tips {
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $blue;
|
2013-11-22 17:18:04 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-07-27 09:28:28 +00:00
|
|
|
th {
|
|
|
|
white-space: nowrap;
|
2016-07-27 10:39:50 +00:00
|
|
|
padding: 10px;
|
2016-07-27 09:28:28 +00:00
|
|
|
}
|
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
td {
|
|
|
|
padding: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
border-right: 1px solid #dfdfdf;
|
|
|
|
border-bottom: 1px solid #dfdfdf;
|
2012-12-02 21:31:43 +00:00
|
|
|
border-top: 0;
|
|
|
|
background: #fff;
|
2016-08-05 13:23:01 +00:00
|
|
|
cursor: default;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
input[type='text'],
|
|
|
|
input[type='number'] {
|
2012-12-02 21:31:43 +00:00
|
|
|
width: 100%;
|
2016-07-27 10:39:50 +00:00
|
|
|
padding: 8px 10px;
|
2012-12-02 21:31:43 +00:00
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
2016-07-27 10:30:12 +00:00
|
|
|
outline: 0;
|
2012-12-02 21:31:43 +00:00
|
|
|
background: transparent none;
|
2016-07-27 10:30:12 +00:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2012-12-02 21:31:43 +00:00
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
&.compound,
|
|
|
|
&.apply_to_shipping {
|
2012-12-02 21:31:43 +00:00
|
|
|
padding: 5px 7px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
2011-10-24 14:51:54 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
td:last-child {
|
|
|
|
border-right: 0;
|
2011-10-24 14:51:54 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
tr.current td {
|
|
|
|
background-color: #fefbcc;
|
2011-10-24 14:51:54 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.item_cost,
|
|
|
|
.cost {
|
2012-12-02 21:31:43 +00:00
|
|
|
text-align: right;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-23 14:39:28 +00:00
|
|
|
input {
|
2012-12-02 21:31:43 +00:00
|
|
|
text-align: right;
|
2011-11-23 14:39:28 +00:00
|
|
|
}
|
2011-10-24 14:51:54 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
th.sort {
|
|
|
|
width: 17px;
|
2015-08-13 16:59:41 +00:00
|
|
|
padding: 0 4px;
|
2011-12-14 12:17:05 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
td.sort {
|
2013-12-05 15:19:48 +00:00
|
|
|
padding: 0 4px;
|
2015-08-13 16:59:41 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.ui-sortable:not( .ui-sortable-disabled ) td.sort {
|
|
|
|
cursor: move;
|
|
|
|
font-size: 15px;
|
|
|
|
background: #f9f9f9;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
|
|
|
color: #999;
|
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2015-08-13 16:13:35 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: #333;
|
2013-01-18 11:48:17 +00:00
|
|
|
}
|
2011-11-23 14:39:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
.button {
|
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.export,
|
|
|
|
.import {
|
2012-12-02 21:31:43 +00:00
|
|
|
float: right;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: 5px;
|
2012-01-02 17:45:26 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-02 21:31:43 +00:00
|
|
|
span.tips {
|
|
|
|
padding: 0 3px;
|
2012-09-10 11:26:26 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-13 11:18:20 +00:00
|
|
|
.pagination {
|
|
|
|
float: right;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-13 11:18:20 +00:00
|
|
|
.button {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-13 11:18:20 +00:00
|
|
|
.current {
|
|
|
|
background: #bbb;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tr:last-child td {
|
|
|
|
border-bottom: 0;
|
2013-11-22 17:18:04 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
table.wc_gateways,
|
2015-11-02 16:27:00 +00:00
|
|
|
table.wc_emails,
|
2014-11-13 09:34:32 +00:00
|
|
|
table.wc_shipping {
|
2012-05-19 19:04:34 +00:00
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-12-06 16:45:08 +00:00
|
|
|
td {
|
|
|
|
vertical-align: middle;
|
2013-09-09 16:15:58 +00:00
|
|
|
padding: 7px;
|
2015-04-13 14:32:54 +00:00
|
|
|
line-height: 2em;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tr:nth-child( odd ) td {
|
|
|
|
background: #f9f9f9;
|
2013-09-09 16:15:58 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-09 16:15:58 +00:00
|
|
|
th {
|
|
|
|
padding: 9px 7px !important;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-09 16:15:58 +00:00
|
|
|
td.name {
|
2014-11-13 14:16:32 +00:00
|
|
|
font-weight: 700;
|
2011-12-06 16:45:08 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-09 16:15:58 +00:00
|
|
|
.settings {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.radio,
|
|
|
|
.default,
|
|
|
|
.status {
|
2011-12-06 16:45:08 +00:00
|
|
|
text-align: center;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-09 16:15:58 +00:00
|
|
|
.tips {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-09 16:15:58 +00:00
|
|
|
input {
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0;
|
2013-09-09 16:15:58 +00:00
|
|
|
}
|
2011-12-06 16:45:08 +00:00
|
|
|
}
|
2015-04-13 14:32:54 +00:00
|
|
|
th.sort {
|
|
|
|
width: 28px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
td.sort {
|
|
|
|
padding: 0 7px;
|
|
|
|
cursor: move;
|
2016-05-21 12:58:01 +00:00
|
|
|
font-size: 15px;
|
2015-04-13 14:32:54 +00:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
2016-05-21 12:58:01 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
2016-03-08 10:25:42 +00:00
|
|
|
font-family: 'Dashicons';
|
2015-04-13 14:32:54 +00:00
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
2016-05-21 12:58:01 +00:00
|
|
|
color: #999;
|
2015-04-13 14:32:54 +00:00
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2015-11-02 16:27:00 +00:00
|
|
|
.wc-email-settings-table-name {
|
|
|
|
font-weight: 700;
|
2015-11-03 15:04:29 +00:00
|
|
|
span {
|
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
2015-11-03 16:12:13 +00:00
|
|
|
margin: 0 0 0 4px !important;
|
2015-11-03 15:04:29 +00:00
|
|
|
}
|
2015-11-02 16:27:00 +00:00
|
|
|
}
|
|
|
|
.wc-email-settings-table-status {
|
|
|
|
text-align: center;
|
|
|
|
width: 1em;
|
|
|
|
.tips {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
.wc-email-settings-table-actions a {
|
|
|
|
@include ir();
|
|
|
|
padding: 0 !important;
|
|
|
|
height: 2em !important;
|
|
|
|
width: 2em;
|
2015-11-02 16:27:00 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::after {
|
|
|
|
@include icon('\f111');
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
line-height: 1.85;
|
2015-11-02 16:27:00 +00:00
|
|
|
}
|
|
|
|
}
|
2011-12-06 16:45:08 +00:00
|
|
|
}
|
2016-09-24 02:22:57 +00:00
|
|
|
.wc-shipping-zone-settings {
|
|
|
|
th {
|
|
|
|
padding: 24px 24px 24px 0;
|
|
|
|
}
|
|
|
|
td.forminp {
|
|
|
|
padding: 15px 10px;
|
|
|
|
input, textarea {
|
|
|
|
padding: 8px;
|
|
|
|
width: 448px;
|
|
|
|
max-width: 100% !important;
|
|
|
|
}
|
|
|
|
.wc-shipping-zone-region-select {
|
|
|
|
width: 448px;
|
|
|
|
max-width: 100% !important;
|
|
|
|
.select2-choices {
|
|
|
|
padding: 8px 8px 4px;
|
|
|
|
border-color: #DDDDDD;
|
|
|
|
min-height: 0;
|
|
|
|
line-height: 1;
|
|
|
|
input {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
margin: 0 4px 4px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.wc-shipping-zone-postcodes-toggle {
|
2017-01-31 16:25:57 +00:00
|
|
|
margin: 0.5em 0 0;
|
2016-09-24 02:22:57 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
text-decoration: underline;
|
2017-01-31 16:25:57 +00:00
|
|
|
display: block;
|
2016-09-24 02:22:57 +00:00
|
|
|
}
|
|
|
|
.wc-shipping-zone-postcodes-toggle + .wc-shipping-zone-postcodes {
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
.wc-shipping-zone-postcodes {
|
|
|
|
textarea {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
.description {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-01-31 16:25:57 +00:00
|
|
|
.wc-shipping-zone-settings + p.submit {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2016-10-11 10:46:23 +00:00
|
|
|
table {
|
|
|
|
tr, tr:hover {
|
|
|
|
table.wc-shipping-zone-methods {
|
2017-04-04 16:30:16 +00:00
|
|
|
tr .row-actions {
|
|
|
|
position: relative;
|
2016-10-11 10:46:23 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
tr:hover .row-actions {
|
|
|
|
position: static;
|
2016-10-11 10:46:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 09:25:42 +00:00
|
|
|
.wc-shipping-zones-heading .page-title-action {
|
2017-02-21 11:39:17 +00:00
|
|
|
display: inline-block;
|
2017-02-01 09:25:42 +00:00
|
|
|
}
|
2016-01-13 16:52:28 +00:00
|
|
|
table.wc-shipping-zones, table.wc-shipping-zone-methods, table.wc-shipping-classes {
|
2015-12-08 12:45:18 +00:00
|
|
|
td, th {
|
|
|
|
vertical-align: top;
|
2016-03-24 14:08:26 +00:00
|
|
|
line-height: 24px;
|
2016-09-24 02:22:57 +00:00
|
|
|
padding: 1em !important;
|
2015-12-08 12:45:18 +00:00
|
|
|
font-size: 14px;
|
2015-12-10 11:55:03 +00:00
|
|
|
background: #fff;
|
2015-12-16 13:38:03 +00:00
|
|
|
li {
|
2016-03-24 14:08:26 +00:00
|
|
|
line-height: 24px;
|
2015-12-16 13:38:03 +00:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
2016-09-24 02:22:57 +00:00
|
|
|
.woocommerce-help-tip {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
thead {
|
|
|
|
th {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.wc-shipping-zone-sort {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tbody td {
|
|
|
|
padding: 1.5em 1em !important;
|
|
|
|
}
|
2015-12-16 15:37:40 +00:00
|
|
|
td.wc-shipping-zones-blank-state, td.wc-shipping-zone-method-blank-state {
|
2016-08-09 16:28:32 +00:00
|
|
|
background: #f7f1f6 !important;
|
2015-12-15 19:10:41 +00:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2016-09-24 02:22:57 +00:00
|
|
|
padding: 7.5em 7.5% !important;
|
2016-08-09 16:28:32 +00:00
|
|
|
border-bottom: 2px solid #eee2ec;
|
2017-01-31 16:25:57 +00:00
|
|
|
|
|
|
|
&.wc-shipping-zone-method-blank-state {
|
|
|
|
padding: 2em !important;
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-03-29 18:37:02 +00:00
|
|
|
p, li {
|
2015-12-15 19:10:41 +00:00
|
|
|
color: #a46497;
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin: 0 0 1em;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
text-shadow: 1px 1px 1px white;
|
|
|
|
|
|
|
|
&.main {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
}
|
2016-03-29 18:37:02 +00:00
|
|
|
li {
|
|
|
|
margin-left: 1em;
|
|
|
|
list-style: circle inside;
|
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\e01b';
|
|
|
|
font-family: 'WooCommerce';
|
2015-12-15 19:10:41 +00:00
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
2016-08-09 16:28:32 +00:00
|
|
|
color: #eee2ec;
|
2015-12-15 19:10:41 +00:00
|
|
|
display: block;
|
2016-03-29 18:37:02 +00:00
|
|
|
width: 1em;
|
2015-12-16 15:37:40 +00:00
|
|
|
font-size: 40em;
|
2016-03-29 18:37:02 +00:00
|
|
|
top: 50%;
|
|
|
|
right: -3.75%;
|
|
|
|
margin-top: -0.1875em;
|
2015-12-15 19:10:41 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.button-primary {
|
2016-06-03 11:22:05 +00:00
|
|
|
background-color: #804877;
|
|
|
|
border-color: #804877;
|
2015-12-15 19:10:41 +00:00
|
|
|
box-shadow: inset 0 1px 0 rgba( 255, 255, 255, 0.2 ), 0 1px 0 rgba( 0, 0, 0, 0.15 );
|
|
|
|
margin: 0;
|
|
|
|
opacity: 1;
|
2016-08-09 16:28:32 +00:00
|
|
|
text-shadow: 0 -1px 1px #8a4f7f, 1px 0 1px #8a4f7f, 0 1px 1px #8a4f7f, -1px 0 1px #8a4f7f;
|
2015-12-15 19:10:41 +00:00
|
|
|
font-size: 1.5em;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.75em 1em;
|
2015-12-15 19:10:41 +00:00
|
|
|
height: auto;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 12:46:09 +00:00
|
|
|
.wc-shipping-zone-method-rows {
|
|
|
|
tr:nth-child( even ) td {
|
2017-04-04 16:30:16 +00:00
|
|
|
background: #f9f9f9;
|
2015-12-10 11:55:03 +00:00
|
|
|
}
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
tr.odd, .wc-shipping-class-rows tr:nth-child( odd ) {
|
2015-12-08 12:45:18 +00:00
|
|
|
td {
|
|
|
|
background: #f9f9f9;
|
|
|
|
}
|
|
|
|
}
|
2017-06-06 12:46:09 +00:00
|
|
|
tbody.wc-shipping-zone-rows {
|
|
|
|
td {
|
|
|
|
border-top: 2px solid #f9f9f9;
|
|
|
|
}
|
|
|
|
tr:first-child {
|
|
|
|
td {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tr.wc-shipping-zone-worldwide {
|
|
|
|
td {
|
|
|
|
background: #f9f9f9;
|
|
|
|
border-top: 2px solid #e1e1e1;
|
|
|
|
}
|
|
|
|
}
|
2015-12-10 18:33:59 +00:00
|
|
|
ul, p {
|
2015-12-08 12:45:18 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
2015-12-15 17:48:03 +00:00
|
|
|
td.wc-shipping-zone-sort, td.wc-shipping-zone-method-sort {
|
2015-12-08 12:45:18 +00:00
|
|
|
cursor: move;
|
2016-05-21 12:58:01 +00:00
|
|
|
font-size: 15px;
|
2015-12-08 12:45:18 +00:00
|
|
|
text-align: center;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
2016-03-08 10:25:42 +00:00
|
|
|
font-family: 'Dashicons';
|
2015-12-08 12:45:18 +00:00
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
|
|
|
color: #999;
|
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
2016-03-24 14:08:26 +00:00
|
|
|
line-height: 24px;
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: #333;
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
td.wc-shipping-zone-worldwide {
|
|
|
|
text-align: center;
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f319';
|
2015-12-08 12:45:18 +00:00
|
|
|
font-family: 'dashicons';
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1;
|
|
|
|
color: #999;
|
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
2016-03-24 14:08:26 +00:00
|
|
|
line-height: 24px;
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.wc-shipping-zone-name,
|
|
|
|
.wc-shipping-zone-methods {
|
|
|
|
width: 25%;
|
|
|
|
}
|
2016-01-13 16:52:28 +00:00
|
|
|
.wc-shipping-class-description,
|
|
|
|
.wc-shipping-class-name,
|
|
|
|
.wc-shipping-class-slug,
|
2015-12-08 12:45:18 +00:00
|
|
|
.wc-shipping-zone-name,
|
|
|
|
.wc-shipping-zone-region {
|
2015-12-10 18:33:59 +00:00
|
|
|
input, select, textarea {
|
2015-12-08 12:45:18 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
2016-05-12 11:18:35 +00:00
|
|
|
a.wc-shipping-zone-delete, a.wc-shipping-class-delete {
|
2016-09-02 10:12:27 +00:00
|
|
|
color: #a00;
|
|
|
|
}
|
|
|
|
a.wc-shipping-zone-delete:hover, a.wc-shipping-class-delete:hover {
|
2016-04-21 15:18:15 +00:00
|
|
|
color: red;
|
|
|
|
}
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
2016-01-13 16:52:28 +00:00
|
|
|
.wc-shipping-class-count {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2016-02-05 15:48:31 +00:00
|
|
|
td.wc-shipping-zone-methods {
|
2016-10-10 16:50:29 +00:00
|
|
|
color: #555;
|
2016-01-08 11:57:49 +00:00
|
|
|
.method_disabled {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2016-01-13 15:04:10 +00:00
|
|
|
ul {
|
2016-04-21 15:18:15 +00:00
|
|
|
position: relative;
|
|
|
|
padding-right: 32px;
|
2016-01-13 15:04:10 +00:00
|
|
|
li {
|
2016-10-10 16:50:29 +00:00
|
|
|
color: #555;
|
2016-01-13 15:04:10 +00:00
|
|
|
display: inline;
|
2016-07-21 13:30:05 +00:00
|
|
|
margin: 0;
|
2016-01-13 15:04:10 +00:00
|
|
|
}
|
2016-08-09 16:28:32 +00:00
|
|
|
li::before {
|
|
|
|
content: ', ';
|
2016-01-13 15:04:10 +00:00
|
|
|
}
|
2016-09-24 02:22:57 +00:00
|
|
|
li:first-child::before {
|
2016-08-09 16:28:32 +00:00
|
|
|
content: '';
|
2016-01-13 15:04:10 +00:00
|
|
|
}
|
|
|
|
}
|
2016-04-21 15:18:15 +00:00
|
|
|
.add_shipping_method {
|
|
|
|
display: block;
|
|
|
|
width: 24px;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 24px 0 0;
|
2016-04-21 15:18:15 +00:00
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-04-21 15:18:15 +00:00
|
|
|
@include icon;
|
|
|
|
font-family: 'Dashicons';
|
2016-08-09 16:28:32 +00:00
|
|
|
content: '\f502';
|
2016-04-21 15:18:15 +00:00
|
|
|
color: #999;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 24px;
|
|
|
|
font-size: 16px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
cursor: not-allowed;
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-04-21 15:18:15 +00:00
|
|
|
color: #ccc;
|
|
|
|
}
|
|
|
|
}
|
2016-01-13 15:04:10 +00:00
|
|
|
}
|
2016-01-08 11:57:49 +00:00
|
|
|
}
|
2016-05-12 10:07:18 +00:00
|
|
|
.wc-shipping-zone-method-title {
|
2017-01-31 16:25:57 +00:00
|
|
|
width: 25%;
|
2016-05-12 10:07:18 +00:00
|
|
|
.wc-shipping-zone-method-delete {
|
|
|
|
color: red;
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
2016-05-12 10:07:18 +00:00
|
|
|
}
|
|
|
|
.wc-shipping-zone-method-enabled {
|
|
|
|
text-align: center;
|
2016-10-11 11:33:33 +00:00
|
|
|
|
|
|
|
a {
|
2016-05-12 10:07:18 +00:00
|
|
|
display: inline-block;
|
2016-01-13 16:52:28 +00:00
|
|
|
}
|
2016-10-11 11:33:33 +00:00
|
|
|
|
|
|
|
.woocommerce-input-toggle {
|
|
|
|
margin-top: 3px;
|
2015-12-11 14:11:12 +00:00
|
|
|
}
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
2017-01-31 16:25:57 +00:00
|
|
|
.wc-shipping-zone-method-type {
|
|
|
|
display: block;
|
|
|
|
}
|
2015-12-08 12:45:18 +00:00
|
|
|
tfoot {
|
2015-12-16 15:16:52 +00:00
|
|
|
input, select {
|
|
|
|
vertical-align: middle !important;
|
|
|
|
}
|
2016-05-12 10:07:18 +00:00
|
|
|
.button-secondary {
|
2016-03-24 14:08:26 +00:00
|
|
|
float: right;
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
|
|
|
}
|
2016-01-04 14:34:10 +00:00
|
|
|
.editing {
|
|
|
|
.wc-shipping-zone-view, .wc-shipping-zone-edit {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-12-08 12:45:18 +00:00
|
|
|
}
|
|
|
|
|
2016-10-11 11:33:33 +00:00
|
|
|
.woocommerce-input-toggle {
|
|
|
|
height: 16px;
|
|
|
|
width: 32px;
|
|
|
|
border: 2px solid #935687;
|
|
|
|
background-color: #935687;
|
|
|
|
display: inline-block;
|
|
|
|
text-indent: -9999px;
|
|
|
|
border-radius: 10em;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background: #fff;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.woocommerce-input-toggle--disabled {
|
|
|
|
border-color: #999;
|
|
|
|
background-color: #999;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
right: auto;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-24 17:26:40 +00:00
|
|
|
.wc-modal-shipping-method-settings {
|
|
|
|
background: #f8f8f8;
|
|
|
|
padding: 1em !important;
|
2017-04-04 16:30:16 +00:00
|
|
|
form .form-table {
|
|
|
|
width: 100%;
|
|
|
|
background: #fff;
|
|
|
|
margin: 0 0 1.5em;
|
|
|
|
tr {
|
|
|
|
th {
|
|
|
|
width: 30%;
|
|
|
|
position: relative;
|
|
|
|
.woocommerce-help-tip {
|
|
|
|
float: right;
|
|
|
|
margin: -8px -0.5em 0 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
right: 0;
|
|
|
|
top: 50%;
|
|
|
|
position: absolute;
|
2016-03-24 17:26:40 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
|
|
|
td {
|
|
|
|
input, select, textarea {
|
|
|
|
width: 50%;
|
|
|
|
min-width: 250px;
|
2016-03-24 17:26:40 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
input[type='checkbox'] {
|
|
|
|
width: auto;
|
|
|
|
min-width: 16px;
|
2016-03-24 17:26:40 +00:00
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
td, th {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 1em;
|
|
|
|
border-bottom: 1px solid #f8f8f8;
|
2016-03-24 17:26:40 +00:00
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
&:last-of-type {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-03-24 17:26:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-24 14:08:26 +00:00
|
|
|
.wc-backbone-modal .wc-shipping-zone-method-selector {
|
2016-06-20 11:50:52 +00:00
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2016-03-24 14:08:26 +00:00
|
|
|
.wc-shipping-zone-method-description {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.75em 1px 0;
|
2016-03-24 14:08:26 +00:00
|
|
|
line-height: 1.5em;
|
2016-06-20 11:50:52 +00:00
|
|
|
color: #999;
|
|
|
|
font-style: italic;
|
2016-03-24 14:08:26 +00:00
|
|
|
}
|
|
|
|
select {
|
|
|
|
width: 100%;
|
2016-06-20 11:50:52 +00:00
|
|
|
cursor: pointer;
|
2016-03-24 14:08:26 +00:00
|
|
|
}
|
2016-01-13 15:04:10 +00:00
|
|
|
}
|
|
|
|
|
2012-03-06 15:46:53 +00:00
|
|
|
img.help_tip {
|
|
|
|
margin: 0 0 0 9px;
|
2015-10-23 03:40:52 +00:00
|
|
|
vertical-align: middle;
|
2012-03-06 15:46:53 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-03-21 18:37:57 +00:00
|
|
|
.postbox img.help_tip {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: 0;
|
2012-03-21 18:37:57 +00:00
|
|
|
}
|
2012-08-02 22:13:20 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
.postbox .woocommerce-help-tip {
|
|
|
|
margin: 0 0 0 9px;
|
|
|
|
}
|
|
|
|
|
2015-11-03 15:40:10 +00:00
|
|
|
.status-enabled,
|
2016-03-15 17:23:06 +00:00
|
|
|
.status-manual,
|
|
|
|
.status-disabled {
|
2014-11-13 09:34:32 +00:00
|
|
|
font-size: 1.4em;
|
2014-09-22 17:35:48 +00:00
|
|
|
@include ir();
|
2015-11-03 15:40:10 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.status-manual::before {
|
|
|
|
@include icon( '\e008' );
|
|
|
|
color: #999;
|
2015-11-03 15:40:10 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.status-enabled::before {
|
|
|
|
@include icon( '\e015' );
|
|
|
|
color: $woocommerce;
|
2013-07-19 11:52:03 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.status-disabled::before {
|
|
|
|
@include icon( '\e013' );
|
|
|
|
color: #ccc;
|
2016-03-15 17:23:06 +00:00
|
|
|
}
|
|
|
|
|
2011-11-28 16:35:17 +00:00
|
|
|
.woocommerce {
|
2016-04-01 07:15:00 +00:00
|
|
|
|
|
|
|
h2.woo-nav-tab-wrapper {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2016-03-17 11:46:16 +00:00
|
|
|
nav.woo-nav-tab-wrapper {
|
2016-04-01 07:15:00 +00:00
|
|
|
margin: 1.5em 0 1em;
|
2015-04-29 09:47:57 +00:00
|
|
|
}
|
2015-06-09 15:16:23 +00:00
|
|
|
|
2015-04-29 09:47:57 +00:00
|
|
|
.subsubsub {
|
2015-06-09 15:16:23 +00:00
|
|
|
margin: -8px 0 0;
|
2015-04-29 09:47:57 +00:00
|
|
|
}
|
2015-06-09 15:16:23 +00:00
|
|
|
|
2016-01-08 12:10:40 +00:00
|
|
|
.wc-admin-breadcrumb {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-left: 0.5em;
|
2016-03-24 14:27:32 +00:00
|
|
|
a {
|
|
|
|
color: #a46497;
|
|
|
|
}
|
2016-01-08 12:10:40 +00:00
|
|
|
}
|
|
|
|
|
2012-09-17 00:53:17 +00:00
|
|
|
#template div {
|
|
|
|
margin: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-09-17 00:53:17 +00:00
|
|
|
p .button {
|
|
|
|
float: right;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-top: -4px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.editor textarea {
|
|
|
|
margin-bottom: 8px;
|
2012-09-17 00:53:17 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
textarea[disabled='disabled'] {
|
|
|
|
background: #dfdfdf !important;
|
2012-09-17 00:53:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-11-28 16:35:17 +00:00
|
|
|
table.form-table {
|
2015-05-01 10:24:42 +00:00
|
|
|
margin: 0;
|
2015-05-01 14:11:42 +00:00
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-12-03 15:01:07 +00:00
|
|
|
.forminp-radio ul {
|
|
|
|
margin: 0;
|
|
|
|
li {
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-06-14 16:56:18 +00:00
|
|
|
input[type="text"],
|
|
|
|
input[type="number"],
|
|
|
|
input[type="email"] {
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2011-11-28 16:35:17 +00:00
|
|
|
textarea.input-text {
|
|
|
|
height: 100%;
|
|
|
|
min-width: 150px;
|
2012-09-17 00:53:17 +00:00
|
|
|
display: block;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-06-30 13:59:45 +00:00
|
|
|
// Give regular settings inputs a standard width and padding.
|
|
|
|
textarea,
|
|
|
|
input[type="text"],
|
|
|
|
input[type="email"],
|
|
|
|
input[type="number"],
|
2012-09-17 00:53:17 +00:00
|
|
|
input.regular-input {
|
2016-12-21 11:36:48 +00:00
|
|
|
width: 400px;
|
2017-06-30 13:59:45 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 6px;
|
|
|
|
box-sizing: border-box;
|
2011-11-28 16:35:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-12-08 12:04:04 +00:00
|
|
|
select {
|
|
|
|
width: 400px;
|
|
|
|
margin: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2017-11-07 18:32:43 +00:00
|
|
|
input[size] {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
|
2017-09-08 11:27:16 +00:00
|
|
|
// Ignore nested inputs.
|
|
|
|
table {
|
|
|
|
select,
|
|
|
|
textarea,
|
|
|
|
input[type="text"],
|
|
|
|
input[type="email"],
|
|
|
|
input[type="number"],
|
|
|
|
input.regular-input {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-11-28 16:35:17 +00:00
|
|
|
textarea.wide-input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
img.help_tip,
|
|
|
|
.woocommerce-help-tip {
|
2012-02-24 20:04:05 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: -4px 0 0 5px;
|
|
|
|
vertical-align: middle;
|
|
|
|
cursor: help;
|
2012-03-06 15:46:53 +00:00
|
|
|
line-height: 1;
|
2012-02-24 20:04:05 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-11-26 15:55:23 +00:00
|
|
|
span.help_tip {
|
|
|
|
cursor: help;
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $blue;
|
2012-11-26 15:55:23 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-11-26 15:55:23 +00:00
|
|
|
th {
|
|
|
|
position: relative;
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-01-12 15:43:13 +00:00
|
|
|
.select2-container {
|
2013-08-02 15:54:28 +00:00
|
|
|
vertical-align: top;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-05-28 13:38:50 +00:00
|
|
|
table.widefat th {
|
|
|
|
padding-right: inherit;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
th img.help_tip,
|
|
|
|
th .woocommerce-help-tip {
|
2016-12-21 11:24:28 +00:00
|
|
|
margin: 2px -24px 0 0;
|
2012-12-18 13:15:44 +00:00
|
|
|
float: right;
|
2012-11-26 13:48:22 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
.wp-list-table .woocommerce-help-tip {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2012-04-24 18:36:52 +00:00
|
|
|
fieldset {
|
2013-02-11 13:53:24 +00:00
|
|
|
margin-top: 4px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-23 03:40:52 +00:00
|
|
|
img.help_tip,
|
|
|
|
.woocommerce-help-tip {
|
2012-04-24 18:36:52 +00:00
|
|
|
margin: -3px 0 0 5px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-02-11 13:53:24 +00:00
|
|
|
p.description {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-02-11 13:53:24 +00:00
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2012-04-24 18:36:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-24 12:34:30 +00:00
|
|
|
.iris-picker {
|
|
|
|
z-index: 100;
|
2014-11-13 09:34:32 +00:00
|
|
|
display: none;
|
2015-04-30 21:49:28 +00:00
|
|
|
position: absolute;
|
2013-07-24 12:34:30 +00:00
|
|
|
border: 1px solid #ccc;
|
2015-04-30 21:49:28 +00:00
|
|
|
border-radius: 3px;
|
2016-08-09 16:28:32 +00:00
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-24 12:34:30 +00:00
|
|
|
.ui-slider {
|
|
|
|
border: 0 !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
2015-04-30 21:49:28 +00:00
|
|
|
background: none transparent !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-24 12:34:30 +00:00
|
|
|
.ui-slider-handle {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-11-01 13:47:13 +00:00
|
|
|
.iris-error {
|
|
|
|
background-color: #ffafaf;
|
|
|
|
}
|
|
|
|
|
2015-06-11 07:15:51 +00:00
|
|
|
.colorpickpreview {
|
2017-06-30 13:59:45 +00:00
|
|
|
padding: 6px;
|
2015-06-11 07:54:45 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
border: 1px solid #ddd;
|
2017-03-22 20:12:07 +00:00
|
|
|
/* rtl:ignore */
|
2015-06-11 07:54:45 +00:00
|
|
|
border-right: 0;
|
2017-04-06 19:38:11 +00:00
|
|
|
/* rtl:ignore */
|
2017-04-05 17:31:53 +00:00
|
|
|
margin-left: -3px;
|
2015-06-11 07:54:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.colorpick {
|
2017-03-22 20:12:07 +00:00
|
|
|
/* rtl:ignore */
|
2015-06-11 07:54:45 +00:00
|
|
|
border-left: 0;
|
2015-06-11 07:15:51 +00:00
|
|
|
}
|
|
|
|
|
2013-08-22 10:58:03 +00:00
|
|
|
.image_width_settings {
|
|
|
|
vertical-align: middle;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-08-22 10:58:03 +00:00
|
|
|
label {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2017-08-23 09:55:00 +00:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
}
|
2013-08-22 10:58:03 +00:00
|
|
|
}
|
2015-11-02 16:27:00 +00:00
|
|
|
|
|
|
|
.wc_emails_wrapper {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 15px 10px 0;
|
2015-11-02 16:27:00 +00:00
|
|
|
}
|
2011-11-28 16:35:17 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
|
|
|
|
2011-08-10 17:11:11 +00:00
|
|
|
.woocommerce #tabs-wrap table a.remove {
|
2011-08-09 15:16:18 +00:00
|
|
|
margin-left: 4px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-10 17:11:11 +00:00
|
|
|
.woocommerce #tabs-wrap table p {
|
2011-08-09 15:16:18 +00:00
|
|
|
margin: 0 0 4px !important;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-10 17:11:11 +00:00
|
|
|
.woocommerce #tabs-wrap table p a.add {
|
2011-08-09 15:16:18 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
#wp-excerpt-editor-container {
|
|
|
|
background: #fff;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-24 19:32:33 +00:00
|
|
|
#product_variation-parent #parent_id {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
#postimagediv img {
|
|
|
|
border: 1px solid #d5d5d5;
|
|
|
|
max-width: 100%;
|
2012-12-20 10:53:34 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
#woocommerce-product-images .inside {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.add_product_images {
|
|
|
|
padding: 0 12px 12px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
#product_images_container {
|
|
|
|
padding: 0 0 0 9px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
ul {
|
|
|
|
@include clearfix();
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
li.image,
|
|
|
|
li.add,
|
|
|
|
li.wc-metabox-sortable-placeholder {
|
|
|
|
width: 80px;
|
|
|
|
float: left;
|
|
|
|
cursor: move;
|
|
|
|
border: 1px solid #d5d5d5;
|
|
|
|
margin: 9px 9px 0 0;
|
|
|
|
background: #f7f7f7;
|
|
|
|
@include border-radius(2px);
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
display: block;
|
2012-10-05 18:02:02 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
li.wc-metabox-sortable-placeholder {
|
|
|
|
border: 3px dashed #dddddd;
|
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::after {
|
|
|
|
@include icon_dashicons( '\f161' );
|
|
|
|
font-size: 2.618em;
|
|
|
|
line-height: 72px;
|
|
|
|
color: #ddd;
|
2012-10-05 18:02:02 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
ul.actions {
|
|
|
|
position: absolute;
|
|
|
|
top: -8px;
|
|
|
|
right: -8px;
|
|
|
|
padding: 2px;
|
|
|
|
display: none;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
li {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 0 2px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
a {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
margin: 0;
|
|
|
|
height: 0;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.tips {
|
|
|
|
cursor: pointer;
|
2012-10-05 18:02:02 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
a.delete {
|
|
|
|
@include ir();
|
|
|
|
font-size: 1.4em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&::before {
|
|
|
|
@include icon_dashicons( '\f153' );
|
|
|
|
color: #999;
|
2017-06-19 12:06:54 +00:00
|
|
|
background: #fff;
|
|
|
|
border-radius: 50%;
|
|
|
|
height: 1em;
|
|
|
|
width: 1em;
|
|
|
|
line-height: 1em;
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: $red;
|
2012-10-05 18:02:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
li:hover ul.actions {
|
|
|
|
display: block;
|
2012-10-05 18:02:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
#woocommerce-product-data {
|
2015-11-06 15:51:17 +00:00
|
|
|
.hndle {
|
2013-11-08 11:38:45 +00:00
|
|
|
padding: 10px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
vertical-align: middle;
|
|
|
|
line-height: 24px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
span {
|
|
|
|
display: inline;
|
|
|
|
line-height: inherit;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
select {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
label {
|
|
|
|
padding-right: 1em;
|
|
|
|
font-size: 12px;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
label:first-child {
|
|
|
|
margin-right: 1em;
|
|
|
|
border-right: 1px solid #dfdfdf;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
input, select {
|
2016-10-27 17:06:33 +00:00
|
|
|
margin-top: -3px 0 0;
|
2012-07-22 12:50:45 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2016-10-27 17:06:33 +00:00
|
|
|
|
|
|
|
select {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-12 16:41:29 +00:00
|
|
|
> .handlediv {
|
2014-11-13 09:34:32 +00:00
|
|
|
margin-top: 4px;
|
2013-11-08 11:38:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-14 19:42:17 +00:00
|
|
|
.wrap {
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0;
|
2013-11-14 19:42:17 +00:00
|
|
|
}
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2012-08-02 22:13:20 +00:00
|
|
|
|
2013-10-18 17:10:55 +00:00
|
|
|
#woocommerce-coupon-description {
|
|
|
|
padding: 3px 8px;
|
|
|
|
font-size: 1.7em;
|
|
|
|
line-height: 1.42em;
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
|
|
|
outline: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 10px 0;
|
2013-10-18 17:10:55 +00:00
|
|
|
display: block;
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
&::-webkit-input-placeholder {
|
|
|
|
line-height: 1.42em;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-placeholder {
|
|
|
|
line-height:
|
|
|
|
1.42em;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:-ms-input-placeholder {
|
|
|
|
line-height: 1.42em;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:-moz-placeholder {
|
|
|
|
line-height: 1.42em;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
2013-10-18 17:10:55 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#woocommerce-product-data,
|
|
|
|
#woocommerce-coupon-data {
|
2012-11-22 13:27:17 +00:00
|
|
|
.panel-wrap {
|
2013-12-13 10:40:28 +00:00
|
|
|
background: #fff;
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.woocommerce_options_panel,
|
|
|
|
.wc-metaboxes-wrapper {
|
2014-10-17 13:42:15 +00:00
|
|
|
float: left;
|
|
|
|
width: 80%;
|
2013-12-27 13:26:37 +00:00
|
|
|
|
|
|
|
.wc-radios {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-12-27 13:26:37 +00:00
|
|
|
li {
|
|
|
|
display: block;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 0 10px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-12-27 13:26:37 +00:00
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-01-11 18:59:30 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#woocommerce-product-data,
|
|
|
|
#woocommerce-coupon-data,
|
|
|
|
.woocommerce {
|
2014-10-17 13:42:15 +00:00
|
|
|
.panel-wrap {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-10-18 17:10:55 +00:00
|
|
|
ul.wc-tabs {
|
2012-11-22 13:27:17 +00:00
|
|
|
margin: 0;
|
2015-04-28 01:06:06 +00:00
|
|
|
width: 20%;
|
|
|
|
float: left;
|
|
|
|
line-height: 1em;
|
2013-10-18 17:10:55 +00:00
|
|
|
padding: 0 0 10px;
|
2015-04-28 01:06:06 +00:00
|
|
|
position: relative;
|
2014-10-17 13:42:15 +00:00
|
|
|
background-color: #fafafa;
|
|
|
|
border-right: 1px solid #eee;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-10-17 13:42:15 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
content: '';
|
2014-10-17 13:42:15 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
height: 9999em;
|
|
|
|
position: absolute;
|
|
|
|
bottom: -9999em;
|
|
|
|
left: 0;
|
|
|
|
background-color: #fafafa;
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
2012-12-02 21:31:43 +00:00
|
|
|
|
2013-10-18 17:10:55 +00:00
|
|
|
li {
|
2012-11-22 13:27:17 +00:00
|
|
|
margin: 0;
|
2015-04-28 01:06:06 +00:00
|
|
|
padding: 0;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2012-12-02 21:31:43 +00:00
|
|
|
|
2012-11-22 13:27:17 +00:00
|
|
|
a {
|
2013-10-18 17:10:55 +00:00
|
|
|
margin: 0;
|
2015-04-28 01:06:06 +00:00
|
|
|
padding: 10px;
|
2013-10-18 17:10:55 +00:00
|
|
|
display: block;
|
2015-04-28 01:06:06 +00:00
|
|
|
box-shadow: none;
|
2013-10-18 17:10:55 +00:00
|
|
|
text-decoration: none;
|
2015-04-28 01:06:06 +00:00
|
|
|
line-height: 20px !important;
|
2014-10-17 13:42:15 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-01-31 09:09:56 +00:00
|
|
|
span {
|
|
|
|
margin-left: 0.618em;
|
|
|
|
margin-right: 0.618em;
|
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include iconbeforedashicons( '\f107' );
|
2013-10-18 17:10:55 +00:00
|
|
|
}
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2013-10-18 17:10:55 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.general_options a::before {
|
|
|
|
content: '\f107';
|
2013-10-18 17:10:55 +00:00
|
|
|
}
|
2013-07-16 15:54:17 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.inventory_options a::before {
|
|
|
|
content: '\f481';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.shipping_options a::before {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e01a';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.linked_product_options a::before {
|
|
|
|
content: '\f103';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.attribute_options a::before {
|
|
|
|
content: '\f175';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.advanced_options a::before {
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
content: '\f111';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.variations_options a::before {
|
|
|
|
content: '\f509';
|
2013-10-18 17:10:55 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.usage_restriction_options a::before {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e602';
|
2013-10-18 17:10:55 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.usage_limit_options a::before {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e601';
|
2013-10-28 11:19:56 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.general_coupon_data a::before {
|
|
|
|
font-family: 'WooCommerce';
|
|
|
|
content: '\e600';
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.active a {
|
|
|
|
color: #555;
|
|
|
|
position: relative;
|
|
|
|
background-color: #eee;
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2012-01-11 18:59:30 +00:00
|
|
|
}
|
|
|
|
}
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
|
|
|
|
2014-03-25 13:59:30 +00:00
|
|
|
/**
|
|
|
|
* Shipping
|
|
|
|
*/
|
|
|
|
.woocommerce_page_wc-settings {
|
2017-02-01 17:41:14 +00:00
|
|
|
input[type=url], input[type=email] {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2014-03-25 13:59:30 +00:00
|
|
|
.shippingrows {
|
|
|
|
th.check-column {
|
|
|
|
padding-top: 20px;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
tfoot th {
|
|
|
|
padding-left: 10px;
|
2014-03-25 13:59:30 +00:00
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.add.button::before {
|
|
|
|
@include iconbefore( '\e007' );
|
2014-03-25 13:59:30 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-04-30 23:05:56 +00:00
|
|
|
h3.wc-settings-sub-title {
|
2014-09-15 15:47:01 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
}
|
2014-03-25 13:59:30 +00:00
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
#woocommerce-product-data,
|
|
|
|
#woocommerce-product-type-options,
|
|
|
|
#woocommerce-order-data,
|
|
|
|
#woocommerce-order-downloads,
|
|
|
|
#woocommerce-coupon-data {
|
2012-11-22 13:27:17 +00:00
|
|
|
.inside {
|
|
|
|
margin: 0;
|
2015-10-01 05:53:16 +00:00
|
|
|
padding: 0;
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2012-11-22 13:27:17 +00:00
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
.woocommerce_options_panel,
|
|
|
|
.panel {
|
2015-10-01 05:53:16 +00:00
|
|
|
padding: 9px;
|
|
|
|
color: #555;
|
2016-03-24 14:19:00 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.form-field .woocommerce-help-tip {
|
|
|
|
font-size: 1.4em;
|
2016-03-24 14:19:00 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.woocommerce_page_settings .woocommerce_options_panel,
|
|
|
|
.panel {
|
2011-08-09 15:16:18 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#woocommerce-product-type-options .panel,
|
|
|
|
#woocommerce-product-specs .inside {
|
2011-08-09 15:16:18 +00:00
|
|
|
margin: 0;
|
2015-10-01 05:53:16 +00:00
|
|
|
padding: 9px;
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.woocommerce_options_panel p,
|
|
|
|
#woocommerce-product-type-options .panel p,
|
|
|
|
.woocommerce_options_panel fieldset.form-field {
|
2011-08-09 15:16:18 +00:00
|
|
|
margin: 0 0 9px;
|
|
|
|
font-size: 12px;
|
2011-08-21 13:28:54 +00:00
|
|
|
padding: 5px 9px;
|
2011-08-09 15:16:18 +00:00
|
|
|
line-height: 24px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
content: '.';
|
2013-07-31 03:11:21 +00:00
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
visibility: hidden;
|
2012-03-06 15:46:53 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.woocommerce_options_panel .checkbox,
|
|
|
|
.woocommerce_variable_attributes .checkbox {
|
2013-12-12 20:27:49 +00:00
|
|
|
width: auto;
|
2016-12-19 15:49:25 +00:00
|
|
|
margin: 4px 0 !important;
|
2011-08-09 15:16:18 +00:00
|
|
|
vertical-align: middle;
|
2016-12-19 15:49:25 +00:00
|
|
|
float: left;
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
.woocommerce_variations,
|
|
|
|
.woocommerce_options_panel {
|
2017-04-04 16:30:16 +00:00
|
|
|
.downloadable_files table {
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 !important;
|
2016-05-06 12:17:23 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
th {
|
|
|
|
padding: 7px 0 7px 7px !important;
|
2016-05-21 12:58:01 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.sort {
|
|
|
|
width: 17px;
|
|
|
|
padding: 7px !important;
|
2013-09-20 16:01:09 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.woocommerce-help-tip {
|
|
|
|
font-size: 1.1em;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
td {
|
|
|
|
vertical-align: middle !important;
|
|
|
|
padding: 4px 0 4px 7px !important;
|
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:last-child {
|
|
|
|
padding-right: 7px !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
input.input_text {
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
min-width: 0;
|
|
|
|
margin: 1px 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.upload_file_button {
|
|
|
|
width: auto;
|
|
|
|
float: right;
|
|
|
|
cursor: pointer;
|
2013-09-20 16:01:09 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.delete {
|
|
|
|
@include ir();
|
|
|
|
font-size: 1.2em;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2017-04-04 16:30:16 +00:00
|
|
|
@include icon_dashicons( '\f153' );
|
2014-01-22 10:36:51 +00:00
|
|
|
color: #999;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-01-22 10:36:51 +00:00
|
|
|
&:hover {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2017-04-04 16:30:16 +00:00
|
|
|
color: $red;
|
2014-01-22 10:36:51 +00:00
|
|
|
}
|
2013-09-26 15:35:37 +00:00
|
|
|
}
|
|
|
|
}
|
2013-09-20 16:01:09 +00:00
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
|
|
|
|
td.sort {
|
2016-05-21 12:58:01 +00:00
|
|
|
width: 17px;
|
2015-07-31 11:39:23 +00:00
|
|
|
cursor: move;
|
2016-05-21 12:58:01 +00:00
|
|
|
font-size: 15px;
|
|
|
|
text-align: center;
|
2017-04-04 16:30:16 +00:00
|
|
|
background: #f9f9f9;
|
|
|
|
padding-right: 7px !important;
|
2016-05-21 12:58:01 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
2016-03-08 10:25:42 +00:00
|
|
|
font-family: 'Dashicons';
|
2015-07-31 11:39:23 +00:00
|
|
|
text-align: center;
|
2017-04-04 16:30:16 +00:00
|
|
|
line-height: 1;
|
2016-05-21 12:58:01 +00:00
|
|
|
color: #999;
|
2015-07-31 11:39:23 +00:00
|
|
|
display: block;
|
|
|
|
width: 17px;
|
2016-05-21 12:58:01 +00:00
|
|
|
float: left;
|
|
|
|
height: 100%;
|
2015-07-31 11:39:23 +00:00
|
|
|
}
|
2016-05-21 12:58:01 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
color: #333;
|
2015-07-31 11:39:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
}
|
|
|
|
.woocommerce_variation {
|
|
|
|
h3 .sort {
|
|
|
|
width: 17px;
|
|
|
|
height: 26px;
|
|
|
|
cursor: move;
|
|
|
|
float: right;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
visibility: hidden;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: '\f333';
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
text-align: center;
|
|
|
|
line-height: 28px;
|
|
|
|
color: #999;
|
|
|
|
display: block;
|
|
|
|
width: 17px;
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::before {
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
}
|
2015-07-31 11:39:23 +00:00
|
|
|
h3:hover, &.ui-sortable-helper {
|
|
|
|
.sort {
|
2015-08-26 11:53:48 +00:00
|
|
|
visibility: visible;
|
2015-07-31 11:39:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.woocommerce_options_panel {
|
2015-10-01 05:53:16 +00:00
|
|
|
min-height: 175px;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-10-17 17:15:15 +00:00
|
|
|
|
2013-09-20 16:01:09 +00:00
|
|
|
.downloadable_files {
|
|
|
|
padding: 0 9px 0 162px;
|
|
|
|
position: relative;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 9px 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-20 16:01:09 +00:00
|
|
|
label {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
margin: 0 0 0 12px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
p {
|
2015-10-01 05:53:16 +00:00
|
|
|
margin: 9px 0;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
p.form-field,
|
|
|
|
fieldset.form-field {
|
2014-02-03 15:05:41 +00:00
|
|
|
padding: 5px 20px 5px 162px !important; /** Padding for aligning labels left - 12px + 150 label width **/
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-12-01 15:56:17 +00:00
|
|
|
.sale_price_dates_fields {
|
|
|
|
.short:first-of-type {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
.short:nth-of-type( 2 ) {
|
2014-12-01 15:56:17 +00:00
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
label,
|
|
|
|
legend {
|
2012-07-22 12:50:45 +00:00
|
|
|
float: left;
|
|
|
|
width: 150px;
|
|
|
|
padding: 0;
|
2014-02-03 15:05:41 +00:00
|
|
|
margin: 0 0 0 -150px;
|
2012-08-02 22:13:20 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.req {
|
2014-11-13 14:16:32 +00:00
|
|
|
font-weight: 700;
|
2012-07-22 12:50:45 +00:00
|
|
|
font-style: normal;
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $red;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.description {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 0 7px;
|
2014-11-11 15:47:10 +00:00
|
|
|
clear: none;
|
|
|
|
display: inline;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.description-block {
|
|
|
|
margin-left: 0;
|
|
|
|
display: block;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
textarea,
|
|
|
|
input,
|
|
|
|
select {
|
2012-07-22 12:50:45 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
textarea {
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
float: left;
|
2012-07-22 12:50:45 +00:00
|
|
|
height: 3.5em;
|
|
|
|
line-height: 1.5em;
|
2015-10-01 05:53:16 +00:00
|
|
|
vertical-align: top;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
input[type='text'],
|
|
|
|
input[type='email'],
|
|
|
|
input[type='number'],
|
|
|
|
input[type='password'] {
|
2012-07-22 12:50:45 +00:00
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
input.button {
|
|
|
|
width: auto;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
select {
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
input[type='text'].short,
|
|
|
|
input[type='email'].short,
|
|
|
|
input[type='number'].short,
|
|
|
|
input[type='password'].short,
|
2012-07-22 12:50:45 +00:00
|
|
|
.short {
|
2014-11-11 15:01:33 +00:00
|
|
|
width: 50%;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.sized {
|
|
|
|
width: auto !important;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-07-22 12:50:45 +00:00
|
|
|
.options_group {
|
|
|
|
border-top: 1px solid white;
|
2014-10-17 13:42:15 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-01 05:53:16 +00:00
|
|
|
&:first-child {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-01 05:53:16 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
2012-12-06 16:54:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-01 05:53:16 +00:00
|
|
|
fieldset {
|
|
|
|
margin: 9px 0;
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 5px 9px;
|
|
|
|
line-height: 24px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-01 05:53:16 +00:00
|
|
|
label {
|
2012-12-06 16:54:44 +00:00
|
|
|
width: auto;
|
2015-10-01 05:53:16 +00:00
|
|
|
float: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-10-01 05:53:16 +00:00
|
|
|
ul {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0;
|
2012-12-06 16:54:44 +00:00
|
|
|
width: auto;
|
2015-10-01 05:53:16 +00:00
|
|
|
|
|
|
|
input {
|
|
|
|
width: auto;
|
|
|
|
float: none;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2012-12-06 16:54:44 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
ul.wc-radios label {
|
|
|
|
margin-left: 0;
|
2014-02-21 16:16:23 +00:00
|
|
|
}
|
|
|
|
}
|
2012-12-06 16:54:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.dimensions_field .wrap {
|
|
|
|
display: block;
|
|
|
|
width: 50%;
|
2014-11-11 15:01:33 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
input {
|
|
|
|
width: 30.75%;
|
|
|
|
margin-right: 3.8%;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.last {
|
|
|
|
margin-right: 0;
|
2012-07-22 12:50:45 +00:00
|
|
|
}
|
|
|
|
}
|
2014-10-17 17:15:15 +00:00
|
|
|
|
|
|
|
&.padded {
|
|
|
|
padding: 1em;
|
|
|
|
}
|
2015-01-19 15:00:14 +00:00
|
|
|
|
|
|
|
.select2-container {
|
|
|
|
float: left;
|
|
|
|
}
|
2012-01-11 18:59:30 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-10 17:11:11 +00:00
|
|
|
#woocommerce-product-data input.dp-applied {
|
2011-08-09 15:16:18 +00:00
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#grouped_product_options,
|
|
|
|
#virtual_product_options,
|
|
|
|
#simple_product_options {
|
2011-08-09 15:16:18 +00:00
|
|
|
padding: 12px;
|
|
|
|
font-style: italic;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* WooCommerce meta boxes
|
|
|
|
*/
|
2012-02-25 11:43:25 +00:00
|
|
|
.wc-metaboxes-wrapper {
|
2012-02-25 19:48:09 +00:00
|
|
|
.toolbar {
|
2012-02-13 19:21:52 +00:00
|
|
|
margin: 0 !important;
|
|
|
|
border-top: 1px solid white;
|
2014-10-17 13:42:15 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
2012-02-13 19:21:52 +00:00
|
|
|
padding: 9px 12px !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-08-06 13:28:49 +00:00
|
|
|
&:first-child {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-top: 0;
|
2012-08-06 13:28:49 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-11-22 13:27:17 +00:00
|
|
|
&:last-child {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-bottom: 0;
|
2012-11-22 13:27:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-07-08 18:52:55 +00:00
|
|
|
.add_variation {
|
2015-07-08 22:46:19 +00:00
|
|
|
float: right;
|
|
|
|
margin-left: 5px;
|
2015-07-08 18:52:55 +00:00
|
|
|
}
|
|
|
|
|
2015-07-08 19:10:45 +00:00
|
|
|
.save-variation-changes,
|
|
|
|
.cancel-variation-changes {
|
2015-07-08 22:46:19 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 5px;
|
2014-02-03 15:05:41 +00:00
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 19:48:09 +00:00
|
|
|
p.toolbar {
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-08-19 13:00:26 +00:00
|
|
|
.expand-close {
|
|
|
|
margin-right: 2px;
|
|
|
|
color: #777;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: italic;
|
|
|
|
a {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&#product_attributes .expand-close {
|
|
|
|
float: right;
|
|
|
|
line-height: 28px;
|
2015-08-19 13:00:26 +00:00
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
button.add_variable_attribute,
|
|
|
|
.fr {
|
2012-02-13 19:21:52 +00:00
|
|
|
float: right;
|
2012-02-15 20:18:01 +00:00
|
|
|
margin: 0 0 0 6px;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
.wc-metaboxes {
|
2014-10-17 13:42:15 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
.wc-metabox-sortable-placeholder {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-color: #bbb;
|
|
|
|
background-color: #f5f5f5;
|
2012-02-25 11:43:25 +00:00
|
|
|
margin-bottom: 9px;
|
2014-11-13 09:34:32 +00:00
|
|
|
border-width: 1px;
|
|
|
|
border-style: dashed;
|
2012-02-25 11:43:25 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
.wc-metabox {
|
2013-11-12 16:41:29 +00:00
|
|
|
background: #fff;
|
2014-10-17 13:42:15 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
margin: 0 !important;
|
|
|
|
|
|
|
|
select {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2013-11-12 16:41:29 +00:00
|
|
|
.handlediv {
|
2015-12-02 15:26:00 +00:00
|
|
|
width: 27px;
|
2015-12-01 09:30:57 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f142' !important;
|
2015-12-02 15:26:00 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
2016-08-09 16:28:32 +00:00
|
|
|
font: 400 20px/1 'Dashicons';
|
|
|
|
line-height: 0.5 !important;
|
2015-12-02 15:26:00 +00:00
|
|
|
padding: 8px 10px;
|
|
|
|
position: relative;
|
|
|
|
right: 12px;
|
|
|
|
top: 0;
|
2013-11-12 16:41:29 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-04-11 17:56:54 +00:00
|
|
|
&.closed {
|
2014-11-13 09:34:32 +00:00
|
|
|
@include border-radius(3px);
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.handlediv::before {
|
|
|
|
content: '\f140' !important;
|
2013-11-15 14:32:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-11-15 14:32:44 +00:00
|
|
|
h3 {
|
2014-11-13 09:34:32 +00:00
|
|
|
border: 0;
|
2013-11-15 14:32:44 +00:00
|
|
|
}
|
2012-04-11 17:56:54 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
h3 {
|
|
|
|
margin: 0 !important;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.75em 0.75em 0.75em 1em !important;
|
2012-02-13 19:21:52 +00:00
|
|
|
font-size: 1em !important;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
cursor: move;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-07-08 22:08:07 +00:00
|
|
|
button, a.delete {
|
2012-02-13 19:21:52 +00:00
|
|
|
float: right;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-07-08 22:08:07 +00:00
|
|
|
a.delete {
|
|
|
|
color: red;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 26px;
|
|
|
|
text-decoration: none;
|
2015-08-24 15:05:09 +00:00
|
|
|
position: relative;
|
2015-08-26 11:53:48 +00:00
|
|
|
visibility: hidden;
|
2015-07-08 22:08:07 +00:00
|
|
|
}
|
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
strong {
|
|
|
|
font-weight: normal;
|
2015-07-08 22:08:07 +00:00
|
|
|
line-height: 26px;
|
2014-10-17 13:42:15 +00:00
|
|
|
font-weight: 700;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
select {
|
|
|
|
font-family: sans-serif;
|
2015-08-26 11:53:48 +00:00
|
|
|
max-width: 20%;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.25em 0.25em 0.25em 0;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
.handlediv {
|
|
|
|
background-position: 6px 5px !important;
|
2015-08-26 11:53:48 +00:00
|
|
|
visibility: hidden;
|
2015-07-08 22:08:07 +00:00
|
|
|
height: 26px;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
&.fixed {
|
|
|
|
cursor: pointer !important;
|
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-07-29 14:52:12 +00:00
|
|
|
&.woocommerce_variation h3 {
|
|
|
|
cursor: pointer;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.5em 0.75em 0.5em 1em !important;
|
2015-08-26 11:53:48 +00:00
|
|
|
a.delete, .handlediv, .sort {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: 0.25em;
|
2015-08-26 11:53:48 +00:00
|
|
|
}
|
2015-07-29 14:52:12 +00:00
|
|
|
}
|
|
|
|
|
2015-07-31 11:39:23 +00:00
|
|
|
h3:hover, &.ui-sortable-helper {
|
2015-07-08 22:08:07 +00:00
|
|
|
a.delete, .handlediv {
|
2015-08-26 11:53:48 +00:00
|
|
|
visibility: visible;
|
2015-07-08 22:08:07 +00:00
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
table {
|
2012-02-25 11:43:25 +00:00
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2014-10-17 13:42:15 +00:00
|
|
|
background-color: #fdfdfd;
|
|
|
|
padding: 1em;
|
|
|
|
border-top: 1px solid #eee;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-13 19:21:52 +00:00
|
|
|
td {
|
2012-02-25 11:43:25 +00:00
|
|
|
text-align: left;
|
2014-10-17 13:42:15 +00:00
|
|
|
padding: 0 6px 1em 0;
|
2012-02-13 19:21:52 +00:00
|
|
|
vertical-align: top;
|
|
|
|
border: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
label {
|
|
|
|
text-align: left;
|
|
|
|
display: block;
|
|
|
|
line-height: 21px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
input {
|
|
|
|
float: left;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
input,
|
|
|
|
textarea {
|
2012-02-25 11:43:25 +00:00
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
display: block;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 4px;
|
|
|
|
color: #555;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
select,
|
2016-08-09 16:28:32 +00:00
|
|
|
.select2-container {
|
2012-04-11 17:56:54 +00:00
|
|
|
width: 100% !important;
|
2012-02-25 11:43:25 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 19:48:09 +00:00
|
|
|
input.short {
|
|
|
|
width: 200px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
input.checkbox {
|
2013-11-12 16:34:44 +00:00
|
|
|
width: 16px;
|
2012-02-25 11:43:25 +00:00
|
|
|
min-width: inherit;
|
2013-11-12 16:34:44 +00:00
|
|
|
vertical-align: text-bottom;
|
|
|
|
display: inline-block;
|
2012-02-25 11:43:25 +00:00
|
|
|
float: none;
|
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-25 11:43:25 +00:00
|
|
|
td.attribute_name {
|
|
|
|
width: 200px;
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.plus,
|
|
|
|
.minus {
|
2012-02-15 20:18:01 +00:00
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-04-08 23:57:38 +00:00
|
|
|
.fl {
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-04-08 23:57:38 +00:00
|
|
|
.fr {
|
|
|
|
float: right;
|
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
2012-02-15 20:18:01 +00:00
|
|
|
}
|
2012-02-13 19:21:52 +00:00
|
|
|
}
|
|
|
|
|
2015-07-07 22:06:51 +00:00
|
|
|
.variations-pagenav {
|
|
|
|
float: right;
|
2015-07-10 23:04:16 +00:00
|
|
|
line-height: 24px;
|
2015-07-07 22:06:51 +00:00
|
|
|
|
|
|
|
.displaying-num {
|
2015-07-08 22:46:19 +00:00
|
|
|
color: #777;
|
|
|
|
font-size: 12px;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2015-07-07 22:06:51 +00:00
|
|
|
a {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0 10px 3px;
|
2015-07-07 22:06:51 +00:00
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.disabled,
|
|
|
|
a.disabled:active,
|
|
|
|
a.disabled:focus,
|
|
|
|
a.disabled:hover {
|
2016-08-09 16:28:32 +00:00
|
|
|
color: #a0a5aa;
|
2015-07-07 22:06:51 +00:00
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.variations-defaults {
|
|
|
|
float: left;
|
2015-08-26 11:53:48 +00:00
|
|
|
select {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0.25em 0.25em 0.25em 0;
|
2015-08-26 11:53:48 +00:00
|
|
|
}
|
2015-07-07 22:06:51 +00:00
|
|
|
}
|
|
|
|
|
2014-10-17 11:17:21 +00:00
|
|
|
.woocommerce_variable_attributes {
|
|
|
|
background-color: #fdfdfd;
|
2014-10-17 13:42:15 +00:00
|
|
|
border-top: 1px solid #eee;
|
2014-10-17 11:17:21 +00:00
|
|
|
|
|
|
|
.data {
|
|
|
|
@include clearfix;
|
2014-10-17 13:42:15 +00:00
|
|
|
padding: 1em 2em;
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.upload_image_button {
|
|
|
|
display: block;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
2014-10-17 11:17:21 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 20px;
|
|
|
|
position: relative;
|
2015-04-08 09:19:23 +00:00
|
|
|
cursor: pointer;
|
2014-10-17 11:17:21 +00:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
2015-04-08 09:19:23 +00:00
|
|
|
display: none;
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f128';
|
2014-10-17 11:17:21 +00:00
|
|
|
font-family: 'Dashicons';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
text-align: center;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
line-height: 64px;
|
|
|
|
font-size: 64px;
|
2014-10-17 11:17:21 +00:00
|
|
|
font-weight: 400;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&.remove {
|
2015-04-08 09:19:23 +00:00
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
}
|
2014-10-17 13:42:15 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\f335';
|
2015-04-08 09:19:23 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&:hover::before {
|
|
|
|
display: block;
|
2012-10-08 11:51:00 +00:00
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.options {
|
|
|
|
border: 1px solid #eee;
|
|
|
|
border-width: 1px 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.25em 0;
|
2014-10-17 11:17:21 +00:00
|
|
|
|
|
|
|
label {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 4px 1em 2px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
2017-01-31 18:05:21 +00:00
|
|
|
margin: 0 5px 0 .5em!important;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
vertical-align: middle;
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-row {
|
|
|
|
label {
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-help-tip {
|
|
|
|
float: right;
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type=text],
|
|
|
|
input[type=number],
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
select,
|
|
|
|
textarea {
|
2014-10-17 11:17:21 +00:00
|
|
|
width: 100%;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
margin: 2px 0 0;
|
2017-09-05 12:00:43 +00:00
|
|
|
padding: 5px;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
height: 30px;
|
|
|
|
line-height: 30px;
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.dimensions_field {
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
.wrap {
|
|
|
|
clear:left;
|
|
|
|
display: block;
|
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
input {
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
width: 33%;
|
2014-10-17 11:17:21 +00:00
|
|
|
float: left;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
vertical-align: middle;
|
2014-10-17 11:17:21 +00:00
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
margin-right: 0;
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
width: 34%;
|
2012-10-08 11:51:00 +00:00
|
|
|
}
|
2011-11-09 23:06:17 +00:00
|
|
|
}
|
2011-08-09 15:16:18 +00:00
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
&.form-row-first,
|
|
|
|
&.form-row-last {
|
|
|
|
width: 48%;
|
|
|
|
float: right;
|
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
&.form-row-first {
|
|
|
|
clear: both;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
|
WIP - Product CRUD (#12065)
* Created function to get the catalog visibility options
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Sanitize ids later
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Bump template version
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* Made abstract function useful
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* Allow WP_Query to preload post data, and meta in wc_get_products()
Allow WP_Query to bulk query for post data and meta if more than
just IDs are requested from wc_get_products(). Reduces query count
significantly.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* First methods for WP_Product crud
* Product set methods
* Fixed several erros while setting data
* Hardcode the get_type per product class
* Initial look through getters and setters and abstract data
* Missing var
* Fixed coding standards and improved the docblocks
* Get cached terms from wc_get_related_terms()
* Fixed wrong variable in wc_get_related_terms
* Use count() instead of sizeof()
* Add related product functions and deprecate those in class.
* No need to exclude ID
* Sanitize ids later
* Clean up the abstract product class a bit, deprecate two functions we have renamed, make update & create work properly, and add some tests for it.
* Remove unneeded comments
* wc_get_product_term_ids instead of related wording and use in other places.
get_the_terms is used here and also handles caching, something
wp_get_post_terms does not.
* Handle PR feedback: Remove duplicate regular_price update, allow changing of post status for products, remove deprecation for get_title since we might still offer it as a function
* External Product CRUD
* _virtual meta should be 'no', not taxable, in product unit test helper
* Bump template version
* Made abstract function useful
* Grouped product class
* Tests
* Move children to meta and update test
* Use get_upsell_ids
* Spacing in query
* Moving and refactoring methods
* Availability html
* Tidy/add todos
* Rename method
* Put back review functions (still todo)
* missing $this
* get_price_including_tax/excluding_tax functions
* wc_get_price_to_display
* Price handling
* [Product CRUD] Variable (#12146)
* [Product CRUD] Variable Products
* Handle PR feedback.
* [Product CRUD] Grouped Handling (#12151)
* Handle grouped product saving
* Update routine
* [Product CRUD] Product crud terms (#12149)
* Category and tag id handling
* Replace template functions
* Remove todo
* Handle default name in save function
* Product crud admin save routine (#12174)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Spacing
* Fix comment
* wc_implode_text_attributes helper function
* [Product CRUD] Product crud admin use getters (#12196)
* Initial props
* Work on admin saving
* Set/get attributes
* Atom was moaning about this before but no longer.
* Update get_shipping_class
* WC_Product_Attribute
* Use getter in admin panel
* Fix attribute saving
* Move settings into new files
* Refactor panels and use getters
* Use getters for variation panel
* Revert save variation changes for now
* Add todos
* Fix downloads
* REST API CRUD Updates
* Additional API updates/fixes. Added some todos
* Fix final failing tests and implementing setters/getters and attributes functionality.
* Fix comparison for is_on_sale and remove download_type from WC_Product.
* Add a wc_get_products wrapper.
* Remove the download type input from the product data metabox for downloadable products. (#12221)
* [Product CRUD] Variations - setters, getters and admin. (#12228)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* Feedback fixes
* Implement CRUD in the legacy REST API
* Handle PR feedback
* [Product CRUD] Getter setter proxy methods (#12236)
* Started on variation changes
* Stock functions
* Variation class
* Bulk change ->id to get_id() to fix variation form display
* Missing status
* Fix add to cart
* Start on stored data save
* save variation
* Save_variations
* Variation edit panel
* Save variations code works.
* Remove stored data code and fix save
* Improve legacy class
* wc_bool_to_string
* prepare_set_attributes
* Use wc_get_products
* More feedback fixes
* get_prop implementation in abstract and data classes
* Implement set_prop
* Change handling
* Array key exists
* set_object_read
* Use get_the_terms() instead of wp_get_post_terms()
wp_get_post_terms() is a wrapper around wp_get_object_terms() which does not
use the object cache, and generates a database query every time it is used.
get_the_terms() however can use data from the object cache if present.
* [Product CRUD] Variable, variation, notices, and stock handling (#12277)
* No longer needed
* Remove old todos
* Use getters in admin list
* Related and upsells update for CRUD
* Fix notice in gallery
* Variable fixes and todos
* Context
* Price sync
* Revert variation attributes change
* Return parent data in view context
* Defer term counting
* wc_find_matching_product_variation
* Stock manage tweaks
* Stock fixes
* Correct id
* correct id
* Better sync
* Data logic setter fix
* feedback
* Prevent notices
* Handle image_id from parent
* Fix error
* Remove _wc_save_product_price
* Remove todo
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* [Product CRUD] Abstract todos (#12305)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Revert "[Product CRUD] Abstract todos (#12305)"
This reverts commit 9a6136fcf88fec16f97457b7c8a4388f7587bfa2.
* Remove deprecated get_variation_id()
* New default attributes method
* [Product CRUD] Product Datastore (#12317)
* Fix up tests in the product/* folder.
* Handle data store updates for grouped, variable, external, simple, and general data store updates for products.
* Variations & variable changes.
* Update -functions.php calls to use data store.
* Add an interface for the public product data store methods.
* Finished product factory tests
* Correctly delete in the api, fix up some comments, and implement an interface for the public variable methods.
* Fix up delete in all versions of the api
* Handle feedback
* Match protected decloration to parent
* Product crud abstract todos (#12316)
* Get dimensions and weights, with soft deprecation
* Product attributes
* Ratings
* Fix read method
* Downloads
* Feedback
* Fix up store
* Fixed method returning in write context
* Fix error in variation admin
* Check for parent value - fixes tax class
* Remove old/complete todos
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed wrong variation URLs
* Fixed undefined $image_id in WC_Product_Variation::get_image_id()
* Allow wc_rest_prepare_date_response() handle timestamps
* Updated get methods on REST API for variations
* Use variations CRUD to save variations metadata
* Remove deprecated get_variation_id()
* New default attributes method
* Fixed method returning in write context
* Allow set tax class as "parent"
* Removed duplicated sync
* Fixed coding standards
* TODO is not accurate.
* Should pass WC_Product instancies to WC_Comments methods (#12327)
* Use new method in abstract order class to prevent headers sent issue in tests
* Fixed variable description in REST API
* Updated how create initial product variation
* Fixed a few fatal errors and warnings in Products CRUD (#12329)
* Fixed a few fatal errors and warnings in Products CRUD
* Fixed sync functions
* Add variations CRUD to legacy API (#12331)
* Apply crud to variable products in legacy API v1
* New REST API do not need fallback for default attributes
* Apply variations CRUD to legacy API v2
* Legacy v2 - save default attributes
* Variations in legacy API v2 do not have descriptions
* Fixed legacy API v2 variations params
* Applied variations CRUD to legacy API v3
* Sync before save in legacy apis
* Punc
* Removed API todos
* Removed test
* Products endpoint tweaks (#12354)
* Var type already normalized on CRUD
* Let Product CRUD handle with validation, sanitization and conditional checks
* Set downloads using WC_Product_Download
* Stop try catch exceptions more than one time
* Handle WC_Data_Exception in legacy API
* Complete remove products when fails on creating
* On creating I mean!
* Already have a method to complete delete products
* Fixed standards using WP CodeSniffer
* get_the_terms() returns false when empty
* get_manage_stock returns boolean
@claudiosanches
* Merge conflict
* Variations API endpoint fixes
* Product CRUD improvements (#12359)
* args is not used any more - remove todo
* Added test for attributes
* wc_get_price_excluding_tax usage
* parent usage
* Fix rating counts
* Test fixes
* Cleanup after tests
* Make sure status transition code runs even during API calls, not just in admin.
* Default visibility
* Fix attribute setting in API
* Use get name instead of get title
* variation id usage
* Improved cross sell templates
* variation_data
* Grouped product sync
* Notices
* Sync is not needed in API
* Delete
* Rename interfaces
* Update counts in data store
2016-11-16 12:38:24 +00:00
|
|
|
&.form-row-full {
|
|
|
|
clear: both;
|
|
|
|
}
|
2014-10-17 11:17:21 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Tooltips
|
|
|
|
*/
|
2011-08-20 15:41:42 +00:00
|
|
|
.tips {
|
|
|
|
cursor: help;
|
2011-08-21 13:28:54 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-08-21 13:28:54 +00:00
|
|
|
img.tips {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 5px 0 0;
|
2011-08-20 15:41:42 +00:00
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
|
|
|
|
#tiptip_holder {
|
|
|
|
display: none;
|
2017-04-21 20:22:14 +00:00
|
|
|
z-index: 8675309;
|
2011-11-25 18:44:44 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2017-02-03 09:41:31 +00:00
|
|
|
/*rtl:ignore*/
|
2011-11-25 18:44:44 +00:00
|
|
|
left: 0;
|
2017-04-18 11:37:59 +00:00
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-27 19:28:42 +00:00
|
|
|
&.tip_top {
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
|
|
|
#tiptip_arrow_inner {
|
|
|
|
margin-top: -7px;
|
|
|
|
margin-left: -6px;
|
2015-04-08 09:27:14 +00:00
|
|
|
border-top-color: #333;
|
2013-09-27 19:28:42 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-27 19:28:42 +00:00
|
|
|
&.tip_bottom {
|
|
|
|
padding-top: 5px;
|
|
|
|
|
|
|
|
#tiptip_arrow_inner {
|
|
|
|
margin-top: -5px;
|
|
|
|
margin-left: -6px;
|
2015-04-08 09:27:14 +00:00
|
|
|
border-bottom-color: #333;
|
2013-09-27 19:28:42 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-27 19:28:42 +00:00
|
|
|
&.tip_right {
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
#tiptip_arrow_inner {
|
|
|
|
margin-top: -6px;
|
|
|
|
margin-left: -5px;
|
2015-04-08 09:27:14 +00:00
|
|
|
border-right-color: #333;
|
2013-09-27 19:28:42 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-09-27 19:28:42 +00:00
|
|
|
&.tip_left {
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
#tiptip_arrow_inner {
|
|
|
|
margin-top: -6px;
|
|
|
|
margin-left: -7px;
|
2015-04-08 09:27:14 +00:00
|
|
|
border-left-color: #333;
|
2013-09-27 19:28:42 +00:00
|
|
|
}
|
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#tiptip_content,
|
|
|
|
.chart-tooltip,
|
|
|
|
.wc_error_tip {
|
2011-08-20 15:41:42 +00:00
|
|
|
color: #fff;
|
2016-08-09 16:28:32 +00:00
|
|
|
font-size: 0.8em;
|
2015-05-02 15:24:33 +00:00
|
|
|
max-width: 150px;
|
2015-04-08 09:27:14 +00:00
|
|
|
background: #333;
|
2015-05-02 15:24:33 +00:00
|
|
|
text-align: center;
|
2015-04-08 09:27:14 +00:00
|
|
|
border-radius: 3px;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.618em 1em;
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-02-24 20:04:05 +00:00
|
|
|
code {
|
2013-07-31 03:11:21 +00:00
|
|
|
padding: 1px;
|
2015-05-02 15:24:33 +00:00
|
|
|
background: #888;
|
2013-07-31 03:11:21 +00:00
|
|
|
}
|
2011-11-25 18:44:44 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
#tiptip_arrow,
|
|
|
|
#tiptip_arrow_inner {
|
2011-11-25 18:44:44 +00:00
|
|
|
position: absolute;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 6px;
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-02-03 09:41:31 +00:00
|
|
|
/*rtl:raw:
|
|
|
|
#tiptip_arrow {
|
2017-04-18 11:37:59 +00:00
|
|
|
right: 50%;
|
|
|
|
margin-right: -6px;
|
2017-02-03 09:41:31 +00:00
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
2013-09-27 19:28:42 +00:00
|
|
|
.wc_error_tip {
|
|
|
|
max-width: 20em;
|
2015-05-02 15:24:33 +00:00
|
|
|
line-height: 1.8em;
|
2013-09-27 19:28:42 +00:00
|
|
|
position: absolute;
|
2015-05-02 15:24:33 +00:00
|
|
|
white-space: normal;
|
|
|
|
background: #d82223;
|
2013-09-27 19:28:42 +00:00
|
|
|
margin: 1.5em 1px 0 -1em;
|
|
|
|
z-index: 9999999;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
content: '';
|
2014-11-13 09:34:32 +00:00
|
|
|
display: block;
|
2013-09-27 19:28:42 +00:00
|
|
|
border: 8px solid #d82223;
|
|
|
|
border-right-color: transparent;
|
|
|
|
border-left-color: transparent;
|
|
|
|
border-top-color: transparent;
|
2014-11-13 09:34:32 +00:00
|
|
|
position: absolute;
|
2013-09-27 19:28:42 +00:00
|
|
|
top: -3px;
|
|
|
|
left: 50%;
|
|
|
|
margin: -1em 0 0 -3px;
|
|
|
|
}
|
2011-08-20 15:41:42 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Date picker
|
|
|
|
*/
|
2014-11-13 09:34:32 +00:00
|
|
|
img.ui-datepicker-trigger {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-top: -1px;
|
2016-08-09 16:28:32 +00:00
|
|
|
cursor: pointer;
|
2014-11-13 09:34:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce_options_panel img.ui-datepicker-trigger,
|
|
|
|
.wc-metabox-content img.ui-datepicker-trigger {
|
|
|
|
float: left;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ui-datepicker-div {
|
2016-08-09 16:28:32 +00:00
|
|
|
display: none;
|
2014-11-13 09:34:32 +00:00
|
|
|
}
|
2011-08-10 17:11:11 +00:00
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Reports
|
|
|
|
*/
|
2017-11-13 19:03:08 +00:00
|
|
|
.woocommerce-reports-remove-filter {
|
|
|
|
color: red;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
.woocommerce-reports-wrap,
|
|
|
|
.woocommerce-reports-wide {
|
2013-06-22 10:37:59 +00:00
|
|
|
&.woocommerce-reports-wrap {
|
|
|
|
margin-left: 300px;
|
|
|
|
padding-top: 18px;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-20 10:30:21 +00:00
|
|
|
&.halved {
|
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-11-13 19:03:08 +00:00
|
|
|
.widefat th {
|
|
|
|
padding: 7px;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.widefat td {
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 7px;
|
|
|
|
.description {
|
|
|
|
margin: 4px 0 0;
|
2013-07-09 10:48:56 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 23:07:40 +00:00
|
|
|
.postbox {
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
content: '.';
|
2013-07-31 03:11:21 +00:00
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
visibility: hidden;
|
2013-06-28 16:33:37 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 23:07:40 +00:00
|
|
|
h3 {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-10 11:05:45 +00:00
|
|
|
.inside {
|
|
|
|
padding: 10px;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-02-18 16:38:16 +00:00
|
|
|
div.stats_range,
|
|
|
|
h3.stats_range {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-bottom-color: #dfdfdf;
|
2015-11-06 15:32:33 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-18 11:56:12 +00:00
|
|
|
.export_csv {
|
|
|
|
float: right;
|
|
|
|
line-height: 26px;
|
|
|
|
border-left: 1px solid #dfdfdf;
|
2013-11-08 11:46:44 +00:00
|
|
|
padding: 10px;
|
2013-07-18 11:56:12 +00:00
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
@include iconbeforedashicons( '\f346' );
|
2014-11-13 09:34:32 +00:00
|
|
|
margin-right: 4px;
|
2013-07-19 11:41:38 +00:00
|
|
|
}
|
2013-07-18 11:56:12 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
ul {
|
|
|
|
list-style: none outside;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
zoom: 1;
|
2013-12-13 10:45:13 +00:00
|
|
|
background: #f5f5f5;
|
2016-02-17 17:40:08 +00:00
|
|
|
border-bottom: 1px solid #ccc;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: ' ';
|
2013-07-31 03:11:21 +00:00
|
|
|
display: table;
|
2013-07-16 11:42:46 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
2014-11-13 09:34:32 +00:00
|
|
|
clear: both;
|
2013-07-16 11:42:46 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2013-06-24 16:47:28 +00:00
|
|
|
line-height: 26px;
|
2016-02-17 17:40:08 +00:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: 14px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
a {
|
|
|
|
border-right: 1px solid #dfdfdf;
|
2013-11-08 11:46:44 +00:00
|
|
|
padding: 10px;
|
2013-06-22 10:37:59 +00:00
|
|
|
display: block;
|
2013-06-24 16:47:28 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
&.active {
|
2013-11-08 11:46:44 +00:00
|
|
|
background: #fff;
|
2014-11-13 09:34:32 +00:00
|
|
|
box-shadow: 0 4px 0 0 #fff;
|
|
|
|
|
2013-06-25 13:59:20 +00:00
|
|
|
a {
|
|
|
|
color: #777;
|
|
|
|
}
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
&.custom {
|
|
|
|
padding: 9px 10px;
|
|
|
|
vertical-align: middle;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
form,
|
|
|
|
div {
|
2013-06-24 16:47:28 +00:00
|
|
|
display: inline;
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0;
|
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
input.range_datepicker {
|
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0 10px 0 0;
|
2013-06-24 16:47:28 +00:00
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
color: #777;
|
2013-06-25 14:46:41 +00:00
|
|
|
text-align: center;
|
2014-11-13 09:34:32 +00:00
|
|
|
box-shadow: none;
|
2016-08-12 14:59:01 +00:00
|
|
|
|
2016-08-10 16:35:42 +00:00
|
|
|
&.from {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
|
|
|
}
|
2013-06-22 10:37:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
.chart-with-sidebar {
|
2013-06-24 16:47:28 +00:00
|
|
|
padding: 12px 12px 12px 249px;
|
2013-06-22 10:37:59 +00:00
|
|
|
margin: 0 !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
.chart-sidebar {
|
2013-06-24 16:47:28 +00:00
|
|
|
width: 225px;
|
|
|
|
margin-left: -237px;
|
2013-06-22 10:37:59 +00:00
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
.chart-widgets {
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0;
|
2013-06-24 16:47:28 +00:00
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
li.chart-widget {
|
2013-06-24 16:47:28 +00:00
|
|
|
margin: 0 0 1em;
|
2013-07-16 11:42:46 +00:00
|
|
|
background: #fafafa;
|
2014-11-13 09:34:32 +00:00
|
|
|
border: 1px solid #dfdfdf;
|
2013-06-27 15:12:17 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
content: '.';
|
2013-07-31 03:11:21 +00:00
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
clear: both;
|
|
|
|
visibility: hidden;
|
2013-06-27 15:12:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
h4 {
|
2013-07-16 11:42:46 +00:00
|
|
|
background: #fff;
|
2014-11-13 09:34:32 +00:00
|
|
|
border: 1px solid #dfdfdf;
|
2013-07-18 08:20:49 +00:00
|
|
|
border-left-width: 0;
|
|
|
|
border-right-width: 0;
|
2013-07-16 11:42:46 +00:00
|
|
|
padding: 10px;
|
2014-11-13 09:34:32 +00:00
|
|
|
margin: 0;
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $blue;
|
2014-11-13 09:34:32 +00:00
|
|
|
border-top-width: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
background-image: linear-gradient(to top, #ececec, #f9f9f9);
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-18 08:20:49 +00:00
|
|
|
&.section_title:hover {
|
2014-11-13 09:34:32 +00:00
|
|
|
color: $red;
|
2013-07-16 11:42:46 +00:00
|
|
|
}
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-27 15:12:17 +00:00
|
|
|
.section_title {
|
|
|
|
cursor: pointer;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-27 15:12:17 +00:00
|
|
|
span {
|
|
|
|
display: block;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::after {
|
|
|
|
@include iconafter( '\e035' );
|
2013-11-22 17:09:05 +00:00
|
|
|
float: right;
|
2016-08-09 16:28:32 +00:00
|
|
|
font-size: 0.9em;
|
2013-11-22 17:09:05 +00:00
|
|
|
line-height: 1.618;
|
|
|
|
}
|
2013-06-27 15:12:17 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-27 15:12:17 +00:00
|
|
|
&.open {
|
2013-07-16 11:42:46 +00:00
|
|
|
color: #333;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
span::after {
|
2013-11-22 17:09:05 +00:00
|
|
|
display: none;
|
2013-06-27 15:12:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-16 11:42:46 +00:00
|
|
|
.section {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-bottom: 1px solid #dfdfdf;
|
|
|
|
|
2015-01-12 15:43:13 +00:00
|
|
|
.select2-container {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 100% !important;
|
2013-11-22 17:09:05 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-16 11:42:46 +00:00
|
|
|
&:last-of-type {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-radius: 0 0 3px 3px;
|
2013-07-16 11:42:46 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
table {
|
2013-06-25 13:59:20 +00:00
|
|
|
width: 100%;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
td {
|
2013-06-25 13:59:20 +00:00
|
|
|
padding: 7px 10px;
|
2013-06-24 16:47:28 +00:00
|
|
|
vertical-align: top;
|
|
|
|
border-top: 1px solid #e5e5e5;
|
2013-06-25 13:59:20 +00:00
|
|
|
line-height: 1.4em;
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-16 11:42:46 +00:00
|
|
|
tr:first-child td {
|
2014-11-13 09:34:32 +00:00
|
|
|
border-top: 0;
|
2013-07-16 11:42:46 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-24 16:47:28 +00:00
|
|
|
td.count {
|
2013-06-26 14:11:33 +00:00
|
|
|
background: #f5f5f5;
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-25 13:59:20 +00:00
|
|
|
td.name {
|
2014-10-30 14:02:51 +00:00
|
|
|
max-width: 175px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2013-06-25 13:59:20 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-25 13:59:20 +00:00
|
|
|
td.sparkline {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-25 13:59:20 +00:00
|
|
|
.wc_sparkline {
|
|
|
|
width: 32px;
|
|
|
|
height: 1em;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
tr.active td {
|
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
form,
|
|
|
|
p {
|
2013-07-16 11:42:46 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 10px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-27 15:12:17 +00:00
|
|
|
.submit {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-06-26 14:11:33 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
#product_ids {
|
|
|
|
width: 100%;
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
.select_all,
|
|
|
|
.select_none {
|
2013-06-27 17:39:55 +00:00
|
|
|
float: right;
|
|
|
|
color: #999;
|
|
|
|
margin-left: 4px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2018-01-03 18:09:53 +00:00
|
|
|
|
|
|
|
.description {
|
|
|
|
margin-left: .5em;
|
|
|
|
font-weight: normal;
|
|
|
|
opacity: .8;
|
|
|
|
}
|
2013-06-24 16:47:28 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
.chart-legend {
|
|
|
|
list-style: none outside;
|
2013-07-18 08:20:49 +00:00
|
|
|
margin: 0 0 1em;
|
2013-06-22 10:37:59 +00:00
|
|
|
padding: 0;
|
2014-11-13 09:34:32 +00:00
|
|
|
border: 1px solid #dfdfdf;
|
|
|
|
border-right-width: 0;
|
|
|
|
border-bottom-width: 0;
|
2013-07-16 11:42:46 +00:00
|
|
|
background: #fff;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
li {
|
2013-07-16 11:42:46 +00:00
|
|
|
border-right: 5px solid #aaa;
|
2013-06-22 10:37:59 +00:00
|
|
|
color: #aaa;
|
2014-02-13 09:42:24 +00:00
|
|
|
padding: 1em;
|
2013-06-22 10:37:59 +00:00
|
|
|
display: block;
|
2013-07-16 11:42:46 +00:00
|
|
|
margin: 0;
|
2017-05-05 13:33:33 +00:00
|
|
|
transition: all ease 0.5s;
|
2013-07-16 11:42:46 +00:00
|
|
|
box-shadow:
|
|
|
|
inset 0 -1px 0 0 #dfdfdf;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
strong {
|
2014-02-13 09:42:24 +00:00
|
|
|
font-size: 1.618em;
|
2013-06-22 10:37:59 +00:00
|
|
|
line-height: 1.2em;
|
|
|
|
color: #464646;
|
|
|
|
font-weight: normal;
|
|
|
|
display: block;
|
2016-08-09 16:28:32 +00:00
|
|
|
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', sans-serif;
|
2015-02-13 13:38:30 +00:00
|
|
|
|
|
|
|
del {
|
|
|
|
color: #e74c3c;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2013-06-22 10:37:59 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-16 11:42:46 +00:00
|
|
|
&:hover {
|
|
|
|
box-shadow:
|
|
|
|
inset 0 -1px 0 0 #dfdfdf,
|
2014-09-22 17:48:26 +00:00
|
|
|
inset 300px 0 0 rgba(156, 93, 144, 0.1);
|
2013-07-16 11:42:46 +00:00
|
|
|
border-right: 5px solid #9c5d90 !important;
|
2014-11-13 09:34:32 +00:00
|
|
|
padding-left: 1.5em;
|
2013-07-16 11:42:46 +00:00
|
|
|
color: #9c5d90;
|
|
|
|
}
|
2013-06-22 10:37:59 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-09 14:31:22 +00:00
|
|
|
.pie-chart-legend {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 12px 0 0;
|
2013-07-09 14:31:22 +00:00
|
|
|
overflow: hidden;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-07-09 14:31:22 +00:00
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
margin: 0;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 6px 0 0;
|
2013-07-09 14:31:22 +00:00
|
|
|
border-top: 4px solid #999;
|
|
|
|
text-align: center;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2013-07-09 14:31:22 +00:00
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 23:07:40 +00:00
|
|
|
.stat {
|
|
|
|
font-size: 1.5em !important;
|
2014-11-13 14:16:32 +00:00
|
|
|
font-weight: 700;
|
2011-09-16 23:07:40 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
.chart-placeholder {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 100%;
|
2013-06-26 14:11:33 +00:00
|
|
|
height: 650px;
|
2014-11-13 09:34:32 +00:00
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2013-06-22 10:37:59 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-26 14:11:33 +00:00
|
|
|
.chart-prompt {
|
|
|
|
line-height: 650px;
|
2013-06-27 15:12:17 +00:00
|
|
|
margin: 0;
|
2013-06-26 14:11:33 +00:00
|
|
|
color: #999;
|
|
|
|
font-size: 1.2em;
|
|
|
|
font-style: italic;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
.chart-container {
|
2013-07-31 03:11:21 +00:00
|
|
|
background: #fff;
|
|
|
|
padding: 12px;
|
|
|
|
position: relative;
|
2014-11-13 09:34:32 +00:00
|
|
|
border: 1px solid #dfdfdf;
|
|
|
|
border-radius: 3px;
|
2013-06-22 10:37:59 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
.main .chart-legend {
|
|
|
|
margin-top: 12px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
li {
|
|
|
|
border-right: 0;
|
|
|
|
margin: 0 8px 0 0;
|
|
|
|
float: left;
|
|
|
|
border-top: 4px solid #aaa;
|
|
|
|
}
|
2011-09-16 23:07:40 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 23:07:40 +00:00
|
|
|
.woocommerce-reports-main {
|
|
|
|
float: left;
|
|
|
|
min-width: 100%;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
table td {
|
|
|
|
padding: 9px;
|
2012-07-20 19:08:39 +00:00
|
|
|
}
|
2011-09-16 23:07:40 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 23:07:40 +00:00
|
|
|
.woocommerce-reports-sidebar {
|
|
|
|
display: inline;
|
|
|
|
width: 281px;
|
|
|
|
margin-left: -300px;
|
|
|
|
clear: both;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-20 10:30:21 +00:00
|
|
|
.woocommerce-reports-left {
|
|
|
|
width: 49.5%;
|
|
|
|
float: left;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-20 10:30:21 +00:00
|
|
|
.woocommerce-reports-right {
|
|
|
|
width: 49.5%;
|
|
|
|
float: right;
|
|
|
|
}
|
2011-09-16 23:07:40 +00:00
|
|
|
}
|
|
|
|
|
2012-08-31 13:11:30 +00:00
|
|
|
.woocommerce-wide-reports-wrap {
|
|
|
|
padding-bottom: 11px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2012-08-31 13:11:30 +00:00
|
|
|
.widefat {
|
|
|
|
.export-data {
|
|
|
|
float: right;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
2012-08-31 13:11:30 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
padding: 7px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
form.report_filters {
|
|
|
|
p {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
label,
|
|
|
|
input,
|
|
|
|
div {
|
2012-08-31 13:11:30 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-22 10:37:59 +00:00
|
|
|
.chart-tooltip {
|
2013-07-31 03:11:21 +00:00
|
|
|
position: absolute;
|
|
|
|
display: none;
|
|
|
|
line-height: 1;
|
2011-09-16 12:45:46 +00:00
|
|
|
}
|
2011-08-24 16:23:04 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
table.bar_chart {
|
|
|
|
width: 100%;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
thead th {
|
|
|
|
text-align: left;
|
|
|
|
color: #ccc;
|
|
|
|
padding: 6px 0;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
tbody {
|
|
|
|
th {
|
|
|
|
padding: 6px 0;
|
|
|
|
width: 25%;
|
|
|
|
text-align: left !important;
|
|
|
|
font-weight: normal !important;
|
|
|
|
border-bottom: 1px solid #fee;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
td {
|
2011-12-05 12:10:49 +00:00
|
|
|
text-align: right;
|
|
|
|
line-height: 24px;
|
|
|
|
padding: 6px 6px 6px 0;
|
|
|
|
border-bottom: 1px solid #fee;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-12-05 12:10:49 +00:00
|
|
|
span {
|
|
|
|
color: #8a4b75;
|
|
|
|
display: block;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-12-05 12:10:49 +00:00
|
|
|
span.alt {
|
|
|
|
color: #47a03e;
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-12-05 12:10:49 +00:00
|
|
|
td.bars {
|
2011-09-16 17:39:37 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
2011-12-05 12:10:49 +00:00
|
|
|
padding: 6px 6px 6px 0;
|
2011-09-16 17:39:37 +00:00
|
|
|
border-bottom: 1px solid #fee;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
|
|
|
span,
|
|
|
|
a {
|
2011-11-16 21:18:59 +00:00
|
|
|
text-decoration: none;
|
2011-09-16 17:39:37 +00:00
|
|
|
clear: both;
|
|
|
|
background: #8a4b75;
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
line-height: 24px;
|
|
|
|
height: 24px;
|
2014-11-13 09:34:32 +00:00
|
|
|
border-radius: 3px;
|
2011-09-16 17:39:37 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
span.alt {
|
|
|
|
clear: both;
|
|
|
|
background: #47a03e;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2011-09-16 17:39:37 +00:00
|
|
|
span {
|
|
|
|
margin: 0;
|
2011-11-16 22:52:46 +00:00
|
|
|
color: #c5dec2 !important;
|
2011-09-16 17:39:37 +00:00
|
|
|
text-shadow: 0 1px 0 #47a03e;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.post-type-shop_order .woocommerce-BlankState-message::before {
|
|
|
|
@include icon( '\e01d' );
|
2016-06-03 13:36:27 +00:00
|
|
|
}
|
2016-06-03 13:07:41 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.post-type-shop_coupon .woocommerce-BlankState-message::before {
|
|
|
|
@include icon( '\e600' );
|
2016-06-03 13:36:27 +00:00
|
|
|
}
|
2016-06-03 13:07:41 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.post-type-product .woocommerce-BlankState-message::before {
|
|
|
|
@include icon( '\e006' );
|
2016-06-03 13:36:27 +00:00
|
|
|
}
|
2016-06-03 13:07:41 +00:00
|
|
|
|
2017-04-27 11:23:16 +00:00
|
|
|
.woocommerce-BlankState--api .woocommerce-BlankState-message::before {
|
|
|
|
@include icon( '\e01c' );
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-BlankState--webhooks .woocommerce-BlankState-message::before {
|
|
|
|
@include icon( '\e01b' );
|
|
|
|
}
|
|
|
|
|
2016-06-03 13:36:27 +00:00
|
|
|
.woocommerce-BlankState {
|
|
|
|
text-align: center;
|
|
|
|
padding: 5em 0 0;
|
|
|
|
|
|
|
|
.woocommerce-BlankState-message {
|
|
|
|
color: #aaa;
|
|
|
|
margin: 0 auto 1.5em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
font-size: 1.2em;
|
|
|
|
max-width: 500px;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2016-06-03 13:36:27 +00:00
|
|
|
color: #ddd;
|
2016-08-09 16:28:32 +00:00
|
|
|
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.8);
|
2016-06-03 13:36:27 +00:00
|
|
|
font-size: 8em;
|
|
|
|
display: block;
|
|
|
|
position: relative !important;
|
|
|
|
top: auto;
|
|
|
|
left: auto;
|
|
|
|
line-height: 1em;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0 0 0.1875em;
|
2016-06-03 13:07:41 +00:00
|
|
|
}
|
|
|
|
}
|
2016-06-03 13:36:27 +00:00
|
|
|
|
|
|
|
.woocommerce-BlankState-cta {
|
|
|
|
font-size: 1.2em;
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 0.75em 1.5em;
|
2016-06-03 13:36:27 +00:00
|
|
|
height: auto;
|
2017-05-16 14:36:56 +00:00
|
|
|
display: inline-block !important
|
2016-06-03 13:36:27 +00:00
|
|
|
}
|
2016-06-03 13:07:41 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Small screen optimisation
|
|
|
|
*/
|
2013-06-03 09:46:25 +00:00
|
|
|
@media only screen and (max-width: 1280px) {
|
|
|
|
#order_data {
|
|
|
|
.order_data_column {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 48%;
|
|
|
|
|
2013-06-03 09:46:25 +00:00
|
|
|
&:first-child {
|
2014-11-13 09:34:32 +00:00
|
|
|
width: 100%;
|
2013-06-03 09:46:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-16 16:48:29 +00:00
|
|
|
.woocommerce_options_panel {
|
|
|
|
.description {
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.short,
|
2016-08-09 16:28:32 +00:00
|
|
|
input[type='text'].short,
|
|
|
|
input[type='email'].short,
|
|
|
|
input[type='number'].short,
|
|
|
|
input[type='password'].short,
|
2014-11-11 15:01:33 +00:00
|
|
|
.dimensions_field .wrap {
|
|
|
|
width: 80%;
|
2014-10-16 16:48:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
.woocommerce_variations,
|
|
|
|
.woocommerce_options_panel {
|
2014-10-16 16:48:29 +00:00
|
|
|
.downloadable_files {
|
|
|
|
padding: 0;
|
|
|
|
clear: both;
|
|
|
|
|
|
|
|
label {
|
|
|
|
position: static;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: 0 12px 24px;
|
2014-10-16 16:48:29 +00:00
|
|
|
width: 94%;
|
|
|
|
|
|
|
|
.sort {
|
2015-08-26 11:53:48 +00:00
|
|
|
visibility: hidden;
|
2014-10-16 16:48:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-17 13:50:18 +00:00
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.woocommerce_variable_attributes .downloadable_files table {
|
|
|
|
margin: 0 0 1em;
|
|
|
|
width: 100%;
|
2014-10-17 13:50:18 +00:00
|
|
|
}
|
2013-12-13 10:40:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Optimisation for screens 900px and smaller
|
|
|
|
*/
|
2013-12-13 10:40:28 +00:00
|
|
|
@media only screen and (max-width: 900px) {
|
|
|
|
|
2015-04-28 01:06:06 +00:00
|
|
|
#woocommerce-coupon-data ul.coupon_data_tabs,
|
2013-12-13 10:40:28 +00:00
|
|
|
#woocommerce-product-data ul.product_data_tabs,
|
|
|
|
#woocommerce-product-data .wc-tabs-back {
|
2014-10-17 13:42:15 +00:00
|
|
|
width: 10%;
|
2013-12-13 10:40:28 +00:00
|
|
|
}
|
|
|
|
|
2014-11-13 09:34:32 +00:00
|
|
|
#woocommerce-coupon-data .wc-metaboxes-wrapper,
|
|
|
|
#woocommerce-coupon-data .woocommerce_options_panel,
|
|
|
|
#woocommerce-product-data .wc-metaboxes-wrapper,
|
|
|
|
#woocommerce-product-data .woocommerce_options_panel {
|
2014-10-17 13:42:15 +00:00
|
|
|
width: 90%;
|
2013-12-13 10:40:28 +00:00
|
|
|
}
|
|
|
|
|
2015-04-28 01:06:06 +00:00
|
|
|
#woocommerce-coupon-data ul.coupon_data_tabs li a,
|
2013-12-13 10:40:28 +00:00
|
|
|
#woocommerce-product-data ul.product_data_tabs li a {
|
|
|
|
position: relative;
|
|
|
|
text-indent: -999px;
|
|
|
|
padding: 10px;
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2013-12-13 10:40:28 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
text-indent: 0;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 40px;
|
2014-10-17 13:42:15 +00:00
|
|
|
width: 100%;
|
2013-12-13 10:40:28 +00:00
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
}
|
2013-06-03 09:46:25 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Optimisation for screens 782px and smaller
|
|
|
|
*/
|
2013-12-12 14:00:32 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
|
|
|
#wp-excerpt-media-buttons a {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 37px;
|
|
|
|
height: 39px;
|
|
|
|
padding: 0 20px 0 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#wp-excerpt-editor-tools {
|
|
|
|
padding-top: 20px;
|
|
|
|
padding-right: 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: -1px;
|
|
|
|
}
|
2013-12-12 20:27:49 +00:00
|
|
|
|
|
|
|
#woocommerce-product-data .checkbox {
|
2014-07-15 22:56:07 +00:00
|
|
|
width: 25px;
|
2013-12-12 20:27:49 +00:00
|
|
|
}
|
2015-07-07 22:06:51 +00:00
|
|
|
|
|
|
|
.variations-pagenav {
|
|
|
|
float: none;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
|
|
.displaying-num {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 8px 20px 11px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.variations-defaults {
|
|
|
|
float: none;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2015-09-07 11:09:37 +00:00
|
|
|
|
|
|
|
.post-type-product {
|
|
|
|
.wp-list-table {
|
|
|
|
.column-thumb {
|
|
|
|
display: none;
|
|
|
|
text-align: left;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2015-09-07 11:09:37 +00:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.is-expanded td:not( .hidden ) {
|
|
|
|
overflow: visible;
|
2015-09-07 11:09:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-row {
|
|
|
|
top: -28px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-07 11:34:42 +00:00
|
|
|
|
|
|
|
.post-type-shop_order {
|
|
|
|
.wp-list-table {
|
|
|
|
.column-customer_message,
|
|
|
|
.column-order_notes {
|
|
|
|
text-align: inherit;
|
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.column-order_notes .note-on {
|
|
|
|
font-size: 1.3em;
|
|
|
|
margin: 0;
|
2015-09-07 11:34:42 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
.is-expanded td:not(.hidden ) {
|
|
|
|
overflow: visible;
|
2015-09-07 11:34:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-row {
|
|
|
|
top: -15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-12-12 14:00:32 +00:00
|
|
|
}
|
|
|
|
|
2014-11-11 15:47:10 +00:00
|
|
|
@media only screen and (max-width: 500px) {
|
|
|
|
.woocommerce_options_panel label,
|
|
|
|
.woocommerce_options_panel legend {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce_options_panel fieldset.form-field,
|
|
|
|
.woocommerce_options_panel p.form-field {
|
2016-08-09 16:28:32 +00:00
|
|
|
padding: 5px 20px !important;
|
2014-11-11 15:47:10 +00:00
|
|
|
}
|
2017-06-05 15:28:28 +00:00
|
|
|
|
|
|
|
.addons-wcs-banner-block {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc_addons_wrap {
|
|
|
|
.addons-wcs-banner-block {
|
|
|
|
padding: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.addons-wcs-banner-block-image {
|
|
|
|
padding: 1em;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
padding: 2em 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.addons-img {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-11 15:47:10 +00:00
|
|
|
}
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Backbone modal dialog
|
|
|
|
*/
|
2014-07-15 22:56:07 +00:00
|
|
|
.wc-backbone-modal {
|
|
|
|
* {
|
2015-04-04 07:58:29 +00:00
|
|
|
box-sizing: border-box;
|
2014-07-15 22:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-backbone-modal-content {
|
2015-01-02 13:58:57 +00:00
|
|
|
position: fixed;
|
2014-07-15 22:56:07 +00:00
|
|
|
background: #fff;
|
2015-04-13 15:44:33 +00:00
|
|
|
z-index: 100000;
|
2016-03-24 18:31:39 +00:00
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 500px;
|
2016-05-11 15:19:19 +00:00
|
|
|
article {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2016-03-24 18:31:39 +00:00
|
|
|
}
|
|
|
|
|
2017-04-04 16:30:16 +00:00
|
|
|
&.wc-backbone-modal-shipping-method-settings .wc-backbone-modal-content {
|
|
|
|
width: 75%;
|
|
|
|
min-width: 500px;
|
2014-07-15 22:56:07 +00:00
|
|
|
}
|
2016-12-21 13:23:26 +00:00
|
|
|
|
|
|
|
.select2-container {
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
2014-07-15 22:56:07 +00:00
|
|
|
}
|
|
|
|
|
2017-11-15 13:30:39 +00:00
|
|
|
@media screen and (max-width: 782px) {
|
|
|
|
.wc-backbone-modal .wc-backbone-modal-content {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-15 22:56:07 +00:00
|
|
|
.wc-backbone-modal-backdrop {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
min-height: 360px;
|
|
|
|
background: #000;
|
2016-08-09 16:28:32 +00:00
|
|
|
opacity: 0.7;
|
2015-04-13 15:44:33 +00:00
|
|
|
z-index: 99900;
|
2014-07-15 22:56:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.wc-backbone-modal-main {
|
2016-06-20 11:50:52 +00:00
|
|
|
padding-bottom: 55px;
|
2014-07-23 09:49:39 +00:00
|
|
|
|
2014-07-15 22:56:07 +00:00
|
|
|
header,
|
|
|
|
article {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2015-01-02 13:58:57 +00:00
|
|
|
.wc-backbone-modal-header {
|
2016-06-20 11:50:52 +00:00
|
|
|
height: auto;
|
2015-01-02 13:58:57 +00:00
|
|
|
background: #fcfcfc;
|
2016-06-20 11:50:52 +00:00
|
|
|
padding: 1em 1.5em;
|
2014-07-23 09:49:39 +00:00
|
|
|
border-bottom: 1px solid #ddd;
|
2015-01-02 13:58:57 +00:00
|
|
|
|
|
|
|
h1 {
|
2015-04-04 08:18:47 +00:00
|
|
|
margin: 0;
|
2015-04-04 08:28:03 +00:00
|
|
|
font-size: 18px;
|
2015-01-02 13:58:57 +00:00
|
|
|
font-weight: 700;
|
2016-06-20 11:50:52 +00:00
|
|
|
line-height: 1.5em;
|
2015-01-02 13:58:57 +00:00
|
|
|
}
|
|
|
|
|
2015-04-04 08:18:47 +00:00
|
|
|
.modal-close-link {
|
|
|
|
cursor: pointer;
|
|
|
|
color: #777;
|
2016-06-20 11:50:52 +00:00
|
|
|
height: 54px;
|
|
|
|
width: 54px;
|
2015-04-04 08:18:47 +00:00
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2015-01-02 13:58:57 +00:00
|
|
|
text-align: center;
|
2015-04-04 08:18:47 +00:00
|
|
|
border: 0;
|
|
|
|
border-left: 1px solid #ddd;
|
|
|
|
background-color: transparent;
|
2016-08-09 16:28:32 +00:00
|
|
|
transition: color 0.1s ease-in-out, background 0.1s ease-in-out;
|
2015-01-02 13:58:57 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2015-04-04 08:18:47 +00:00
|
|
|
font: normal 22px/50px 'dashicons' !important;
|
2015-01-02 13:58:57 +00:00
|
|
|
color: #666;
|
2015-04-04 08:18:47 +00:00
|
|
|
display: block;
|
|
|
|
content: '\f335';
|
|
|
|
font-weight: 300;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: #ddd;
|
|
|
|
border-color: #ccc;
|
|
|
|
color: #000;
|
2015-04-04 08:23:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2015-01-02 13:58:57 +00:00
|
|
|
}
|
|
|
|
}
|
2014-07-23 09:49:39 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-23 09:49:39 +00:00
|
|
|
article {
|
2016-06-20 11:50:52 +00:00
|
|
|
padding: 1.5em;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 1.5em 0;
|
|
|
|
}
|
|
|
|
p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-07-23 10:30:06 +00:00
|
|
|
|
2016-06-20 11:50:52 +00:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2014-07-23 10:30:06 +00:00
|
|
|
.pagination {
|
|
|
|
padding: 10px 0 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2014-07-23 09:49:39 +00:00
|
|
|
}
|
2014-11-13 09:34:32 +00:00
|
|
|
|
2014-07-15 22:56:07 +00:00
|
|
|
footer {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 100;
|
2016-06-20 11:50:52 +00:00
|
|
|
padding: 1em 1.5em;
|
2015-04-04 07:58:29 +00:00
|
|
|
background: #fcfcfc;
|
|
|
|
border-top: 1px solid #dfdfdf;
|
2016-08-09 16:28:32 +00:00
|
|
|
box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.1);
|
2014-07-15 22:56:07 +00:00
|
|
|
|
2015-04-04 07:58:29 +00:00
|
|
|
.inner {
|
2017-11-20 22:43:37 +00:00
|
|
|
text-align: right;
|
2015-04-04 07:58:29 +00:00
|
|
|
line-height: 23px;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2014-07-15 22:56:07 +00:00
|
|
|
}
|
2013-12-10 12:10:08 +00:00
|
|
|
}
|
2015-01-12 17:11:01 +00:00
|
|
|
|
|
|
|
/**
|
2016-12-21 11:06:47 +00:00
|
|
|
* Select2 elements.
|
2015-01-12 17:11:01 +00:00
|
|
|
*/
|
2016-12-21 13:23:26 +00:00
|
|
|
.select2-drop,
|
|
|
|
.select2-dropdown {
|
2015-04-01 10:01:35 +00:00
|
|
|
z-index: 999999 !important;
|
2015-01-12 17:11:01 +00:00
|
|
|
}
|
2016-12-21 11:06:47 +00:00
|
|
|
.select2-results {
|
|
|
|
line-height: 1.5em;
|
|
|
|
.select2-results__option, .select2-results__group {
|
2016-12-20 16:45:22 +00:00
|
|
|
margin: 0;
|
2016-12-21 11:06:47 +00:00
|
|
|
padding: 8px;
|
|
|
|
}
|
2017-06-12 12:37:52 +00:00
|
|
|
.description {
|
|
|
|
display: block;
|
|
|
|
color: #999;
|
|
|
|
padding-top: 4px;
|
|
|
|
}
|
2016-12-21 11:06:47 +00:00
|
|
|
}
|
2016-12-21 11:24:28 +00:00
|
|
|
.select2-dropdown {
|
|
|
|
border-color: #ddd;
|
|
|
|
}
|
2016-12-21 11:06:47 +00:00
|
|
|
.select2-dropdown--below {
|
2016-12-21 11:24:28 +00:00
|
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
2016-12-21 11:06:47 +00:00
|
|
|
}
|
|
|
|
.select2-dropdown--above {
|
2016-12-21 11:24:28 +00:00
|
|
|
box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
|
|
|
|
}
|
|
|
|
.select2-container {
|
2017-04-26 22:39:26 +00:00
|
|
|
.select2-selection__rendered.ui-sortable li {
|
|
|
|
cursor: move;
|
|
|
|
}
|
2016-12-21 11:24:28 +00:00
|
|
|
.select2-selection {
|
|
|
|
border-color: #ddd;
|
|
|
|
}
|
2016-12-21 13:23:26 +00:00
|
|
|
.select2-search__field {
|
|
|
|
min-width: 150px;
|
|
|
|
}
|
2016-12-21 11:24:28 +00:00
|
|
|
.select2-selection--single {
|
|
|
|
height: 32px;
|
|
|
|
.select2-selection__rendered {
|
|
|
|
line-height: 32px;
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
.select2-selection__arrow {
|
|
|
|
right: 3px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
}
|
2016-12-21 11:06:47 +00:00
|
|
|
.select2-selection--multiple {
|
|
|
|
min-height: 28px;
|
2016-12-21 13:23:26 +00:00
|
|
|
border-radius: 0;
|
|
|
|
line-height: 1.5;
|
2016-12-21 11:06:47 +00:00
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
.select2-selection__choice {
|
|
|
|
padding: 2px 6px;
|
2017-06-12 12:37:52 +00:00
|
|
|
.description {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-21 11:06:47 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-21 11:24:28 +00:00
|
|
|
.select2-selection__clear {
|
|
|
|
color: #999;
|
|
|
|
margin-top: -1px;
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
.select2-search--inline .select2-search__field {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
font-weight: inherit;
|
|
|
|
padding: 3px 0;
|
2016-12-20 16:45:22 +00:00
|
|
|
}
|
|
|
|
}
|
2017-04-04 16:30:16 +00:00
|
|
|
.woocommerce table.form-table .select2-container {
|
|
|
|
min-width: 400px !important;
|
2015-01-27 13:58:03 +00:00
|
|
|
}
|
2017-07-13 16:04:40 +00:00
|
|
|
.post-type-product .tablenav,
|
2017-04-04 16:30:16 +00:00
|
|
|
.post-type-shop_order .tablenav {
|
|
|
|
.actions {
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
select,
|
|
|
|
input {
|
2017-11-15 13:30:39 +00:00
|
|
|
line-height: 1;
|
2017-04-04 16:30:16 +00:00
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
.select2-container {
|
|
|
|
float: left;
|
|
|
|
width: 200px !important;
|
|
|
|
font-size: 14px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin: 1px 6px 4px 1px;
|
2016-12-21 11:06:47 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-10 16:22:08 +00:00
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
.woocommerce-progress-form-wrapper,
|
2017-05-17 21:55:20 +00:00
|
|
|
.woocommerce-exporter-wrapper,
|
|
|
|
.woocommerce-importer-wrapper {
|
2017-05-17 13:16:38 +00:00
|
|
|
text-align: center;
|
|
|
|
max-width: 700px;
|
|
|
|
margin: 40px auto;
|
|
|
|
|
2017-05-19 12:25:03 +00:00
|
|
|
.error {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2017-05-17 13:16:38 +00:00
|
|
|
.wc-progress-steps {
|
|
|
|
padding: 0 0 24px;
|
|
|
|
margin: 0;
|
|
|
|
list-style: none outside;
|
|
|
|
overflow: hidden;
|
|
|
|
color: #ccc;
|
|
|
|
width:100%;
|
|
|
|
display: -webkit-inline-flex;
|
|
|
|
display: -ms-inline-flexbox;
|
|
|
|
display: inline-flex;
|
|
|
|
li {
|
|
|
|
width: 25%;
|
|
|
|
float: left;
|
|
|
|
padding: 0 0 0.8em;
|
|
|
|
margin: 0;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 4px solid #ccc;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
|
|
|
li::before {
|
|
|
|
content: '';
|
|
|
|
border: 4px solid #ccc;
|
|
|
|
border-radius: 100%;
|
|
|
|
width: 4px;
|
|
|
|
height: 4px;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -6px;
|
|
|
|
margin-bottom: -8px;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
li.active {
|
|
|
|
border-color: #a16696;
|
|
|
|
color: #a16696;
|
|
|
|
&::before {
|
|
|
|
border-color: #a16696;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.done {
|
|
|
|
border-color: #a16696;
|
|
|
|
color: #a16696;
|
|
|
|
&::before {
|
|
|
|
border-color: #a16696;
|
|
|
|
background: #a16696;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-05-17 13:22:41 +00:00
|
|
|
|
2017-09-26 20:48:37 +00:00
|
|
|
.button {
|
|
|
|
font-size: 1.25em;
|
|
|
|
padding: 0.5em 1em !important;
|
|
|
|
line-height: 1.5em !important;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
height: auto !important;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: #bb77ae;
|
|
|
|
border-color: #a36597;
|
|
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
|
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
|
|
|
text-shadow: 0 -1px 1px #a36597, 1px 0 1px #a36597, 0 1px 1px #a36597, -1px 0 1px #a36597;
|
|
|
|
margin: 0;
|
|
|
|
opacity: 1;
|
|
|
|
|
|
|
|
&:hover, &:focus, &:active {
|
|
|
|
background: #a36597;
|
|
|
|
border-color: #a36597;
|
|
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
|
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 #a36597;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error .button {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
.wc-actions {
|
2017-05-17 13:16:38 +00:00
|
|
|
overflow: hidden;
|
2017-05-19 12:25:03 +00:00
|
|
|
border-top: 1px solid #eee;
|
|
|
|
margin: 0;
|
|
|
|
padding: 23px 24px 24px;
|
2017-05-23 14:05:32 +00:00
|
|
|
line-height: 3em;
|
2017-05-19 12:25:03 +00:00
|
|
|
|
2017-05-17 13:16:38 +00:00
|
|
|
.button {
|
|
|
|
float: right;
|
|
|
|
}
|
2017-05-23 14:05:32 +00:00
|
|
|
|
|
|
|
.woocommerce-importer-toggle-advanced-options {
|
|
|
|
color: #999;
|
|
|
|
}
|
2017-05-17 13:16:38 +00:00
|
|
|
}
|
2017-05-10 16:22:08 +00:00
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
.woocommerce-exporter,
|
2017-05-17 21:55:20 +00:00
|
|
|
.woocommerce-importer,
|
2017-05-17 13:22:41 +00:00
|
|
|
.wc-progress-form-content {
|
|
|
|
background: #fff;
|
|
|
|
overflow: hidden;
|
2017-05-19 12:25:03 +00:00
|
|
|
padding: 0;
|
2017-05-17 13:22:41 +00:00
|
|
|
margin: 0 0 16px;
|
|
|
|
box-shadow: 0 1px 3px rgba(0,0,0,.13);
|
2017-05-12 19:40:54 +00:00
|
|
|
color: #555;
|
2017-05-17 13:22:41 +00:00
|
|
|
text-align: left;
|
2017-05-12 13:48:30 +00:00
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
header {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
margin: 0;
|
2017-05-19 12:25:03 +00:00
|
|
|
padding: 24px 24px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
padding: 24px 24px 0;
|
2017-05-17 13:22:41 +00:00
|
|
|
}
|
2017-05-12 13:48:30 +00:00
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
h2 {
|
|
|
|
margin: 0 0 24px;
|
2017-05-12 19:40:54 +00:00
|
|
|
color: #555;
|
2017-05-17 13:22:41 +00:00
|
|
|
font-size: 24px;
|
2017-05-17 13:16:38 +00:00
|
|
|
font-weight: normal;
|
2017-05-17 13:22:41 +00:00
|
|
|
line-height: 1em;
|
2017-05-10 16:22:08 +00:00
|
|
|
}
|
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
p {
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1.75em;
|
|
|
|
font-size: 16px;
|
|
|
|
color: #555;
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
2017-05-10 16:22:08 +00:00
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
.form-row {
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
2017-05-10 16:22:08 +00:00
|
|
|
|
|
|
|
.spinner {
|
2017-05-17 13:22:41 +00:00
|
|
|
display: none;
|
2017-05-10 16:22:08 +00:00
|
|
|
}
|
2017-05-17 13:22:41 +00:00
|
|
|
|
2017-05-19 12:25:03 +00:00
|
|
|
.woocommerce-importer-options th,
|
|
|
|
.woocommerce-importer-options td,
|
2017-05-17 13:22:41 +00:00
|
|
|
.woocommerce-exporter-options th,
|
|
|
|
.woocommerce-exporter-options td {
|
|
|
|
vertical-align: top;
|
2017-05-19 11:03:34 +00:00
|
|
|
line-height: 1.75em;
|
2017-05-19 12:25:03 +00:00
|
|
|
padding: 0 0 24px 0;
|
2017-05-17 13:22:41 +00:00
|
|
|
|
|
|
|
label {
|
|
|
|
color: #555;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
2017-05-19 11:03:34 +00:00
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
margin: 0 4px 0 0;
|
|
|
|
padding: 7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="text"],
|
|
|
|
input[type="number"] {
|
|
|
|
padding: 7px;
|
|
|
|
height: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-05-23 14:05:32 +00:00
|
|
|
|
|
|
|
.woocommerce-importer-file-url-field-wrapper {
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
|
|
|
|
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
|
|
|
|
background-color: #fff;
|
|
|
|
color: #32373c;
|
|
|
|
outline: 0;
|
|
|
|
line-height: 1;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
code {
|
|
|
|
background: none;
|
|
|
|
font-size: smaller;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
color: #999;
|
|
|
|
padding: 7px 0 0 7px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
font-family: Consolas,Monaco,monospace;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
outline: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
display: inline-block;
|
2017-06-22 10:58:41 +00:00
|
|
|
min-width: 100%;
|
2017-05-23 14:05:32 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-19 11:03:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-exporter-options th,
|
|
|
|
.woocommerce-importer-options th {
|
2017-05-23 14:05:32 +00:00
|
|
|
width: 35%;
|
2017-05-19 12:25:03 +00:00
|
|
|
padding-right: 20px;
|
2017-05-17 13:22:41 +00:00
|
|
|
}
|
|
|
|
|
2017-05-10 16:22:08 +00:00
|
|
|
progress {
|
2017-05-17 13:22:41 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 42px;
|
2017-05-19 12:25:03 +00:00
|
|
|
margin: 0 auto 24px;
|
2017-05-10 16:22:08 +00:00
|
|
|
display: block;
|
2017-05-17 13:22:41 +00:00
|
|
|
-webkit-appearance: none;
|
|
|
|
border: none;
|
2017-05-10 16:22:08 +00:00
|
|
|
display: none;
|
2017-05-17 13:22:41 +00:00
|
|
|
background: #f5f5f5;
|
|
|
|
border: 2px solid #eee;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0;
|
|
|
|
box-shadow: 0 1px 0px 0 rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
2017-05-25 14:39:53 +00:00
|
|
|
progress::-webkit-progress-bar {
|
|
|
|
background: transparent none;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2017-05-17 13:22:41 +00:00
|
|
|
progress::-webkit-progress-value {
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
|
2017-05-25 14:39:53 +00:00
|
|
|
background: #A46497;
|
|
|
|
background: linear-gradient( top, #A46497, #66405F ), #A46497;
|
|
|
|
transition: width 1s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
progress::-moz-progress-bar {
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
|
|
|
|
background: #A46497;
|
|
|
|
background: linear-gradient( top, #A46497, #66405F ), #A46497;
|
|
|
|
transition: width 1s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
progress::-ms-fill {
|
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.4);
|
|
|
|
background: #A46497;
|
|
|
|
background: linear-gradient( to bottom, #A46497, #66405F ), #A46497;
|
2017-05-17 13:22:41 +00:00
|
|
|
transition: width 1s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.woocommerce-exporter__exporting,
|
|
|
|
&.woocommerce-importer__importing {
|
|
|
|
.spinner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
progress {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.wc-actions,
|
|
|
|
.woocommerce-exporter-options {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2017-05-19 12:25:03 +00:00
|
|
|
|
2017-05-23 14:05:32 +00:00
|
|
|
.wc-importer-mapping-table-wrapper,
|
|
|
|
.wc-importer-error-log {
|
2017-05-19 12:25:03 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-23 14:05:32 +00:00
|
|
|
.wc-importer-mapping-table,
|
|
|
|
.wc-importer-error-log-table {
|
2017-05-19 12:25:03 +00:00
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: none;
|
2017-06-21 12:06:25 +00:00
|
|
|
width: 100%;
|
2017-05-19 12:25:03 +00:00
|
|
|
|
|
|
|
td, th {
|
|
|
|
border: 0;
|
|
|
|
padding: 12px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
select {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-23 14:05:32 +00:00
|
|
|
tbody tr:nth-child(odd) td,
|
|
|
|
tbody tr:nth-child(odd) th {
|
2017-05-19 12:25:03 +00:00
|
|
|
background: #fbfbfb;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:first-child,
|
|
|
|
th:first-child {
|
|
|
|
padding-left: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td:last-child,
|
|
|
|
th:last-child {
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wc-importer-mapping-table-name {
|
|
|
|
width: 50%;
|
|
|
|
.description {
|
|
|
|
color: #999;
|
|
|
|
margin-top: 4px;
|
|
|
|
display: block;
|
|
|
|
code {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
2017-06-21 12:06:25 +00:00
|
|
|
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
|
|
|
|
word-wrap: break-word; /* IE */
|
|
|
|
word-break: break-all;
|
2017-05-19 12:25:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.woocommerce-importer-done {
|
|
|
|
text-align: center;
|
|
|
|
padding: 48px 24px;
|
|
|
|
font-size: 1.5em;
|
2017-05-23 14:05:32 +00:00
|
|
|
line-height: 1.75em;
|
2017-05-19 12:25:03 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
@include icon( '\e015' );
|
|
|
|
color: #A16696;
|
|
|
|
position: static;
|
|
|
|
font-size: 100px;
|
|
|
|
display: block;
|
|
|
|
float: none;
|
|
|
|
margin: 0 0 24px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-10 16:22:08 +00:00
|
|
|
}
|
|
|
|
}
|
2017-07-13 12:09:52 +00:00
|
|
|
|
|
|
|
.wc-pointer {
|
|
|
|
.wc-pointer-buttons {
|
|
|
|
.close {
|
|
|
|
float: left;
|
|
|
|
margin: 6px 0 0 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|