This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoauth-test.html
176 lines (166 loc) · 6.29 KB
/
oauth-test.html
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!--
CSS testing
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>STiBaRC</title>
<!-- CSS -->
<link rel="stylesheet" href="./css/global.css">
<link rel="stylesheet" href="./css/themes/default.css">
<style>
.logo {
display: block;
margin: auto;
height: 25px;
margin: 2.5rem auto;
}
.oauth {
max-width: 700px;
margin: auto;
color: var(--textLight);
}
.oauth .app-top {
display: flex;
align-items: center;
border: 1px solid var(--primaryShapeLight);
background-color: var(--primaryShapeDark);
border-bottom: none;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
padding: .5rem 1.5rem;
}
.oauth .app-title {
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.oauth .top-subtitle {
display: block;
font-size: 1rem;
font-weight: 500;
color: var(--textLight);
margin-bottom: .5rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.oauth .subtitle {
display: block;
font-size: .9rem;
font-weight: 400;
color: var(--textLight);
margin-top: .75rem;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.oauth .app-logo {
background: var(--textLight) center center no-repeat;
flex-shrink: 0;
background-size: cover;
display: inline-block;
width: 75px;
height: 75px;
border-radius: 50%;
margin-left: 4px;
}
.oauth .app-body {
border: 1px solid var(--primaryShapeLight);
border-bottom: none;
background-color: var(--primaryShape);
padding: 1.75rem 1.5rem 1.5rem 1.5rem;
color: var(--textLight);
}
.oauth .app-footer {
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
border: 1px solid var(--primaryShapeLight);
background-color: var(--primaryShapeDark);
padding: 1.5rem 1.5rem 1.5rem 1.5rem;
color: var(--alphaActive);
display: flex;
align-items: center;
}
.oauth .app-footer a {
color: var(--alphaActive);
}
.oauth .app-footer a:hover {
text-decoration: underline;
color: var(--alphaActive);
}
.oauth .app-footer a:active {
text-decoration: underline;
color: var(--primaryDark);
}
.oauth .app-footer .button {
margin-left: 0.75rem;
}
.perms {
display: block;
margin: 1.5rem 0 1rem 0;
}
.perms li {
color: var(--white) !important;
}
.perms ul {
margin-left: 1rem;
list-style: none;
}
.perms li {
list-style: none;
margin-bottom: .5rem;
}
.perms li {
margin-left: -15px;
}
.perms li .material-icons {
font-size: 24px;
display: inline-block;
vertical-align: middle;
margin-right: 10px;
color: rgb(75, 208, 85);
background: var(--white);
border-radius: 50%;
padding: 0;
white-space: nowrap;
}
.perms li .material-icons.x {
color: rgb(134, 134, 134);
}
.perms li .text {
display: inline-block;
vertical-align: middle;
word-wrap: break-word;
}
</style>
</head>
<body class="white-text primary-bg">
<div class="container">
<a href="./"><img class="logo" src="./design_files/logo.png"></a>
<div class="oauth">
<div class="app-top">
<h1 class="white-text app-title"><div class="top-subtitle">Connect to STiBaRC</div>App title<div class="subtitle"><i>By UserName on 3/22/2020</i></div></h1>
<span class="flex-grow"></span> <div class="app-logo" style="background-image: url('./design_files/newjimbo.png');"></div>
</div>
<div class="app-body">
<div>This will allow <b>App title</b> to</div>
<ul class="perms">
<li><span class="material-icons">check_circle</span><span class="text">Do everything as you</span></li>
<li><span class="material-icons">check_circle</span><span class="text">Post on your behalf</span></li>
<li><span class="material-icons">check_circle</span><span class="text">View and change your username/profile image</span></li>
<li><span class="material-icons x">cancel</span><span class="text">Teach you how to love</span></li>
</ul>
</div>
<div class="app-footer">
<span><span>Signed in as <b>Username</b></span> <a href="#"><i>Not you</i></a>?</span>
<span class="flex-grow"></span>
<button class="button primaryAlt">Cancel</button><button class="button">Authorize</button>
</div>
</div>
</div><!-- / container -->
<br><br>
</body>
</html>