summary refs log tree commit diff
path: root/assets/fosscord-login.css
blob: 975bf908a5a45cfc2d7704ce8e77213ec4ab173c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* replace tos acceptance popup */
#app-mount > div:nth-child(7) > div > div > div.tooltipContent-bqVLWK {
	visibility: hidden;
}
#app-mount > div:nth-child(7) > div > div > div.tooltipContent-bqVLWK::after {
	visibility: visible;
	display: block;
	content: "You need to agree to this instance's rules to continue";
	margin-top: -32px;
}
/* replace login header */
#app-mount > div.app-1q1i1E > div > div > div > div > form > div > div > div.mainLoginContainer-1ddwnR > h3 {
	visibility: hidden;
}
h3.title-jXR8lp.marginBottom8-AtZOdT.base-1x0h_U.size24-RIRrxO::after {
	margin-top: -32px;
	content: "Welcome to Fosscord!";
	visibility: visible;
	display: block;
}

/* Logo in top left when bg removed */
#app-mount > div.app-1q1i1E > div > a {
	/* replace me: original dimensions: 130x36 */
	background: url(https://raw.githubusercontent.com/fosscord/fosscord/master/assets-rebrand/svg/Fosscord-Wordmark-Gradient.svg);
	width: 130px;
	height: 23px;
	background-size: contain;
}

/* replace TOS text */

#app-mount
	> div.app-1q1i1E
	> div
	> div
	> div
	> form
	> div
	> div
	> div.flex-1xMQg5.flex-1O1GKY.horizontal-1ae9ci.horizontal-2EEEnY.flex-1O1GKY.directionRow-3v3tfG.justifyStart-2NDFzi.alignCenter-1dQNNs.noWrap-3jynv6.marginTop20-3TxNs6
	> label
	> div.label-cywgfr.labelClickable-11AuB8.labelForward-1wfipV
	> * {
	visibility: hidden;
}

#app-mount
	> div.app-1q1i1E
	> div
	> div
	> div
	> form
	> div
	> div
	> div.flex-1xMQg5.flex-1O1GKY.horizontal-1ae9ci.horizontal-2EEEnY.flex-1O1GKY.directionRow-3v3tfG.justifyStart-2NDFzi.alignCenter-1dQNNs.noWrap-3jynv6.marginTop20-3TxNs6
	> label
	> div.label-cywgfr.labelClickable-11AuB8.labelForward-1wfipV::after {
	visibility: visible;
	content: "I have read and agree with the rules set by this instance.";
	display: block;
	margin-top: -16px;
}

/* shrink login box to same size as register */
.authBoxExpanded-2jqaBe {
	width: 480px !important;
}