|
| 1 | +#nfd-design-studio .interface-complementary-area__pin-unpin-item { |
| 2 | + display: none; |
| 3 | +} |
| 4 | + |
| 5 | +.nfd-design-studio-logo-wrapper:hover .nfd-design-studio-logo-overlay { |
| 6 | + opacity: 1; |
| 7 | +} |
| 8 | + |
| 9 | +.nfd-design-studio-logo-overlay { |
| 10 | + position: absolute; |
| 11 | + top: 0; |
| 12 | + right: 0; |
| 13 | + left: 0; |
| 14 | + bottom: 0; |
| 15 | + background-color: rgba( 0, 0, 0, 0.5 ); |
| 16 | + display: flex; |
| 17 | + justify-content: center; |
| 18 | + align-items: center; |
| 19 | + opacity: 0; |
| 20 | + transition: opacity 0.2s ease-in-out; |
| 21 | + border-radius: 4px; |
| 22 | +} |
| 23 | + |
| 24 | +.nfd-design-studio-logo-container { |
| 25 | + position: relative; |
| 26 | + min-height: 120px; |
| 27 | + display: flex; |
| 28 | + justify-content: center; |
| 29 | + align-items: center; |
| 30 | + border: 1px solid #ddd; |
| 31 | + border-radius: 4px; |
| 32 | + padding: 20px; |
| 33 | + margin-bottom: 16px; |
| 34 | + background: #f0f0f0; |
| 35 | +} |
| 36 | + |
| 37 | +.nfd-design-studio-logo-preview { |
| 38 | + max-width: 100%; |
| 39 | + max-height: 200px; |
| 40 | + display: block; |
| 41 | +} |
| 42 | + |
| 43 | +.nfd-design-studio-logo-info { |
| 44 | + font-size: 12px; |
| 45 | + color: #757575; |
| 46 | +} |
| 47 | + |
| 48 | +.nfd-design-studio-logo-dimensions { |
| 49 | + color: #949494; |
| 50 | +} |
| 51 | + |
| 52 | +.components-placeholder.nfd-design-studio-logo-placeholder { |
| 53 | + box-shadow: none; |
| 54 | + padding: 0; |
| 55 | +} |
| 56 | + |
| 57 | +.nfd-design-studio-header-description { |
| 58 | + font-size: 12px; |
| 59 | + color: #757575; |
| 60 | + padding: 0 16px; |
| 61 | +} |
| 62 | + |
| 63 | +.nfd-color-palette-wrapper { |
| 64 | + padding: 8px 0; |
| 65 | +} |
| 66 | + |
| 67 | +.nfd-design-studio-sidebar__section { |
| 68 | + border-top: 1px solid #e0e0e0; |
| 69 | + padding: 16px 16px; |
| 70 | +} |
| 71 | + |
| 72 | +.nfd-design-studio-color-swatch { |
| 73 | + width: 30px; |
| 74 | + height: 30px; |
| 75 | + border-radius: 50%; |
| 76 | + border: 1px solid #ccc; |
| 77 | + padding: 0; |
| 78 | + min-width: auto; |
| 79 | + transition: transform 0.15s ease-in-out; |
| 80 | +} |
| 81 | + |
| 82 | +.nfd-design-studio-custom-palette-toggle { |
| 83 | + margin-bottom: 1.5rem !important; |
| 84 | +} |
| 85 | + |
| 86 | +/* Color Palette Pagination */ |
| 87 | + |
| 88 | +.nfd-design-studio-color-palette-pagination { |
| 89 | + padding: 8px 0; |
| 90 | +} |
| 91 | + |
| 92 | +.nfd-design-studio-color-palette-nav-button { |
| 93 | + min-width: 32px !important; |
| 94 | + height: 32px !important; |
| 95 | + padding: 0 !important; |
| 96 | + display: flex !important; |
| 97 | + align-items: center !important; |
| 98 | + justify-content: center !important; |
| 99 | + border: 1px solid var( --nfd-onboarding-border-color ) !important; |
| 100 | + border-radius: 4px !important; |
| 101 | +} |
| 102 | + |
| 103 | +.nfd-design-studio-color-palette-nav-button:hover:not( :disabled ) { |
| 104 | + border-color: var( --nfd-onboarding-primary ) !important; |
| 105 | + color: var( --nfd-onboarding-primary ) !important; |
| 106 | +} |
| 107 | + |
| 108 | +.nfd-design-studio-color-palette-nav-button:disabled { |
| 109 | + opacity: 0.5; |
| 110 | + cursor: not-allowed; |
| 111 | +} |
| 112 | + |
| 113 | +.nfd-design-studio-color-palette-page-info { |
| 114 | + min-width: 48px; |
| 115 | + text-align: center; |
| 116 | + font-size: 13px; |
| 117 | + color: var( --nfd-onboarding-text ); |
| 118 | +} |
| 119 | + |
| 120 | +/* Typography Preview Item */ |
| 121 | + |
| 122 | +.nfd-typography-preview-item { |
| 123 | + border: 1px solid #ddd; |
| 124 | + border-radius: 4px; |
| 125 | + cursor: pointer; |
| 126 | + background-color: #fff; |
| 127 | + padding: 20px 16px; |
| 128 | + height: 160px; |
| 129 | + position: relative; |
| 130 | + width: 100%; |
| 131 | + box-sizing: border-box; |
| 132 | + transition: border-color 0.1s ease-in-out; |
| 133 | +} |
| 134 | + |
| 135 | +.nfd-typography-preview-item:hover { |
| 136 | + border-color: var( --wp-components-color-accent, #999 ); |
| 137 | +} |
| 138 | + |
| 139 | +.nfd-typography-preview-item:focus { |
| 140 | + outline: none; |
| 141 | + box-shadow: 0 0 0 1px var( --wp-components-color-accent, #007cba ); |
| 142 | +} |
| 143 | + |
| 144 | +.nfd-typography-preview-item.is-selected { |
| 145 | + border: 1px solid var( --wp-components-color-accent, #007cba ) !important; |
| 146 | + outline: 2px solid var( --wp-components-color-accent, #007cba ); |
| 147 | + outline-offset: -1px; |
| 148 | +} |
| 149 | + |
| 150 | +.nfd-typography-selected-indicator { |
| 151 | + position: absolute; |
| 152 | + top: 8px; |
| 153 | + left: 8px; |
| 154 | + width: 24px; |
| 155 | + height: 24px; |
| 156 | + background-color: var( --wp-components-color-accent, #007cba ); |
| 157 | + fill: #fff; |
| 158 | + border-radius: 50%; |
| 159 | + display: flex; |
| 160 | + align-items: center; |
| 161 | + justify-content: center; |
| 162 | +} |
| 163 | + |
| 164 | +.nfd-typography-preview-heading { |
| 165 | + font-size: 28px; |
| 166 | + line-height: 1.2em; |
| 167 | + color: #1e1e1e; |
| 168 | + margin: 0 0 4px 0; |
| 169 | +} |
| 170 | + |
| 171 | +.nfd-typography-preview-body { |
| 172 | + font-size: 16px; |
| 173 | + line-height: 24px; |
| 174 | + color: #1e1e1e; |
| 175 | + margin: 0; |
| 176 | + text-wrap: pretty; |
| 177 | +} |
| 178 | + |
| 179 | +.nfd-typography-preview-label { |
| 180 | + position: absolute; |
| 181 | + bottom: 8px; |
| 182 | + right: 16px; |
| 183 | + left: 16px; |
| 184 | + font-size: 12px; |
| 185 | + color: #757575; |
| 186 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
| 187 | + overflow: hidden; |
| 188 | + text-overflow: ellipsis; |
| 189 | + white-space: nowrap; |
| 190 | +} |
| 191 | + |
| 192 | +/* Style Preview Card */ |
| 193 | + |
| 194 | +.nfd-design-studio-style-preview { |
| 195 | + padding: 24px 48px; |
| 196 | + min-height: 160px; |
| 197 | + display: flex; |
| 198 | + align-items: center; |
| 199 | + justify-content: space-between; |
| 200 | + transition: all 0.2s ease; |
| 201 | +} |
| 202 | + |
| 203 | +.nfd-design-studio-style-preview:hover { |
| 204 | + border-color: #c0c0c0; |
| 205 | +} |
| 206 | + |
| 207 | +.nfd-design-studio-style-preview-text h2 { |
| 208 | + font-size: 64px; |
| 209 | + font-weight: 500; |
| 210 | + line-height: 1.2; |
| 211 | + margin: 0; |
| 212 | +} |
| 213 | + |
| 214 | +.nfd-design-studio-style-preview-text p { |
| 215 | + font-size: 16px; |
| 216 | + margin: 4px 0 0 0; |
| 217 | + opacity: 0.8; |
| 218 | +} |
| 219 | + |
| 220 | +.nfd-design-studio-style-preview-dots { |
| 221 | + display: flex; |
| 222 | + flex-direction: column; |
| 223 | + gap: 8px; |
| 224 | +} |
| 225 | + |
| 226 | +.nfd-design-studio-style-preview-dot { |
| 227 | + width: 36px; |
| 228 | + height: 36px; |
| 229 | + border-radius: 50%; |
| 230 | + border: 2px solid rgba( 255, 255, 255, 0.8 ); |
| 231 | + box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.1 ); |
| 232 | +} |
| 233 | + |
0 commit comments