fix: classes added to button[type='submit'] after core 0.17 update (survivors are treated)

This commit is contained in:
gaelle morin 2021-05-13 12:53:20 +02:00
parent 17a83bc2b1
commit e5e272b35c
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
7 changed files with 25 additions and 8 deletions

View File

@ -105,6 +105,12 @@ hubl-menu-empty+hubl-menu-empty {
}
}
.reset-button button {
border: none;
cursor: pointer;
background: transparent;
}
.submit-button {
float: right;
margin-top: 10px;

View File

@ -256,9 +256,20 @@ nav#main__menu {
left: calc(100% - 47px);
padding-top: 5px;
button::before {
font-size: 18px;
color: white;
button {
background: none;
border: none;
cursor: pointer;
display: inline-block;
padding: 0;
vertical-align: middle;
user-select: none;
text-decoration: none;
&::before {
font-size: 18px;
color: white;
}
}
}
}

View File

@ -115,7 +115,7 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
widget-user.username='solid-form-hidden'
submit-button=''
submit-widget="button"
submit-widget="button reset-button"
data-trans='submit-button=project.list.buttonJoin'
)
hubl-reactivity(data-src=`${getComponent('projects').endpoints.get}` target-src='${value}')

View File

@ -53,7 +53,7 @@ div(
solid-ac-checker(permission='acl:Delete', data-src="${src}")
solid-ac-checker(no-permission='acl:Delete', data-src="${src}", nested-field='circle')
solid-delete(
class='button text-xsmall text-bold text-uppercase color-secondary bordered'
class='segment text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-color-secondary bordered'
data-src="${src}"
data-label=''
data-trans='data-label=circle.profile.buttonQuit'

View File

@ -11,7 +11,7 @@
class-name="segment margin-bottom-medium full sm-full padding-right-small sm-padding-none text-small input-bg-white children-shadow"
submit-button=""
submit-widget="button"
class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall"
class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-reversed color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall"
data-trans='placeholder-name=communities.list.searchBy;submit-button=communities.list.searchButton'
)
div.segment.sm-full.text-right(style='float:right')

View File

@ -13,7 +13,7 @@
submit-button=""
submit-widget="button"
class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall"
class-submit-button="search-button segment sm-full text-xsmall children-link-button children-link-text-bold children-link-text-uppercase children-link-reversed color-secondary bordered children-icon-arrow-right-circle children-icon-small children-icon-margin-right-xsmall"
data-trans='placeholder-filter=communities.list.searchBy;submit-button=communities.list.searchButton'
)
div.segment.sm-full.text-right(style='float:right')

View File

@ -61,7 +61,7 @@ div
li.border-bottom.border-color-grey
solid-link.segment.padding-small.text-hover(next=getRoute('about', true) data-trans='header.about')
li
button.segment.padding-small.text-hover.text-semibold.text-color-heading(role='log out' onclick="document.querySelector('sib-auth').logout();" data-trans='header.logOut')
button.segment.padding-small.text-hover.text-semibold.text-color-heading(role='log out' onclick="document.querySelector('sib-auth').logout();" style="background: none; border: none; cursor: pointer; user-select: none;" data-trans='header.logOut')
//- User menu visible on small screens
details.user-menu.segment.lg-hidden.user-controls