cyp/app/css/component.less

40 lines
510 B
Plaintext
Raw Normal View History

2019-03-25 22:49:23 +08:00
.component {
height: 100%;
display: flex;
flex-direction: column;
2019-03-26 19:35:47 +08:00
ul {
flex-grow: 1;
overflow: auto;
list-style: none;
margin: 0;
padding: 0;
}
.grid {
li {
display: flex;
flex-direction: row;
2019-03-26 22:40:23 +08:00
align-items: center;
2019-03-26 19:35:47 +08:00
h2 {
flex-grow: 1;
2019-03-26 22:40:23 +08:00
font-size: 100%;
font-weight: normal;
2019-03-26 19:35:47 +08:00
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
li:nth-child(odd) {
2019-03-26 22:40:23 +08:00
background-color: #555;
}
button {
flex-shrink: 0;
2019-03-26 19:35:47 +08:00
}
}
}