| 1 |
.sp-smart-post-spacing.sp-box-shadow { |
| 2 |
.sp-smart-post-spacing-right { |
| 3 |
.sp-smart-post-spacing-highlight { |
| 4 |
left: 61px; |
| 5 |
} |
| 6 |
} |
| 7 |
} |
| 8 |
.sp-smart-post-spacing.sp-box-shadow { |
| 9 |
.sp-smart-post-spacing-right { |
| 10 |
.sp-smart-post-spacing-highlight { |
| 11 |
left: 61px; |
| 12 |
} |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
|
| 17 |
/* Creating raw CSS styles to replace Tailwind classes */ |
| 18 |
.shadow-selector-container { |
| 19 |
width: 100%; |
| 20 |
max-width: 32rem; |
| 21 |
margin: 20px 0px; |
| 22 |
} |
| 23 |
|
| 24 |
.shadow-selector-header { |
| 25 |
display: flex; |
| 26 |
align-items: center; |
| 27 |
justify-content: space-between; |
| 28 |
margin-bottom: 15px; |
| 29 |
} |
| 30 |
|
| 31 |
.shadow-selector-title { |
| 32 |
font-size: 13px; |
| 33 |
font-weight: 400; |
| 34 |
color: #374151; |
| 35 |
margin: 0; |
| 36 |
} |
| 37 |
|
| 38 |
.shadow-selector-actions { |
| 39 |
display: flex; |
| 40 |
align-items: center; |
| 41 |
gap: 0.5rem; |
| 42 |
} |
| 43 |
|
| 44 |
.action-button { |
| 45 |
display: flex; |
| 46 |
align-items: center; |
| 47 |
justify-content: center; |
| 48 |
width: 2rem; |
| 49 |
height: 2rem; |
| 50 |
background: transparent; |
| 51 |
border: none; |
| 52 |
padding: 0; |
| 53 |
color: #6b7280; |
| 54 |
cursor: pointer; |
| 55 |
transition: all 0.2s ease; |
| 56 |
} |
| 57 |
|
| 58 |
.action-refresh { |
| 59 |
border: none; |
| 60 |
} |
| 61 |
|
| 62 |
.action-button:hover { |
| 63 |
background-color: #f9fafb; |
| 64 |
color: #374151; |
| 65 |
} |
| 66 |
|
| 67 |
.shadow-options-grid { |
| 68 |
display: grid; |
| 69 |
grid-template-columns: repeat(6, 1fr); |
| 70 |
gap: 0.75rem; |
| 71 |
} |
| 72 |
|
| 73 |
.shadow-option { |
| 74 |
position: relative; |
| 75 |
width: 30px; |
| 76 |
height: 30px; |
| 77 |
background-color: white; |
| 78 |
border: 1px solid #e5e7eb; |
| 79 |
border-radius: 0.2rem; |
| 80 |
cursor: pointer; |
| 81 |
transition: all 0.2s ease; |
| 82 |
} |
| 83 |
|
| 84 |
.shadow-option:hover { |
| 85 |
transform: scale(1.05); |
| 86 |
} |
| 87 |
|
| 88 |
.checkmark { |
| 89 |
position: absolute; |
| 90 |
top: 0.5rem; |
| 91 |
right: 0.5rem; |
| 92 |
width: 12px; |
| 93 |
height: 12px; |
| 94 |
background-color: #3b82f6; |
| 95 |
border-radius: 50%; |
| 96 |
display: flex; |
| 97 |
align-items: center; |
| 98 |
justify-content: center; |
| 99 |
color: white; |
| 100 |
} |
| 101 |
|
| 102 |
/* WordPress Tooltip adjustments */ |
| 103 |
.components-tooltip { |
| 104 |
z-index: 1000000 !important; /* Ensure tooltip appears above other elements */ |
| 105 |
} |
| 106 |
|
| 107 |
/* Responsive adjustments */ |
| 108 |
@media (max-width: 640px) { |
| 109 |
.shadow-options-grid { |
| 110 |
grid-template-columns: repeat(3, 1fr); |
| 111 |
} |
| 112 |
|
| 113 |
.shadow-option { |
| 114 |
width: 3rem; |
| 115 |
height: 3rem; |
| 116 |
} |
| 117 |
} |
| 118 |
.shadow-selector-container { |
| 119 |
input[type="number"]="number""]::-webkit-inner-spin-button{ |
| 120 |
min-height: 33px; |
| 121 |
margin-right: 0px !important; |
| 122 |
cursor: pointer; |
| 123 |
} |
| 124 |
} |