Changeset 3226821 for progress-planner/trunk/assets/css/admin.css
- Timestamp:
- 01/22/2025 12:07:41 PM (14 months ago)
- File:
-
- 1 edited
-
progress-planner/trunk/assets/css/admin.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
progress-planner/trunk/assets/css/admin.css
r3210975 r3226821 284 284 .prpl-wrap input.prpl-button-secondary, 285 285 .prpl-wrap button.prpl-button-primary, 286 .prpl-wrap button.prpl-button-secondary { 286 .prpl-wrap button.prpl-button-secondary, 287 .prpl-wrap a.prpl-button-primary, 288 .prpl-wrap a.prpl-button-secondary { 287 289 display: block; 288 margin: 1 em 0;289 padding: 1em;290 margin: 1rem 0; 291 padding: 0.75rem 1.25rem; 290 292 color: #fff; 291 293 text-decoration: none; … … 293 295 font-size: var(--prpl-font-size-base); 294 296 background: var(--prpl-color-accent-red); 297 line-height: 1.25; 295 298 box-shadow: none; 296 299 border: none; 297 border-radius: var(--prpl-border-radius); 300 border-radius: 6px; 301 transition: all 0.25s ease-in-out; 302 font-weight: 600; 303 text-align: center; 304 box-sizing: border-box; 305 position: relative; 306 z-index: 1; 307 308 &::after { 309 content: ""; 310 display: block; 311 width: 100%; 312 height: 100%; 313 background: var(--prpl-color-accent-red); 314 position: absolute; 315 top: 0; 316 left: 0; 317 z-index: -1; 318 border-radius: 6px; 319 transition: all 0.25s ease-in-out; 320 } 298 321 299 322 &:hover, 300 323 &:focus { 301 text-decoration: underline; 302 box-shadow: 3px 3px 10px var(--prpl-color-accent-red); 324 background: #cf2441; 325 326 &::after { 327 background: #cf2441; 328 box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15); 329 width: calc(100% + 4px); 330 height: calc(100% + 4px); 331 margin: -2px; 332 } 303 333 } 304 334 }
Note: See TracChangeset
for help on using the changeset viewer.