835 lines
18 KiB
CSS
835 lines
18 KiB
CSS
/**
|
|
* WP Agentic Writer Settings V2
|
|
* Bootstrap-based settings page styles
|
|
*/
|
|
|
|
/* Container override for WordPress admin */
|
|
.wpaw-settings-v2-wrap {
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap a {
|
|
color: var(--wpaw-primary);
|
|
}
|
|
|
|
/* Card enhancements */
|
|
.wpaw-settings-v2-wrap .card {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
margin-bottom: 2rem !important;
|
|
padding-bottom: 1rem !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .card-header,
|
|
.wpaw-settings-v2-wrap .card-body {
|
|
background: transparent !important;
|
|
padding: 0 !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .card-header {
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
|
|
/* Preset cards */
|
|
.wpaw-settings-v2-wrap .preset-card {
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .preset-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .preset-card:focus {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .preset-card.border-primary {
|
|
background-color: rgba(13, 110, 253, 0.05);
|
|
}
|
|
|
|
/* Select2 Bootstrap 5 theme adjustments - Dark Theme (VSCode match) */
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-selection {
|
|
min-height: 38px;
|
|
border-color: #3c3c3c !important;
|
|
background-color: #3c3c3c !important;
|
|
color: #cccccc !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
|
|
line-height: 1.5;
|
|
color: #cccccc !important;
|
|
}
|
|
|
|
ul.select2-results__options {
|
|
padding: unset !important;
|
|
background-color: #252526 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
|
|
color: #858585 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-dropdown {
|
|
border-color: #3c3c3c !important;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
|
|
background-color: #252526 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-results__option {
|
|
color: #cccccc !important;
|
|
background-color: #252526 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-results__option--highlighted,
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-results__option:hover {
|
|
background-color: #04395e !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* ============================================
|
|
Workflow Pipeline Override for Dark Theme
|
|
============================================ */
|
|
|
|
.wpaw-settings-v2-wrap .wpaw-workflow-progress {
|
|
background: var(--wpaw-bg-secondary);
|
|
border: 1px solid var(--wpaw-border);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .wpaw-step-connector {
|
|
background: var(--wpaw-border);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .wpaw-step-message {
|
|
background: var(--wpaw-bg-tertiary);
|
|
}
|
|
|
|
/* Compact mode adjustments */
|
|
.wpaw-settings-v2-wrap .wpaw-workflow-compact {
|
|
padding: var(--wpaw-space-md);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-results__option--selected {
|
|
background-color: #37373d !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.select2-results ul {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.select2-results li {
|
|
font-family: 'Consolas', 'Courier New', monospace !important;
|
|
font-size: 13px !important;
|
|
color: white;
|
|
}
|
|
|
|
.select2-results ul::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
|
|
.select2-results ul::-webkit-scrollbar-track {
|
|
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.select2-results ul::-webkit-scrollbar-thumb {
|
|
background-color: darkgrey;
|
|
outline: 1px solid slategrey;
|
|
}
|
|
|
|
span.select2-search.select2-search--dropdown {
|
|
background: #252526 !important;
|
|
}
|
|
|
|
span.select2-search.select2-search--dropdown input {
|
|
background: #252526 !important;
|
|
border-radius: unset !important;
|
|
color: white !important;
|
|
font-family: 'Consolas', 'Courier New', monospace !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .select2-container--bootstrap-5 .select2-search__field {
|
|
background-color: #2d3e52 !important;
|
|
color: #e8eaed !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,
|
|
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
|
|
right: 1.25rem;
|
|
}
|
|
|
|
/* Form controls - Dark Theme (VSCode match) */
|
|
.wpaw-settings-v2-wrap .form-control,
|
|
.wpaw-settings-v2-wrap .form-select,
|
|
.wpaw-settings-v2-wrap input[type="text"],
|
|
.wpaw-settings-v2-wrap input[type="number"],
|
|
.wpaw-settings-v2-wrap input[type="email"],
|
|
.wpaw-settings-v2-wrap input[type="password"],
|
|
.wpaw-settings-v2-wrap input[type="date"],
|
|
.wpaw-settings-v2-wrap textarea {
|
|
background-color: #3c3c3c !important;
|
|
color: #cccccc !important;
|
|
border-color: #3c3c3c !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .form-control:focus,
|
|
.wpaw-settings-v2-wrap .form-select:focus,
|
|
.wpaw-settings-v2-wrap input:focus,
|
|
.wpaw-settings-v2-wrap textarea:focus {
|
|
border-color: #007fd4 !important;
|
|
box-shadow: 0 0 0 1px #007fd4 !important;
|
|
background-color: #3c3c3c !important;
|
|
color: #cccccc !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .form-control::placeholder,
|
|
.wpaw-settings-v2-wrap input::placeholder,
|
|
.wpaw-settings-v2-wrap textarea::placeholder {
|
|
color: #858585 !important;
|
|
opacity: 0.7 !important;
|
|
}
|
|
|
|
/* Nav pills styling - Dark Theme */
|
|
.wpaw-settings-v2-wrap .nav-pills {
|
|
border: 1px solid #17a2b8;
|
|
border-radius: .75em;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .nav-pills .nav-link {
|
|
color: #b8bcc4 !important;
|
|
border-radius: 0.5rem;
|
|
padding: 0.75rem 1.25rem;
|
|
font-weight: 500;
|
|
transition: all 0.2s ease;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .nav-pills .nav-link:hover:not(.active) {
|
|
background-color: #243447 !important;
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .nav-pills .nav-link.active {
|
|
background-color: #17a2b8 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
/* Sticky save buttons */
|
|
.wpaw-settings-v2-wrap .sticky-bottom {
|
|
z-index: 100;
|
|
}
|
|
|
|
/* Table styles - Dark Theme */
|
|
.wpaw-settings-v2-wrap .table {
|
|
margin-bottom: 0;
|
|
color: #e8eaed !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table th {
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.025em;
|
|
color: #b8bcc4 !important;
|
|
border-bottom-width: 1px;
|
|
border-color: #3a4a5e !important;
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table td {
|
|
vertical-align: middle;
|
|
color: #e8eaed !important;
|
|
border-color: #3a4a5e !important;
|
|
background-color: #243447 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table tbody tr {
|
|
background-color: #243447 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table tbody tr:hover {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table tbody tr:hover td {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table-striped tbody tr:nth-of-type(odd) {
|
|
background-color: #243447 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table-striped tbody tr:nth-of-type(odd) td {
|
|
background-color: #243447 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table-striped tbody tr:nth-of-type(even) {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .table-striped tbody tr:nth-of-type(even) td {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
/* Badge enhancements - Dark Theme */
|
|
.wpaw-settings-v2-wrap *:not(td, label)>.badge {
|
|
font-weight: 500;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .badge.bg-secondary {
|
|
background-color: #6c757d !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .badge.bg-success {
|
|
background-color: #28a745 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .badge.bg-warning {
|
|
background-color: #ffc107 !important;
|
|
color: #212529 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .badge.bg-danger {
|
|
background-color: #dc3545 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .badge.bg-info {
|
|
background-color: #17a2b8 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Custom language items */
|
|
.wpaw-settings-v2-wrap .wpaw-custom-language-item .btn {
|
|
padding: 0.375rem 0.5rem;
|
|
}
|
|
|
|
/* Cost estimate display */
|
|
.wpaw-settings-v2-wrap #wpaw-cost-estimate {
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* Toast positioning */
|
|
.wpaw-settings-v2-wrap .toast-container {
|
|
z-index: 9999;
|
|
}
|
|
|
|
/* Dashicons in buttons */
|
|
.wpaw-settings-v2-wrap .dashicons {
|
|
font-size: 1rem;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn .dashicons {
|
|
margin-top: -2px;
|
|
}
|
|
|
|
/* Filter section */
|
|
.wpaw-settings-v2-wrap #wpaw-filter-post,
|
|
.wpaw-settings-v2-wrap #wpaw-filter-date-from,
|
|
.wpaw-settings-v2-wrap #wpaw-filter-date-to {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Pagination */
|
|
.wpaw-settings-v2-wrap .pagination {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .page-link {
|
|
padding: 0.375rem 0.75rem;
|
|
}
|
|
|
|
/* Loading states */
|
|
.wpaw-settings-v2-wrap .spinner-border {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
border-width: 0.15em;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.wpaw-settings-v2-wrap .nav-pills {
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .nav-pills .nav-link {
|
|
white-space: nowrap;
|
|
padding: 0.5rem 1rem;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .preset-card {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .sticky-bottom {
|
|
position: relative !important;
|
|
bottom: auto !important;
|
|
}
|
|
}
|
|
|
|
/* WordPress admin bar offset */
|
|
@media (min-width: 601px) {
|
|
.admin-bar .wpaw-settings-v2-wrap .sticky-top {
|
|
top: 32px !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.admin-bar .wpaw-settings-v2-wrap .sticky-top {
|
|
top: 46px !important;
|
|
}
|
|
}
|
|
|
|
/* Form text helper */
|
|
.wpaw-settings-v2-wrap .form-text {
|
|
font-size: 0.8125rem;
|
|
margin: 0.375rem 0;
|
|
}
|
|
|
|
/* Alert styling */
|
|
.wpaw-settings-v2-wrap .alert {
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
|
|
/* Focus states for accessibility */
|
|
.wpaw-settings-v2-wrap .btn:focus,
|
|
.wpaw-settings-v2-wrap .nav-link:focus {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
/* Animation for cost estimate */
|
|
@keyframes pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap #wpaw-cost-estimate.updating {
|
|
animation: pulse 0.5s ease-in-out;
|
|
}
|
|
|
|
/* Customization - Dark Theme (VSCode Match) */
|
|
#wpcontent {
|
|
background-color: #1e1e1e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .container-fluid {
|
|
background: #1e1e1e !important;
|
|
}
|
|
|
|
.card {
|
|
max-width: unset;
|
|
}
|
|
|
|
/* Checkboxes and Form Switches */
|
|
.wpaw-settings-v2-wrap .form-check-input {
|
|
background-color: #2d3e52 !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .form-check-input:checked {
|
|
background-color: #17a2b8 !important;
|
|
border-color: #17a2b8 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .form-check-label {
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
/* Labels */
|
|
.wpaw-settings-v2-wrap label,
|
|
.wpaw-settings-v2-wrap .form-label {
|
|
color: #b8bcc4 !important;
|
|
}
|
|
|
|
/* Small text / help text */
|
|
.wpaw-settings-v2-wrap small,
|
|
.wpaw-settings-v2-wrap .small,
|
|
.wpaw-settings-v2-wrap .form-text {
|
|
color: #8a8f98 !important;
|
|
}
|
|
|
|
/* Headings in cards */
|
|
.wpaw-settings-v2-wrap h1,
|
|
.wpaw-settings-v2-wrap h2,
|
|
.wpaw-settings-v2-wrap h3,
|
|
.wpaw-settings-v2-wrap h4,
|
|
.wpaw-settings-v2-wrap h5,
|
|
.wpaw-settings-v2-wrap h6 {
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
/* Paragraph text */
|
|
.wpaw-settings-v2-wrap p {
|
|
color: #b8bcc4 !important;
|
|
}
|
|
|
|
/* Button text colors */
|
|
.wpaw-settings-v2-wrap .btn {
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-primary {
|
|
background-color: #17a2b8 !important;
|
|
border-color: #17a2b8 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-secondary {
|
|
background-color: #6c757d !important;
|
|
border-color: #6c757d !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-outline-primary {
|
|
color: #17a2b8 !important;
|
|
border-color: #17a2b8 !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-outline-primary:hover {
|
|
background-color: #17a2b8 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-outline-secondary {
|
|
color: #b8bcc4 !important;
|
|
border-color: #6c757d !important;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .btn-outline-secondary:hover {
|
|
background-color: #6c757d !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* List group items */
|
|
.wpaw-settings-v2-wrap .list-group-item {
|
|
background-color: #243447 !important;
|
|
color: #e8eaed !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .list-group-item:hover {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
/* Dropdown menus */
|
|
.wpaw-settings-v2-wrap .dropdown-menu {
|
|
background-color: #243447 !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .dropdown-item {
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .dropdown-item:hover {
|
|
background-color: #2d3e52 !important;
|
|
color: #17a2b8 !important;
|
|
}
|
|
|
|
/* Modal dialogs */
|
|
.wpaw-settings-v2-wrap .modal-content {
|
|
background-color: #243447 !important;
|
|
color: #e8eaed !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .modal-header {
|
|
background-color: #2d3e52 !important;
|
|
border-bottom-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .modal-footer {
|
|
background-color: #2d3e52 !important;
|
|
border-top-color: #3a4a5e !important;
|
|
}
|
|
|
|
/* Pagination */
|
|
.wpaw-settings-v2-wrap .pagination .page-link {
|
|
background-color: #243447 !important;
|
|
color: #e8eaed !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .pagination .page-link:hover {
|
|
background-color: #2d3e52 !important;
|
|
color: #17a2b8 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .pagination .page-item.active .page-link {
|
|
background-color: #17a2b8 !important;
|
|
border-color: #17a2b8 !important;
|
|
color: white !important;
|
|
}
|
|
|
|
/* Code blocks */
|
|
.wpaw-settings-v2-wrap code {
|
|
background-color: #2d3e52 !important;
|
|
color: #17a2b8 !important;
|
|
border: 1px solid #3a4a5e;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap pre {
|
|
background-color: #2d3e52 !important;
|
|
color: #e8eaed !important;
|
|
border: 1px solid #3a4a5e;
|
|
}
|
|
|
|
/* Breadcrumb */
|
|
.wpaw-settings-v2-wrap .breadcrumb {
|
|
background-color: #243447 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .breadcrumb-item {
|
|
color: #b8bcc4 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .breadcrumb-item.active {
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
/* Progress bars */
|
|
.wpaw-settings-v2-wrap .progress {
|
|
background-color: #2d3e52 !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .progress-bar {
|
|
background-color: #17a2b8 !important;
|
|
}
|
|
|
|
/* Tooltips */
|
|
.wpaw-settings-v2-wrap .tooltip-inner {
|
|
background-color: #243447 !important;
|
|
color: #e8eaed !important;
|
|
}
|
|
|
|
/* Popovers */
|
|
.wpaw-settings-v2-wrap .popover {
|
|
background-color: #243447 !important;
|
|
border-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .popover-header {
|
|
background-color: #2d3e52 !important;
|
|
color: #e8eaed !important;
|
|
border-bottom-color: #3a4a5e !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .popover-body {
|
|
color: #b8bcc4 !important;
|
|
}
|
|
|
|
/* ------------------------------------- */
|
|
/* AGENTIC IDE UI - VSCODE STYLE OVERRIDE */
|
|
/* ------------------------------------- */
|
|
|
|
/* Monospace fonts for technical inputs */
|
|
.wpaw-settings-v2-wrap input[type="text"],
|
|
.wpaw-settings-v2-wrap input[type="url"],
|
|
.wpaw-settings-v2-wrap input[type="url"],
|
|
.wpaw-settings-v2-wrap input[type="password"],
|
|
.wpaw-settings-v2-wrap select,
|
|
.wpaw-settings-v2-wrap .select2-selection__rendered,
|
|
.wpaw-settings-v2-wrap code,
|
|
.wpaw-settings-v2-wrap pre {
|
|
font-family: 'Consolas', 'Courier New', monospace !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
/* Layout Dimensions */
|
|
.wpaw-ide-container {
|
|
height: calc(100vh - 32px);
|
|
background-color: #1e1e1e;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.admin-bar .wpaw-ide-container {
|
|
height: calc(100vh - 46px);
|
|
}
|
|
}
|
|
|
|
/* VSCode Sidebar Navigation Tree */
|
|
.wpaw-sidebar-nav {
|
|
width: 260px;
|
|
background-color: #252526;
|
|
border-right: 1px solid #3c3c3c;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.wpaw-nav-tree .nav-link {
|
|
color: #cccccc !important;
|
|
border-radius: 0 !important;
|
|
padding: 0.35rem 0.75rem !important;
|
|
font-size: 13px;
|
|
border: 1px solid transparent;
|
|
margin-bottom: 2px;
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-nav-tree .nav-link:hover {
|
|
background-color: #2a2d2e !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.wpaw-nav-tree .nav-link.active {
|
|
background-color: #37373d !important;
|
|
color: #ffffff !important;
|
|
border: 1px solid #007fd4;
|
|
}
|
|
|
|
.wpaw-nav-tree .nav-link i {
|
|
width: 20px;
|
|
text-align: center;
|
|
color: #858585;
|
|
}
|
|
|
|
.wpaw-nav-tree .nav-link.active i {
|
|
color: #007fd4;
|
|
}
|
|
|
|
/* Save Bar (VSCode Status Bar style) */
|
|
.wpaw-save-bar {
|
|
background-color: #007fd4 !important;
|
|
padding: 4px 12px !important;
|
|
}
|
|
|
|
.wpaw-save-bar * {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.wpaw-save-bar .btn-primary {
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.wpaw-save-bar .btn-primary:hover {
|
|
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
|
|
.wpaw-save-bar .btn-outline-secondary {
|
|
border: none !important;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.wpaw-save-bar .btn-outline-secondary:hover {
|
|
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
}
|
|
|
|
/* Force Override Bootstrap Background Utilities */
|
|
.wpaw-settings-v2-wrap .bg-white {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .bg-light {
|
|
background-color: #252526 !important;
|
|
}
|
|
|
|
/* Force Override ALL Border Radius (User Request: "bot" style) */
|
|
.wpaw-settings-v2-wrap * {
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Fix WP Admin Container Spacing */
|
|
#wpbody-content {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
#wpcontent {
|
|
padding-left: 0 !important;
|
|
}
|
|
|
|
.wpaw-ide-container {
|
|
height: calc(100vh - 32px);
|
|
/* WP Admin height */
|
|
}
|
|
|
|
/* Ensure inputs dont look like boxes inside boxes */
|
|
.wpaw-settings-v2-wrap .form-control {
|
|
border: 1px solid #3c3c3c !important;
|
|
}
|
|
|
|
/* Fix WordPress Admin Notices overlaying our IDE layout */
|
|
.wpaw-settings-v2-wrap .notice {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
z-index: 9999;
|
|
margin: 0;
|
|
padding: 12px 20px;
|
|
background-color: var(--wpaw-bg);
|
|
border: 1px solid var(--wpaw-border);
|
|
border-left: 4px solid var(--wpaw-primary);
|
|
color: var(--wpaw-text);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
min-width: 250px;
|
|
border-radius: 4px !important;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice.notice-success {
|
|
border-left-color: var(--bs-success);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice.notice-error {
|
|
border-left-color: var(--bs-danger);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice.notice-warning {
|
|
border-left-color: var(--bs-warning);
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice.is-dismissible {
|
|
padding-right: 38px;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice .notice-dismiss {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wpaw-settings-v2-wrap .notice p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#setting-error-settings_updated {
|
|
position: fixed;
|
|
top: 40px;
|
|
}
|
|
|
|
#connection-status {
|
|
font-family: 'Consolas', 'Courier New', monospace !important;
|
|
} |