-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(auth): remove bootstrap, use custom styles (#738)
- Loading branch information
Showing
28 changed files
with
733 additions
and
603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
.framework-options-bar { | ||
display: flex; | ||
} | ||
|
||
/deep/ { | ||
.options-bar { | ||
display: flex; | ||
align-items: center; | ||
} | ||
.options-show { | ||
margin-left: auto; | ||
} | ||
.options-show.fixed { | ||
position: fixed; | ||
right: 0; | ||
top: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** | ||
* @license | ||
* Copyright Akveo. All Rights Reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
*/ | ||
|
||
@mixin nb-auth-theme() { | ||
nb-auth .navigation .link .icon { | ||
font-weight: nb-theme(font-weight-bold); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/framework/auth/components/auth-block/auth-block.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
:host /deep/ { | ||
$auth-layout-padding: 2.5rem; | ||
@import '../../theme/styles/global/breakpoints'; | ||
|
||
nb-layout .layout .layout-container .content .columns nb-layout-column { | ||
padding: $auth-layout-padding; | ||
} | ||
:host { | ||
$auth-layout-padding: 2.5rem; | ||
|
||
nb-card { | ||
margin: 0; | ||
height: calc(100vh - 2 * #{$auth-layout-padding}); | ||
} | ||
|
||
nb-card-header { | ||
a { | ||
text-decoration: none; | ||
i { | ||
font-size: 2rem; | ||
font-weight: bold; | ||
} | ||
.navigation .link { | ||
text-decoration: none; | ||
|
||
.icon { | ||
font-size: 2rem; | ||
} | ||
} | ||
|
||
nb-card { | ||
margin: 0; | ||
} | ||
.flex-centered { | ||
margin: auto; | ||
} | ||
nb-card-body { | ||
display: flex; | ||
width: 100%; | ||
} | ||
|
||
// TODO rewrite when develop responsive | ||
@media (max-width: 550px) { | ||
/deep/ nb-layout .layout .layout-container .content .columns nb-layout-column { | ||
padding: 0; | ||
} | ||
nb-auth-block { | ||
margin: auto; | ||
} | ||
|
||
@include media-breakpoint-down(sm) { | ||
nb-card { | ||
border-radius: 0; | ||
height: 100vh; | ||
} | ||
} | ||
|
||
/deep/ { | ||
nb-layout .layout .layout-container .content .columns nb-layout-column { | ||
padding: $auth-layout-padding; | ||
|
||
@include media-breakpoint-down(sm) { | ||
padding: 0; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.