_notification.scss
ASCII text
1/* Notifications & Message Tray */ 2 3// Banner notifications 4.notification-banner { 5min-height: $menuitem-size * 2; 6width: 34em; 7margin: 5px; 8border: 0; 9border-radius: $corner-radius; 10font-size: 1em; 11 12&, 13&:focus, 14&:hover, 15&:active { 16box-shadow: $shadow-z4; 17background-color: $surface-z8; 18color: $on-surface; 19} 20 21@if $version == 3.34 { 22&, 23&:focus, 24&:active { 25.message-title { 26color: $on-surface; 27} 28 29.message-content { 30color: hint($on-surface); 31} 32} 33 34.message-icon-bin > StIcon { 35color: inherit; 36} 37 38StEntry { 39@extend %entry; 40} 41} 42 43.notification-actions { 44spacing: 0; 45padding-top: 0; 46border-top: 0; 47background-color: transparent; 48color: inherit; 49} 50 51.notification-button { 52@extend %bubble_button; 53} 54} 55 56// counter 57.summary-source-counter { 58-shell-counter-overlap-x: 3px; 59-shell-counter-overlap-y: 3px; 60height: 1.6em; 61width: 1.6em; 62border: 0; 63border-radius: .8em; 64box-shadow: $shadow-z4; 65background-color: $primary; 66color: $on-primary; 67font-weight: bold; 68font-size: 1em; 69} 70 71// chat bubbles 72.chat-body { 73spacing: 5px; 74} 75 76.chat-response { 77margin: 5px; 78} 79 80.chat-log-message { 81color: $on-surface; 82} 83 84.chat-new-group { 85padding-top: 1em; 86} 87 88.chat-received { 89padding-left: 4px; 90 91&:rtl { 92padding-left: 0; 93padding-right: 4px; 94} 95} 96 97.chat-sent { 98padding-left: 18pt; 99color: hint($on-surface); 100 101&:rtl { 102padding-left: 0; 103padding-right: 18pt; 104} 105} 106 107.chat-meta-message { 108padding-left: 4px; 109color: hint($on-surface); 110@include type(caption); 111 112&:rtl { 113padding-left: 0; 114padding-right: 4px; 115} 116} 117