CSS fixup

This commit is contained in:
gaelle morin 2020-02-24 15:10:02 +01:00
parent 3e14cb91a4
commit 68961182ff
No known key found for this signature in database
GPG Key ID: BC97AADCB48B7F27
6 changed files with 18 additions and 10 deletions

View File

@ -475,7 +475,7 @@ a,
}
}
&.test {
&.flex {
display: flex;
}

View File

@ -29,7 +29,7 @@
display: flex;
flex-direction: row-reverse;
font-weight: bold;
padding: 1.6rem;
padding: 1.2rem;
&[active] {
background-color: $color-46-100-67;
@ -97,10 +97,9 @@
.project-tab>div>sib-display>div:nth-child(1) {
sib-set-default[name='project'] {
padding: 1rem 1rem 1rem 3.2rem;
.project-customer,
.project-name {
.project-name>div {
display: block;
overflow: hidden;
text-overflow: ellipsis;
@ -113,6 +112,7 @@
}
.project-name {
display: block;
padding-left: 14px;
width: calc(150px - 10px);
/* 10px = padding of the sib-set-default = better alignment */
@ -126,7 +126,7 @@
/* End of specific styles of "Projects" tab */
>sib-display.nosub>div>sib-display>div {
padding: 1rem 1rem 1rem 3.2rem;
padding: 1rem 1rem 1rem 3rem;
}
sib-display>div {
@ -147,7 +147,7 @@
cursor: pointer;
>menu-fix-url-circle>sib-display>div,
>menu-fix-url-project>sib-display>div {
padding: 1rem 1rem 1rem 3.2rem;
padding: 1rem 1rem 1rem 3rem;
}
}

View File

@ -163,6 +163,14 @@
span {
font-weight: bold;
&.link-color {
color: $color-244-73-62;
}
&.norm-weight {
font-weight: normal;
}
}
}
}

View File

@ -12,6 +12,6 @@ sib-widget(name='hd-customer')
ul
li #[span(class='mdi-account-outline') ${await value.firstName} ${await value.lastName ? await value.lastName : ""}]${await value.role ? `, ${await value.role}` : ""}
li
span(class='mdi-email-outline')
span(class='link-color norm-weight mdi-email-outline')
a(href='mailto:${await value.email}') ${await value.email}
span ${await value.phone ? `<li><span class='mdi-cellphone-iphone'>${await value.phone}</span></li>` : ``}
span ${await value.phone ? `<li><span class='norm-weight mdi-cellphone-iphone'>${await value.phone}</span></li>` : ``}

View File

@ -69,7 +69,7 @@
sib-widget(name='admin-circle-join-button')
template
sib-form.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-arrow-right-circle.test(
sib-form.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-arrow-right-circle.flex(
data-src='${value}'
fields='user.@id'

View File

@ -49,7 +49,7 @@ sib-router(default-route='circle-profile', hidden)
sib-widget(name='circle-join-button')
template
button.button.btn-margin-left.text-bold.text-uppercase.reversed.button-dark.bordered.with-icon.icon-arrow-right-circle.test
button.button.btn-margin-left.text-bold.text-uppercase.reversed.button-dark.bordered.with-icon.icon-arrow-right-circle.flex
sib-form(
data-src=''
nested-field='members'