blob: a12540b84378f8a325b7952bea9566e91d9354f3 [file] [log] [blame]
avm9996358697fe2021-08-17 11:20:51 +02001/* Snackbar */
avm99963a007d492021-05-02 12:32:03 +02002.TWPT-pane-for-snackbar {
3 height: 48px;
4 position: fixed;
5 left: 0;
6 right: 0;
7 bottom: 0;
8 z-index: 9999;
9 display: flex;
10 pointer-events: none;
11}
12
13.TWPT-snackbar {
14 display: flex;
15 align-self: flex-end;
16 justify-content: center;
17 flex: 1;
18 font-size: 15px;
19 font-weight: 400;
20 overflow: hidden;
21 pointer-events: none!important;
22}
23
24.TWPT-snackbar .TWPT-animation-container {
25 max-width: 616px;
26 min-width: 320px;
27 overflow: hidden;
28 pointer-events: auto;
29 transition: all 218ms cubic-bezier(.4, 0, 1, 1);
30}
31
32.TWPT-notification-bar {
33 background: #323232;
34 border-radius: 2px;
35 box-sizing: border-box;
36 color: #fff;
37 display: flex;
38 height: 48px;
39 padding: 6px 24px;
40}
41
42.TWPT-notification-bar focus-trap {
43 display: flex;
44 width: 100%;
45}
46
47.TWPT-notification-bar .TWPT-focus-content-wrapper {
48 display: flex;
49 height: 100%;
50 width: 100%;
51 max-height: inherit;
52 min-height: inherit;
53}
54
55.TWPT-notification-bar .TWPT-badge {
56 margin: auto 10px auto 0;
57}
58
59.TWPT-notification-bar .TWPT-message {
60 display: flex;
61 margin: auto;
62 flex: 1;
63 white-space: pre-line;
64}
65
66.TWPT-notification-bar .TWPT-action {
67 display: flex;
68 align-items: center;
69 color: #c6dafc;
70 cursor: pointer;
71 font-size: 14px;
72 font-weight: 700;
73 margin-left: 24px;
74 padding: 0;
75 text-transform: uppercase;
76}
77
78.TWPT-snackbar.TWPT-hidden {
79 display: none;
80}
avm9996358697fe2021-08-17 11:20:51 +020081
82/* Status indicator */
83.TWPT-autorefresh-status-indicator-container {
84 position: relative;
85 padding: 0 8px;
86 height: 46px;
87 display: flex;
88 flex-direction: row;
89 align-items: center;
90 cursor: help;
91}
92
93.TWPT-autorefresh-status-indicator {
94 width: 24px;
95 height: 24px;
96 border-style: solid;
97 border-width: 3px;
98 border-radius: 50%;
99 font-family: 'Google Material Icons';
100 text-align: center;
101 font-size: 17px;
102 line-height: 24px;
103 user-select: none;
104}
105
106.TWPT-autorefresh-status-indicator--active {
107 color: #202124;
108 background: #e3f2fd;
109 border-color: #2389e3;
110}
111
112.TWPT-autorefresh-status-indicator--muted {
113 color: #5f6368;
114 background: #f1f3f4;
115 border-color: #757575;
116}
117
118.TWPT-autorefresh-status-indicator--disabled {
119 color: #c5221f;
120 background: #fce8e6;
121 border-color: #c5221f;
122}
123
124.TWPT-autorefresh-status-indicator-container .TWPT-badge {
125 --icon-size: 13px;
126 position: absolute;
127 bottom: 2px;
128 right: 1px;
129}