shopping-list/style/master.css

112 lines
1.6 KiB
CSS
Raw Normal View History

2018-10-26 12:30:27 +02:00
@font-face {
font-family: Roboto;
src: url("/fonts/Roboto-Regular.ttf");
}
2018-10-24 18:15:42 +02:00
2018-10-24 15:00:27 +02:00
html {
transition: .6s;
2018-10-26 12:30:27 +02:00
font-family: 'Roboto';
background-color: #ccc;
2018-10-24 15:00:27 +02:00
}
2018-10-24 18:15:42 +02:00
2018-10-24 15:00:27 +02:00
h1 {
font-size: 3em;
2018-10-26 12:30:27 +02:00
margin-top: .5em;
padding-bottom: .5em;
border-bottom: 1px solid grey;
2018-10-24 15:00:27 +02:00
text-align: center;
2018-10-24 18:15:42 +02:00
}
2018-10-26 13:45:03 +02:00
h2 {
font-size: 2em;
text-align: left;
margin-top: .5em;
padding-bottom: .5em;
border-bottom: 1px solid grey;
width: 80%;
}
2018-10-29 08:45:49 +01:00
h3 {
font-size: 1.5em;
text-align: left;
margin-top: .5em;
padding-bottom: .5em;
border-bottom: 1px solid grey;
width: 75%;
}
2018-10-24 15:00:27 +02:00
.even {
2018-10-26 13:45:03 +02:00
background-color: #565656;
2018-10-24 15:00:27 +02:00
}
2018-10-24 18:15:42 +02:00
2018-10-24 15:00:27 +02:00
.odd {
2018-10-26 13:45:03 +02:00
background-color: #888;
2018-10-24 15:00:27 +02:00
}
2018-10-24 18:15:42 +02:00
2018-10-24 15:00:27 +02:00
.search {
background-image: url('/pic/search.png');
background-position: 10px 12px;
background-repeat: no-repeat;
font-size: 16px;
padding: 12px 20px 12px 40px;
border: 1px solid #ddd;
}
2018-10-24 18:15:42 +02:00
2018-10-24 15:00:27 +02:00
.button {
-webkit-appearance: none;
border: none;
display: inline-block;
padding: 5px 15px;
text-align: center;
text-decoration: none;
font-weight: 800;
background-color: #4CAF50;
color: white;
2018-10-29 22:14:56 +01:00
cursor: pointer;
2018-10-24 15:00:27 +02:00
}
2018-10-24 18:15:42 +02:00
2018-11-09 15:17:00 +01:00
.button:hover {
background-color: #4CAFFF;
}
.button-disabled {
background-color: grey;
cursor: not-allowed;
}
.button-disabled:hover {
background-color: grey;
}
2018-10-24 15:00:27 +02:00
.hover:hover {
2018-10-24 18:15:42 +02:00
background-color: #4CAF50;
cursor: pointer;
2018-10-24 15:00:27 +02:00
}
2018-11-09 15:17:00 +01:00
#info-popup {
pointer-events: none;
position: fixed;
display: flex;
justify-content: center;
bottom: 2%;
margin: 0;
left: 0;
width: 100%;
}
#info-popup-text {
color: #ffffff;
background-color: #000000;
padding: .1em .5em .2em;
border-radius: 50px;
opacity: 0;
}
@keyframes fade {
0% {
opacity: 0;
}
10% {
opacity: 1;
}
}