1
0
Fork 0
empact/app/styles/app.css

124 lines
1.9 KiB
CSS
Raw Normal View History

2015-03-10 12:19:59 +00:00
* {
box-sizing: border-box;
}
2015-03-07 14:13:47 +00:00
.app {
width: 100%;
}
.menu {
2015-03-15 10:39:33 +00:00
float: left;
2015-03-10 12:19:59 +00:00
width: 200px;
margin: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-07 14:13:47 +00:00
.menu ul {
2015-03-07 09:44:50 +00:00
margin: 0;
padding: 0;
}
2015-03-10 12:48:57 +00:00
.menu li {
2015-03-07 09:44:50 +00:00
display: block;
cursor: pointer;
2015-03-10 12:48:57 +00:00
}
.nav {
2015-03-10 12:19:59 +00:00
margin-bottom: 5px;
2015-03-07 09:44:50 +00:00
}
.nav.empact {
font-weight: 600;
}
.nav.header {
color: #aaa;
cursor: default;
2015-03-10 12:48:57 +00:00
margin-top: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-10 12:48:57 +00:00
.menu .nav a:before {
2015-03-10 12:19:59 +00:00
display: block;
float: left;
2015-03-10 16:29:54 +00:00
width: 5px;
2015-03-10 12:19:59 +00:00
height: 32px;
border-radius: 3px;
2015-03-10 12:48:57 +00:00
background-color: #f39d41;
2015-03-10 12:19:59 +00:00
content: '';
margin-right: 10px;
}
2015-03-10 12:48:57 +00:00
.menu .nav a {
2015-03-10 12:19:59 +00:00
display: inline-block;
line-height: 32px;
width: 100%;
color: #222;
text-decoration: underline;
border-radius: 3px;
2015-03-14 15:52:29 +00:00
width: 200px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.menu .nav a:hover {
background-color: #fcf1eb;
2015-03-10 12:19:59 +00:00
}
2015-03-10 12:48:57 +00:00
.menu .nav a.active {
background-color: #f9d4be;
2015-03-10 12:19:59 +00:00
}
2015-03-07 14:13:47 +00:00
.content {
2015-03-15 10:39:33 +00:00
float: left;
2015-03-14 15:52:29 +00:00
width: calc(100% - 240px);
margin-top: 20px;
2015-03-07 09:44:50 +00:00
}
2015-03-07 14:13:47 +00:00
.content .left, .content .right {
2015-03-07 17:22:32 +00:00
float: left;
2015-03-07 09:44:50 +00:00
width: 50%;
}
2015-03-10 08:24:19 +00:00
.info-block {
width: 100%;
2015-03-14 17:41:32 +00:00
height: 50px;
2015-03-10 08:24:19 +00:00
margin-bottom: 20px;
}
.info-block .img {
float: left;
2015-03-14 17:41:32 +00:00
width: 50px;
height: 50px;
background-color: #ddd;
2015-03-10 08:24:19 +00:00
background-position: center;
background-size: 100% auto;
2015-03-14 17:41:32 +00:00
margin-right: 10px;
2015-03-10 08:24:19 +00:00
border-radius: 3px;
}
.info-block h1 {
font-size: 32px;
2015-03-14 17:41:32 +00:00
line-height: 50px;
margin: 0;
2015-03-10 08:24:19 +00:00
font-weight: 400;
}
2015-03-14 15:54:27 +00:00
.week-selector {
position: absolute;
2015-03-15 10:39:33 +00:00
top: 20px;
right: 20px;
font-size: 32px;
line-height: 50px;
color: #666;
2015-03-14 15:54:27 +00:00
}
.week-selector .week {
2015-03-15 12:10:02 +00:00
position: relative;
2015-03-15 10:39:33 +00:00
display: inline-block;
padding: 0 6px;
margin: 0 3px;
2015-03-14 15:54:27 +00:00
}
2015-03-15 12:10:02 +00:00
.week-selector .week select {
position: absolute;
top: 30%;
left: 0;
width: 100%;
visibility: hidden;
}
.week-selector .week:hover .label {
visibility: hidden;
}
.week-selector .week:hover select {
visibility: visible;
2015-03-14 15:54:27 +00:00
}