aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+signup
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-06-09 09:33:28 +0200
committerGitHub <noreply@github.com>2020-06-09 09:33:28 +0200
commite66883b37ae0796256b3aba550670a2d76cfc98a (patch)
tree3cce3c78e9f9f327470f0370a1b4065fe7e0009e /client/src/app/+signup
parent6ad971d5f5e9ea2adfc58bd83ba1790efa4a8d12 (diff)
downloadPeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.tar.gz
PeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.tar.zst
PeerTube-e66883b37ae0796256b3aba550670a2d76cfc98a.zip
`fitWidth` for `video-miniature`, fluid grid (#2830)
* Fluid abstract video list * normalize timestamp display on miniatures * use grid for abstract-video-list - refactor scss function var to pvar to avoid overriding css variables - move fluid-grid margins to adapt-margin-content-width mixin for maintainability - fix video-miniature-name margin-top on small screen * move sceenratio function in a mixin * display no miniature avatar in channel videos view
Diffstat (limited to 'client/src/app/+signup')
-rw-r--r--client/src/app/+signup/+register/custom-stepper.component.scss10
-rw-r--r--client/src/app/+signup/+register/register.component.scss4
2 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/+signup/+register/custom-stepper.component.scss b/client/src/app/+signup/+register/custom-stepper.component.scss
index 2371c8ae5..cc1591ee8 100644
--- a/client/src/app/+signup/+register/custom-stepper.component.scss
+++ b/client/src/app/+signup/+register/custom-stepper.component.scss
@@ -28,7 +28,7 @@ header {
28 margin-bottom: 10px; 28 margin-bottom: 10px;
29 29
30 my-global-icon { 30 my-global-icon {
31 @include apply-svg-color(var(--mainBackgroundColor)); 31 @include apply-svg-color(pvar(--mainBackgroundColor));
32 32
33 width: 22px; 33 width: 22px;
34 height: 22px; 34 height: 22px;
@@ -42,13 +42,13 @@ header {
42 &.active, 42 &.active,
43 &.completed { 43 &.completed {
44 .step-index { 44 .step-index {
45 border-color: var(--mainColor); 45 border-color: pvar(--mainColor);
46 background-color: var(--mainColor); 46 background-color: pvar(--mainColor);
47 color: var(--mainBackgroundColor); 47 color: pvar(--mainBackgroundColor);
48 } 48 }
49 49
50 .step-label { 50 .step-label {
51 color: var(--mainColor); 51 color: pvar(--mainColor);
52 } 52 }
53 } 53 }
54 54
diff --git a/client/src/app/+signup/+register/register.component.scss b/client/src/app/+signup/+register/register.component.scss
index e135b5cb4..6a7e361e3 100644
--- a/client/src/app/+signup/+register/register.component.scss
+++ b/client/src/app/+signup/+register/register.component.scss
@@ -39,7 +39,7 @@
39 ngb-accordion ::ng-deep { 39 ngb-accordion ::ng-deep {
40 .btn { 40 .btn {
41 font-weight: $font-semibold !important; 41 font-weight: $font-semibold !important;
42 color: var(--mainForegroundColor) !important; 42 color: pvar(--mainForegroundColor) !important;
43 } 43 }
44 } 44 }
45 } 45 }
@@ -94,7 +94,7 @@ button {
94 margin-bottom: 20px; 94 margin-bottom: 20px;
95 95
96 ::ng-deep .loader div { 96 ::ng-deep .loader div {
97 border-color: var(--mainColor) transparent transparent transparent; 97 border-color: pvar(--mainColor) transparent transparent transparent;
98 } 98 }
99 99
100 & + div { 100 & + div {