�PNG  IHDR22?�� pHYs  �� OiCCPPhotoshop ICC profilexڝSgTS�=���BK���KoR RB���&*! J�!��Q�EEȠ�����Q, � ��!���������{�kּ������>���� �H3Q5� �B�������.@� $p�d!s�#�~<<+"��x� �M��0���B�\���t�8K�@z�B�@F���&S�`�cb�P-`'������{[�!�� e�Dh;��V�EX0fK�9�-0IWfH���� � 0Q��){`�##x��F�W<�+��*x��<�$9E�[-qWW.(�I+6aa�@.�y�2�4���������x����6��_-��"bb���ϫp@�t~��,/��;�m��%�h^ �u��f�@����W�p�~<�5�j>{�-�]c�K'Xt����o��(�h���w��?�G�%�fI�q^D$.Tʳ?�D��*�A��,���� �`6�B$��BB d�r`)��B(�Ͱ*`/�@4�Qh��p.�U�=p�a��(�� A�a!ڈb�X#����!�H�$ ɈQ"K�5H1R�T UH�=r9�\F��;�2����G1���Q=� �C��7�F� �dt1�����r�=�6��Ыhڏ>C�0��3�l0.��B�8, �c˱"� ���V����cϱw�E� 6wB aAHXLXN�H� $4� 7 �Q�'"��K�&���b21�XH,#��/{�C�7$�C2'��I��T��F�nR#�,��4H#���dk�9�, +ȅ����3��!�[ �b@q��S�(R�jJ��4�e�2AU��Rݨ�T5�ZB���R�Q��4u�9̓IK�����hh�i��t�ݕN��W���G���w ��Ljg(�gw��L�Ӌ�T071���oUX*�*|�� �J�&�*/T����ު U�U�T��^S}�FU3S� Ԗ�U��P�SSg�;���g�oT?�~Y��Y�L�OC�Q��_�� c�x,!k ��u�5�&���|v*�����=���9C3J3W�R�f?�q��tN �(���~���)�)�4L�1e\k����X�H�Q�G�6������E�Y��A�J'\'Gg����S�Sݧ �M=:��.�k���Dw�n��^��Lo��y���}/�T�m���G X� $� �<�5qo</���QC]�@C�a�a�ᄑ��<��F�F�i�\�$�m�mƣ&&!&KM�M�RM��)�;L;L���͢�֙5�=1�2��כ߷`ZxZ,����eI��Z�Yn�Z9Y�XUZ]�F���%ֻ�����N�N���gð�ɶ�����ۮ�m�}agbg�Ů��}�}��= ���Z~s�r:V:ޚΜ�?}����/gX���3��)�i�S��Ggg�s�󈋉K��.�>.���Ƚ�Jt�q]�z���������ۯ�6�i�ܟ�4�)�Y3s���C�Q��? ��0k߬~OCO�g��#/c/�W�װ��w��a�>�>r��>�<7�2�Y_�7��ȷ�O�o�_��C#�d�z����%g��A�[��z|!��?:�e����A���AA�������!h�쐭!��Α�i�P~���a�a��~ '���W�?�p�X�1�5w��Cs�D�D�Dޛg1O9�-J5*>�.j<�7�4�?�.fY��X�XIlK9.*�6nl������� �{�/�]py�����.,:�@L�N8��A*��%�w%� y��g"/�6ш�C\*N�H*Mz�쑼5y$�3�,幄'���L Lݛ:��v m2=:�1����qB�!M��g�g�fvˬe����n��/��k���Y- �B��TZ(�*�geWf�͉�9���+��̳�ې7�����ᒶ��KW-X潬j9�������(�x��oʿ�ܔ���Ĺd�f�f���-�[����n �ڴ �V����E�/��(ۻ��C���<��e����;?T�T�T�T6��ݵa��n��{��4���[���>ɾ�UUM�f�e�I���?�������m]�Nmq����#�׹���=TR��+�G�����w- 6 U����#pDy��� �� :�v�{���vg/jB��F�S��[b[�O�>����z�G��499�?r����C�d�&����ˮ/~�����јѡ�򗓿m|������������x31^�V���w�w��O�| (�h���SЧ��������c3-� cHRMz%������u0�`:�o�_�F5IDATx��ytUս�?�;���fN$$��@B�!�k��� -*�gE���j�O�kQ�ʠ`U�B_ �AÐ0%�Ȕ�@r3ޛ;߳��$�@��v����^�s����������$��ߢ !�W��5�̱'-٘������4�>�Rƫ$�G��0U�H}�_ _� #��k�MJ/=�9Du *ڲ�k�PQ;0��j|�*�$�^컂脛y���>�z×� B��� ��(�:$�ʔ_�6��C!B����MVx��a��ζyY����j��ƋY2�9�F�{r��r�딟F��Q��hY6��� x��[l��RC��������nt@��;P��3��� F�w��7��:�P���ɋ'���mj���Bƪ�$�Q�L��y��߷g��\���z����v5�p�v$�v櫻�`6~K �Y�X����,�:��"�o�e0II"(��,������l_�C���/4�+f�E�!q��:����u����c��樼.UE�@� �]K�W���$-�h]�JG���Dz)�`��.�A/ ���mᏣc�3jK� �!�>���$�Q�!�_�? \�C2(E �M$Z I{�U���s�ǣ���=��@Բe ޻��W�����@ �w����}�9v,)��.}*|"�s��di���,���G�]W�AC�������|<����[��ߕ������K�*�G nߴ!��‹��J�!��6(L�a)��Am��������;adf��:�xm��nh�;֦I��(���o�C~ډa?�=��s����h��E������xp����)���_���t��W�����´;8���`dz=(��@@�+,�;�`�fhl��XȌ�3,uI�~z(J����� �ZX�A����H'�À�㜦�82|��a�n�z2��I���� ���EY�h�ε<�0�q�{��C��v�˅��?"@��χ�x�WS+��N�~�KQ�J�8ل�� _.W��� !TU{�����,��"�� �;�������HI S� ��))�o�1�H�D� ���� (� ;����"Ҕ��,���� �F=���O��&�Ph>�`���y��߲ &S��P�<��'��1s�1cĂ�N����2)����@�u��tv��<�+�-&�����h��[!FSG���' � z z0��<����8d&�����E0�,��<��"!P�b4��� �{S�����X����.�囤���T��hEF��X�q0"-<����h���]�Py*����F⩍��@v�˂�Y08�� .q��a��s����(!<̫1�3�L�H��7sYW�`��qtu�\7��?�@�Y�� %Ka�x�GZ�*W�P��y�����N0r9��Z�c�%���q,��k�����!!,��>���IB��� �x1�Xu�Y���v-���ֺ��N������JP��a�2`�e5��w��u;�6�i���̃��(K���ťa��(l51��JL��O'%���]���ٖ뿉!��{*�p+f ���i8��D�ȑ���ܩ�M��V��ӟz��x�7Z�1i}�^͜���6e����x��)u�d�ˏ�V�eG�\�X1�����=n�U'�~Y����L�\,�(d!x ,�:�TW8� M`r���@��r+v�Q0��>^;˴�VbF��('����� �*O��i��j�Ӆ����^�S3&� ���{������.ی�� N;��NU%d0�Ce\r"�C�b��&t7N�7��� �ȪD�[%l�۪�$��'m?�A9tI�9>��NVL ��� 6v~M�����ъ�B���0����9$&=ώm��W�0���L���&��E���f�f��'+�9��hv��7,���M��6�D�&�^� �����8 D֮�����o��k^z��O��hP�8q�5d*��YVq3�{��������#LX4�?��jP=3�~�؅c�ݰ�̱�ұ��8̲��2�G�����j��έ�9��w7���U�X�w�85C��?!I&���o&����L���I#�^�eV�,�^t5�k� �xs˛\��U�8��."���{���ǵ�l4��ݼ�;��r"���G�/~���gJV�N糦��ZZ^k+NN�D��I$�=OE�z����|*�*{��%k���G��>�`9��b;�s���8,�qs��c��.b��q�%�>r��n�R�Ƨ�%�,�A��le#�8���}; 21�0�b�&�QX�f���q�00����$>�h�N�'�a3��A���/�r ��L5�8�GԲ'�����w;��c#�q1���h$*��V^�k��QĽ�b:i������� ����H F#�_���,��]g����Ը����`RUU���� ��"�qD���>-��ϤI�~��3�̴�����NZ[[555�eeek7�m����YF#[��Đ��R��i��L�H�r ��@��J-�Pŝ��_|�-��6y��ks�V�U~��6���w.����(��0A� 4��f��� /���C�xŊ�ٳ����z=6�����rg���mKo��o�/����a�g���?'9%9��P��斓��~���L{�� �H��{AW��B��$����v�1b�&Mb�ر��ر#�0`�`xMBp! )Z�Nmo�mZ�g�}�eذaWTVV ���'99��C5��&�&+5�bT>|8��PUUETT����&���t��~TE%��'������b�tEGG;RSS�S�N�v��ѯ��t����u1@�ޚ"f��͈���r'L�Ph��m��ƌ�74o��`�x�q�P���NRSS�X,�����l&&&��MFFA!-��`��ҷ�n��Yuu�����x<I�LB%����KԒ50�!�3�bz�����ʸKL���;---�l6[��`��������Ȏ;�����egg4��!D�T��jWujyZ��������K����%����p�^���X,6��sV=�ܖ����6�3�X ���4ҿ��A2�&����_k�;d�� �VfOIEND�B`�
Warning: session_start(): Session cannot be started after headers have already been sent in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 131

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 134

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 135

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 547

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 548

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 549

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 550

Warning: Cannot modify header information - headers already sent by (output started at /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php:1) in /home/mciraet/www/wp-includes/php-ai-client/src/Providers/Enums/Documentsoliders.php on line 551
/*------------------------------------------------------------------------------ General table styling ------------------------------------------------------------------------------*/ $white: #fff; // Grays $gray: #87a6bc; $gray-light: lighten($gray, 33%); //#f3f6f8 $gray-dark: darken($gray, 38%); //#2e4453 // $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; $gray-text-min: darken($gray, 18%); //#537994 $admin-theme-color: var(--wp-admin-theme-color); /*------------------------------------------------------------------------------ Tab navigation ------------------------------------------------------------------------------*/ .wc-helper { .nav-tab-wrapper { margin-bottom: 22px; } @media only screen and (max-width: 784px) { .nav-tab { max-width: 40%; overflow: hidden; text-overflow: ellipsis; } } } /*------------------------------------------------------------------------------ Buttons ------------------------------------------------------------------------------*/ .wc-helper { .button, .button:hover, .button:focus, .button:active { background-color: $admin-theme-color; border-width: 0; box-shadow: none; border-radius: 2px; color: #fff; height: auto; padding: 3px 14px; text-align: center; white-space: normal !important; @media only screen and (max-width: 782px) { line-height: 2; } &.button-secondary { background-color: #e6e6e6; color: #3c3c3c; text-shadow: none; } } .button:hover { opacity: 0.8; } } .wc-helper .subscription-filter { font-size: 13px; line-height: 13px; margin: 22px 0; label { display: none; position: relative; .chevron { color: #e1e1e1; border-bottom-width: 0; line-height: 1; padding: 0; position: absolute; top: 10px; right: 14px; } } li { display: inline-block; padding: 0 4px 0 8px; position: relative; &::before { background-color: #979797; content: " "; position: absolute; top: 0; left: 0; bottom: 0; width: 1px; } &:first-of-type { &::before { display: none; } } } a { text-decoration: none; &.current { color: #000; font-weight: 600; } } .count { color: #555d66; font-weight: 400; } @media only screen and (max-width: 600px) { background-color: #fff; border: 1px solid #e1e1e1; border-radius: 4px; font-size: 14px; label, li { line-height: 21px; padding: 8px 16px; margin: 0; &:last-child { border-bottom: none; } } li { border-bottom: 1px solid #e1e1e1; } label, span.chevron { display: block; } label { text-decoration: none; } li { display: none; } li { &::before { display: none; } } a { cursor: pointer; } span.chevron { color: #555; opacity: 0.5; transform: rotateX(180deg); } &:focus, &:hover { box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); label { border-bottom: 1px solid #e1e1e1; } li { display: block; } span.chevron { transform: rotateX(0deg); } } } } /*------------------------------------------------------------------------------ Subscriptions Header ------------------------------------------------------------------------------*/ .wc-helper { .subscriptions-header { margin: 3em 0 0; position: relative; z-index: 10; h2 { display: inline-block; line-height: 25px; margin: 0 0 1.5em 0; } } .button-update, .button-update:hover { background-color: #e6e6e6; 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; border: 1px solid #e1e1e1; border-radius: 4px; font-size: 12px; line-height: 26px; position: absolute; top: -10px; right: 0; transition: all 0.1s ease-in; @media only screen and (max-width: 600px) { position: relative; width: 100%; } p { line-height: 26px; margin: 0; } &:hover { box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); } header { color: #555; font-weight: 600; padding: 6px 14px; position: relative; p { padding-right: 26px; } .dashicons { opacity: 0.5; position: absolute; top: 9px; right: 14px; } &:hover { cursor: pointer; } } section { display: none; p { border-top: 1px solid #e1e1e1; padding: 6px 14px; text-align: center; } .actions { border-top: 1px solid #e1e1e1; display: flex; } a { 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 { border-right: 1px solid #e1e1e1; } &:hover { background-color: $admin-theme-color; color: #fff; } } .avatar { border: 1px solid #ece1ea; border-radius: 50%; height: auto; margin-right: 6px; width: 24px; vertical-align: bottom; } } } .user-info:hover, .user-info:focus, .user-info:active { header .dashicons { transform: rotateX(180deg); } section { display: block; } } } /*------------------------------------------------------------------------------ Subscription table ------------------------------------------------------------------------------*/ .wc-helper { .striped > tbody > :nth-child(odd), ul.striped > :nth-child(odd), .alternate { background-color: #fff; } table.widefat, .wp-editor-container, .stuffbox, p.popular-tags, .widgets-holder-wrap, .popular-tags, .feature-filter, .imgedit-group, .comment-ays { padding-top: 5px; } .widefat thead tr th, .widefat thead tr td, .widefat tfoot tr th, .widefat tfoot tr td { color: #32373c; padding-bottom: 15px; padding-top: 10px; } .widefat td { padding-bottom: 15px; padding-top: 15px; } .wp-list-table { border: 0; box-shadow: none; padding-top: 0 !important; z-index: 1; } .button { @media only screen and (max-width: 782px) { font-size: 11px; } } .wp-list-table__row { background-color: rgba(0, 0, 0, 0); td { align-items: center; background-color: #fff; border: 0; //border-top: 1px solid #e5e5e5; padding: 16px 22px; vertical-align: middle; @media only screen and (max-width: 782px) { padding: 16px; } } td.color-bar { border-left: 0; } &.is-ext-header { td { border-top: 1px solid #e1e1e1; } @media only screen and (max-width: 782px) { display: inline-flex; flex-flow: row wrap; width: 100%; .wp-list-table__ext-details { display: block; flex: 2; } .wp-list-table__ext-actions { display: block; flex: 1; min-width: 0; } } } &:last-child td { border-bottom: 24px solid #f1f1f1; box-shadow: inset 0 -1px 0 #e1e1e1; } } .wp-list-table__ext-details, .wp-list-table__ext-status, .wp-list-table__licence-container { padding-right: 22px; position: relative; width: 100%; &::before { background-color: #e1e1e1; content: " "; position: absolute; top: 0; bottom: 0; left: 0 !important; width: 1px !important; } } .wp-list-table__ext-details { display: flex; @media only screen and (max-width: 782px) { display: table; } } .wp-list-table__ext-title { color: $admin-theme-color; font-size: 18px; font-weight: 600; width: 60%; @media only screen and (max-width: 782px) { margin-bottom: 12px; width: 100%; } @media only screen and (max-width: 320px) { max-width: 120px; } } .wp-list-table__ext-description { color: #333; padding-left: 12px; width: 40%; @media only screen and (max-width: 782px) { padding-left: 0; width: 100%; } } .wp-list-table__ext-status { position: relative; &.update-available::after { background-color: #ffc322; content: " "; position: absolute; top: 0; left: 0; bottom: 0; width: 5px; } &.expired::after { background-color: #b81c23; content: " "; position: absolute; top: 0; left: 0; bottom: 0; width: 5px; } .dashicons-update { color: #ffc322; } .dashicons-info { color: #b81c23; } p { color: #333; margin: 0; } .dashicons { margin-right: 5px; } } .wp-list-table__ext-actions { min-width: 150px; position: relative; width: 25%; text-align: right; &::after { background-color: #e1e1e1; content: " "; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; } } .wp-list-table__ext-updates, .wp-list-table__ext-licence { td { position: relative; &::before { background-color: #e1e1e1; content: " "; height: 1px; position: absolute; top: 0; left: 0; right: 0; } } td.wp-list-table__ext-status, td.wp-list-table__licence-container { &::before { left: 22px !important; width: auto !important; } } td.wp-list-table__ext-actions::before { right: 22px; } @media only screen and (max-width: 782px) { display: flex; .wp-list-table__ext-status { flex: 2; &::before { left: 0 !important; width: 100% !important; } } .wp-list-table__ext-actions { flex: 1; min-width: 0; &::before { left: 0 !important; right: 0 !important; width: 100% !important; } } } } .wp-list-table__licence-container { padding: 0 !important; &::after { background-color: #e1e1e1; content: " "; position: absolute; top: 0; bottom: 0; right: 0; width: 1px; } } .wp-list-table__licence-form { display: flex; padding: 16px 22px; @media only screen and (max-width: 782px) { display: block; } &::before { background-color: #e1e1e1; content: " "; height: 1px; position: absolute; top: 0; right: 22px; left: 22px; @media only screen and (max-width: 782px) { right: 0; left: 0; } } div { padding-right: 16px; vertical-align: middle; @media only screen and (max-width: 782px) { padding: 0; } } p { margin: 0 !important; } } .wp-list-table__licence-label { label { color: #23282d; font-weight: 600; line-height: 30px; } } .wp-list-table__licence-field { input { height: 32px; @media only screen and (max-width: 480px) { width: 100%; } } @media only screen and (max-width: 782px) { padding: 8px 0 16px !important; } } .wp-list-table__licence-actions { flex-grow: 2; padding-right: 0 !important; .button { margin-right: 8px; } .button-secondary { float: right; margin: 0 0 0 8px; } @media only screen and (max-width: 480px) { text-align: right; } } } /*------------------------------------------------------------------------------ Expired notification bar ------------------------------------------------------------------------------*/ .wc-helper { td.color-bar { border-left: solid 4px transparent; } td.color-bar.expired { border-left-color: #b81c23; } td.color-bar.expiring { border-left-color: orange; } td.color-bar.update-available { border-left-color: #8fae1b; } td.color-bar.expiring.update-available { border-left-color: #8fae1b; } } /*------------------------------------------------------------------------------ Connected account table ------------------------------------------------------------------------------*/ .wc-helper { .connect-wrapper { background-color: #fff; border: 1px solid #e5e5e5; margin-bottom: 25px; overflow: auto; } .connected { display: flex; .user-info { display: flex; padding: 20px; width: 100%; vertical-align: middle; } img { border: 1px solid #e5e5e5; height: 34px; width: 34px; } .buttons { padding: 20px; white-space: nowrap; } p { flex: 2; margin: 10px 0 0 20px; } .chevron { display: none; &:hover { color: $admin-theme-color; cursor: pointer; } } @media only screen and (max-width: 784px) { display: block; strong { display: block; overflow: hidden; text-overflow: ellipsis; } p { margin: 0; overflow: hidden; text-overflow: ellipsis; width: 80%; } .user-info { padding-right: 0; width: auto; } .avatar { margin-right: 12px; } .chevron { color: #e1e1e1; display: block; margin: 10px; transform: rotateX(0deg); } .buttons { display: none; border-top: 1px solid #e1e1e1; padding: 10px 20px; &.active { display: block; } } } } } /*------------------------------------------------------------------------------ Initial connection screen ------------------------------------------------------------------------------*/ .wc-helper { .start-container { background-color: #fff; border-left: 4px solid $admin-theme-color; padding: 45px 20px 20px 30px; position: relative; overflow: hidden; h2, p { max-width: 800px; } } .start-container::before { color: #e9e9e9; content: "\e01C"; display: block; font-family: WooCommerce; font-size: 192px; line-height: 1; position: absolute; top: 65%; right: -3%; text-align: center; width: 1em; } .start-container h2 { font-size: 24px; line-height: 29px; position: relative; } .start-container p { font-size: 16px; margin-bottom: 30px; position: relative; } .button-helper-connect { height: 37px; line-height: 37px; min-width: 124px; padding: 0 13px; text-shadow: none; &:hover, &:active, &:focus { padding: 0 13px; } } } // ========================================================================== // FormToggle // ========================================================================== .form-toggle__wrapper { position: relative; label { cursor: default; } } .form-toggle { cursor: pointer; display: block; position: absolute; top: 0; bottom: -1px; left: 0; right: 0; text-align: left; text-indent: -100000px; z-index: 2; &:focus { box-shadow: none; } &.disabled { cursor: default; } } .form-toggle__switch { align-self: flex-start; background: #999; border-radius: 12px; box-sizing: border-box; display: inline-block; padding: 2px; outline: 0; position: relative; width: 40px; height: 24px; transition: all 0.4s ease, box-shadow 0s; vertical-align: middle; &::before, &::after { content: ""; display: block; position: relative; width: 20px; height: 20px; } &::after { border-radius: 50%; background: $white; left: 0; transition: all 0.2s ease; } &::before { display: none; } .accessible-focus &:focus { box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 2px) $admin-theme-color; } } .form-toggle__label { vertical-align: bottom; z-index: 1; .form-toggle__label-content { color: $gray-dark; flex: 0 1 100%; font-size: 13px; line-height: 16px; margin-left: 12px; margin-right: 8px; vertical-align: top; text-transform: uppercase; @media only screen and (max-width: 480px) { display: none; } } } .form-toggle { .accessible-focus &:focus { + .form-toggle__label .form-toggle__switch { box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 2px) $admin-theme-color; } &:checked + .form-toggle__label .form-toggle__switch { box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 2px) $admin-theme-color; } } & + .form-toggle__label .form-toggle__switch { background: #999; } &:not(:disabled) { + .form-toggle__label:hover .form-toggle__switch { background: #999; } } &.active { + .form-toggle__label .form-toggle__switch { background: $admin-theme-color; &::after { left: 8px; } } + .form-toggle__label:hover .form-toggle__switch { background: $admin-theme-color; } } &.disabled { + 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 { + .form-toggle__label .form-toggle__switch { background: $admin-theme-color; } &:checked { + .form-toggle__label .form-toggle__switch { background: #999; } } } .form-toggle.is-compact { + .form-toggle__label .form-toggle__switch { border-radius: 8px; width: 24px; height: 16px; &::before, &::after { height: 12px; width: 12px; } } &:checked { + .form-toggle__label .form-toggle__switch { &::after { left: 8px; } } } }