| 1 |
.files-container { |
| 2 |
padding: 40px 24px; |
| 3 |
margin: 0 auto; |
| 4 |
max-width: 600px; |
| 5 |
border-radius: 8px; |
| 6 |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); |
| 7 |
} |
| 8 |
|
| 9 |
.files-title { |
| 10 |
font-size: 1.75rem; |
| 11 |
font-weight: 600; |
| 12 |
margin-bottom: 0.75rem; |
| 13 |
color: #1a1a1a; |
| 14 |
} |
| 15 |
|
| 16 |
.files-description { |
| 17 |
font-size: 1rem; |
| 18 |
color: #666; |
| 19 |
margin-bottom: 1.5rem; |
| 20 |
} |
| 21 |
|
| 22 |
.files-upload { |
| 23 |
background-color: #f8f9fa; |
| 24 |
border: 1px solid #dee2e6; |
| 25 |
border-radius: 6px; |
| 26 |
padding: 1.5rem; |
| 27 |
text-align: center; |
| 28 |
margin-bottom: 1rem; |
| 29 |
} |
| 30 |
|
| 31 |
.files-upload .wp-block-file__button { |
| 32 |
background-color: #2563eb; |
| 33 |
color: white; |
| 34 |
padding: 10px 20px; |
| 35 |
border-radius: 4px; |
| 36 |
font-weight: 500; |
| 37 |
text-decoration: none; |
| 38 |
transition: all 0.2s ease; |
| 39 |
border: none; |
| 40 |
cursor: pointer; |
| 41 |
} |
| 42 |
|
| 43 |
.files-upload .wp-block-file__button:hover { |
| 44 |
background-color: #1d4ed8; |
| 45 |
} |
| 46 |
|
| 47 |
.files-upload .wp-block-file__content-wrapper { |
| 48 |
display: flex; |
| 49 |
align-items: center; |
| 50 |
justify-content: center; |
| 51 |
gap: 0.75rem; |
| 52 |
margin-bottom: 0.75rem; |
| 53 |
} |
| 54 |
|
| 55 |
.files-upload .wp-block-file__textlink { |
| 56 |
color: #2563eb; |
| 57 |
text-decoration: none; |
| 58 |
font-weight: 500; |
| 59 |
} |
| 60 |
|
| 61 |
.files-upload .wp-block-file__textlink:hover { |
| 62 |
text-decoration: underline; |
| 63 |
} |
| 64 |
|
| 65 |
.files-info { |
| 66 |
font-size: 0.9rem; |
| 67 |
color: #666; |
| 68 |
margin-top: 0.75rem; |
| 69 |
} |
| 70 |
|
| 71 |
/* Responsive Styles */ |
| 72 |
@media (max-width: 768px) { |
| 73 |
.files-container { |
| 74 |
padding: 30px 16px; |
| 75 |
} |
| 76 |
|
| 77 |
.files-title { |
| 78 |
font-size: 1.5rem; |
| 79 |
} |
| 80 |
|
| 81 |
.files-description { |
| 82 |
font-size: 0.95rem; |
| 83 |
} |
| 84 |
|
| 85 |
.files-upload { |
| 86 |
padding: 1.25rem; |
| 87 |
} |
| 88 |
} |
| 89 |
|
| 90 |
/* File Preview Styles */ |
| 91 |
.files-upload .wp-block-file__preview { |
| 92 |
margin-top: 0.75rem; |
| 93 |
padding: 0.75rem; |
| 94 |
background-color: white; |
| 95 |
border-radius: 4px; |
| 96 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
| 97 |
} |
| 98 |
|
| 99 |
.files-upload .wp-block-file__preview img { |
| 100 |
max-width: 100%; |
| 101 |
height: auto; |
| 102 |
border-radius: 4px; |
| 103 |
} |