Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit fb8afa4

Browse files
author
Zhouxing Shi
committed
Fix #905
1 parent 0e308b7 commit fb8afa4

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

app/profile/badges/badges.jade

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
.ngdialog-close.close-outside
2+
13
header.head
2-
.ngdialog-close
34
.breadcrumbs
45
.handle
56
img.profile-circle(fallback-src=require("../../../assets/images/avatarPlaceholder.png"), ng-src="{{vm.profile.photoURL}}")
@@ -12,6 +13,7 @@ header.head
1213
span.title BADGES
1314

1415
aside.badges
16+
.ngdialog-close
1517
.content
1618
.badgeGroups
1719
.groupBadge(ng-repeat='ag in vm.achievementGroups', ng-class='ag.groupClass', ng-show='ag.specificAchievements[0].active')

assets/css/profile/badges.scss

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
padding: 0;
55
.ngdialog-content {
66
padding: 30px;
7-
background: white;
8-
opacity: 0.95;
7+
background: rgba(255,255,255,0.85);
98
width: 100%;
109
height: 100%;
1110
display: flex;
1211
flex-direction: column;
1312
justify-content: center;
1413
align-items: center;
14+
border-radius: 0;
1515

1616
header.head {
1717
@include sofia-pro-extra-light;
@@ -32,7 +32,6 @@
3232
margin-bottom: -5px;
3333
margin-right: 13px;
3434
}
35-
3635
}
3736

3837
.badges {
@@ -44,6 +43,7 @@
4443
display: flex;
4544
flex-direction: column;
4645
justify-content: center;
46+
position: relative;
4747

4848
.content {
4949
overflow: auto;
@@ -58,7 +58,25 @@
5858
justify-content: center;
5959
}
6060
}
61+
.ngdialog-close {
62+
display: block;
63+
}
64+
}
65+
66+
.ngdialog-close {
67+
display: none;
68+
}
69+
70+
.ngdialog-close.close-outside {
71+
display: block;
72+
height: 100%;
73+
width: 100%;
74+
cursor: default;
6175
}
76+
77+
.ngdialog-close.close-outside:before {
78+
display: none;
79+
}
6280
}
6381
}
6482

0 commit comments

Comments
 (0)