2018-08-02 23:10:55 +00:00
/** @format */
2019-10-03 16:03:29 +00:00
. woocommerce-page : not ( . woocommerce-embed-page ) # klarna-banner ,
# klarna-kp-banner {
display : none ;
}
2018-08-02 23:10:55 +00:00
. woocommerce-dashboard__columns {
2018-08-06 22:34:47 +00:00
display : grid ;
2019-01-10 09:55:15 +00:00
grid-template-columns : calc ( 50 % - #{ $gap-large / 2 } ) calc ( 50 % - #{ $gap-large / 2 } ) ;
2018-08-08 22:11:54 +00:00
grid-column-gap : $gap-large ;
2018-08-02 23:10:55 +00:00
2019-03-05 22:59:23 +00:00
// Auto-position fix for IE11.
> div {
@include set-grid-item-position ( 2 , 14 ) ;
}
2018-11-02 19:20:11 +00:00
@include breakpoint ( ' <960px ' ) {
2019-01-10 09:55:15 +00:00
grid-template-columns : 100 % ;
2019-03-05 22:59:23 +00:00
> div {
@include set-grid-item-position ( 1 , 14 ) ;
}
2018-08-02 23:10:55 +00:00
}
}
2018-08-08 22:11:54 +00:00
. woocommerce-dashboard__widget {
display : flex ;
align-items : center ;
text-align : center ;
}
. woocommerce-dashboard__widget-item {
flex : 1 ;
}
2019-04-30 00:35:37 +00:00
. woocommerce-dashboard-section__add-more {
margin : 0 auto ;
width : 84 px ;
2019-05-07 07:21:16 +00:00
padding : 0 $gap-large $gap-large ;
2019-04-30 00:35:37 +00:00
. components-popover__content {
padding : 0 $gap $gap-smaller ;
}
}
. woocommerce-dashboard-section__add-more-choices {
display : flex ;
justify-content : center ;
}
. woocommerce-dashboard-section__add-more-btn {
display : flex ;
flex-direction : column ;
align-items : center ;
padding : $gap ;
margin : $gap-smaller ;
. dashicons-arrow-right-alt {
transform : rotate ( - 45 deg ) ;
}
}
. woocommerce-dashboard-section__add-more-btn-title {
color : $core-grey-dark-300 ;
padding-top : 8 px ;
}
2019-05-13 03:51:25 +00:00
. woocommerce-dashboard-section-controls {
border-top : $border-width solid $core-grey-light-500 ;
padding-top : $gap-smaller ;
. dashicon {
margin : 0 $gap-smaller 0 0 ;
vertical-align : bottom ;
}
. woocommerce-ellipsis-menu__item {
padding-bottom : 10 px ;
}
}
2019-08-15 16:51:21 +00:00
2019-08-21 05:58:47 +00:00
. woocommerce-onboarding {
. woocommerce-stepper . woocommerce-stepper__step {
. woocommerce-stepper__step-label {
2019-08-29 16:07:56 +00:00
color : $studio-gray-80 ;
2019-08-21 05:58:47 +00:00
}
& . is-active ,
& . is-complete {
. woocommerce-stepper__step-icon {
2019-08-29 16:07:56 +00:00
background : $studio-woocommerce-purple-60 ;
color : $studio-white ;
2019-08-21 05:58:47 +00:00
}
. woocommerce-stepper__step-label {
2019-08-29 16:07:56 +00:00
color : $studio-gray-90 ;
2019-08-21 05:58:47 +00:00
}
}
. woocommerce-spinner {
2019-08-29 16:07:56 +00:00
background : $studio-woocommerce-purple-60 ;
2019-08-21 05:58:47 +00:00
}
}
2019-08-15 16:51:21 +00:00
2019-08-21 05:58:47 +00:00
/* Muriel style overrides */
. muriel-component {
margin-top : $gap ;
margin-bottom : $gap ;
2019-08-15 16:51:21 +00:00
}
2019-08-21 05:58:47 +00:00
. components-base-control . has-error {
margin-bottom : $gap * 2 !important ;
2019-08-29 16:07:56 +00:00
border-color : $studio-red-50 ;
2019-08-21 05:58:47 +00:00
. components-base-control__help {
top : 100 % ;
position : absolute ;
margin-top : $gap-smallest ;
font-size : 12 px ;
font-style : normal ;
2019-08-29 16:07:56 +00:00
color : $studio-red-50 ;
2019-08-21 05:58:47 +00:00
}
}
. muriel-checkbox label . components-checkbox-control__label {
margin-left : $gap-smaller ;
}
. muriel-checkbox input [ type = ' checkbox ' ] {
width : 18 px ;
height : 18 px ;
}
. muriel-checkbox input [ type = ' checkbox ' ] : checked : : before {
font-size : 18 px ;
margin-left : - 3 px ;
margin-top : - 1 px ;
}
. muriel-button . is-button {
height : 48 px ;
2019-08-21 06:34:21 +00:00
& . is-busy {
cursor : progress ;
2019-08-29 16:07:56 +00:00
/* stylelint-disable function-parentheses-space-inside, function-comma-space-after */
background-image : linear-gradient (
- 45deg ,
$ studio-pink-50 28 % ,
color ( $ studio-pink-50 shade ( 30 % ) ) 28 % ,
color ( $ studio-pink-50 shade ( 30 % ) ) 72 % ,
$ studio-pink-50 72 %
) ! important ; // Gutenberg & PostCSS Add the gradient late in output, based on the 'primary' color, which in our case is purple. Our busy state should be pink.
/* stylelint-enable */
2019-08-21 06:34:21 +00:00
}
2019-08-21 05:58:47 +00:00
}
. muriel-checkbox input [ type = ' checkbox ' ] : checked {
2019-08-29 16:07:56 +00:00
background-color : $studio-woocommerce-purple-60 ;
border-color : $studio-woocommerce-purple-60 ;
2019-08-21 05:58:47 +00:00
}
. components-form-toggle {
display : inline-block ;
label {
font-size : 14 px ;
}
. components-base-control {
display : inline-block ;
}
. components-form-toggle__track {
width : 36 px ;
max-width : 36 px ;
height : 18 px ;
max-height : 18 px ;
}
. components-base-control__field {
margin-bottom : 0 ;
}
. muriel-checkbox label . components-checkbox-control__label {
margin-left : $gap-large ;
}
& . is-checked {
. components-form-toggle__track {
2019-08-29 16:07:56 +00:00
background-color : $studio-woocommerce-purple-60 ;
border-color : $studio-woocommerce-purple-60 ;
2019-08-21 05:58:47 +00:00
}
}
2019-08-15 16:51:21 +00:00
}
}