php_pracownia-programowania/style/tasks.css

170 lines
2.6 KiB
CSS
Raw Permalink Normal View History

2018-12-31 01:17:37 +01:00
.header {
overflow: hidden;
background-color: #000;
padding: 20px 10px;
}
.header a {
float: left;
color: #ddd;
text-align: center;
padding: 12px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
.header a.logo {
font-size: 25px;
font-weight: bold;
}
.header a:hover {
background-color: #ddd;
color: black;
}
.header a.active {
2019-01-01 02:53:04 +01:00
background-color: #3300CC;
2018-12-31 01:17:37 +01:00
color: white;
}
.header a.active:hover {
cursor: pointer;
2019-01-01 02:53:04 +01:00
background: #000099;
2018-12-31 01:17:37 +01:00
color: #000;
}
.header-right {
float: right;
}
.addform {
overflow: hidden;
2019-01-01 15:33:16 +01:00
margin-top: 10px;
2018-12-31 01:17:37 +01:00
padding: 0px 10px;
}
.addform input {
width: 100%;
margin-bottom: 20px;
}
.addform input[type="text"] {
border: none;
border-bottom: 1px solid #fff;
background: transparent;
outline: none;
height: 40px;
color: #fff;
font-size: 16px;
text-align: center;
}
.addform input[type="submit"] {
border: none;
outline: none;
height: 40px;
2019-01-01 02:53:04 +01:00
background: #3300CC;
2018-12-31 01:17:37 +01:00
color: #fff;
font-size: 18px;
border-radius: 20px;
}
.addform input[type="submit"]:hover {
cursor: pointer;
2019-01-01 02:53:04 +01:00
background: #000099;
2018-12-31 01:17:37 +01:00
color: #000;
}
.done-button {
display: inline-block;
font-size: 0.8em;
2019-01-01 02:53:04 +01:00
background-color: #66CC99;
color: #006633;
2018-12-31 01:17:37 +01:00
padding: 2px 4px;
border: 0;
opacity: 0.4;
2019-01-01 02:53:04 +01:00
border-radius: 8px;
2018-12-31 01:17:37 +01:00
}
.delete-button {
display: inline-block;
font-size: 0.8em;
2019-01-01 02:53:04 +01:00
background-color: #FF0066;
color: black;
2018-12-31 01:17:37 +01:00
padding: 2px 4px;
border: 0;
opacity: 0.4;
2019-01-01 02:53:04 +01:00
border-radius: 8px;
2018-12-31 01:17:37 +01:00
}
.todo {
left: 10%;
position: absolute;
background-color: #fff;
margin: 20px auto;
width: 100%;
max-width: 500px;
padding: 20px;
border-radius: 4px;
box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
box-sizing: border-box;
}
.done {
right: 10%;
position: absolute;
background-color: #fff;
margin: 20px auto;
width: 100%;
max-width: 500px;
padding: 20px;
border-radius: 4px;
box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
box-sizing: border-box;
}
.tasks {
margin:0;
padding0;
list-style-type: none;
}
.tasks li {
border:0;
border-bottom:1px dashed #ccc;
padding: 15px 0;
}
@media screen and (max-width: 999px) {
.todo {
position: relative;
left: 0.5%;
top: 5%;
background-color: #fff;
margin: auto;
width: 90%;
max-width: 500px;
padding: 20px;
border-radius: 4px;
box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
box-sizing: border-box;
}
.done {
position: relative;
left: 0.5%;
top: 5%;
background-color: #fff;
margin: 20px auto;
width: 90%;
max-width: 500px;
padding: 20px;
border-radius: 4px;
box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
box-sizing: border-box;
}
}