yapi/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.scss

95 lines
1.7 KiB
SCSS
Raw Normal View History

2017-08-17 16:10:43 +08:00
.col-list-tree {
2017-09-19 17:59:36 +08:00
line-height: 25px;
2017-08-17 16:10:43 +08:00
.ant-tree-node-content-wrapper {
2017-08-22 16:50:15 +08:00
width: calc(100% - 24px);
}
2017-09-19 17:59:36 +08:00
.opts-icon, .case-delete-icon {
line-height: 25px;
width: 30px;
2017-09-20 20:32:20 +08:00
transform: rotate(90deg);
font-weight: bold;
2017-09-19 17:59:36 +08:00
}
.opts-icon:hover, .case-delete-icon:hover {
color: #2395f1;
}
2017-08-22 16:50:15 +08:00
.menu-title {
display: flex;
justify-content: space-between;
2017-09-05 14:51:47 +08:00
overflow: hidden;
.casename {
overflow: hidden;
}
2017-08-22 16:50:15 +08:00
.case-delete-icon{
margin-left: 5px;
2017-08-22 16:50:15 +08:00
display: none;
}
}
.menu-title:hover {
.case-delete-icon {
display: block;
}
2017-08-17 16:10:43 +08:00
}
}
2017-09-19 17:20:37 +08:00
.container {
display: block;
width: 100%;
padding: 10px;
}
/*
* note that styling gu-mirror directly is a bad practice because it's too generic.
* you're better off giving the draggable elements a unique class and styling that directly!
*/
.gu-mirror {
padding: 10px;
background-color: rgba(0, 0, 0, 0.2);
transition: opacity 0.4s ease-in-out;
}
.container div {
cursor: move;
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
margin-bottom: 10px;
}
.container div:last-child {
margin-bottom: 0;
}
.gu-mirror {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
.container .ex-moved {
background-color: #e74c3c;
}
.container.ex-over {
background-color: rgba(255, 255, 255, 0.3);
}
.handle {
padding: 0 5px;
margin-right: 5px;
background-color: rgba(0, 0, 0, 0.4);
cursor: move;
}
2017-09-20 20:21:58 +08:00
.report{
min-height: 400px;
.case-report-pane{
margin-top: 10px;
}
.case-report{
margin: 10px;
2017-09-21 12:13:05 +08:00
2017-09-20 20:21:58 +08:00
.case-report-title{
font-size: 14px;
font-weight: bold;
text-align: right;
padding-right: 20px;
}
}
}
.interface-col{
padding: 16px;
2017-09-21 12:13:05 +08:00
}