-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4c5c02
commit 93e2928
Showing
47 changed files
with
8,437 additions
and
4,506 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-64.6 KB
(32%)
apps/mc-web/src/assets/fonts/roboto/Roboto-MediumItalic.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,17 +1,34 @@ | ||
@import '~@ptsecurity/mosaic/visual'; | ||
@import './styles/variables'; | ||
@import './styles/fonts'; | ||
|
||
@import '~@ptsecurity/mosaic/visual.scss'; | ||
@import '~@ptsecurity/mosaic-icons/dist/styles/mc-icons.css'; | ||
|
||
@import 'styles/font'; | ||
@include mosaic-visual(); | ||
|
||
@import './styles/common'; | ||
@import './styles/default-theme/theme'; | ||
|
||
$typography: mc-typography-config(); | ||
|
||
// Include all typography for the components. | ||
@include mc-core($typography); | ||
|
||
@import 'app/app.theme'; | ||
@mixin app-theme($theme) { | ||
|
||
body, | ||
.theme-wrapper { | ||
margin: 0; | ||
padding: 0; | ||
$background: map-get($theme, background); | ||
$foreground: map-get($theme, foreground); | ||
|
||
background: mc-color($background, background); | ||
color: mc-color($foreground, text); | ||
|
||
@include mosaic-theme($theme); | ||
} | ||
|
||
.theme-wrapper { | ||
width: 100%; | ||
height: 100vh; | ||
.theme-default { | ||
&.active-blue { | ||
|
||
// Include all theme styles for the mosaic components. | ||
@include app-theme($default-light-theme); | ||
} | ||
} |
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 @@ | ||
.pt-icon { | ||
width: 32px; | ||
height: 32px; | ||
background: url('/assets/images/pt-logo-32.svg') no-repeat 100%; | ||
} | ||
|
||
.pt-icon_big { | ||
width: 64px; | ||
height: 64px; | ||
background: url('/assets/images/pt-logo-64.svg') no-repeat 100%; | ||
} |
This file was deleted.
Oops, something went wrong.
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,36 @@ | ||
$roboto-font-path: '/assets/fonts/roboto'; | ||
$montserrat-font-path: '/assets/fonts/montserrat'; | ||
|
||
@mixin font($font-path, $variant, $type, $weight, $style) { | ||
$font-full-path: '#{$font-path}/#{$variant}'; | ||
|
||
@font-face { | ||
font-family: '#{$variant}'; | ||
src: local('#{$variant} #{$type}'), | ||
local('#{$variant}-#{$type}'), | ||
url('#{$font-full-path}-#{$type}.woff') format('woff'); | ||
font-weight: $weight; | ||
font-style: $style; | ||
} | ||
|
||
@font-face { | ||
font-family: '#{$variant}-#{$type}'; | ||
src: local('#{$variant} #{$type}'), | ||
local('#{$variant}-#{$type}'), | ||
url('#{$font-full-path}-#{$type}.woff') format('woff'); | ||
} | ||
} | ||
|
||
@include font($roboto-font-path, 'Roboto', 'Italic', 400, italic); | ||
@include font($roboto-font-path, 'Roboto', 'Medium', 500, normal); | ||
@include font($roboto-font-path, 'Roboto', 'MediumItalic', 500, italic); | ||
@include font($roboto-font-path, 'Roboto', 'Regular', 400, normal); | ||
|
||
@include font($roboto-font-path, 'RobotoMono', 'Italic', 400, italic); | ||
@include font($roboto-font-path, 'RobotoMono', 'Medium', 500, normal); | ||
@include font($roboto-font-path, 'RobotoMono', 'MediumItalic', 500, italic); | ||
@include font($roboto-font-path, 'RobotoMono', 'Regular', 400, normal); | ||
|
||
@include font($montserrat-font-path, 'Montserrat', '500', 500, normal); | ||
@include font($montserrat-font-path, 'Montserrat', '600', 600, normal); | ||
@include font($montserrat-font-path, 'Montserrat', 'Regular', 400, normal); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
$images-path: '/assets/images'; | ||
$pt-icons-font-path: '~pt-product-icons/dist/fonts'; | ||
$mc-icons-font-path: '~@ptsecurity/mosaic-icons/dist/fonts/'; | ||
|
||
:root { | ||
--main-content-padding: 48px; | ||
} |
Oops, something went wrong.