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