/** * Events labels * */ .event_label { &.pushed { padding: 0 2px; } &.opened { padding: 0 2px; } &.closed { padding: 0 2px; } &.merged { padding: 0 2px; } &.left, &.joined { padding: 0 2px; float: none; } } /** * Dashboard events feed * */ .event-item { &:first-child { padding-top: 0; } &.event-inline { .avatar { position: relative; top: -2px; } } padding: 12px 0px; border-bottom: 1px solid #eee; .event-title { max-width: 70%; @include str-truncated(calc(100% - 174px)); font-weight: 500; font-size: 14px; .author_name { color: #333; } } .event-body { font-size: 13px; margin-left: 35px; margin-right: 80px; color: #777; .event-note { margin-top: 5px; word-wrap: break-word; .md { font-size: 13px; iframe.twitter-share-button { vertical-align: bottom; } } pre { border: none; background: #f9f9f9; border-radius: 0; color: #777; margin: 0 20px; overflow: hidden; } .note-image-attach { margin-top: 4px; margin-left: 0px; max-width: 200px; float: none; } p:last-child { margin-bottom: 0; } } .event-note-icon { color: #777; float: left; font-size: 16px; line-height: 16px; margin-right: 5px; } } .event_icon { position: relative; float: right; border: 1px solid #EEE; padding: 5px; @include border-radius(5px); background: #F9F9F9; margin-left: 10px; top: -6px; img { width: 20px; } } &:last-child { border:none } .event_commits { margin-top: 5px; li { &.commit { background: transparent; padding: 3px; padding-left: 0; border: none; .commit-row-title { font-size: 12px; } } &.commits-stat { display: block; padding: 3px; padding-left: 0; &:hover { background: none; } } } } .event-item-timestamp { float: right; color: #999; line-height: 22px; } } /* * Last push widget */ .event-last-push { overflow: auto; .event-last-push-text { @include str-truncated(100%); padding: 5px 0; font-size: 13px; float:left; margin-right: -150px; padding-right: 150px; line-height: 20px; } } @media (max-width: $screen-xs-max) { .event-item { .event-title { white-space: normal; overflow: visible; max-width: 100%; } .avatar { display: none; } .event-body { margin: 0; border-left: 2px solid #DDD; padding-left: 10px; } .event-item-timestamp { display: none; } } } .event_filter { li a { font-size: 13px; padding: 5px 10px; background: $background-color; margin-left: 4px; } }