diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/package.json | 1 | ||||
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.scss | 2 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.scss | 2 | ||||
-rw-r--r-- | client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss | 2 | ||||
-rw-r--r-- | client/src/sass/bootstrap.scss | 5 | ||||
-rw-r--r-- | client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.otf.woff2 | bin | 0 -> 112112 bytes | |||
-rw-r--r-- | client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2 | bin | 0 -> 117748 bytes | |||
-rw-r--r-- | client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.otf.woff2 | bin | 0 -> 139788 bytes | |||
-rw-r--r-- | client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2 | bin | 0 -> 144620 bytes | |||
-rw-r--r-- | client/src/sass/include/_fonts.scss | 34 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 6 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 1 | ||||
-rw-r--r-- | client/yarn.lock | 5 |
13 files changed, 27 insertions, 31 deletions
diff --git a/client/package.json b/client/package.json index 7ee661193..711be41c2 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -96,7 +96,6 @@ | |||
96 | "lodash-es": "^4.17.4", | 96 | "lodash-es": "^4.17.4", |
97 | "markdown-it": "12.0.2", | 97 | "markdown-it": "12.0.2", |
98 | "mini-css-extract-plugin": "^1.3.1", | 98 | "mini-css-extract-plugin": "^1.3.1", |
99 | "npm-font-source-sans-pro": "^1.0.2", | ||
100 | "p2p-media-loader-hlsjs": "^0.6.2", | 99 | "p2p-media-loader-hlsjs": "^0.6.2", |
101 | "path-browserify": "^1.0.0", | 100 | "path-browserify": "^1.0.0", |
102 | "primeng": "^11.0.0-rc.1", | 101 | "primeng": "^11.0.0-rc.1", |
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.scss b/client/src/app/+videos/+video-watch/video-watch.component.scss index 9d8dffe3d..555126cbc 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss | |||
@@ -197,7 +197,7 @@ $video-info-margin-left: 44px; | |||
197 | line-height: 1.37; | 197 | line-height: 1.37; |
198 | 198 | ||
199 | a:nth-of-type(2) { | 199 | a:nth-of-type(2) { |
200 | font-weight: 500; | 200 | font-weight: $font-regular; |
201 | font-size: 90%; | 201 | font-size: 90%; |
202 | } | 202 | } |
203 | 203 | ||
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index f369fa17a..6a49866b1 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -15,6 +15,7 @@ $menu-link-icon-margin-right: 18px; | |||
15 | word-break: break-word; | 15 | word-break: break-word; |
16 | padding-right: 20px; | 16 | padding-right: 20px; |
17 | transition: background-color .1s ease-in-out; | 17 | transition: background-color .1s ease-in-out; |
18 | line-height: $line-height-normal; | ||
18 | 19 | ||
19 | &.active { | 20 | &.active { |
20 | background-color: rgba(255, 255, 255, 0.15); | 21 | background-color: rgba(255, 255, 255, 0.15); |
@@ -208,6 +209,7 @@ menu { | |||
208 | flex-direction: column; | 209 | flex-direction: column; |
209 | align-items: flex-start; | 210 | align-items: flex-start; |
210 | border-top: 1px solid var(--greyForegroundColor); | 211 | border-top: 1px solid var(--greyForegroundColor); |
212 | line-height: $line-height-normal; | ||
211 | 213 | ||
212 | a { | 214 | a { |
213 | @include menu-link; | 215 | @include menu-link; |
diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss index 4f53ffaf6..2b723a15a 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss | |||
@@ -27,7 +27,7 @@ | |||
27 | border-radius: 3px; | 27 | border-radius: 3px; |
28 | font-size: 12px; | 28 | font-size: 12px; |
29 | font-weight: $font-semibold; | 29 | font-weight: $font-semibold; |
30 | line-height: 1.2; | 30 | line-height: 1.1; |
31 | z-index: z(miniature); | 31 | z-index: z(miniature); |
32 | } | 32 | } |
33 | 33 | ||
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index ac53ae7a5..ade8d7033 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -88,6 +88,9 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | .badge { | ||
92 | line-height: 1.1; | ||
93 | } | ||
91 | 94 | ||
92 | @media screen and (min-width: #{breakpoint(md)}) { | 95 | @media screen and (min-width: #{breakpoint(md)}) { |
93 | .modal:before { | 96 | .modal:before { |
@@ -377,7 +380,7 @@ ngb-tooltip-window { | |||
377 | &:not(.callout-light) { | 380 | &:not(.callout-light) { |
378 | border-left-width: .25rem; | 381 | border-left-width: .25rem; |
379 | } | 382 | } |
380 | 383 | ||
381 | &.callout-info { | 384 | &.callout-info { |
382 | border-color: pvar(--mainColorLightest); | 385 | border-color: pvar(--mainColorLightest); |
383 | border-left-color: pvar(--mainColor); | 386 | border-left-color: pvar(--mainColor); |
diff --git a/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.otf.woff2 b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.otf.woff2 new file mode 100644 index 000000000..4d686e31a --- /dev/null +++ b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.otf.woff2 | |||
Binary files differ | |||
diff --git a/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2 b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2 new file mode 100644 index 000000000..6cefd8f3d --- /dev/null +++ b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2 | |||
Binary files differ | |||
diff --git a/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.otf.woff2 b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.otf.woff2 new file mode 100644 index 000000000..18aab2b90 --- /dev/null +++ b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.otf.woff2 | |||
Binary files differ | |||
diff --git a/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2 b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2 new file mode 100644 index 000000000..034bc6b9f --- /dev/null +++ b/client/src/sass/fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2 | |||
Binary files differ | |||
diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index dd1cbadb3..be1132160 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss | |||
@@ -1,23 +1,15 @@ | |||
1 | $FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; | 1 | @font-face{ |
2 | $basePath: '#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro'; | 2 | font-family: 'Source Sans Pro'; |
3 | 3 | font-weight: 200 900; | |
4 | @mixin fontface($name, $path, $weight: null, $style: null, $exts: woff2) { | 4 | font-style: normal; |
5 | $src: null; | 5 | font-stretch: normal; |
6 | @each $ext in $exts { | 6 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2'); |
7 | $src: append($src, url(quote($path + "." + $ext)) format(quote($ext)), comma); | ||
8 | } | ||
9 | @font-face { | ||
10 | font-family: quote($name); | ||
11 | font-weight: $weight; | ||
12 | font-style: $style; | ||
13 | font-stretch: normal; | ||
14 | font-display: swap; | ||
15 | src: $src; | ||
16 | } | ||
17 | } | 7 | } |
18 | 8 | ||
19 | @include fontface('Source Sans Pro', '#{$basePath}-Regular.ttf', 400, normal); | 9 | @font-face{ |
20 | @include fontface('Source Sans Pro', '#{$basePath}-It.ttf', 400, italic); | 10 | font-family: 'Source Sans Pro'; |
21 | @include fontface('Source Sans Pro', '#{$basePath}-Semibold.ttf', 600, normal); | 11 | font-weight: 200 900; |
22 | @include fontface('Source Sans Pro', '#{$basePath}-SemiboldIt.ttf', 600, italic); | 12 | font-style: italic; |
23 | @include fontface('Source Sans Pro', '#{$basePath}-Bold.ttf', 700, normal); \ No newline at end of file | 13 | font-stretch: normal; |
14 | src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2'); | ||
15 | } | ||
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 10ab44f57..0ce22354e 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -180,6 +180,7 @@ | |||
180 | 180 | ||
181 | @mixin grey-button { | 181 | @mixin grey-button { |
182 | @include button-focus($grey-button-outline-color); | 182 | @include button-focus($grey-button-outline-color); |
183 | |||
183 | background-color: $grey-background-color; | 184 | background-color: $grey-background-color; |
184 | color: pvar(--greyForegroundColor); | 185 | color: pvar(--greyForegroundColor); |
185 | 186 | ||
@@ -247,6 +248,10 @@ | |||
247 | } | 248 | } |
248 | 249 | ||
249 | @mixin button-with-icon($width: 20px, $margin-right: 3px, $top: -1px) { | 250 | @mixin button-with-icon($width: 20px, $margin-right: 3px, $top: -1px) { |
251 | display: inline-flex; | ||
252 | align-items: center; | ||
253 | line-height: normal !important; | ||
254 | |||
250 | my-global-icon { | 255 | my-global-icon { |
251 | position: relative; | 256 | position: relative; |
252 | width: $width; | 257 | width: $width; |
@@ -807,7 +812,6 @@ | |||
807 | .dashboard-num, .dashboard-text { | 812 | .dashboard-num, .dashboard-text { |
808 | text-align: center; | 813 | text-align: center; |
809 | font-size: 130%; | 814 | font-size: 130%; |
810 | line-height: 21px; | ||
811 | color: pvar(--mainForegroundColor); | 815 | color: pvar(--mainForegroundColor); |
812 | line-height: 30px; | 816 | line-height: 30px; |
813 | margin-bottom: 20px; | 817 | margin-bottom: 20px; |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index b1e0431bb..acdc8d05f 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -7,6 +7,7 @@ $main-fonts: 'Source Sans Pro', sans-serif; | |||
7 | $font-regular: 400; | 7 | $font-regular: 400; |
8 | $font-semibold: 600; | 8 | $font-semibold: 600; |
9 | $font-bold: 700; | 9 | $font-bold: 700; |
10 | $line-height-normal: 1.2; | ||
10 | 11 | ||
11 | $grey-background-color: #E5E5E5; | 12 | $grey-background-color: #E5E5E5; |
12 | $grey-background-hover-color: #EFEFEF; | 13 | $grey-background-hover-color: #EFEFEF; |
diff --git a/client/yarn.lock b/client/yarn.lock index d27cdaec8..19768b1d2 100644 --- a/client/yarn.lock +++ b/client/yarn.lock | |||
@@ -7721,11 +7721,6 @@ npm-bundled@^1.0.1: | |||
7721 | dependencies: | 7721 | dependencies: |
7722 | npm-normalize-package-bin "^1.0.1" | 7722 | npm-normalize-package-bin "^1.0.1" |
7723 | 7723 | ||
7724 | npm-font-source-sans-pro@^1.0.2: | ||
7725 | version "1.0.2" | ||
7726 | resolved "https://registry.yarnpkg.com/npm-font-source-sans-pro/-/npm-font-source-sans-pro-1.0.2.tgz#c55c8ae368eebdbcaca65425a0d7e1f9a192a03e" | ||
7727 | integrity sha1-xVyK42juvbysplQloNfh+aGSoD4= | ||
7728 | |||
7729 | npm-install-checks@^4.0.0: | 7724 | npm-install-checks@^4.0.0: |
7730 | version "4.0.0" | 7725 | version "4.0.0" |
7731 | resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" | 7726 | resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" |