mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
0fc1c53a8e
* Add reusable empty state for the right panel Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Improve coverage Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
/*
|
|
Copyright 2024 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_EmptyState {
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
padding: var(--cpd-space-4x);
|
|
text-align: center;
|
|
|
|
svg {
|
|
width: 56px;
|
|
height: 56px;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
padding: var(--cpd-space-3x);
|
|
background-color: $panel-actions;
|
|
}
|
|
|
|
&::before {
|
|
/* Bloom using magic numbers directly out of Figma */
|
|
content: "";
|
|
position: absolute;
|
|
z-index: -1;
|
|
width: 642px;
|
|
height: 775px;
|
|
right: -253.77px;
|
|
top: 0;
|
|
background: radial-gradient(49.95% 49.95% at 50% 50%, rgba(13, 189, 139, 0.12) 0%, rgba(18, 115, 235, 0) 100%);
|
|
transform: rotate(-89.69deg);
|
|
overflow: hidden;
|
|
}
|
|
}
|