fix admin new role button
parent
ea1b08b626
commit
6d879085c5
|
@ -6,6 +6,5 @@ section.admin-submenu.admin-submenu-roles
|
||||||
span.single-role {{ item.name }}
|
span.single-role {{ item.name }}
|
||||||
|
|
||||||
div(tg-new-role)
|
div(tg-new-role)
|
||||||
a.button-gray.add-button(href="", title="{{'ADMIN.SUBMENU_ROLES.TITLE_ACTION_NEW_ROLE' | translate}}")
|
a.button-gray.add-button(href="", title="{{'ADMIN.SUBMENU_ROLES.TITLE_ACTION_NEW_ROLE' | translate}}", translate="ADMIN.SUBMENU_ROLES.ACTION_NEW_ROLE")
|
||||||
span.text(translate="ADMIN.SUBMENU_ROLES.ACTION_NEW_ROLE")
|
|
||||||
input(type="text", class="hidden new")
|
input(type="text", class="hidden new")
|
||||||
|
|
|
@ -8,27 +8,29 @@
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a {
|
ul {
|
||||||
color: $white;
|
a {
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
padding: 1rem 0 1rem 1rem;
|
|
||||||
&:hover {
|
|
||||||
background: lighten($dark-taiga, 3%);
|
|
||||||
color: $white;
|
color: $white;
|
||||||
transition: all .2s;
|
display: flex;
|
||||||
}
|
justify-content: space-between;
|
||||||
&.active {
|
padding: 1rem 0 1rem 1rem;
|
||||||
background: lighten($dark-taiga, 10%);
|
&:hover {
|
||||||
color: $white;
|
background: lighten($dark-taiga, 3%);
|
||||||
transition: all .2s;
|
color: $white;
|
||||||
}
|
transition: all .2s;
|
||||||
span {
|
}
|
||||||
display: block;
|
&.active {
|
||||||
max-width: 85%;
|
background: lighten($dark-taiga, 10%);
|
||||||
overflow: hidden;
|
color: $white;
|
||||||
text-overflow: ellipsis;
|
transition: all .2s;
|
||||||
white-space: nowrap;
|
}
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
max-width: 85%;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
input {
|
input {
|
||||||
|
@ -36,6 +38,8 @@
|
||||||
width: 85%;
|
width: 85%;
|
||||||
}
|
}
|
||||||
.button-gray {
|
.button-gray {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
padding: .5rem 0;
|
padding: .5rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue