2014-11-18 12:52:00 +00:00
|
|
|
/**
|
|
|
|
* dashboard.scss
|
|
|
|
* Styles for WooCommerce dashboard widgets, only loaded on the dashboard itself.
|
|
|
|
*/
|
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Imports
|
|
|
|
*/
|
2016-08-09 16:28:32 +00:00
|
|
|
@import 'mixins';
|
|
|
|
@import 'variables';
|
|
|
|
@import 'fonts';
|
2013-07-25 14:00:23 +00:00
|
|
|
|
2014-11-18 12:43:48 +00:00
|
|
|
/**
|
|
|
|
* Styling begins
|
|
|
|
*/
|
2014-04-08 10:15:05 +00:00
|
|
|
ul.woocommerce_stats {
|
|
|
|
overflow: hidden;
|
|
|
|
zoom: 1;
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2014-04-08 10:15:05 +00:00
|
|
|
li {
|
|
|
|
width: 25%;
|
|
|
|
padding: 0 1em;
|
|
|
|
text-align: center;
|
|
|
|
float: left;
|
|
|
|
font-size: 0.8em;
|
|
|
|
border-left: 1px solid #fff;
|
|
|
|
border-right: 1px solid #ececec;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2014-04-08 10:15:05 +00:00
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2014-04-08 10:15:05 +00:00
|
|
|
li:first-child {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2014-04-08 10:15:05 +00:00
|
|
|
li:last-child {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2014-04-08 10:15:05 +00:00
|
|
|
strong {
|
2016-08-09 16:28:32 +00:00
|
|
|
font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif;
|
2014-04-08 10:15:05 +00:00
|
|
|
font-size: 4em;
|
|
|
|
line-height: 1.2em;
|
|
|
|
font-weight: normal;
|
|
|
|
text-align: center;
|
2014-11-13 09:38:39 +00:00
|
|
|
display: block;
|
2014-04-08 10:15:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
#woocommerce_dashboard_status {
|
|
|
|
.inside {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
.wc_status_list {
|
|
|
|
overflow: hidden;
|
2014-11-13 09:38:39 +00:00
|
|
|
margin: 0;
|
2013-07-25 14:00:23 +00:00
|
|
|
|
|
|
|
li {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
2014-11-13 09:38:39 +00:00
|
|
|
padding: 0;
|
2015-03-17 15:51:55 +00:00
|
|
|
box-sizing: border-box;
|
2013-07-25 14:00:23 +00:00
|
|
|
margin: 0;
|
|
|
|
border-top: 1px solid #ececec;
|
|
|
|
color: #aaa;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
color: #aaa;
|
|
|
|
padding: 9px 12px;
|
2017-05-05 13:32:53 +00:00
|
|
|
transition: all ease 0.5s;
|
2013-07-25 14:00:23 +00:00
|
|
|
position: relative;
|
2013-11-25 10:38:47 +00:00
|
|
|
font-size: 12px;
|
2013-07-25 14:00:23 +00:00
|
|
|
|
|
|
|
.wc_sparkline {
|
|
|
|
width: 4em;
|
|
|
|
height: 2em;
|
|
|
|
display: block;
|
|
|
|
float: right;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 50%;
|
|
|
|
margin-right: 12px;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-top: -1.25em;
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.2em;
|
|
|
|
font-weight: normal;
|
|
|
|
display: block;
|
|
|
|
color: #21759b;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2013-11-25 10:38:47 +00:00
|
|
|
color: #2ea2cc;
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before,
|
2014-11-13 09:38:39 +00:00
|
|
|
strong {
|
2013-11-25 10:38:47 +00:00
|
|
|
color: #2ea2cc !important;
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
2014-09-22 17:35:48 +00:00
|
|
|
@include icon();
|
2013-07-25 14:00:23 +00:00
|
|
|
font-size: 2em;
|
|
|
|
position: relative;
|
|
|
|
width: auto;
|
|
|
|
line-height: 1.2em;
|
|
|
|
color: #464646;
|
|
|
|
float: left;
|
|
|
|
margin-right: 12px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li:first-child {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.sales-this-month {
|
|
|
|
width: 100%;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
font-family: 'Dashicons';
|
|
|
|
content: '\f185';
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.best-seller-this-month {
|
|
|
|
width: 100%;
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
content: '\e006';
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.processing-orders {
|
|
|
|
border-right: 1px solid #ececec;
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
content: '\e011';
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $green;
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.on-hold-orders {
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
content: '\e033';
|
2013-07-25 14:00:23 +00:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.low-in-stock {
|
|
|
|
border-right: 1px solid #ececec;
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
content: '\e016';
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $orange;
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
li.out-of-stock {
|
2016-08-09 16:28:32 +00:00
|
|
|
a::before {
|
|
|
|
content: '\e013';
|
2014-09-22 17:35:48 +00:00
|
|
|
color: $red;
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#woocommerce_dashboard_recent_reviews {
|
|
|
|
li {
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
h4.meta {
|
|
|
|
line-height: 1.4;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin: -0.2em 0 0 0;
|
2013-07-25 14:00:23 +00:00
|
|
|
font-weight: normal;
|
|
|
|
color: #999;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
blockquote {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
.avatar {
|
|
|
|
float: left;
|
|
|
|
margin: 0 10px 5px 0;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
.star-rating {
|
|
|
|
float: right;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
height: 1.5em;
|
|
|
|
line-height: 1.5;
|
2016-08-09 16:28:32 +00:00
|
|
|
margin-left: 0.5em;
|
2013-07-25 14:00:23 +00:00
|
|
|
width: 5.4em;
|
|
|
|
font-family: 'WooCommerce' !important;
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
&::before {
|
|
|
|
content: '\e021\e021\e021\e021\e021';
|
2014-09-22 17:48:26 +00:00
|
|
|
color: darken( #ccc, 10% );
|
2013-07-25 14:00:23 +00:00
|
|
|
float: left;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
letter-spacing: 0.1em;
|
2014-11-13 09:38:39 +00:00
|
|
|
letter-spacing: 0\9; // IE8 & below hack ;-(
|
2013-07-25 14:00:23 +00:00
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2013-07-25 14:00:23 +00:00
|
|
|
span {
|
|
|
|
overflow: hidden;
|
|
|
|
float: left;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
padding-top: 1.5em;
|
|
|
|
}
|
2014-11-13 09:38:39 +00:00
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
span::before {
|
|
|
|
content: '\e020\e020\e020\e020\e020';
|
2013-07-25 14:00:23 +00:00
|
|
|
top: 0;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
letter-spacing: 0.1em;
|
2014-11-13 09:38:39 +00:00
|
|
|
letter-spacing: 0\9; // IE8 & below hack ;-(
|
2013-07-25 14:00:23 +00:00
|
|
|
color: #9c5d90;
|
|
|
|
}
|
|
|
|
}
|
2013-11-25 09:41:35 +00:00
|
|
|
}
|
|
|
|
|
2016-08-09 16:28:32 +00:00
|
|
|
#dash-right-now li.product-count a::before {
|
2013-11-25 09:41:35 +00:00
|
|
|
font-family: 'WooCommerce';
|
2016-08-09 16:28:32 +00:00
|
|
|
content: '\e01d';
|
2015-01-15 13:41:42 +00:00
|
|
|
}
|