pssecret-web/static/styles.css

89 lines
1.6 KiB
CSS

body {
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #2f2d3c;
font-family: Arial, sans-serif;
}
.container {
position: relative;
width: 100%;
max-width: 600px;
padding: 20px;
}
.form-container {
background-color: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
textarea {
width: 100%;
min-height: 150px;
padding: 15px;
border: none;
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.1);
color: white;
font-size: 16px;
resize: vertical;
margin-bottom: 15px;
box-sizing: border-box;
}
textarea::placeholder {
color: rgba(255, 255, 255, 0.7);
}
button {
float: right;
padding: 10px 30px;
background-color: #00e5c7;
border: none;
border-radius: 5px;
color: white;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
margin-left: 10px;
}
#sendToButton {
background-color: #7b68ee;
}
button:hover {
background-color: #00c4aa;
}
#sendToButton:hover {
background-color: #6a5acd;
}
.spinner {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50px;
height: 50px;
border: 5px solid rgba(255, 255, 255, 0.1);
border-top: 5px solid #00e5c7;
border-radius: 50%;
animation: spin 1s linear infinite;
}
.hidden {
display: none;
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}