forum-oauth-center/less/forum/oauth.less

132 lines
2 KiB
Text
Raw Normal View History

2024-02-25 04:55:37 +08:00
.AuthorizePage {
.OAuth-Header {
text-align: center;
margin-bottom: 30px;
h2 {
font-size: 3em;
margin-bottom: .1em;
}
p {
font-size: 1.2em;
margin-top: .1em;
}
2023-10-01 19:14:59 +08:00
}
2024-02-25 04:55:37 +08:00
.OAuth-Body {
max-width: 60%;
margin: 0 auto;
.OAuth-User {
display: flex;
align-items: center;
justify-content: center;
.OAuth-User-Avatar {
width: 48px;
height: 48px;
border-radius: 50%;
}
.OAuth-User-Info {
margin-left: 10px;
white-space: nowrap;
h4 {
margin: 0;
}
small {
opacity: .5;
}
}
}
.OAuth-Details {
display: flex;
.OAuth-App {
min-width: 300px;
}
.OAuth-Scopes {
flex: 1;
}
}
.OAuth-App, .OAuth-Scopes {
margin: 20px 0;
> p {
font-weight: bold;
font-size: 1.2em;
}
}
.OAuth-App {
text-align: center;
.OAuth-App-Info {
color: @text-color;
display: inline-block;
text-decoration: none;
.OAuth-App-Icon {
width: 64px;
height: 64px;
}
p {
font-weight: bolder;
font-size: 2em;
margin-bottom: 0;
}
small {
font-size: 1.2em;
opacity: .5;
}
}
}
.OAuth-Scopes {
text-align: center;
.OAuth-Scope {
display: flex;
text-align: left;
.OAuth-ScopeIcon {
width: 40px;
height: 40px;
}
.OAuth-ScopeDetail {
margin-left: 10px;
h4 {
margin: 0;
}
}
}
}
.OAuth-Action {
margin: 30px 0;
}
2023-10-01 19:14:59 +08:00
}
}
2024-02-25 04:55:37 +08:00
@media screen and (max-width: @screen-phone-max) {
.AuthorizePage .OAuth-Body {
max-width: 100%;
2023-10-01 19:14:59 +08:00
2024-02-25 04:55:37 +08:00
.OAuth-Details {
flex-direction: column;
2023-10-01 19:14:59 +08:00
2024-02-25 04:55:37 +08:00
.OAuth-Scopes {
padding: 0 30px;
}
}
2023-10-01 19:14:59 +08:00
}
2024-02-25 04:55:37 +08:00
}