feat: add template for circle admin page
This commit is contained in:
@ -260,4 +260,5 @@ sib-delete {
|
||||
// Other base components
|
||||
@import 'form';
|
||||
@import 'header';
|
||||
@import 'menu-left';
|
||||
@import 'menu-left';
|
||||
@import 'user-avatar';
|
29
src/styles/base/user-avatar.scss
Normal file
29
src/styles/base/user-avatar.scss
Normal file
@ -0,0 +1,29 @@
|
||||
.project-profile-user-avatar {
|
||||
align-self: center;
|
||||
grid-column: 1 / span 1;
|
||||
grid-row: 1 / span 2;
|
||||
display: inline;
|
||||
|
||||
* {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div {
|
||||
background-color: $color-0-0-100;
|
||||
border-radius: 50%;
|
||||
height: 7vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 7vh;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
@import 'circle-profile';
|
||||
@import 'circle-edit';
|
||||
@import 'circle-edit';
|
||||
@import 'circle-admin';
|
3
src/styles/layout/circle/circle-admin.scss
Normal file
3
src/styles/layout/circle/circle-admin.scss
Normal file
@ -0,0 +1,3 @@
|
||||
.circle-admin-join-button select[name='user'] {
|
||||
display: none;
|
||||
}
|
@ -13,11 +13,22 @@ h2 {
|
||||
justify-content: space-around;
|
||||
text-align: center;
|
||||
|
||||
>*{
|
||||
border-right: 1px solid $color-228-25-79;
|
||||
.cell {
|
||||
border-bottom: none;
|
||||
border-top: none;
|
||||
flex: 1;
|
||||
padding: 1rem;
|
||||
width: 50%;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-left: none;
|
||||
border-right: 1px solid white;
|
||||
}
|
||||
|
||||
&:not(:last-child) {
|
||||
border-left: 1px solid white;
|
||||
border-right: none;
|
||||
}
|
||||
}
|
||||
|
||||
>*:last-of-type {
|
||||
|
@ -169,30 +169,6 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
sib-display.project-profile-user-avatar {
|
||||
align-self: center;
|
||||
grid-column: 1 / span 1;
|
||||
grid-row: 1 / span 2;
|
||||
|
||||
div {
|
||||
background-color: $color-0-0-100;
|
||||
border-radius: 50%;
|
||||
height: 7vh;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 7vh;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
left: 0;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
team-template[name='members'], captain-template[name='captain'] {
|
||||
display: grid;
|
||||
grid-column-gap: 1.6rem;
|
||||
@ -231,13 +207,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.project-profile-user-avatar {
|
||||
display: inline;
|
||||
|
||||
* {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user