feat: update website avatar
This commit is contained in:
parent
a9d26e3147
commit
1dff93f00c
4 changed files with 14 additions and 10 deletions
|
|
@ -5,6 +5,7 @@
|
|||
@import 'base';
|
||||
@import 'multilevel_dropdown';
|
||||
@import 'website_image';
|
||||
@import 'website_avatar';
|
||||
@import 'page_builder';
|
||||
@import 'blog';
|
||||
@import 'markdown';
|
||||
|
|
|
|||
|
|
@ -57,3 +57,8 @@
|
|||
color: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link.nav-avatar {
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
8
frappe/public/scss/website/website_avatar.scss
Normal file
8
frappe/public/scss/website/website_avatar.scss
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@import '../desk/avatar';
|
||||
|
||||
:root,
|
||||
[data-theme="dark"] {
|
||||
--avatar-frame-color: var(--gray-500);
|
||||
--avatar-frame-bg: var(--gray-100);
|
||||
--avatar-frame-border: var(--gray-100);
|
||||
}
|
||||
|
|
@ -20,16 +20,6 @@ img:after {
|
|||
padding: 50% 0;
|
||||
}
|
||||
|
||||
.standard-image {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: $border-radius;
|
||||
border: 1px solid $border-color;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.website-image-placeholder {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue