| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- @import '_variables';
- .quote {
- margin-top: 10px;
- border: solid 1px var(--dark_grey);
- border-radius: 10px;
- background-color: var(--bg_elements);
- overflow: auto;
- padding: 6px;
- position: relative;
- pointer-events: all;
- &:hover {
- border-color: var(--grey);
- }
- &.unavailable:hover {
- border-color: var(--dark_grey);
- }
- }
- .unavailable-quote {
- padding: 6px;
- }
- .quote-link {
- height: 100%;
- width: 100%;
- left: 0;
- top: 0;
- position: absolute;
- }
- .quote .quote-link {
- z-index: 1;
- }
- .quote-text {
- overflow: hidden;
- white-space: pre-wrap;
- word-wrap: break-word;
- }
- .quote-media-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow: hidden;
- max-height: 102px;
- width: 102px;
- float: left;
- margin-right: 7px;
- border-radius: 7px;
- position: relative;
- }
- .quote-media {
- display: flex;
- justify-content: center;
- pointer-events: none;
- img {
- width: 100%;
- height: 100%;
- align-self: center;
- }
- }
- .quote-badge {
- left: 0;
- bottom: 0;
- position: absolute;
- z-index: 1;
- align-self: flex-end;
- }
- .quote-badge-text {
- margin: 4px;
- background: $shadow;
- border-radius: 4px;
- color: #fffffff0;
- padding: 1px 3px;
- font-size: 12px;
- font-weight: bold;
- }
- .quote-sensitive {
- background: var(--darker_grey);
- width: 102px;
- height: 102px;
- border-radius: 12px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .quote-sensitive-icon {
- font-size: 40px;
- color: var(--grey);
- }
- @media(max-width: 600px) {
- .quote-media-container {
- width: 70px;
- max-height: 70px;
- }
- }
|