Party/old/static/css/create_session.css
2023-07-04 20:56:15 +02:00

119 lines
1.8 KiB
CSS

body {
font-family: Arial, sans-serif;
background-image: linear-gradient(to right, rgb(38, 134, 62), rgb(89, 89, 175))
}
h1 {
text-align: center;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
label {
display: block;
margin-bottom: 10px;
}
input[type="text"],
input[type="number"],
select {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 6px;
}
input[type="number"] {
width: calc(100% - 20px);
}
.checkbox-label {
display: inline-block;
margin-right: 10px;
}
.checkbox-label span {
margin-left: 5px;
}
.file-upload {
display: flex;
align-items: center;
}
.file-upload input[type="file"] {
display: none;
}
.file-upload label {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: #ccc;
border: none;
border-radius: 50%;
color: #fff;
font-size: 18px;
cursor: pointer;
}
.file-label {
margin-left: 10px;
font-size: 14px;
}
.buttons {
text-align: right;
margin-top: 20px;
}
.buttons button {
margin-left: 10px;
padding: 10px 20px;
border: none;
border-radius: 6px;
background-color: #ccc;
color: #fff;
font-size: 14px;
cursor: pointer;
}
.buttons button:nth-child(1) {
background-color: red;
}
.buttons button:nth-child(2) {
background-color: green;
}
@media only screen and (max-width: 600px) {
.container {
padding: 10px;
}
.buttons {
text-align: center;
margin-top: 10px;
}
.buttons button {
margin: 5px;
}
}
.number-label {
display: inline-block;
margin-right: 10px;
color: #999;
}
input[type="number"][disabled] {
background-color: #f2f2f2;
cursor: not-allowed;
}