Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Commit 14881e5

Browse files
authored
CSS changes for user report (#2177)
* CSS changes for user report * remove alert border * fixed border radius
1 parent 99693db commit 14881e5

File tree

3 files changed

+35
-6
lines changed

3 files changed

+35
-6
lines changed

assets/enx-redirect/report/header.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,24 @@
1717
{{end}}
1818

1919
<style>
20+
.ur-title {
21+
font-size: calc(1.625rem + 4.5vw) !important;
22+
font-weight: 400 !important;
23+
line-height: 1.2 !important;
24+
}
25+
26+
.ur-alert {
27+
color: #0D3D17 !important;
28+
background-color: #D6EBF0 !important;
29+
border-color: transparent !important;
30+
}
31+
2032
.rounded-corners {
2133
border-radius: 20px;
2234
}
2335

2436
.agreement {
25-
border: 1px solid grey;
37+
border: 1px solid #C4C4C4 !important;
2638
}
2739

2840
.agree-button {
@@ -40,6 +52,23 @@
4052
border: none;
4153
border-bottom: 1px solid grey;
4254
}
55+
56+
.continue-btn {
57+
display: inline-block;
58+
font-weight: 600;
59+
line-height: 1.5;
60+
color: #ffffff;
61+
text-align: center;
62+
text-decoration: none;
63+
vertical-align: middle;
64+
cursor: pointer;
65+
-webkit-user-select: none;
66+
-moz-user-select: none;
67+
user-select: none;
68+
padding: 0.8rem, 0.75rem;
69+
font-size: 1.25rem;
70+
border-radius: 20px;
71+
}
4372
</style>
4473

4574
<title>{{tDefault $.realmLocale .realm.Name "agencyDisplayName"}}</title>

assets/enx-redirect/report/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<body class="my-4 g-4">
1212
<main role="main" class="container">
13-
<h1 class="display-1 mb-3 w-100"><strong>{{t $.locale "user-report.header"}}</strong></h1>
13+
<h1 class="display-1 mb-3 w-100 ur-title"><strong>{{t $.locale "user-report.header"}}</strong></h1>
1414

1515
{{if $currentRealm.AgencyImage}}
1616
<div id="logo" class="rounded-corners pha-logo" style="background-color: {{$currentRealm.AgencyBackgroundColor}};" >
@@ -21,7 +21,7 @@ <h1 class="display-1 mb-3 w-100"><strong>{{t $.locale "user-report.header"}}</st
2121
{{end}}
2222

2323
{{if not .skipForm}}
24-
<div class="alert alert-primary d-flex align-items-center rounded-corners" role="alert">
24+
<div class="alert alert-primary d-flex align-items-center rounded-corners ur-alert" role="alert">
2525
<svg class="bi flex-shrink-0 me-3" width="24" height="24" role="img" aria-label="Info:">
2626
<use xlink:href="/static/icons.svg#info-circle-fill"/>
2727
</svg>
@@ -101,7 +101,7 @@ <h1 class="display-1 mb-3 w-100"><strong>{{t $.locale "user-report.header"}}</st
101101
</div>
102102

103103
<div class="d-grid">
104-
<button id="submit" type="submit" class="btn btn-primary">
104+
<button id="submit" type="submit" class="btn btn-primary continue-btn">
105105
{{t $.locale "user-report.request-button"}}
106106
</button>
107107
</div>

assets/enx-redirect/report/invalid.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<body class="my-4 g-4">
1212
<main role="main" class="container">
1313
{{if $currentRealm.AgencyImage}}
14-
<div id="logo" style="background-color: {{$currentRealm.AgencyBackgroundColor}};" >
14+
<div id="logo" class="rounded-corners pha-logo" style="background-color: {{$currentRealm.AgencyBackgroundColor}};" >
1515
<img src="{{$currentRealm.AgencyImage}}" style="width:80vw; max-width:720px; content-visibility:auto;"
1616
loading="lazy" decoding="async"
1717
alt="{{$currentRealm.Name}} logo" />
1818
</div>
1919
{{end}}
2020
<h1 class="mb-3">{{tDefault $.realmLocale .realm.Name "agencyDisplayName"}}</h1>
2121

22-
<div class="alert alert-danger d-flex align-items-center" role="alert">
22+
<div class="alert alert-danger d-flex align-items-center rounded-corners" role="alert">
2323
<svg class="bi flex-shrink-0 me-3" width="24" height="24" role="img" aria-label="Success:">
2424
<use xlink:href="/static/icons.svg#x-circle-fill"/>
2525
</svg>

0 commit comments

Comments
 (0)