admin-project: table ok + icon added in sidebar

This commit is contained in:
gaelle morin 2020-01-08 00:59:44 +01:00
parent 235d3f7f97
commit 1ca894298e
No known key found for this signature in database
GPG Key ID: BC97AADCB48B7F27
6 changed files with 25 additions and 10 deletions

View File

@ -90,6 +90,7 @@
class-name='w33 cell border' class-name='w33 cell border'
class-owner='w33 cell border' class-owner='w33 cell border'
class-buttons='w33 cell border'
widget-buttons="admin-circle-buttons" widget-buttons="admin-circle-buttons"
action-buttons="buttons" action-buttons="buttons"

View File

@ -27,7 +27,7 @@
sib-widget(name="admin-project-leave-button") sib-widget(name="admin-project-leave-button")
template template
sib-delete( sib-delete(
class='button btn-margin-left text-bold text-uppercase reversed button-dark bordered with-icon icon-close' class='button text-bold text-uppercase reversed button-dark bordered with-icon icon-close'
data-src="${src}" data-src="${src}"
data-label='Leave' data-label='Leave'
) )
@ -73,6 +73,11 @@
data-src=`${endpoints.projects}` data-src=`${endpoints.projects}`
fields='name, members, captain, buttons' fields='name, members, captain, buttons'
class-name='w25 cell border'
class-members='w25 cell border'
class-captain='w25 cell border'
class-buttons='w25 cell border'
widget-buttons="admin-project-buttons" widget-buttons="admin-project-buttons"
action-buttons="buttons" action-buttons="buttons"
hd-inherit-widgets hd-inherit-widgets

View File

@ -34,7 +34,8 @@ $breakpoints: (phone: 480px,
/* Quick fix. Will be removed later */ /* Quick fix. Will be removed later */
#admin-circles { #admin-circles,
#admin-projects {
display: contents; display: contents;
} }

View File

@ -189,7 +189,6 @@
flex: 3; flex: 3;
} }
hd-counter { hd-counter {
background: burlywood;
height: 20px; height: 20px;
width: 20px; width: 20px;
margin-right: 1em; margin-right: 1em;

View File

@ -72,7 +72,7 @@
} }
&[name*='circle'], &[name*='circle'],
&[name^='project'] { &[name*='project'] {
>li::before { >li::before {
font-size: 4rem; font-size: 4rem;
@ -102,6 +102,10 @@
&[name='admin-circles']>li { &[name='admin-circles']>li {
@include ci('bubble-add'); @include ci('bubble-add');
} }
&[name='admin-projects']>li {
@include ci('add');
}
} }
} }
} }

View File

@ -2,6 +2,7 @@
#circle-edit, #circle-edit,
#admin-circle-list, #admin-circle-list,
#admin-circle-create, #admin-circle-create,
#admin-project-list,
#admin-project-create { #admin-project-create {
.content-box__info { .content-box__info {
@ -60,6 +61,10 @@
word-wrap: break-word; word-wrap: break-word;
} }
.w25 {
width: 25%;
}
.w33 { .w33 {
width: 33.3333%; width: 33.3333%;
} }
@ -69,9 +74,7 @@
} }
[name="buttons"] { [name="buttons"] {
@extend .border;
@extend .cell;
@extend .w33;
} }
} }
@ -81,8 +84,10 @@
padding-top: 2.5rem; padding-top: 2.5rem;
} }
[name='members']>sib-display>div, team-template-edit>sib-display>div,
[name='owner']>sib-display>div { [name='owner']>sib-display>div,
project-captain[name='user']>sib-display>div,
[name='captain']>sib-display>div {
display: grid; display: grid;
grid-column-gap: 1.6rem; grid-column-gap: 1.6rem;
grid-template-columns: 7vh auto; grid-template-columns: 7vh auto;
@ -159,7 +164,7 @@
} }
} }
admin-circle-buttons[name='buttons'] { [name='buttons'] {
align-items: center; align-items: center;
display: flex; display: flex;
justify-content: center; justify-content: center;