yapi/client/containers/ProjectGroups/GroupList/GroupList.scss

91 lines
1.8 KiB
SCSS
Raw Normal View History

2017-07-18 17:32:32 +08:00
.group-bar {
2017-07-26 14:54:14 +08:00
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.20);
border-radius: 4px;
background-color: #fff;
min-height: 5rem;
2017-07-18 17:32:32 +08:00
.curr-group {
background: #34495E;
border-radius: 4px 4px 0 0;
padding: 32px 24px;
.curr-group-name {
2017-07-26 10:26:15 +08:00
.text {
display: inline-block;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
max-width: 150px;
}
2017-07-18 17:32:32 +08:00
color: #fff;
font-size: 24px;
}
.curr-group-desc {
color: #fff;
font-size: 12px;
2017-07-26 10:26:15 +08:00
max-height: 54px;
text-overflow:ellipsis;
overflow:hidden;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
display: -webkit-box;
2017-07-18 17:32:32 +08:00
}
2017-07-19 15:32:51 +08:00
.delete-group, .edit-group {
font-size: 18px;
2017-07-18 18:23:38 +08:00
margin-left: 12px;
cursor: pointer;
}
2017-07-19 15:32:51 +08:00
.delete-group:hover, .edit-group:hover {
2017-07-18 18:23:38 +08:00
color: #ccc;
}
2017-07-18 17:32:32 +08:00
}
.group-operate {
height: 48px;
padding: 10px 6px;
2017-07-26 14:54:14 +08:00
background: #eee;
2017-07-27 11:29:12 +08:00
display: flex;
justify-content: space-around;
2017-07-18 18:23:38 +08:00
.search {
margin-right: 6px;
2017-07-27 11:29:12 +08:00
flex-grow: 1;
2017-07-18 18:23:38 +08:00
}
2017-07-27 11:34:03 +08:00
2017-07-18 17:32:32 +08:00
}
.group-list {
2017-07-19 14:53:51 +08:00
max-height: 650px;
2017-07-25 09:27:25 +08:00
overflow-y: scroll;
overflow-x: hidden;
2017-07-18 17:32:32 +08:00
border-bottom: 1px solid #e9e9e9;
padding-bottom: 24px;
2017-07-26 14:54:14 +08:00
border-radius: 0 0 4px 4px;
border: none;
2017-07-18 17:32:32 +08:00
.group-item {
// height: 48px;
// line-height: 48px;
// padding: 0 24px;
font-size: 14px;
}
.group-item:hover {
// background: #34495E;
// color: #fff;
}
.group-item.selected {
// background: #34495E;
}
.group-name {
float: left;
}
.group-edit {
float: right;
font-size: 18px;
}
}
2017-07-18 15:06:12 +08:00
}
.add-group-modal {
.modal-input {
margin: 24px;
}
.label {
text-align: right;
line-height: 28px;
}
2017-07-18 18:23:38 +08:00
}