/** * Core CSS for s2Member menu pages. * * Copyright: © 2009-2011 * {@link http://websharks-inc.com/ WebSharks, Inc.} * (coded in the USA) * * Released under the terms of the GNU General Public License. * You should have received a copy of the GNU General Public License, * along with this software. In the main directory, see: /licensing/ * If not, see: {@link http://www.gnu.org/licenses/}. * * @package s2Member\Menu_Pages * @since 3.0 */ /* These CSS selectors are all specific to this software. These are for Custom Reg Field configuration. -specifically for the tools. */ div#ws-plugin--s2member-custom-reg-field-configuration-tools > a { display: block; padding: 0 0 0 20px; background: url('/add-icon.png') no-repeat center left; } div#ws-plugin--s2member-custom-reg-field-configuration-thickbox-tools-form > table { display: /* Hide until it's inside thickbox. */ none; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form { width: 95%; margin: 2.5%; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form label { color: #164A61; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form input[type = "text"], table#ws-plugin--s2member-custom-reg-field-configuration-tools-form textarea, table#ws-plugin--s2member-custom-reg-field-configuration-tools-form select { font-size: 11px; padding: 3px; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form input[type = "text"], table#ws-plugin--s2member-custom-reg-field-configuration-tools-form select { height: 2em; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form input[type = "text"], table#ws-plugin--s2member-custom-reg-field-configuration-tools-form textarea { width: 99%; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form select { width: 100%; } table#ws-plugin--s2member-custom-reg-field-configuration-tools-form select option { padding: 1px; } tr.ws-plugin--s2member-custom-reg-field-configuration-tools-form-spacer td { height: 1px; padding: 2px 0 2px 0; } /* These CSS selectors are all specific to this software. These are for Custom Reg Field configuration. -specifically for the table. */ table#ws-plugin--s2member-custom-reg-field-configuration-table { width: 100%; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: 1px solid transparent; } table#ws-plugin--s2member-custom-reg-field-configuration-table th { font-weight: bold; } table#ws-plugin--s2member-custom-reg-field-configuration-table tr.e { background-color: #EEEEEE; } table#ws-plugin--s2member-custom-reg-field-configuration-table tr.s > td { border-top: 1px solid #666666; } a.ws-plugin--s2member-custom-reg-field-configuration-move-up, a.ws-plugin--s2member-custom-reg-field-configuration-move-down, a.ws-plugin--s2member-custom-reg-field-configuration-edit, a.ws-plugin--s2member-custom-reg-field-configuration-delete { width: 16px; height: 16px; margin: 0 5px 0 5px; display: inline-block; } a.ws-plugin--s2member-custom-reg-field-configuration-move-up { background: url('/arrow-up-icon.png') no-repeat; } a.ws-plugin--s2member-custom-reg-field-configuration-move-down { background: url('/arrow-down-icon.png') no-repeat; } a.ws-plugin--s2member-custom-reg-field-configuration-edit { background: url('/edit-icon.png') no-repeat; } a.ws-plugin--s2member-custom-reg-field-configuration-delete { background: url('/delete-icon.png') no-repeat; } /* 250611 Style the wp editor for s2's HTML emails. */ .ws-menu-page-section div.mce-edit-area { border: 1px solid lightgray; border-left: 5px solid lightgray !important; } .ws-menu-page-section .wp-editor-tabs { display: flex !important; overflow: visible !important; } .ws-menu-page-section .wp-editor-tabs button { background-color: #2271b1 !important; height: auto !important; line-height: 1em !important; padding: 0.5em !important; margin-left: 0.3em !important; color: #fff !important; border: none; border-radius: 3px; } .ws-menu-page-section .mce-btn-group button { background-color: #2271b1 !important; line-height: 1em !important; padding: 0.3em !important; } .ws-menu-page-section .mce-btn-group button span.mce-txt { line-height: 1em !important; padding: 0.2em !important; } .ws-menu-page-section .mce-btn-group button i.mce-ico:before { font-family: dashicons !important; color: white !important; } .ws-menu-page-section .quicktags-toolbar input.button { background-color: #2271b1 !important; line-height: 1em !important; padding: 0.5em !important; margin: 0.2em !important; color: #fff !important; } /* Visual editor resize not working, hide resizer for now */ .mce-i-resize::before { display: none; } /*260823.0558 Operational status is label/value data; compact table rows keep values aligned while subtle separators make wrapped labels clearly part of one row. */ table.ws-plugin--s2member-status-table { width : 100%; border-collapse : collapse; margin : 0 0 15px 0; } table.ws-plugin--s2member-status-table th, table.ws-plugin--s2member-status-table td { vertical-align : top; padding : 2px 0; } table.ws-plugin--s2member-status-table th { width : 13em; padding-right : 0.75em; text-align : left; font-weight : 600; } table.ws-plugin--s2member-status-table tr + tr th, table.ws-plugin--s2member-status-table tr + tr td { border-top : 1px solid #eeeeee; } /*260823.0558 Draw status indicators with CSS instead of font-dependent emoji; the adjacent text remains authoritative when colors are unavailable or overridden. */ .ws-plugin--s2member-status-light { display : inline-block; box-sizing : border-box; width : 0.7em; height : 0.7em; margin-left : 0.35em; margin-right : 0.25em; border : 1px solid rgba(0, 0, 0, 0.2); border-radius : 50%; background : #8c8f94; } /* 260911.1806 Use brighter shared health colors so tiny status lights remain easy to distinguish across Asset Health and EOT status sections. */ .ws-plugin--s2member-status-light-healthy, .ws-plugin--s2member-status-light-processing { background : #00bb00; } .ws-plugin--s2member-status-light-catching_up, .ws-plugin--s2member-status-light-delayed { background : #fed748; } .ws-plugin--s2member-status-light-attention, .ws-plugin--s2member-status-light-retrying { background : #ff8c00; } .ws-plugin--s2member-status-light-error { background : #ee0000; } .ws-plugin--s2member-status-light-disabled { background : #8c8f94; }