woocommerce/assets/css/admin.scss

4067 lines
57 KiB
SCSS
Raw Normal View History

2014-10-17 17:21:54 +00:00
/* =Imports
-------------------------------------------------------------- */
2014-10-17 17:21:54 +00:00
@import "bourbon";
2014-09-22 17:35:48 +00:00
@import "mixins";
/* =Custom Font
-------------------------------------------------------------- */
@font-face {
font-family: 'WooCommerce';
src: url('../fonts/WooCommerce.eot');
src: url('../fonts/WooCommerce.eot?#iefix') format('embedded-opentype'),
url('../fonts/WooCommerce.woff') format('woff'),
url('../fonts/WooCommerce.ttf') format('truetype'),
url('../fonts/WooCommerce.svg#WooCommerce') format('svg');
font-weight: normal;
font-style: normal;
}
2013-08-06 13:04:24 +00:00
/* Addons */
.wc_addons_wrap {
.products {
2013-08-22 11:38:05 +00:00
overflow: hidden;
2013-08-06 13:04:24 +00:00
li {
2013-08-22 11:38:05 +00:00
float: left;
2013-11-08 11:04:55 +00:00
margin: 0 1em 1em 0 !important;
2013-08-06 13:04:24 +00:00
padding: 0;
vertical-align: top;
width: 300px;
a {
text-decoration: none;
color: inherit;
border: 1px solid #ddd;
display: block;
2013-11-12 16:15:09 +00:00
min-height: 220px;
2013-08-06 13:04:24 +00:00
overflow: hidden;
2013-12-13 10:45:13 +00:00
background: #f5f5f5;
2013-08-06 13:04:24 +00:00
-webkit-box-shadow:
inset 0 1px 0 rgba(255,255,255,0.2),
inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.2),
inset 0 -1px 0 rgba(0,0,0,0.1);
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;
}
2013-08-06 13:04:24 +00:00
img.extension-thumb+h3 {
display: none;
}
2013-08-06 13:04:24 +00:00
.price {
display: none;
}
2013-08-06 13:04:24 +00:00
h3 {
margin: 0 !important;
padding: 20px !important;
background: #fff;
}
2013-08-06 13:04:24 +00:00
p {
padding: 20px !important;
margin: 0 !important;
border-top: 1px solid #f1f1f1;
}
&:hover,
&:focus {
2013-12-13 10:45:13 +00:00
background-color: #fff;
2013-08-06 13:04:24 +00:00
}
}
}
}
}
/* =Styles
-------------------------------------------------------------- */
.woocommerce-message {
position: relative;
2013-11-19 11:22:59 +00:00
border-left-color: #cc99c2 !important;
overflow: hidden;
a.button-primary,
button.button-primary {
2013-11-19 11:22:59 +00:00
background: #cc99c2;
border-color: #b366a4;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
color: #fff;
text-decoration: none !important;
2013-11-19 11:22:59 +00:00
&:hover {
background: #bb77ae;
border-color: #aa559a;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
2013-01-22 12:58:26 +00:00
}
2013-11-19 11:22:59 +00:00
&:active {
background: #aa559a;
border-color: #aa559a;
}
}
a.skip,
a.docs {
2013-11-19 11:22:59 +00:00
opacity: 0.5;
}
.twitter-share-button {
2014-08-27 20:59:33 +00:00
margin-top: -3px;
margin-left: 3px;
vertical-align: middle;
}
}
#variable_product_options #message {
margin: 10px;
}
2014-10-17 19:39:33 +00:00
.clear {
clear: both;
}
.wrap.woocommerce div.updated,
.wrap.woocommerce div.error {
margin-top: 10px;
}
mark.amount {
background: transparent none;
color: inherit;
}
.postbox,
.woocommerce {
input: invalid {
2012-11-20 16:49:05 +00:00
border: 1px solid #cc010b;
2013-07-22 10:29:19 +00:00
background: #ffebe8;
}
}
.simplify-commerce-banner {
overflow: hidden;
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
}
/* Status page */
table.wc_status_table {
margin-bottom: 1em;
2013-11-08 11:50:45 +00:00
tr {
&:nth-child(2n) {
th,
td {
2013-11-08 11:50:45 +00:00
background: #fcfcfc;
}
}
}
th {
font-weight: bold;
padding: 9px;
}
2013-02-02 15:56:00 +00:00
td:first-child {
width: 33%;
}
td.help {
width: 1em;
2013-02-02 15:56:00 +00:00
}
td {
padding: 9px;
2013-02-02 15:56:00 +00:00
font-size: 1.1em;
mark {
background: transparent none;
}
mark.yes {
2014-09-22 17:35:48 +00:00
color: $green;
}
mark.no {
color: #999;
2012-08-02 22:13:20 +00:00
}
mark.error {
2014-09-22 17:35:48 +00:00
color: $red;
}
ul {
margin: 0;
}
}
.help_tip {
cursor: help;
}
}
#debug-report {
display: none;
2013-11-22 17:20:25 +00:00
margin: 10px 0;
padding: 0;
position: relative;
textarea {
font-family: monospace;
width: 100%;
margin: 0;
height: 300px;
2013-11-22 17:20:25 +00:00
padding: 20px;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
resize: none;
font-size: 12px;
line-height: 20px;
outline: 0;
}
}
#log-viewer-select {
padding: 10px 0 8px;
line-height: 180%;
}
#log-viewer {
textarea {
width: 100%;
2014-08-28 05:42:23 +00:00
resize: vertical;
}
}
2012-02-20 14:29:51 +00:00
/* Bulk/Quick edit */
2012-02-20 18:19:27 +00:00
.inline-edit-product.quick-edit-row {
.inline-edit-col-center,
.inline-edit-col-right {
2012-02-20 14:29:51 +00:00
float: right !important;
}
}
2012-02-20 14:29:51 +00:00
#woocommerce-fields.inline-edit-col {
clear: left;
label.featured,
label.manage_stock {
2012-02-20 14:29:51 +00:00
margin-left: 10px;
}
2012-02-20 14:29:51 +00:00
.dimensions {
div {
display: block;
margin: .2em 0;
2012-02-20 14:29:51 +00:00
span.title {
display: block;
float: left;
width: 5em;
}
2012-02-20 14:29:51 +00:00
span.input-text-wrap {
display: block;
margin-left: 5em;
}
}
}
2012-02-20 14:29:51 +00:00
.text {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
width: 99%;
float: left;
margin: 1px 1% 1px 1px;
}
2012-02-20 14:29:51 +00:00
.length, .width, .height {
width: 32.33%;
}
.height {
margin-right: 0;
}
2012-02-20 14:29:51 +00:00
}
2012-02-20 18:19:27 +00:00
#woocommerce-fields-bulk.inline-edit-col {
label {
clear: left;
}
2012-02-20 18:19:27 +00:00
.inline-edit-group {
label,
div.alignright {
2012-02-20 18:19:27 +00:00
clear: none;
width: 49%;
margin: .2em 0;
}
}
.regular_price,
.sale_price,
.weight,
.stock {
@include box-sizing(border-box);
2012-02-20 18:19:27 +00:00
width: 100%;
}
.length,
.width,
.height {
@include box-sizing(border-box);
2012-02-20 18:19:27 +00:00
width: 32%;
}
}
2012-02-20 14:29:51 +00:00
/* Coupon Lists */
.column-coupon_code {
line-height: 2.25em;
}
ul.wc_coupon_list,
.column-coupon_code {
margin: 0;
overflow: hidden;
zoom: 1;
clear: both;
}
ul.wc_coupon_list_block {
margin: 0;
padding-bottom: 2px;
li {
border-top: 1px solid #fff;
border-bottom: 1px solid #ccc;
line-height: 2.5em;
margin: 0;
padding: .5em 0;
}
li:first-child {
border-top: 0;
padding-top: 0;
}
li:last-child {
border-bottom: 0;
padding-bottom: 0;
}
}
2012-02-20 14:29:51 +00:00
2011-08-09 15:16:18 +00:00
/* Orders */
2013-02-08 14:24:07 +00:00
.button.wc-reload {
2014-09-22 17:35:48 +00:00
@include ir();
padding: 0;
-webkit-border-radius: 100%;
border-radius: 100%;
height: 24px;
width: 24px !important;
2013-07-17 12:03:54 +00:00
display: inline-block;
2013-07-17 12:03:54 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon( "\e031" );
2013-07-17 12:03:54 +00:00
line-height: 22px;
2013-02-08 14:24:07 +00:00
}
}
.tablenav .actions {
overflow: visible;
}
.alignleft.actions .chosen-container-single {
2012-08-08 11:32:11 +00:00
display: inline-block;
vertical-align: middle;
}
2012-12-13 00:47:40 +00:00
#woocommerce-order-data {
h3.hndle,
.handlediv {
2012-12-13 00:47:40 +00:00
display: none;
}
2012-12-13 00:47:40 +00:00
.inside {
display: block !important;
}
}
#order_data {
2012-12-13 00:47:40 +00:00
padding: 23px 24px 12px 24px;
2012-12-13 00:47:40 +00:00
h2 {
margin: 0;
font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
font-size: 21px;
font-weight: normal;
line-height: 1.2;
text-shadow: 1px 1px 1px white;
padding: 0;
}
2012-12-13 00:47:40 +00:00
h4 {
color: #333;
margin: 1.33em 0 0;
}
2012-12-13 00:47:40 +00:00
p {
color: #777;
}
2012-12-13 00:47:40 +00:00
p.order_number {
margin: 0;
font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
font-weight: normal;
line-height: 1.6em;
font-size: 16px;
}
2012-12-13 00:47:40 +00:00
.order_data_column_container {
clear: both;
}
2012-12-13 00:47:40 +00:00
.order_data_column {
width: 32%;
padding: 0 2% 0 0;
float: left;
2012-12-13 00:47:40 +00:00
&:last-child {
padding-right: 0;
}
p {
padding: 0 !important;
}
.address {
strong {
display: block;
}
}
.form-field {
float: left;
2012-03-26 17:30:00 +00:00
width: 48%;
padding: 0;
margin: 9px 0 0 0;
label {
display: block;
padding: 0 0 3px;
}
input,
textarea {
width: 100%;
}
select {
width: 100%;
}
#order_status_chosen {
.chosen-search {
display: none;
}
}
.chosen-container {
2012-03-26 17:30:00 +00:00
width: 100% !important;
}
2012-03-26 17:30:00 +00:00
.date-picker-field {
width: 50%;
2012-03-26 17:30:00 +00:00
}
.hour,
.minute {
2012-03-26 17:30:00 +00:00
width: 2.5em;
}
2012-12-13 00:47:40 +00:00
small {
display: block;
margin: 5px 0 0 0;
color: #999;
}
2012-03-26 17:30:00 +00:00
}
2012-03-26 17:30:00 +00:00
.form-field.last {
float: right;
}
.form-field-wide {
width: 100%;
clear: both;
input,
textarea {
2012-03-26 17:30:00 +00:00
width: 100%;
}
2012-03-26 17:30:00 +00:00
select {
width: 100%;
}
}
p.none_set {
color: #999;
}
._billing_first_name_field,
._billing_address_1_field,
._billing_city_field,
._billing_country_field,
._billing_email_field,
._shipping_first_name_field,
._shipping_address_1_field,
._shipping_city_field,
._shipping_country_field {
float: left;
2012-12-13 00:47:40 +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;
}
._billing_company_field,
._shipping_company_field,
._transaction_id_field {
clear: both;
width: 100%;
}
2012-02-26 16:31:58 +00:00
._billing_email_field {
clear: left
}
div.edit_address {
display: none;
zoom: 1;
2012-12-13 00:47:40 +00:00
padding-right: 1px;
}
}
a.edit_address {
opacity: 0.4;
&:hover,
&:focus {
opacity: 1;
}
}
}
2011-08-09 15:16:18 +00:00
.order_actions {
margin: 0;
overflow: hidden;
zoom: 1;
2011-08-09 15:16:18 +00:00
li {
border-top: 1px solid #fff;
border-bottom: 1px solid #ddd;
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;
float: left;
width: 50%;
text-align: center;
a {
float: none;
text-align: center;
2012-10-12 14:30:20 +00:00
text-decoration: underline;
}
&.wide {
width: auto;
float: none;
clear: both;
padding: 6px;
text-align: left;
2012-10-12 14:30:20 +00:00
overflow: hidden;
}
2012-10-12 14:30:20 +00:00
#delete-action {
line-height: 25px;
vertical-align: middle;
text-align: left;
float: left;
}
2012-10-12 14:30:20 +00:00
.save_order {
float: right;
}
2012-12-12 15:32:47 +00:00
&#actions {
overflow: hidden;
2012-12-12 15:32:47 +00:00
.button {
2013-02-08 14:24:07 +00:00
width: 24px;
2012-12-12 15:32:47 +00:00
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
float: right;
}
2012-12-12 15:32:47 +00:00
select {
2013-02-08 14:24:07 +00:00
width: 225px;
2012-12-12 15:32:47 +00:00
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
float: left;
}
}
2011-08-09 15:16:18 +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;
}
.wc-order-data-row {
border-bottom: 1px solid #DFDFDF;
background: #fff;
padding: 12px;
background: #f8f8f8;
2014-09-22 17:35:48 +00:00
@include clearfix();
line-height: 2em;
text-align: right;
p {
margin: 0;
line-height: 2em;
}
}
.wc-order-bulk-actions {
background: #fefefe;
2012-11-10 09:14:20 +00:00
vertical-align: top;
border-top: 0;
select {
vertical-align: top;
}
p.bulk-actions {
float: left;
}
2012-11-10 09:14:20 +00:00
}
.wc-order-add-item {
2014-07-17 21:17:42 +00:00
background: #fff;
2011-08-09 15:16:18 +00:00
vertical-align: top;
2014-07-17 21:17:42 +00:00
border-top: none;
.add_item_id,
.chosen-container {
2011-08-09 15:16:18 +00:00
vertical-align: top;
.search-field input {
min-width: 100px;
}
2011-08-09 15:16:18 +00:00
}
.chosen-container {
width: 400px !important;
text-align: left;
}
.cancel-action,
.save-action,
.calculate-action {
float: left;
margin-right: 2px;
}
}
2014-07-23 10:47:02 +00:00
.wc-used-coupons {
float: left;
width: 50%;
}
.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;
.amount {
font-weight: bold;
}
.label {
vertical-align: top;
}
2014-07-17 21:17:42 +00:00
.total {
font-size: 1em !important;
width: 10em;
margin: 0 0 0 .5em;
@include box-sizing(border-box);
2014-07-17 21:17:42 +00:00
input[type="text"] {
width: 96%;
float: right;
}
2011-08-09 15:16:18 +00:00
}
.refunded-total {
2014-09-22 17:35:48 +00:00
color: $red;
}
}
2014-07-17 21:17:42 +00:00
.refund-actions {
margin-top: 5px;
padding-top: 12px;
border-top: 1px solid #DFDFDF;
.button {
float: right;
margin-left: 4px;
}
.cancel-action {
float: left;
margin-left: 0;
}
2011-08-09 15:16:18 +00:00
}
.add_meta {
2014-07-17 21:17:42 +00:00
margin-left: 0 !important;
}
2011-08-09 15:16:18 +00:00
h3 small {
color: #999;
}
.amount {
white-space: nowrap;
}
.add-items {
.description {
margin-right: 10px;
}
}
}
.woocommerce_order_items_wrapper {
margin: 0;
overflow: auto;
table.woocommerce_order_items {
width: 100%;
background: #fff;
thead th {
2014-07-24 14:34:14 +00:00
background: #f8f8f8;
padding: 8px;
font-size: 11px;
text-align: left;
&:last-child {
padding-right: 12px;
}
&:first-child {
padding-left: 12px;
}
}
tbody th, td {
padding: 8px;
text-align: left;
line-height: 26px;
vertical-align: top;
border-bottom: 1px dotted #ececec;
textarea {
width: 100%;
}
select {
width: 50%;
}
input, textarea {
font-size: 14px;
padding: 4px;
color: #555;
}
&:last-child {
padding-right: 12px;
}
&:first-child {
padding-left: 12px;
}
}
2014-07-22 13:18:11 +00:00
tbody tr:last-child td {
border-bottom: 1px solid #dfdfdf;
2014-07-22 13:18:11 +00:00
}
2014-07-22 13:18:11 +00:00
tbody tr:first-child td {
border-top: 8px solid #f8f8f8;
}
2014-07-22 13:18:11 +00:00
tbody#order_line_items tr:first-child td {
border-top: none;
}
td.check-column {
padding: 8px 8px 8px 12px;
width: 1%;
}
.item {
min-width: 200px;
}
.center,
.variation-id {
text-align: center;
}
.cost,
.tax,
.quantity,
.line_cost,
.line_tax,
.tax_class,
.item_cost {
text-align: right;
label {
white-space: nowrap;
color: #999;
font-size: 0.833em;
input {
display: inline;
}
}
input {
width: 70px;
vertical-align: middle;
text-align: right;
}
select {
width: 85px;
height: 26px;
vertical-align: middle;
font-size: 1em;
}
2014-07-22 15:44:02 +00:00
.split-input {
display: block;
background: #fff;
border: 1px solid #ddd;
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
margin: 1px;
width: 70px;
2014-07-22 15:44:02 +00:00
input {
width: 100%;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
border: 0;
box-shadow: none;
margin: 0;
color: #555;
background: transparent;
}
2014-07-22 15:44:02 +00:00
input:last-child {
color: #bbb;
border-top: 1px dashed #ddd;
}
}
.view {
white-space: nowrap
}
del {
color: #ccc;
}
}
.quantity {
text-align: center;
input {
text-align: center;
width: 50px;
}
}
span.subtotal {
opacity: 0.5;
}
td.tax_class,
th.tax_class {
text-align: left;
}
.calculated {
border-color: #ae8ca2;
border-style: dotted;
}
table.meta {
width: 100%;
}
table.meta,
table.display_meta {
margin: .5em 0 0 0;
tr {
th {
border: 0;
padding: 0 4px .5em 0;
line-height: 1.5em;
width: 20%;
}
td {
padding: 0 4px .5em 0;
border: 0;
line-height: 1.5em;
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 {
margin: 0 0 .5em;
line-height: 1.5em;
}
p:last-child {
margin: 0;
}
}
}
}
.thumb {
text-align: left;
width: 27px;
a {
display: block;
}
img {
padding: 1px;
margin: 0;
border: 1px solid #dfdfdf;
vertical-align: middle;
width: 21px;
height: 21px;
}
}
.refund_by {
border-bottom: 1px dotted #999;
}
tr.fee {
2014-07-22 13:27:47 +00:00
.thumb div {
2014-09-22 17:35:48 +00:00
@include ir();
2014-07-22 13:27:47 +00:00
font-size: 14px;
margin: 6px;
2014-07-22 13:27:47 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e007" );
2014-07-22 13:27:47 +00:00
color: #bbbbbb;
}
}
}
2014-07-22 13:27:47 +00:00
tr.refund {
.thumb div {
2014-09-22 17:35:48 +00:00
@include ir();
2014-07-22 13:27:47 +00:00
font-size: 14px;
margin: 6px;
2014-07-22 13:27:47 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e014" );
2014-07-22 13:27:47 +00:00
color: #bbbbbb;
}
}
}
2014-07-22 13:27:47 +00:00
tr.shipping {
.thumb div {
2014-09-22 17:35:48 +00:00
@include ir();
2014-07-22 13:27:47 +00:00
font-size: 14px;
margin: 6px;
2014-07-22 13:27:47 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e01a" );
2014-07-22 13:27:47 +00:00
color: #bbbbbb;
}
}
}
th.line_tax {
white-space: nowrap;
}
th.line_tax,
td.line_tax {
2014-07-22 10:57:46 +00:00
padding: 8px 16px 8px 8px;
.delete-order-tax {
2014-09-22 17:35:48 +00:00
@include ir();
font-size: 12px;
visibility: hidden;
float: right;
2014-07-22 10:57:46 +00:00
margin: 2px -16px 0 0;
2014-07-21 01:57:23 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e013" );
color: white;
background-color: #000;
-webkit-border-radius: 100%;
border-radius: 100%;
border: 1px solid #000;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
&:hover:before {
2014-09-22 17:35:48 +00:00
border-color: $red;
background-color: $red;
}
}
&:hover {
.delete-order-tax {
visibility: visible;
2014-07-21 01:57:23 +00:00
}
}
}
2014-07-25 15:48:19 +00:00
small.refunded {
display: block;
2014-09-22 17:35:48 +00:00
color: $red;
2014-07-25 15:48:19 +00:00
white-space: nowrap;
}
}
}
.wc-order-items-editable {
.edit-order-item {
2014-09-22 17:35:48 +00:00
@include ir();
display: inline-block;
margin: 0 .5em 0 0;
&:before {
2014-09-22 17:35:48 +00:00
@include icon;
content: "\e603";
color: #999;
}
&:hover {
&:before {
color: #555;
}
}
}
.delete-order-item,
.delete_refund {
2014-09-22 17:35:48 +00:00
@include ir();
display: inline-block;
margin: 0;
&:before {
2014-09-22 17:35:48 +00:00
@include icon;
content: "\e013";
color: #999;
}
&:hover {
&:before {
2014-09-22 17:35:48 +00:00
color: $red;
}
}
}
.wc-order-edit-line-item-actions {
width: 2.5em;
text-align: right;
}
.wc-order-totals .wc-order-edit-line-item-actions {
width: 1.5em;
}
.wc-order-totals .edit-order-item {
margin: 0;
}
2011-08-09 15:16:18 +00:00
}
#woocommerce-order-downloads {
.buttons {
float: left;
padding: 0;
margin: 0;
vertical-align: top;
.add_item_id,
.chosen-container {
width: 400px !important;
margin-right: 9px;
vertical-align: top;
float: left;
}
button {
margin: 2px 0 0 0;
}
}
h3 small {
color: #999;
}
}
2012-08-10 12:41:05 +00:00
#poststuff #woocommerce-order-actions {
.inside {
margin: 0;
padding: 0;
2012-08-10 12:41:05 +00:00
ul.order_actions {
li {
padding: 6px 10px;
@include box-sizing(border-box);
2012-08-10 12:41:05 +00:00
&:last-child {
border-bottom: 0;
2012-08-10 12:41:05 +00:00
}
}
}
}
}
2012-08-10 12:41:05 +00:00
#poststuff #woocommerce-order-notes {
.inside {
margin: 0;
padding: 0;
2012-08-10 12:41:05 +00:00
ul.order_notes {
li {
padding: 0 10px;
2012-08-10 12:41:05 +00:00
}
}
}
}
#woocommerce_customers {
p.search-box {
margin: 6px 0 4px;
float: left;
}
.tablenav {
float: right;
clear: none;
}
}
2012-08-02 22:13:20 +00:00
.widefat {
&.customers {
td {
vertical-align: middle;
padding: 4px 7px;
}
}
2011-08-09 15:16:18 +00:00
.column-order_title {
2013-07-31 14:12:53 +00:00
width: 15%;
2011-08-09 15:16:18 +00:00
time {
2011-08-20 15:41:42 +00:00
display: block;
color: #999;
2011-08-20 15:41:42 +00:00
margin: 3px 0;
2011-08-09 15:16:18 +00:00
}
}
.column-orders, .column-paying, .column-spent {
text-align: center;
width: 8%;
}
.column-last_order {
width: 11%;
}
.column-order_actions,
.column-user_actions,
.column-wc_actions {
width: 110px;
2011-12-21 23:52:52 +00:00
a.button {
float: left;
2011-12-21 23:52:52 +00:00
margin: 0 4px 2px 0;
2012-08-13 12:36:22 +00:00
cursor: pointer;
padding: 3px 4px;
height: auto;
2012-08-13 12:36:22 +00:00
img {
display: block;
width: 12px;
height: auto;
2012-08-13 12:36:22 +00:00
}
2011-12-21 23:52:52 +00:00
}
}
2011-08-20 15:41:42 +00:00
small.meta {
display: block;
color: #999;
2011-08-20 15:41:42 +00:00
font-size: inherit;
margin: 3px 0;
}
.column-order_total,
.column-order_date {
width: 9%;
2011-08-09 15:16:18 +00:00
}
2011-08-09 15:16:18 +00:00
.column-order_status {
width: 45px;
2012-08-02 22:13:20 +00:00
text-align: center;
2011-08-09 15:16:18 +00:00
mark {
2014-09-22 17:35:48 +00:00
@include ir();
2013-07-17 11:31:17 +00:00
background: none;
2013-07-31 14:12:53 +00:00
font-size: 1.4em;
margin: 0 auto;
2013-07-17 11:31:17 +00:00
}
mark.pending,
mark.completed,
mark.on-hold,
mark.failed,
mark.cancelled,
mark.processing,
mark.refunded {
2013-07-17 11:31:17 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon;
2013-07-17 11:31:17 +00:00
}
}
2013-07-17 11:31:17 +00:00
mark.pending:after {
content: "\e012";
2014-09-22 17:35:48 +00:00
color: $orange;
2013-07-17 11:31:17 +00:00
}
2013-07-17 11:31:17 +00:00
mark.completed:after {
content: "\e015";
2014-09-22 17:35:48 +00:00
color: $blue;
2013-07-17 11:31:17 +00:00
}
2013-07-17 11:31:17 +00:00
mark.on-hold:after {
content: "\e033";
color: #999;
}
2013-07-17 11:31:17 +00:00
mark.failed:after {
content: "\e016";
color: #d0c21f;
}
2013-07-17 11:31:17 +00:00
mark.cancelled:after {
content: "\e013";
2014-09-22 17:35:48 +00:00
color: $red;
2013-07-17 11:31:17 +00:00
}
2013-07-17 11:31:17 +00:00
mark.processing:after {
content: "\e011";
color: #73a724;
}
2013-07-17 11:31:17 +00:00
mark.refunded:after {
content: "\e014";
color: #999;
2011-08-09 15:16:18 +00:00
}
}
td.column-order_status {
padding-top: 9px;
}
2011-08-09 15:16:18 +00:00
}
2013-07-31 14:12:53 +00:00
.column-customer_message {
.note-on {
2014-09-22 17:35:48 +00:00
@include ir();
margin: 0 auto;
2013-07-17 11:48:48 +00:00
color: #999;
2013-07-17 11:48:48 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon( "\e026" );
2013-07-31 14:12:53 +00:00
line-height: 16px;
2013-07-17 11:48:48 +00:00
}
}
2013-07-31 14:12:53 +00:00
}
2013-07-31 14:12:53 +00:00
.column-order_notes {
.note-on {
2014-09-22 17:35:48 +00:00
@include ir();
margin: 0 auto;
2013-07-31 14:12:53 +00:00
color: #999;
2013-07-31 14:12:53 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon( "\e027" );
2013-07-31 14:12:53 +00:00
line-height: 16px;
}
2013-07-17 11:48:48 +00:00
}
}
2013-07-17 11:48:48 +00:00
.order_actions {
.processing,
.complete,
.view {
2014-09-22 17:35:48 +00:00
@include ir();
padding: 0 !important;
2013-07-17 11:48:48 +00:00
height: 2em !important;
width: 2em;
2013-07-17 11:48:48 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon;
2013-07-17 11:48:48 +00:00
line-height: 1.85;
}
}
2013-07-17 11:48:48 +00:00
.processing:after {
content: "\e00f";
}
2013-07-17 11:48:48 +00:00
.complete:after {
content: "\e017";
}
2013-07-17 11:48:48 +00:00
.view:after {
content: "\e010";
}
}
2013-12-05 13:16:34 +00:00
.user_actions {
.edit,
.link,
.view,
.refresh {
2014-09-22 17:35:48 +00:00
@include ir();
padding: 0 !important;
2013-12-05 13:16:34 +00:00
height: 2em !important;
width: 2em;
2013-12-05 13:16:34 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon;
2013-12-05 13:16:34 +00:00
line-height: 1.85;
}
}
2013-12-05 13:16:34 +00:00
.edit:after {
content: "\e603";
2013-12-05 13:16:34 +00:00
}
2013-12-05 13:16:34 +00:00
.link:after {
content: "\e00d";
}
2013-12-05 13:16:34 +00:00
.view:after {
content: "\e010";
}
.refresh:after {
content: "\e031";
}
2013-12-05 13:16:34 +00:00
}
2011-08-09 15:16:18 +00:00
2013-11-19 11:04:45 +00:00
.attributes-table {
td,
th {
2013-11-19 11:04:45 +00:00
width: 15%;
vertical-align: top;
}
2013-11-19 11:04:45 +00:00
.attribute-terms {
width: 32%;
2013-11-19 11:04:45 +00:00
}
2013-11-19 11:04:45 +00:00
.attribute-actions {
width: 2em;
2013-11-19 11:04:45 +00:00
.configure-terms {
2014-09-22 17:35:48 +00:00
@include ir();
padding: 0 !important;
2013-11-19 11:04:45 +00:00
height: 2em !important;
width: 2em;
2013-11-19 11:04:45 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon("\e01c");
2013-11-19 11:04:45 +00:00
line-height: 1.85;
}
}
}
}
/* Order notes */
ul.order_notes {
padding: 2px 0 0 0;
li {
.note_content {
padding: 10px;
background: #efefef;
position: relative;
p {
margin: 0;
padding: 0;
2013-10-25 13:42:05 +00:00
word-wrap: break-word;
}
}
p.meta {
padding: 10px;
color: #999;
margin: 0;
font-size: 11px;
2013-08-15 13:42:08 +00:00
.exact-date {
border-bottom: 1px dotted #999;
}
}
a.delete_note {
2014-09-22 17:35:48 +00:00
color: $red
}
.note_content: after {
content: "";
display: block;
position: absolute;
2013-11-22 16:40:37 +00:00
bottom: -10px;
left: 20px;
width: 0;
height: 0;
2013-11-22 16:40:37 +00:00
border-width: 10px 10px 0 0;
border-style: solid;
border-color: #efefef transparent;
}
}
li.customer-note {
.note_content {
background: #d7cad2;
}
.note_content: after {
border-color: #d7cad2 transparent;
}
}
}
.add_note {
border-top: 1px solid #ddd;
padding: 10px 10px 0;
h4 {
margin-top: 5px !important;
}
#add_order_note {
width: 100%;
height: 50px;
}
}
2013-07-17 11:08:26 +00:00
/* Product / Order list */
table.wp-list-table {
.column-thumb {
2012-01-28 15:04:53 +00:00
width: 52px;
text-align: center;
white-space: nowrap
}
2013-03-15 15:32:30 +00:00
.column-name {
width: 22%;
2013-03-15 15:32:30 +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
}
.column-featured,
.column-product_type {
width: 48px;
2012-02-13 13:06:56 +00:00
text-align: left !important;
}
.column-customer_message,
.column-order_notes {
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
}
}
.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
}
.column-price {
.woocommerce-price-suffix {
display: none;
}
}
img {
margin: 1px 2px;
}
2013-11-12 16:19:03 +00:00
.row-actions {
color: #999;
}
2012-12-17 21:46:15 +00:00
td.column-thumb img {
margin: 0;
vertical-align: middle;
width: auto;
height: auto;
max-width: 40px;
max-height: 40px;
}
span.na {
color: #999;
}
2012-02-13 13:06:56 +00:00
.column-is_in_stock {
text-align: left !important;
}
span.wc-image,
span.wc-featured,
span.wc-type {
2014-09-22 17:35:48 +00:00
@include ir();
margin: 0 auto;
2013-07-19 16:13:25 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e00c" );
2013-07-19 16:13:25 +00:00
}
}
2013-07-19 16:13:25 +00:00
span.wc-featured {
margin: 0;
2013-07-19 16:13:25 +00:00
cursor: pointer;
2013-07-19 16:13:25 +00:00
&:before {
content: "\e020";
}
2013-07-19 16:13:25 +00:00
&.not-featured {
&:before {
content: "\e021";
}
}
}
2013-07-19 16:13:25 +00:00
td.column-featured {
span.wc-featured {
font-size: 1.2em;
2013-07-19 16:13:25 +00:00
}
}
2013-07-19 16:13:25 +00:00
span.wc-type {
margin: 0;
2013-07-19 16:13:25 +00:00
&:before {
content: "\e01d";
}
}
2012-02-13 13:06:56 +00:00
span.product-type {
2014-09-22 17:35:48 +00:00
@include ir();
font-size: 1.2em;
2013-07-19 16:13:25 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e006" );
2013-07-19 16:13:25 +00:00
}
2013-07-19 16:13:25 +00:00
&.grouped:before {
content: "\e002";
2012-02-13 13:06:56 +00:00
}
2013-07-19 16:13:25 +00:00
&.external:before {
content: "\e034";
2012-02-13 13:06:56 +00:00
}
2013-07-19 16:13:25 +00:00
&.variable:before {
content: "\e003";
2012-02-13 13:06:56 +00:00
}
2013-07-19 16:13:25 +00:00
&.downloadable:before {
content: "\e001";
2012-02-13 13:06:56 +00:00
}
2013-07-19 16:13:25 +00:00
&.virtual:before {
content: "\e000";
2012-02-13 13:06:56 +00:00
}
}
2012-02-13 13:06:56 +00:00
mark.instock {
font-weight: bold;
2014-09-22 17:35:48 +00:00
color: $green;
2012-02-13 13:06:56 +00:00
background: transparent none;
line-height: 1;
}
2012-02-13 13:06:56 +00:00
mark.outofstock {
font-weight: bold;
color: #aa4444;
background: transparent none;
line-height: 1;
}
.order-notes_head,
.notes_head,
.status_head {
2014-09-22 17:35:48 +00:00
@include ir();
margin: 0 auto;
2013-07-31 14:12:53 +00:00
2013-07-17 11:08:26 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon;
2013-07-17 11:08:26 +00:00
}
}
2013-07-17 11:08:26 +00:00
.order-notes_head:after {
content: "\e028";
}
2013-07-31 14:12:53 +00:00
.notes_head:after {
content: "\e026";
}
2013-07-31 14:12:53 +00:00
.status_head:after {
content: "\e011";
}
2013-07-31 14:12:53 +00:00
.column-order_items {
width: 12%;
2013-07-31 14:12:53 +00:00
table.order_items {
width: 100%;
margin: 3px 0 0 0;
padding: 0;
display: none;
2013-07-31 14:12:53 +00:00
td {
border: 0;
margin: 0;
padding: 0 0 3px;
}
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
}
/* Settings */
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;
}
a.export_rates,
a.import_rates {
float: right;
2012-09-10 11:26:26 +00:00
margin-left: 9px;
margin-top: -2px;
2012-09-10 11:26:26 +00:00
margin-bottom: 0;
}
table.wc_tax_rates,
table.wc_input_table {
width: 100%;
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
}
2012-12-02 21:31:43 +00:00
td {
padding: 0;
border-right: 1px solid #DFDFDF;
border-bottom: 1px solid #DFDFDF;
border-top: 0;
background: #fff;
2013-11-22 17:18:04 +00:00
input[type="text"],
input[type="number"] {
2012-12-02 21:31:43 +00:00
width: 100%;
padding: 5px 7px;
margin: 0;
border: 0;
background: transparent none;
}
&.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
}
2012-12-02 21:31:43 +00:00
td:last-child {
border-right: 0;
2011-10-24 14:51:54 +00:00
}
2012-12-02 21:31:43 +00:00
tr.current td {
background-color: #fefbcc;
2011-10-24 14:51:54 +00:00
}
.item_cost,
.cost {
2012-12-02 21:31:43 +00:00
text-align: right;
input {
2012-12-02 21:31:43 +00:00
text-align: right;
}
2011-10-24 14:51:54 +00:00
}
2012-12-02 21:31:43 +00:00
th.sort {
width: 17px;
padding: 0;
2011-12-14 12:17:05 +00:00
}
2012-12-02 21:31:43 +00:00
td.sort {
2013-12-05 15:19:48 +00:00
padding: 0 4px;
2012-12-02 21:31:43 +00:00
cursor: move;
2013-01-18 11:48:17 +00:00
background: #f9f9f9;
2013-12-05 15:19:48 +00:00
text-align: center;
vertical-align: middle;
2013-01-18 11:48:17 +00:00
&:before {
2013-11-08 11:33:22 +00:00
content: "\e032";
font-family: 'WooCommerce';
text-align: center;
2013-12-05 15:19:48 +00:00
line-height: 1;
2013-11-08 11:33:22 +00:00
color: #999;
display: block;
2013-12-05 15:19:48 +00:00
width: 17px;
float: left;
2013-11-08 11:33:22 +00:00
height: 100%;
}
2013-11-08 11:33:22 +00:00
&:hover {
&:before {
color: #333;
}
2013-01-18 11:48:17 +00:00
}
}
2012-12-02 21:31:43 +00:00
.button {
float: left;
margin-right: 5px;
2011-08-09 15:16:18 +00:00
}
.export,
.import {
2012-12-02 21:31:43 +00:00
float: right;
margin-right: 0;
margin-left: 5px;
}
2012-12-02 21:31:43 +00:00
span.tips {
padding: 0 3px;
2012-09-10 11:26:26 +00:00
}
2013-08-13 11:18:20 +00:00
.pagination {
float: right;
2013-08-13 11:18:20 +00:00
.button {
margin-left: 5px;
margin-right: 0;
}
2013-08-13 11:18:20 +00:00
.current {
background: #bbb;
text-shadow: none;
}
}
2013-11-08 11:33:22 +00:00
tfoot {
th {
padding-left: 20px;
padding-right: 20px;
2013-11-08 11:33:22 +00:00
}
}
2013-11-22 17:18:04 +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
}
table.wc_gateways,
table.wc_shipping {
position: relative;
2011-12-06 16:45:08 +00:00
td {
vertical-align: middle;
cursor: move;
padding: 7px;
}
th {
padding: 9px 7px !important;
vertical-align: middle;
}
td.name {
font-weight: bold;
2011-12-06 16:45:08 +00:00
}
.settings {
text-align: right;
}
.radio,
.default,
.status {
2011-12-06 16:45:08 +00:00
text-align: center;
.tips {
margin: 0 auto;
}
input {
margin: 0;
}
2011-12-06 16:45:08 +00:00
}
}
2011-08-09 15:16:18 +00:00
img.help_tip {
vertical-align: middle;
margin: 0 0 0 9px;
}
.postbox img.help_tip {
margin-top: -4px;
}
2012-08-02 22:13:20 +00:00
.status-enabled,
.status-disabled {
font-size: 1.4em;
2014-09-22 17:35:48 +00:00
@include ir();
2013-07-19 11:52:03 +00:00
}
2013-07-19 11:52:03 +00:00
.status-enabled {
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e015" );
color: $woocommerce;
2013-07-19 11:52:03 +00:00
}
}
2011-11-28 16:35:17 +00:00
.woocommerce {
#template div {
margin: 0;
p .button {
float: right;
margin-left: 10px;
margin-top: -4px;
}
.editor {
textarea {
margin-bottom: 8px;
}
}
}
textarea[disabled="disabled"] {
background: #DFDFDF !important;
}
2011-11-28 16:35:17 +00:00
table.form-table {
margin: 0 0 0;
2012-12-03 15:01:07 +00:00
.forminp-radio ul {
margin: 0;
li {
line-height: 1.4em;
}
}
2011-11-28 16:35:17 +00:00
textarea.input-text {
height: 100%;
min-width: 150px;
display: block;
}
input.regular-input {
width: 25em;
2011-11-28 16:35:17 +00:00
}
2011-11-28 16:35:17 +00:00
textarea.wide-input {
width: 100%;
}
img.help_tip {
padding: 0;
margin: -4px 0 0 5px;
vertical-align: middle;
cursor: help;
line-height: 1;
}
span.help_tip {
cursor: help;
2014-09-22 17:35:48 +00:00
color: $blue;
}
th {
position: relative;
padding-right: 24px;
}
.chosen-container {
vertical-align: top;
margin-bottom: 3px;
}
table.widefat th {
padding-right: inherit;
}
th img.help_tip {
2012-12-18 13:15:44 +00:00
margin: 0 -24px 0 0;
float: right;
2012-11-26 13:48:22 +00:00
}
fieldset {
2013-02-11 13:53:24 +00:00
margin-top: 4px;
img.help_tip {
margin: -3px 0 0 5px;
}
2013-02-11 13:53:24 +00:00
p.description {
margin-bottom: 8px;
}
2013-02-11 13:53:24 +00:00
&:first-child {
margin-top: 0;
}
}
2012-05-01 18:28:45 +00:00
.color_box {
border: 1px solid #ccc;
box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
2012-05-01 18:28:45 +00:00
padding: 4px 6px;
float: left;
2013-11-14 19:42:17 +00:00
width: 90px;
2012-05-01 18:28:45 +00:00
margin: 0 10px 0 0;
2012-05-01 18:28:45 +00:00
strong {
text-align: left;
display: block;
padding: 0 0 2px;
font-size: 0.92em;
2012-05-01 18:28:45 +00:00
img {
float: right;
margin: 1px 0 0 0;
}
}
2013-07-24 12:34:30 +00:00
input.colorpick {
2012-05-01 18:28:45 +00:00
width: 100%;
margin: 0;
font-family: monospace;
@include box-sizing(border-box);
2012-05-01 18:28:45 +00:00
}
2013-07-24 12:34:30 +00:00
.iris-picker {
margin: 15px 0 0 -7px;
2012-05-01 18:28:45 +00:00
}
}
2012-05-01 18:28:45 +00:00
.color_box_clear {
display: block;
clear: both;
padding-bottom: 10px;
}
2013-07-24 12:34:30 +00:00
.iris-picker {
z-index: 100;
position: absolute;
display: none;
2013-07-24 12:34:30 +00:00
border: 1px solid #ccc;
box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
@include border-radius(3px);
2013-07-24 12:34:30 +00:00
.ui-slider {
border: 0 !important;
background: none transparent !important;
margin: 0 !important;
width: auto !important;
height: auto !important;
2013-07-24 12:34:30 +00:00
.ui-slider-handle {
margin-bottom: 0 !important;
}
}
}
.image_width_settings {
vertical-align: middle;
label {
margin-left: 10px;
}
}
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;
}
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;
}
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;
}
/* Write Panels */
2012-07-22 12:50:45 +00:00
#wp-excerpt-editor-container {
background: #fff;
}
2011-08-24 19:32:33 +00:00
#product_variation-parent #parent_id {
width: 100%;
}
#postimagediv {
img {
border: 1px solid #d5d5d5;
max-width: 100%;
}
}
2012-10-05 18:02:02 +00:00
#woocommerce-product-images {
.inside {
margin: 0;
padding: 0;
.add_product_images {
2013-12-12 14:08:16 +00:00
padding: 0 12px 12px;
}
2012-10-05 18:02:02 +00:00
#product_images_container {
padding: 0 0 0 9px;
2012-10-05 18:02:02 +00:00
ul {
2014-09-22 17:35:48 +00:00
@include clearfix();
2012-10-05 18:02:02 +00:00
margin: 0;
padding: 0;
li.image,
li.add,
li.wc-metabox-sortable-placeholder {
2012-10-05 18:02:02 +00:00
width: 80px;
float: left;
cursor: move;
border: 1px solid #d5d5d5;
margin: 9px 9px 0 0;
2012-10-05 18:02:02 +00:00
background: #f7f7f7;
@include border-radius(2px);
2012-10-05 18:02:02 +00:00
position: relative;
@include box-sizing(border-box);
2012-10-05 18:02:02 +00:00
img {
width: 100%;
height: auto;
display: block;
}
}
2012-10-05 18:02:02 +00:00
li.wc-metabox-sortable-placeholder {
border: 3px dashed #dddddd;
position: relative;
&:after {
2014-09-22 17:35:48 +00:00
@include icon( "\e00c" );
font-size: 2.618em;
line-height: 72px;
color: #ddd;
}
2012-10-05 18:02:02 +00:00
}
2012-10-05 18:02:02 +00:00
ul.actions {
position: absolute;
top: -8px;
right: -8px;
2012-10-05 18:02:02 +00:00
padding: 2px;
display: none;
2012-10-05 18:02:02 +00:00
li {
float: right;
margin: 0 0 0 2px;
2012-10-05 18:02:02 +00:00
a {
width: 1em;
height: 1em;
2012-10-05 18:02:02 +00:00
margin: 0;
height: 0;
display: block;
overflow: hidden;
&.tips {
cursor: pointer;
}
2012-10-05 18:02:02 +00:00
}
2012-10-05 18:02:02 +00:00
a.view {
2014-09-22 17:35:48 +00:00
@include ir();
font-size: 1.4em;
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e00c" );
background-color: #000;
color: #fff;
}
2012-10-05 18:02:02 +00:00
}
2012-10-05 18:02:02 +00:00
a.delete {
2014-09-22 17:35:48 +00:00
@include ir();
font-size: 1.4em;
&:before {
2014-09-22 17:35:48 +00:00
@include icon( "\e013" );
color: white;
background-color: #000;
@include border-radius(100%);
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
&:hover before {
2014-09-22 17:35:48 +00:00
background-color: $red;
}
2012-10-05 18:02:02 +00:00
}
}
}
2012-10-05 18:02:02 +00:00
li:hover ul.actions {
display: block;
}
}
}
}
}
2012-07-22 12:50:45 +00:00
#woocommerce-product-data {
h3.hndle {
2013-11-08 11:38:45 +00:00
padding: 10px;
2012-07-22 12:50:45 +00:00
span {
display: block;
vertical-align: middle;
line-height: 24px;
2012-07-22 12:50:45 +00:00
span {
display: inline;
line-height: inherit;
vertical-align: baseline;
}
}
2012-07-22 12:50:45 +00:00
select {
margin: 0;
}
2012-07-22 12:50:45 +00:00
label {
padding-right: 1em;
font-size: 12px;
vertical-align: baseline;
}
2012-07-22 12:50:45 +00:00
label:first-child {
margin-right: 1em;
border-right: 1px solid #dfdfdf;
}
2012-07-22 12:50:45 +00:00
input, select {
margin: -3px 0 0 .5em;
vertical-align: middle;
}
}
2013-11-12 16:41:29 +00:00
> .handlediv {
margin-top: 4px;
2013-11-08 11:38:45 +00:00
}
2013-11-14 19:42:17 +00:00
.wrap {
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
2012-11-22 13:27:17 +00:00
/* Tabs and panels */
#woocommerce-coupon-description {
padding: 3px 8px;
font-size: 1.7em;
line-height: 1.42em;
height: auto;
width: 100%;
outline: 0;
margin: 10px 0 10px;
display: block;
&::-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;
}
}
#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
}
.woocommerce_options_panel,
.wc-metaboxes-wrapper {
2014-10-17 13:42:15 +00:00
float: left;
width: 80%;
.wc-radios {
display: block;
float: left;
margin: 0;
li {
display: block;
padding: 0 0 10px 0;
input {
width: auto;
}
}
}
2012-01-11 18:59:30 +00:00
}
2011-08-09 15:16:18 +00:00
}
#woocommerce-product-data,
#woocommerce-coupon-data,
.woocommerce {
2014-10-17 13:42:15 +00:00
.panel-wrap {
overflow: hidden;
}
ul.wc-tabs {
2014-10-17 13:42:15 +00:00
background: #fff;
line-height: 1em;
float: left;
2014-10-17 13:42:15 +00:00
width: 20%;
2012-11-22 13:27:17 +00:00
margin: 0;
position: relative;
padding: 0 0 10px;
2014-10-17 13:42:15 +00:00
background-color: #fafafa;
border-right: 1px solid #eee;
@include box-sizing(border-box);
2014-10-17 13:42:15 +00:00
&:after {
content: "";
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
li {
display: block;
padding: 0;
2012-11-22 13:27:17 +00:00
margin: 0;
2012-12-02 21:31:43 +00:00
2012-11-22 13:27:17 +00:00
a {
2013-12-13 10:40:28 +00:00
padding: 10px;
2014-10-17 13:42:15 +00:00
line-height: 20px !important;
margin: 0;
display: block;
text-decoration: none;
2014-10-17 13:42:15 +00:00
border-bottom: 1px solid #eee;
&:before {
2014-09-22 17:35:48 +00:00
@include iconbefore( "\e028" );
}
2012-11-22 13:27:17 +00:00
}
&:first-child {
a {
border-top: 0 !important;
}
2012-11-22 13:27:17 +00:00
}
&.general_options {
a:before {
content: "\e006";
}
}
&.inventory_options {
a:before {
content: "\e02c";
}
2012-11-22 13:27:17 +00:00
}
&.shipping_options {
a:before {
content: "\e01a";
}
2012-11-22 13:27:17 +00:00
}
&.linked_product_options {
a:before {
content: "\e00d";
}
2012-11-22 13:27:17 +00:00
}
&.attribute_options {
a:before {
content: "\e02b";
}
2012-11-22 13:27:17 +00:00
}
&.advanced_options {
a:before {
content: "\e01c";
}
2012-11-22 13:27:17 +00:00
}
&.variation_options {
a:before {
content: "\e003";
}
}
&.usage_restriction_options {
a:before {
content: "\e602";
}
}
&.usage_limit_options {
a:before {
content: "\e601";
}
}
&.general_coupon_data {
a:before {
content: "\e600";
}
2012-11-22 13:27:17 +00:00
}
&.active {
a {
position: relative;
2014-10-17 17:13:13 +00:00
background-color: #eee;
color: #555;
}
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 {
.shippingrows {
th.check-column {
padding-top: 20px;
}
tfoot {
th {
padding-left: 10px;
}
}
.add.button:before {
2014-09-22 17:35:48 +00:00
@include iconbefore( "\e007" );
2014-03-25 13:59:30 +00:00
}
}
2014-09-15 15:47:01 +00:00
h4.wc-settings-sub-title {
font-size: 1.2em;
}
2014-03-25 13:59:30 +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 {
padding: 0;
margin: 0;
}
2011-08-09 15:16:18 +00:00
}
2012-11-22 13:27:17 +00:00
.woocommerce_options_panel,
.panel {
2011-08-09 15:16:18 +00:00
padding: 9px 9px 9px 9px;
color: #555;
}
.woocommerce_page_settings .woocommerce_options_panel,
.panel {
2011-08-09 15:16:18 +00:00
padding: 0;
}
#woocommerce-product-type-options .panel,
#woocommerce-product-specs .inside {
2011-08-09 15:16:18 +00:00
padding: 9px;
margin: 0;
}
.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;
padding: 5px 9px;
2011-08-09 15:16:18 +00:00
line-height: 24px;
&:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
2011-08-09 15:16:18 +00:00
}
.woocommerce_options_panel .checkbox,
.woocommerce_variable_attributes .checkbox {
width: auto;
2011-08-09 15:16:18 +00:00
vertical-align: middle;
margin: 7px 0;
}
.woocommerce_variations,
.woocommerce_options_panel {
.downloadable_files {
table {
width: 100%;
padding: 0 !important;
th {
2014-10-17 13:50:18 +00:00
padding: 7px 0 7px 7px !important;
}
td {
vertical-align: middle !important;
2014-10-17 13:50:18 +00:00
padding: 4px 0 4px 7px !important;
position: relative;
&:last-child {
2014-10-17 13:50:18 +00:00
padding-right: 7px !important;
}
input.input_text {
width: 100%;
float: none;
margin: 1px 0;
2014-10-17 13:50:18 +00:00
min-width: 0;
}
.upload_file_button {
float: right;
width: auto;
cursor: pointer;
}
.delete {
2014-09-22 17:35:48 +00:00
@include ir();
&:before {
2014-09-22 17:35:48 +00:00
@include icon;
content: "\e013";
color: #999;
}
&:hover {
&:before {
2014-09-22 17:35:48 +00:00
color: $red;
}
}
}
}
2013-09-26 15:35:37 +00:00
th.sort {
width: 17px;
padding: 0;
}
2013-09-26 15:35:37 +00:00
td.sort {
2014-01-22 10:36:51 +00:00
padding: 0 8px;
2013-09-26 15:35:37 +00:00
cursor: move;
background: #f9f9f9;
2014-01-22 10:36:51 +00:00
text-align: center;
vertical-align: middle;
2013-09-26 15:35:37 +00:00
&:before {
2014-01-22 10:36:51 +00:00
content: "\e032";
font-family: 'WooCommerce';
text-align: center;
line-height: 1;
color: #999;
display: block;
width: 17px;
float: left;
height: 100%;
}
2014-01-22 10:36:51 +00:00
&:hover {
&:before {
color: #333;
}
2013-09-26 15:35:37 +00:00
}
}
}
}
}
2012-07-22 12:50:45 +00:00
.woocommerce_options_panel {
@include box-sizing(border-box);
.downloadable_files {
padding: 0 9px 0 162px;
position: relative;
margin: 9px 0 9px;
label {
position: absolute;
left: 0;
margin: 0 0 0 12px;
line-height: 24px;
}
}
2012-07-22 12:50:45 +00:00
p {
margin: 9px 0 9px;
}
p.form-field,
fieldset.form-field {
padding: 5px 20px 5px 162px !important; /** Padding for aligning labels left - 12px + 150 label width **/
}
label,
legend {
2012-07-22 12:50:45 +00:00
float: left;
width: 150px;
padding: 0;
margin: 0 0 0 -150px;
2012-08-02 22:13:20 +00:00
2012-07-22 12:50:45 +00:00
.req {
font-weight: bold;
font-style: normal;
2014-09-22 17:35:48 +00:00
color: $red;
2012-07-22 12:50:45 +00:00
}
}
2012-07-22 12:50:45 +00:00
.description {
padding: 0;
margin: 0 0 0 7px;
clear: none;
display: inline;
2012-07-22 12:50:45 +00:00
}
2012-07-22 12:50:45 +00:00
.description-block {
margin-left: 0;
display: block;
}
textarea,
input,
select {
2012-07-22 12:50:45 +00:00
margin: 0;
}
2012-07-22 12:50:45 +00:00
textarea {
vertical-align: top;
height: 3.5em;
line-height: 1.5em;
}
2014-01-13 12:46:54 +00:00
input[type="text"],
input[type="email"],
input[type="number"] {
2012-07-22 12:50:45 +00:00
width: 50%;
float: left;
}
2012-07-22 12:50:45 +00:00
input.button {
width: auto;
margin-left: 8px;
}
2012-07-22 12:50:45 +00:00
select {
float: left;
}
2014-01-13 12:46:54 +00:00
input[type="text"].short,
input[type="email"].short,
input[type="number"].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
}
2012-07-22 12:50:45 +00:00
.sized {
width: auto !important;
margin-right: 6px;
}
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;
2012-07-22 12:50:45 +00:00
}
2012-07-22 12:50:45 +00:00
.options_group:first-child {
border-top: 0;
}
2012-11-22 13:27:17 +00:00
.options_group:last-child {
border-bottom: 0;
}
2012-12-06 16:54:44 +00:00
.options_group fieldset {
margin: 9px 0;
font-size: 12px;
padding: 5px 9px;
line-height: 24px;
2012-12-06 16:54:44 +00:00
label {
width: auto;
float: none;
}
2012-12-06 16:54:44 +00:00
ul {
float: left;
width: 50%;
margin: 0;
padding: 0;
2012-12-06 16:54:44 +00:00
li {
margin: 0;
width: auto;
2012-12-06 16:54:44 +00:00
input {
width: auto;
float: none;
margin-right: 4px;
}
}
}
2014-02-21 16:16:23 +00:00
ul.wc-radios {
label {
margin-left: 0;
}
}
2012-12-06 16:54:44 +00:00
}
2012-07-22 12:50:45 +00:00
.dimensions_field {
.wrap {
2014-11-11 15:01:33 +00:00
display: block;
width: 50%;
2012-07-22 12:50:45 +00:00
input {
2014-11-11 15:01:33 +00:00
width: 30.75%;
margin-right: 3.8%;
2012-07-22 12:50:45 +00:00
}
2012-07-22 12:50:45 +00:00
.last {
margin-right: 0;
}
}
}
&.padded {
padding: 1em;
}
2012-01-11 18:59:30 +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;
}
#grouped_product_options,
#virtual_product_options,
#simple_product_options {
2011-08-09 15:16:18 +00:00
padding: 12px;
font-style: italic;
color: #666;
}
/* WC Metabox Panels - used for attributes, download permissions etc */
2012-02-25 11:43:25 +00:00
.wc-metaboxes-wrapper {
.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;
2012-08-06 13:28:49 +00:00
&:first-child {
border-top: 0;
2012-08-06 13:28:49 +00:00
}
2012-11-22 13:27:17 +00:00
&:last-child {
border-bottom: 0;
2012-11-22 13:27:17 +00:00
}
.link_all_variations,
.add_variation {
float: right;
margin-left: 5px;
}
2012-02-13 19:21:52 +00:00
}
p.toolbar {
overflow: hidden;
zoom: 1;
}
select.attribute_taxonomy,
button.add_attribute,
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
}
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
}
2012-02-25 11:43:25 +00:00
.wc-metabox-sortable-placeholder {
border-color: #bbb;
background-color: #f5f5f5;
2012-02-25 11:43:25 +00:00
margin-bottom: 9px;
border-width: 1px;
border-style: dashed;
2012-02-25 11:43:25 +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 {
&:before {
line-height: .5 !important;
}
}
&.closed {
@include border-radius(3px);
2013-11-15 14:32:44 +00:00
.handlediv {
&:before {
content: "\f140" !important;
}
}
2013-11-15 14:32:44 +00:00
h3 {
border: 0;
2013-11-15 14:32:44 +00:00
}
}
2012-02-13 19:21:52 +00:00
h3 {
margin: 0 !important;
padding: .75em .75em .75em 1em !important;
2012-02-13 19:21:52 +00:00
font-size: 1em !important;
overflow: hidden;
zoom: 1;
cursor: move;
2012-02-13 19:21:52 +00:00
button {
float: right;
}
2012-02-13 19:21:52 +00:00
strong {
font-weight: normal;
line-height: 24px;
2014-10-17 13:42:15 +00:00
font-weight: 700;
2012-02-13 19:21:52 +00:00
}
2012-02-13 19:21:52 +00:00
select {
font-family: sans-serif;
}
2012-02-13 19:21:52 +00:00
.handlediv {
background-position: 6px 5px !important;
display: none;
height: 24px;
}
2012-02-25 11:43:25 +00:00
&.fixed {
cursor: pointer !important;
}
2012-02-13 19:21:52 +00:00
}
2013-10-14 12:43:02 +00:00
h3:hover .handlediv {
2012-02-13 19:21:52 +00:00
display: block;
}
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;
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;
2012-02-25 11:43:25 +00:00
label {
text-align: left;
display: block;
line-height: 21px;
}
2012-02-25 11:43:25 +00:00
input {
float: left;
min-width: 200px;
}
input,
textarea {
2012-02-25 11:43:25 +00:00
width: 100%;
margin: 0;
display: block;
font-size: 14px;
padding: 4px;
color: #555;
}
select,
.chosen-container {
width: 100% !important;
2012-02-25 11:43:25 +00:00
}
input.short {
width: 200px;
}
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
}
2012-02-25 11:43:25 +00:00
td.attribute_name {
width: 200px;
2012-02-13 19:21:52 +00:00
}
.plus,
.minus {
2012-02-15 20:18:01 +00:00
margin-top: 6px;
}
.fl {
float: left;
}
.fr {
float: right;
}
2012-02-13 19:21:52 +00:00
}
2012-02-15 20:18:01 +00:00
}
.expand_all,
.close_all {
2012-12-12 12:54:26 +00:00
float: right;
2013-07-22 10:29:19 +00:00
margin-left: 14px;
2012-12-12 12:54:26 +00:00
line-height: 22px;
2013-07-17 10:51:49 +00:00
text-decoration: none;
2013-07-17 10:51:49 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include iconbefore( "\e036" );
2013-07-22 10:29:19 +00:00
font-size: .8em;
2013-07-17 10:51:49 +00:00
color: #999;
}
2012-02-15 20:18:01 +00:00
}
2012-12-12 12:54:26 +00:00
.expand_all {
2013-07-17 10:51:49 +00:00
&:before {
content: "\e035";
2012-12-12 12:54:26 +00:00
}
}
2012-02-13 19:21:52 +00:00
}
2011-08-09 15:16:18 +00:00
/* Configuration */
.woocommerce_variable_attributes {
background-color: #fdfdfd;
2014-10-17 13:42:15 +00:00
border-top: 1px solid #eee;
.data {
@include clearfix;
2014-10-17 13:42:15 +00:00
padding: 1em 2em;
}
.upload_image_button {
display: block;
width: 48px;
height: 48px;
float: left;
margin-right: 20px;
position: relative;
img {
width: 100%;
height: auto;
}
&:before {
content: "\f317";
font-family: 'Dashicons';
display: none;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
text-align: center;
line-height: 48px;
font-size: 2em;
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
2014-10-17 13:42:15 +00:00
&.remove:before {
content: "\f335";
}
&:hover {
&:before {
display: block;
2012-10-08 11:51:00 +00:00
}
}
}
.options {
border: 1px solid #eee;
border-width: 1px 0;
padding: .25em 0;
label {
display: inline-block;
padding: 4px 1em 2px 0;
}
input[type=checkbox] {
margin-top: 5px;
margin-right: 3px;
}
}
}
.form-row {
label {
display: block;
}
input[type=text],
input[type=number],
select {
width: 100%;
}
&.dimensions_field {
input {
width: 25%;
float: left;
margin-right: 1%;
&:last-of-type {
margin-right: 0;
2012-10-08 11:51:00 +00:00
}
}
2011-08-09 15:16:18 +00:00
}
}
.form-row-first,
.form-row-last {
width: 48%;
float: right;
}
.form-row-first {
clear: both;
float: left;
}
.form-row-full {
clear: both;
}
2011-08-20 15:41:42 +00:00
/* Tooltips */
.tips {
cursor: help;
text-decoration: none;
}
img.tips {
2011-08-20 15:41:42 +00:00
padding: 5px 0 0 0;
}
/* TipTip CSS - Version 1.2 (custom) */
#tiptip_holder {
display: none;
position: absolute;
top: 0;
left: 0;
z-index: 99999;
}
#tiptip_holder {
&.tip_top {
padding-bottom: 5px;
#tiptip_arrow_inner {
margin-top: -7px;
margin-left: -6px;
border-top-color: #464646;
}
}
&.tip_bottom {
padding-top: 5px;
#tiptip_arrow_inner {
margin-top: -5px;
margin-left: -6px;
border-bottom-color: #464646;
}
}
&.tip_right {
padding-left: 5px;
#tiptip_arrow_inner {
margin-top: -6px;
margin-left: -5px;
border-right-color: #464646;
}
}
&.tip_left {
padding-right: 5px;
#tiptip_arrow_inner {
margin-top: -6px;
margin-left: -7px;
border-left-color: #464646;
}
}
}
#tiptip_content,
.chart-tooltip,
.wc_error_tip {
font-size: 11px;
2011-08-20 15:41:42 +00:00
color: #fff;
padding: .5em .5em;
background: #464646;
@include border-radius(3px);
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.10);
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,0.10);
box-shadow: 1px 1px 3px rgba(0,0,0,0.10);
2012-07-22 12:50:45 +00:00
text-align: center;
2014-04-10 10:29:02 +00:00
max-width: 150px;
code {
background: #888;
padding: 1px;
}
}
#tiptip_arrow,
#tiptip_arrow_inner {
position: absolute;
border-color: transparent;
border-style: solid;
border-width: 6px;
height: 0;
width: 0;
}
.wc_error_tip {
background: #d82223;
max-width: 20em;
white-space: normal;
position: absolute;
margin: 1.5em 1px 0 -1em;
z-index: 9999999;
&:after {
content: "";
display: block;
border: 8px solid #d82223;
border-right-color: transparent;
border-left-color: transparent;
border-top-color: transparent;
position: absolute;
top: -3px;
left: 50%;
margin: -1em 0 0 -3px;
}
2011-08-20 15:41:42 +00:00
}
2011-08-10 17:11:11 +00:00
/* Datepicker */
img.ui-datepicker-trigger {
vertical-align: middle;
margin-top: -1px;
cursor: pointer
}
.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 {
display: none
}
2011-08-10 17:11:11 +00:00
2011-09-16 23:07:40 +00:00
/* Reports */
.woocommerce-reports-wrap,
.woocommerce-reports-wide {
2013-06-22 10:37:59 +00:00
&.woocommerce-reports-wrap {
margin-left: 300px;
padding-top: 18px;
}
2011-09-20 10:30:21 +00:00
&.halved {
margin: 0;
overflow: hidden;
zoom: 1;
}
2013-07-09 10:48:56 +00:00
.widefat {
td {
vertical-align: top;
padding: 7px 7px;
.description {
margin: 4px 0 0 0;
}
}
}
2011-09-16 23:07:40 +00:00
.postbox {
2013-06-28 16:33:37 +00:00
&:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
2013-06-28 16:33:37 +00:00
}
2011-09-16 23:07:40 +00:00
h3 {
cursor: default !important;
}
2013-07-10 11:05:45 +00:00
.inside {
padding: 10px;
margin: 0 !important;
}
2013-06-22 10:37:59 +00:00
h3.stats_range {
padding: 0 !important;
border-bottom-color: #dfdfdf;
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;
2013-07-19 11:41:38 +00:00
&:before {
2014-09-22 17:35:48 +00:00
@include iconbefore( "\e00a" );
margin-right: 4px;
2013-07-19 11:41:38 +00:00
}
2013-07-18 11:56:12 +00:00
}
2013-06-22 10:37:59 +00:00
ul {
list-style: none outside;
margin: 0;
padding: 0;
zoom: 1;
2013-12-13 10:45:13 +00:00
background: #f5f5f5;
&:before,
&:after {
2013-07-16 11:42:46 +00:00
content: " ";
display: table;
2013-07-16 11:42:46 +00:00
}
2013-07-16 11:42:46 +00:00
&:after {
clear: both;
2013-07-16 11:42:46 +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;
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;
}
2013-06-24 16:47:28 +00:00
&.active {
2013-11-08 11:46:44 +00:00
background: #fff;
-webkit-box-shadow: 0 4px 0 0 #fff;
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
}
2013-06-24 16:47:28 +00:00
&.custom {
padding: 9px 10px;
vertical-align: middle;
form,
div {
2013-06-24 16:47:28 +00:00
display: inline;
margin: 0;
2013-06-24 16:47:28 +00:00
input.range_datepicker {
padding: 0;
margin: 0 10px 0 0;
2013-06-24 16:47:28 +00:00
background: transparent;
border: 0;
color: #777;
text-align: center;
-webkit-box-shadow: none;
box-shadow: none;
2013-06-24 16:47:28 +00:00
}
}
2013-06-22 10:37:59 +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;
.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;
}
}
.chart-widgets {
margin: 0;
2013-06-24 16:47:28 +00:00
padding: 0;
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;
border: 1px solid #dfdfdf;
2013-06-27 15:12:17 +00:00
&:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
2013-06-27 15:12:17 +00:00
}
2013-06-24 16:47:28 +00:00
h4 {
2013-07-16 11:42:46 +00:00
background: #fff;
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;
margin: 0;
2014-09-22 17:35:48 +00:00
color: $blue;
border-top-width: 0;
2013-07-16 11:42:46 +00:00
background-image: -webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));
background-image: -webkit-linear-gradient(bottom,#ececec,#f9f9f9);
background-image: -moz-linear-gradient(bottom,#ececec,#f9f9f9);
background-image: -o-linear-gradient(bottom,#ececec,#f9f9f9);
background-image: linear-gradient(to top,#ececec,#f9f9f9);
2013-07-18 08:20:49 +00:00
&.section_title:hover {
color: $red;
2013-07-16 11:42:46 +00:00
}
2013-06-24 16:47:28 +00:00
}
2013-06-27 15:12:17 +00:00
.section_title {
cursor: pointer;
2013-06-27 15:12:17 +00:00
span {
display: block;
2013-11-22 17:09:05 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include iconafter( "\e035" );
2013-11-22 17:09:05 +00:00
float: right;
font-size: .9em;
2013-11-22 17:09:05 +00:00
line-height: 1.618;
}
2013-06-27 15:12:17 +00:00
}
2013-06-27 15:12:17 +00:00
&.open {
2013-07-16 11:42:46 +00:00
color: #333;
2013-11-22 17:09:05 +00:00
span:after {
display: none;
2013-06-27 15:12:17 +00:00
}
}
}
2013-07-16 11:42:46 +00:00
.section {
border-bottom: 1px solid #dfdfdf;
2013-11-22 17:09:05 +00:00
.chosen-container {
width: 100% !important;
2013-11-22 17:09:05 +00:00
}
2013-07-16 11:42:46 +00:00
&:last-of-type {
border-radius: 0 0 3px 3px;
2013-07-16 11:42:46 +00:00
}
}
2013-06-24 16:47:28 +00:00
table {
2013-06-25 13:59:20 +00:00
width: 100%;
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
}
2013-07-16 11:42:46 +00:00
tr:first-child td {
border-top: 0;
2013-07-16 11:42:46 +00:00
}
2013-06-24 16:47:28 +00:00
td.count {
background: #f5f5f5;
2013-06-24 16:47:28 +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
}
2013-06-25 13:59:20 +00:00
td.sparkline {
vertical-align: middle;
}
2013-06-25 13:59:20 +00:00
.wc_sparkline {
width: 32px;
height: 1em;
display: block;
float: right;
}
tr.active td {
background: #f5f5f5;
}
}
form,
p {
2013-07-16 11:42:46 +00:00
margin: 0;
padding: 10px;
2013-06-27 15:12:17 +00:00
.submit {
margin-top: 10px;
}
}
#product_ids {
width: 100%;
2013-06-24 16:47:28 +00:00
}
.select_all,
.select_none {
2013-06-27 17:39:55 +00:00
float: right;
color: #999;
margin-left: 4px;
margin-top: 10px;
}
2013-06-24 16:47:28 +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;
border: 1px solid #dfdfdf;
border-right-width: 0;
border-bottom-width: 0;
2013-07-16 11:42:46 +00:00
background: #fff;
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;
-webkit-transition: all ease .5s;
2013-07-16 11:42:46 +00:00
box-shadow:
inset 0 -1px 0 0 #dfdfdf;
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;
font-family: "HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
}
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;
padding-left: 1.5em;
2013-07-16 11:42:46 +00:00
color: #9c5d90;
}
2013-06-22 10:37:59 +00:00
}
}
2013-07-09 14:31:22 +00:00
.pie-chart-legend {
margin: 12px 0 0 0;
overflow: hidden;
2013-07-09 14:31:22 +00:00
li {
float: left;
margin: 0;
padding: 6px 0 0 0;
border-top: 4px solid #999;
text-align: center;
@include box-sizing(border-box);
2013-07-09 14:31:22 +00:00
width: 50%;
}
}
2011-09-16 23:07:40 +00:00
.stat {
font-size: 1.5em !important;
font-weight: bold;
text-align: center;
}
2013-06-22 10:37:59 +00:00
.chart-placeholder {
width: 100%;
height: 650px;
overflow: hidden;
position: relative;
2013-06-22 10:37:59 +00:00
}
.chart-prompt {
line-height: 650px;
2013-06-27 15:12:17 +00:00
margin: 0;
color: #999;
font-size: 1.2em;
font-style: italic;
text-align: center;
}
2013-06-22 10:37:59 +00:00
.chart-container {
background: #fff;
padding: 12px;
position: relative;
border: 1px solid #dfdfdf;
border-radius: 3px;
2013-06-22 10:37:59 +00:00
}
2013-06-22 10:37:59 +00:00
.main .chart-legend {
margin-top: 12px;
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
}
}
2011-09-16 23:07:40 +00:00
.woocommerce-reports-main {
float: left;
min-width: 100%;
2012-07-20 19:08:39 +00:00
table {
td {
padding: 9px;
}
}
2011-09-16 23:07:40 +00:00
}
2011-09-16 23:07:40 +00:00
.woocommerce-reports-sidebar {
display: inline;
width: 281px;
margin-left: -300px;
clear: both;
float: left;
}
2011-09-20 10:30:21 +00:00
.woocommerce-reports-left {
width: 49.5%;
float: left;
}
2011-09-20 10:30:21 +00:00
.woocommerce-reports-right {
width: 49.5%;
float: right;
}
2014-02-13 09:37:39 +00:00
.column-wc_actions {
a.edit,
a.view {
2014-09-22 17:35:48 +00:00
@include ir();
padding: 0 !important;
2014-02-13 09:37:39 +00:00
height: 2em !important;
width: 2em;
2014-02-13 09:37:39 +00:00
&:after {
2014-09-22 17:35:48 +00:00
@include icon;
2014-02-13 09:37:39 +00:00
line-height: 1.85;
}
}
a.edit {
&:after {
content: "\e01c";
}
}
a.view {
&:after {
content: "\e010";
}
}
}
2011-09-16 23:07:40 +00:00
}
2012-08-31 13:11:30 +00:00
.woocommerce-wide-reports-wrap {
padding-bottom: 11px;
2012-08-31 13:11:30 +00:00
.widefat {
.export-data {
float: right;
}
th,
td {
2012-08-31 13:11:30 +00:00
vertical-align: middle;
padding: 7px;
}
}
}
form.report_filters {
p {
vertical-align: middle;
}
label,
input,
div {
2012-08-31 13:11:30 +00:00
vertical-align: middle;
}
}
2011-09-16 12:45:46 +00:00
/* Chart tooltips */
2013-06-22 10:37:59 +00:00
.chart-tooltip {
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
/* Custom charts */
table.bar_chart {
width: 100%;
2011-09-16 17:39:37 +00:00
thead th {
text-align: left;
color: #ccc;
padding: 6px 0;
}
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;
}
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;
2011-12-05 12:10:49 +00:00
span {
color: #8a4b75;
display: block;
}
2011-12-05 12:10:49 +00:00
span.alt {
color: #47a03e;
margin-top: 6px;
}
}
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;
span,
a {
text-decoration: none;
2011-09-16 17:39:37 +00:00
clear: both;
background: #8a4b75;
float: left;
display: block;
line-height: 24px;
height: 24px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-o-border-radius: 3px;
-khtml-border-radius: 3px;
border-radius: 3px;
2011-09-16 17:39:37 +00:00
}
2011-09-16 17:39:37 +00:00
span.alt {
clear: both;
background: #47a03e;
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;
}
}
}
}
}
/* Chosen multiselect enhancement
2011-08-24 16:23:04 +00:00
----------------------------------*/
.chosen-container-single .chosen-single {
2013-11-15 14:32:44 +00:00
height: 26px;
2014-07-15 22:56:07 +00:00
line-height: 26px;
margin-top: 1px;
}
.chosen-container-single .chosen-single div b {
2013-11-15 14:32:44 +00:00
background: url('../images/chosen-sprite.png') no-repeat 0 4px !important;
}
.chosen-container-active .chosen-single-with-drop div b {
2012-12-03 13:27:26 +00:00
background-position: -18px 2px !important;
}
.chosen-container-single .chosen-search input {
line-height: 13px;
width: 100% !important;
@include box-sizing(border-box);
}
.chosen-container .chosen-drop {
width: 100% !important;
@include box-sizing(border-box);
}
.chosen-container-multi .chosen-choices .search-field input {
height: 21px !important;
}
.woocommerce_options_panel .chosen-container-multi {
width: 50% !important;
float: left;
.search-field {
min-width: 50%;
input {
min-width: 100%;
}
}
}
2013-11-15 14:32:44 +00:00
2013-06-03 09:46:25 +00:00
// Small screen optimisation
@media only screen and (max-width: 1280px) {
.woocommerce_options_panel .chosen-container-multi {
width: 80% !important;
}
2013-06-03 09:46:25 +00:00
#order_data {
.order_data_column {
width: 48%;
2013-06-03 09:46:25 +00:00
&:first-child {
width: 100%;
2013-06-03 09:46:25 +00:00
}
}
}
.woocommerce_options_panel {
.description {
display: block;
clear: both;
margin-left: 0;
}
.short,
input[type=email].short,
input[type=number].short,
2014-11-11 15:01:33 +00:00
input[type=text].short,
.dimensions_field .wrap {
width: 80%;
}
}
.woocommerce_variations,
.woocommerce_options_panel {
.downloadable_files {
padding: 0;
clear: both;
label {
position: static;
}
table {
2014-10-17 13:50:18 +00:00
margin: 0 12px 24px 12px;
width: 94%;
.sort {
display: none;
}
}
}
2014-10-17 13:50:18 +00:00
.woocommerce_variable_attributes {
.downloadable_files {
table {
margin: 0 0 1em;
width: 100%;
}
}
}
2013-12-13 10:40:28 +00:00
}
}
@media only screen and (max-width: 900px) {
#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
}
#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
}
#woocommerce-product-data ul.product_data_tabs li a {
position: relative;
text-indent: -999px;
padding: 10px;
2013-12-13 10:40:28 +00:00
&:before {
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
}
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;
}
#woocommerce-product-data .checkbox {
2014-07-15 22:56:07 +00:00
width: 25px;
}
2013-12-12 14:00:32 +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 {
padding: 5px 20px 5px 20px !important;
}
}
2014-09-22 17:35:48 +00:00
@import 'chosen';
2013-11-22 17:14:04 +00:00
.chosen-container-single .chosen-single {
2014-07-15 22:56:07 +00:00
abbr {
top: 8px;
}
}
/* Backbone modal dialog
----------------------------------*/
.wc-backbone-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 160000;
* {
@include box-sizing(content-box);
2014-07-15 22:56:07 +00:00
}
.wc-backbone-modal-content {
position: absolute;
top: 50%;
left: 50%;
width: 500px;
2014-07-15 22:56:07 +00:00
background: #fff;
margin: -150px 0 0 -250px;
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;
opacity: .7;
z-index: 159900;
}
.wc-backbone-modal-main {
2014-07-23 09:49:39 +00:00
padding-bottom: 50px;
2014-07-15 22:56:07 +00:00
header,
article {
display: block;
position: relative;
padding: 4px 16px;
}
2014-07-23 09:49:39 +00:00
header {
border-bottom: 1px solid #ddd;
}
2014-07-23 09:49:39 +00:00
article {
padding: 10px 16px;
.pagination {
padding: 10px 0 0;
text-align: center;
}
2014-07-23 09:49:39 +00:00
}
2014-07-15 22:56:07 +00:00
h1 {
font-size: 22px;
font-weight: 200;
line-height: 45px;
margin: 0;
}
footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 30px;
z-index: 100;
padding: 10px 0px;
border: 0 solid #dfdfdf;
border-width: 1px 0 0 0;
box-shadow: 0 -4px 4px -4px rgba(0,0,0,0.1);
}
footer .inner {
padding: 0 10px;
text-align: right;
}
}