Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/workbench/browser/parts/notifications/media/notificationsToasts.css
3296 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
.monaco-workbench > .notifications-toasts {
7
position: absolute;
8
z-index: 1000;
9
right: 3px;
10
bottom: 25px; /* 22px status bar height + 3px */
11
display: none;
12
overflow: hidden;
13
}
14
15
.monaco-workbench.nostatusbar > .notifications-toasts {
16
bottom: 3px;
17
}
18
19
.monaco-workbench > .notifications-toasts.visible {
20
display: flex;
21
flex-direction: column;
22
}
23
24
.monaco-workbench > .notifications-toasts .notification-toast-container {
25
overflow: hidden; /* this ensures that the notification toast does not shine through */
26
}
27
28
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast {
29
margin: 4px; /* enables separation and drop shadows around toasts */
30
transform: translate3d(0px, 100%, 0px); /* move the notification 50px to the bottom (to prevent bleed through) */
31
opacity: 0; /* fade the toast in */
32
transition: transform 300ms ease-out, opacity 300ms ease-out;
33
}
34
35
.monaco-workbench > .notifications-toasts .notifications-list-container,
36
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast,
37
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-scrollable-element,
38
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-list:not(.element-focused):focus:before,
39
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast .monaco-list-row {
40
border-radius: 4px;
41
}
42
43
.monaco-workbench.reduce-motion > .notifications-toasts .notification-toast-container > .notification-toast {
44
transition: transform 0ms ease-out, opacity 0ms ease-out;
45
}
46
47
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast.notification-fade-in {
48
opacity: 1;
49
transform: none;
50
}
51
52
.monaco-workbench > .notifications-toasts .notification-toast-container > .notification-toast.notification-fade-in-done {
53
opacity: 1;
54
transform: none;
55
transition: none;
56
}
57
58
/* Icons */
59
60
.monaco-workbench > .notifications-toasts .codicon.codicon-error {
61
color: var(--vscode-notificationsErrorIcon-foreground) !important;
62
}
63
64
.monaco-workbench > .notifications-toasts .codicon.codicon-warning {
65
color: var(--vscode-notificationsWarningIcon-foreground) !important;
66
}
67
68
.monaco-workbench > .notifications-toasts .codicon.codicon-info {
69
color: var(--vscode-notificationsInfoIcon-foreground) !important;
70
}
71
72