funky-framadate-front/public/style.css

192 lines
2.4 KiB
CSS

body {
max-width: 320px;
margin: auto;
padding: 30px 20px;
font-family: sans-serif;
font-size: 16px;
line-height: 2;
}
/* Titres */
h1 {
text-align: center;
font-size: 20px;
}
h1 span {
font-size: 60%;
font-weight: 400;
}
/* Formulaires */
.btn,
button,
[type="submit"] {
display: block;
width: 200px;
margin: 10px auto auto;
padding: 8px 0;
text-align: center;
color: #4a90e2;
font-weight: 600;
border: 2px solid #4a90e2;
border-radius: 4px;
background-color: white;
transition: all 0.2s ease-in-out;
cursor: pointer;
}
.btn:hover,
button:hover,
[type="submit"]:hover {
color: #fff;
background-color: #4a90e2;
text-decoration: none;
}
.btn.btn-primary {
color: #fff;
background-color: #4a90e2;
}
.btn.btn-primary:hover {
color: #4a90e2;
background-color: #fff;
}
.btn-no-style {
display: inline-block;
width: auto;
margin: 0;
padding: 0;
border: 0;
color: inherit;
}
section button {
width: 100%;
color: #4a4a4a;
border-color: #4a4a4a;
}
section button:hover {
color: #fff;
background-color: #4a4a4a;
}
label,
input {
display: inline;
}
p {
margin-bottom: 2rem;
}
/* Listes */
ul {
padding-left: 0;
list-style-type: none;
}
li + li {
margin-top: 20px;
}
.default-list {
padding-left: 20px;
list-style-type: disc;
}
.default-list li + li {
margin-top: 0;
}
/* Apparence */
section:not(:last-of-type) {
margin-bottom: 30px;
}
input[type="text"] {
border:0;
border-bottom:1px solid black;
line-height:60%;
}
input[type="date"] {
width: 60%;
padding: 5px;
border: 1px solid #9b9b9b;
border-radius: 4px;
}
input[type="date"]:disabled {
opacity: 0.7;
}
[type="email"] {
width: 100%;
}
textarea {
display: block;
width: 100%;
min-height: 130px;
padding: 0.5em;
}
.toggle-field {
color: #4a90e2;
cursor: pointer;
border-bottom: 1px solid #4a4a4a;
}
.overlay {
background: rgba(1, 1, 1, .3);
height: 100%;
top: 0;
left: 0;
position: absolute;
width: 100%;
z-index: 5;
}
.modal {
background: #fff;
top: 10%;
left: 40%;
padding: 10px;
position: absolute;
z-index: 10;
}
i {
color: #4a4a4a;
}
.fa-trash-alt {
color: #9b9b9b;
}
.item-disabled {
opacity: 0.7;
}
section + nav {
margin-top: 100px;
}
.w100 {
width: 100%;
}
.bold {
font-weight: 600;
}
article + article {
margin-top: 40px;
}
a {
color: #4a4a4a;
}
a:hover {
color: #4a90e2;
}