2017-04-21 12:05:44 +00:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
General table styling
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
$white: #fff;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
|
|
|
// Grays
|
|
|
|
$gray: #87a6bc;
|
2019-02-18 11:41:05 +00:00
|
|
|
$gray-light: lighten($gray, 33%); //#f3f6f8
|
|
|
|
$gray-dark: darken($gray, 38%); //#2e4453
|
2017-05-30 17:50:14 +00:00
|
|
|
|
|
|
|
// $gray-text: ideal for standard, non placeholder text
|
|
|
|
// $gray-text-min: minimum contrast needed for WCAG 2.0 AA on white background
|
|
|
|
$gray-text: $gray-dark;
|
2019-02-18 11:41:05 +00:00
|
|
|
$gray-text-min: darken($gray, 18%); //#537994
|
2017-05-30 17:50:14 +00:00
|
|
|
|
|
|
|
$woo_pink1: #955a89;
|
|
|
|
$woo_pink2: #bb77ae;
|
|
|
|
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
$color_text_blue: #0073aa;
|
2017-05-30 17:50:14 +00:00
|
|
|
$color_button_primary: $woo_pink1;
|
|
|
|
$color_button_secondary: $woo_pink2;
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Tab navigation
|
|
|
|
------------------------------------------------------------------------------*/
|
2017-06-14 13:12:53 +00:00
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.nav-tab-wrapper {
|
2017-05-30 17:50:14 +00:00
|
|
|
margin-bottom: 22px;
|
|
|
|
}
|
2017-08-29 09:53:48 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 784px) {
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.nav-tab {
|
2017-05-30 17:50:14 +00:00
|
|
|
max-width: 40%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Buttons
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
|
|
|
.button,
|
|
|
|
.button:hover,
|
|
|
|
.button:focus,
|
|
|
|
.button:active {
|
2017-05-30 17:50:14 +00:00
|
|
|
background-color: $color_button_primary;
|
|
|
|
border-width: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
color: #fff;
|
|
|
|
height: auto;
|
|
|
|
padding: 3px 14px;
|
|
|
|
text-align: center;
|
|
|
|
white-space: normal !important;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
line-height: 2;
|
|
|
|
}
|
2017-06-23 08:31:31 +00:00
|
|
|
|
|
|
|
&.button-secondary {
|
|
|
|
background-color: #e6e6e6;
|
|
|
|
color: #3c3c3c;
|
|
|
|
text-shadow: none;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
2017-06-23 08:31:31 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.button:hover {
|
2017-05-30 17:50:14 +00:00
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wc-helper .subscription-filter {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #2e4453;
|
2017-05-30 17:50:14 +00:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 13px;
|
|
|
|
margin: 22px 0;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
label {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.chevron {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
border-bottom-width: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
line-height: 1;
|
2017-06-14 13:12:53 +00:00
|
|
|
padding: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 10px;
|
|
|
|
right: 14px;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
li {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #0073aa;
|
2017-05-30 17:50:14 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0 4px 0 8px;
|
2017-06-14 13:12:53 +00:00
|
|
|
position: relative;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before {
|
2017-05-30 17:50:14 +00:00
|
|
|
background-color: #979797;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 1px;
|
|
|
|
}
|
2017-08-29 09:11:23 +00:00
|
|
|
|
|
|
|
&:first-of-type {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
a {
|
|
|
|
color: #0073aa;
|
2017-08-29 09:11:23 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
&.current {
|
2017-08-29 09:11:23 +00:00
|
|
|
color: #000;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
.count {
|
2017-08-29 09:11:23 +00:00
|
|
|
color: #555d66;
|
|
|
|
font-weight: 400;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 600px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
background-color: #fff;
|
2019-02-18 11:41:05 +00:00
|
|
|
border: 1px solid #e1e1e1;
|
2017-08-29 09:11:23 +00:00
|
|
|
border-radius: 4px;
|
2017-05-30 17:50:14 +00:00
|
|
|
font-size: 14px;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
label,
|
2017-08-29 09:11:23 +00:00
|
|
|
li {
|
|
|
|
line-height: 21px;
|
2017-05-30 17:50:14 +00:00
|
|
|
padding: 8px 16px;
|
|
|
|
margin: 0;
|
2017-08-29 09:11:23 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-bottom: 1px solid #e1e1e1;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
label,
|
|
|
|
span.chevron {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-09-05 16:33:10 +00:00
|
|
|
label {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-09-05 16:33:10 +00:00
|
|
|
li {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&::before {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
a {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
span.chevron {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #555;
|
2017-08-29 09:11:23 +00:00
|
|
|
opacity: 0.5;
|
|
|
|
transform: rotateX(180deg);
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2017-08-29 09:11:23 +00:00
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
|
|
|
|
2017-09-05 16:33:10 +00:00
|
|
|
label {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-bottom: 1px solid #e1e1e1;
|
2017-08-29 09:11:23 +00:00
|
|
|
}
|
|
|
|
|
2017-09-05 16:33:10 +00:00
|
|
|
li {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
span.chevron {
|
2017-05-30 17:50:14 +00:00
|
|
|
transform: rotateX(0deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Subscriptons Header
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.subscriptions-header {
|
|
|
|
margin: 3em 0 0;
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 25px;
|
|
|
|
margin: 0 0 1.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
|
|
|
.button-update,
|
|
|
|
.button-update:hover {
|
|
|
|
background-color: #e6e6e6;
|
2017-06-14 13:12:53 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
color: #333;
|
|
|
|
font-weight: 800;
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-left: 6px;
|
|
|
|
opacity: 0.75;
|
|
|
|
padding: 3px 7px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
|
|
.dashicons {
|
|
|
|
font-size: 12px;
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-update:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-info {
|
|
|
|
background-color: #fff;
|
2019-02-18 11:41:05 +00:00
|
|
|
border: 1px solid #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 26px;
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: -10px;
|
|
|
|
right: 0;
|
|
|
|
transition: all 0.1s ease-in;
|
2017-06-14 13:12:53 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 600px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: 26px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-02-18 11:41:05 +00:00
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
|
2017-06-14 13:12:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #555;
|
2017-06-14 13:12:53 +00:00
|
|
|
font-weight: 600;
|
|
|
|
padding: 6px 14px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
p {
|
|
|
|
padding-right: 26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dashicons {
|
|
|
|
opacity: 0.5;
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 9px;
|
|
|
|
right: 14px;
|
2017-06-14 13:12:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
p {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-top: 1px solid #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
padding: 6px 14px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-top: 1px solid #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #a26897;
|
2017-06-14 13:12:53 +00:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 38px;
|
|
|
|
padding: 0 14px;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
.dashicons {
|
|
|
|
margin-top: -3px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-right: 1px solid #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #a26897;
|
2017-06-14 13:12:53 +00:00
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
2019-02-18 11:41:05 +00:00
|
|
|
border: 1px solid #ece1ea;
|
2017-06-14 13:12:53 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
height: auto;
|
|
|
|
margin-right: 6px;
|
|
|
|
width: 24px;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-info:hover,
|
|
|
|
.user-info:focus,
|
|
|
|
.user-info:active {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
header .dashicons {
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
section {
|
2019-02-18 11:41:05 +00:00
|
|
|
display: block;
|
2017-06-14 13:12:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Subscripton table
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
.striped > tbody > :nth-child(odd),
|
|
|
|
ul.striped > :nth-child(odd),
|
|
|
|
.alternate {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #fff;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
2017-04-26 13:03:03 +00:00
|
|
|
table.widefat,
|
|
|
|
.wp-editor-container,
|
|
|
|
.stuffbox,
|
|
|
|
p.popular-tags,
|
|
|
|
.widgets-holder-wrap,
|
|
|
|
.popular-tags,
|
|
|
|
.feature-filter,
|
|
|
|
.imgedit-group,
|
|
|
|
.comment-ays {
|
2017-04-21 12:05:44 +00:00
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
2017-04-26 13:03:03 +00:00
|
|
|
.widefat thead tr th,
|
|
|
|
.widefat thead tr td,
|
|
|
|
.widefat tfoot tr th,
|
|
|
|
.widefat tfoot tr td {
|
2017-04-21 12:05:44 +00:00
|
|
|
color: #32373c;
|
|
|
|
padding-bottom: 15px;
|
2017-06-14 13:12:53 +00:00
|
|
|
padding-top: 10px;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.widefat td {
|
|
|
|
padding-bottom: 15px;
|
2017-06-14 13:12:53 +00:00
|
|
|
padding-top: 15px;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table {
|
2017-05-30 17:50:14 +00:00
|
|
|
border: 0;
|
2017-06-14 13:12:53 +00:00
|
|
|
box-shadow: none;
|
|
|
|
padding-top: 0 !important;
|
|
|
|
z-index: 1;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.button {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__row {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0);
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
td {
|
|
|
|
align-items: center;
|
2017-05-30 17:50:14 +00:00
|
|
|
background-color: #fff;
|
2019-02-18 11:41:05 +00:00
|
|
|
border: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
//border-top: 1px solid #e5e5e5;
|
|
|
|
padding: 16px 22px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
padding: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
td.color-bar {
|
2017-05-30 17:50:14 +00:00
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&.is-ext-header {
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
td {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-top: 1px solid #e1e1e1;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: inline-flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
width: 100%;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-details {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
2017-06-14 13:12:53 +00:00
|
|
|
flex: 2;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-actions {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&:last-child td {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-bottom: 24px solid #f1f1f1;
|
|
|
|
box-shadow: inset 0 -1px 0 #e1e1e1;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table__ext-details,
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-status,
|
|
|
|
.wp-list-table__licence-container {
|
2017-05-30 17:50:14 +00:00
|
|
|
padding-right: 22px;
|
2017-06-14 13:12:53 +00:00
|
|
|
position: relative;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 100%;
|
2017-06-14 13:12:53 +00:00
|
|
|
|
|
|
|
&::before {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0 !important;
|
2017-06-14 13:12:53 +00:00
|
|
|
width: 1px !important;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-details {
|
2019-02-18 11:41:05 +00:00
|
|
|
display: flex;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
|
|
|
display: table;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-title {
|
2017-05-30 17:50:14 +00:00
|
|
|
color: $color_text_blue;
|
|
|
|
font-size: 18px;
|
2017-08-29 09:11:23 +00:00
|
|
|
font-weight: 600;
|
2019-02-18 11:41:05 +00:00
|
|
|
width: 60%;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
margin-bottom: 12px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-06-14 13:12:53 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 320px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
max-width: 120px;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
.wp-list-table__ext-description {
|
|
|
|
color: #333;
|
2017-06-01 12:14:38 +00:00
|
|
|
padding-left: 12px;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 40%;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-06-01 12:14:38 +00:00
|
|
|
padding-left: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
.wp-list-table__ext-status {
|
|
|
|
position: relative;
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&.update-available::after {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #ffc322;
|
2017-05-30 17:50:14 +00:00
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 5px;
|
|
|
|
}
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&.expired::after {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #b81c23;
|
2017-05-30 17:50:14 +00:00
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 5px;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.dashicons-update {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #ffc322;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.dashicons-info {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #b81c23;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
p {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #333;
|
2017-05-30 17:50:14 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.dashicons {
|
2017-05-30 17:50:14 +00:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-actions {
|
2017-05-30 17:50:14 +00:00
|
|
|
min-width: 150px;
|
2017-06-14 13:12:53 +00:00
|
|
|
position: relative;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 25%;
|
|
|
|
text-align: right;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&::after {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2017-06-14 13:12:53 +00:00
|
|
|
width: 1px;
|
|
|
|
}
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-updates,
|
|
|
|
.wp-list-table__ext-licence {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
td {
|
2017-05-30 17:50:14 +00:00
|
|
|
position: relative;
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #e1e1e1;
|
2017-05-30 17:50:14 +00:00
|
|
|
content: " ";
|
2017-06-14 13:12:53 +00:00
|
|
|
height: 1px;
|
2017-05-30 17:50:14 +00:00
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
td.wp-list-table__ext-status,
|
|
|
|
td.wp-list-table__licence-container {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before {
|
2017-06-14 13:12:53 +00:00
|
|
|
left: 22px !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
td.wp-list-table__ext-actions::before {
|
2017-05-30 17:50:14 +00:00
|
|
|
right: 22px;
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: flex;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-status {
|
2017-05-30 17:50:14 +00:00
|
|
|
flex: 2;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&::before {
|
2017-05-30 17:50:14 +00:00
|
|
|
left: 0 !important;
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__ext-actions {
|
2017-05-30 17:50:14 +00:00
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&::before {
|
2019-02-18 11:41:05 +00:00
|
|
|
left: 0 !important;
|
|
|
|
right: 0 !important;
|
|
|
|
width: 100% !important;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.wp-list-table__licence-container {
|
|
|
|
padding: 0 !important;
|
|
|
|
|
|
|
|
&::after {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #e1e1e1;
|
|
|
|
content: " ";
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 1px;
|
2017-06-14 13:12:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table__licence-form {
|
|
|
|
display: flex;
|
|
|
|
padding: 16px 22px;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #e1e1e1;
|
|
|
|
content: " ";
|
2017-06-14 13:12:53 +00:00
|
|
|
height: 1px;
|
2019-02-18 11:41:05 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 22px;
|
|
|
|
left: 22px;
|
2017-06-14 13:12:53 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
padding-right: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table__licence-label {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
label {
|
|
|
|
color: #23282d;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table__licence-field {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
input {
|
|
|
|
height: 32px;
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 480px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 782px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
padding: 8px 0 16px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.wp-list-table__licence-actions {
|
|
|
|
flex-grow: 2;
|
|
|
|
padding-right: 0 !important;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.button-secondary {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 0 8px;
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 480px) {
|
2017-06-14 13:12:53 +00:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Expired notification bar
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
td.color-bar {
|
|
|
|
border-left: solid 4px transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.color-bar.expired {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-left-color: #b81c23;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.color-bar.expiring {
|
|
|
|
border-left-color: orange;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.color-bar.update-available {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-left-color: #8fae1b;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td.color-bar.expiring.update-available {
|
2019-02-18 11:41:05 +00:00
|
|
|
border-left-color: #8fae1b;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Connected account table
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
.connect-wrapper {
|
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid #e5e5e5;
|
2017-06-14 13:12:53 +00:00
|
|
|
margin-bottom: 25px;
|
2017-05-30 17:50:14 +00:00
|
|
|
overflow: auto;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.connected {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: flex;
|
2017-04-21 12:05:44 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.user-info {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: flex;
|
|
|
|
padding: 20px;
|
|
|
|
width: 100%;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
img {
|
|
|
|
border: 1px solid #e5e5e5;
|
|
|
|
height: 34px;
|
|
|
|
width: 34px;
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.buttons {
|
2017-05-30 17:50:14 +00:00
|
|
|
padding: 20px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
flex: 2;
|
|
|
|
margin: 10px 0 0 20px;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.chevron {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&:hover {
|
2017-05-30 17:50:14 +00:00
|
|
|
color: $woo_pink1;
|
2017-06-14 13:12:53 +00:00
|
|
|
cursor: pointer;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 784px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
strong {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
p {
|
2017-05-30 17:50:14 +00:00
|
|
|
margin: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.user-info {
|
2017-05-30 17:50:14 +00:00
|
|
|
padding-right: 0;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.avatar {
|
2017-05-30 17:50:14 +00:00
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.chevron {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #e1e1e1;
|
2017-06-14 13:12:53 +00:00
|
|
|
display: block;
|
2017-05-30 17:50:14 +00:00
|
|
|
margin: 10px;
|
|
|
|
transform: rotateX(0deg);
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.buttons {
|
|
|
|
display: none;
|
2019-02-18 11:41:05 +00:00
|
|
|
border-top: 1px solid #e1e1e1;
|
2017-05-30 17:50:14 +00:00
|
|
|
padding: 10px 20px;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&.active {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------
|
|
|
|
Initial connection screen
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.wc-helper {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-04-21 12:05:44 +00:00
|
|
|
.start-container {
|
2019-02-18 11:41:05 +00:00
|
|
|
background-color: #fff;
|
2017-06-14 13:12:53 +00:00
|
|
|
border-left: 4px solid #cc99c2;
|
2017-04-21 12:05:44 +00:00
|
|
|
padding: 45px 20px 20px 30px;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
2017-06-23 08:31:31 +00:00
|
|
|
|
2017-06-23 11:47:30 +00:00
|
|
|
h2,
|
|
|
|
p {
|
2017-06-23 08:31:31 +00:00
|
|
|
max-width: 800px;
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.start-container::before {
|
|
|
|
color: #eee2ec;
|
2017-06-14 13:12:53 +00:00
|
|
|
content: "\e01C";
|
2017-04-21 12:05:44 +00:00
|
|
|
display: block;
|
2017-06-14 13:12:53 +00:00
|
|
|
font-family: WooCommerce;
|
2017-04-21 12:05:44 +00:00
|
|
|
font-size: 192px;
|
2017-06-14 13:12:53 +00:00
|
|
|
line-height: 1;
|
2017-04-21 12:05:44 +00:00
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 65%;
|
|
|
|
right: -3%;
|
2017-06-14 13:12:53 +00:00
|
|
|
text-align: center;
|
|
|
|
width: 1em;
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.start-container h2 {
|
|
|
|
font-size: 24px;
|
|
|
|
line-height: 29px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.start-container p {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-01-03 14:41:09 +00:00
|
|
|
.button-helper-connect {
|
2017-06-23 08:31:31 +00:00
|
|
|
height: 37px;
|
|
|
|
line-height: 37px;
|
|
|
|
min-width: 124px;
|
|
|
|
padding: 0 13px;
|
2017-09-27 10:09:57 +00:00
|
|
|
text-shadow: none;
|
2017-04-21 12:05:44 +00:00
|
|
|
|
2017-06-23 11:47:30 +00:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-06-23 08:31:31 +00:00
|
|
|
padding: 0 13px;
|
|
|
|
}
|
2017-04-21 12:05:44 +00:00
|
|
|
}
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ==========================================================================
|
|
|
|
// FormToggle
|
|
|
|
// ==========================================================================
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.form-toggle__wrapper {
|
2017-06-01 12:14:38 +00:00
|
|
|
position: relative;
|
2017-06-02 10:23:54 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
label {
|
2017-06-02 10:23:54 +00:00
|
|
|
cursor: default;
|
|
|
|
}
|
2017-06-01 12:14:38 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
.form-toggle {
|
2017-06-01 12:14:38 +00:00
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2019-02-18 11:41:05 +00:00
|
|
|
top: 0;
|
|
|
|
bottom: -1px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2017-06-01 12:14:38 +00:00
|
|
|
text-align: left;
|
|
|
|
text-indent: -100000px;
|
|
|
|
z-index: 2;
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&:focus {
|
2017-06-01 12:14:38 +00:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
2017-06-02 10:23:54 +00:00
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&.disabled {
|
2017-06-02 10:23:54 +00:00
|
|
|
cursor: default;
|
|
|
|
}
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-toggle__switch {
|
2017-06-14 13:12:53 +00:00
|
|
|
align-self: flex-start;
|
2019-02-18 11:41:05 +00:00
|
|
|
background: lighten($gray, 20%);
|
2017-05-30 17:50:14 +00:00
|
|
|
border-radius: 12px;
|
|
|
|
box-sizing: border-box;
|
2017-06-14 13:12:53 +00:00
|
|
|
display: inline-block;
|
2017-05-30 17:50:14 +00:00
|
|
|
padding: 2px;
|
2017-06-14 13:12:53 +00:00
|
|
|
outline: 0;
|
|
|
|
position: relative;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 40px;
|
|
|
|
height: 24px;
|
2019-02-18 11:41:05 +00:00
|
|
|
transition: all 0.4s ease, box-shadow 0s;
|
2017-06-14 13:12:53 +00:00
|
|
|
vertical-align: middle;
|
2017-06-01 12:14:38 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2017-05-30 17:50:14 +00:00
|
|
|
content: "";
|
2017-06-14 13:12:53 +00:00
|
|
|
display: block;
|
|
|
|
position: relative;
|
2017-05-30 17:50:14 +00:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
2017-06-14 13:12:53 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::after {
|
2017-05-30 17:50:14 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
background: $white;
|
2017-06-14 13:12:53 +00:00
|
|
|
left: 0;
|
2019-02-18 11:41:05 +00:00
|
|
|
transition: all 0.2s ease;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
2017-06-14 13:12:53 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2017-06-14 13:12:53 +00:00
|
|
|
|
|
|
|
.accessible-focus &:focus {
|
2017-05-30 17:50:14 +00:00
|
|
|
box-shadow: 0 0 0 2px $woo_pink1;
|
|
|
|
}
|
2017-06-01 12:14:38 +00:00
|
|
|
|
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-toggle__label {
|
2017-06-01 12:14:38 +00:00
|
|
|
vertical-align: bottom;
|
|
|
|
z-index: 1;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
|
|
|
.form-toggle__label-content {
|
2019-02-18 11:41:05 +00:00
|
|
|
color: #87a6bc;
|
2017-06-14 13:12:53 +00:00
|
|
|
flex: 0 1 100%;
|
2019-02-18 11:41:05 +00:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 16px;
|
2017-06-14 13:12:53 +00:00
|
|
|
margin-left: 12px;
|
2019-02-18 11:41:05 +00:00
|
|
|
margin-right: 8px;
|
|
|
|
vertical-align: top;
|
|
|
|
text-transform: uppercase;
|
2017-05-30 17:50:14 +00:00
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
@media only screen and (max-width: 480px) {
|
2017-05-30 17:50:14 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-toggle {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
.accessible-focus &:focus {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
|
|
|
box-shadow: 0 0 0 2px $woo_pink1;
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
&:checked + .form-toggle__label .form-toggle__switch {
|
|
|
|
box-shadow: 0 0 0 2px $woo_pink2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& + .form-toggle__label .form-toggle__switch {
|
2019-02-18 11:41:05 +00:00
|
|
|
background: lighten($gray, 10%);
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
|
2019-02-18 11:41:05 +00:00
|
|
|
&:not(:disabled) {
|
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label:hover .form-toggle__switch {
|
2019-02-18 11:41:05 +00:00
|
|
|
background: lighten($gray, 20%);
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 13:12:53 +00:00
|
|
|
&.active {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
|
|
|
background: $woo_pink1;
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::after {
|
2017-06-01 12:14:38 +00:00
|
|
|
left: 8px;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
+ .form-toggle__label:hover .form-toggle__switch {
|
|
|
|
background: $woo_pink2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-01 12:14:38 +00:00
|
|
|
&.disabled {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ label.form-toggle__label span.form-toggle__switch {
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Classes for toggle state before action is complete (updating plugin or something)
|
|
|
|
.form-toggle.is-toggling {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
|
|
|
background: $woo_pink1;
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
&:checked {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
2019-02-18 11:41:05 +00:00
|
|
|
background: lighten($gray, 20%);
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-toggle.is-compact {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
|
|
|
border-radius: 8px;
|
|
|
|
width: 24px;
|
|
|
|
height: 16px;
|
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2017-05-30 17:50:14 +00:00
|
|
|
height: 12px;
|
2017-06-14 13:12:53 +00:00
|
|
|
width: 12px;
|
2017-05-30 17:50:14 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
&:checked {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-05-30 17:50:14 +00:00
|
|
|
+ .form-toggle__label .form-toggle__switch {
|
2019-02-18 11:41:05 +00:00
|
|
|
|
2017-08-29 09:11:23 +00:00
|
|
|
&::after {
|
2017-05-30 17:50:14 +00:00
|
|
|
left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|