.connections { padding: 1em; } .connections .box { max-width: 25em; margin: 0 auto; } .action-bar .connections-sum { padding: .4em; margin-top: .9em; margin-right: .5em; background-color: #1e88e5; border-radius: 0.1em; box-shadow: 0 0 0.4em #666; } /* List */ .connections .item { display: block; padding: 1em; border-bottom: 1px solid #DDD; } .connections .item > button { float: right; margin: 0; } .connections .item > p { margin: .1em 0; } .connections .item > p.important { font-size: 1.2em; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }