Skip to content

Commit

Permalink
Add login/logout actions
Browse files Browse the repository at this point in the history
  • Loading branch information
msaladna committed Feb 23, 2021
1 parent 1b861a0 commit 9454aca
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scss/apnscp/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,13 @@ body.ui-swap-buttons {
&:active {
color: $dropdown-link-active-color;
}
.fa {
.ui-action {
display: flex;
padding-left: 1rem;
margin-left: auto;
&:before {
margin-right: 0;
}
}
}

Expand Down
13 changes: 13 additions & 0 deletions scss/apnscp/_icons-actions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -329,4 +329,17 @@

.ui-action-notification.inactive {
@extend .fa-bell-o;
}

.ui-action-login {

@extend .fa-sign-in;
}

.ui-action-logout {
@extend .fa-sign-out;
}

.ui-action-revert-login {
@extend .fa-users;
}
2 changes: 1 addition & 1 deletion scss/apnscp/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ body.ui-swap-buttons #ui-full-flex-wrap > .ui-app-row {
}

.ui-menu-category-logout:before {
@extend .fa-sign-out;
@extend .ui-action-logout;
}

.ui-menu-category-feedback:before {
Expand Down

0 comments on commit 9454aca

Please sign in to comment.