funky-framadate-front/public/style.css

163 lines
2.0 KiB
CSS
Raw Normal View History

body {
2018-09-25 17:37:06 +02:00
max-width: 320px;
margin: auto;
2018-09-25 17:37:06 +02:00
padding: 30px 20px;
font-family: sans-serif;
2018-11-26 10:23:04 +01:00
font-size: 16px;
line-height: 2;
}
2018-09-25 17:37:06 +02:00
/* Titres */
h1 {
text-align: center;
font-size: 20px;
}
h1 span {
font-size: 60%;
font-weight: 400;
}
2018-09-25 17:37:06 +02:00
/* Formulaires */
.btn,
button,
[type="submit"] {
display: block;
width: 200px;
margin: 10px auto auto;
padding: 8px 0;
2018-09-25 17:37:06 +02:00
text-align: center;
color: #4a90e2;
font-weight: 600;
border: 2px solid #4a90e2;
2018-09-25 17:37:06 +02:00
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-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;
}
2018-09-25 17:37:06 +02:00
label,
input {
display: inline;
}
2018-11-26 10:23:04 +01:00
p {
margin-bottom: 2rem;
}
/* Listes */
ul {
padding-left: 0;
list-style-type: none;
}
li + li {
margin-top: 20px;
}
2018-09-25 17:37:06 +02:00
/* 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: 50%;
padding: 5px;
border: 1px solid #9b9b9b;
border-radius: 4px;
}
input[type="date"]:disabled {
opacity: 0.7;
}
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: #9b9b9b;
}
.item-disabled {
opacity: 0.7;
}
section + nav {
margin-top: 100px;
}
.w100 {
width: 100%;
}
article + article {
margin-top: 40px;
}
a {
color: #4a4a4a;
}
a:hover {
color: #4a90e2;
}