diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-28 16:41:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-28 17:53:57 +0200 |
commit | 931d3430184143ebd88e5243def6eb1d7acfdbf4 (patch) | |
tree | 909919bafd6fa8563d26d616c6257ebd0211c83c /client/src/app/+login | |
parent | 7d026caf683e42fd57a243a3b52a5e4f476fbb4e (diff) | |
download | PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.gz PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.zst PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.zip |
Move to stylelint
Diffstat (limited to 'client/src/app/+login')
-rw-r--r-- | client/src/app/+login/login.component.scss | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/client/src/app/+login/login.component.scss b/client/src/app/+login/login.component.scss index eddaff542..62ae722c3 100644 --- a/client/src/app/+login/login.component.scss +++ b/client/src/app/+login/login.component.scss | |||
@@ -33,7 +33,8 @@ input[type=email] { | |||
33 | } | 33 | } |
34 | } | 34 | } |
35 | 35 | ||
36 | .create-an-account, .forgot-password-button { | 36 | .create-an-account, |
37 | .forgot-password-button { | ||
37 | color: pvar(--mainForegroundColor); | 38 | color: pvar(--mainForegroundColor); |
38 | cursor: pointer; | 39 | cursor: pointer; |
39 | transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1); | 40 | transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1); |
@@ -49,7 +50,7 @@ input[type=email] { | |||
49 | justify-content: space-around; | 50 | justify-content: space-around; |
50 | flex-wrap: wrap; | 51 | flex-wrap: wrap; |
51 | 52 | ||
52 | & > div { | 53 | > div { |
53 | flex: 1 1; | 54 | flex: 1 1; |
54 | } | 55 | } |
55 | 56 | ||
@@ -65,7 +66,8 @@ input[type=email] { | |||
65 | form { | 66 | form { |
66 | margin: 0; | 67 | margin: 0; |
67 | 68 | ||
68 | &, input { | 69 | &, |
70 | input { | ||
69 | width: 100%; | 71 | width: 100%; |
70 | } | 72 | } |
71 | 73 | ||
@@ -82,7 +84,8 @@ input[type=email] { | |||
82 | 84 | ||
83 | color: var(--mainColor); | 85 | color: var(--mainColor); |
84 | 86 | ||
85 | &:hover, &:active { | 87 | &:hover, |
88 | &:active { | ||
86 | color: var(--mainHoverColor); | 89 | color: var(--mainHoverColor); |
87 | } | 90 | } |
88 | } | 91 | } |
@@ -111,7 +114,7 @@ input[type=email] { | |||
111 | min-width: 100px; | 114 | min-width: 100px; |
112 | 115 | ||
113 | &:hover { | 116 | &:hover { |
114 | background-color: rgba(209, 215, 224, 0.5) | 117 | background-color: rgba(209, 215, 224, 0.5); |
115 | } | 118 | } |
116 | } | 119 | } |
117 | } | 120 | } |
@@ -138,7 +141,7 @@ input[type=email] { | |||
138 | } | 141 | } |
139 | } | 142 | } |
140 | 143 | ||
141 | @mixin columnReverseDisplay { | 144 | @mixin column-reverse-display { |
142 | flex-direction: column-reverse; | 145 | flex-direction: column-reverse; |
143 | 146 | ||
144 | .login-form-and-externals, | 147 | .login-form-and-externals, |
@@ -168,14 +171,14 @@ input[type=email] { | |||
168 | 171 | ||
169 | @media screen and (max-width: breakpoint(md)) { | 172 | @media screen and (max-width: breakpoint(md)) { |
170 | .wrapper { | 173 | .wrapper { |
171 | @include columnReverseDisplay(); | 174 | @include column-reverse-display(); |
172 | } | 175 | } |
173 | } | 176 | } |
174 | 177 | ||
175 | @media screen and (max-width: breakpoint(md) + $menu-width) { | 178 | @media screen and (max-width: breakpoint(md) + $menu-width) { |
176 | :host-context(.main-col:not(.expanded)) { | 179 | :host-context(.main-col:not(.expanded)) { |
177 | .wrapper { | 180 | .wrapper { |
178 | @include columnReverseDisplay(); | 181 | @include column-reverse-display(); |
179 | } | 182 | } |
180 | } | 183 | } |
181 | } | 184 | } |