2018-08-06 15:30:43 +00:00
|
|
|
/** @format */
|
|
|
|
|
|
|
|
// By using CSS variables, we can switch the spacing rhythm using a single media query.
|
|
|
|
:root {
|
2018-08-08 22:11:54 +00:00
|
|
|
--large-gap: 40px;
|
2018-08-06 15:30:43 +00:00
|
|
|
--main-gap: 24px;
|
|
|
|
}
|
2018-11-02 19:20:11 +00:00
|
|
|
@media (max-width: 960px) {
|
2018-08-08 22:11:54 +00:00
|
|
|
:root {
|
|
|
|
--large-gap: 24px;
|
|
|
|
}
|
|
|
|
}
|
2018-08-06 15:30:43 +00:00
|
|
|
@media (max-width: 782px) {
|
|
|
|
:root {
|
2018-08-08 22:11:54 +00:00
|
|
|
--large-gap: 16px;
|
2018-08-06 15:30:43 +00:00
|
|
|
--main-gap: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Set up animation
|
|
|
|
@keyframes loading-fade {
|
|
|
|
0% {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
2018-08-13 15:25:32 +00:00
|
|
|
|
|
|
|
.woocommerce-layout {
|
|
|
|
a:link,
|
|
|
|
a:visited,
|
|
|
|
.components-button.is-link {
|
|
|
|
color: $woocommerce-500;
|
|
|
|
}
|
|
|
|
|
2018-09-03 02:08:13 +00:00
|
|
|
a.components-button.is-button {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
2018-08-13 15:25:32 +00:00
|
|
|
a:hover,
|
|
|
|
a:active,
|
|
|
|
a:focus,
|
|
|
|
.components-button.is-link:hover,
|
|
|
|
.components-button.is-link:active,
|
|
|
|
.components-button.is-link:focus {
|
|
|
|
color: $woocommerce-400;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus {
|
|
|
|
box-shadow: 0 0 0 1px $woocommerce-300, 0 0 2px 1px rgba($woocommerce-300, 0.8);
|
|
|
|
}
|
Add loading indicators, error state, and EmptyContent to the revenue report. (#347, woocommerce/woocommerce-admin#348)
* Add loading indiciators for the revenue report.
* Improve accessibility, and fix up some documentation comments.
* Fix top border on mobile
* Add EmptyContent Component and revenue error/empty states. (https://github.com/woocommerce/woocommerce-admin/pull/348)
* Add EmptyContent Component and revenue error/empty states.
* Move relative image handling to ImageAsset, combine secondary and primary action rendering, add some missing isRequired proptypes, add empty error handling.
* Handle PR Feedback: Clean up button css, set a default for illustration, fix deprecation typo, some code cleanup.
2018-09-05 16:45:49 +00:00
|
|
|
|
|
|
|
.components-button.is-button.is-primary {
|
|
|
|
color: $white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.components-button.is-button.is-primary:hover,
|
|
|
|
.components-button.is-button.is-primary:active,
|
|
|
|
.components-button.is-button.is-primary:focus {
|
|
|
|
color: $white;
|
|
|
|
}
|
2018-08-13 15:25:32 +00:00
|
|
|
}
|