文件操作 - modal.css
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/creatormedianetwork/public_html/wp-content/plugins/embedpress/assets/css/modal.css
编辑文件内容
/* EmbedPress Modal Styles */ .embedpress-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 10000; display: flex; align-items: center; justify-content: center; } .embedpress-modal { background: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); max-width: 500px; width: 90%; max-height: 90vh; overflow: hidden; animation: modalFadeIn 0.3s ease-out; } @keyframes modalFadeIn { from { opacity: 0; transform: scale(0.9) translateY(-20px); } to { opacity: 1; transform: scale(1) translateY(0); } } .embedpress-modal-header { padding: 20px 24px 16px; border-bottom: 1px solid #e0e0e0; display: flex; justify-content: space-between; align-items: center; } .embedpress-modal-header h3 { margin: 0; font-size: 18px; font-weight: 600; color: #333; } .embedpress-modal-close { background: none; border: none; font-size: 24px; color: #666; cursor: pointer; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: background-color 0.2s; } .embedpress-modal-close:hover { background-color: #f5f5f5; color: #333; } .embedpress-modal-body { padding: 24px; max-height: 60vh; overflow-y: auto; } .embedpress-form { margin: 0; } .embedpress-form-group { margin-bottom: 20px; } .embedpress-form-group:last-child { margin-bottom: 0; } .embedpress-form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: #333; font-size: 14px; } .embedpress-form-group input[type="url"], .embedpress-form-group input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; } .embedpress-form-group input[type="url"]:focus, .embedpress-form-group input[type="number"]:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1); } .embedpress-form-group input[type="url"]:disabled, .embedpress-form-group input[type="number"]:disabled { background-color: #f5f5f5; color: #666; cursor: not-allowed; } .embedpress-radio-group { display: flex; gap: 16px; } .embedpress-radio-group label { display: flex; align-items: center; font-weight: normal; margin-bottom: 0; cursor: pointer; } .embedpress-radio-group input[type="radio"] { margin-right: 6px; margin-top: 0; } .embedpress-form-row { display: flex; gap: 16px; } .embedpress-form-row .embedpress-form-group { flex: 1; } .embedpress-modal-footer { padding: 16px 24px 20px; border-top: 1px solid #e0e0e0; display: flex; justify-content: flex-end; gap: 12px; } .embedpress-btn { padding: 10px 20px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-block; text-align: center; background: #fff; color: #333; } .embedpress-btn:hover { background-color: #f5f5f5; border-color: #ccc; } .embedpress-btn-primary { background-color: #0073aa; border-color: #0073aa; color: #fff; } .embedpress-btn-primary:hover { background-color: #005a87; border-color: #005a87; color: #fff; } .embedpress-btn-cancel { background-color: #fff; border-color: #ddd; color: #666; } .embedpress-btn-cancel:hover { background-color: #f5f5f5; border-color: #ccc; color: #333; } /* Responsive adjustments */ @media (max-width: 600px) { .embedpress-modal { width: 95%; margin: 20px; } .embedpress-form-row { flex-direction: column; gap: 12px; } .embedpress-modal-footer { flex-direction: column-reverse; } .embedpress-btn { width: 100%; } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件