matrix-dimension/web/app/integration-bag/integration-bag.component.scss

55 lines
995 B
SCSS
Raw Normal View History

2017-12-15 23:22:34 -05:00
// component styles are encapsulated and only applied to their components
.integration-bag {
display: flex;
flex-direction: row;
align-items: stretch;
flex-wrap: wrap;
justify-content: flex-start;
}
.integration {
border: 1px solid #eee;
border-radius: 5px;
margin: 7px;
padding: 6px;
2017-12-15 23:22:34 -05:00
width: calc(325px - 14px);
position: relative;
2017-12-16 00:27:20 -05:00
cursor: pointer;
}
.integration .integration-arrow {
display: none;
position: absolute;
top: calc(50% - 12px); // icon happens to be 24px tall
right: 1px;
2017-12-16 00:27:20 -05:00
color: #bbb;
}
.integration:hover {
box-shadow: 0 0 9px #888;
}
.integration:hover .integration-arrow {
display: block;
2017-12-15 23:22:34 -05:00
}
.integration .integration-avatar {
width: 50px;
height: 50px;
float: left;
}
.integration .integration-name {
display: inline-block;
font-size: 1.1em;
font-weight: 100;
2017-12-16 00:27:20 -05:00
padding-left: 10px;
2017-12-15 23:22:34 -05:00
}
.integration .integration-description {
display: block;
font-size: 0.8em;
2017-12-16 00:27:20 -05:00
margin-left: 60px;
margin-right: 5px;
2017-12-15 23:22:34 -05:00
color: #999;
}