@charset 'UTF-8'; .webhooks__container { @include border-radius(3px); @include alpha-property(background, $black, .1); border: 1px solid; margin-top: 10px; padding: 0 13px 15px; } .webhook__item { font-size: 13px; position: relative; &:last-child { .divider-light:last-child { display: none; } } .webhook__remove { color: #e05f5d; font-size: 22px; font-weight: bold; height: 30px; position: absolute; right: -7px; text-align: center; text-decoration: none; top: 8px; width: 30px; } .webhook__url { padding-right: 20px; } } .post { .attachment { .attachment__content { border-radius: 4px; border-style: solid; border-width: 1px; margin: 0 0 5px 0; padding: 2px 5px; } .attachment__thumb-pretext { background: transparent; border: none; margin-left: 5px; } .attachment__container { border-left-style: solid; border-left-width: 4px; padding: 10px; &.attachment__container--good { border-left-color: #00c100; } &.attachment__container--warning { border-left-color: #dede01; } &.attachment__container--danger { border-left-color: #e40303; } .sitename { color: #A3A3A3; } } .attachment__body { float: left; overflow-x: auto; overflow-y: hidden; padding-right: 5px; width: 80%; &.attachment__body--no_thumb { width: 100%; } .attachment__image { margin-bottom: 0; max-height: 150px; max-width: 150px; &.loading { height: 150px; } } } .attachment__text p:last-of-type { display: inline-block; } .attachment__image { margin-bottom: 1em; max-height: 300px; max-width: 500px; } .attachment__author-name { @include opacity(.6); } .attachment__title { font-size: 14px; font-weight: 600; height: 22px; line-height: 18px; margin: 5px 0; padding: 0; &.has-link { color: #2f81b7; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } } .attachment-link-more { display: inline-block; font-size: .9em; margin: 5px 0; } .attachment__author-icon { @include border-radius(50px); height: 14px; margin-right: 5px; width: 14px; } .attachment__thumb-container { float: right; text-align: right; width: 80px; img { max-height: 75px; max-width: 100%; } } .attachment-fields { width: 100%; .attachment-field__caption { font-weight: 600; padding-top: .7em; } .attachment-field { p { margin: 0; } } } } }