.pic, .pic-list, .pic-list > li, .pic-list > li > *, .pic-list .pic, .pic-list .facts, .pic-list .facts .head, .pic-list .facts .body { display: block; position: relative; margin: 0; padding: 0; } .pic { overflow: hidden; img { max-width: 100%; max-height: 100%; vertical-align: top; } &.bordered { border: solid 1px $main-border-color; } &.rounded { @include border-radius(3px); } &.round, &.initials { @include border-radius( 500px ); img { @include border-radius( 500px ); } } } .pic-list { list-style: none; & > li { margin: 0; border: none; border-bottom: solid 1px $main-border-color; &:last-child { border-bottom: none; } & > * { padding: 5px 0; $pic_size: $line-height-computed * 2 + 10; @include clearfix; .pic { width: $pic_size; border: solid 1px $main-border-color; float: left; img { max-width: 100%; width: 100%; } } .facts { padding: 5px 0; margin-left: $pic_size + 10; .head { line-height: $line-height-computed; font-size: $font-size-small; font-weight: bold; } .body { line-height: $line-height-computed; font-size: $font-size-base; font-weight: normal; } } } } } .box > .body > .pic-list { margin: -10px; } img.responsive { width: 100%; max-width: 100%; } img.avatar, img.logo { width: 30px; vertical-align: top; display: inline-block; &.big { max-width: 120px; border-radius: 80px; } &.xs { width: 18px; } &.sm { width: 24px; } &.lg { width: 40px; } &.xl { width: 60px; } &.xxl { width: 80px; } } img.avatar { border-radius: 60px; } img.logo { border-radius: 5px; } img.flag { width: 30px; box-shadow: 0 0 3px 0 #999; } .image-card, .image_card { display: block; position: relative; margin: 0; padding: 0 0 0 #{ $line-height-computed * 2 + 8px }; color: #444; img { display: block; position: absolute; top: 0; left: 0; width: $line-height-computed * 2; } p { line-height: $line-height-computed; margin: 0; } } a.image-card, a.image_card { text-decoration: none; &:hover { text-decoration: none; color: $blue; } } // responsive background: // background-color: rgba(255,255,255,.50); // background-image: image-url("shiftchange_black.png"); // background-position: center center; // background-repeat: no-repeat; // background-size: contain;