Spaces:
Runtime error
Runtime error
/* google-drive-save.css */ | |
.saveButton { | |
/* ボタンのスタイル */ | |
} | |
.modalOverlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background-color: rgba(0, 0, 0, 0.5); | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
z-index: 1000; | |
} | |
.modalContent { | |
background-color: white; | |
border-radius: 8px; | |
width: 800px; | |
max-width: 90%; | |
max-height: 80vh; | |
overflow: hidden; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
} | |
.modalHeader { | |
padding: 1rem; | |
border-bottom: 1px solid #eee; | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.closeButton { | |
background: none; | |
border: none; | |
font-size: 1.5rem; | |
cursor: pointer; | |
} | |
.modalBody { | |
padding: 1rem; | |
max-height: 70vh; | |
overflow-y: auto; | |
} | |
.authSection { | |
margin-bottom: 1rem; | |
} | |
.accountInfo { | |
margin-bottom: 0.5rem; | |
} | |
.loginButton, .changeAccountButton, .newFileButton { | |
padding: 0.5rem 1rem; | |
background-color: #4CAF50; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
.changeAccountButton { | |
background-color: #f0ad4e; | |
} | |
.loading, .noFiles { | |
text-align: center; | |
padding: 2rem; | |
color: #666; | |
} | |
.fileListContainer { | |
margin-top: 1rem; | |
} | |
.fileListHeader { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 1rem; | |
} | |
.projectTitle { | |
cursor: pointer; | |
border-bottom: 1px dashed #000; | |
color: #333; | |
} | |
.fileList { | |
display: grid; | |
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); | |
gap: 1rem; | |
} | |
.fileItem { | |
border: 1px solid #ddd; | |
border-radius: 8px; | |
padding: 1rem; | |
display: flex; | |
flex-direction: column; | |
gap: 0.75rem; | |
background: #fff; | |
height: 100%; | |
} | |
.thumbnailContainer { | |
position: relative; | |
aspect-ratio: 4/3; | |
max-height: 150px; | |
overflow: hidden; | |
} | |
.thumbnail { | |
width: 100%; | |
height: 100%; | |
border-radius: 4px; | |
object-fit: contain; | |
background-color: #f0f0f0; | |
} | |
.thumbnailPlaceholder { | |
width: 100%; | |
height: 100%; | |
background-color: #f0f0f0; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
border-radius: 4px; | |
color: #666; | |
} | |
.fileName { | |
margin: 0; | |
text-align: center; | |
font-weight: bold; | |
color: #333; | |
} | |
.linkContainer { | |
display: flex; | |
flex-direction: column; | |
gap: 0.25rem; | |
margin-bottom: 0.5rem; | |
} | |
.linkHeader { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.copyButton { | |
padding: 0.1rem 0.3rem; | |
font-size: 0.8em; | |
background-color: #e9e9e9; | |
color: #333; | |
border: none; | |
border-radius: 3px; | |
cursor: pointer; | |
} | |
.linkUrl { | |
font-size: 0.9em; | |
word-break: break-all; | |
color: #1155cc; | |
text-decoration: none; | |
border-bottom: 1px solid #1155cc; | |
} | |
.buttonGroup { | |
display: grid; | |
grid-template-columns: 1fr 1fr; | |
gap: 0.5rem; | |
} | |
.actionButton { | |
width: 100%; | |
padding: 0.5rem; | |
border: none; | |
border-radius: 4px; | |
cursor: pointer; | |
} | |
.shareButton { | |
background-color: #4CAF50; | |
color: white; | |
} | |
.deleteButton { | |
background-color: #ff4444; | |
color: white; | |
} |