aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login/login.component.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-29 10:42:35 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-04 16:21:39 +0200
commitebefc902f59be6c5542c19ff706e310d9dddf75f (patch)
tree79eb831217a7938484e191070d6a465bc07a00fd /client/src/app/login/login.component.scss
parent9107d791e2eef9a1b24b0499dac8b9dbba8a792f (diff)
downloadPeerTube-ebefc902f59be6c5542c19ff706e310d9dddf75f.tar.gz
PeerTube-ebefc902f59be6c5542c19ff706e310d9dddf75f.tar.zst
PeerTube-ebefc902f59be6c5542c19ff706e310d9dddf75f.zip
Add external login buttons
Diffstat (limited to 'client/src/app/login/login.component.scss')
-rw-r--r--client/src/app/login/login.component.scss42
1 files changed, 41 insertions, 1 deletions
diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss
index 8ac231475..ccc98c12a 100644
--- a/client/src/app/login/login.component.scss
+++ b/client/src/app/login/login.component.scss
@@ -21,9 +21,49 @@ input[type=submit] {
21 color: var(--mainForegroundColor); 21 color: var(--mainForegroundColor);
22 cursor: pointer; 22 cursor: pointer;
23 transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1); 23 transition: opacity cubic-bezier(0.39, 0.575, 0.565, 1);
24 24
25 &:hover { 25 &:hover {
26 text-decoration: none !important; 26 text-decoration: none !important;
27 opacity: .7 !important; 27 opacity: .7 !important;
28 } 28 }
29} 29}
30
31.login-form-and-externals {
32 display: flex;
33 flex-wrap: wrap;
34 font-size: 15px;
35
36 form {
37 margin: 0 50px 20px 0;
38 }
39
40 .external-login-blocks {
41 padding: 0 10px 10px 10px;
42 min-width: 200px;
43
44 .block-title {
45 font-weight: $font-semibold;
46 }
47
48 .external-login-block {
49 cursor: pointer;
50 border: 1px solid #d1d7e0;
51 border-radius: 5px;
52 margin: 10px 10px 0 0;
53 display: flex;
54 justify-content: center;
55 align-items: center;
56 min-height: 35px;
57 min-width: 100px;
58
59 &:hover {
60 background-color: rgba(209, 215, 224, 0.5)
61 }
62
63 a {
64 @include disable-default-a-behaviour;
65 color: var(--mainForegroundColor);
66 }
67 }
68 }
69}